/* =====================================================================================================
   NuxCine Academy - feuille de style du site, version « luxe »
   Direction : éditorial haut de gamme. Noir profond légèrement chaud, or métallique tiré du jaune NuxCine
   (#ffb906), titres en Instrument Serif avec accents en italique doré, filets dorés, grain argentique,
   sections numérotées, mouvements lents. Structure inspirée de koldercreative.com (programmes, compteurs,
   onglets de modules, communauté).
   Points de rupture : 1100 (menu), 991 (tablette), 767 (mobile), 479 (petit mobile).
   ===================================================================================================== */

:root {
  --bg: #07080b;
  --bg-deep: #050608;
  --surface: #0e0f13;
  --surface-2: #14151b;
  --panel: #0a0b0f;
  --line: rgba(243, 236, 224, .08);
  --line-strong: rgba(243, 236, 224, .16);
  --gold-line: rgba(255, 205, 110, .26);
  --text: #f3efe7;
  --text-soft: #cdc8be;
  --muted: #958f84;
  --gold: #ffb906;
  --gold-light: #ffd978;
  --gold-deep: #c98a12;
  --gold-soft: rgba(255, 185, 6, .1);
  --gold-grad: linear-gradient(135deg, #ffe7a6 0%, #ffc63f 32%, #e9a10c 64%, #ffd97a 100%);
  --gold-text: linear-gradient(100deg, #fff0c4 0%, #ffd062 32%, #eba51a 62%, #ffe196 100%);
  --yellow: var(--gold);
  --danger: #ff9b8f;
  --success: #86d9ad;
  --radius-s: 8px;
  --radius: 12px;
  --radius-l: 18px;
  --radius-xl: 26px;
  --font-display: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --font-title: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", Consolas, Menlo, monospace;
  --container: 1240px;
  --header: 84px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  interpolate-size: allow-keywords;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header) + 16px); scrollbar-color: rgba(255, 185, 6, .4) var(--bg-deep); scrollbar-width: thin; }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--text); font: 400 16px/1.7 var(--font-text); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: "kern", "liga"; }
/* Grain argentique très léger, posé au-dessus de tout sans gêner les clics. */
body::before { content: ""; position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { border: 3px solid var(--bg-deep); border-radius: 10px; background: linear-gradient(var(--gold-deep), var(--gold)); }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; color: var(--text); font-family: var(--font-display); font-weight: 400; line-height: 1.05; letter-spacing: -.01em; text-wrap: balance; }
h4 { margin: 0; font-family: var(--font-title); font-weight: 700; }
/* Negative margin = no gap before the next punctuation, padding = room for the italic overhang. */
h1 em, h2 em, h3 em { margin-right: -.08em; padding-right: .08em; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; font-style: italic; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
svg[class^="i-"] { stroke-width: 1.7; }
:focus-visible { outline: 1.5px solid var(--gold-light); outline-offset: 4px; border-radius: 6px; }
::selection { background: var(--gold); color: var(--bg); }
[hidden] { display: none !important; }
.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; }
.skip-link { position: absolute; top: -80px; left: 16px; z-index: 100; padding: 12px 20px; border-radius: 100px; background: var(--gold); color: var(--bg); font: 700 14px var(--font-title); transition: top .2s; }
.skip-link:focus { top: 16px; }
.prose a, .text-link { color: var(--gold-light); text-decoration: underline; text-decoration-color: rgba(255, 217, 120, .45); text-decoration-thickness: 1px; text-underline-offset: 4px; transition: color .3s, text-decoration-color .3s; }
.prose a:hover, .text-link:hover { color: #fff; text-decoration-color: var(--gold); }

/* ---------- Mise en page ---------- */
.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 48px, 880px); }
main { counter-reset: chapter; }
.section { position: relative; padding: 136px 0; }
main > .section + .section:not(.section--flush-top)::before { content: ""; position: absolute; top: 0; left: 50%; width: min(100% - 48px, var(--container)); height: 1px; background: linear-gradient(90deg, transparent, var(--gold-line), transparent); transform: translateX(-50%); }
.section--tight { padding: 88px 0; }
.section--flush-top { padding-top: 0; }
.section--glow { background: radial-gradient(55% 45% at 50% 0%, rgba(255, 185, 6, .07), transparent 72%); }
.section--tint { background: radial-gradient(60% 50% at 50% 100%, rgba(255, 185, 6, .05), transparent 70%), linear-gradient(180deg, rgba(255, 255, 255, .012), rgba(255, 255, 255, 0)); }
.section--panel { background: var(--panel); }
.section__head { max-width: 820px; margin: 0 auto 72px; text-align: center; }
.section__head--left { margin-left: 0; text-align: left; }
.section__head .lead { max-width: 640px; margin: 22px auto 0; }
.section__head--left .lead { margin-left: 0; }
.section__head--row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; max-width: none; text-align: left; }
.section__head--row > div { max-width: 700px; }
.eyebrow { display: inline-flex; align-items: center; gap: 14px; margin-bottom: 22px; color: var(--gold-light); font: 700 11px/1.2 var(--font-title); letter-spacing: .28em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 30px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold)); }
/* Chapitres numérotés : 01, 02… dans l’ordre de la page. */
.section .section__head .eyebrow::before { counter-increment: chapter; content: counter(chapter, decimal-leading-zero); width: auto; height: auto; padding-right: 14px; border-right: 1px solid var(--gold-line); background: none; color: var(--gold); font: italic 400 19px/1 var(--font-display); letter-spacing: 0; }
.h1 { font-size: clamp(3rem, 1.75rem + 5.2vw, 6.4rem); line-height: .98; letter-spacing: -.02em; }
.h2 { font-size: clamp(2.5rem, 1.7rem + 3vw, 4.4rem); line-height: 1.02; letter-spacing: -.015em; }
.h3 { font-size: 2rem; line-height: 1.1; }
.h4 { font-size: 1.125rem; line-height: 1.35; }
.lead { color: var(--text-soft); font-size: clamp(1.05rem, 1rem + .3vw, 1.25rem); line-height: 1.75; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.accent { color: var(--gold-light); }
.grad { background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stack > * + * { margin-top: 16px; }
.grid { display: grid; gap: 28px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.split { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 88px; align-items: center; }
.split--rev > :first-child { order: 2; }
.center { text-align: center; }

/* ---------- Boutons, puces, étiquettes ---------- */
.btn { --h: 54px; position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: var(--h); padding: 0 28px; overflow: hidden; border: 1px solid transparent; border-radius: 100px; font: 600 14.5px/1.1 var(--font-title); letter-spacing: .02em; text-align: center; white-space: nowrap; transition: background-position .7s var(--ease), border-color .4s, color .4s, transform .5s var(--ease), box-shadow .5s var(--ease); }
.btn svg { flex: none; width: 17px; height: 17px; transition: transform .5s var(--ease); }
.btn:hover svg.i-arrow { transform: translateX(5px); }
.btn--primary { background: var(--gold-grad); background-size: 220% 100%; color: #130f06; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 14px 34px -16px rgba(255, 185, 6, .7); }
.btn--primary::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%); transform: translateX(-130%); transition: transform 1s var(--ease); }
.btn--primary:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), 0 22px 44px -18px rgba(255, 185, 6, .8); }
.btn--primary:hover::after { transform: translateX(130%); }
.btn--ghost { border-color: var(--line-strong); background: rgba(255, 255, 255, .02); color: var(--text); }
.btn--ghost:hover { border-color: var(--gold-line); background: rgba(255, 185, 6, .05); color: var(--gold-light); }
.btn--light { background: var(--text); color: var(--bg); }
.btn--light:hover { background: #fff; transform: translateY(-2px); }
.btn--sm { --h: 44px; padding: 0 20px; font-size: 13.5px; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.link-arrow { position: relative; display: inline-flex; align-items: center; gap: 10px; color: var(--gold-light); font: 600 14.5px/1.3 var(--font-title); letter-spacing: .02em; }
.link-arrow svg { width: 16px; height: 16px; transition: transform .5s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 8px 15px; border: 1px solid var(--line-strong); border-radius: 100px; background: rgba(255, 255, 255, .02); color: var(--text-soft); font: 500 13px/1.2 var(--font-text); }
.chip svg { flex: none; width: 15px; height: 15px; color: var(--gold-light); }
.badge { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border: 1px solid rgba(255, 217, 120, .38); border-radius: 100px; background: rgba(9, 10, 14, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--gold-light); font: 700 10px/1 var(--font-title); letter-spacing: .2em; text-transform: uppercase; white-space: nowrap; }
.badge--teal { border-color: rgba(243, 239, 231, .32); color: var(--text); }
.badge--muted { border-color: var(--line-strong); color: var(--text-soft); }
.badge--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #ff6a5c; box-shadow: 0 0 0 0 rgba(255, 106, 92, .6); animation: pulse 2.2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(255, 106, 92, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 106, 92, 0); } }
.todo { display: inline-flex; align-items: center; padding: 1px 10px; border: 1px dashed rgba(255, 205, 110, .7); border-radius: 100px; color: var(--gold-light); font: 600 11.5px/1.6 var(--font-text); letter-spacing: .03em; white-space: nowrap; vertical-align: middle; }
.soon { color: var(--text-soft); }
.tag-proposal { display: inline-flex; align-items: center; margin-left: 6px; padding: 1px 9px; border: 1px dashed rgba(243, 239, 231, .34); border-radius: 100px; color: #d9d4ca; font: 600 10px/1.6 var(--font-text); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; vertical-align: middle; }
body:not(.is-review) .tag-proposal { display: none; }
body:not(.is-review) [data-review] { display: none !important; }
.notice { display: flex; gap: 16px; align-items: flex-start; padding: 20px 22px; border: 1px solid var(--gold-line); border-radius: var(--radius-l); background: linear-gradient(135deg, rgba(255, 185, 6, .07), rgba(255, 185, 6, .015)); color: var(--text-soft); font-size: 15px; }
.notice svg { flex: none; width: 22px; height: 22px; margin-top: 2px; color: var(--gold-light); }
.notice strong { color: var(--text); }
.notice--teal { border-color: var(--line-strong); background: rgba(255, 255, 255, .025); }
.icon-box { display: grid; flex: none; place-items: center; width: 54px; height: 54px; border: 1px solid var(--gold-line); border-radius: 50%; background: radial-gradient(circle at 30% 25%, rgba(255, 217, 120, .18), rgba(255, 185, 6, .02) 70%); color: var(--gold-light); }
.icon-box svg { width: 22px; height: 22px; }

/* Halo doré qui suit le pointeur sur les cartes (coordonnées posées par site.js). */
.course-card::before, .feature::before, .offer::before, .story::before, .resource::before, .mini-card::before, .theme::before { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, -20%), rgba(255, 200, 90, .1), transparent 45%); opacity: 0; transition: opacity .6s var(--ease); pointer-events: none; }
.course-card:hover::before, .feature:hover::before, .offer:hover::before, .story:hover::before, .resource:hover::before, .mini-card:hover::before, .theme:hover::before { opacity: 1; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; border-bottom: 1px solid transparent; background: linear-gradient(180deg, rgba(7, 8, 11, .9), rgba(7, 8, 11, .6)); -webkit-backdrop-filter: saturate(1.3) blur(16px); backdrop-filter: saturate(1.3) blur(16px); transition: border-color .4s, background-color .4s; }
.site-header.is-scrolled { border-bottom-color: var(--line); background: rgba(7, 8, 11, .9); }
.nav { display: flex; align-items: center; gap: 22px; height: var(--header); }
.brand { display: inline-flex; flex: none; align-items: center; gap: 14px; }
.brand__mark { width: auto; height: 40px; aspect-ratio: 282 / 345; object-fit: cover; object-position: top; filter: drop-shadow(0 6px 16px rgba(255, 185, 6, .25)); }
.brand__text { display: grid; gap: 5px; font: 400 23px/1 var(--font-display); letter-spacing: .005em; }
.brand__text small { color: var(--muted); font: 600 9px/1 var(--font-title); letter-spacing: .26em; text-transform: uppercase; }
.nav__links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav__links a { position: relative; padding: 12px 14px; color: var(--text-soft); font: 600 13.5px/1 var(--font-title); letter-spacing: .02em; transition: color .3s; }
.nav__links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 1px; background: var(--gold-grad); transform: scaleX(0); transition: transform .5s var(--ease); }
.nav__links a:hover, .nav__links a[aria-current] { color: var(--text); }
.nav__links a:hover::after, .nav__links a[aria-current]::after { transform: scaleX(1); }
.nav__cta { margin-left: 10px; }
.nav__toggle { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; margin-left: auto; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; }
.nav__toggle span { position: relative; width: 18px; height: 1.5px; border-radius: 2px; background: var(--text); transition: background-color .2s; }
.nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; left: 0; width: 18px; height: 1.5px; border-radius: 2px; background: var(--text); transition: transform .4s var(--ease); }
.nav__toggle span::before { top: -6px; }
.nav__toggle span::after { top: 6px; }
.nav__toggle[aria-expanded="true"] span { background: transparent; }
.nav__toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: var(--header) 0 0; z-index: 49; display: flex; flex-direction: column; gap: 32px; padding: 12px 24px 36px; overflow-y: auto; background: radial-gradient(80% 50% at 100% 0%, rgba(255, 185, 6, .08), transparent 70%), var(--bg); opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .4s, transform .5s var(--ease), visibility 0s .5s; }
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .4s, transform .5s var(--ease); }
.mobile-menu nav { counter-reset: menu; }
.mobile-menu nav a { display: flex; align-items: center; gap: 18px; padding: 16px 2px; border-bottom: 1px solid var(--line); font: 400 32px/1.1 var(--font-display); }
.mobile-menu nav a::before { counter-increment: menu; content: counter(menu, decimal-leading-zero); min-width: 22px; color: var(--gold); font: 700 11px/1 var(--font-title); letter-spacing: .1em; }
.mobile-menu nav a svg { width: 20px; height: 20px; margin-left: auto; color: var(--gold-light); }
.mobile-menu nav a[aria-current] { color: var(--gold-light); font-style: italic; }
body.menu-open { overflow: hidden; }

/* ---------- Pied de page ---------- */
.site-footer { position: relative; overflow: hidden; padding: 120px 0 0; border-top: 1px solid var(--line); background: radial-gradient(60% 70% at 50% 115%, rgba(255, 185, 6, .1), transparent 70%), var(--bg-deep); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 56px; }
.footer__brand p { max-width: 400px; margin-top: 22px; color: var(--muted); font-size: 15px; }
.footer__col h2 { margin-bottom: 18px; color: var(--gold-light); font: 700 10.5px/1.2 var(--font-title); letter-spacing: .26em; text-transform: uppercase; }
.footer__col > a, .footer__col > span { display: block; padding: 7px 0; color: var(--text-soft); font-size: 15px; transition: color .3s; }
.footer__col > a:hover { color: var(--gold-light); }
.newsletter { margin-top: 30px; }
.newsletter__row { display: flex; gap: 8px; }
.newsletter__row .input { min-height: 50px; border-radius: 100px; padding-inline: 20px; }
.newsletter .check { margin-top: 12px; }
.socials { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.socials a { display: inline-flex; align-items: center; padding: 9px 14px; border: 1px solid var(--line-strong); border-radius: 100px; color: var(--text-soft); font: 600 12.5px var(--font-title); letter-spacing: .03em; transition: border-color .3s, color .3s; }
.socials a:hover { border-color: var(--gold-line); color: var(--gold-light); }
.footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: 72px; padding-top: 26px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13.5px; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 22px; }
.footer__legal a:hover { color: var(--gold-light); }
.footer__mark { margin: 48px 0 -.2em; font: 400 min(10.5rem, 13.2vw)/.9 var(--font-display); letter-spacing: -.03em; text-align: center; white-space: nowrap; background: linear-gradient(180deg, rgba(255, 217, 120, .3), rgba(255, 217, 120, 0) 92%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none; }

/* ---------- Accueil : héros ---------- */
.hero { position: relative; padding: 80px 0 0; overflow: hidden; text-align: center; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -320px -25% auto; z-index: -1; height: 1100px; background: radial-gradient(42% 40% at 50% 34%, rgba(255, 196, 70, .17), transparent 70%), radial-gradient(26% 32% at 80% 22%, rgba(255, 140, 40, .09), transparent 70%), radial-gradient(26% 32% at 18% 30%, rgba(255, 230, 170, .07), transparent 70%); animation: aurora 22s ease-in-out infinite alternate; pointer-events: none; }
.hero::after { content: ""; position: absolute; top: 36px; left: 50%; z-index: -1; width: 1180px; height: 1180px; border: 1px solid rgba(255, 205, 110, .09); border-radius: 50%; transform: translateX(-50%); -webkit-mask-image: linear-gradient(180deg, #000, transparent 48%); mask-image: linear-gradient(180deg, #000, transparent 48%); pointer-events: none; }
@keyframes aurora { to { transform: translate3d(2%, 3%, 0) scale(1.06); } }
.hero > .container > .chip { border-color: var(--gold-line); color: var(--gold-light); font: 700 10.5px/1.2 var(--font-title); letter-spacing: .22em; text-transform: uppercase; }
.hero__title { max-width: 1140px; margin: 30px auto 0; }
.hero__title .w { display: inline-block; overflow: hidden; margin: -.14em -.07em -.14em 0; padding: .14em .07em .14em 0; vertical-align: top; }
.hero__title .w > span { display: inline-block; transform: translateY(108%); transition: transform 1.2s var(--ease); transition-delay: calc(var(--i, 0) * 45ms + .15s); }
.hero__title.is-in .w > span { transform: none; }
.hero__title.is-split em { margin-right: 0; padding-right: 0; background: none; color: inherit; }
.hero__title em .w > span { margin-right: -.08em; padding-right: .08em; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { max-width: 680px; margin: 30px auto 0; }
.hero .btn-row { justify-content: center; margin-top: 42px; }
.hero__trust { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 30px; margin-top: 30px; color: var(--muted); font: 600 10.5px/1.4 var(--font-title); letter-spacing: .22em; text-transform: uppercase; }
.hero__trust span { display: inline-flex; align-items: center; gap: 9px; }
.hero__trust svg { width: 15px; height: 15px; color: var(--gold-light); }
.bento { display: grid; grid-template-columns: 1.3fr 1fr 1fr; grid-auto-rows: 236px; gap: 14px; margin-top: 64px; padding: 14px; border: 1px solid transparent; border-radius: 32px; background: linear-gradient(var(--bg), var(--bg)) padding-box, linear-gradient(160deg, rgba(255, 217, 120, .5), rgba(255, 255, 255, .05) 35%, rgba(255, 255, 255, .03) 65%, rgba(255, 185, 6, .38)) border-box; box-shadow: 0 90px 160px -70px rgba(255, 185, 6, .22), 0 60px 120px -60px rgba(0, 0, 0, .9); }
.bento__item { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; transition: transform .8s var(--ease), border-color .5s; }
.bento__item::after { content: ""; position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, transparent 55%, rgba(5, 6, 8, .55)); pointer-events: none; }
.bento__item:hover { transform: translateY(-4px); border-color: var(--gold-line); }
.bento__item:first-child { grid-row: span 2; }
.bento__item .art { height: 100%; aspect-ratio: auto; }
.bento__label { position: absolute; left: 14px; bottom: 14px; z-index: 3; display: inline-flex; align-items: center; gap: 9px; padding: 8px 15px 9px; border: 1px solid rgba(255, 217, 120, .28); border-radius: 100px; background: rgba(7, 8, 11, .72); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: italic 400 17px/1 var(--font-display); }
.bento__label svg { width: 12px; height: 12px; color: var(--gold-light); }

/* ---------- Bandeau défilant ---------- */
.marquee { position: relative; overflow: hidden; padding: 46px 0 50px; border-block: 1px solid var(--line); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee__label { margin-bottom: 26px; color: var(--muted); font: 700 10.5px/1 var(--font-title); letter-spacing: .3em; text-align: center; text-transform: uppercase; }
.marquee__track { display: flex; width: max-content; gap: 64px; animation: marquee 70s linear infinite; }
.marquee__group { display: flex; gap: 64px; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 64px; color: #bdb6aa; font: italic 400 clamp(1.9rem, 1.4rem + 1.6vw, 3rem)/1 var(--font-display); white-space: nowrap; }
.marquee__item::after { content: "✦"; color: var(--gold); font: normal 400 .42em/1 var(--font-text); }
@keyframes marquee { to { transform: translateX(calc(-50% - 32px)); } }

/* ---------- Cartes « avantage » ---------- */
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.features--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.feature { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 38px 32px 36px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, 0) 70%); transition: border-color .5s, transform .7s var(--ease); }
.feature:hover { border-color: var(--gold-line); transform: translateY(-6px); }
.feature h3 { margin-top: 8px; font-size: 1.85rem; line-height: 1.1; }
.feature p { color: var(--text-soft); font-size: 15.5px; }
.feature--media { padding: 0; overflow: hidden; }
.feature--media .art, .feature--media img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; }
.feature--media .feature__body { display: flex; flex-direction: column; gap: 10px; padding: 26px; }

/* ---------- Cartes formation ---------- */
.pricing-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px 26px; margin: -32px 0 48px; color: var(--muted); font-size: 14px; }
.segmented { display: inline-flex; padding: 5px; border: 1px solid var(--line-strong); border-radius: 100px; background: rgba(255, 255, 255, .02); }
.segmented button { min-height: 40px; padding: 0 18px; border: 0; border-radius: 100px; background: transparent; color: var(--text-soft); font: 600 13px/1 var(--font-title); letter-spacing: .03em; transition: background-color .4s, color .4s; }
.segmented button[aria-pressed="true"] { background: var(--gold-grad); color: #130f06; }
.cards { display: flex; flex-wrap: wrap; justify-content: center; gap: 28px; }
.cards > * { flex: 0 1 calc((100% - 56px) / 3); min-width: 0; }
.course-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-xl); background: linear-gradient(180deg, #111218, #0b0c10); transition: transform .8s var(--ease), border-color .5s, box-shadow .8s var(--ease); }
.course-card:hover { transform: translateY(-8px); border-color: var(--gold-line); box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .95), 0 40px 90px -60px rgba(255, 185, 6, .4); }
.course-card > .art { aspect-ratio: 16 / 10; border-bottom: 1px solid var(--line); }
.course-card__badge { position: absolute; top: 16px; right: 16px; z-index: 3; }
.course-card__body { display: flex; flex: 1; flex-direction: column; gap: 14px; padding: 28px 28px 26px; }
.course-card__cat { color: var(--gold-light); font: 700 10.5px/1.2 var(--font-title); letter-spacing: .24em; text-transform: uppercase; }
.course-card h3 { font-size: 2.2rem; line-height: 1.02; }
.course-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.course-card p { color: var(--text-soft); font-size: 15px; }
.course-card__meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--text-soft); font-size: 13.5px; }
.course-card__meta span { display: inline-flex; align-items: center; gap: 7px; }
.course-card__meta svg { width: 15px; height: 15px; color: var(--gold-light); }
.course-card__foot { position: relative; z-index: 3; display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 20px; border-top: 1px solid var(--line); }
.price { font: 400 34px/1 var(--font-display); letter-spacing: -.01em; }
.price small { display: block; margin-bottom: 10px; color: var(--muted); font: 700 10px/1 var(--font-title); letter-spacing: .22em; text-transform: uppercase; }
.price .todo { font-size: 12.5px; }

/* ---------- Équipe pédagogique, médias ---------- */
.media { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-xl); background: var(--surface); }
.media::after { content: ""; position: absolute; inset: 10px; border: 1px solid rgba(255, 217, 120, .16); border-radius: calc(var(--radius-xl) - 8px); pointer-events: none; }
.media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.92) contrast(1.04); transition: transform 1.4s var(--ease); }
.media:hover img { transform: scale(1.03); }
.media--wide { aspect-ratio: 16 / 11; }
.media--tall { aspect-ratio: 4 / 5; }
.media__caption { position: absolute; left: 22px; right: 22px; bottom: 22px; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 13px 16px; border: 1px solid rgba(255, 217, 120, .2); border-radius: 100px; background: rgba(7, 8, 11, .74); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: italic 400 17px/1.2 var(--font-display); }
.media__caption svg { flex: none; width: 17px; height: 17px; color: var(--gold-light); }
.check-list { display: grid; gap: 14px; list-style: none; }
.check-list li { display: flex; gap: 14px; color: var(--text-soft); }
.check-list svg { flex: none; width: 22px; height: 22px; color: var(--gold-light); }

/* ---------- Chiffres ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.stat { padding: 10px 24px; text-align: center; }
.stat + .stat { border-left: 1px solid transparent; border-image: linear-gradient(180deg, transparent, var(--gold-line), transparent) 1; }
.stat__value { display: block; font: 400 clamp(3.2rem, 2.3rem + 3.2vw, 5.6rem)/1 var(--font-display); letter-spacing: -.02em; font-variant-numeric: lining-nums; }
.stat__value .u { color: var(--gold-light); font-style: italic; }
.stat__label { display: block; margin-top: 14px; color: var(--muted); font: 700 10.5px/1.5 var(--font-title); letter-spacing: .24em; text-transform: uppercase; }

/* ---------- Onglets « ce que tu vas apprendre » ---------- */
.tabs__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 34px; margin-bottom: 44px; border-bottom: 1px solid var(--line); }
.tabs__tab { position: relative; min-height: 56px; padding: 0 2px; border: 0; background: none; color: var(--muted); font: 400 24px/1 var(--font-display); transition: color .4s; }
.tabs__tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--gold-grad); transform: scaleX(0); transition: transform .6s var(--ease); }
.tabs__tab:hover { color: var(--text); }
.tabs__tab[aria-selected="true"] { color: var(--text); font-style: italic; }
.tabs__tab[aria-selected="true"]::after { transform: scaleX(1); }
.tabs__panel { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 40px; border: 1px solid var(--line); border-radius: 30px; background: radial-gradient(60% 80% at 100% 0%, rgba(255, 185, 6, .06), transparent 70%), linear-gradient(180deg, #111218, #0b0c10); animation: panelIn .8s var(--ease); }
.tabs__panel .art { border: 1px solid var(--line); border-radius: 20px; }
.tabs__panel h3 { margin-top: 12px; font-size: clamp(2rem, 1.6rem + 1.3vw, 2.9rem); line-height: 1.04; }
.tabs__panel .lead { margin-top: 14px; font-size: 1.05rem; }
@keyframes panelIn { from { opacity: 0; transform: translateY(14px); } }
.lesson-list { margin-top: 24px; list-style: none; counter-reset: lesson; }
.lesson-list li { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--text-soft); font-size: 15px; }
.lesson-list li::before { counter-increment: lesson; content: counter(lesson, decimal-leading-zero); color: var(--gold-light); font: italic 400 19px/1 var(--font-display); }
.lesson-list__dur { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }

/* ---------- Bandeau ateliers ---------- */
.band { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; padding: 64px; overflow: hidden; border: 1px solid transparent; border-radius: 34px; background: radial-gradient(70% 110% at 100% 0%, rgba(255, 185, 6, .16), transparent 62%) padding-box, linear-gradient(180deg, #13120d, #0b0c10) padding-box, linear-gradient(140deg, rgba(255, 217, 120, .55), rgba(255, 255, 255, .05) 40%, rgba(255, 255, 255, .03) 65%, rgba(255, 185, 6, .32)) border-box; }
.band__free { display: flex; align-items: baseline; gap: 16px; margin: 22px 0 8px; }
.band__free strong { font: 400 clamp(3.6rem, 2.6rem + 4vw, 6.4rem)/1 var(--font-display); letter-spacing: -.03em; background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.band__free span { color: var(--text-soft); font: italic 400 20px/1.25 var(--font-display); }
.band .check-list { margin: 26px 0 36px; }
.band__media { position: relative; }
.band__media .media { aspect-ratio: 4 / 3.2; }
.band__media .badge { position: absolute; top: 20px; left: 20px; z-index: 3; border-color: transparent; background: var(--gold-grad); color: #130f06; box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .7); }

/* ---------- Histoires ---------- */
.stories { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.story { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-xl); background: linear-gradient(180deg, #111218, #0b0c10); transition: transform .8s var(--ease), border-color .5s; }
.story:hover { transform: translateY(-8px); border-color: var(--gold-line); }
.story__media { aspect-ratio: 4 / 3; overflow: hidden; }
.story__media img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.75) contrast(1.05); transition: transform 1.4s var(--ease), filter .9s; }
.story:hover .story__media img { filter: none; transform: scale(1.06); }
.story__media--text { display: grid; place-items: center; background: radial-gradient(80% 80% at 20% 10%, rgba(255, 185, 6, .16), transparent 62%), var(--surface-2); }
.story__media--text svg { width: 54px; height: 54px; color: var(--gold-light); stroke-width: 1.2; }
.story__body { display: flex; flex: 1; flex-direction: column; gap: 12px; padding: 24px; }
.story__kind { color: var(--gold-light); font: 700 10px/1.2 var(--font-title); letter-spacing: .24em; text-transform: uppercase; }
.story h3 { font-size: 1.65rem; line-height: 1.08; }
.story h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.story p { color: var(--text-soft); font-size: 14.5px; }
.story .link-arrow { margin-top: auto; padding-top: 8px; font-size: 13.5px; }

/* ---------- Questions fréquentes ---------- */
.faq { max-width: 900px; margin: 0 auto; border-top: 1px solid var(--line); }
.faq-group + .faq-group { margin-top: 64px; }
.faq-group > h2 { padding: 0 0 14px; color: var(--gold-light); font: 700 11px/1.2 var(--font-title); letter-spacing: .26em; text-transform: uppercase; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details::details-content { height: 0; overflow: hidden; transition: height .5s var(--ease), content-visibility .5s allow-discrete; }
.faq details[open]::details-content { height: auto; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 2px; font: 400 clamp(1.3rem, 1.15rem + .5vw, 1.6rem)/1.25 var(--font-display); list-style: none; cursor: pointer; transition: color .3s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 38px; height: 38px; border: 1px solid var(--gold-line); border-radius: 50%; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffd978' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 15px no-repeat; transition: transform .6s var(--ease), background-color .4s; }
.faq details[open] summary::after { background-color: var(--gold-soft); transform: rotate(135deg); }
.faq summary:hover { color: var(--gold-light); }
.faq details[open] summary { font-style: italic; }
.faq__answer { max-width: 760px; padding: 0 2px 28px; color: var(--text-soft); }
.faq__more { margin-top: 40px; text-align: center; }

/* ---------- Appel final ---------- */
.cta { position: relative; overflow: hidden; padding: 112px 40px; border: 1px solid transparent; border-radius: 36px; background: radial-gradient(55% 90% at 50% 0%, rgba(255, 185, 6, .18), transparent 70%) padding-box, linear-gradient(180deg, #121108, #0b0c10) padding-box, linear-gradient(180deg, rgba(255, 217, 120, .5), rgba(255, 255, 255, .04) 60%, rgba(255, 185, 6, .25)) border-box; text-align: center; isolation: isolate; }
.cta::before { content: ""; position: absolute; top: 50%; left: 50%; z-index: -1; width: 760px; height: 760px; border: 1px solid rgba(255, 205, 110, .1); border-radius: 50%; transform: translate(-50%, -50%); }
.cta::after { content: ""; position: absolute; top: 50%; left: 50%; z-index: -1; width: 520px; height: 520px; border: 1px solid rgba(255, 205, 110, .07); border-radius: 50%; transform: translate(-50%, -50%); }
.cta .lead { max-width: 620px; margin: 22px auto 0; }
.cta .btn-row { justify-content: center; margin-top: 40px; }

/* ---------- En-tête des pages intérieures ---------- */
.page-hero { position: relative; padding: 76px 0 88px; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: -300px -10% auto; z-index: -1; height: 820px; background: radial-gradient(38% 46% at 26% 42%, rgba(255, 196, 70, .12), transparent 70%), radial-gradient(28% 40% at 84% 30%, rgba(255, 140, 40, .07), transparent 70%); pointer-events: none; }
.page-hero::after { content: ""; position: absolute; top: -380px; right: -260px; z-index: -1; width: 900px; height: 900px; border: 1px solid rgba(255, 205, 110, .07); border-radius: 50%; pointer-events: none; }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 72px; align-items: center; }
.page-hero .lead { max-width: 660px; margin-top: 24px; }
.page-hero .btn-row, .page-hero .chips { margin-top: 34px; }
.page-hero h1 { margin-top: 4px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 30px; color: var(--muted); font: 600 11px/1.4 var(--font-title); letter-spacing: .18em; text-transform: uppercase; list-style: none; }
.breadcrumb li + li::before { content: "—"; margin-right: 10px; color: var(--gold-line); }
.breadcrumb a { transition: color .3s; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb [aria-current] { color: var(--text-soft); }

/* ---------- Fiche formation ---------- */
.course-layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 72px; align-items: start; }
.course-main > section + section { margin-top: 88px; }
.course-main h2 { margin-bottom: 28px; font-size: clamp(2rem, 1.6rem + 1.4vw, 3rem); }
.buy-card { position: sticky; top: calc(var(--header) + 28px); padding: 32px; border: 1px solid transparent; border-radius: var(--radius-xl); background: radial-gradient(90% 60% at 100% 0%, rgba(255, 185, 6, .1), transparent 70%) padding-box, linear-gradient(180deg, #14141a, #0c0d11) padding-box, linear-gradient(160deg, rgba(255, 217, 120, .5), rgba(255, 255, 255, .05) 45%, rgba(255, 185, 6, .25)) border-box; box-shadow: 0 50px 90px -50px rgba(0, 0, 0, .95); }
.buy-card .price { font-size: 48px; }
.buy-card .segmented { margin-bottom: 22px; }
.buy-card .btn { margin-top: 10px; }
.facts { margin: 24px 0 16px; }
.facts > div { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; color: var(--text); font-weight: 500; text-align: right; }
.course-hero .art { border: 1px solid var(--line); border-radius: var(--radius-xl); box-shadow: 0 60px 120px -60px rgba(0, 0, 0, .95), 0 40px 100px -70px rgba(255, 185, 6, .35); }
.outcomes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.outcome { display: flex; gap: 14px; align-items: flex-start; padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-l); background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, 0)); color: var(--text-soft); }
.outcome svg { flex: none; width: 22px; height: 22px; color: var(--gold-light); }
.lessons { overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-l); list-style: none; }
.lesson-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 18px 22px; background: rgba(255, 255, 255, .015); transition: background-color .4s; }
.lesson-row:hover { background: rgba(255, 185, 6, .035); }
.lesson-row + .lesson-row { border-top: 1px solid var(--line); }
.lesson-row__n { color: var(--gold-light); font: italic 400 22px/1 var(--font-display); }
.lesson-row__title { font-weight: 500; }
.lesson-row__side { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.lesson-row__side svg { width: 15px; height: 15px; }
.lessons__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; color: var(--muted); font-size: 14px; }
.who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.who__col { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-l); background: rgba(255, 255, 255, .015); }
.who__col h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; font-size: 1.6rem; }
.who__col h3 svg { width: 20px; height: 20px; color: var(--gold-light); }
.who__col ul { display: grid; gap: 10px; list-style: none; }
.who__col li { position: relative; padding-left: 18px; color: var(--text-soft); font-size: 15px; }
.who__col li::before { content: ""; position: absolute; top: .72em; left: 0; width: 8px; height: 1px; background: var(--gold); }
.preview { position: relative; display: grid; place-items: center; aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-xl); background: radial-gradient(60% 80% at 50% 40%, rgba(255, 185, 6, .1), transparent 70%), var(--surface); text-align: center; }
.preview iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.preview__inner { display: grid; justify-items: center; gap: 14px; max-width: 470px; padding: 24px; color: var(--text-soft); }
.preview__inner > svg { width: 30px; height: 30px; color: var(--gold-light); }
.preview__play { display: grid; place-items: center; width: 84px; height: 84px; border: 0; border-radius: 50%; background: var(--gold-grad); color: #130f06; box-shadow: 0 0 0 12px rgba(255, 185, 6, .1), 0 0 0 26px rgba(255, 185, 6, .05); transition: transform .5s var(--ease); }
.preview__play:hover { transform: scale(1.06); }
.preview__play svg { width: 28px; height: 28px; margin-left: 4px; }
.mini-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.mini-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-l); background: linear-gradient(180deg, #111218, #0b0c10); transition: transform .7s var(--ease), border-color .5s; }
.mini-card:hover { transform: translateY(-6px); border-color: var(--gold-line); }
.mini-card .art { aspect-ratio: 16 / 10; }
.mini-card__body { padding: 18px 18px 20px; }
.mini-card__body strong { display: block; margin-bottom: 4px; font: 400 1.5rem/1.1 var(--font-display); }
.mini-card__body span { color: var(--muted); font-size: 13px; }
.mini-card a::after { content: ""; position: absolute; inset: 0; z-index: 2; }

/* ---------- Étapes, thèmes, calendrier ---------- */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; list-style: none; counter-reset: step; }
.steps--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.step { position: relative; padding: 30px 26px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: linear-gradient(180deg, rgba(255, 255, 255, .025), rgba(255, 255, 255, 0)); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; margin-bottom: 22px; padding-bottom: 18px; border-bottom: 1px solid var(--gold-line); background: var(--gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; font: italic 400 46px/1 var(--font-display); }
.step strong { display: block; margin-bottom: 10px; font: 400 1.5rem/1.15 var(--font-display); }
.step p { color: var(--text-soft); font-size: 15px; }
.themes { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.theme { position: relative; display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-l); background: linear-gradient(180deg, #111218, #0b0c10); transition: border-color .5s, transform .7s var(--ease); }
.theme:hover { border-color: var(--gold-line); transform: translateY(-6px); }
.theme .art { aspect-ratio: 1 / 1; }
.theme__body { display: flex; flex: 1; flex-direction: column; gap: 8px; padding: 20px; }
.theme__body small { color: var(--gold-light); font: 700 10px/1.2 var(--font-title); letter-spacing: .22em; text-transform: uppercase; }
.theme__body strong { font: 400 1.35rem/1.15 var(--font-display); }
.schedule { display: grid; gap: 12px; list-style: none; }
.schedule__item { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 18px 22px; border: 1px solid var(--line); border-radius: var(--radius-l); background: var(--surface); }
.schedule__date { display: grid; place-items: center; padding: 12px; border: 1px solid var(--gold-line); border-radius: var(--radius); background: var(--gold-soft); color: var(--gold-light); text-align: center; }
.schedule__date b { display: block; font: 400 34px/1 var(--font-display); }
.schedule__date span { font: 700 10.5px/1.4 var(--font-title); letter-spacing: .16em; text-transform: uppercase; }
.empty { display: grid; justify-items: center; gap: 16px; padding: 52px 26px; border: 1px dashed var(--gold-line); border-radius: var(--radius-xl); color: var(--text-soft); text-align: center; }
.empty svg { width: 34px; height: 34px; color: var(--gold-light); }

/* ---------- Offres écoles, galerie, chronologie ---------- */
.offers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.offer { position: relative; display: flex; flex-direction: column; gap: 16px; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: linear-gradient(180deg, #111218, #0b0c10); transition: border-color .5s, transform .7s var(--ease); }
.offer:hover { border-color: var(--gold-line); transform: translateY(-6px); }
.offer small { color: var(--gold-light); font: 700 10px/1.2 var(--font-title); letter-spacing: .22em; text-transform: uppercase; }
.offer h3 { font-size: 1.85rem; line-height: 1.08; }
.offer p { color: var(--text-soft); font-size: 15px; }
.offer .link-arrow { position: relative; z-index: 2; margin-top: auto; font-size: 13.5px; }
.offer--accent { border-color: var(--gold-line); background: radial-gradient(90% 80% at 100% 0%, rgba(255, 185, 6, .14), transparent 70%), linear-gradient(180deg, #14130d, #0b0c10); }
.gallery { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: repeat(2, 230px); gap: 14px; }
.gallery figure { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-l); }
.gallery figure:first-child { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.85); transition: transform 1.4s var(--ease), filter .9s; }
.gallery figure:hover img { filter: none; transform: scale(1.05); }
.timeline { display: grid; list-style: none; }
.timeline__item { position: relative; display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 26px; padding: 0 0 40px 34px; }
.timeline__item::before { content: ""; position: absolute; top: 7px; left: 0; width: 13px; height: 13px; border: 1px solid var(--gold-line); border-radius: 50%; background: var(--bg); }
.timeline__item::after { content: ""; position: absolute; top: 26px; bottom: 0; left: 6px; width: 1px; background: linear-gradient(180deg, var(--gold-line), var(--line)); }
.timeline__item:last-child::after { display: none; }
.timeline__item.is-done::before { border-color: var(--gold); background: var(--gold); }
.timeline__item.is-next::before { border-color: var(--gold-light); box-shadow: 0 0 0 6px var(--gold-soft); }
.timeline__when { color: var(--gold-light); font: italic 400 20px/1.3 var(--font-display); }
.timeline__item strong { display: block; margin-bottom: 8px; font: 400 1.5rem/1.15 var(--font-display); }
.timeline__item p { color: var(--text-soft); font-size: 15px; }
.status { display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px; border: 1px solid var(--gold-line); border-radius: 100px; background: rgba(255, 185, 6, .05); color: var(--text); font: 600 12px/1.3 var(--font-title); letter-spacing: .08em; text-transform: uppercase; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.status--done::before { background: var(--success); }

/* ---------- Ressources ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.filters button { min-height: 42px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 100px; background: transparent; color: var(--text-soft); font: 600 13px/1 var(--font-title); letter-spacing: .03em; transition: background-color .4s, color .4s, border-color .4s; }
.filters button:hover { border-color: var(--gold-line); color: var(--gold-light); }
.filters button[aria-pressed="true"] { border-color: transparent; background: var(--gold-grad); color: #130f06; }
.resources { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.resource { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: linear-gradient(180deg, #111218, #0b0c10); transition: border-color .5s, transform .7s var(--ease); }
.resource:hover { border-color: var(--gold-line); transform: translateY(-6px); }
.resource__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.resource h3 { font-size: 1.6rem; line-height: 1.12; }
.resource h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.resource p { margin-top: auto; color: var(--muted); font-size: 14px; }

/* ---------- Formulaires ---------- */
.form-layout { display: grid; grid-template-columns: minmax(0, 1fr) 370px; gap: 48px; align-items: start; }
.form { display: grid; gap: 24px; }
.fieldset { min-width: 0; margin: 0; padding: 32px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: linear-gradient(180deg, #111218, #0c0d11); }
.fieldset legend { float: left; display: flex; align-items: baseline; gap: 14px; width: 100%; margin-bottom: 26px; padding: 0; font: 400 28px/1.15 var(--font-display); }
.fieldset legend span { color: var(--gold-light); font: italic 400 22px/1 var(--font-display); }
.fieldset legend .tag-proposal { font-style: normal; }
.fieldset legend + * { clear: both; }
.fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: grid; gap: 9px; align-content: start; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field > label, .field .label { color: var(--text); font: 500 14px/1.4 var(--font-text); }
.req { color: var(--gold-light); }
.input, .select, .textarea { width: 100%; min-height: 52px; padding: 13px 16px; border: 1px solid var(--line-strong); border-radius: 12px; background: rgba(5, 6, 8, .6); color: var(--text); font-size: 16px; transition: border-color .3s, box-shadow .3s, background-color .3s; }
.input::placeholder, .textarea::placeholder { color: #6e6a62; }
.input:hover, .select:hover, .textarea:hover { border-color: rgba(243, 236, 224, .28); }
.input:focus, .select:focus, .textarea:focus { border-color: var(--gold-light); outline: none; background: rgba(5, 6, 8, .85); box-shadow: 0 0 0 4px rgba(255, 185, 6, .12); }
.select { appearance: none; padding-right: 44px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffd978' stroke-width='1.6' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-position: right 16px center; background-repeat: no-repeat; background-size: 17px; }
.select option { background: #0c0d11; color: var(--text); }
.textarea { min-height: 136px; resize: vertical; }
.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"], .choices[aria-invalid="true"] { border-color: var(--danger); }
.field__hint { color: var(--muted); font-size: 13px; }
.field__error { color: var(--danger); font-size: 13px; font-weight: 500; }
.field__error:empty { display: none; }
.choices { display: grid; gap: 10px; }
.choices--row { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.choices--cards { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.choice { display: flex; gap: 12px; align-items: flex-start; padding: 15px 17px; border: 1px solid var(--line-strong); border-radius: 14px; background: rgba(255, 255, 255, .015); color: var(--text-soft); font-size: 15px; cursor: pointer; transition: border-color .3s, background-color .3s; }
.choice:hover { border-color: rgba(243, 236, 224, .3); }
.choice:has(input:checked) { border-color: var(--gold-light); background: linear-gradient(135deg, rgba(255, 185, 6, .12), rgba(255, 185, 6, .03)); color: var(--text); }
.choice:has(input:focus-visible) { outline: 1.5px solid var(--gold-light); outline-offset: 3px; }
.choice input, .check input { flex: none; width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--gold); }
.choice strong { display: block; color: var(--text); font: 400 1.3rem/1.1 var(--font-display); }
.choice small { display: block; margin-top: 4px; color: var(--muted); font-size: 13px; }
.check { display: flex; gap: 12px; align-items: flex-start; color: var(--text-soft); font-size: 14px; line-height: 1.55; cursor: pointer; }
.check + .check { margin-top: 14px; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.form__submit .muted { font-size: 13px; }
.form-status { padding: 17px 20px; border: 1px solid var(--line-strong); border-radius: 14px; font-size: 15px; }
.form-status:empty { display: none; }
.form-status.is-success { border-color: rgba(134, 217, 173, .45); background: rgba(134, 217, 173, .08); color: #d5f3e3; }
.form-status.is-error { border-color: rgba(255, 155, 143, .5); background: rgba(255, 155, 143, .07); color: #ffdcd6; }
.privacy-box { padding: 17px 20px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, .02); color: var(--muted); font-size: 13.5px; }
.summary-card { position: sticky; top: calc(var(--header) + 28px); padding: 30px; border: 1px solid transparent; border-radius: var(--radius-xl); background: radial-gradient(90% 60% at 100% 0%, rgba(255, 185, 6, .1), transparent 70%) padding-box, linear-gradient(180deg, #14141a, #0c0d11) padding-box, linear-gradient(160deg, rgba(255, 217, 120, .5), rgba(255, 255, 255, .05) 45%, rgba(255, 185, 6, .25)) border-box; }
.summary-card h2 { margin-bottom: 6px; font-size: 2rem; }
.summary-card .facts { margin-bottom: 20px; }
.summary-card .notice { margin-top: 16px; font-size: 14px; }

/* ---------- Tutoriel ---------- */
.tuto-layout { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 64px; align-items: start; }
.tuto-nav { position: sticky; top: calc(var(--header) + 28px); padding: 22px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: linear-gradient(180deg, #111218, #0b0c10); }
.tuto-nav strong { display: block; margin-bottom: 14px; color: var(--gold-light); font: 700 10.5px/1.2 var(--font-title); letter-spacing: .24em; text-transform: uppercase; }
.tuto-nav ol { display: grid; gap: 4px; list-style: none; }
.tuto-nav a { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 10px; color: var(--text-soft); font-size: 14px; transition: background-color .3s, color .3s; }
.tuto-nav a:hover { background: rgba(255, 185, 6, .05); color: var(--text); }
.tuto-nav a b { display: grid; flex: none; place-items: center; width: 30px; height: 30px; border: 1px solid var(--gold-line); border-radius: 50%; color: var(--gold-light); font: italic 400 15px/1 var(--font-display); }
.tuto-nav a.is-done b { border-color: var(--gold); background: var(--gold); color: var(--bg); }
.tuto-progress { height: 4px; margin-top: 18px; overflow: hidden; border-radius: 4px; background: rgba(255, 255, 255, .07); }
.tuto-progress span { display: block; height: 100%; border-radius: 4px; background: var(--gold-grad); transition: width .7s var(--ease); }
.tuto-lesson { padding: 44px; border: 1px solid var(--line); border-radius: var(--radius-xl); background: linear-gradient(180deg, #111218, #0b0c10); }
.tuto-lesson + .tuto-lesson { margin-top: 32px; }
.tuto-lesson__head { margin-bottom: 30px; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.tuto-lesson__head h2 { margin-top: 14px; font-size: clamp(2.1rem, 1.6rem + 1.6vw, 3.2rem); }
.tuto-lesson__head p { margin-top: 10px; color: var(--text-soft); font: italic 400 1.25rem/1.4 var(--font-display); }
.tuto-lesson__done { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.prose { color: var(--text-soft); font-size: 16.5px; line-height: 1.8; }
.prose > * + * { margin-top: 1em; }
.prose h2, .prose h3 { margin-top: 1.9em; color: var(--text); }
.prose h2 { font-size: 2rem; }
.prose h3 { font-size: 1.65rem; }
.prose ul, .prose ol { display: grid; gap: .5em; padding-left: 1.3em; }
.prose li::marker { color: var(--gold-light); }
.prose strong { color: var(--text); font-weight: 600; }
.prose code { padding: 2px 7px; border: 1px solid var(--line); border-radius: 6px; background: rgba(255, 255, 255, .04); color: #ffe0a0; font: 500 .86em/1.4 var(--font-mono); }
.prose pre { margin: 0; padding: 20px 22px; overflow-x: auto; border-radius: 0 0 12px 12px; background: #050608; }
.prose pre code { padding: 0; border: 0; background: none; color: #ece7dc; font-size: 14px; line-height: 1.7; white-space: pre; }
.code-block { position: relative; margin: 1.5em 0 0; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 12px; }
.code-block figcaption { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 10px 9px 18px; border-bottom: 1px solid var(--line); background: #0e0f13; color: var(--gold-light); font: 700 10.5px/1.2 var(--font-title); letter-spacing: .2em; }
.copy-btn { display: inline-flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 100px; background: transparent; color: var(--text-soft); font: 600 11.5px/1 var(--font-title); letter-spacing: .04em; transition: border-color .3s, color .3s; }
.copy-btn:hover { border-color: var(--gold-line); color: var(--gold-light); }
.copy-btn svg { width: 13px; height: 13px; }
.prose ol.commands { gap: 12px; padding: 0; list-style: none; }
.prose ol.commands li { display: grid; gap: 8px; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255, 255, 255, .015); }
.prose ol.commands code { justify-self: start; }

/* ---------- Textes juridiques ---------- */
.legal { max-width: 880px; }
.legal h2 { margin-top: 2.2em; font-size: 2rem; }
.legal table { width: 100%; margin-top: 1.2em; border-collapse: collapse; font-size: 14.5px; }
.legal th, .legal td { padding: 13px 15px; border: 1px solid var(--line); text-align: left; vertical-align: top; }
.legal th { background: rgba(255, 185, 6, .05); color: var(--text); font-weight: 600; }
.legal-note { margin-bottom: 40px; }

/* ---------- Page 404 ---------- */
.error-page { display: grid; justify-items: center; gap: 24px; padding: 128px 0 152px; text-align: center; }
.error-page__code { font: italic 400 clamp(7rem, 4rem + 12vw, 14rem)/.85 var(--font-display); letter-spacing: -.04em; }

/* ---------- Apparition au défilement ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(30px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* =====================================================================================================
   Visuels animés des cinq formations (remplacent les vidéos en boucle de l’inspiration ; aucun fichier lourd).
   Toutes les tailles suivent la largeur du visuel grâce aux unités de conteneur (cqi).
   ===================================================================================================== */
.art { --a: #e0b354; position: relative; aspect-ratio: 4 / 3; overflow: hidden; container-type: inline-size; isolation: isolate; background: #0c0d12; background: radial-gradient(90% 80% at 0% 0%, color-mix(in srgb, var(--a) 20%, transparent), transparent 65%), radial-gradient(70% 70% at 100% 100%, rgba(255, 185, 6, .16), transparent 60%), #0c0d12; }
.art.is-paused *, .art.is-paused *::before, .art.is-paused *::after { animation-play-state: paused !important; }
.art__win { position: absolute; inset: 11% 8% 11%; display: flex; flex-direction: column; overflow: hidden; border: 1px solid rgba(255, 230, 180, .14); border-radius: 2.4cqi; background: #0a0b10; box-shadow: 0 6cqi 12cqi -4cqi rgba(0, 0, 0, .85); }
.art__bar { display: flex; flex: none; align-items: center; gap: 1.1cqi; height: 5.6cqi; padding: 0 2cqi; border-bottom: 1px solid rgba(255, 255, 255, .07); background: #101118; }
.art__bar i { width: 1.6cqi; height: 1.6cqi; border-radius: 50%; background: rgba(255, 255, 255, .16); }
.art__bar b { overflow: hidden; margin-left: 1.6cqi; color: rgba(255, 255, 255, .5); font: 600 2.1cqi/1 var(--font-text); white-space: nowrap; text-overflow: ellipsis; }
.art__body { position: relative; flex: 1; min-height: 0; }

/* Canva : une publication change de couleur, le curseur choisit les teintes */
.cv { display: grid; grid-template-columns: 11% minmax(0, 1fr); height: 100%; }
.cv__tools { display: flex; flex-direction: column; gap: 2.2cqi; padding: 2.6cqi 2cqi; border-right: 1px solid rgba(255, 255, 255, .06); background: #0d0e15; }
.cv__tools span { aspect-ratio: 1; border-radius: 1.2cqi; background: rgba(255, 255, 255, .1); }
.cv__tools span:first-child { background: var(--a); }
.cv__stage { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3.4cqi; background: repeating-conic-gradient(#0f1017 0 25%, #0b0c12 0 50%) 0 0 / 3cqi 3cqi; }
.cv__post { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 1.4cqi; width: 40%; aspect-ratio: 1; padding: 3.4cqi; overflow: hidden; border-radius: .8cqi; box-shadow: 0 3cqi 7cqi rgba(0, 0, 0, .55); animation: cvBg 9s var(--ease) infinite; }
.cv__sun { position: absolute; top: -12%; right: -14%; width: 64%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, .35); animation: cvSun 9s var(--ease) infinite; }
.cv__title { position: relative; font: 400 5cqi/1 var(--font-display); letter-spacing: -.02em; }
.cv__line { position: relative; height: 1cqi; width: 70%; border-radius: 1cqi; background: currentColor; opacity: .45; }
.cv__line--s { width: 46%; }
.cv__btn { position: relative; align-self: flex-start; margin-top: .6cqi; padding: 1cqi 1.8cqi; border-radius: 3cqi; background: currentColor; }
.cv__btn::after { content: ""; display: block; width: 7cqi; height: .9cqi; border-radius: 1cqi; background: rgba(0, 0, 0, .35); }
.cv__swatches { position: relative; display: flex; gap: 1.8cqi; padding: 1.4cqi 2cqi; border-radius: 4cqi; background: #101119; box-shadow: 0 0 0 1px rgba(255, 255, 255, .06); }
.cv__swatches i { width: 4cqi; aspect-ratio: 1; border-radius: 50%; }
.cv__swatches i:nth-child(1) { background: #ffc63f; }
.cv__swatches i:nth-child(2) { background: #8d62e0; }
.cv__swatches i:nth-child(3) { background: #3fb8bd; }
.cv__swatches i:nth-child(4) { background: #e87f8f; }
.cv__swatches i:nth-child(5) { background: #f3efe7; }
.cv__cursor { position: absolute; top: 2.8cqi; left: 3.6cqi; width: 4.4cqi; filter: drop-shadow(0 .6cqi .8cqi rgba(0, 0, 0, .6)); animation: cvCursor 9s var(--ease) infinite; }
@keyframes cvBg { 0%, 28% { background: #ffc63f; color: #17130a; } 33%, 61% { background: #8d62e0; color: #fff; } 66%, 95% { background: #3fb8bd; color: #062a2c; } 100% { background: #ffc63f; color: #17130a; } }
@keyframes cvSun { 0%, 28% { transform: scale(1); } 33%, 61% { transform: scale(.7) translate(-20%, 20%); } 66%, 95% { transform: scale(1.15); } }
@keyframes cvCursor { 0%, 22% { transform: translate(0, 0); } 28%, 55% { transform: translate(5.8cqi, 0); } 61%, 88% { transform: translate(11.6cqi, 0); } 95%, 100% { transform: translate(0, 0); } }

/* Photoshop : sélection en pointillés autour du sujet, calque actif qui change */
.ps { display: grid; grid-template-columns: 8% minmax(0, 1fr) 30%; height: 100%; }
.ps__tools { display: grid; align-content: start; gap: 1.8cqi; padding: 2.4cqi 1.6cqi; border-right: 1px solid rgba(255, 255, 255, .06); background: #0d0e15; }
.ps__tools span { aspect-ratio: 1; border-radius: .8cqi; background: rgba(255, 255, 255, .1); }
.ps__tools span:nth-child(3) { background: var(--a); }
.ps__canvas { position: relative; display: grid; place-items: center; padding: 4cqi; background: #181922; }
.ps__photo { position: relative; width: 88%; aspect-ratio: 4 / 3; overflow: hidden; border-radius: .6cqi; background: linear-gradient(180deg, #2a2f5a 0%, #7a5a8f 52%, #f0b48a 100%); box-shadow: 0 2cqi 5cqi rgba(0, 0, 0, .5); }
.ps__sun { position: absolute; top: 18%; left: 58%; width: 18%; aspect-ratio: 1; border-radius: 50%; background: #ffd27d; box-shadow: 0 0 6cqi #ffb54d; }
.ps__hill { position: absolute; inset: auto -10% -2% -10%; height: 46%; background: #25294a; clip-path: polygon(0 60%, 22% 18%, 40% 48%, 62% 8%, 84% 46%, 100% 30%, 100% 100%, 0 100%); }
.ps__hill--2 { height: 30%; background: #15172c; clip-path: polygon(0 40%, 30% 70%, 55% 30%, 80% 60%, 100% 20%, 100% 100%, 0 100%); }
.ps__subject { position: absolute; bottom: 0; left: 24%; width: 22%; height: 62%; }
.ps__subject::before { content: ""; position: absolute; top: 0; left: 26%; width: 48%; aspect-ratio: 1; border-radius: 50%; background: #08090c; }
.ps__subject::after { content: ""; position: absolute; inset: 40% 0 0; border-radius: 45% 45% 0 0; background: #08090c; }
.ps__select { position: absolute; bottom: -6%; left: 19%; width: 32%; height: 74%; border-radius: 50%; outline: .4cqi dashed rgba(255, 255, 255, .95); outline-offset: 0; animation: psSelect 6s linear infinite; }
.ps__layers { display: grid; align-content: start; gap: 1.2cqi; padding: 2.4cqi 2cqi; border-left: 1px solid rgba(255, 255, 255, .06); background: #0d0e15; }
.ps__layers b { margin-bottom: .6cqi; color: rgba(255, 255, 255, .55); font: 700 2.2cqi/1 var(--font-text); }
.ps__layers span { display: flex; align-items: center; gap: 1.4cqi; padding: 1.2cqi; border-radius: .8cqi; color: rgba(255, 255, 255, .75); font: 600 2.2cqi/1 var(--font-text); animation: psLayer 9s infinite; }
.ps__layers span i { flex: none; width: 4.6cqi; aspect-ratio: 1; border-radius: .5cqi; background: linear-gradient(135deg, #7a5a8f, #f0b48a); }
.ps__layers span:nth-of-type(2) { animation-delay: -6s; }
.ps__layers span:nth-of-type(2) i { background: #f3efe7; }
.ps__layers span:nth-of-type(3) { animation-delay: -3s; }
.ps__layers span:nth-of-type(3) i { background: #2a2f5a; }
@keyframes psSelect { 0% { transform: rotate(0) scale(1); } 50% { transform: rotate(2deg) scale(1.04); } 100% { transform: rotate(0) scale(1); } }
@keyframes psLayer { 0%, 30% { background: color-mix(in srgb, var(--a) 30%, transparent); } 34%, 100% { background: transparent; } }

/* Art oratoire : studio, onde sonore et consignes */
.or { position: absolute; inset: 0; display: grid; place-items: center; background: linear-gradient(180deg, rgba(7, 8, 11, .25), rgba(7, 8, 11, .9)), url("../img/studio.jpg") center / cover; }
.or::after { content: ""; position: absolute; inset: 0; background: radial-gradient(45% 55% at 50% 38%, color-mix(in srgb, var(--a) 24%, transparent), transparent 70%); mix-blend-mode: screen; }
.or__rec { position: absolute; top: 5cqi; left: 5cqi; z-index: 2; display: inline-flex; align-items: center; gap: 1.4cqi; padding: 1.2cqi 2.2cqi; border-radius: 4cqi; background: rgba(7, 8, 11, .7); color: #fff; font: 800 2.4cqi/1 var(--font-title); letter-spacing: .1em; }
.or__rec i { width: 1.8cqi; height: 1.8cqi; border-radius: 50%; background: #ff5a4d; animation: blink 1.4s steps(1) infinite; }
.or__time { position: absolute; top: 13cqi; left: 5cqi; z-index: 2; padding: 1.2cqi 2.2cqi; border-radius: 4cqi; background: rgba(7, 8, 11, .7); color: #fff; font: 700 2.4cqi/1 var(--font-mono); }
.or__wave { position: absolute; left: 50%; bottom: 22%; z-index: 2; display: flex; align-items: center; gap: 1.2cqi; height: 16cqi; transform: translateX(-50%); }
.or__wave i { width: 1.3cqi; height: 100%; border-radius: 2cqi; background: linear-gradient(180deg, #ffe39a, var(--gold), var(--a)); transform-origin: center; animation: wave 1.2s ease-in-out infinite; }
.or__wave i:nth-child(odd) { animation-duration: .9s; }
.or__wave i:nth-child(3n) { animation-duration: 1.5s; }
.or__wave i:nth-child(4n+1) { animation-delay: -.4s; }
.or__wave i:nth-child(5n+2) { animation-delay: -.8s; }
.or__cue { position: absolute; left: 0; right: 0; bottom: 6.5cqi; z-index: 2; height: 6cqi; color: #fff; font: italic 400 5cqi/1.15 var(--font-display); text-align: center; }
.or__cue span { position: absolute; inset: 0; opacity: 0; animation: cue 9s infinite; }
.or__cue span:nth-child(2) { animation-delay: 3s; }
.or__cue span:nth-child(3) { animation-delay: 6s; }
@keyframes wave { 0%, 100% { transform: scaleY(.18); } 50% { transform: scaleY(1); } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes cue { 0% { opacity: 0; transform: translateY(40%); } 6%, 28% { opacity: 1; transform: none; } 34%, 100% { opacity: 0; transform: translateY(-40%); } }

/* CapCut : aperçu vertical, pistes de montage et tête de lecture */
.cc { display: grid; grid-template-rows: minmax(0, 1fr) 36%; height: 100%; }
.cc__top { display: grid; grid-template-columns: 36% minmax(0, 1fr); min-height: 0; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.cc__media { display: grid; grid-template-columns: repeat(2, 1fr); align-content: start; gap: 1.4cqi; padding: 2.4cqi; border-right: 1px solid rgba(255, 255, 255, .06); background: #0d0e15; }
.cc__media span { aspect-ratio: 16 / 10; border-radius: .7cqi; background: linear-gradient(135deg, #2a2f5a, #8d62e0); }
.cc__media span:nth-child(2) { background: linear-gradient(135deg, #3fb8bd, #1f3f6e); }
.cc__media span:nth-child(3) { background: linear-gradient(135deg, #e58a5a, #8d62e0); }
.cc__media span:nth-child(4) { background: linear-gradient(135deg, #ffc63f, #e87f8f); }
.cc__media span:nth-child(5) { background: linear-gradient(135deg, #2a2f45, #e0b354); }
.cc__media span:nth-child(6) { background: linear-gradient(135deg, #86d9ad, #2a2f5a); }
.cc__preview { display: grid; place-items: center; padding: 2cqi; background: #060709; }
.cc__phone { position: relative; height: 100%; aspect-ratio: 9 / 16; overflow: hidden; border: .5cqi solid #20222c; border-radius: 1.8cqi; background: linear-gradient(160deg, #e58a5a, #8d62e0 45%, #3fb8bd); background-size: 200% 200%; animation: ccVideo 6s ease-in-out infinite alternate; }
.cc__sub { position: absolute; left: 8%; right: 8%; bottom: 14%; padding: .8cqi 1cqi; border-radius: .6cqi; background: rgba(0, 0, 0, .55); color: #fff; font: italic 400 2.4cqi/1.1 var(--font-display); text-align: center; }
.cc__timeline { position: relative; display: grid; align-content: center; gap: 1.4cqi; padding: 2cqi 3cqi; background: #0d0e15; }
.cc__track { position: relative; height: 4cqi; border-radius: .7cqi; background: rgba(255, 255, 255, .04); }
.cc__track span { position: absolute; top: 0; bottom: 0; left: var(--x); width: var(--w); border-radius: .7cqi; }
.cc__track--text span { background: var(--gold-grad); }
.cc__track--video span { background: linear-gradient(90deg, #2f3d6e, #4a5f9e); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }
.cc__track--video span:nth-child(2) { background: linear-gradient(90deg, #6f4ec2, #9a78e6); }
.cc__track--video span:nth-child(3) { background: linear-gradient(90deg, #2e9196, #4fc4c0); }
.cc__track--audio span { background: repeating-linear-gradient(90deg, rgba(134, 217, 173, .9) 0 .5cqi, rgba(134, 217, 173, .35) .5cqi 1cqi); }
.cc__head { position: absolute; top: 1cqi; bottom: 1cqi; left: 3cqi; width: .5cqi; border-radius: 1cqi; background: #fff; box-shadow: 0 0 2cqi rgba(255, 255, 255, .6); animation: ccHead 6s linear infinite; }
.cc__head::before { content: ""; position: absolute; top: -.6cqi; left: 50%; width: 2.2cqi; height: 2.2cqi; border-radius: .4cqi; background: #fff; transform: translateX(-50%) rotate(45deg); }
@keyframes ccVideo { to { background-position: 100% 100%; } }
@keyframes ccHead { to { left: calc(100% - 3.5cqi); } }

/* Développement web : code qui s’écrit, page qui se construit */
.wb { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); height: 100%; }
.wb__code { display: grid; align-content: start; gap: 1.2cqi; padding: 3cqi 2.6cqi; overflow: hidden; border-right: 1px solid rgba(255, 255, 255, .06); background: #0b0c13; color: #cfd3dc; font: 500 2.25cqi/1.25 var(--font-mono); white-space: nowrap; }
.wb__code p { overflow: hidden; text-overflow: clip; }
.wb__code .ln { display: inline-block; width: 3.2cqi; color: rgba(255, 255, 255, .25); }
.wb__code .t { color: #f39aa9; }
.wb__code .a { color: #ffd27d; }
.wb__code .s { color: #9fd9c9; }
.wb__code .c { color: #b7a3ef; }
.wb__type { display: inline-block; max-width: 0; overflow: hidden; vertical-align: bottom; border-right: .4cqi solid var(--gold); animation: type 8s steps(22) infinite; }
.wb__view { display: flex; flex-direction: column; padding: 2.6cqi; background: #12131b; }
.wb__browser { display: flex; align-items: center; gap: 1cqi; height: 4.6cqi; padding: 0 1.6cqi; border-radius: 1cqi 1cqi 0 0; background: #1d1f2a; }
.wb__browser i { width: 1.3cqi; height: 1.3cqi; border-radius: 50%; background: rgba(255, 255, 255, .2); }
.wb__browser span { flex: 1; margin-left: 1cqi; padding: .6cqi 1.4cqi; border-radius: 2cqi; background: rgba(255, 255, 255, .07); color: rgba(255, 255, 255, .55); font: 600 1.8cqi/1 var(--font-text); }
.wb__page { display: grid; flex: 1; grid-template-rows: auto 1fr auto; gap: 1.8cqi; padding: 2.4cqi; border-radius: 0 0 1cqi 1cqi; background: #f3efe7; }
.wb__page > * { animation: build 8s var(--ease) infinite; }
.wb__nav { display: flex; justify-content: space-between; }
.wb__nav::before { content: ""; width: 9cqi; height: 1.8cqi; border-radius: 1cqi; background: #08090c; }
.wb__nav::after { content: ""; width: 14cqi; height: 1.8cqi; border-radius: 1cqi; background: repeating-linear-gradient(90deg, #958f84 0 3.2cqi, transparent 3.2cqi 4.6cqi); }
.wb__hero { display: grid; align-content: center; gap: 1.2cqi; padding: 2cqi; border-radius: 1cqi; background: linear-gradient(135deg, #1b1c24, #3a3020); animation-delay: .25s; }
.wb__hero::before { content: ""; width: 70%; height: 2.6cqi; border-radius: 1cqi; background: var(--gold-grad); }
.wb__hero::after { content: ""; width: 42%; height: 1.4cqi; border-radius: 1cqi; background: rgba(255, 255, 255, .6); }
.wb__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4cqi; animation-delay: .5s !important; }
.wb__cards i { height: 7cqi; border-radius: 1cqi; background: #e2ddd2; }
.wb__cards i:nth-child(2) { background: #ffd27d; }
@keyframes type { 0%, 8% { max-width: 0; } 45%, 92% { max-width: 100%; } 100% { max-width: 0; } }
@keyframes build { 0%, 30% { opacity: 0; transform: translateY(1.5cqi); } 42%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }

/* =====================================================================================================
   Adaptation aux écrans
   ===================================================================================================== */
@media (max-width: 1100px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: inline-flex; }
  .course-layout { grid-template-columns: minmax(0, 1fr) 330px; gap: 44px; }
  .stories { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .themes { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mini-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
  .section { padding: 104px 0; }
  .split, .page-hero__grid, .band, .tabs__panel { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .split--rev > :first-child { order: 0; }
  .band { padding: 44px; }
  .cards > * { flex-basis: calc((100% - 28px) / 2); }
  .features, .features--4, .offers, .resources { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .stat:nth-child(3) { border-left: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .course-layout, .form-layout, .tuto-layout { grid-template-columns: minmax(0, 1fr); }
  .buy-card, .summary-card, .tuto-nav { position: static; }
  .course-layout .buy-card { order: -1; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 210px; }
  .bento__item:first-child { grid-row: auto; grid-column: 1 / -1; height: 330px; }
  .timeline__item { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .hero::after { width: 860px; height: 860px; }
}
@media (max-width: 767px) {
  :root { --header: 70px; }
  .container, .container--narrow { width: min(100% - 32px, var(--container)); }
  .section { padding: 84px 0; }
  .section--tight { padding: 60px 0; }
  .section__head { margin-bottom: 48px; }
  .hero { padding-top: 56px; }
  .brand__mark { height: 34px; }
  .brand__text { font-size: 20px; }
  .cards > * { flex-basis: 100%; }
  .features, .features--4, .offers, .resources, .stories, .who, .outcomes, .steps, .steps--3, .grid--2, .grid--3, .grid--4, .fields { grid-template-columns: minmax(0, 1fr); }
  .themes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .band { padding: 32px 22px; border-radius: var(--radius-xl); }
  .cta { padding: 72px 22px; border-radius: var(--radius-xl); }
  .cta::before { width: 520px; height: 520px; }
  .cta::after { width: 340px; height: 340px; }
  .tabs__list { flex-wrap: nowrap; justify-content: flex-start; gap: 26px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .tabs__list::-webkit-scrollbar { display: none; }
  .tabs__tab { flex: none; font-size: 21px; }
  .tabs__panel, .tuto-lesson, .fieldset { padding: 24px 20px; }
  .gallery { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; }
  .gallery figure { aspect-ratio: 16 / 10; }
  .gallery figure:first-child { grid-row: auto; }
  .schedule__item { grid-template-columns: 78px minmax(0, 1fr); }
  .schedule__item > :last-child { grid-column: 1 / -1; }
  .footer__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .newsletter__row { flex-direction: column; }
  .bento { grid-auto-rows: 160px; gap: 10px; padding: 10px; border-radius: var(--radius-xl); }
  .bento__item { border-radius: 14px; }
  .bento__item:first-child { height: 250px; }
  .bento__label { left: 8px; bottom: 8px; padding: 6px 11px 7px; font-size: 14px; }
  .lesson-row { grid-template-columns: 38px minmax(0, 1fr); padding: 16px 18px; }
  .lesson-row__side { grid-column: 2; }
  .mini-cards { grid-template-columns: minmax(0, 1fr); }
  .faq summary { padding: 22px 2px; }
  .media__caption { left: 14px; right: 14px; bottom: 14px; font-size: 15px; }
  .hero::after { width: 620px; height: 620px; }
  .page-hero::after { width: 560px; height: 560px; top: -260px; right: -300px; }
}
@media (max-width: 479px) {
  .btn { white-space: normal; }
  .hero .btn-row .btn, .cta .btn-row .btn { width: 100%; }
  .stats { grid-template-columns: minmax(0, 1fr); }
  .stat + .stat { border-left: 0; border-top: 1px solid var(--line); padding-top: 34px; }
  .themes { grid-template-columns: minmax(0, 1fr); }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .bento__item:first-child { grid-column: auto; height: 230px; }
  .bento__item { height: 200px; }
  .hero__trust { gap: 10px 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .marquee__track { animation: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .hero__title .w > span { transform: none; }
}
