/* ==========================================================================
   Oracle de Lydia Magic — design system
   Nuit d'encre, or ancien, typographie éditoriale (Cormorant + Manrope).
   Mobile d'abord : toutes les grilles sont fluides, aucune largeur fixe.
   ========================================================================== */

/* --- Tokens ------------------------------------------------------------- */
:root {
    --ink: #0b0818;
    --ink-2: #110c24;
    --ink-3: #191233;
    --plum: #2a1a52;
    --violet: #6d3fd6;
    --gold: #e2bd6b;
    --gold-2: #f3dca3;
    --gold-deep: #b48a33;
    --ivory: #f4ecdc;
    --mist: #b9b0cc;
    --mist-2: #8c84a3;
    --line: rgba(226, 189, 107, .18);
    --line-2: rgba(226, 189, 107, .35);
    --glass: rgba(20, 14, 40, .62);

    --f-display: "Cormorant Garamond", "Times New Roman", serif;
    --f-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

    --gutter: clamp(16px, 4.5vw, 44px);
    --maxw: 1240px;
    --radius: 20px;
    --radius-sm: 12px;
    --nav-h: 76px;

    --t-hero: clamp(2.35rem, 1.1rem + 5.2vw, 5.6rem);
    --t-h1: clamp(2.3rem, 1.3rem + 4vw, 4.6rem);
    --t-h2: clamp(2rem, 1.25rem + 2.8vw, 3.6rem);
    --t-h3: clamp(1.35rem, 1.1rem + .8vw, 1.75rem);
    --t-lead: clamp(1.02rem, .95rem + .35vw, 1.2rem);

    --ease: cubic-bezier(.2, .8, .2, 1);
}

/* --- Base --------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--nav-h) + 16px); }
html, body { overflow-x: clip; }
body {
    margin: 0;
    min-height: 100vh;
    background: var(--ink);
    color: var(--ivory);
    font-family: var(--f-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
::selection { background: var(--gold); color: var(--ink); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
em { font-style: italic; }

.skip-link {
    position: absolute; left: 12px; top: -60px; z-index: 11000;
    background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 12px; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: rgba(226, 189, 107, .4); border-radius: 8px; }

.wrap { width: min(var(--maxw), 100% - 2 * var(--gutter)); margin-inline: auto; }

/* --- Typo ---------------------------------------------------------------- */
.eyebrow {
    display: inline-flex; align-items: center; gap: .7em;
    font-family: var(--f-body); font-size: .72rem; font-weight: 700;
    letter-spacing: .26em; text-transform: uppercase; color: var(--gold);
}
.eyebrow span {
    font-family: var(--f-display); font-size: 1rem; letter-spacing: .05em;
    display: inline-grid; place-items: center; min-width: 2.2em; height: 2.2em; padding: 0 .4em;
    border: 1px solid var(--line-2); border-radius: 999px; color: var(--gold-2);
}
h1 em, h2 em, h3 em, .cta-band__title em, .site-footer__word em {
    font-style: italic; color: var(--gold);
    background: linear-gradient(100deg, var(--gold-2), var(--gold) 45%, var(--gold-deep));
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
    padding-right: .06em;
}

.head { text-align: center; max-width: 760px; margin: 0 auto clamp(40px, 6vw, 72px); display: grid; justify-items: center; gap: 18px; }
.head--left { text-align: left; justify-items: start; margin-inline: 0; }
.head__title { font-family: var(--f-display); font-weight: 500; font-size: var(--t-h2); line-height: 1.04; letter-spacing: -.01em; }
.head__lead { color: var(--mist); font-size: var(--t-lead); max-width: 60ch; }

/* --- Boutons ------------------------------------------------------------- */
.btn {
    --bg: transparent; --fg: var(--ivory); --bd: var(--line-2);
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .7em;
    min-height: 48px; padding: .75em 1.5em; border-radius: 999px;
    background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
    font-family: var(--f-body); font-weight: 700; font-size: .95rem; letter-spacing: .01em; line-height: 1.2;
    cursor: pointer; overflow: hidden; isolation: isolate; text-align: center;
    transition: color .35s var(--ease), border-color .35s var(--ease), box-shadow .35s var(--ease), background-color .35s var(--ease);
}
.btn::before {
    content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
    background: var(--gold-2); transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn i { transition: transform .35s var(--ease); }
.btn:hover i.fa-arrow-right { transform: translateX(4px); }
.btn--gold { --bg: linear-gradient(120deg, var(--gold-2), var(--gold) 50%, var(--gold-deep)); --fg: #1a1206; --bd: transparent; background: var(--bg); box-shadow: 0 10px 30px -10px rgba(226, 189, 107, .55); }
.btn--gold:hover { box-shadow: 0 14px 40px -10px rgba(226, 189, 107, .8); }
.btn--ghost:hover { color: var(--ink); border-color: var(--gold-2); }
.btn--sm { min-height: 40px; padding: .5em 1.15em; font-size: .85rem; }
.btn--lg { min-height: 58px; padding: .85em 1.9em; font-size: 1rem; }
.btn--block { width: 100%; }
.btn__stack { display: grid; text-align: left; line-height: 1.15; }
.btn__stack small { font-size: .72rem; font-weight: 600; opacity: .75; margin-top: 3px; letter-spacing: .02em; }
.btn--block .btn__stack { text-align: center; }

.link-arrow {
    display: inline-flex; align-items: center; gap: .6em; padding: 0; background: none; border: 0; cursor: pointer;
    color: var(--gold); font-weight: 700; font-size: .9rem; letter-spacing: .02em;
    background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px; background-repeat: no-repeat; background-position: 0 100%;
    transition: background-size .4s var(--ease);
}
.link-arrow:hover { background-size: 100% 1px; }
.center-link { text-align: center; margin-top: clamp(28px, 4vw, 48px); }

.pill {
    display: inline-flex; align-items: center; gap: .5em; width: fit-content;
    padding: .35em .9em; border-radius: 999px; border: 1px solid var(--line-2);
    background: rgba(226, 189, 107, .08); color: var(--gold-2);
    font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}

/* --- Navigation ---------------------------------------------------------- */
.site-nav {
    position: fixed; inset: 0 0 auto; z-index: 1000; height: var(--nav-h);
    transition: background-color .4s ease, box-shadow .4s ease, transform .5s var(--ease);
}
.site-nav.is-scrolled, body.menu-open .site-nav {
    background: rgba(11, 8, 24, .78);
    -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
    box-shadow: 0 1px 0 var(--line);
}
.site-nav.is-hidden { transform: translateY(-100%); }
.site-nav__bar { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ivory); flex-shrink: 0; }
.brand__sigil { width: 34px; height: 34px; color: var(--gold); transition: transform 1.2s var(--ease); }
.brand:hover .brand__sigil { transform: rotate(180deg); }
.brand__text { display: grid; line-height: 1; }
.brand__top { font-size: .62rem; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--gold); }
.brand__name { font-family: var(--f-display); font-size: 1.45rem; font-weight: 600; letter-spacing: .01em; margin-top: 4px; }

.site-nav__links { display: none; align-items: center; gap: clamp(14px, 1.6vw, 28px); }
.nav-link { position: relative; font-size: .86rem; font-weight: 600; color: var(--mist); padding: 6px 0; transition: color .3s; white-space: nowrap; }
.nav-link::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
    transform: scaleX(0); transform-origin: right; transition: transform .45s var(--ease);
}
.nav-link:hover, .nav-link.is-active { color: var(--ivory); }
.nav-link:hover::after, .nav-link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav-link.is-active::before {
    content: "✦"; position: absolute; left: 50%; top: -10px; translate: -50% 0; font-size: 8px; color: var(--gold);
}

.site-nav__actions { display: flex; align-items: center; gap: 10px; }
.lang-switch {
    display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px;
    border: 1px solid var(--line-2); border-radius: 999px; font-size: .78rem; font-weight: 700; color: var(--gold);
    transition: background-color .3s, color .3s;
}
.lang-switch:hover { background: var(--gold); color: var(--ink); }
.nav-cta { display: none; }

.burger {
    position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2);
    background: transparent; cursor: pointer; display: grid; place-items: center;
}
.burger span {
    position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--ivory); border-radius: 2px;
    transition: transform .45s var(--ease), top .45s var(--ease);
}
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.mobile-menu {
    position: fixed; inset: 0; z-index: 990; padding-top: var(--nav-h);
    background: radial-gradient(120% 70% at 80% 0%, rgba(109, 63, 214, .35), transparent 60%), var(--ink);
    overflow-y: auto; overscroll-behavior: contain;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__inner { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding-block: 24px 40px; }
.mobile-menu__links { display: grid; }
.mobile-menu__links a {
    display: flex; align-items: baseline; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line);
    font-family: var(--f-display); font-size: clamp(1.7rem, 7vw, 2.6rem); line-height: 1.15; color: var(--ivory);
}
.mobile-menu__links a.is-active { color: var(--gold); }
.mobile-menu__num { font-family: var(--f-body); font-size: .7rem; font-weight: 700; letter-spacing: .15em; color: var(--gold); min-width: 2.6em; }
.mobile-menu__foot { display: grid; gap: 16px; }
.mobile-menu__wa { display: inline-flex; align-items: center; gap: 8px; color: var(--mist); justify-self: center; }

@media (min-width: 640px) { .nav-cta { display: inline-flex; } }
@media (min-width: 1200px) {
    .site-nav__links { display: flex; }
    .burger { display: none; }
    .mobile-menu { display: none !important; }
}

/* --- Sections ------------------------------------------------------------ */
.section { position: relative; padding-block: clamp(72px, 10vw, 140px); }
.section--tight { padding-block: clamp(48px, 7vw, 96px); }
.section--alt { background: linear-gradient(180deg, var(--ink), var(--ink-2) 18%, var(--ink-2) 82%, var(--ink)); }

/* --- Héro de l'accueil --------------------------------------------------- */
[data-hero] { position: relative; overflow: hidden; isolation: isolate; }
.home-hero {
    min-height: 100svh; display: grid; align-items: center;
    padding-block: calc(var(--nav-h) + 40px) 96px;
    background:
        linear-gradient(180deg, rgba(11, 8, 24, .55), rgba(11, 8, 24, .2) 40%, var(--ink) 100%),
        radial-gradient(70% 60% at 50% 40%, rgba(80, 30, 160, .45), transparent 70%),
        url("../images/bb.jpg") center / cover no-repeat;
}
.home-hero__inner { position: relative; z-index: 2; text-align: center; display: grid; justify-items: center; gap: 26px; }
.home-hero__title { font-family: var(--f-display); font-weight: 500; font-size: var(--t-hero); line-height: 1.02; letter-spacing: -.015em; max-width: 15em; text-wrap: balance; }
.home-hero__lead { color: var(--mist); font-size: var(--t-lead); max-width: 46ch; }
.home-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 32px; margin-top: 8px; }
.trust li { display: grid; justify-items: center; line-height: 1.2; }
.trust strong { font-family: var(--f-display); font-size: 1.6rem; font-weight: 600; color: var(--gold-2); }
.trust span { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--mist-2); }

.scroll-cue {
    position: absolute; left: 50%; bottom: 26px; z-index: 2; translate: -50% 0;
    width: 24px; height: 40px; border: 1px solid var(--line-2); border-radius: 999px;
}
.scroll-cue span {
    position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 3px;
    background: var(--gold); animation: cue 2s var(--ease) infinite;
}
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* --- Héro des pages intérieures ------------------------------------------ */
.page-hero {
    min-height: clamp(440px, 72svh, 760px); display: grid; align-items: center;
    padding-block: calc(var(--nav-h) + 48px) 96px;
    background:
        radial-gradient(60% 70% at 50% 30%, rgba(80, 30, 160, .38), transparent 70%),
        linear-gradient(180deg, var(--ink-2), var(--ink));
}
.page-hero__inner { position: relative; z-index: 2; text-align: center; display: grid; justify-items: center; gap: 22px; }
.page-hero__title { font-family: var(--f-display); font-weight: 500; font-size: var(--t-h1); line-height: 1.02; letter-spacing: -.01em; max-width: 14em; text-wrap: balance; }
.page-hero__lead { color: var(--mist); font-size: var(--t-lead); max-width: 58ch; }
.page-hero__orbit {
    position: absolute; left: 50%; top: 50%; z-index: 1; width: min(120vmin, 900px); aspect-ratio: 1; translate: -50% -50%;
    fill: none; stroke: var(--gold); stroke-width: .12; opacity: .28; pointer-events: none;
    animation: m-spin 90s linear infinite;
}
.page-hero__planet { fill: var(--gold-2); stroke: none; }

/* Ciel en canvas + nébuleuse (injectés par mystic.js) */
.m-sky { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.m-nebula {
    position: absolute; inset: -20%; z-index: 0; pointer-events: none;
    background:
        radial-gradient(35% 30% at 25% 35%, rgba(120, 50, 220, .32), transparent 70%),
        radial-gradient(30% 28% at 78% 65%, rgba(226, 189, 107, .12), transparent 70%),
        radial-gradient(40% 35% at 60% 20%, rgba(60, 20, 140, .32), transparent 70%);
    filter: blur(20px); animation: m-drift 26s ease-in-out infinite alternate;
}
.m-wheel {
    position: absolute; left: 50%; top: 50%; z-index: 1; width: min(118vmin, 980px); aspect-ratio: 1;
    translate: -50% -50%; pointer-events: none; color: var(--gold); opacity: .2;
}
.m-wheel__scroll { width: 100%; height: 100%; }
.m-wheel svg { width: 100%; height: 100%; animation: m-spin 180s linear infinite; }
.m-wheel .m-wheel__inner { transform-origin: 50% 50%; transform-box: fill-box; animation: m-spin-rev 120s linear infinite; }

/* --- Bande zodiacale ----------------------------------------------------- */
.marquee {
    overflow: hidden; white-space: nowrap; user-select: none; padding: 18px 0;
    border-block: 1px solid var(--line); background: linear-gradient(90deg, var(--ink-2), var(--ink-3) 50%, var(--ink-2));
}
.marquee__inner { display: flex; width: max-content; animation: m-marquee 50s linear infinite; }
.marquee:hover .marquee__inner { animation-play-state: paused; }
.marquee__item {
    display: inline-flex; align-items: center; gap: 14px; padding: 0 28px;
    font-family: var(--f-display); font-style: italic; font-size: clamp(1.25rem, 1rem + 1vw, 1.7rem); color: rgba(243, 220, 163, .85);
}
.marquee__item b { font-style: normal; font-weight: 400; color: var(--gold); }
.marquee__item::after { content: "✦"; margin-left: 28px; font-size: .55em; font-style: normal; color: rgba(226, 189, 107, .45); }

/* --- Spécialités : arcanes ----------------------------------------------- */
.deck { display: grid; gap: 16px; grid-template-columns: 1fr; perspective: 1400px; }
.arcana {
    position: relative; display: grid; grid-template-columns: auto 1fr; grid-template-areas: "icon num" "icon title" "icon desc";
    column-gap: 18px; row-gap: 4px; align-items: start;
    padding: 22px; border-radius: 18px; border: 1px solid var(--line);
    background: radial-gradient(120% 90% at 50% 0%, rgba(109, 63, 214, .22), transparent 60%), linear-gradient(180deg, var(--ink-3), var(--ink-2));
    transition: border-color .4s, box-shadow .4s;
}
.arcana::before { content: ""; position: absolute; inset: 7px; border: 1px solid rgba(226, 189, 107, .12); border-radius: 13px; pointer-events: none; }
.arcana:hover { border-color: var(--line-2); box-shadow: 0 20px 50px -20px rgba(226, 189, 107, .35); }
.arcana__num { grid-area: num; font-family: var(--f-display); font-size: .95rem; color: var(--gold); letter-spacing: .12em; }
.arcana__icon {
    grid-area: icon; width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%;
    border: 1px solid var(--line-2); color: var(--gold); font-size: 1.3rem;
    background: radial-gradient(circle, rgba(226, 189, 107, .14), transparent 70%);
    transition: transform .6s var(--ease), box-shadow .6s;
}
.arcana:hover .arcana__icon { transform: rotate(-10deg) scale(1.08); box-shadow: 0 0 30px rgba(226, 189, 107, .35); }
.arcana__title { grid-area: title; font-family: var(--f-display); font-size: var(--t-h3); font-weight: 600; line-height: 1.15; }
.arcana__desc { grid-area: desc; color: var(--mist); font-size: .92rem; line-height: 1.6; }
.arcana__star { display: none; }

@media (min-width: 560px) {
    .deck { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .arcana { grid-template-columns: 1fr; grid-template-areas: "num" "icon" "title" "desc" "star"; justify-items: center; text-align: center; row-gap: 14px; padding: 30px 22px 26px; }
    .arcana__star { display: block; grid-area: star; color: rgba(226, 189, 107, .5); font-size: .8rem; }
}
@media (min-width: 900px) { .deck { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1180px) {
    .deck { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
    .arcana { aspect-ratio: 2 / 3.35; align-content: start; padding: 28px 16px 22px; }
    .arcana__desc { font-size: .86rem; }
    .arcana__star { align-self: end; margin-top: auto; }
}

/* --- Arches (cadres d'image cintrés) ------------------------------------ */
.arch {
    position: relative; overflow: hidden; border-radius: 999px 999px 22px 22px;
    border: 1px solid var(--line-2); background: var(--ink-3); aspect-ratio: 3 / 4;
}
.arch::after { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(243, 220, 163, .25); border-radius: inherit; pointer-events: none; }
.arch img { width: 100%; height: 100%; object-fit: cover; }
.arch--tall { aspect-ratio: 4 / 5; }
.arch--wide { aspect-ratio: 5 / 4; border-radius: 300px 300px 22px 22px; }
[data-parallax] { scale: 1.15; }

/* --- Pourquoi ------------------------------------------------------------ */
.why { display: grid; gap: clamp(48px, 7vw, 96px); align-items: center; }
.why__media { position: relative; max-width: 460px; width: 100%; justify-self: center; }
.why__quote {
    position: relative; margin: -70px 16px 0; padding: 26px 26px 22px; border-radius: 16px;
    background: var(--glass); border: 1px solid var(--line-2);
    -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.why__quote blockquote { font-family: var(--f-display); font-style: italic; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.55rem); line-height: 1.35; color: var(--gold-2); }
.why__quote figcaption { margin-top: 12px; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mist-2); }
.why__list { display: grid; gap: 4px; margin-top: 8px; }
.why__item { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.why__item:last-child { border-bottom: 1px solid var(--line); }
.why__num { font-family: var(--f-display); font-size: 1.8rem; line-height: 1; color: var(--gold); }
.why__item h3 { font-family: var(--f-display); font-size: var(--t-h3); font-weight: 600; margin-bottom: 4px; }
.why__item p { color: var(--mist); }
@media (min-width: 960px) { .why { grid-template-columns: 5fr 6fr; } }

/* --- Témoignages --------------------------------------------------------- */
.tem-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.tem-grid--masonry { display: block; columns: 1; column-gap: 18px; }
.tem-grid--masonry .tem-card { break-inside: avoid; margin-bottom: 18px; }
@media (min-width: 700px) { .tem-grid--masonry { columns: 2; } }
@media (min-width: 1080px) { .tem-grid--masonry { columns: 3; } }
.tem-card {
    position: relative; display: grid; gap: 18px; padding: 28px 26px; border-radius: var(--radius);
    background: linear-gradient(180deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line);
    transition: border-color .4s, box-shadow .4s;
}
.tem-card::before {
    content: "“"; position: absolute; right: 20px; top: -6px; font-family: var(--f-display); font-size: 6rem; line-height: 1;
    color: rgba(226, 189, 107, .14); pointer-events: none;
}
.tem-card:hover { border-color: var(--line-2); box-shadow: 0 20px 50px -24px rgba(226, 189, 107, .3); }
.tem-card__stars { color: var(--gold); font-size: .8rem; display: flex; gap: 3px; }
.tem-card__text { font-family: var(--f-display); font-size: 1.22rem; line-height: 1.5; color: var(--ivory); }
.tem-card__author { display: flex; align-items: center; gap: 12px; font-size: .85rem; font-weight: 700; color: var(--gold-2); }
.tem-card__initial {
    width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, var(--plum), var(--ink-3)); border: 1px solid var(--line-2);
    font-family: var(--f-display); font-size: 1.1rem; color: var(--gold);
}

/* --- Bandeau de réservation ---------------------------------------------- */
.cta-band { padding-block: clamp(40px, 6vw, 80px) clamp(72px, 9vw, 120px); }
.cta-band__box {
    position: relative; overflow: hidden; isolation: isolate; text-align: center;
    display: grid; justify-items: center; gap: 20px;
    padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 64px); border-radius: clamp(20px, 3vw, 32px);
    border: 1px solid var(--line-2);
    background: radial-gradient(80% 120% at 50% 0%, rgba(109, 63, 214, .55), transparent 70%), linear-gradient(160deg, #22104d, #160b33 60%, #10082a);
}
.cta-band__box::before {
    content: ""; position: absolute; inset: -60%; z-index: -1;
    background: conic-gradient(from 0deg, transparent 0 20%, rgba(226, 189, 107, .25) 30%, transparent 40% 60%, rgba(160, 90, 255, .32) 72%, transparent 82%);
    filter: blur(40px); animation: m-spin 20s linear infinite;
}
.cta-band__ring {
    position: absolute; z-index: -1; width: clamp(280px, 60vw, 640px); aspect-ratio: 1; left: 50%; top: 50%; translate: -50% -50%;
    border-radius: 50%; border: 1px solid rgba(243, 220, 163, .18); box-shadow: 0 0 0 40px rgba(243, 220, 163, .03), 0 0 0 80px rgba(243, 220, 163, .02);
}
.cta-band__title { font-family: var(--f-display); font-weight: 500; font-size: var(--t-h2); line-height: 1.05; max-width: 16em; text-wrap: balance; }
.cta-band__text { color: var(--mist); max-width: 48ch; }
.cta-band__note { font-size: .82rem; font-style: italic; color: var(--mist-2); }

/* --- À propos ------------------------------------------------------------ */
.values { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.value {
    padding: clamp(28px, 4vw, 44px) 28px; border-radius: var(--radius); text-align: center;
    border: 1px solid var(--line); background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
    display: grid; justify-items: center; gap: 14px;
}
.value__icon { width: 64px; height: 64px; color: var(--gold); }
.value__title { font-family: var(--f-display); font-size: var(--t-h3); font-weight: 600; }
.value__desc { color: var(--mist); }

.team { display: grid; gap: clamp(28px, 4vw, 40px) 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.member { display: grid; gap: 8px; align-content: start; }
.member .arch { margin-bottom: 12px; }
.member__name { font-family: var(--f-display); font-size: var(--t-h3); font-weight: 600; }
.member__role { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.member__desc { color: var(--mist); font-size: .93rem; }
.member .link-arrow { margin-top: 6px; justify-self: start; }

/* --- Voyants ------------------------------------------------------------- */
.seers { display: grid; gap: 24px; }
.seer {
    display: grid; gap: 22px; padding: 18px; border-radius: 26px;
    border: 1px solid var(--line); background: linear-gradient(180deg, var(--ink-3), var(--ink-2));
}
.seer__photo { aspect-ratio: 4 / 3.4; border-radius: 200px 200px 16px 16px; }
.seer__badge {
    position: absolute; z-index: 2; right: 18px; bottom: 18px; padding: .35em .85em; border-radius: 999px;
    background: rgba(11, 8, 24, .75); border: 1px solid var(--line-2); color: var(--gold); font-size: .7rem; font-weight: 800; letter-spacing: .12em;
}
.seer__body { display: grid; gap: 12px; align-content: start; padding: 4px 6px 6px; }
.seer__name { font-family: var(--f-display); font-size: clamp(1.7rem, 1.3rem + 1.2vw, 2.3rem); font-weight: 600; line-height: 1.05; }
.seer__title { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.seer__quote { font-family: var(--f-display); font-style: italic; font-size: 1.15rem; color: var(--mist); padding-left: 14px; border-left: 1px solid var(--line-2); }
.seer__meta { display: grid; gap: 10px; margin: 6px 0 10px; }
.seer__meta > div { display: grid; grid-template-columns: minmax(0, 9.5em) 1fr; gap: 12px; font-size: .9rem; padding-bottom: 10px; border-bottom: 1px dashed var(--line); }
.seer__meta dt { color: var(--mist-2); display: flex; gap: 8px; align-items: baseline; }
.seer__meta dt i { color: var(--gold); }
.seer__meta dd { margin: 0; color: var(--ivory); font-weight: 600; }
@media (min-width: 640px) { .seer { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); padding: 20px; } .seer__photo { aspect-ratio: auto; height: 100%; min-height: 340px; } }
@media (min-width: 1100px) { .seers { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 380px) { .seer__meta > div { grid-template-columns: 1fr; gap: 2px; } }

.stats { border-block: 1px solid var(--line); background: var(--ink-2); }
.stats__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat { padding: clamp(28px, 5vw, 48px) 12px; text-align: center; border-right: 1px solid var(--line); }
.stat:nth-child(2n) { border-right: 0; }
.stat:nth-child(-n + 2) { border-bottom: 1px solid var(--line); }
.stat__value { font-family: var(--f-display); font-size: clamp(2.4rem, 1.6rem + 3vw, 4rem); line-height: 1; color: var(--gold-2); font-weight: 500; }
.stat__suffix { color: var(--gold); font-size: .55em; margin-left: 2px; }
.stat__label { margin-top: 8px; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mist-2); }
@media (min-width: 760px) {
    .stats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .stat:nth-child(2n) { border-right: 1px solid var(--line); }
    .stat:last-child { border-right: 0; }
    .stat:nth-child(-n + 2) { border-bottom: 0; }
}

/* --- Services ------------------------------------------------------------ */
.services { display: grid; gap: clamp(72px, 10vw, 140px); }
.service { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
.service__media { position: relative; max-width: 560px; width: 100%; justify-self: center; }
.service__num {
    position: absolute; left: -6px; bottom: -28px; font-family: var(--f-display); font-style: italic; font-weight: 500;
    font-size: clamp(4.5rem, 3rem + 6vw, 8rem); line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(226, 189, 107, .55);
    pointer-events: none;
}
.service__body { display: grid; gap: 16px; justify-items: start; }
.service__title { font-family: var(--f-display); font-weight: 500; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); line-height: 1.05; }
.service__desc { color: var(--mist); font-size: var(--t-lead); max-width: 52ch; }
.checklist { display: grid; gap: 10px; margin: 6px 0 10px; }
.checklist li { display: flex; gap: 12px; align-items: baseline; }
.checklist i { color: var(--gold); }
@media (min-width: 900px) {
    .service { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
    .service--flip .service__media { order: 2; }
    .service--flip .service__num { left: auto; right: -6px; }
}

.notice {
    max-width: 860px; margin: 0 auto; padding: clamp(28px, 5vw, 52px); border-radius: var(--radius);
    border: 1px solid var(--line-2); background: linear-gradient(180deg, var(--ink-3), var(--ink-2)); display: grid; gap: 14px;
}
.notice__title { font-family: var(--f-display); font-style: italic; font-weight: 500; font-size: clamp(1.5rem, 1.2rem + 1vw, 2rem); color: var(--gold-2); display: flex; gap: 12px; align-items: baseline; }
.notice__title i { font-size: .7em; color: var(--gold); }
.notice p { color: var(--mist); }

/* --- Comment ça marche : étapes ----------------------------------------- */
.steps { position: relative; padding-block: clamp(56px, 8vw, 110px); }
.steps__progress { display: none; }
.steps__track { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.step { display: grid; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--ink-2); }
.step__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.step__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.step:hover .step__media img { transform: scale(1.06); }
.step__caption {
    position: absolute; inset: auto 0 0; padding: 40px 18px 14px; font-size: .78rem; line-height: 1.45; color: rgba(244, 236, 220, .85);
    background: linear-gradient(transparent, rgba(11, 8, 24, .92));
}
.step__body { padding: 24px 24px 28px; display: grid; gap: 10px; }
.step__count { font-family: var(--f-display); font-size: 2.6rem; line-height: 1; color: var(--gold-2); }
.step__count span:first-child { display: block; font-family: var(--f-body); font-size: .68rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.step__total { font-size: .45em; color: var(--mist-2); }
.step__title { font-family: var(--f-display); font-weight: 600; font-size: var(--t-h3); line-height: 1.2; display: flex; gap: 10px; align-items: baseline; }
.step__title i { font-size: .65em; color: var(--gold); }
.step__desc { color: var(--mist); }

/* Mode horizontal épinglé (ajouté par JS sur grand écran) */
.steps.is-horizontal { padding: 0; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.steps.is-horizontal .steps__track {
    display: flex; width: max-content; gap: 32px; margin: 0; padding-inline: max(var(--gutter), (100vw - var(--maxw)) / 2);
}
.steps.is-horizontal .step { width: min(560px, 40vw); grid-template-columns: 1fr; }
.steps.is-horizontal .step__media { aspect-ratio: 16 / 10; }
.steps.is-horizontal .steps__progress {
    display: block; position: absolute; left: max(var(--gutter), (100vw - var(--maxw)) / 2); right: max(var(--gutter), (100vw - var(--maxw)) / 2);
    bottom: 48px; height: 1px; background: var(--line);
}
.steps__progress span { display: block; height: 100%; background: var(--gold); transform-origin: left; transform: scaleX(0); }

/* Rituels (bento) */
.rituals { display: grid; gap: 18px; }
.ritual { position: relative; overflow: hidden; border-radius: var(--radius); min-height: 340px; border: 1px solid var(--line); background: var(--ink-3); }
.ritual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.ritual:hover img { transform: scale(1.06); }
.ritual__overlay {
    position: absolute; inset: auto 0 0; display: grid; gap: 10px; padding: 80px 24px 24px;
    background: linear-gradient(transparent, rgba(11, 8, 24, .55) 30%, rgba(11, 8, 24, .95));
}
.ritual__title { font-family: var(--f-display); font-weight: 600; font-size: var(--t-h3); }
.ritual__desc { color: var(--mist); font-size: .92rem; }
@media (min-width: 900px) {
    .rituals { grid-template-columns: 3fr 2fr; grid-template-rows: repeat(2, minmax(300px, auto)); }
    .ritual--big { grid-row: span 2; min-height: 620px; }
}

/* Galerie */
.gallery { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); }
.gallery__item { overflow: hidden; border-radius: 14px; aspect-ratio: 1; border: 1px solid var(--line); background: var(--ink-3); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.gallery__item:hover img { transform: scale(1.08); }
.empty { text-align: center; color: var(--mist-2); font-style: italic; }

/* --- Contact ------------------------------------------------------------- */
.contact { display: grid; gap: 20px; align-items: start; }
.contact__info, .contact__form {
    padding: clamp(24px, 4vw, 40px); border-radius: var(--radius); border: 1px solid var(--line);
    background: linear-gradient(180deg, var(--ink-3), var(--ink-2)); display: grid; gap: 20px; min-width: 0;
}
.contact__heading { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.2rem); }
.contact__list { display: grid; gap: 16px; }
.contact__list li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: center; }
.contact__list li > div { min-width: 0; overflow-wrap: anywhere; }
.contact__list a { color: var(--ivory); font-weight: 600; }
.contact__list a:hover { color: var(--gold); }
.contact__icon { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--gold); background: rgba(226, 189, 107, .06); }
.contact__label { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--mist-2); }
.contact__note { text-align: center; font-size: .8rem; font-style: italic; color: var(--mist-2); }
@media (min-width: 960px) { .contact { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

.field-row { display: grid; gap: 16px; }
@media (min-width: 600px) { .field-row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; min-width: 0; }
.field label, .modal-label { font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.field input, .field select, .field textarea, .modal-input {
    width: 100%; min-width: 0; min-height: 50px; padding: 12px 16px; border-radius: 12px;
    border: 1px solid var(--line); background: rgba(11, 8, 24, .6); color: var(--ivory);
    font: inherit; font-size: 16px; outline: none; transition: border-color .3s, box-shadow .3s; appearance: none;
}
.field select, select.modal-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23e2bd6b' stroke-width='1.6'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px;
}
.field select option, .modal-input option { background: var(--ink-2); }
.field textarea { min-height: 140px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder, .modal-input::placeholder { color: rgba(185, 176, 204, .45); }
.field input:focus, .field select:focus, .field textarea:focus, .modal-input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(226, 189, 107, .12); }

/* Coordonnées bancaires */
.bank-box { padding: 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(11, 8, 24, .45); }
.bank-box__title { font-size: .78rem; font-weight: 700; color: var(--gold); margin-bottom: 10px; display: flex; gap: 8px; align-items: center; }
.bank-box__rows { margin: 0; display: grid; }
.bank-box__rows > div { display: grid; grid-template-columns: minmax(0, 8.5em) minmax(0, 1fr); gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: .84rem; }
.bank-box__rows > div:last-child { border-bottom: 0; }
.bank-box__rows dt { color: var(--mist-2); }
.bank-box__rows dd { margin: 0; color: var(--ivory); overflow-wrap: anywhere; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.copy-iban-btn {
    width: 28px; height: 28px; display: inline-grid; place-items: center; border-radius: 8px; cursor: pointer;
    border: 1px solid var(--line-2); background: rgba(226, 189, 107, .1); color: var(--gold); font-size: .75rem; transition: background .2s;
}
.copy-iban-btn:hover { background: rgba(226, 189, 107, .25); }
.copy-iban-btn.copied { background: var(--gold); color: var(--ink); }
@media (max-width: 400px) { .bank-box__rows > div { grid-template-columns: 1fr; gap: 2px; } }

/* --- Texte légal ---------------------------------------------------------- */
.prose { max-width: 760px; margin: 0 auto; color: var(--mist); }
.prose__date { font-style: italic; color: var(--mist-2); margin-bottom: 20px; }
.prose h2 { font-family: var(--f-display); font-weight: 600; font-size: clamp(1.4rem, 1.2rem + .8vw, 1.8rem); color: var(--ivory); margin: 40px 0 12px; }
.prose p, .prose ul { margin-bottom: 14px; }
.prose ul { list-style: disc; padding-left: 1.3em; }
.prose li { margin-bottom: 8px; }
.prose a { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.prose strong { color: var(--ivory); }

/* --- Pied de page --------------------------------------------------------- */
.site-footer { position: relative; overflow: hidden; border-top: 1px solid var(--line); background: radial-gradient(60% 80% at 50% 0%, rgba(109, 63, 214, .18), transparent 70%), var(--ink); padding-top: clamp(56px, 8vw, 96px); }
.site-footer__top { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 24px; padding-bottom: clamp(40px, 6vw, 64px); border-bottom: 1px solid var(--line); }
.site-footer__word { font-family: var(--f-display); font-weight: 500; font-size: clamp(3rem, 1.5rem + 8vw, 8.5rem); line-height: .9; letter-spacing: -.02em; }
.site-footer__grid { display: grid; gap: 36px; padding-block: clamp(40px, 6vw, 64px); grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); }
.site-footer__logo { font-family: var(--f-display); font-size: 1.5rem; color: var(--gold-2); margin-bottom: 10px; }
.site-footer__desc { color: var(--mist-2); font-size: .9rem; max-width: 34ch; }
.site-footer__heading { font-size: .7rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.site-footer__links { display: grid; gap: 10px; }
.site-footer__links a { color: var(--mist); font-size: .92rem; transition: color .25s; overflow-wrap: anywhere; display: inline-flex; gap: 8px; align-items: baseline; }
.site-footer__links a:hover { color: var(--gold-2); }
.site-footer__note { margin-top: 16px; font-size: .8rem; font-style: italic; color: var(--gold); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 22px 28px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--mist-2); }
.site-footer__bottom a:hover { color: var(--gold); }

/* --- Cookies -------------------------------------------------------------- */
.cookie-consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 1080; padding: 12px; }
.cookie-consent[hidden] { display: none; }
.cookie-consent__box {
    max-width: 920px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; justify-content: space-between;
    padding: 16px 18px; border-radius: 16px; border: 1px solid var(--line-2);
    background: rgba(17, 12, 36, .94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .5);
}
.cookie-consent__text { flex: 1 1 300px; font-size: .84rem; color: var(--mist); }
.cookie-consent__text a { color: var(--gold); text-decoration: underline; }
.cookie-consent__actions { display: flex; gap: 10px; flex-shrink: 0; }

/* --- Modales --------------------------------------------------------------- */
.modal-overlay {
    position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center;
    padding: 16px; background: rgba(5, 3, 14, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
    overflow-y: auto; overscroll-behavior: contain;
}
.modal-overlay.active { display: flex; }
.modal-box {
    position: relative; width: 100%; max-width: 520px; margin: auto; max-height: none;
    padding: clamp(24px, 5vw, 36px) clamp(18px, 5vw, 32px) clamp(20px, 4vw, 28px);
    border-radius: 22px; border: 1px solid var(--line-2);
    background: radial-gradient(100% 60% at 50% 0%, rgba(109, 63, 214, .25), transparent 70%), var(--ink-2);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .6); animation: modal-in .45s var(--ease);
}
@keyframes modal-in { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }
.modal-close {
    position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid var(--line); background: transparent; color: var(--mist); cursor: pointer; font-size: 15px;
}
.modal-close:hover { color: var(--gold); border-color: var(--gold); }
.modal-title { font-family: var(--f-display); font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); font-weight: 500; color: var(--gold-2); padding-right: 40px; }
.modal-sub { font-size: .86rem; font-style: italic; color: var(--mist-2); margin: 6px 0 18px; }
.modal-label { display: block; margin: 16px 0 8px; }
.modal-btn { margin-top: 22px; }
.modal-steps { font-size: .84rem; color: var(--mist); line-height: 1.6; margin-bottom: 16px; }
.modal-box .bank-box { margin-bottom: 18px; }
.step-dots { display: flex; justify-content: center; gap: 8px; margin-bottom: 18px; }
.step-dot { width: 26px; height: 3px; border-radius: 3px; background: var(--line-2); transition: background .3s; }
.step-dot.active { background: var(--gold); }
.depot-box { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 18px; margin-bottom: 18px; border-radius: 14px; border: 1px solid var(--line); background: rgba(11, 8, 24, .45); }
.depot-box__label { font-weight: 700; font-size: .9rem; }
.depot-box__note { font-size: .78rem; color: var(--mist-2); }
.depot-box__amount { font-family: var(--f-display); font-size: 1.8rem; color: var(--gold); white-space: nowrap; }
.btn-retour { display: block; width: 100%; margin-top: 12px; padding: 10px; background: none; border: 0; cursor: pointer; color: var(--mist-2); font-size: .85rem; }
.btn-retour:hover { color: var(--gold); }
.toast {
    position: fixed; left: 50%; bottom: 24px; z-index: 10001; translate: -50% 0; width: max-content; max-width: calc(100% - 32px);
    padding: 14px 22px; border-radius: 14px; border: 1px solid var(--gold); background: var(--ink-2); color: var(--gold-2);
    font-size: .9rem; box-shadow: 0 10px 40px rgba(226, 189, 107, .25); animation: modal-in .4s var(--ease);
}
.toast[hidden] { display: none; }
.toast i { margin-right: 8px; }

/* --- Couche motion (curseur, grain, rideau) ------------------------------ */
.m-grain {
    position: fixed; inset: -50%; z-index: 9000; pointer-events: none; opacity: .06; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.m-curtain {
    position: fixed; inset: 0; z-index: 10000; display: grid; place-items: center; pointer-events: none; visibility: hidden;
    background: radial-gradient(60% 60% at 50% 50%, rgba(80, 30, 160, .45), transparent 70%), var(--ink);
}
.m-curtain.is-on, html.m-loading .m-curtain { visibility: visible; pointer-events: all; }
.m-curtain__sigil { width: 74px; height: 74px; color: var(--gold); }
.m-curtain__sigil svg { width: 100%; height: 100%; animation: m-spin 6s linear infinite; }
.m-halo, .m-ring { display: none; }
@media (hover: hover) and (pointer: fine) {
    .m-halo {
        display: block; position: fixed; top: 0; left: 0; z-index: 1; width: 520px; height: 520px; margin: -260px 0 0 -260px;
        border-radius: 50%; pointer-events: none; mix-blend-mode: screen;
        background: radial-gradient(circle, rgba(226, 189, 107, .12) 0%, rgba(120, 60, 220, .08) 35%, transparent 65%);
    }
    .m-ring {
        display: block; position: fixed; top: 0; left: 0; z-index: 9500; width: 34px; height: 34px; margin: -17px 0 0 -17px;
        border: 1px solid rgba(243, 220, 163, .55); border-radius: 50%; pointer-events: none;
        transition: width .3s, height .3s, margin .3s, background-color .3s, border-color .3s;
    }
    .m-ring.is-hover { width: 64px; height: 64px; margin: -32px 0 0 -32px; background-color: rgba(226, 189, 107, .1); border-color: rgba(243, 220, 163, .9); }
}
.m-split-line { overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; }
.m-glare {
    position: absolute; inset: 0; z-index: 3; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s; mix-blend-mode: screen;
    background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 230, 160, .18), transparent 55%);
}
.m-tilt { transform-style: preserve-3d; }
.m-tilt:hover .m-glare { opacity: 1; }

/* État initial des éléments animés : uniquement si le JS motion est actif */
/* opacity (et non visibility) : les éléments restent focusables au clavier avant leur apparition */
html.m-motion [data-fade], html.m-motion [data-card], html.m-motion [data-row], html.m-motion [data-arcana] { opacity: 0; }

/* --- Keyframes ------------------------------------------------------------ */
@keyframes m-spin { to { transform: rotate(360deg); } }
@keyframes m-spin-rev { to { transform: rotate(-360deg); } }
@keyframes m-marquee { to { transform: translateX(-50%); } }
@keyframes m-drift { 0% { transform: translate3d(-3%, -2%, 0) scale(1); } 100% { transform: translate3d(3%, 2%, 0) scale(1.08); } }

/* --- Très petits écrans ---------------------------------------------------- */
@media (max-width: 360px) {
    :root { --nav-h: 66px; }
    .brand__sigil { width: 28px; height: 28px; }
    .brand__name { font-size: 1.2rem; }
    .lang-switch { padding: 0 10px; }
    .lang-switch i { display: none; }
    .site-nav__bar { gap: 8px; }
    .site-nav__actions { gap: 6px; }
    .btn--lg { padding-inline: 1.3em; }
    .home-hero__actions .btn { width: 100%; }
}

/* --- Mouvement réduit ------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
    .m-curtain, .scroll-cue { display: none !important; }
}
