/* ==========================================================================
   DANA Academy - Design system "Pro 2.0"
   Cinéma : noir profond, papier chaud, rouge signature (point du logo)
   ========================================================================== */

:root {
  --ink: #0a0a0c;
  --ink-2: #131317;
  --ink-3: #1c1c22;
  --line-d: rgba(255, 255, 255, .10);
  --paper: #f7f5f2;
  --paper-2: #efece7;
  --white: #fff;
  --text: #1a1a1f;
  --muted: #62626d;
  --line: #e4e0d9;
  --red: #5B16E8;
  --red-d: #6C2BFF;
  --red-soft: #fdecec;
  --green: #12805c;
  --green-soft: #e6f5ef;
  --amber: #b7791f;
  --amber-soft: #fdf3dd;
  --blue: #1d4ed8;
  --blue-soft: #e8efff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(10, 10, 12, .06), 0 1px 3px rgba(10, 10, 12, .05);
  --shadow: 0 10px 30px -10px rgba(10, 10, 12, .18);
  --shadow-lg: 0 30px 60px -20px rgba(10, 10, 12, .35);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --container: 1200px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.65; color: var(--text); background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.15; letter-spacing: -.02em; font-weight: 700; }
p { margin: 0 0 1em; }
ul { padding: 0; margin: 0; list-style: none; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; border-radius: 6px; }
[x-cloak] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--red); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 8px; }
.icon { flex-shrink: 0; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container--narrow { max-width: 820px; }
.section { padding: 96px 0; }
.section--sm { padding: 64px 0; }
.section--dark { background: var(--ink); color: #fff; }
.section--paper2 { background: var(--paper-2); }
.section--white { background: var(--white); }
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.center { text-align: center; }
.mt-0 { margin-top: 0; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; } .mt-4 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.flex { display: flex; } .items-center { align-items: center; } .gap-1 { gap: 8px; } .gap-2 { gap: 16px; } .wrap { flex-wrap: wrap; } .between { justify-content: space-between; }
.muted { color: var(--muted); }
.text-red { color: var(--red); }

/* ---------- Typographie ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--red); margin-bottom: 18px; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.display { font-family: var(--font-display); font-weight: 600; letter-spacing: -.03em; line-height: 1.04; font-size: clamp(2.6rem, 6vw, 4.6rem); }
.display em, .h2 em { font-style: italic; font-weight: 500; color: var(--red); }
.h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -.025em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 640px; }
.section--dark .lead, .hero .lead { color: rgba(255, 255, 255, .72); }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Boutons ---------- */
.btn { background: transparent; color: inherit; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 24px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; font-size: 15px; line-height: 1.2; transition: transform .2s, background .2s, box-shadow .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--red); color: #fff; box-shadow: 0 8px 24px -8px rgba(229, 36, 43, .6); }
.btn--primary:hover { background: var(--red-d); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--ghost { border-color: var(--line); background: var(--white); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); }
.btn--ghost-d { border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn--ghost-d:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.btn--sm { padding: 9px 18px; font-size: 14px; }
.btn--lg { padding: 16px 32px; font-size: 16px; }
.btn--block { width: 100%; }
.btn[disabled], .btn.is-disabled { opacity: .45; pointer-events: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--red); }
.link-arrow .icon { transition: transform .2s; }
.link-arrow:hover .icon { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; height: var(--header-h); background: rgba(10, 10, 12, .86); backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px); border-bottom: 1px solid var(--line-d); color: #fff; }
.site-header__in { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand img { height: 42px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav__link, .nav__btn { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; border-radius: 999px; color: rgba(255, 255, 255, .82); font-weight: 500; font-size: 15px; background: none; border: 0; transition: color .2s, background .2s; }
.nav__link:hover, .nav__btn:hover, .nav__link[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .08); }
.nav__item { position: relative; }
.dropdown { position: absolute; top: calc(100% + 10px); left: 0; min-width: 300px; background: var(--ink-2); border: 1px solid var(--line-d); border-radius: 18px; padding: 10px; box-shadow: var(--shadow-lg); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.dropdown--right { left: auto; right: 0; }
.nav__item:hover > .dropdown, .nav__item:focus-within > .dropdown, .nav__item.is-open > .dropdown { opacity: 1; visibility: visible; transform: none; }
.dropdown__title { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .45); padding: 10px 12px 4px; font-weight: 600; }
.dropdown a, .dropdown button { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; padding: 10px 12px; border-radius: 10px; color: rgba(255, 255, 255, .85); font-size: 14.5px; background: none; border: 0; }
.dropdown a:hover, .dropdown button:hover { background: rgba(255, 255, 255, .07); color: #fff; }
.nav__actions { display: flex; align-items: center; gap: 10px; margin-left: 12px; }
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line-d); background: none; color: #fff; align-items: center; justify-content: center; }
.avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--red); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }

/* ---------- Hero ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; padding: 96px 0 0; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(900px 500px at 82% -10%, rgba(229, 36, 43, .45), transparent 60%), radial-gradient(700px 500px at -5% 100%, rgba(255, 170, 60, .16), transparent 60%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; padding-bottom: 96px; }
.hero h1 { margin-bottom: 24px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.hero__trust { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line-d); }
.hero__trust strong { display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1; }
.hero__trust span { font-size: 13px; color: rgba(255, 255, 255, .6); }
.hero--inner { padding: 72px 0 64px; }
.hero--inner .hero__grid { display: block; padding-bottom: 0; }
.hero--inner h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-family: var(--font-display); font-weight: 600; }

/* Écran de cinéma (visuel hero) */
.screen { position: relative; border-radius: 26px; background: linear-gradient(160deg, #1d1d24, #0d0d10); padding: 14px; box-shadow: var(--shadow-lg), 0 0 0 1px var(--line-d); transform: rotate(1.5deg); }
.screen__in { border-radius: 14px; overflow: hidden; position: relative; background: radial-gradient(400px 260px at 70% 20%, #e5242b 0%, #4a0d12 55%, #0d0d10 100%); aspect-ratio: 4/3; display: flex; align-items: flex-end; padding: 26px; }
.screen__play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%; background: rgba(255, 255, 255, .95); color: var(--red); display: grid; place-items: center; box-shadow: 0 0 0 14px rgba(255, 255, 255, .14), 0 0 0 30px rgba(255, 255, 255, .07); }
.screen__play .icon { margin-left: 4px; }
.screen__meta { position: relative; z-index: 2; }
.screen__meta small { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; opacity: .7; }
.screen__meta b { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
.screen__bar { position: absolute; left: 26px; right: 26px; bottom: 14px; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .2); }
.screen__bar::after { content: ""; position: absolute; inset: 0 62% 0 0; background: #fff; border-radius: 4px; }
.screen__chip { position: absolute; background: #fff; color: var(--text); border-radius: 14px; padding: 10px 14px; font-size: 13px; font-weight: 600; box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; }
.screen__chip--a { top: -18px; left: -26px; transform: rotate(-3deg); }
.screen__chip--b { bottom: 28px; right: -22px; transform: rotate(2deg); }
.screen__chip .icon { color: var(--red); }
.filmstrip { height: 34px; background: #000; border-top: 1px solid var(--line-d); border-bottom: 1px solid var(--line-d); position: relative; overflow: hidden; }
.filmstrip::before { content: ""; position: absolute; inset: 9px 0; background: repeating-linear-gradient(90deg, #26262d 0 26px, transparent 26px 44px); border-radius: 4px; }

/* ---------- Cartes ---------- */
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; transition: transform .25s, box-shadow .25s, border-color .25s; }
.card--hover:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.feature__ico { width: 52px; height: 52px; border-radius: 14px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; margin-bottom: 20px; }
.feature h3 { font-size: 1.2rem; }
.feature p { color: var(--muted); margin: 0; }
.section--dark .card { background: var(--ink-2); border-color: var(--line-d); }
.section--dark .feature__ico { background: rgba(229, 36, 43, .16); }
.section--dark .feature p { color: rgba(255, 255, 255, .65); }

.cover { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--c1), var(--c2)); display: grid; place-items: center; color: #fff; isolation: isolate; }
.cover::after { content: ""; position: absolute; inset: 0; background: radial-gradient(260px 160px at 80% 10%, rgba(255, 255, 255, .28), transparent 70%); z-index: -1; }
.cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cover__icon { opacity: .95; filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .35)); }
.cover__label { position: absolute; left: 18px; bottom: 14px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; opacity: .85; }
.cover__strip { position: absolute; top: 0; bottom: 0; width: 14px; background: repeating-linear-gradient(0deg, rgba(0, 0, 0, .55) 0 10px, transparent 10px 20px); opacity: .55; }
.cover__strip--l { left: 8px; } .cover__strip--r { right: 8px; }

.course-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: transform .25s, box-shadow .25s; height: 100%; }
.course-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.course-card .cover { border-radius: 0; }
.course-card__body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.course-card__title { font-size: 1.15rem; margin: 10px 0 8px; }
.course-card__title a::after { content: ""; position: absolute; inset: 0; }
.course-card { position: relative; }
.course-card__desc { color: var(--muted); font-size: 14.5px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.course-card__meta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13px; color: var(--muted); }
.course-card__meta span { display: inline-flex; align-items: center; gap: 6px; }
.price { font-weight: 700; color: var(--text); margin-left: auto; }
.price--free { color: var(--green); }

.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; background: var(--paper-2); color: var(--text); }
.badge--red { background: var(--red-soft); color: var(--red-d); }
.badge--green { background: var(--green-soft); color: var(--green); }
.badge--amber { background: var(--amber-soft); color: var(--amber); }
.badge--dark { background: var(--ink); color: #fff; }

/* Filtres */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.chip { padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-weight: 500; font-size: 14.5px; color: var(--text); transition: .2s; }
.chip:hover { border-color: var(--text); }
.chip.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Étapes / stats */
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { position: relative; padding-top: 70px; }
.step::before { counter-increment: s; content: "0" counter(s); position: absolute; top: 0; left: 0; font-family: var(--font-display); font-size: 3.4rem; font-weight: 600; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px var(--red); }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); }
.section--dark .step p { color: rgba(255, 255, 255, .65); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat strong { display: block; font-family: var(--font-display); font-size: 3rem; line-height: 1; }
.stat span { color: var(--muted); font-size: 14px; }

/* Certificat teaser */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.checklist li { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 14px; }
.checklist .icon { color: var(--green); margin-top: 3px; }
.cert-mock { background: #fff; color: var(--text); border-radius: 18px; padding: 34px; box-shadow: var(--shadow-lg); border: 8px solid #fff; outline: 1px solid var(--line); transform: rotate(-2deg); text-align: center; background-image: linear-gradient(#fff, #fff), repeating-linear-gradient(45deg, #eee 0 2px, #fff 2px 8px); }
.cert-mock .brand { display: flex; justify-content: center; margin-bottom: 16px; }
.cert-mock h3 { font-family: var(--font-display); font-size: 1.6rem; }
.cert-mock .seal { width: 64px; height: 64px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; margin: 18px auto 0; }

/* FAQ */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 24px; font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform .25s; color: var(--red); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--muted); }

/* CTA band */
.cta { position: relative; background: var(--ink); color: #fff; border-radius: 32px; padding: 72px 48px; text-align: center; overflow: hidden; isolation: isolate; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px 300px at 50% 0, rgba(229, 36, 43, .55), transparent 70%); }
.cta .lead { margin: 0 auto 32px; }

/* ---------- Fil d'Ariane ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13.5px; color: rgba(255, 255, 255, .6); margin-bottom: 24px; }
.breadcrumb a:hover { color: #fff; text-decoration: underline; }
.breadcrumb .icon { opacity: .5; }
.breadcrumb--light { color: var(--muted); }

/* ---------- Fiche formation ---------- */
.course-hero { display: grid; grid-template-columns: 1.4fr .8fr; gap: 56px; align-items: start; }
.course-meta { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 28px; color: rgba(255, 255, 255, .8); font-size: 14.5px; }
.course-meta span { display: inline-flex; align-items: center; gap: 8px; }
.enroll { background: var(--white); color: var(--text); border-radius: var(--radius-lg); padding: 14px; box-shadow: var(--shadow-lg); position: sticky; top: calc(var(--header-h) + 24px); }
.enroll .cover { border-radius: 14px; }
.enroll__body { padding: 20px 10px 10px; }
.enroll__price { font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; line-height: 1; margin-bottom: 18px; }
.enroll ul li { display: flex; gap: 10px; align-items: center; font-size: 14.5px; padding: 8px 0; color: var(--muted); border-top: 1px solid var(--line); }
.enroll ul li .icon { color: var(--red); }
.enroll__progress { margin: 0 0 16px; }
.syllabus details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; overflow: hidden; }
.syllabus summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; align-items: center; gap: 16px; font-weight: 600; }
.syllabus summary::-webkit-details-marker { display: none; }
.syllabus .num { width: 34px; height: 34px; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; font-size: 14px; flex-shrink: 0; }
.syllabus summary small { margin-left: auto; color: var(--muted); font-weight: 500; white-space: nowrap; }
.syllabus summary .icon { color: var(--muted); transition: transform .25s; }
.syllabus details[open] summary .icon { transform: rotate(180deg); }
.syllabus ol { list-style: none; margin: 0; padding: 0 22px 14px; }
.syllabus ol li { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); font-size: 15px; }
.syllabus ol li code { font-size: 12px; background: var(--paper-2); padding: 2px 8px; border-radius: 6px; color: var(--muted); }
.syllabus ol li .icon { color: var(--muted); }
.objectives { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 28px; }
.layout-2 { display: grid; grid-template-columns: 1.4fr .8fr; gap: 56px; }

/* ---------- Prose (blog, légal, contenu leçons) ---------- */
.prose { font-size: 17px; line-height: 1.8; color: #2b2b33; }
.prose h2 { font-family: var(--font-display); font-size: 1.8rem; margin: 2.2em 0 .6em; font-weight: 600; }
.prose h3 { font-size: 1.3rem; margin: 1.8em 0 .5em; }
.prose a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li { margin-bottom: .4em; }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--red); font-family: var(--font-display); font-size: 1.3rem; font-style: italic; color: var(--text); }
.prose img { border-radius: var(--radius); margin: 1.6em 0; }
.prose pre { background: #15151a; color: #e6e6ea; padding: 18px 20px; border-radius: 12px; overflow-x: auto; font-size: 14px; }
.prose code { background: var(--paper-2); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.prose pre code { background: none; padding: 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.4em 0; font-size: 15px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.prose th { background: var(--paper-2); }
.legal h2 { font-size: 1.35rem; font-family: var(--font); font-weight: 700; margin-top: 2em; }

/* ---------- Blog ---------- */
.post-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: .25s; position: relative; height: 100%; }
.post-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.post-card__body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.post-card h3 { font-size: 1.2rem; margin: 10px 0; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card p { color: var(--muted); font-size: 14.5px; }
.post-card small { margin-top: auto; color: var(--muted); }
.post-cover { aspect-ratio: 16/9; display: grid; place-items: center; color: #fff; background: linear-gradient(135deg, var(--c1, #1a1a1f), var(--c2, #e5242b)); position: relative; overflow: hidden; }
.post-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- Formulaires ---------- */
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 8px; }
.input, .textarea, .select { width: 100%; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--white); font: inherit; color: var(--text); transition: border-color .2s, box-shadow .2s; }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 4px rgba(229, 36, 43, .12); }
.textarea { min-height: 150px; resize: vertical; }
.error { color: var(--red-d); font-size: 13.5px; margin-top: 6px; display: block; }
.input.is-invalid { border-color: var(--red); }
.check { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; }
.check input { margin-top: 5px; accent-color: var(--red); width: 17px; height: 17px; }
.hp { position: absolute; left: -9999px; }
.alert { display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 12px; font-size: 15px; margin-bottom: 20px; }
.alert--success { background: var(--green-soft); color: #0b5d43; }
.alert--warning { background: var(--amber-soft); color: #7a4f0f; }
.alert--error { background: var(--red-soft); color: var(--red-d); }
.contact-card { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 26px; }
.contact-card .feature__ico { margin: 0; width: 46px; height: 46px; }

/* Newsletter */
.newsletter { display: flex; gap: 10px; max-width: 460px; }
.newsletter .input { background: var(--ink-3); border-color: var(--line-d); color: #fff; }
.newsletter .input::placeholder { color: rgba(255, 255, 255, .45); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .7); padding: 80px 0 32px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 48px; }
.footer__grid h4 { color: #fff; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 20px; }
.footer__grid li { margin-bottom: 12px; }
.footer__grid a:hover { color: #fff; }
.footer__brand img { height: 52px; width: auto; margin-bottom: 20px; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-d); display: grid; place-items: center; transition: .2s; }
.socials a:hover { background: var(--red); border-color: var(--red); color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line-d); font-size: 13.5px; }

/* Cookie banner */
.cookie { position: fixed; left: 20px; right: 20px; bottom: 20px; max-width: 560px; z-index: 150; background: var(--ink-2); color: #fff; border: 1px solid var(--line-d); border-radius: 18px; padding: 20px 22px; box-shadow: var(--shadow-lg); font-size: 14.5px; }
.cookie p { margin: 0 0 14px; color: rgba(255, 255, 255, .8); }
.cookie a { text-decoration: underline; }
.cookie .flex { gap: 10px; }

/* ---------- Progress ---------- */
.progress { height: 8px; border-radius: 99px; background: var(--paper-2); overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--red); border-radius: 99px; transition: width .5s; }
.progress--green > span { background: var(--green); }

/* ---------- Auth ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); }
.auth__side { position: relative; background: var(--ink); color: #fff; padding: 48px; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; isolation: isolate; }
.auth__side::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 500px at 100% 0, rgba(229, 36, 43, .55), transparent 65%), radial-gradient(500px 400px at 0 100%, rgba(255, 170, 60, .14), transparent 60%); }
.auth__side img { height: 54px; width: auto; }
.auth__quote { font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.2; font-weight: 500; }
.auth__quote small { display: block; margin-top: 16px; font-family: var(--font); font-size: 14px; opacity: .6; }
.auth__main { display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.auth__box { width: 100%; max-width: 420px; }
.auth__tabs { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper-2); padding: 5px; border-radius: 999px; margin-bottom: 32px; }
.auth__tabs button { border: 0; background: none; padding: 11px; border-radius: 999px; font-weight: 600; color: var(--muted); }
.auth__tabs button.is-active { background: var(--white); color: var(--text); box-shadow: var(--shadow-sm); }

/* ---------- Dashboard ---------- */
.dash-head { background: var(--ink); color: #fff; padding: 56px 0 120px; position: relative; isolation: isolate; }
.dash-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(700px 360px at 90% 0, rgba(229, 36, 43, .4), transparent 65%); }
.dash-body { margin-top: -80px; padding-bottom: 96px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.kpi { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; box-shadow: var(--shadow-sm); display: flex; gap: 16px; align-items: center; }
.kpi .feature__ico { margin: 0; }
.kpi strong { display: block; font-family: var(--font-display); font-size: 2rem; line-height: 1; }
.kpi span { font-size: 13.5px; color: var(--muted); }
.dash-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 32px; margin-top: 40px; }
.panel { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; }
.panel h2 { font-size: 1.3rem; }
.empty { text-align: center; padding: 40px 20px; color: var(--muted); border: 2px dashed var(--line); border-radius: var(--radius-lg); background: var(--white); }
.empty .feature__ico { margin: 0 auto 16px; }
.list-row { display: flex; align-items: center; gap: 14px; padding: 14px 0; border-top: 1px solid var(--line); }
.list-row:first-of-type { border-top: 0; }
.score { font-weight: 700; }

/* ---------- Lecteur de cours ---------- */
.player { height: 100vh; height: 100dvh; display: flex; flex-direction: column; background: var(--paper); }
.player__top { height: 64px; flex-shrink: 0; display: flex; align-items: center; gap: 18px; padding: 0 20px; background: var(--ink); color: #fff; }
.player__top h1 { font-size: 15px; margin: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: 0; }
.player__top .brand img { height: 32px; }
.player__progress { margin-left: auto; display: flex; align-items: center; gap: 12px; min-width: 220px; font-size: 13px; font-weight: 600; }
.player__progress .progress { flex: 1; background: rgba(255, 255, 255, .18); }
.player__body { flex: 1; display: grid; grid-template-columns: 340px 1fr; min-height: 0; }
.player__side { background: var(--white); border-right: 1px solid var(--line); overflow-y: auto; padding: 22px 18px; }
.player__main { overflow-y: auto; padding: 40px 32px 80px; scroll-behavior: smooth; }
.player__main-in { max-width: 860px; margin: 0 auto; }
.toc-chapter { border: 1px solid var(--line); border-radius: 14px; margin-bottom: 14px; overflow: hidden; }
.toc-chapter__head { padding: 14px 16px; background: var(--paper); display: flex; gap: 12px; align-items: center; }
.toc-num { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; flex-shrink: 0; }
.toc-num.is-done { background: var(--green); }
.toc-chapter__head b { display: block; font-size: 14px; line-height: 1.3; }
.toc-chapter__head small { color: var(--muted); font-size: 12px; }
.toc-item { display: flex; gap: 12px; align-items: flex-start; width: 100%; text-align: left; padding: 12px 16px; border: 0; background: none; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.4; color: var(--text); transition: background .15s; }
.toc-item:hover:not([disabled]) { background: var(--paper); }
.toc-item.is-active { background: var(--red-soft); box-shadow: inset 3px 0 0 var(--red); font-weight: 600; }
.toc-item[disabled] { opacity: .5; cursor: not-allowed; }
.toc-item .dot { width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; flex-shrink: 0; margin-top: 1px; background: #fff; color: var(--muted); font-size: 11px; font-weight: 700; }
.toc-item .dot.is-done { background: var(--green); border-color: var(--green); color: #fff; }
.toc-item .dot.is-quiz { background: var(--amber-soft); border-color: transparent; color: var(--amber); }
.toc-item small { display: block; color: var(--muted); font-size: 11.5px; font-weight: 500; margin-top: 2px; }
.lesson-title { font-family: var(--font-display); font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 600; margin: 14px 0 28px; }
.video { aspect-ratio: 16/9; border-radius: var(--radius-lg); overflow: hidden; background: #000; margin-bottom: 28px; box-shadow: var(--shadow); }
.video iframe, .video video { width: 100%; height: 100%; border: 0; }
.lesson-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 36px; margin-bottom: 24px; }
.note { border-radius: var(--radius); padding: 20px 22px; margin-bottom: 18px; border-left: 4px solid; }
.note h4 { display: flex; align-items: center; gap: 10px; font-size: 14px; letter-spacing: 0; margin-bottom: 8px; }
.note p { margin: 0; font-size: 15px; line-height: 1.7; color: #2b2b33; }
.note--key { background: var(--blue-soft); border-color: var(--blue); } .note--key h4 { color: var(--blue); }
.note--ex { background: #e6f6f8; border-color: #0e7490; } .note--ex h4 { color: #0e7490; }
.note--reflect { background: #f1eafe; border-color: #7c3aed; } .note--reflect h4 { color: #7c3aed; }
.note--warn { background: var(--red-soft); border-color: var(--red); } .note--warn h4 { color: var(--red-d); }
.note--commit { background: var(--green-soft); border-color: var(--green); } .note--commit h4 { color: var(--green); }
.lesson-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.lesson-done { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin: 28px 0; padding: 20px 24px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); }
.quiz-q { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin-bottom: 18px; }
.quiz-q > p { font-weight: 600; margin-bottom: 14px; }
.opt { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px; margin-bottom: 10px; cursor: pointer; transition: .15s; background: var(--white); }
.opt:hover { border-color: var(--text); }
.opt input { accent-color: var(--red); width: 18px; height: 18px; }
.opt b { color: var(--muted); }
.opt.is-selected { border-color: var(--red); background: var(--red-soft); }
.opt.is-ok { border-color: var(--green); background: var(--green-soft); }
.opt.is-ko { border-color: var(--red); background: var(--red-soft); }
.opt .tag { margin-left: auto; font-size: 12px; font-weight: 600; }
.explain { background: var(--amber-soft); border-radius: 12px; padding: 14px 18px; font-size: 14.5px; margin-top: 12px; }
.result { text-align: center; padding: 32px; border-radius: var(--radius-lg); margin-bottom: 28px; }
.result--ok { background: var(--green-soft); color: #0b5d43; }
.result--ko { background: var(--red-soft); color: var(--red-d); }
.result strong { display: block; font-family: var(--font-display); font-size: 3.4rem; line-height: 1.1; }
.side-toggle { display: none; }

/* ---------- Divers ---------- */
.error-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 80px 24px; }
.error-page .code { font-family: var(--font-display); font-size: clamp(6rem, 18vw, 11rem); font-weight: 600; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--red); }
.pricing-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.pricing-table th, .pricing-table td { padding: 18px 22px; text-align: left; border-bottom: 1px solid var(--line); }
.pricing-table th { background: var(--ink); color: #fff; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.pricing-table tr:last-child td { border-bottom: 0; }
.team-card { text-align: center; }
.team-card .avatar { width: 88px; height: 88px; font-size: 30px; margin: 0 auto 18px; font-family: var(--font-display); }
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 48px; }
.pagination a, .pagination span { padding: 10px 16px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); font-weight: 600; font-size: 14px; }
.pagination .is-current { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Certificat (impression) ---------- */
.certificate { max-width: 1000px; margin: 40px auto; background: #fff; padding: 18px; border: 1px solid var(--line); box-shadow: var(--shadow-lg); }
.certificate__in { border: 3px solid var(--ink); padding: 56px 48px; text-align: center; position: relative; outline: 1px solid var(--red); outline-offset: -12px; }
.certificate img { height: 70px; width: auto; margin: 0 auto 28px; }
.certificate h1 { font-family: var(--font-display); font-size: 3rem; font-weight: 600; margin-bottom: 8px; }
.certificate .name { font-family: var(--font-display); font-style: italic; font-size: 2.8rem; margin: 18px 0; border-bottom: 1px solid var(--line); display: inline-block; padding: 0 40px 8px; }
.certificate .sigs { display: flex; justify-content: space-around; margin-top: 56px; font-size: 14px; color: var(--muted); }
.certificate .sigs div { border-top: 1px solid var(--text); padding-top: 8px; min-width: 200px; }

/* ---------- Animations ---------- */
@keyframes float { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-8px) rotate(var(--r, 0deg)); } }
.screen__chip--a { --r: -3deg; animation: float 6s ease-in-out infinite; }
.screen__chip--b { --r: 2deg; animation: float 7s ease-in-out infinite .8s; }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } .reveal { opacity: 1; transform: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero__grid, .split, .course-hero, .layout-2, .dash-grid { grid-template-columns: 1fr; gap: 40px; }
  .enroll { position: static; }
  .grid--4, .kpis, .stats { grid-template-columns: repeat(2, 1fr); }
  .grid--3, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .screen { transform: none; max-width: 560px; }
  .auth { grid-template-columns: 1fr; }
  .auth__side { display: none; }
}
@media (max-width: 860px) {
  .burger { display: inline-flex; }
  .nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--ink); flex-direction: column; align-items: stretch; padding: 20px 24px 40px; gap: 4px; overflow-y: auto; transform: translateX(100%); transition: transform .3s; }
  .nav.is-open { transform: none; }
  .nav__link, .nav__btn { padding: 14px 10px; font-size: 17px; border-radius: 10px; width: 100%; justify-content: space-between; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; background: transparent; padding: 0 0 8px 10px; display: none; min-width: 0; }
  .nav__item.is-open > .dropdown { display: block; }
  .nav__item:hover > .dropdown { opacity: 1; }
  .nav__actions { flex-direction: column; margin: 16px 0 0; align-items: stretch; }
  .nav__actions .btn { width: 100%; }
  .player__body { grid-template-columns: 1fr; }
  .player__side { position: fixed; inset: 64px 0 0 0; z-index: 60; transform: translateX(-100%); transition: transform .25s; }
  .player__side.is-open { transform: none; }
  .side-toggle { display: inline-flex; }
  .player__progress { min-width: 0; }
  .player__main { padding: 28px 18px 80px; }
  .lesson-card { padding: 24px 20px; }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .grid--2, .grid--3, .grid--4, .steps, .objectives, .stats { grid-template-columns: 1fr; }
  .kpis { grid-template-columns: 1fr; }
  .hero { padding-top: 56px; }
  .hero__grid { padding-bottom: 56px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .cta { padding: 48px 24px; border-radius: 24px; }
  .newsletter { flex-direction: column; }
  .screen__chip--a { left: -8px; } .screen__chip--b { right: -8px; }
  .player__top h1 { display: none; }
}
@media print {
  body { background: #fff; }
  .no-print { display: none !important; }
  .certificate { box-shadow: none; border: 0; margin: 0; max-width: none; }
  @page { size: A4 landscape; margin: 10mm; }
}

/* ==========================================================================
   Accueil : hero clair (fond blanc) + en-tête clair
   ========================================================================== */
.logo-on-light { display: none; }
.home-light .logo-on-dark { display: none; }
.home-light .logo-on-light { display: block; }
.home-light .site-header { background: rgba(255, 255, 255, .88); color: var(--text); border-bottom-color: var(--line); }
.home-light .burger { color: var(--text); border-color: var(--line); }
.home-light .dropdown a, .home-light .dropdown button { color: rgba(255, 255, 255, .85); }
@media (min-width: 861px) {
  .home-light .nav__link, .home-light .nav__btn { color: #3a3a44; }
  .home-light .nav__link:hover, .home-light .nav__btn:hover, .home-light .nav__link[aria-current="page"] { color: var(--ink); background: rgba(10, 10, 12, .06); }
}

.hero-light { position: relative; background: #fff; padding: 72px 0 56px; overflow: hidden; isolation: isolate; }
.hero-light::before { content: ""; position: absolute; z-index: -1; width: 720px; height: 720px; right: -240px; top: -320px; border-radius: 50%; background: radial-gradient(circle, rgba(229, 36, 43, .10), transparent 65%); }
.hero-light__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero-light .display { color: var(--ink); margin-bottom: 24px; }
.hero-light .lead { color: var(--muted); }
.hero-light .hero__cta { margin-top: 32px; }

/* Moniteur de tournage */
.viewfinder { position: relative; padding: 0 18px 18px 0; }
.viewfinder__screen { position: relative; aspect-ratio: 4 / 3.2; border-radius: 28px; overflow: hidden; color: #fff; background: radial-gradient(520px 380px at 75% 15%, #e5242b 0%, #5a0f16 45%, #0b0b0e 85%); box-shadow: 0 40px 70px -30px rgba(10, 10, 12, .55), 0 0 0 1px rgba(10, 10, 12, .08); }
.viewfinder__screen::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .55)); pointer-events: none; }
.bokeh { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .55; }
.bokeh--1 { width: 120px; height: 120px; left: 8%; top: 52%; background: radial-gradient(circle, rgba(255, 190, 120, .7), transparent 70%); }
.bokeh--2 { width: 70px; height: 70px; left: 30%; top: 18%; background: radial-gradient(circle, rgba(255, 255, 255, .55), transparent 70%); }
.bokeh--3 { width: 150px; height: 150px; right: 6%; bottom: 12%; background: radial-gradient(circle, rgba(255, 90, 80, .6), transparent 70%); }
.bokeh--4 { width: 46px; height: 46px; right: 26%; top: 40%; background: radial-gradient(circle, rgba(255, 255, 255, .6), transparent 70%); }
.viewfinder__frame { position: absolute; inset: 0; width: 100%; height: 100%; color: rgba(255, 255, 255, .9); z-index: 2; }
.viewfinder__rec { position: absolute; top: 24px; left: 30px; z-index: 3; display: flex; align-items: center; gap: 8px; font: 600 13px/1 var(--font); letter-spacing: .12em; }
.viewfinder__rec i { width: 10px; height: 10px; border-radius: 50%; background: #ff3b3b; animation: blink 1.4s steps(2) infinite; box-shadow: 0 0 10px #ff3b3b; }
.viewfinder__rec span { font-weight: 500; opacity: .75; letter-spacing: .06em; margin-left: 6px; }
@keyframes blink { 50% { opacity: .15; } }
.viewfinder__iso { position: absolute; top: 24px; right: 30px; z-index: 3; display: flex; gap: 12px; font: 500 12px/1 var(--font); letter-spacing: .1em; opacity: .75; }
.viewfinder__clap { position: absolute; z-index: 3; width: 34%; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-6deg); filter: drop-shadow(0 12px 28px rgba(0, 0, 0, .45)); }
.viewfinder__wave { position: absolute; z-index: 3; left: 30px; right: 30px; bottom: 26px; height: 34px; display: flex; align-items: center; gap: 5px; }
.viewfinder__wave b { flex: 1; background: rgba(255, 255, 255, .85); border-radius: 3px; height: 30%; animation: wave 1.6s ease-in-out infinite; }
.viewfinder__wave b:nth-child(odd) { animation-delay: -.5s; background: rgba(255, 255, 255, .5); }
.viewfinder__wave b:nth-child(3n) { animation-delay: -1s; }
.viewfinder__wave b:nth-child(4n) { height: 55%; }
@keyframes wave { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1.5); } }
.viewfinder__chip { position: absolute; z-index: 5; background: #fff; color: var(--text); border-radius: 14px; padding: 11px 16px; font-size: 13.5px; font-weight: 600; box-shadow: var(--shadow); border: 1px solid var(--line); display: flex; align-items: center; gap: 10px; }
.viewfinder__chip .icon { color: var(--red); }
.viewfinder__chip--a { left: -24px; top: 38px; --r: -3deg; animation: float 6s ease-in-out infinite; }
.viewfinder__chip--b { right: 0; bottom: 56px; --r: 2deg; animation: float 7s ease-in-out infinite .8s; }

/* Cartes d'atouts */
.hero-light__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 64px; }
.mini-card { display: flex; gap: 16px; align-items: flex-start; padding: 22px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.mini-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.mini-card__ico { width: 46px; height: 46px; border-radius: 50%; background: var(--red-soft); color: var(--red); display: grid; place-items: center; flex-shrink: 0; }
.mini-card strong { display: block; font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; line-height: 1.1; letter-spacing: -.02em; color: var(--ink); }
.mini-card b { display: block; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--red); margin: 6px 0 8px; }
.mini-card p { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); }
.hero-light__tags { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; justify-content: center; margin: 44px 0 0; padding-top: 28px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.hero-light__tags em { font-style: normal; font-weight: 600; letter-spacing: .02em; text-transform: none; font-size: 14px; color: var(--text); padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); }

@media (max-width: 1024px) {
  .hero-light__grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-light__cards { grid-template-columns: repeat(2, 1fr); }
  .viewfinder { max-width: 560px; }
}
@media (max-width: 640px) {
  .hero-light { padding-top: 40px; }
  .hero-light__cards { grid-template-columns: 1fr; margin-top: 40px; }
  .viewfinder__chip--a { left: -6px; }
  .viewfinder__iso { display: none; }
}
.hero-light .display { font-size: clamp(2.4rem, 4.6vw, 3.9rem); }
.hero-light .hero__cta .btn { padding: 14px 26px; }
.viewfinder__chip--a { top: 46%; }
@media (max-width: 640px) { .hero-light .hero__cta .btn { width: 100%; } }

/* ---------- 2.0 : fluidité (navigation SPA, états de chargement, mouvement) ---------- */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: no-preference) {
  ::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }
}
.player__scrim { display: none; }
.player__main-in { transition: opacity .15s; }
.player__main-in.is-loading { opacity: .55; pointer-events: none; }
@media (max-width: 900px) {
  .player__scrim { display: block; position: fixed; inset: 64px 0 0 0; z-index: 55; background: rgba(10, 10, 12, .5); }
}
[x-cloak] { display: none !important; }
:root { --livewire-progress-bar-color: var(--red, #d61f26); }
.btn.is-busy { opacity: .7; cursor: progress; }
.btn.is-busy::after { content: ""; width: 14px; height: 14px; margin-left: 8px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; display: inline-block; animation: dana-spin .7s linear infinite; vertical-align: -2px; }
[wire\:loading] .btn { cursor: progress; }
@keyframes dana-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
/* Squelette de chargement réutilisable */
.skeleton { background: linear-gradient(90deg, #ececec 25%, #f6f6f6 37%, #ececec 63%); background-size: 400% 100%; animation: dana-shimmer 1.4s ease infinite; border-radius: 8px; min-height: 1em; }
@keyframes dana-shimmer { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
