/* Site wallizz.com — charte du revendeur Wallizz : rose #FF00AB, jaune #F4C12A, encre #1B2330, fond #fafafa,
   titres Montserrat, texte Inter (arabe : Cairo). Les aperçus d'écran (.mk-*) reprennent le style du vrai wall :
   fond très sombre, halos colorés flous, cartes en verre dépoli. Propriétés logiques partout pour l'arabe (RTL). */

@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600 900; font-display: swap; src: url(/fonts/montserrat-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600 900; font-display: swap; src: url(/fonts/montserrat-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/inter-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url(/fonts/inter-latin-ext.woff2) format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Cairo"; font-style: normal; font-weight: 400 800; font-display: swap; src: url(/fonts/cairo-arabic.woff2) format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }

:root {
  --main: #ff00ab;
  --main-dark: #c80086;
  --accent: #f4c12a;
  --ink: #1b2330;
  --ink-soft: #4a5466;
  --muted: #6b7280;
  --bg: #fafafa;
  --surface: #ffffff;
  --line: #e5e7eb;
  --night: #05070d;
  --night-2: #0d1220;
  --radius: 18px;
  --shadow: 0 1px 2px rgb(16 24 40 / 6%), 0 12px 32px -12px rgb(16 24 40 / 18%);
  --font-head: "Montserrat", "Cairo", system-ui, sans-serif;
  --font-body: "Inter", "Cairo", system-ui, -apple-system, "Segoe UI", sans-serif;
  /* Couleur de chaque famille d'animations */
  --fam-games: #ff00ab;
  --fam-voice: #7c3aed;
  --fam-memories: #0ea5e9;
  --fam-moments: #f59e0b;
  --fam-inform: #10b981;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
html[dir="rtl"] body { font-family: "Cairo", var(--font-body); }
img, svg { max-width: 100%; }
a { color: var(--main-dark); text-underline-offset: 3px; }
a:hover { color: var(--main); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.6em; text-wrap: balance; }
html[dir="rtl"] :is(h1, h2, h3) { letter-spacing: 0; line-height: 1.35; }
h1 { font-size: clamp(2.3rem, 5.5vw, 4.4rem); font-weight: 900; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--ink-soft); max-width: 46rem; text-wrap: pretty; }
.center { text-align: center; }
.center .lead, .lead.center { margin-inline: auto; }
.ico { width: 1.25em; height: 1.25em; flex: none; vertical-align: -0.2em; }
html[dir="rtl"] .flip-rtl { transform: scaleX(-1); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1200px, 100% - 2 * clamp(16px, 4vw, 40px)); margin-inline: auto; }
.wrap.narrow { width: min(820px, 100% - 32px); }
.skip { position: absolute; inset-inline-start: 1rem; top: -4rem; z-index: 100; background: var(--ink); color: #fff; padding: 0.6rem 1rem; border-radius: 10px; }
.skip:focus { top: 1rem; }

/* ——— Boutons ——— */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.5em; padding: 0.8em 1.4em; border-radius: 999px; font: 700 1rem/1.2 var(--font-body); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform 0.15s, background 0.2s, color 0.2s, box-shadow 0.2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-main { background: var(--main); color: #fff; box-shadow: 0 8px 24px -8px rgb(255 0 171 / 60%); }
.btn-main:hover { background: var(--main-dark); color: #fff; }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { color: var(--ink); background: transparent; padding-inline: 0.9em; }
.btn-ghost:hover { color: var(--main); }
.btn-ghost-light { color: #fff; border-color: rgb(255 255 255 / 35%); background: rgb(255 255 255 / 6%); }
.btn-ghost-light:hover { color: var(--night); background: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--accent); color: var(--ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }
.cta-row.center { justify-content: center; }

/* ——— En-tête ——— */
.site-header { position: sticky; top: 0; z-index: 50; background: rgb(250 250 250 / 86%); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid rgb(0 0 0 / 6%); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }
.brand { flex: none; display: block; }
.brand img { height: 38px; width: auto; max-width: none; display: block; }
.menu { flex: 1 0 auto; display: flex; justify-content: flex-end; }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--ink); }
.main-nav { flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-inline-start: clamp(1rem, 3vw, 2.5rem); }
.nav-links { display: flex; list-style: none; margin: 0; padding: 0; gap: 0.2rem; }
.nav-links a { display: block; white-space: nowrap; padding: 0.5rem 0.6rem; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--main); background: rgb(255 0 171 / 7%); }
.nav-actions { display: flex; align-items: center; gap: 0.3rem; flex: none; }
@media (min-width: 1361px) { .nav-join { display: none; } }
.nav-actions .btn { padding: 0.55em 1em; font-size: 0.92rem; }
.langs { position: relative; }
.langs > summary { list-style: none; display: flex; align-items: center; gap: 0.3rem; cursor: pointer; padding: 0.5rem 0.6rem; border-radius: 10px; font-weight: 700; font-size: 0.85rem; }
.langs > summary::-webkit-details-marker { display: none; }
.langs > summary:hover { background: rgb(0 0 0 / 5%); }
.langs ul { position: absolute; inset-inline-end: 0; top: calc(100% + 6px); list-style: none; margin: 0; padding: 0.4rem; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); min-width: 11rem; z-index: 60; }
.langs a { display: block; padding: 0.45rem 0.7rem; border-radius: 8px; color: var(--ink); text-decoration: none; }
.langs a:hover { background: var(--bg); }
.langs a[aria-current="true"] { font-weight: 700; color: var(--main); }

/* Sous 1360 px, le menu se replie dans un tiroir ouvert par le bouton (sans JavaScript, il reste déplié). */
@media (max-width: 1360px) {
  .js .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; cursor: pointer; }
  .menu-toggle .ico { width: 26px; height: 26px; }
  .menu.open .menu-toggle { background: rgb(0 0 0 / 6%); }
  .js .menu:not(.open) .main-nav { display: none; }
  html:not(.js) .header-row { flex-wrap: wrap; }
  html:not(.js) .main-nav { position: static; box-shadow: none; border: 0; padding-inline: 0; }
  .main-nav { margin: 0; position: absolute; inset-inline: 0; top: 100%; flex-direction: column; align-items: stretch; gap: 0.8rem; padding: 1rem clamp(16px, 4vw, 40px) 1.5rem; background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100dvh - 68px); overflow: auto; }
  .nav-links { flex-direction: column; }
  .nav-links a { font-size: 1.1rem; padding: 0.7rem 0.6rem; }
  .nav-actions { flex-wrap: wrap; }
  .nav-actions .btn-main { flex: 1 1 100%; padding: 0.9em; font-size: 1rem; }
  .langs ul { inset-inline-end: auto; inset-inline-start: 0; }
}

/* ——— Sections ——— */
.section { padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.section.alt { background: #f1f2f5; }
.section.dark { background: var(--night); color: #eef0f5; position: relative; overflow: hidden; }
.section.dark::before, .section.dark::after { content: ""; position: absolute; width: 40vw; height: 40vw; border-radius: 50%; filter: blur(80px); opacity: 0.32; pointer-events: none; }
.section.dark::before { background: var(--main); top: -18vw; inset-inline-start: -10vw; }
.section.dark::after { background: var(--accent); bottom: -22vw; inset-inline-end: -12vw; opacity: 0.18; }
.section.dark .wrap { position: relative; z-index: 1; }
.section.dark .lead { color: #c4c9d4; }
.section > .wrap > h2 + .lead { margin-top: -0.2rem; margin-bottom: 2.4rem; }
.section > .wrap > h2:only-child, .section > .wrap > h2 + :not(.lead) { margin-bottom: 1.6rem; }

.page-head { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem); background: radial-gradient(60rem 22rem at 10% 0%, rgb(255 0 171 / 10%), transparent 70%), radial-gradient(40rem 20rem at 95% 10%, rgb(244 193 42 / 14%), transparent 70%); }
.page-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
.page-head.center { text-align: center; padding-block: 5rem; }
.page-head.center .lead { margin-inline: auto; }
.big-ico { display: inline-flex; color: var(--main); margin-bottom: 1rem; }
.big-ico .ico { width: 64px; height: 64px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.3rem; list-style: none; margin: 0 0 1.2rem; padding: 0; font-size: 0.88rem; color: var(--muted); }
.crumbs li + li::before { content: "›"; margin-inline-end: 0.3rem; opacity: 0.6; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--main); }
.eyebrow { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 0.5rem; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--main); margin-bottom: 1rem; }
html[dir="rtl"] .eyebrow { letter-spacing: 0; }
.pill { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.2rem 0.6rem; border-radius: 999px; background: rgb(244 193 42 / 22%); color: #8a6200; text-transform: none; letter-spacing: 0; }
.toc { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.4rem; }
.toc a { padding: 0.45rem 0.9rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.92rem; }
.toc a:hover { border-color: var(--main); color: var(--main); }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split.top { align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* ——— Héros ——— */
.hero { position: relative; overflow: hidden; background: var(--night); color: #fff; padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 8vw, 6.5rem); }
/* Halos du hero : chacun dérive lentement sur sa propre trajectoire et « respire » (intensité), décalés pour ne jamais
   bouger ensemble. Mouvement ample mais lent ; coupé par prefers-reduced-motion (règle globale en fin de fichier). */
.hero-bg .halo { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.55; will-change: transform, opacity; animation: drift-a 24s ease-in-out infinite; }
.hero-bg .h1 { width: 42vw; height: 42vw; background: radial-gradient(circle, var(--main), transparent 70%); top: -15vw; inset-inline-start: -10vw; }
.hero-bg .h2 { width: 34vw; height: 34vw; background: radial-gradient(circle, var(--accent), transparent 70%); bottom: -16vw; inset-inline-end: 4vw; opacity: 0.35; animation: drift-b 28s ease-in-out infinite; }
.hero-bg .h3 { width: 22vw; height: 22vw; background: radial-gradient(circle, #7c3aed, transparent 70%); top: 20%; inset-inline-end: 30%; opacity: 0.4; animation: drift-c 32s ease-in-out -8s infinite; }
/* Dérive des halos des maquettes (.mk-aurora), inchangée. */
@keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(4%, 6%) scale(1.15); } }
@keyframes drift-a {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.55; }
  30% { transform: translate(7vw, 4vw) scale(1.12); opacity: 0.7; }
  65% { transform: translate(2vw, 9vw) scale(0.95); opacity: 0.5; }
}
@keyframes drift-b {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.35; }
  35% { transform: translate(-8vw, -5vw) scale(1.18); opacity: 0.5; }
  70% { transform: translate(-3vw, -10vw) scale(1.05); opacity: 0.3; }
}
@keyframes drift-c {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.4; }
  25% { transform: translate(-6vw, 5vw) scale(1.25); opacity: 0.55; }
  60% { transform: translate(5vw, -4vw) scale(0.9); opacity: 0.3; }
}
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
/* Accueil : le H1 (mots-clés, lu par les moteurs) s'affiche en surtitre ; le slogan, en paragraphe, prend l'apparence
   du grand titre. Les deux restent visibles. */
.hero h1.hero-kicker { font-family: inherit; font-size: 0.85rem; font-weight: 700; line-height: 1.4; letter-spacing: 0.08em; color: var(--accent); margin: 0 0 1rem; }
html[dir="rtl"] .hero h1.hero-kicker { letter-spacing: 0; }
.hero-slogan { font-family: var(--font-head); font-size: clamp(2.3rem, 5.5vw, 4.4rem); font-weight: 900; line-height: 1.15; letter-spacing: -0.02em; text-wrap: balance; color: #fff; margin: 0 0 0.4em; }
.hero-slogan::after { content: ""; display: block; width: 3.2rem; height: 0.32rem; border-radius: 99px; margin-top: 0.35em; background: linear-gradient(90deg, var(--main), var(--accent)); }
.hero .eyebrow { color: var(--accent); }
.hero .lead { color: #d3d7e0; }
.proof { display: flex; flex-wrap: wrap; gap: 0.5rem 1.2rem; list-style: none; padding: 0; margin: 2rem 0 0; color: #c4c9d4; font-weight: 600; font-size: 0.95rem; }
.proof li { display: inline-flex; align-items: center; gap: 0.4rem; }
.proof .ico { color: var(--accent); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }

/* ——— Cartes ——— */
.cards { display: grid; gap: 1.2rem; list-style: none; margin: 0; padding: 0; }
.cards.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.cards.two { grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; box-shadow: var(--shadow); }
.card p { color: var(--ink-soft); margin: 0; }
.card.glass { background: rgb(255 255 255 / 5%); border-color: rgb(255 255 255 / 10%); backdrop-filter: blur(10px); box-shadow: none; }
.card.glass p { color: #c4c9d4; }
.card-ico { display: inline-flex; align-items: center; justify-content: center; width: 3rem; height: 3rem; border-radius: 14px; margin-bottom: 1rem; color: var(--main); background: rgb(255 0 171 / 10%); flex: none; }
.card.glass .card-ico { color: var(--accent); background: rgb(244 193 42 / 12%); }
.card-ico .ico { width: 1.5rem; height: 1.5rem; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 1.4rem; counter-reset: s; }
.steps li { position: relative; background: var(--surface); border-radius: var(--radius); padding: 1.8rem 1.6rem 1.6rem; border: 1px solid var(--line); }
.steps li p { color: var(--ink-soft); margin: 0; }
.step-n { display: inline-flex; align-items: center; justify-content: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: linear-gradient(135deg, var(--main), #ff5fcb); color: #fff; font: 800 1.1rem var(--font-head); margin-bottom: 0.9rem; flex: none; }

/* ——— Animations ——— */
.family { margin-bottom: 2.8rem; }
.family:last-child { margin-bottom: 1rem; }
.family-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem 1rem; margin-bottom: 1rem; }
.family-name { margin: 0; font-size: 1.35rem; display: inline-flex; align-items: center; gap: 0.6rem; }
.family-name::before { content: ""; width: 0.8rem; height: 0.8rem; border-radius: 4px; background: var(--fam); }
.family-head p { margin: 0; color: var(--muted); }
.anim-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 1rem; }
.anim-card a { display: block; height: 100%; padding: 1.3rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.anim-card a:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--fam) 45%, transparent); }
.anim-card h3 { margin: 0.7rem 0 0.3rem; font-size: 1.1rem; }
.anim-card p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; line-height: 1.5; }
.anim-ico { display: inline-flex; align-items: center; justify-content: center; width: 2.6rem; height: 2.6rem; border-radius: 12px; background: color-mix(in srgb, var(--fam, var(--main)) 13%, transparent); color: var(--fam, var(--main)); flex: none; }
.anim-ico .ico { width: 1.35rem; height: 1.35rem; }
.anim-head .eyebrow { color: var(--fam); }

.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.55rem; }
.checks li { display: flex; gap: 0.6rem; align-items: flex-start; }
.checks .ico { color: var(--main); margin-top: 0.2em; }
.checks.big li { font-size: 1.05rem; padding: 0.7rem 0.9rem; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.tags { display: flex; flex-wrap: wrap; gap: 0.5rem; list-style: none; margin: 0 0 1.5rem; padding: 0; }
.tags li { padding: 0.45rem 0.9rem; border-radius: 999px; background: rgb(244 193 42 / 20%); color: #6b4d00; font-weight: 600; }
.links { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.4rem; }
.links a { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 600; text-decoration: none; }

/* ——— Cas d'usage ——— */
.uc-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 1.2rem; }
.uc-card a { display: flex; flex-direction: column; height: 100%; padding: 1.5rem; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-decoration: none; color: var(--ink); transition: transform 0.2s, box-shadow 0.2s; }
.uc-card a:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.uc-card p { color: var(--ink-soft); flex: 1; }
.uc-ico { display: inline-flex; width: 3rem; height: 3rem; border-radius: 50%; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--main), var(--accent)); color: #fff; margin-bottom: 1rem; }
.uc-ico .ico { width: 1.4rem; height: 1.4rem; }
.more { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--main-dark); font-weight: 700; font-size: 0.95rem; }
.program { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.program li { display: flex; align-items: center; gap: 0.8rem; }
.program .step-n { margin: 0; width: 2rem; height: 2rem; font-size: 0.95rem; }
.program a { flex: 1; display: flex; align-items: center; gap: 0.8rem; padding: 0.75rem 0.9rem; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; text-decoration: none; color: var(--ink); }
.program a:hover { border-color: var(--main); }
.program small { display: block; color: var(--muted); font-size: 0.88rem; line-height: 1.4; }
.split .mk { margin-top: 2rem; }

/* ——— Comment ça marche ——— */
.notions { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2rem; }
.notion { display: flex; gap: 1.2rem; align-items: flex-start; background: var(--surface); padding: 1.6rem; border-radius: var(--radius); border: 1px solid var(--line); }
.notion h2 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.notion .n { color: var(--main); }
.notion p { margin: 0; color: var(--ink-soft); }
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 1.2rem; }
.timeline::before { content: ""; position: absolute; inset-block: 0.5rem; inset-inline-start: 2.6rem; width: 3px; border-radius: 3px; background: linear-gradient(var(--main), var(--accent)); }
.timeline li { position: relative; display: flex; gap: 1.4rem; align-items: flex-start; }
.when { position: relative; z-index: 1; flex: none; width: 5.2rem; text-align: center; padding: 0.4rem 0.3rem; border-radius: 999px; background: var(--ink); color: #fff; font: 800 0.9rem var(--font-head); }
.timeline li > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.2rem 1.4rem; flex: 1; }
.timeline p { margin: 0; color: var(--ink-soft); }

/* ——— Tarifs ——— */
.period { display: flex; width: fit-content; margin: 0 auto 2rem; padding: 0.3rem; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.period button { border: 0; background: transparent; padding: 0.6rem 1.2rem; border-radius: 999px; font: 700 0.95rem var(--font-body); color: var(--ink-soft); cursor: pointer; }
.period button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.period em { font-style: normal; font-size: 0.78rem; padding: 0.1rem 0.45rem; border-radius: 999px; background: var(--accent); color: var(--ink); margin-inline-start: 0.3rem; }
.plans { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 1.2rem; align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 1.8rem 1.5rem 1.5rem; box-shadow: var(--shadow); }
.plan.featured { border: 2px solid var(--main); box-shadow: 0 24px 48px -20px rgb(255 0 171 / 40%); }
.plan .badge { position: absolute; top: -0.85rem; inset-inline-start: 50%; transform: translateX(-50%); background: var(--main); color: #fff; font-weight: 700; font-size: 0.8rem; padding: 0.3rem 0.8rem; border-radius: 999px; white-space: nowrap; }
html[dir="rtl"] .plan .badge { transform: translateX(50%); }
.plan h3 { font-size: 1.35rem; margin-bottom: 0.2rem; }
.tagline { color: var(--muted); font-size: 0.95rem; min-height: 2.9em; }
.price { margin: 0.4rem 0 0.6rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.4rem; }
.price[hidden] { display: none; }
.amount { font: 900 2.3rem/1 var(--font-head); letter-spacing: -0.03em; }
.per { color: var(--muted); font-size: 0.9rem; }
.cap { display: flex; align-items: center; gap: 0.4rem; font-weight: 700; color: var(--ink); background: rgb(255 0 171 / 7%); padding: 0.45rem 0.7rem; border-radius: 10px; margin-bottom: 1rem; font-size: 0.92rem; }
.cap .ico { color: var(--main); }
.plan .checks { margin-bottom: 1.5rem; flex: 1; font-size: 0.95rem; }
.plan .btn { width: 100%; }
.agency { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; margin-top: 2rem; padding: 1.8rem; border-radius: 22px; background: var(--night); color: #eef0f5; background-image: radial-gradient(30rem 14rem at 0% 0%, rgb(255 0 171 / 35%), transparent 70%); }
.agency > div { flex: 1 1 22rem; }
.agency h2 { font-size: 1.5rem; margin-bottom: 0.4rem; }
.agency p { margin: 0; color: #c4c9d4; }
.agency a:not(.btn) { color: var(--accent); }
.agency .card-ico { margin: 0; color: var(--accent); background: rgb(244 193 42 / 14%); }
.notes { list-style: none; padding: 0; margin: 1.5rem 0 0; color: var(--muted); font-size: 0.9rem; display: grid; gap: 0.2rem; text-align: center; }

/* ——— Témoignages ——— */
.quotes { list-style: none; margin: 0; padding: 0; columns: 3 300px; column-gap: 1.2rem; }
.quote { break-inside: avoid; margin-bottom: 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.quote blockquote { margin: 0 0 1.1rem; font-size: 1.06rem; }
.quote blockquote p { margin: 0; }
.quote-who { display: flex; gap: 0.8rem; align-items: center; }
.quote-who .ico { color: var(--main); width: 1.8rem; height: 1.8rem; }
.quote-who span { display: block; color: var(--muted); font-size: 0.88rem; }
.sample-note { display: inline-block; font-size: 0.82rem; padding: 0.3rem 0.7rem; border-radius: 8px; background: #fff4cc; color: #6b4d00; margin-bottom: 1.4rem; }

/* ——— FAQ ——— */
.faq { display: grid; gap: 0.7rem; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.05rem 1.2rem; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { margin: 0; font-size: 1.05rem; font-family: var(--font-body); letter-spacing: 0; }
.faq summary .ico { transition: transform 0.2s; color: var(--main); }
.faq details[open] summary .ico { transform: rotate(180deg); }
.faq details p { margin: 0; padding: 0 1.2rem 1.2rem; color: var(--ink-soft); }
.faq-group { margin: 2rem 0 0.8rem; font-size: 1.15rem; color: var(--main-dark); }

/* ——— Support ——— */
.reqs { display: grid; gap: 0.8rem; margin: 0; }
.reqs > div { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.2rem; }
.reqs dt { font-weight: 700; margin-bottom: 0.2rem; }
.reqs dd { margin: 0; color: var(--ink-soft); }

/* ——— Contact ——— */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 2rem; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: clamp(1.2rem, 3vw, 2rem); box-shadow: var(--shadow); }
.grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
@media (max-width: 600px) { .grid2 { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 1rem; }
.field label { font-weight: 600; font-size: 0.95rem; }
.field small { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 1.5px solid #d4d7de; border-radius: 10px; padding: 0.7rem 0.85rem; width: 100%; }
.field textarea { resize: vertical; min-height: 9rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--main); box-shadow: 0 0 0 4px rgb(255 0 171 / 15%); }
.field.invalid input, .field.invalid textarea, .field.invalid select { border-color: #dc2626; }
.field.check { flex-direction: row; align-items: flex-start; gap: 0.6rem; }
.field.check input { width: 1.2rem; height: 1.2rem; margin-top: 0.2rem; accent-color: var(--main); flex: none; }
.field.check label { font-weight: 400; color: var(--ink-soft); }
.field.check.invalid label { color: #dc2626; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { padding: 0.8rem 1rem; border-radius: 10px; background: #fef2f2; color: #991b1b; }

/* Liste d'attente de la bêta (fenêtre ouverte par les boutons « Essayer gratuitement ») */
.beta-dialog { width: min(30rem, calc(100vw - 2rem)); max-height: calc(100dvh - 2rem); padding: clamp(1.5rem, 4vw, 2.2rem); border: 0; border-radius: var(--radius); background: var(--surface); color: var(--ink); box-shadow: 0 30px 80px -20px rgb(5 7 13 / 55%); }
.beta-dialog::backdrop { background: rgb(5 7 13 / 65%); backdrop-filter: blur(4px); }
.beta-dialog[open] { animation: beta-in 0.25s ease-out; }
@keyframes beta-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } }
.beta-dialog h2 { font-size: clamp(1.4rem, 4vw, 1.75rem); margin: 0.6rem 0 0.5rem; }
.beta-dialog p { color: var(--ink-soft); margin: 0 0 1.2rem; }
.beta-dialog .btn-main { width: 100%; }
.beta-dialog .form-msg { margin-bottom: 1rem; }
.beta-close { position: absolute; top: 0.8rem; inset-inline-end: 0.8rem; display: inline-flex; padding: 0.4rem; border: 0; border-radius: 999px; background: transparent; color: var(--muted); cursor: pointer; }
.beta-close:hover { background: var(--bg); color: var(--ink); }
.beta-badge { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.25rem 0.75rem; border-radius: 999px; background: rgb(255 0 171 / 10%); color: var(--main-dark); font: 700 0.85rem var(--font-body); text-transform: uppercase; letter-spacing: 0.04em; }
.beta-badge .ico { width: 1rem; height: 1rem; }
.beta-dialog .beta-note { font-size: 0.85rem; color: var(--muted); margin: 1rem 0 0; text-align: center; }
.beta-done { text-align: center; }
.beta-done[hidden], .beta-dialog form[hidden] { display: none; }
.contact-form .btn { margin-top: 0.4rem; }
.contact-form .btn[disabled] { opacity: 0.6; cursor: wait; }
.contact-aside { display: grid; gap: 1rem; }
.contact-aside .card { padding: 1.3rem; }
.contact-aside h2 { font-size: 1.05rem; font-family: var(--font-body); letter-spacing: 0; margin-bottom: 0.2rem; }
.contact-aside .card-ico { width: 2.5rem; height: 2.5rem; margin-bottom: 0.6rem; }

.prose h2 { font-size: 1.4rem; margin-top: 2rem; }
.prose p, .prose dd { color: var(--ink-soft); }

/* ——— Appel final ——— */
.final-cta { position: relative; overflow: hidden; color: #fff; text-align: center; padding: clamp(4rem, 9vw, 7rem) 0; background: var(--night); }
.final-bg { position: absolute; inset: 0; background: linear-gradient(180deg, rgb(5 7 13 / 55%), rgb(5 7 13 / 85%)), url(/img/reception.webp) center / cover no-repeat; transform: scale(1.05); }
.final-cta .wrap { position: relative; }
.final-cta h2 { color: #fff; max-width: 24ch; margin-inline: auto; }
.final-cta p { color: #e0e3ea; max-width: 40rem; margin-inline: auto; font-size: 1.15rem; }
.final-cta .cta-row { justify-content: center; }

/* ——— Pied de page ——— */
.site-footer { background: #0b0f19; color: #aeb4c2; padding: 3.5rem 0 1.5rem; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
.footer-brand img { height: 34px; width: auto; margin-bottom: 0.8rem; }
.site-footer h2 { font: 700 0.85rem var(--font-body); text-transform: uppercase; letter-spacing: 0.08em; color: #fff; margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.45rem; }
.site-footer a { color: #aeb4c2; text-decoration: none; }
.site-footer a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgb(255 255 255 / 8%); margin-top: 2.5rem; padding-top: 1.2rem; font-size: 0.85rem; }
.footer-bottom p { margin: 0; }

/* ——— Apparition au défilement (activée par site.js seulement) ——— */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.js .reveal.in { opacity: 1; transform: none; }

/* =========================================================================================================
   Aperçus d'écran (.mk) : un grand écran 16:9 + un téléphone posé devant. Tailles en cqw (unités du conteneur)
   pour que l'écran reste proportionné quelle que soit sa largeur.
   ========================================================================================================= */
.mk { position: relative; margin: 0; padding-bottom: 6%; padding-inline-end: 9%; }
.mk-wall { position: relative; container-type: inline-size; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: var(--night); color: #fff; border: 6px solid #1d2230; box-shadow: 0 30px 60px -20px rgb(0 0 0 / 60%), 0 0 0 1px rgb(255 255 255 / 6%); font-family: var(--font-body); }
.mk-wall.dark { background: #000; }
.mk-aurora { position: absolute; border-radius: 50%; filter: blur(30px); opacity: 0.55; pointer-events: none; animation: drift 14s ease-in-out infinite; }
.mk-aurora.a { width: 45%; aspect-ratio: 1; top: -20%; inset-inline-start: -10%; background: radial-gradient(circle, var(--main), transparent 70%); }
.mk-aurora.b { width: 38%; aspect-ratio: 1; bottom: -25%; inset-inline-end: -5%; background: radial-gradient(circle, var(--accent), transparent 70%); animation-direction: reverse; opacity: 0.4; }
.mk-head { position: relative; z-index: 2; display: flex; align-items: center; gap: 1.2cqw; padding: 2.2cqw 3cqw 0; font: 800 2.2cqw var(--font-head); opacity: 0.92; }
.mk-logo { display: inline-flex; width: 3.6cqw; height: 3.6cqw; align-items: center; justify-content: center; border-radius: 50%; background: var(--main); }
.mk-logo .ico { width: 2.2cqw; height: 2.2cqw; }
.mk-body { position: absolute; inset: 7.5cqw 3cqw 3cqw; z-index: 1; display: flex; flex-direction: column; justify-content: center; }
.mk-scene { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; opacity: 0; transform: scale(0.97); transition: opacity 0.6s, transform 0.6s; pointer-events: none; }
.mk-scene.on { opacity: 1; transform: none; }
.mk-q { font: 800 3.4cqw/1.2 var(--font-head); text-align: center; margin-bottom: 2.2cqw; text-wrap: balance; }
.mk-q.small { font-size: 2.8cqw; margin-bottom: 1cqw; }
.mk-av { width: 5cqw; height: 5cqw; flex: none; border-radius: 30%; }
.mk-av[style*="--ring"] { outline: 0.5cqw solid var(--ring); outline-offset: 0.3cqw; }

/* Téléphone */
.mk-phone { position: absolute; inset-inline-end: 0; bottom: 0; width: 23%; aspect-ratio: 9 / 19; border-radius: 16% / 7.5%; background: #10141f; border: 0.45em solid #262c3b; box-shadow: 0 24px 50px -12px rgb(0 0 0 / 65%); overflow: hidden; container-type: inline-size; z-index: 3; animation: float 6s ease-in-out infinite; }
.mk-phone.red .mk-screen { background: radial-gradient(circle at 50% 40%, #3b0a1a, #0d1220); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
.mk-notch { position: absolute; top: 2.5%; left: 50%; width: 32%; height: 3.4%; transform: translateX(-50%); background: #000; border-radius: 99px; z-index: 2; }
.mk-screen { position: absolute; inset: 0; padding: 22cqw 8cqw 10cqw; display: flex; flex-direction: column; justify-content: center; gap: 6cqw; background: linear-gradient(180deg, #1a1033, var(--night-2)); color: #fff; }
.mk-screen .mk-scene { padding: 22cqw 8cqw 10cqw; gap: 6cqw; }
.mk-pad-title { font: 700 8cqw/1.25 var(--font-head); text-align: center; }
.mk-pad-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5cqw; }
.mk-pad-btn { aspect-ratio: 1; border-radius: 10cqw; background: var(--c); display: flex; align-items: center; justify-content: center; font: 900 16cqw var(--font-head); box-shadow: inset 0 -2cqw 0 rgb(0 0 0 / 22%); }
.mk-pad-btn.tap { animation: tap 2.4s ease-in-out infinite; }
@keyframes tap { 0%, 60%, 100% { transform: none; filter: none; } 70% { transform: scale(0.88); filter: brightness(1.3); } }
.mk-pad-list { display: grid; gap: 3.5cqw; }
.mk-pad-list div { display: flex; align-items: center; gap: 4cqw; padding: 5cqw 6cqw; border-radius: 6cqw; background: rgb(255 255 255 / 8%); font-size: 7.5cqw; font-weight: 600; }
.mk-pad-list div.on { background: var(--main); box-shadow: 0 0 0 1.5cqw rgb(255 0 171 / 30%); }
.mk-pad-list .mk-av { width: 12cqw; height: 12cqw; }
.mk-buzz { margin: auto; width: 78cqw; aspect-ratio: 1; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 35% 30%, #ff6b8b, #e11d48 60%, #9f1239); box-shadow: 0 4cqw 0 #881337, 0 0 16cqw rgb(225 29 72 / 55%); font: 900 13cqw var(--font-head); animation: buzz 2.6s ease-in-out infinite; }
@keyframes buzz { 0%, 70%, 100% { transform: none; box-shadow: 0 4cqw 0 #881337, 0 0 16cqw rgb(225 29 72 / 55%); } 78% { transform: translateY(3cqw); box-shadow: 0 1cqw 0 #881337, 0 0 30cqw rgb(225 29 72 / 90%); } }
.mk-tap { margin: auto; width: 74cqw; aspect-ratio: 1; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 35% 30%, #ffd86b, var(--accent) 60%, #b78600); color: var(--night); font: 900 14cqw var(--font-head); animation: tapfast 0.35s ease-in-out infinite; }
.mk-tap .ico { width: 30cqw; height: 30cqw; }
@keyframes tapfast { 50% { transform: scale(0.92); } }
.mk-field { position: relative; padding: 6cqw; border-radius: 5cqw; background: rgb(255 255 255 / 10%); font-size: 8cqw; }
.mk-field.tall { min-height: 40cqw; font-size: 7cqw; line-height: 1.35; }
.mk-field i { display: inline-block; width: 0.6cqw; height: 8cqw; background: #fff; margin-inline-start: 1cqw; vertical-align: middle; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.mk-send { align-self: center; display: flex; align-items: center; justify-content: center; width: 24cqw; height: 24cqw; border-radius: 50%; background: var(--main); }
.mk-send .ico { width: 11cqw; height: 11cqw; }
.mk-rank { display: flex; flex-direction: column; align-items: center; gap: 5cqw; }
.mk-rank b { font: 900 34cqw/1 var(--font-head); background: linear-gradient(var(--accent), #fff4cc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mk-rank .mk-av { width: 30cqw; height: 30cqw; }
.mk-rank span { font: 700 9cqw var(--font-head); }
.mk-cross { font-size: 40cqw; text-align: center; animation: float 2s ease-in-out infinite; }
.mk-emojis { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6cqw; font-size: 20cqw; text-align: center; }
.mk-emojis span { padding: 4cqw; border-radius: 6cqw; background: rgb(255 255 255 / 8%); }
.mk-emojis span:nth-child(3) { animation: tap 1.6s infinite; }
.mk-cam { position: relative; flex: 1; border-radius: 8cqw; background: linear-gradient(160deg, #2a3350, #111827); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10cqw; }
.mk-cam-face .mk-av { width: 44cqw; height: 44cqw; }
.mk-shutter { width: 20cqw; height: 20cqw; border-radius: 50%; border: 2cqw solid #fff; background: rgb(255 255 255 / 25%); animation: tap 2.2s infinite; }
.mk-thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3cqw; }
.mk-thumbs i { aspect-ratio: 1; border-radius: 4cqw; opacity: 0.85; }
.mk-phone.flash { animation: float 6s ease-in-out infinite; }
.mk-flash { position: absolute; inset: 0; background: #fff; animation: flash 1.2s steps(1) infinite; }
@keyframes flash { 0% { background: #fff; } 25% { background: var(--main); } 50% { background: #000; } 75% { background: var(--accent); } }

/* Quiz */
.mk-timer { height: 0.8cqw; border-radius: 9cqw; background: rgb(255 255 255 / 12%); overflow: hidden; margin: 0 8cqw 2.4cqw; }
.mk-timer i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--main)); animation: timer 9s linear infinite; transform-origin: left; }
html[dir="rtl"] .mk-timer i { transform-origin: right; }
@keyframes timer { from { transform: scaleX(1); } to { transform: scaleX(0); } }
.mk-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6cqw; }
.mk-choice { position: relative; display: flex; align-items: center; gap: 1.5cqw; padding: 1.5cqw 2cqw; border-radius: 1.6cqw; background: rgb(255 255 255 / 8%); border: 0.25cqw solid rgb(255 255 255 / 12%); overflow: hidden; font-size: 2.3cqw; font-weight: 700; }
.mk-choice::before { content: ""; position: absolute; inset: 0; width: var(--v); background: color-mix(in srgb, var(--c) 55%, transparent); transform-origin: left; animation: fill 9s ease-out infinite; z-index: 0; }
html[dir="rtl"] .mk-choice::before { transform-origin: right; inset-inline-start: 0; }
@keyframes fill { 0%, 55% { transform: scaleX(0); } 75%, 100% { transform: scaleX(1); } }
.mk-choice > * { position: relative; z-index: 1; }
.mk-choice b { display: inline-flex; align-items: center; justify-content: center; width: 3.6cqw; height: 3.6cqw; border-radius: 1cqw; background: var(--c); flex: none; }
.mk-choice em { margin-inline-start: auto; font-style: normal; opacity: 0; animation: show 9s infinite; }
.mk-choice.good { animation: good 9s infinite; }
@keyframes show { 0%, 70% { opacity: 0; } 80%, 100% { opacity: 1; } }
@keyframes good { 0%, 70% { border-color: rgb(255 255 255 / 12%); } 78%, 100% { border-color: #4ade80; box-shadow: 0 0 2cqw rgb(74 222 128 / 60%); } }

/* Podium */
.mk-podium { display: flex; align-items: flex-end; justify-content: center; gap: 2cqw; height: 32cqw; }
.mk-step { display: flex; flex-direction: column; align-items: center; width: 18cqw; }
.mk-step-who { display: flex; flex-direction: column; align-items: center; gap: 0.6cqw; margin-bottom: 1cqw; animation: rise 0.8s both; }
.mk-step.s1 .mk-step-who { animation-delay: 1.2s; }
.mk-step.s2 .mk-step-who { animation-delay: 0.6s; }
.mk-step-who .mk-av { width: 7cqw; height: 7cqw; }
.mk-step.s1 .mk-av { width: 9cqw; height: 9cqw; box-shadow: 0 0 3cqw var(--accent); }
.mk-step-who span { font: 800 2.2cqw var(--font-head); }
.mk-step-who em { font-style: normal; font-size: 1.7cqw; opacity: 0.8; }
.mk-block { width: 100%; border-radius: 1.4cqw 1.4cqw 0 0; display: flex; justify-content: center; padding-top: 1cqw; font: 900 4cqw var(--font-head); background: linear-gradient(180deg, rgb(255 255 255 / 22%), rgb(255 255 255 / 6%)); border: 0.2cqw solid rgb(255 255 255 / 18%); }
.mk-step.s1 .mk-block { height: 14cqw; background: linear-gradient(180deg, #f4c12a, #a77b0c); color: var(--night); }
.mk-step.s2 .mk-block { height: 10cqw; background: linear-gradient(180deg, #e5e7eb, #8b93a3); color: var(--night); }
.mk-step.s3 .mk-block { height: 7cqw; background: linear-gradient(180deg, #e8a36b, #8a4f22); }
@keyframes rise { from { opacity: 0; transform: translateY(3cqw) scale(0.8); } }

/* Nuage de mots */
.mk-cloud { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.6cqw 2cqw; padding: 0 4cqw; }
.mk-cloud span { font: 800 calc(var(--s) * 1.25cqw)/1.1 var(--font-head); color: var(--c); animation: pop 0.6s both; animation-delay: var(--d); }
@keyframes pop { from { opacity: 0; transform: scale(0.3); } }
.mk-cloud span.grow { animation: grow 0.8s; }
@keyframes grow { 50% { transform: scale(1.35); } }

/* Tirage */
.mk-lottery { display: flex; flex-direction: column; align-items: center; gap: 1.2cqw; }
.mk-prize { display: inline-flex; align-items: center; gap: 1cqw; padding: 0.8cqw 2cqw; border-radius: 9cqw; background: rgb(244 193 42 / 18%); color: var(--accent); font: 800 2.2cqw var(--font-head); }
.mk-prize .ico { width: 2.4cqw; height: 2.4cqw; }
.mk-wheel-wrap { position: relative; width: 33cqw; }
.mk-wheel { display: block; width: 100%; animation: spin 7s cubic-bezier(0.15, 0.6, 0.2, 1) infinite; filter: drop-shadow(0 0 2cqw rgb(255 0 171 / 50%)); }
.mk-wheel text { font: 700 4.4px var(--font-body); fill: #0b0f19; dominant-baseline: middle; text-anchor: middle; }
@keyframes spin { from { transform: rotate(0); } 85%, to { transform: rotate(1500deg); } }
.mk-pointer { position: absolute; top: -1cqw; left: 50%; transform: translateX(-50%); border: 1.6cqw solid transparent; border-top: 2.8cqw solid #fff; filter: drop-shadow(0 0.4cqw 0.6cqw rgb(0 0 0 / 50%)); }

/* Buzzer / blind test */
.mk-buzzed { display: flex; align-items: center; justify-content: center; gap: 3cqw; animation: rise 0.6s both; }
.mk-buzzed .mk-av { width: 16cqw; height: 16cqw; box-shadow: 0 0 5cqw rgb(225 29 72 / 70%); animation: pulse 1.4s ease-in-out infinite; }
.mk-buzzed strong { display: block; font: 900 5.5cqw var(--font-head); }
.mk-buzzed span { font: 700 3cqw var(--font-head); color: #ff6b8b; }
.mk-buzzed em { display: block; font-style: normal; margin-top: 1cqw; font-size: 2.2cqw; color: var(--accent); }
.mk-buzzed.small .mk-av { width: 7cqw; height: 7cqw; }
.mk-buzzed.small strong { font-size: 3cqw; display: inline; }
.mk-buzzed.small span { font-size: 2.4cqw; }
@keyframes pulse { 50% { transform: scale(1.06); } }
.mk-blind { display: flex; flex-direction: column; align-items: center; gap: 1.6cqw; }
.mk-disc { width: 13cqw; height: 13cqw; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: conic-gradient(var(--main), #7c3aed, var(--accent), var(--main)); animation: spin2 4s linear infinite; }
.mk-disc .ico { width: 5cqw; height: 5cqw; }
@keyframes spin2 { to { transform: rotate(360deg); } }
.mk-eq { display: flex; align-items: flex-end; gap: 0.6cqw; height: 6cqw; }
.mk-eq i { width: 1cqw; border-radius: 1cqw; background: linear-gradient(var(--accent), var(--main)); animation: eq 0.9s ease-in-out infinite; }
.mk-eq i:nth-child(3n) { animation-delay: -0.3s; } .mk-eq i:nth-child(3n + 1) { animation-delay: -0.6s; } .mk-eq i:nth-child(4n) { animation-duration: 1.2s; }
@keyframes eq { 0%, 100% { height: 20%; } 50% { height: 100%; } }
.mk-blind-n { font: 700 2.2cqw var(--font-head); opacity: 0.75; }

/* Sondage */
.mk-bars { display: grid; gap: 1.4cqw; padding: 0 4cqw; }
.mk-bar { display: grid; grid-template-columns: 22cqw 1fr 7cqw; align-items: center; gap: 1.5cqw; font-size: 2.3cqw; font-weight: 700; }
.mk-bar i { height: 3.4cqw; border-radius: 1cqw; background: rgb(255 255 255 / 8%); position: relative; overflow: hidden; }
.mk-bar i::after { content: ""; position: absolute; inset: 0; width: var(--v); background: var(--c); border-radius: 1cqw; transform-origin: left; animation: fill2 6s ease-out infinite; }
html[dir="rtl"] .mk-bar i::after { transform-origin: right; }
@keyframes fill2 { 0% { transform: scaleX(0); } 40%, 100% { transform: scaleX(1); } }
.mk-bar em { font-style: normal; color: var(--accent); }

/* Course */
.mk-race { display: grid; gap: 1.3cqw; }
.mk-lane { display: grid; grid-template-columns: 17cqw 1fr; align-items: center; gap: 1.5cqw; font: 700 2cqw var(--font-head); }
.mk-lane > div { position: relative; height: 4.6cqw; border-radius: 1cqw; background: repeating-linear-gradient(90deg, rgb(255 255 255 / 6%) 0 3cqw, rgb(255 255 255 / 10%) 3cqw 6cqw); border-inline-end: 0.5cqw dashed #fff; }
.mk-lane > div i { position: absolute; top: 50%; inset-inline-start: 0; transform: translateY(-50%) scaleX(-1); font-style: normal; font-size: 3.6cqw; animation: run var(--t) ease-in-out infinite alternate; }
html[dir="rtl"] .mk-lane > div i { transform: translateY(-50%); }
.mk-lane span { color: var(--c); }
@keyframes run { from { inset-inline-start: 0; } to { inset-inline-start: calc(var(--p) - 4cqw); } }

/* Jauge */
.mk-gauge { position: relative; margin: 0 6cqw; height: 9cqw; border-radius: 9cqw; background: rgb(255 255 255 / 8%); border: 0.3cqw solid rgb(255 255 255 / 15%); overflow: hidden; }
.mk-gauge i { position: absolute; inset: 0; background: linear-gradient(90deg, var(--main), var(--accent)); transform-origin: left; animation: gauge 6s ease-in infinite; }
html[dir="rtl"] .mk-gauge i { transform-origin: right; }
.mk-gauge span { position: relative; display: flex; align-items: center; justify-content: center; height: 100%; font: 900 4.5cqw var(--font-head); }
@keyframes gauge { 0% { transform: scaleX(0.04); } 85%, 100% { transform: scaleX(1); } }

/* Réactions */
.mk-react { position: relative; flex: 1; min-height: 25cqw; }
.mk-react span { position: absolute; bottom: -6cqw; font-size: 5cqw; animation: flyup 3.2s ease-out forwards; }
@keyframes flyup { to { transform: translateY(-36cqw) rotate(var(--r, 10deg)); opacity: 0; } }

/* Photos, selfies, mosaïque */
.mk-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5cqw; padding: 0 6cqw; }
.mk-photo { aspect-ratio: 4 / 3; border-radius: 1.4cqw; background: linear-gradient(150deg, color-mix(in srgb, var(--c) 70%, #fff), color-mix(in srgb, var(--c) 40%, #000)); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.6cqw; animation: rise 0.7s both; animation-delay: var(--d); border: 0.4cqw solid #fff; }
.mk-photo .mk-av { width: 7cqw; height: 7cqw; }
.mk-photo span { font: 700 1.8cqw var(--font-head); }
.mk-mosaic { display: flex; justify-content: center; gap: 1.6cqw; }
.mk-mosaic .letter { display: grid; grid-template-columns: repeat(4, 2.6cqw); grid-auto-rows: 2.6cqw; gap: 0.35cqw; }
.mk-mosaic .letter i { border-radius: 0.5cqw; background: rgb(255 255 255 / 6%); transition: background 0.4s, transform 0.4s; }
.mk-mosaic .letter i.on { background: var(--c); transform: scale(1.05); }
.mk-slides { position: relative; flex: 1; }
.mk-slide { position: absolute; inset: 0 8cqw; border-radius: 1.6cqw; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, var(--c1), var(--c2)); opacity: 0; animation: slide 9s infinite; animation-delay: var(--d); border: 0.5cqw solid #fff; }
.mk-slide .ico { width: 10cqw; height: 10cqw; opacity: 0.55; }
@keyframes slide { 0% { opacity: 0; transform: scale(1.06); } 5%, 30% { opacity: 1; } 36%, 100% { opacity: 0; transform: none; } }
.mk-notes { display: grid; gap: 1.4cqw; padding: 0 5cqw; }
.mk-note { display: flex; align-items: center; gap: 1.8cqw; padding: 1.6cqw 2cqw; border-radius: 1.6cqw; background: rgb(255 255 255 / 8%); border: 0.2cqw solid rgb(255 255 255 / 12%); animation: rise 0.7s both; animation-delay: var(--d); }
.mk-note strong { font: 800 2.2cqw var(--font-head); color: var(--accent); }
.mk-note p { margin: 0.2cqw 0 0; font-size: 2.3cqw; }
.mk-video { position: relative; flex: 1; margin: 0 5cqw; border-radius: 1.4cqw; background: linear-gradient(135deg, #2b1a4f, #4a0f37 50%, #1e2a52); display: flex; align-items: center; justify-content: center; }
.mk-play { display: flex; width: 9cqw; height: 9cqw; border-radius: 50%; align-items: center; justify-content: center; background: rgb(255 255 255 / 92%); color: var(--night); animation: pulse 2s infinite; }
.mk-play .ico { width: 4cqw; height: 4cqw; }
.mk-progress { position: absolute; bottom: 2cqw; inset-inline: 3cqw; height: 0.6cqw; border-radius: 1cqw; background: rgb(255 255 255 / 20%); overflow: hidden; }
.mk-progress i { display: block; height: 100%; background: var(--main); animation: fill2 12s linear infinite; transform-origin: left; }

/* Compte à rebours */
.mk-count { font: 900 22cqw/1 var(--font-head); text-align: center; background: linear-gradient(180deg, #fff, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mk-count.small { font-size: 50cqw; }
.mk-count.tick { animation: tick 1s ease-out; }
@keyframes tick { from { transform: scale(1.35); opacity: 0.3; } }

/* Lumières */
.mk-dark { display: flex; align-items: center; justify-content: center; gap: 1.5cqw; font: 800 3cqw var(--font-head); opacity: 0.85; }
.mk-dark .ico { width: 3.4cqw; height: 3.4cqw; color: var(--main); }
.mk-crowd { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1.2cqw; padding: 3cqw 6cqw 0; }
.mk-crowd i { aspect-ratio: 9 / 16; border-radius: 0.6cqw; background: #222; animation: wave 2.4s infinite; animation-delay: var(--d); }
@keyframes wave { 0%, 100% { background: #1a1a1a; box-shadow: none; } 15% { background: var(--c); box-shadow: 0 0 2cqw var(--c); } 30% { background: #1a1a1a; } }

/* Agenda, infos, accueil */
.mk-agenda { display: grid; gap: 1.2cqw; padding: 0 6cqw; }
.mk-slot { display: flex; align-items: center; gap: 2cqw; padding: 1.4cqw 2cqw; border-radius: 1.4cqw; background: rgb(255 255 255 / 7%); font-size: 2.4cqw; font-weight: 600; }
.mk-slot b { font: 800 2.4cqw var(--font-head); color: var(--accent); min-width: 8cqw; }
.mk-slot.past { opacity: 0.4; }
.mk-slot.now { background: color-mix(in srgb, var(--main) 35%, transparent); border: 0.25cqw solid var(--main); }
.mk-slot em { margin-inline-start: auto; font-style: normal; font-size: 1.8cqw; padding: 0.3cqw 1.2cqw; border-radius: 9cqw; background: var(--main); animation: pulse 1.6s infinite; }
.mk-info { text-align: center; }
.mk-info h4 { margin: 0 0 2cqw; font: 900 6cqw var(--font-head); background: linear-gradient(90deg, #fff, var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mk-info ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.2cqw; font-size: 3cqw; font-weight: 600; }
.mk-welcome { display: grid; grid-template-columns: 28cqw 1fr; gap: 4cqw; align-items: center; padding: 0 3cqw; }
.mk-welcome .mk-q { text-align: start; margin-bottom: 1cqw; }
.mk-qr { display: block; width: 100%; height: auto; aspect-ratio: 1; background: #fff; border-radius: 1.6cqw; }
.mk-code { font-size: 2.2cqw; opacity: 0.85; margin-bottom: 2cqw; }
.mk-code b { color: var(--accent); font: 900 2.8cqw var(--font-head); letter-spacing: 0.2em; }
.mk-arrivals { display: flex; flex-wrap: wrap; gap: 1cqw; }
.mk-arrivals span { display: inline-flex; align-items: center; gap: 0.8cqw; padding: 0.5cqw 1.4cqw 0.5cqw 0.5cqw; border-radius: 9cqw; background: rgb(255 255 255 / 10%); font-size: 1.9cqw; font-weight: 600; animation: rise 0.6s both; animation-delay: var(--d); }
.mk-arrivals .mk-av { width: 3.4cqw; height: 3.4cqw; }

/* Héros : les scènes se superposent ; le téléphone suit le grand écran. */
.mk-hero .mk-body { inset: 7.5cqw 3cqw 3cqw; }
.mk-hero .mk-screen { padding: 0; }
.mk-hero .mk-screen .mk-scene { display: flex; flex-direction: column; justify-content: center; }

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