/* Meetaverse FA : site vitrine. Une seule couleur d'accent (bleu Meetaverse), fonds presque noirs,
   grande typographie, beaucoup d'air. Animations : intro, reveles au defilement, sections collantes. */
:root {
    --bleu: #19b8ff;
    --bleu-2: #0a6cff;
    --fond: #05070b;
    --fond-2: #0b0f16;
    --carte: rgba(255, 255, 255, .045);
    --trait: rgba(255, 255, 255, .08);
    --texte: #f5f7fa;
    --texte-2: rgba(235, 240, 248, .62);
    --texte-3: rgba(235, 240, 248, .38);
    --rayon: 28px;
    --marge: clamp(20px, 5vw, 72px);
    --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    background: var(--fond);
    color: var(--texte);
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 17px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.intro-en-cours { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--bleu); color: #000; }

/* ---------------------------------------------------------------- intro */
.intro {
    position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: #000;
    transition: opacity .9s var(--ease), visibility .9s;
}
.intro-logo { width: min(320px, 60vw); opacity: 0; transform: scale(.92); filter: blur(10px) drop-shadow(0 0 40px rgba(25, 184, 255, .5)); animation: introLogo 1.3s var(--ease) .15s forwards; }
.intro-trait { position: absolute; bottom: 42%; width: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--bleu), transparent); animation: introTrait 1.2s var(--ease) .4s forwards; }
@keyframes introLogo { to { opacity: 1; transform: none; filter: blur(0) drop-shadow(0 0 40px rgba(25, 184, 255, .45)); } }
@keyframes introTrait { to { width: min(420px, 70vw); } }
.intro.fini { opacity: 0; visibility: hidden; }

/* ---------------------------------------------------------------- halo qui suit la souris */
.halo {
    position: fixed; z-index: 1; pointer-events: none; width: 620px; height: 620px; left: 0; top: 0;
    border-radius: 50%; background: radial-gradient(circle, rgba(25, 184, 255, .12), transparent 62%);
    transform: translate3d(-50%, -50%, 0); opacity: 0; transition: opacity .6s;
    mix-blend-mode: screen;
}
.halo.actif { opacity: 1; }

/* ---------------------------------------------------------------- navigation */
.nav {
    position: fixed; top: 14px; left: 50%; z-index: 50; transform: translateX(-50%);
    display: flex; align-items: center; gap: 28px; padding: 8px 8px 8px 18px;
    width: min(1100px, calc(100% - 28px)); border-radius: 999px;
    background: rgba(10, 12, 18, .35); border: 1px solid transparent;
    backdrop-filter: blur(18px) saturate(1.5); -webkit-backdrop-filter: blur(18px) saturate(1.5);
    transition: background .4s, border-color .4s, top .4s;
}
.nav.defile { background: rgba(10, 12, 18, .72); border-color: var(--trait); }
.nav-logo { display: flex; align-items: center; gap: 10px; }
.nav-logo img { height: 26px; width: auto; filter: drop-shadow(0 0 12px rgba(25, 184, 255, .45)); }
.nav-logo span { font-size: 17px; font-weight: 800; letter-spacing: -.03em; }
.nav-liens { display: flex; gap: 26px; margin-left: auto; }
.nav-liens a { font-size: 14px; font-weight: 500; color: var(--texte-2); transition: color .2s; }
.nav-liens a:hover, .nav-liens a.actif { color: var(--texte); }
.nav-menu { display: none; width: 40px; height: 40px; position: relative; margin-left: auto; }
.nav-menu span { position: absolute; left: 11px; right: 11px; height: 1.6px; background: #fff; border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav-menu span:first-child { top: 16px; }
.nav-menu span:last-child { top: 23px; }
.nav-menu[aria-expanded="true"] span:first-child { top: 19.5px; transform: rotate(45deg); }
.nav-menu[aria-expanded="true"] span:last-child { top: 19.5px; transform: rotate(-45deg); }
.menu-mobile {
    position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: center; gap: 22px;
    padding: 0 32px; background: rgba(5, 7, 11, .94); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
}
.menu-mobile[hidden] { display: none; }
.menu-mobile a { font-size: 34px; font-weight: 700; letter-spacing: -.02em; }
.menu-mobile .menu-mobile-cta { margin-top: 18px; font-size: 18px; color: var(--bleu); }

/* ---------------------------------------------------------------- boutons */
.bouton {
    position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    height: 54px; padding: 0 28px; border-radius: 999px; font-size: 16px; font-weight: 600; white-space: nowrap;
    transition: transform .35s var(--ease), background .25s, box-shadow .35s, color .25s;
    will-change: transform;
}
.bouton svg { width: 20px; height: 20px; fill: currentColor; }
.bouton-plein { background: var(--bleu); color: #001018; box-shadow: 0 10px 40px -10px rgba(25, 184, 255, .7); }
.bouton-plein:hover { background: #4dc8ff; box-shadow: 0 16px 50px -10px rgba(25, 184, 255, .9); }
.bouton-verre { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.bouton-verre:hover { background: rgba(255, 255, 255, .14); }
.bouton-petit { height: 38px; padding: 0 18px; font-size: 14px; box-shadow: none; }
.bouton-grand { height: 62px; padding: 0 38px; font-size: 18px; }
.bouton[aria-disabled="true"] { opacity: .55; }
.bulle {
    position: absolute; left: 50%; bottom: calc(100% + 12px); transform: translate(-50%, 6px); padding: 8px 14px;
    border-radius: 12px; background: #fff; color: #000; font-size: 13px; font-weight: 600; white-space: nowrap;
    opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
}
.bulle.visible { opacity: 1; transform: translate(-50%, 0); }

/* ---------------------------------------------------------------- textes communs */
.surtitre { font-size: 14px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--bleu); }
.titre { font-size: clamp(40px, 6.4vw, 88px); line-height: 1.02; font-weight: 800; letter-spacing: -.045em; }
.gris { color: var(--texte-3); }
.degrade {
    background: linear-gradient(100deg, #fff 0%, var(--bleu) 45%, var(--bleu-2) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.sous-titre { max-width: 620px; margin: 22px auto 0; font-size: clamp(17px, 1.6vw, 21px); color: var(--texte-2); }
.section { position: relative; z-index: 2; padding: clamp(110px, 16vw, 200px) var(--marge); max-width: 1320px; margin: 0 auto; }
.tete-section { text-align: center; margin-bottom: clamp(50px, 7vw, 90px); }
.tete-section .titre { margin-top: 16px; }
.centre { text-align: center; margin-top: 56px; }
.note-centre { text-align: center; margin-top: 40px; color: var(--texte-3); font-size: 15px; }

/* apparition au defilement */
.revele { opacity: 0; transform: translateY(36px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.revele.vu { opacity: 1; transform: none; }

/* ---------------------------------------------------------------- accueil */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; display: flex; align-items: center; }
.hero-fond {
    position: absolute; inset: -6%; background-size: cover; background-position: center 60%;
    filter: grayscale(1) contrast(1.08) brightness(.75);
    animation: zoomLent 26s ease-in-out infinite alternate; will-change: transform;
}
@keyframes zoomLent { from { transform: scale(1); } to { transform: scale(1.12); } }
.hero-voile {
    position: absolute; inset: 0;
    background:
        radial-gradient(120% 80% at 75% 30%, rgba(25, 184, 255, .28), transparent 60%),
        linear-gradient(180deg, rgba(5, 7, 11, .35) 0%, rgba(5, 7, 11, .15) 40%, rgba(5, 7, 11, .85) 82%, var(--fond) 100%),
        linear-gradient(90deg, rgba(5, 7, 11, .85) 0%, rgba(5, 7, 11, .2) 55%, transparent 100%);
    mix-blend-mode: normal;
}
.hero-grain {
    position: absolute; inset: 0; opacity: .07; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero-perso {
    position: absolute; right: max(2vw, calc(50% - 720px)); bottom: -2%; height: 96%; width: auto; z-index: 2;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .6)) drop-shadow(0 0 60px rgba(25, 184, 255, .25));
    opacity: 0; transform: translateY(40px); transition: opacity 1.6s var(--ease) .2s, transform 1.6s var(--ease) .2s;
    will-change: transform;
}
.pret .hero-perso { opacity: 1; transform: none; }
.hero-contenu { position: relative; z-index: 3; padding: 0 var(--marge); max-width: 1320px; width: 100%; margin: 0 auto; }
.hero-titre { margin: 18px 0 26px; font-size: clamp(56px, 10.5vw, 150px); line-height: .92; font-weight: 900; letter-spacing: -.055em; }
.hero-titre .ligne { display: block; overflow: hidden; padding-bottom: .08em; }
.hero-titre .ligne > span { display: inline-block; transform: translateY(105%); transition: transform 1.3s var(--ease); }
.hero-titre .ligne:nth-child(2) > span { transition-delay: .12s; }
.pret .hero-titre .ligne > span { transform: none; }
.hero-texte { font-size: clamp(18px, 1.8vw, 23px); color: var(--texte-2); max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.connect { display: flex; align-items: center; gap: 12px; margin-top: 22px; padding: 6px 6px 6px 16px; border-radius: 12px; background: rgba(255, 255, 255, .05); border: 1px solid var(--trait); transition: border-color .3s, background .3s; }
.connect:hover { border-color: rgba(25, 184, 255, .4); background: rgba(25, 184, 255, .06); }
.connect code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 14px; color: var(--texte-2); }
.connect span { padding: 6px 12px; border-radius: 8px; font-size: 13px; font-weight: 600; background: rgba(255, 255, 255, .08); transition: background .3s, color .3s; }
.connect.copie span { background: #30d158; color: #00170a; }
.hero-statut { display: inline-flex; align-items: center; gap: 10px; margin-top: 26px; font-size: 14px; color: var(--texte-2); }
.point-vert { width: 9px; height: 9px; border-radius: 50%; background: #30d158; box-shadow: 0 0 0 0 rgba(48, 209, 88, .6); animation: pouls 2s infinite; }
@keyframes pouls { 70% { box-shadow: 0 0 0 10px rgba(48, 209, 88, 0); } 100% { box-shadow: 0 0 0 0 rgba(48, 209, 88, 0); } }
.pret .revele.hero-delai { transition-delay: .4s; }
.defiler { position: absolute; left: 50%; bottom: 28px; z-index: 3; transform: translateX(-50%); width: 26px; height: 42px; border: 1.5px solid rgba(255, 255, 255, .35); border-radius: 14px; }
.defiler span { position: absolute; left: 50%; top: 8px; width: 3px; height: 8px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: molette 2s var(--ease) infinite; }
@keyframes molette { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ---------------------------------------------------------------- bandeau */
.bandeau { position: relative; z-index: 2; overflow: hidden; padding: 26px 0; border-top: 1px solid var(--trait); border-bottom: 1px solid var(--trait); background: var(--fond); }
.bandeau-piste { display: flex; align-items: center; gap: 34px; width: max-content; animation: defilement 48s linear infinite; }
.bandeau-piste span { font-size: clamp(20px, 2.4vw, 30px); font-weight: 700; letter-spacing: -.02em; color: var(--texte-2); }
.bandeau-piste i { width: 8px; height: 8px; border-radius: 50%; background: var(--bleu); box-shadow: 0 0 14px var(--bleu); }
@keyframes defilement { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- manifeste (mot a mot) */
.manifeste { position: relative; z-index: 2; padding: clamp(140px, 22vw, 280px) var(--marge); max-width: 1200px; margin: 0 auto; }
.manifeste-texte { font-size: clamp(32px, 4.8vw, 64px); line-height: 1.15; font-weight: 700; letter-spacing: -.035em; }
.manifeste-texte .mot { color: rgba(255, 255, 255, .14); transition: color .5s; }
.manifeste-texte .mot.allume { color: #fff; }
.manifeste-texte .mot.accent.allume { color: var(--bleu); }

/* ---------------------------------------------------------------- bento */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 270px; gap: 18px; }
.tuile {
    position: relative; overflow: hidden; padding: 30px; border-radius: var(--rayon); background: var(--carte);
    border: 1px solid var(--trait); display: flex; flex-direction: column; justify-content: flex-end;
    transition: transform .6s var(--ease), border-color .4s, opacity 1.1s var(--ease);
    --x: 50%; --y: 50%;
}
.tuile::before { content: ''; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--x) var(--y), rgba(25, 184, 255, .16), transparent 45%); opacity: 0; transition: opacity .4s; }
.tuile:hover { border-color: rgba(25, 184, 255, .35); }
.tuile:hover::before { opacity: 1; }
.tuile[style*="--img"]::after { content: ''; position: absolute; inset: 0; z-index: 0; background: linear-gradient(180deg, rgba(5, 7, 11, .15), rgba(5, 7, 11, .92)), var(--img) center / cover; filter: grayscale(1); opacity: .9; transition: transform 1.2s var(--ease); }
.tuile[style*="--img"]:hover::after { transform: scale(1.05); }
.tuile > * { position: relative; z-index: 1; }
.tuile-large { grid-column: span 2; }
.tuile-haute { grid-row: span 2; }
.tuile-3 { grid-column: span 3; }
.tuile-icone { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: auto; background: rgba(25, 184, 255, .12); border: 1px solid rgba(25, 184, 255, .25); }
.tuile-icone svg { width: 24px; height: 24px; fill: var(--bleu); }
.tuile h3 { margin-top: 18px; font-size: 26px; font-weight: 700; letter-spacing: -.03em; }
.tuile p { margin-top: 8px; font-size: 15px; color: var(--texte-2); }

/* ---------------------------------------------------------------- etapes */
.etapes { position: relative; z-index: 2; height: 300vh; }
.etapes-colle { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(30px, 5vw, 90px); padding: 0 var(--marge); max-width: 1400px; margin: 0 auto; }
.etapes-images { position: relative; height: min(70vh, 640px); border-radius: 36px; overflow: hidden; border: 1px solid var(--trait); }
.etapes-image { position: absolute; inset: 0; background-size: cover; background-position: center; filter: grayscale(1) brightness(.8); opacity: 0; transform: scale(1.08); transition: opacity 1s var(--ease), transform 1.6s var(--ease); }
.etapes-image.actif { opacity: 1; transform: none; }
.etapes-images::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(5, 7, 11, .7)), radial-gradient(80% 60% at 80% 10%, rgba(25, 184, 255, .25), transparent 70%); }
.etapes-liste { list-style: none; margin: 26px 0 40px; display: flex; flex-direction: column; gap: 10px; }
.etapes-liste li { display: flex; gap: 20px; padding: 22px 0; border-top: 1px solid var(--trait); opacity: .32; transition: opacity .6s var(--ease); }
.etapes-liste li.actif { opacity: 1; }
.etape-num { flex-shrink: 0; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; border: 1px solid rgba(255, 255, 255, .25); transition: background .5s, color .5s, border-color .5s; }
.etapes-liste li.actif .etape-num { background: var(--bleu); border-color: var(--bleu); color: #001018; }
.etapes-liste h3 { font-size: clamp(24px, 2.6vw, 34px); font-weight: 700; letter-spacing: -.03em; line-height: 1.1; }
.etapes-liste p { margin-top: 8px; color: var(--texte-2); }

/* ---------------------------------------------------------------- VIP */
.vip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: center; }
.vip-carte {
    position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 30px; background: var(--fond-2);
    border: 1px solid var(--trait); transition: transform .6s var(--ease), box-shadow .6s var(--ease), border-color .4s, opacity 1.1s var(--ease);
}
.vip-carte img { width: 100%; aspect-ratio: 1 / .78; object-fit: cover; transition: transform 1.2s var(--ease); }
.vip-carte > div { padding: 24px 26px 28px; }
.vip-carte h3 { font-size: 26px; font-weight: 750; letter-spacing: -.03em; color: var(--teinte); }
.vip-carte p { margin-top: 4px; color: var(--texte-2); font-size: 15px; }
.vip-fleche { position: absolute; right: 24px; bottom: 28px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); transition: background .3s, transform .4s var(--ease); }
.vip-carte:hover { transform: translateY(-8px); border-color: color-mix(in srgb, var(--teinte) 50%, transparent); box-shadow: 0 30px 80px -30px color-mix(in srgb, var(--teinte) 60%, transparent); }
.vip-carte:hover img { transform: scale(1.06); }
.vip-carte:hover .vip-fleche { background: var(--teinte); color: #000; transform: translateX(4px); }
.vip-milieu { transform: scale(1.04); }
.vip-milieu:hover { transform: scale(1.04) translateY(-8px); }

/* ---------------------------------------------------------------- streamers */
.streamers { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 520px)); justify-content: center; gap: 22px; }
.streamer { position: relative; overflow: hidden; padding: 30px; border-radius: 30px; background: var(--carte); border: 1px solid var(--trait); }
.streamer::before { content: ''; position: absolute; width: 380px; height: 380px; right: -140px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(25, 184, 255, .22), transparent 65%); }
.streamer-haut { position: relative; display: flex; align-items: center; gap: 18px; }
.streamer-avatar { width: 74px; height: 74px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; font-weight: 800; background: linear-gradient(135deg, var(--bleu), var(--bleu-2)); color: #001018; box-shadow: 0 0 0 4px rgba(25, 184, 255, .2); }
.streamer h3 { font-size: 28px; font-weight: 800; letter-spacing: -.03em; }
.streamer-role { font-size: 14px; color: var(--texte-2); }
.streamer-boutons { position: relative; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.bouton-twitch { background: #9146ff; color: #fff; box-shadow: 0 10px 34px -12px rgba(145, 70, 255, .8); }
.bouton-twitch:hover { background: #a970ff; }
.bouton-kick { background: #53fc18; color: #051300; box-shadow: 0 10px 34px -12px rgba(83, 252, 24, .6); }
.bouton-kick:hover { background: #7bff4d; }
.streamer-direct { position: relative; margin-top: 22px; border-radius: 20px; overflow: hidden; aspect-ratio: 16 / 9; background: #000 center / cover; border: 1px solid var(--trait); }
.streamer-direct button { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at center, rgba(145, 70, 255, .35), rgba(0, 0, 0, .75)); font-weight: 600; }
.streamer-direct button span { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; background: rgba(255, 255, 255, .12); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.streamer-direct iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------------------------------------------------------------- discord */
.discord { position: relative; z-index: 2; min-height: 92vh; display: grid; place-items: center; overflow: hidden; padding: 140px var(--marge); text-align: center; }
.discord-fond { position: absolute; inset: 0; background-size: cover; background-position: center; filter: grayscale(1) brightness(.4); }
.discord::before { content: ''; position: absolute; inset: 0; z-index: 1; background: radial-gradient(60% 60% at 50% 55%, rgba(25, 184, 255, .3), transparent 70%), linear-gradient(180deg, var(--fond) 0%, rgba(5, 7, 11, .4) 30%, rgba(5, 7, 11, .4) 70%, var(--fond) 100%); }
.discord-perso { position: absolute; bottom: 0; z-index: 2; height: 74%; width: auto; filter: drop-shadow(0 0 50px rgba(25, 184, 255, .3)); opacity: .9; }
.discord-perso-g { left: max(-7vw, calc(50% - 980px)); }
.discord-perso-d { right: max(-7vw, calc(50% - 980px)); }
.discord-contenu { position: relative; z-index: 3; }
.discord-logo { width: 120px; margin: 0 auto 26px; filter: drop-shadow(0 0 30px rgba(25, 184, 255, .5)); animation: flotte 6s ease-in-out infinite; }
@keyframes flotte { 50% { transform: translateY(-10px); } }
.discord-compte { margin: 24px 0 0; display: inline-flex; gap: 22px; padding: 10px 18px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid var(--trait); font-size: 15px; color: var(--texte-2); }
.discord-compte b { color: #fff; font-weight: 700; }
.discord .bouton { margin-top: 34px; }
.discord-contenu .discord-compte + .bouton { margin-top: 26px; display: flex; width: max-content; margin-left: auto; margin-right: auto; }

/* ---------------------------------------------------------------- pied */
.pied { position: relative; z-index: 2; padding: 60px var(--marge) 40px; border-top: 1px solid var(--trait); max-width: 1320px; margin: 0 auto; }
.pied-haut { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.pied-logo { display: flex; align-items: center; gap: 12px; font-size: 22px; font-weight: 800; letter-spacing: -.03em; }
.pied-logo img { height: 34px; width: auto; filter: drop-shadow(0 0 14px rgba(25, 184, 255, .45)); }
.pied-liens { display: flex; gap: 28px; flex-wrap: wrap; }
.pied-liens a { color: var(--texte-2); font-size: 15px; transition: color .2s; }
.pied-liens a:hover { color: #fff; }
.pied-legal { margin-top: 36px; font-size: 13px; color: var(--texte-3); max-width: 760px; }

/* ---------------------------------------------------------------- adaptatif */
@media (max-width: 1080px) {
    .bento { grid-template-columns: repeat(2, 1fr); }
    .tuile-haute { grid-row: span 1; }
    .tuile-3 { grid-column: span 2; }
    .etapes-colle { grid-template-columns: 1fr; align-content: center; gap: 26px; }
    .etapes-images { height: 34vh; }
    .etapes-liste { margin: 16px 0 24px; }
    .etapes-liste li { padding: 14px 0; }
}
@media (max-width: 820px) {
    body { font-size: 16px; }
    .nav { gap: 12px; }
    .nav-liens, .nav > .bouton { display: none; }
    .nav-menu { display: block; }
    .hero-perso { right: -18%; height: 70%; opacity: .55; }
    .pret .hero-perso { opacity: .55; }
    .hero-voile { background: linear-gradient(180deg, rgba(5, 7, 11, .45) 0%, rgba(5, 7, 11, .55) 50%, var(--fond) 100%); }
    .bouton { height: 50px; padding: 0 22px; font-size: 15px; }
    .bento { grid-template-columns: 1fr; grid-auto-rows: auto; }
    .tuile { min-height: 230px; }
    .tuile-large, .tuile-3 { grid-column: span 1; }
    .vip { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
    .vip-milieu, .vip-milieu:hover { transform: none; }
    .discord-perso { height: 46%; opacity: .35; }
    .discord-perso-g { left: -24%; }
    .discord-perso-d { right: -24%; }
    .halo { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    html { scroll-behavior: auto; }
    .revele { opacity: 1; transform: none; }
}

/* ================================================================ page Règlement */
.rg-progression { position: fixed; top: 0; left: 0; right: 0; z-index: 60; height: 2px; pointer-events: none; }
.rg-progression i { display: block; height: 100%; background: linear-gradient(90deg, var(--bleu-2), var(--bleu)); box-shadow: 0 0 12px var(--bleu); transform-origin: left; transform: scaleX(0); }

/* en-tête */
.rg-hero { position: relative; z-index: 2; min-height: 92vh; min-height: 92svh; display: flex; align-items: flex-end; overflow: hidden; padding: 160px 0 clamp(70px, 9vw, 120px); }
.rg-hero-fond { position: absolute; inset: -8% 0 0; background-size: cover; background-position: center 40%; filter: grayscale(1) contrast(1.08) brightness(.55); transform: scale(1.08); will-change: transform; }
.rg-hero-voile {
    position: absolute; inset: 0;
    background:
        radial-gradient(90% 70% at 85% 10%, rgba(25, 184, 255, .26), transparent 60%),
        linear-gradient(180deg, rgba(5, 7, 11, .55) 0%, rgba(5, 7, 11, .35) 35%, rgba(5, 7, 11, .9) 80%, var(--fond) 100%);
}
.rg-hero-contenu { position: relative; z-index: 3; padding: 0 var(--marge); max-width: 1320px; width: 100%; margin: 0 auto; }
.rg-titre { margin: 20px 0 30px; font-size: clamp(50px, 9vw, 132px); line-height: .95; font-weight: 900; letter-spacing: -.055em; }
.rg-titre .ligne { display: block; overflow: hidden; padding-bottom: .08em; }
.rg-titre .ligne:nth-child(2) { font-size: .46em; letter-spacing: -.04em; line-height: 1.1; margin-top: .15em; }
.rg-titre .ligne > span { display: inline-block; transform: translateY(110%); transition: transform 1.3s var(--ease); }
.rg-titre .ligne:nth-child(2) > span { transition-delay: .14s; }
.pret .rg-titre .ligne > span { transform: none; }
.rg-chapo { max-width: 680px; font-size: clamp(17px, 1.6vw, 21px); color: var(--texte-2); }
.rg-chiffres { display: flex; flex-wrap: wrap; gap: clamp(28px, 5vw, 70px); margin-top: 46px; }
.rg-chiffres div { display: flex; flex-direction: column; }
.rg-chiffres b { font-size: clamp(38px, 4.4vw, 58px); font-weight: 800; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.rg-chiffres span { margin-top: 6px; font-size: 14px; color: var(--texte-3); }

/* trois piliers */
.rg-piliers { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 1320px; margin: 0 auto; padding: 0 var(--marge); }
.rg-pilier, .rg-carte, .rg-niveau { --x: 50%; --y: 50%; }
.rg-pilier { position: relative; overflow: hidden; padding: 34px 32px; border-radius: var(--rayon); background: var(--carte); border: 1px solid var(--trait); transition: border-color .4s, opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.rg-pilier::before, .rg-carte::before, .rg-niveau::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(380px circle at var(--x) var(--y), rgba(25, 184, 255, .14), transparent 45%); opacity: 0; transition: opacity .4s; }
.rg-pilier:hover::before, .rg-carte:hover::before, .rg-niveau:hover::before { opacity: 1; }
.rg-pilier:hover { border-color: rgba(25, 184, 255, .35); }
.rg-pilier span { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: var(--bleu); }
.rg-pilier h3 { margin: 40px 0 8px; font-size: clamp(28px, 3vw, 38px); font-weight: 800; letter-spacing: -.04em; }
.rg-pilier p { color: var(--texte-2); font-size: 15px; }

/* corps : sommaire collant + chapitres */
.rg-corps { position: relative; z-index: 2; display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); max-width: 1320px; margin: 0 auto; padding: clamp(100px, 12vw, 160px) var(--marge) 40px; }
.rg-cote-colle { position: sticky; top: 96px; }
.rg-recherche { display: flex; align-items: center; gap: 10px; height: 48px; padding: 0 14px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid var(--trait); transition: border-color .3s, background .3s, box-shadow .3s; cursor: text; }
.rg-recherche:focus-within { border-color: rgba(25, 184, 255, .55); background: rgba(25, 184, 255, .06); box-shadow: 0 0 0 4px rgba(25, 184, 255, .12); }
.rg-recherche svg { width: 18px; height: 18px; flex-shrink: 0; fill: var(--texte-3); }
.rg-recherche input { flex: 1; min-width: 0; height: 100%; background: none; border: 0; outline: 0; color: var(--texte); font: inherit; font-size: 15px; }
.rg-recherche input::placeholder { color: var(--texte-3); }
.rg-recherche input::-webkit-search-cancel-button { filter: invert(1) opacity(.5); }
.rg-recherche kbd { font-family: inherit; font-size: 12px; font-weight: 600; line-height: 1; padding: 4px 7px; border-radius: 6px; border: 1px solid var(--trait); color: var(--texte-3); }
.rg-recherche:focus-within kbd { display: none; }
.rg-resultat { margin: 12px 4px 0; font-size: 13px; font-weight: 600; color: var(--bleu); }
.rg-sommaire { display: flex; flex-direction: column; gap: 2px; margin-top: 26px; }
.rg-sommaire a { position: relative; display: flex; align-items: baseline; gap: 14px; padding: 9px 12px; border-radius: 10px; font-size: 15px; font-weight: 500; color: var(--texte-3); transition: color .3s, background .3s; }
.rg-sommaire a span { font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; opacity: .7; }
.rg-sommaire a:hover { color: var(--texte); background: rgba(255, 255, 255, .04); }
.rg-sommaire a.actif { color: var(--texte); background: rgba(25, 184, 255, .1); }
.rg-sommaire a.actif span { color: var(--bleu); opacity: 1; }
.rg-sommaire a::before { content: ''; position: absolute; left: 0; top: 50%; width: 3px; height: 0; border-radius: 3px; background: var(--bleu); transition: height .4s var(--ease), margin-top .4s var(--ease); }
.rg-sommaire a.actif::before { height: 18px; margin-top: -9px; }

.rg-chapitre { scroll-margin-top: 100px; padding-bottom: clamp(90px, 11vw, 150px); }
.rg-tete { margin-bottom: 40px; }
.rg-num { display: inline-block; font-size: 14px; font-weight: 700; letter-spacing: .14em; color: var(--bleu); }
.rg-tete h2 { margin-top: 12px; font-size: clamp(38px, 5vw, 68px); line-height: 1.02; font-weight: 800; letter-spacing: -.045em; }
.rg-tete p { margin-top: 10px; font-size: clamp(20px, 2.2vw, 28px); font-weight: 600; letter-spacing: -.02em; color: var(--texte-3); }
.rg-intro { max-width: 760px; margin-bottom: 36px; font-size: clamp(17px, 1.5vw, 19px); color: var(--texte-2); }

.masque { display: none !important; }
.en-recherche .rg-intro { display: none; }
.rg-sommaire a.eteint { opacity: .3; pointer-events: none; }
.en-recherche .trouve.rg-ligne, .en-recherche .trouve.rg-carte, .en-recherche .trouve.rg-question, .en-recherche .trouve.rg-niveau { box-shadow: inset 3px 0 0 var(--bleu); }

/* lignes : fiche technique */
.rg-lignes { border-top: 1px solid var(--trait); }
.rg-ligne { display: grid; grid-template-columns: minmax(170px, 260px) 1fr; gap: 12px 40px; padding: 26px 0 26px 4px; border-bottom: 1px solid var(--trait); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease), background .3s; }
.rg-ligne:hover { background: linear-gradient(90deg, rgba(25, 184, 255, .05), transparent 70%); }
.rg-ligne dt { font-size: 17px; font-weight: 700; letter-spacing: -.015em; }
.rg-ligne dd { color: var(--texte-2); }
.rg-fort dt { color: #ff9f0a; }

/* cartes : lexique */
.rg-cartes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.rg-carte { position: relative; overflow: hidden; padding: 28px 28px 30px; border-radius: 22px; background: var(--carte); border: 1px solid var(--trait); transition: border-color .4s, opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.rg-carte:hover { border-color: rgba(25, 184, 255, .35); }
.rg-carte h4 { position: relative; font-size: 21px; font-weight: 750; letter-spacing: -.025em; }
.rg-carte p { position: relative; margin-top: 10px; font-size: 15px; color: var(--texte-2); }

/* FAQ en accordéon */
.rg-faq { border-top: 1px solid var(--trait); }
.rg-question { border-bottom: 1px solid var(--trait); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.rg-question summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 4px; list-style: none; cursor: pointer; font-size: clamp(18px, 1.8vw, 22px); font-weight: 650; letter-spacing: -.02em; transition: color .25s; }
.rg-question summary::-webkit-details-marker { display: none; }
.rg-question summary:hover { color: var(--bleu); }
.rg-question summary i { position: relative; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%; color: var(--texte); background: rgba(255, 255, 255, .07); transition: background .3s, color .3s, transform .5s var(--ease); }
.rg-question summary i::before, .rg-question summary i::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; margin: -.8px 0 0 -6px; border-radius: 2px; background: currentColor; transition: transform .5s var(--ease); }
.rg-question summary i::after { transform: rotate(90deg); }
.rg-question.ouvert summary i { background: var(--bleu); color: #001018; transform: rotate(180deg); }
.rg-question.ouvert summary i::after { transform: rotate(0deg); }
.rg-reponse { overflow: hidden; transition: height .5s var(--ease); }
.rg-reponse p { padding: 0 60px 28px 4px; color: var(--texte-2); font-size: 17px; max-width: 760px; }

/* répertoire */
.rg-repertoire { margin-top: 56px; padding: clamp(26px, 3.5vw, 40px); border-radius: var(--rayon); background: linear-gradient(160deg, rgba(25, 184, 255, .08), rgba(255, 255, 255, .02) 55%); border: 1px solid var(--trait); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.rg-repertoire h4 { display: flex; align-items: center; gap: 12px; font-size: 21px; font-weight: 750; letter-spacing: -.02em; }
.rg-repertoire h4 span { font-size: 13px; padding: 3px 10px; border-radius: 999px; background: rgba(25, 184, 255, .15); color: var(--bleu); }
.rg-repertoire ul { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.rg-repertoire li { padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; background: rgba(255, 255, 255, .06); border: 1px solid var(--trait); transition: background .3s, border-color .3s, transform .4s var(--ease); }
.rg-repertoire li:hover { background: rgba(25, 184, 255, .12); border-color: rgba(25, 184, 255, .4); transform: translateY(-2px); }
.en-recherche .rg-repertoire li.trouve { background: rgba(25, 184, 255, .2); border-color: var(--bleu); }

/* échelle des sanctions */
.rg-echelle { list-style: none; display: grid; gap: 10px; margin-bottom: 26px; }
.rg-niveau { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(170px, 230px) 1fr minmax(90px, 150px); grid-template-areas: "num p barre" "h4 p barre"; align-items: center; column-gap: 32px; padding: 22px 28px; border-radius: 22px; background: var(--carte); border: 1px solid var(--trait); transition: border-color .4s, opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.rg-niveau:hover { border-color: color-mix(in srgb, var(--couleur) 50%, transparent); }
.rg-niveau:nth-child(1) { --couleur: #30d158; }
.rg-niveau:nth-child(2) { --couleur: #ffd60a; }
.rg-niveau:nth-child(3) { --couleur: #ff9f0a; }
.rg-niveau:nth-child(4) { --couleur: #ff6b3d; }
.rg-niveau:nth-child(5) { --couleur: #ff375f; }
.rg-niveau-barre { grid-area: barre; display: block; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.rg-niveau-barre i { display: block; height: 100%; width: calc(20% + var(--n) * 20%); background: var(--couleur); box-shadow: 0 0 12px var(--couleur); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease) calc(.25s + var(--n) * .12s); }
.rg-niveau.vu .rg-niveau-barre i { transform: none; }
.rg-niveau-num { grid-area: num; align-self: end; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--couleur); }
.rg-niveau h4 { grid-area: h4; align-self: start; margin-top: 4px; font-size: 20px; font-weight: 750; letter-spacing: -.025em; line-height: 1.15; }
.rg-niveau p { grid-area: p; font-size: 15px; color: var(--texte-2); }
.rg-alerte { display: flex; gap: 14px; align-items: flex-start; margin-bottom: 40px; padding: 20px 22px; border-radius: 18px; background: rgba(255, 55, 95, .08); border: 1px solid rgba(255, 55, 95, .3); color: #ffd0da; font-size: 15px; font-weight: 500; transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.rg-alerte svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 1px; fill: #ff375f; }
.rg-vide { padding: 60px 0; text-align: center; font-size: 19px; color: var(--texte-3); }

/* engagement */
.rg-engagement { position: relative; z-index: 2; min-height: 100vh; min-height: 100svh; display: grid; place-items: center; overflow: hidden; padding: 140px var(--marge); text-align: center; }
.rg-engagement-fond { position: absolute; inset: 0; background-size: cover; background-position: center; filter: grayscale(1) brightness(.32); }
.rg-engagement::before { content: ''; position: absolute; inset: 0; z-index: 1; background: radial-gradient(55% 55% at 50% 50%, rgba(25, 184, 255, .22), transparent 70%), linear-gradient(180deg, var(--fond) 0%, rgba(5, 7, 11, .3) 30%, rgba(5, 7, 11, .3) 70%, var(--fond) 100%); }
.rg-engagement-contenu { position: relative; z-index: 2; max-width: 1060px; }
.rg-engagement .surtitre { margin-top: 10px; }
.rg-citation { margin-top: 30px; font-size: clamp(30px, 4.4vw, 58px); line-height: 1.14; font-weight: 750; letter-spacing: -.035em; }
.rg-citation .mot { color: rgba(255, 255, 255, .16); transition: color .5s; }
.rg-citation .mot.allume { color: #fff; }
.rg-citation-suite { max-width: 620px; margin: 30px auto 0; font-size: clamp(17px, 1.6vw, 20px); color: var(--texte-2); }
.rg-engagement-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 46px; }

@media (max-width: 920px) {
    .rg-corps { grid-template-columns: minmax(0, 1fr); gap: 0; padding-top: 80px; }
    .rg-cote { min-width: 0; }
    .rg-cote { position: sticky; top: 0; z-index: 20; margin: 0 calc(var(--marge) * -1) 50px; padding: 70px var(--marge) 10px; background: rgba(5, 7, 11, .86); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); border-bottom: 1px solid var(--trait); }
    .rg-cote-colle { position: static; }
    .rg-recherche { height: 42px; }
    .rg-recherche kbd { display: none; }
    .rg-resultat { margin-top: 8px; }
    .rg-sommaire { flex-direction: row; gap: 6px; margin: 10px calc(var(--marge) * -1) 0; padding: 0 var(--marge); overflow-x: auto; scrollbar-width: none; }
    .rg-sommaire::-webkit-scrollbar { display: none; }
    .rg-sommaire a { flex-shrink: 0; padding: 7px 13px; border-radius: 999px; font-size: 14px; white-space: nowrap; background: rgba(255, 255, 255, .05); }
    .rg-sommaire a::before { display: none; }
    .rg-chapitre { scroll-margin-top: 200px; }
    .rg-piliers { grid-template-columns: 1fr; }
    .rg-pilier h3 { margin-top: 22px; }
}
@media (max-width: 820px) {
    .rg-cartes { grid-template-columns: 1fr; }
    .rg-ligne { grid-template-columns: 1fr; gap: 6px; padding: 22px 0; }
    .rg-reponse p { padding-right: 4px; }
    .rg-niveau { grid-template-columns: 1fr; grid-template-areas: "barre" "num" "h4" "p"; padding: 22px; }
    .rg-niveau-num { margin-top: 16px; }
    .rg-niveau p { margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .rg-titre .ligne > span, .rg-niveau-barre i { transform: none; }
}

/* ================================================================ en-tête commun des pages secondaires */
.ph-hero { position: relative; z-index: 2; min-height: 88vh; min-height: 88svh; display: flex; align-items: flex-end; overflow: hidden; padding: 150px 0 clamp(70px, 9vw, 120px); }
.ph-hero-fond { position: absolute; inset: -8% 0 0; background-size: cover; background-position: center 40%; filter: grayscale(1) contrast(1.08) brightness(.5); transform: scale(1.08); will-change: transform; }
.ph-hero-voile {
    position: absolute; inset: 0;
    background:
        radial-gradient(90% 70% at 85% 10%, rgba(25, 184, 255, .26), transparent 60%),
        linear-gradient(180deg, rgba(5, 7, 11, .55) 0%, rgba(5, 7, 11, .35) 35%, rgba(5, 7, 11, .9) 80%, var(--fond) 100%),
        linear-gradient(90deg, rgba(5, 7, 11, .7) 0%, transparent 60%);
}
.ph-hero-contenu { position: relative; z-index: 3; padding: 0 var(--marge); max-width: 1320px; width: 100%; margin: 0 auto; }
.ph-titre { margin: 20px 0 30px; font-size: clamp(50px, 9vw, 132px); line-height: .95; font-weight: 900; letter-spacing: -.055em; }
.ph-titre .ligne { display: block; overflow: hidden; padding-bottom: .08em; }
.ph-titre .ligne:nth-child(2) { font-size: .4em; letter-spacing: -.035em; line-height: 1.12; margin-top: .15em; }
.ph-titre .ligne > span { display: inline-block; transform: translateY(110%); transition: transform 1.3s var(--ease); }
.ph-titre .ligne:nth-child(2) > span { transition-delay: .14s; }
.pret .ph-titre .ligne > span { transform: none; }
.ph-chapo { max-width: 640px; font-size: clamp(17px, 1.6vw, 21px); color: var(--texte-2); }

/* ================================================================ page Entreprises */
.en-nuage { position: absolute; z-index: 2; top: max(340px, 41%); right: max(10px, calc(50% - 690px)); bottom: 50px; width: min(40vw, 560px); pointer-events: none; }
.en-bulle {
    position: absolute; left: var(--l); top: var(--t); width: calc(96px * var(--s)); height: calc(96px * var(--s));
    display: grid; place-items: center; border-radius: 30%; padding: 14px;
    background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .14), rgba(255, 255, 255, .03) 70%);
    border: 1px solid rgba(255, 255, 255, .1); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 20px 50px -20px color-mix(in srgb, var(--c) 70%, transparent), inset 0 1px 0 rgba(255, 255, 255, .12);
    opacity: 0; transform: scale(.6); transition: opacity 1.2s var(--ease) calc(.3s + var(--d) * .25), transform 1.2s var(--ease) calc(.3s + var(--d) * .25), translate .9s var(--ease);
}
.pret .en-bulle { opacity: 1; transform: none; }
.en-bulle img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .5)); animation: flotte 6s ease-in-out infinite; animation-delay: calc(var(--d) * -2); }

.en-annuaire { position: relative; z-index: 2; max-width: 1320px; margin: 0 auto; padding: clamp(50px, 6vw, 80px) var(--marge) 40px; }
.en-barre {
    position: sticky; top: 84px; z-index: 20; display: flex; align-items: center; gap: 16px; margin-bottom: 40px;
    padding: 8px; border-radius: 20px; background: rgba(10, 12, 18, .72); border: 1px solid var(--trait);
    backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
}
.en-filtres { position: relative; display: flex; gap: 2px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.en-filtres::-webkit-scrollbar { display: none; }
.en-filtre { position: relative; z-index: 1; flex-shrink: 0; height: 40px; padding: 0 16px; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--texte-2); white-space: nowrap; transition: color .3s; }
.en-filtre:hover { color: var(--texte); }
.en-filtre.actif { color: #001018; }
.en-filtre-curseur { position: absolute; left: 0; top: 0; height: 40px; border-radius: 12px; background: var(--bleu); box-shadow: 0 8px 24px -8px rgba(25, 184, 255, .8); transition: transform .5s var(--ease), width .5s var(--ease); }
.en-recherche { width: 280px; flex-shrink: 0; height: 40px; border-radius: 12px; }

.en-grille { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.en-carte {
    --marque: var(--bleu); --x: 50%; --y: 50%;
    position: relative; overflow: hidden; display: flex; flex-direction: column; border-radius: 30px;
    background: var(--carte); border: 1px solid var(--trait);
    transition: border-color .4s, box-shadow .6s var(--ease), opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.en-carte[hidden] { display: none; }
.en-carte::before { content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; background: radial-gradient(420px circle at var(--x) var(--y), color-mix(in srgb, var(--marque) 16%, transparent), transparent 45%); opacity: 0; transition: opacity .4s; }
.en-carte:hover { border-color: color-mix(in srgb, var(--marque) 45%, transparent); box-shadow: 0 40px 90px -50px color-mix(in srgb, var(--marque) 70%, transparent); }
.en-carte:hover::before { opacity: 1; }
.en-carte > * { position: relative; z-index: 1; }
.en-visuel { position: relative; height: 230px; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid var(--trait); background: linear-gradient(180deg, color-mix(in srgb, var(--marque) 10%, transparent), transparent); }
.en-aura { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--marque) 45%, transparent), transparent 65%); filter: blur(10px); opacity: .55; transition: opacity .6s, transform 1.2s var(--ease); }
.en-carte:hover .en-aura { opacity: .9; transform: scale(1.15); }
.en-logo { position: relative; width: 150px; height: 150px; transition: transform .5s var(--ease); will-change: transform; }
.en-logo img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .55)); user-select: none; }
.en-badge { width: 100%; height: 100%; display: grid; place-items: center; border-radius: 34%; background: linear-gradient(145deg, color-mix(in srgb, var(--marque) 85%, #fff), color-mix(in srgb, var(--marque) 70%, #000)); box-shadow: 0 18px 40px -12px color-mix(in srgb, var(--marque) 80%, transparent), inset 0 2px 0 rgba(255, 255, 255, .35); }
.en-badge b { font-size: 44px; font-weight: 900; letter-spacing: -.05em; color: #fff; text-shadow: 0 3px 12px rgba(0, 0, 0, .3); }
.en-infos { display: flex; flex-direction: column; flex: 1; padding: 26px 28px 28px; }
.en-secteur { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--marque); filter: brightness(1.25); }
.en-infos h3 { margin-top: 8px; font-size: 28px; line-height: 1.05; font-weight: 800; letter-spacing: -.035em; }
.en-sous { margin-top: 4px; font-size: 14px; color: var(--texte-3); }
.en-texte { margin-top: 14px; font-size: 15px; color: var(--texte-2); }
.en-lieu { display: flex; align-items: center; gap: 6px; margin: 16px 0 22px; font-size: 13px; font-weight: 500; color: var(--texte-3); }
.en-lieu svg, .en-magasin small svg { width: 14px; height: 14px; fill: currentColor; flex-shrink: 0; }
.en-discords { display: flex; flex-direction: column; gap: 8px; margin-top: auto; }
.en-discord { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 16px; border-radius: 16px; background: #5865f2; color: #fff; box-shadow: 0 12px 30px -14px rgba(88, 101, 242, .9); transition: background .25s, transform .35s var(--ease), box-shadow .35s; }
.en-discord:hover { background: #6b77ff; transform: translateY(-2px); box-shadow: 0 16px 36px -14px rgba(88, 101, 242, 1); }
.en-discord svg { width: 22px; height: 22px; flex-shrink: 0; fill: currentColor; }
.en-discord > span { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.en-discord b { font-size: 15px; font-weight: 700; }
.en-discord small { font-size: 12px; opacity: .78; }
.en-bientot { background: rgba(255, 255, 255, .05); color: var(--texte-2); box-shadow: none; border: 1px dashed rgba(255, 255, 255, .16); cursor: default; }
.en-bientot:hover { background: rgba(255, 255, 255, .07); transform: none; box-shadow: none; }
.en-bientot svg { fill: #8b93ff; opacity: .7; }

/* carte des supérettes */
.en-groupe { grid-column: 1 / -1; }
.en-groupe-tete { display: grid; grid-template-columns: 300px 1fr; border-bottom: 1px solid var(--trait); }
.en-groupe-tete .en-visuel { height: auto; min-height: 240px; border-bottom: 0; border-right: 1px solid var(--trait); }
.en-groupe-tete .en-infos { justify-content: center; padding: 34px 40px; }
.en-groupe-tete h3 { font-size: clamp(30px, 3.4vw, 44px); }
.en-groupe-tete .en-texte { max-width: 620px; }
.en-magasins { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); }
.en-magasin { display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-right: 1px solid var(--trait); border-bottom: 1px solid var(--trait); transition: background .3s; }
.en-magasin:nth-child(3n) { border-right: 0; }
.en-magasin:nth-last-child(-n+3) { border-bottom: 0; }
.en-magasin:hover { background: rgba(255, 255, 255, .03); }
.en-magasin.trouve { background: color-mix(in srgb, var(--marque) 12%, transparent); }
.en-magasin > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.en-magasin b { font-size: 16px; font-weight: 700; letter-spacing: -.01em; }
.en-magasin small { display: flex; align-items: center; gap: 5px; margin-top: 2px; font-size: 13px; color: var(--texte-3); }
.en-magasin-num { font-size: 12px; font-weight: 700; color: var(--marque); font-variant-numeric: tabular-nums; }
.en-discord-mini { min-height: 40px; padding: 6px 12px; border-radius: 12px; gap: 8px; flex-shrink: 0; }
.en-discord-mini svg { width: 18px; height: 18px; }
.en-discord-mini b { font-size: 13px; }
.en-discord-mini small { display: none; }
.en-discord-mini.en-bientot b::after { content: ' · bientôt'; font-weight: 500; opacity: .7; }

.en-etapes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.en-note { max-width: 560px; margin: 0 auto 26px; }

/* bande de logos de l'accueil */
.marques { position: relative; z-index: 2; padding: clamp(110px, 14vw, 180px) 0; overflow: hidden; }
.marques .tete-section { padding: 0 var(--marge); }
.marques-rangee { display: flex; width: max-content; gap: 22px; padding: 11px 0; animation: defilement 60s linear infinite; }
.marques-rangee.inverse { animation-direction: reverse; animation-duration: 70s; }
.marques:hover .marques-rangee { animation-play-state: paused; }
.marques-rangee a { flex-shrink: 0; width: 150px; height: 150px; display: grid; place-items: center; padding: 22px; border-radius: 34px; background: var(--carte); border: 1px solid var(--trait); transition: border-color .4s, background .4s, transform .5s var(--ease); }
.marques-rangee a:hover { border-color: rgba(25, 184, 255, .4); background: rgba(25, 184, 255, .06); transform: translateY(-6px); }
.marques-rangee img { width: 100%; height: 100%; object-fit: contain; filter: grayscale(1) brightness(1.2) drop-shadow(0 10px 18px rgba(0, 0, 0, .5)); opacity: .75; transition: filter .5s, opacity .5s; }
.marques-rangee a:hover img { filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .5)); opacity: 1; }
.marques-masque { -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }

/* ================================================================ page Meetapedia (même organisation qu'en jeu) */
.mp-hero { min-height: 78vh; min-height: 78svh; }
.mp-zone { position: relative; z-index: 2; max-width: 1320px; margin: 0 auto; padding: clamp(40px, 5vw, 70px) var(--marge) clamp(100px, 12vw, 160px); }
.mp-panneau { border-radius: 24px; background: rgba(0, 0, 0, .45); border: 2px solid rgba(255, 255, 255, .1); box-shadow: 0 60px 120px -60px rgba(25, 184, 255, .35); }
.mp-tete {
    position: sticky; top: 84px; z-index: 15; display: flex; align-items: center; gap: 18px; min-height: 72px; padding: 10px 14px 10px 28px;
    border-radius: 22px 22px 0 0; background: rgba(8, 10, 15, .9); border-bottom: 2px solid rgba(255, 255, 255, .1);
    backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
}
.mp-marque { display: flex; align-items: center; gap: 10px; flex-shrink: 0; font-size: 17px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; }
.mp-marque img { height: 24px; width: auto; filter: drop-shadow(0 0 10px rgba(25, 184, 255, .5)); }
.mp-categories { display: flex; gap: 4px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.mp-categories::-webkit-scrollbar { display: none; }
.mp-categorie { flex-shrink: 0; padding: 10px 15px; border-radius: 10px; font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; white-space: nowrap; color: rgba(255, 255, 255, .45); transition: background .2s, color .2s; }
.mp-categorie:hover { background: rgba(255, 255, 255, .05); color: rgba(255, 255, 255, .85); }
.mp-categorie.active { background: rgba(25, 184, 255, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(25, 184, 255, .35); }
.mp-recherche { width: 230px; flex-shrink: 0; height: 42px; border-radius: 12px; }

.mp-corps { display: grid; grid-template-columns: 290px minmax(0, 1fr); }
.mp-corps::before { content: ''; grid-row: 1; grid-column: 1; background: rgba(0, 0, 0, .3); border-right: 2px solid rgba(255, 255, 255, .1); border-radius: 0 0 0 22px; }
.mp-nav { grid-row: 1; grid-column: 1; align-self: start; position: sticky; top: 158px; display: flex; flex-direction: column; gap: 2px; padding: 20px 14px; max-height: calc(100vh - 170px); overflow-y: auto; }
.mp-onglet { display: flex; flex-direction: column; align-items: flex-start; width: 100%; padding: 13px 14px; border-radius: 10px; text-align: left; font-size: 14px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: rgba(255, 255, 255, .6); transition: background .2s, color .2s; }
.mp-onglet small { font-size: 10px; letter-spacing: 1.2px; color: var(--bleu); opacity: .8; margin-bottom: 2px; }
.mp-onglet:hover { background: rgba(255, 255, 255, .05); color: rgba(255, 255, 255, .9); }
.mp-onglet.active { background: rgba(255, 255, 255, .08); color: #fff; box-shadow: inset 3px 0 0 var(--bleu); }
.mp-nav-vide { padding: 14px; font-size: 14px; color: var(--texte-3); }
.mp-contenu { grid-row: 1; grid-column: 2; min-width: 0; padding: clamp(28px, 3.5vw, 48px) clamp(24px, 4vw, 56px) 48px; }
.mp-vide { padding: 40px 0; color: rgba(255, 255, 255, .35); font-style: italic; }
.mp-fiche { opacity: 0; transform: translateY(14px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.mp-fiche.entree { opacity: 1; transform: none; }
.mp-fiche-categorie { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--bleu); }
.mp-fiche-titre { margin-top: 10px; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.05; font-weight: 800; letter-spacing: -.035em; }
.mp-fiche-resume { margin: 12px 0 34px; padding-bottom: 26px; border-bottom: 2px solid rgba(255, 255, 255, .1); font-size: clamp(16px, 1.4vw, 18px); color: rgba(255, 255, 255, .55); max-width: 760px; }
.mp-section { margin-bottom: 36px; }
.mp-section-titre { margin-bottom: 14px; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255, 255, 255, .42); }
.mp-lignes { display: grid; gap: 12px; }
.mp-ligne { --x: 50%; --y: 50%; position: relative; overflow: hidden; padding: 18px 20px; border-radius: 14px; background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .06); transition: border-color .3s; }
.mp-ligne::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(300px circle at var(--x) var(--y), rgba(25, 184, 255, .1), transparent 50%); opacity: 0; transition: opacity .3s; }
.mp-ligne:hover { border-color: rgba(255, 255, 255, .14); }
.mp-ligne:hover::before { opacity: 1; }
.mp-ligne-titre { position: relative; font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.mp-ligne-texte { position: relative; font-size: 15px; line-height: 1.6; color: rgba(255, 255, 255, .66); }
.mp-ligne.avertissement { border-color: rgba(239, 68, 68, .3); background: rgba(239, 68, 68, .06); }
.mp-ligne.avertissement .mp-ligne-titre { color: #ef4444; }
.mp-tableau-defile { overflow-x: auto; }
.mp-tableau { width: 100%; border-collapse: separate; border-spacing: 0 6px; font-size: 14px; }
.mp-tableau th { padding: 0 16px 6px; text-align: left; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(255, 255, 255, .4); white-space: nowrap; }
.mp-tableau td { padding: 13px 16px; color: rgba(255, 255, 255, .75); background: rgba(0, 0, 0, .3); }
.mp-tableau td:first-child { border-radius: 10px 0 0 10px; color: #fff; font-weight: 600; }
.mp-tableau td:last-child { border-radius: 0 10px 10px 0; }
.mp-tableau tr:hover td { background: rgba(25, 184, 255, .07); }
.mp-voisines { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 50px; padding-top: 26px; border-top: 2px solid rgba(255, 255, 255, .08); }
.mp-voisine { display: flex; flex-direction: column; gap: 4px; padding: 16px 20px; border-radius: 16px; background: rgba(255, 255, 255, .04); border: 1px solid var(--trait); text-align: left; transition: border-color .3s, background .3s, transform .4s var(--ease); }
.mp-voisine:hover { border-color: rgba(25, 184, 255, .4); background: rgba(25, 184, 255, .06); transform: translateY(-2px); }
.mp-voisine small { font-size: 12px; color: var(--texte-3); }
.mp-voisine span { font-size: 16px; font-weight: 700; }
.mp-suiv { text-align: right; align-items: flex-end; }

@media (max-width: 1080px) {
    .en-grille { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .en-magasins { grid-template-columns: repeat(2, 1fr); }
    .en-magasin:nth-child(3n) { border-right: 1px solid var(--trait); }
    .en-magasin:nth-child(2n) { border-right: 0; }
    .en-magasin:nth-last-child(-n+3) { border-bottom: 1px solid var(--trait); }
    .en-magasin:nth-last-child(-n+2) { border-bottom: 0; }
    .en-nuage { opacity: .45; }
    .mp-tete { flex-wrap: wrap; padding: 12px 14px; }
    .mp-categories { order: 3; flex-basis: 100%; }
    .mp-recherche { margin-left: auto; }
    .mp-nav { top: 210px; max-height: calc(100vh - 220px); }
    .mp-corps { grid-template-columns: 240px minmax(0, 1fr); }
}
@media (max-width: 820px) {
    .en-nuage { display: none; }
    .en-barre { flex-direction: column; align-items: stretch; top: 0; gap: 8px; margin: 0 calc(var(--marge) * -1) 30px; border-radius: 0; border-left: 0; border-right: 0; border-top: 0; padding: 72px var(--marge) 10px; }
    .en-recherche { width: 100%; order: -1; }
    .en-grille { grid-template-columns: minmax(0, 1fr); }
    .en-groupe-tete { grid-template-columns: 1fr; }
    .en-groupe-tete .en-visuel { min-height: 200px; border-right: 0; border-bottom: 1px solid var(--trait); }
    .en-groupe-tete .en-infos { padding: 26px 24px; }
    .en-magasins { grid-template-columns: 1fr; }
    .en-magasin, .en-magasin:nth-child(3n), .en-magasin:nth-child(2n) { border-right: 0; border-bottom: 1px solid var(--trait); }
    .en-magasin:nth-last-child(-n+2) { border-bottom: 1px solid var(--trait); }
    .en-magasin:last-child { border-bottom: 0; }
    .en-etapes { grid-template-columns: 1fr; }
    .marques-rangee a { width: 112px; height: 112px; padding: 16px; border-radius: 26px; }
    .mp-zone { padding-left: 0; padding-right: 0; }
    .mp-panneau { border-radius: 0; border-left: 0; border-right: 0; }
    .mp-tete { top: 0; border-radius: 0; padding: 72px var(--marge) 10px; gap: 10px; }
    .mp-marque { display: none; }
    .mp-recherche { width: 100%; margin: 0; order: -1; }
    .mp-corps { grid-template-columns: minmax(0, 1fr); }
    .mp-corps::before { display: none; }
    .mp-nav { grid-row: 1; grid-column: 1; position: static; flex-direction: row; gap: 6px; max-height: none; overflow-x: auto; padding: 14px var(--marge); border-bottom: 2px solid rgba(255, 255, 255, .08); scrollbar-width: none; }
    .mp-nav::-webkit-scrollbar { display: none; }
    .mp-onglet { flex-shrink: 0; width: auto; padding: 9px 14px; border-radius: 999px; font-size: 12px; white-space: nowrap; background: rgba(255, 255, 255, .05); }
    .mp-onglet.active { box-shadow: inset 0 0 0 1px var(--bleu); }
    .mp-contenu { grid-row: 2; grid-column: 1; padding: 28px var(--marge) 40px; }
    .mp-voisines { grid-template-columns: 1fr; }
    .mp-suiv { text-align: left; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
    .ph-titre .ligne > span { transform: none; }
    .en-bulle { opacity: 1; transform: none; }
}

/* ================================================================ fiches métier (/metiers/<job>) */
.page-metier { --marque: var(--bleu); }
.mt-degrade { background: linear-gradient(100deg, #fff 0%, var(--marque) 55%, color-mix(in srgb, var(--marque) 70%, #ff2d55) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mt-hero { min-height: 92vh; min-height: 92svh; }
.mt-voile { background:
    radial-gradient(70% 60% at 80% 30%, color-mix(in srgb, var(--marque) 30%, transparent), transparent 65%),
    linear-gradient(180deg, rgba(5, 7, 11, .5) 0%, rgba(5, 7, 11, .3) 35%, rgba(5, 7, 11, .9) 82%, var(--fond) 100%),
    linear-gradient(90deg, rgba(5, 7, 11, .75) 0%, transparent 65%); }
.mt-retour { display: inline-block; margin-bottom: 26px; font-size: 14px; font-weight: 600; color: var(--texte-2); transition: color .25s, transform .3s var(--ease); }
.mt-retour:hover { color: #fff; transform: translateX(-4px); }
.mt-hero-grille { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 40px; }
.mt-hero-logo { position: relative; width: clamp(180px, 24vw, 340px); aspect-ratio: 1; display: grid; place-items: center; }
.mt-hero-logo .en-aura { width: 130%; height: 130%; opacity: .7; --marque: inherit; background: radial-gradient(circle, color-mix(in srgb, var(--marque) 50%, transparent), transparent 65%); }
.mt-hero-logo img { position: relative; width: 100%; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .6)); animation: flotte 7s ease-in-out infinite; }

.mt-chiffres { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; max-width: 1320px; margin: 0 auto; padding: 0 var(--marge); }
.mt-chiffre { padding: 26px 24px; border-radius: 24px; background: var(--carte); border: 1px solid var(--trait); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.mt-chiffre b { display: block; font-size: clamp(30px, 3vw, 42px); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--marque); filter: brightness(1.15); }
.mt-chiffre span { display: block; margin-top: 10px; font-size: 14px; color: var(--texte-2); }

.mt-sommaire {
    position: sticky; top: 84px; z-index: 20; display: flex; gap: 4px; width: max-content; max-width: calc(100% - 2 * var(--marge)); margin: 60px auto 0; padding: 6px;
    border-radius: 999px; background: rgba(10, 12, 18, .75); border: 1px solid var(--trait); overflow-x: auto; scrollbar-width: none;
    backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4);
}
.mt-sommaire::-webkit-scrollbar { display: none; }
.mt-sommaire a { flex-shrink: 0; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--texte-2); white-space: nowrap; transition: background .3s, color .3s; }
.mt-sommaire a:hover { color: #fff; }
.mt-sommaire a.actif { background: var(--marque); color: #120800; }

.mt-section { position: relative; z-index: 2; max-width: 1320px; margin: 0 auto; padding: clamp(100px, 12vw, 160px) var(--marge) 0; scroll-margin-top: 90px; }
.mt-tete { max-width: 820px; margin-bottom: 48px; }
.mt-num { font-size: 14px; font-weight: 700; letter-spacing: .14em; color: var(--marque); filter: brightness(1.15); }
.mt-tete h2 { margin-top: 12px; font-size: clamp(40px, 5.6vw, 76px); line-height: 1.02; font-weight: 800; letter-spacing: -.045em; }
.mt-tete p { margin-top: 18px; font-size: clamp(17px, 1.6vw, 21px); color: var(--texte-2); }

.mt-cartes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mt-cartes-4 { grid-template-columns: repeat(4, 1fr); }
.mt-carte { --x: 50%; --y: 50%; position: relative; overflow: hidden; padding: 30px 28px; border-radius: 26px; background: var(--carte); border: 1px solid var(--trait); transition: border-color .4s, opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.mt-carte::before, .mt-paie::before, .mt-recette::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(400px circle at var(--x) var(--y), color-mix(in srgb, var(--marque) 14%, transparent), transparent 45%); opacity: 0; transition: opacity .4s; }
.mt-carte:hover, .mt-paie:hover, .mt-recette:hover { border-color: color-mix(in srgb, var(--marque) 40%, transparent); }
.mt-carte:hover::before, .mt-paie:hover::before, .mt-recette:hover::before { opacity: 1; }
.mt-carte > *, .mt-paie > * { position: relative; }
.mt-touche { display: inline-block; margin-bottom: 22px; padding: 6px 12px; border-radius: 10px; font-size: 13px; font-weight: 700; color: var(--marque); background: color-mix(in srgb, var(--marque) 12%, transparent); border: 1px solid color-mix(in srgb, var(--marque) 30%, transparent); }
.mt-carte h3 { font-size: 22px; font-weight: 750; letter-spacing: -.025em; }
.mt-carte p { margin-top: 10px; font-size: 15px; color: var(--texte-2); }
.mt-carte b, .mt-texte b, .mt-pas-texte b, .mt-regle b, .mt-paie b, .mt-exemple b { color: #fff; font-weight: 650; }

.mt-duo { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 4vw, 60px); align-items: center; margin-bottom: 40px; }
.mt-duo .mt-photo.absente + .mt-texte { grid-column: 1 / -1; }
.mt-photo { position: relative; overflow: hidden; border-radius: 26px; border: 1px solid var(--trait); background: var(--fond-2); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.mt-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1.4s var(--ease); }
.mt-photo:hover img { transform: scale(1.03); }
.mt-photo figcaption { position: absolute; left: 14px; bottom: 14px; padding: 6px 12px; border-radius: 10px; font-size: 13px; font-weight: 500; background: rgba(0, 0, 0, .55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.mt-photo.absente { display: none; }
.mt-texte h3 { font-size: 26px; font-weight: 750; letter-spacing: -.03em; }
.mt-liste { list-style: none; counter-reset: pas; margin-top: 20px; display: flex; flex-direction: column; gap: 16px; }
.mt-liste li { counter-increment: pas; position: relative; padding-left: 46px; color: var(--texte-2); }
.mt-liste li::before { content: counter(pas); position: absolute; left: 0; top: -2px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 700; color: #120800; background: var(--marque); }
.mt-note { margin-top: 18px; font-size: 14px; color: var(--texte-3); }

.mt-tarifs { padding: 30px; border-radius: 26px; background: linear-gradient(160deg, color-mix(in srgb, var(--marque) 8%, transparent), rgba(255, 255, 255, .02) 60%); border: 1px solid var(--trait); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.mt-tarifs h3 { font-size: 21px; font-weight: 750; letter-spacing: -.02em; }
.mt-tarifs ul { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 20px; }
.mt-tarifs li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 16px; background: rgba(0, 0, 0, .25); border: 1px solid var(--trait); }
.mt-tarifs img { width: 44px; height: 44px; object-fit: contain; flex-shrink: 0; }
.mt-tarifs b { flex: 1; font-size: 15px; font-weight: 600; }
.mt-tarifs span { font-size: 15px; font-weight: 700; color: var(--marque); filter: brightness(1.15); font-variant-numeric: tabular-nums; }

.mt-recettes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.mt-recette { --x: 50%; --y: 50%; position: relative; overflow: hidden; display: grid; grid-template-rows: auto 1fr; border-radius: 30px; background: var(--carte); border: 1px solid var(--trait); transition: border-color .4s, opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.mt-recette-visuel { position: relative; display: grid; place-items: center; height: 260px; overflow: hidden; border-bottom: 1px solid var(--trait); background: linear-gradient(180deg, color-mix(in srgb, var(--marque) 10%, transparent), transparent); }
.mt-recette-visuel .en-aura { background: radial-gradient(circle, color-mix(in srgb, var(--marque) 45%, transparent), transparent 65%); }
.mt-recette-visuel img { position: relative; width: 78%; max-width: 380px; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .6)); transition: transform .8s var(--ease); }
.mt-recette:hover .mt-recette-visuel img { transform: scale(1.05) rotate(-2deg); }
.mt-recette-corps { position: relative; padding: 26px 28px 28px; }
.mt-etiquette { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--marque); filter: brightness(1.15); }
.mt-recette h3 { margin-top: 6px; font-size: 30px; font-weight: 800; letter-spacing: -.035em; }
.mt-ingredients { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 18px; }
.mt-ingredients li { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 12px; background: rgba(0, 0, 0, .22); }
.mt-ingredients img { width: 34px; height: 34px; object-fit: contain; }
.mt-ingredients span { flex: 1; font-size: 14px; color: var(--texte-2); }
.mt-ingredients b { font-size: 14px; font-weight: 700; }
.mt-bilan { display: flex; justify-content: space-between; gap: 12px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--trait); font-size: 15px; }
.mt-bilan span { color: var(--texte-3); }
.mt-bilan b { color: var(--marque); filter: brightness(1.15); }

/* calculateurs */
.mt-calcul { margin-top: 26px; padding: clamp(26px, 3.5vw, 40px); border-radius: 30px; background: rgba(255, 255, 255, .035); border: 1px solid color-mix(in srgb, var(--marque) 25%, var(--trait)); box-shadow: 0 50px 100px -70px var(--marque); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.mt-calcul-tete h3 { font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.mt-calcul-tete p { margin-top: 4px; color: var(--texte-2); }
.mt-curseur { display: block; margin: 26px 0 8px; }
.mt-curseur > span { display: block; margin-bottom: 12px; font-size: 15px; color: var(--texte-2); }
.mt-curseur > span b { font-size: 34px; font-weight: 800; letter-spacing: -.03em; color: #fff; font-variant-numeric: tabular-nums; }
.mt-curseur input { --rempli: 30%; width: 100%; height: 8px; border-radius: 8px; appearance: none; -webkit-appearance: none; cursor: pointer; outline: none;
    background: linear-gradient(90deg, var(--marque) var(--rempli), rgba(255, 255, 255, .1) var(--rempli)); }
.mt-curseur input::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .5), 0 0 0 6px color-mix(in srgb, var(--marque) 30%, transparent); transition: transform .2s; }
.mt-curseur input::-webkit-slider-thumb:hover { transform: scale(1.12); }
.mt-curseur input::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .5); }
.mt-calcul-resultats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.mt-calcul-resultats > div { padding: 18px 20px; border-radius: 18px; background: rgba(0, 0, 0, .25); border: 1px solid var(--trait); }
.mt-calcul-resultats b { display: block; font-size: clamp(26px, 2.6vw, 36px); font-weight: 800; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.mt-calcul-resultats > div > span { display: block; margin-top: 4px; font-size: 14px; color: var(--texte-3); }
.mt-calcul-resultats .mt-toi { background: color-mix(in srgb, var(--marque) 14%, transparent); border-color: color-mix(in srgb, var(--marque) 45%, transparent); }
.mt-calcul-resultats .mt-toi b { color: var(--marque); filter: brightness(1.2); }
.mt-partage { --toi: 50%; height: 10px; margin-top: 22px; border-radius: 10px; overflow: hidden; background: rgba(255, 255, 255, .14); }
.mt-partage i { display: block; height: 100%; width: var(--toi); background: var(--marque); transition: width .3s var(--ease); }
.mt-calcul[data-course] { --toi: 50%; }
.mt-calcul[data-course] .mt-partage i { width: var(--toi); }

/* étapes de préparation */
.mt-pas-bloc { border-radius: 32px; background: var(--carte); border: 1px solid var(--trait); overflow: hidden; transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.mt-pas-scene { position: relative; display: grid; }
.mt-pas { grid-area: 1 / 1; display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: clamp(24px, 4vw, 56px); padding: clamp(22px, 3vw, 36px); opacity: 0; visibility: hidden; transform: translateX(30px); transition: opacity .7s var(--ease), transform .7s var(--ease), visibility .7s; }
.mt-pas.actif { opacity: 1; visibility: visible; transform: none; }
.mt-pas .mt-photo { border-radius: 22px; }
.mt-pas .mt-photo.absente { display: none; }
.mt-pas:has(.mt-photo.absente) { grid-template-columns: 1fr; }
.mt-pas:has(.mt-photo.absente) .mt-pas-texte { max-width: 680px; }
.mt-pas-illu { display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: 22px; background: radial-gradient(circle at 50% 40%, color-mix(in srgb, var(--marque) 25%, transparent), transparent 60%), rgba(0, 0, 0, .3); border: 1px solid var(--trait); }
.mt-pas-icone { font-size: 72px; line-height: 1; color: var(--marque); animation: tourne 2.4s linear infinite; }
.mt-pas-illu b { margin-top: -30px; font-size: 22px; font-weight: 800; }
@keyframes tourne { to { transform: rotate(360deg); } }
.mt-pas-texte span { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--marque); filter: brightness(1.15); }
.mt-pas-texte h3 { margin-top: 8px; font-size: clamp(26px, 2.8vw, 36px); font-weight: 800; letter-spacing: -.035em; line-height: 1.08; }
.mt-pas-texte p { margin-top: 14px; font-size: 17px; color: var(--texte-2); }
.mt-pas-commandes { display: flex; align-items: center; justify-content: center; gap: 18px; padding: 0 0 26px; }
.mt-pas-commandes > button { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .08); font-size: 18px; transition: background .25s; }
.mt-pas-commandes > button:hover { background: rgba(255, 255, 255, .16); }
.mt-pas-points { display: flex; gap: 8px; }
.mt-pas-points button { width: 8px; height: 8px; padding: 0; border-radius: 8px; background: rgba(255, 255, 255, .25); transition: width .4s var(--ease), background .3s; }
.mt-pas-points button.actif { width: 30px; background: var(--marque); }

.mt-regles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.mt-regle { padding: 20px 22px; border-radius: 20px; font-size: 15px; color: var(--texte-2); background: rgba(255, 255, 255, .025); border: 1px solid var(--trait); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }

.mt-paies { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.mt-paie { --x: 50%; --y: 50%; position: relative; overflow: hidden; padding: 30px 26px; border-radius: 26px; background: var(--carte); border: 1px solid var(--trait); transition: border-color .4s, opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.mt-paie-fort { background: linear-gradient(170deg, color-mix(in srgb, var(--marque) 16%, transparent), var(--carte) 70%); border-color: color-mix(in srgb, var(--marque) 35%, transparent); }
.mt-paie-freq { display: inline-block; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--marque); background: color-mix(in srgb, var(--marque) 12%, transparent); }
.mt-paie h3 { margin-top: 18px; font-size: 22px; font-weight: 750; letter-spacing: -.025em; }
.mt-paie p { margin-top: 10px; font-size: 15px; color: var(--texte-2); }
.mt-exemple { margin-top: 16px; padding: 26px 30px; border-radius: 24px; background: rgba(255, 255, 255, .03); border: 1px dashed color-mix(in srgb, var(--marque) 40%, var(--trait)); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.mt-exemple h3 { font-size: 18px; font-weight: 750; }
.mt-exemple p { margin-top: 8px; color: var(--texte-2); }

.mt-fin { position: relative; z-index: 2; min-height: 86vh; display: grid; place-items: center; overflow: hidden; margin-top: clamp(100px, 12vw, 160px); padding: 120px var(--marge); text-align: center; }
.mt-fin-fond { position: absolute; inset: 0; background-size: cover; background-position: center; filter: grayscale(.6) brightness(.32); }
.mt-fin::before { content: ''; position: absolute; inset: 0; z-index: 1; background: radial-gradient(55% 55% at 50% 50%, color-mix(in srgb, var(--marque) 26%, transparent), transparent 70%), linear-gradient(180deg, var(--fond) 0%, rgba(5, 7, 11, .3) 30%, rgba(5, 7, 11, .3) 70%, var(--fond) 100%); }
.mt-fin-contenu { position: relative; z-index: 2; max-width: 820px; }
.mt-fin-logo { width: 130px; margin: 0 auto 26px; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .6)); animation: flotte 6s ease-in-out infinite; }
.mt-fin-contenu > p { margin-top: 20px; font-size: clamp(17px, 1.6vw, 20px); color: var(--texte-2); }
.mt-fin-actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 14px; margin-top: 36px; }
.mt-fin-actions .en-discord { min-width: 260px; }

/* lien vers la fiche depuis l'annuaire */
.en-fiche { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 48px; padding: 0 18px; border-radius: 16px; font-size: 15px; font-weight: 700; color: #120800; background: var(--marque); transition: filter .25s, transform .35s var(--ease); }
.en-fiche:hover { filter: brightness(1.12); transform: translateY(-2px); }
.en-fiche i { font-style: normal; transition: transform .35s var(--ease); }
.en-fiche:hover i { transform: translateX(4px); }
.en-carte.a-fiche { cursor: pointer; }

@media (max-width: 1080px) {
    .mt-chiffres { grid-template-columns: repeat(3, 1fr); }
    .mt-cartes-4, .mt-paies { grid-template-columns: repeat(2, 1fr); }
    .mt-tarifs ul { grid-template-columns: repeat(2, 1fr); }
    .mt-pas { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
    .mt-hero-grille { grid-template-columns: 1fr; }
    .mt-hero-logo { width: 150px; order: -1; }
    .mt-chiffres { grid-template-columns: repeat(2, 1fr); }
    .mt-chiffre:last-child { grid-column: 1 / -1; }
    .mt-sommaire { top: 76px; border-radius: 18px; }
    .mt-cartes, .mt-cartes-4, .mt-paies, .mt-recettes, .mt-regles, .mt-duo, .mt-calcul-resultats { grid-template-columns: 1fr; }
    .mt-tarifs ul { grid-template-columns: 1fr 1fr; }
    .mt-tarifs li { padding: 8px 10px; gap: 8px; }
    .mt-tarifs img { width: 32px; height: 32px; }
    .mt-ingredients { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
    .mt-pas { transition: none; }
    .mt-pas-icone { animation: none; }
}
.mt-texte-p { margin-top: 16px; color: var(--texte-2); }
.mt-duo-inverse { grid-template-columns: 1fr 1.15fr; }
@media (max-width: 820px) { .mt-duo-inverse .mt-photo { order: -1; } }

/* ================================================================ fiches métier : blocs de la SASP */
.mt-grades { margin-top: 18px; padding: 30px; border-radius: 26px; background: linear-gradient(160deg, color-mix(in srgb, var(--marque) 10%, transparent), rgba(255, 255, 255, .02) 60%); border: 1px solid var(--trait); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.mt-grades h3 { font-size: 21px; font-weight: 750; letter-spacing: -.02em; }
.mt-grades ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.mt-grades li { display: flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; font-size: 14px; font-weight: 600; background: rgba(0, 0, 0, .25); border: 1px solid var(--trait); }
.mt-grades li span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; font-size: 12px; font-weight: 700; color: var(--marque); background: color-mix(in srgb, var(--marque) 15%, transparent); }
.mt-grades li.mt-grade-haut { color: #fff; background: color-mix(in srgb, var(--marque) 30%, transparent); border-color: color-mix(in srgb, var(--marque) 60%, transparent); }
.mt-grades li.mt-grade-haut span { color: #fff; background: var(--marque); }

.mt-trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
.mt-trio .mt-photo img { aspect-ratio: 4 / 5; }
.mt-photo figcaption b { color: #fff; }
.mt-photo-large { margin: 16px 0; }
.mt-photo-large img { aspect-ratio: 21 / 9; }

.mt-ecran { position: relative; margin: 0 0 18px; border-radius: 22px; overflow: hidden; border: 1px solid rgba(255, 255, 255, .12); background: #000; box-shadow: 0 50px 120px -60px color-mix(in srgb, var(--marque) 80%, transparent), 0 30px 60px -30px rgba(0, 0, 0, .8); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.mt-ecran img { width: 100%; display: block; }
.mt-ecran figcaption { padding: 14px 20px; font-size: 14px; color: var(--texte-2); background: rgba(10, 12, 18, .95); border-top: 1px solid var(--trait); }
.mt-ecran-petit { margin: 0; }
.mt-ecran-alpr { justify-self: center; width: min(100%, 340px); margin: 0; background: transparent; border: 0; box-shadow: none; }
.mt-ecran-alpr img { filter: drop-shadow(0 30px 50px rgba(0, 0, 0, .7)); }

.mt-onglets { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mt-onglets article { padding: 20px 22px; border-radius: 20px; background: var(--carte); border: 1px solid var(--trait); transition: border-color .3s, opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.mt-onglets article:hover { border-color: color-mix(in srgb, var(--marque) 40%, transparent); }
.mt-onglets b { display: block; font-size: 17px; font-weight: 750; letter-spacing: -.02em; }
.mt-onglets p { margin-top: 6px; font-size: 14px; color: var(--texte-2); }
.mt-onglets .mt-onglet-fort { background: color-mix(in srgb, var(--marque) 12%, transparent); border-color: color-mix(in srgb, var(--marque) 35%, transparent); }

.mt-touches { list-style: none; display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.mt-touches li { display: flex; align-items: flex-start; gap: 14px; color: var(--texte-2); }
.mt-touches kbd { flex-shrink: 0; min-width: 52px; padding: 6px 10px; border-radius: 10px; text-align: center; font: 700 13px/1.2 inherit; font-family: inherit; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); border-bottom-width: 3px; }
.mt-tete-sous { margin: 70px 0 26px; }
.mt-tete-sous h3 { font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -.035em; }
.mt-indicatifs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.mt-indicatifs span { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 18px; font-size: 13px; color: var(--texte-2); background: var(--carte); border: 1px solid var(--trait); }
.mt-indicatifs b { font-size: 18px; font-weight: 800; letter-spacing: .02em; color: #fff; }
.mt-regles + .mt-ecran { margin-top: 60px; }

.mt-codes { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 16px; transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.mt-codes-groupe { padding: 26px; border-radius: 26px; background: var(--carte); border: 1px solid var(--trait); }
.mt-codes-groupe h3 { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--marque); }
.mt-codes-groupe ul { list-style: none; margin-top: 14px; display: flex; flex-direction: column; }
.mt-codes-groupe li { display: grid; grid-template-columns: 74px 1fr; gap: 12px; padding: 9px 0; border-top: 1px solid var(--trait); font-size: 14px; color: var(--texte-2); }
.mt-codes-groupe li:first-child { border-top: 0; }
.mt-codes-groupe li b { font-variant-numeric: tabular-nums; color: #fff; font-weight: 700; }
.mt-codes-groupe li.mt-code-rouge b { color: #ff453a; }

.mt-etapes-enquete { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }

.mt-paies-2 { grid-template-columns: 1fr 1fr; }
.mt-tableau-paie { margin-top: 16px; overflow-x: auto; border-radius: 26px; background: var(--carte); border: 1px solid var(--trait); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.mt-tableau-paie table { width: 100%; border-collapse: collapse; font-size: 15px; }
.mt-tableau-paie th { padding: 18px 24px 12px; text-align: left; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--texte-3); }
.mt-tableau-paie td { padding: 13px 24px; border-top: 1px solid var(--trait); color: var(--texte-2); font-variant-numeric: tabular-nums; }
.mt-tableau-paie td:first-child { color: #fff; font-weight: 600; }
.mt-tableau-paie td:nth-child(2) { color: #fff; font-weight: 700; }
.mt-tableau-paie tr:hover td { background: rgba(255, 255, 255, .025); }
.mt-tableau-paie .mt-ligne-forte td { background: color-mix(in srgb, var(--marque) 12%, transparent); }
.mt-tableau-paie .mt-ligne-forte td:nth-child(2) { color: var(--marque); filter: brightness(1.2); }

.mt-divisions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mt-divisions article { display: grid; grid-template-columns: 56px 1fr; grid-template-rows: auto 1fr; column-gap: 14px; align-items: start; padding: 18px; border-radius: 20px; background: var(--carte); border: 1px solid var(--trait); transition: border-color .3s, transform .5s var(--ease), opacity 1.1s var(--ease); }
.mt-divisions article:hover { border-color: color-mix(in srgb, var(--marque) 40%, transparent); transform: translateY(-3px); }
.mt-divisions img { grid-row: span 2; width: 56px; height: 56px; object-fit: contain; filter: drop-shadow(0 8px 16px rgba(0, 0, 0, .5)); }
.mt-divisions b { font-size: 17px; font-weight: 800; }
.mt-divisions span { font-size: 13px; color: var(--texte-2); }
.mt-decorations { display: grid; grid-template-columns: 1fr 1.4fr; gap: 30px; align-items: center; margin-top: 16px; padding: 30px; border-radius: 26px; background: linear-gradient(160deg, rgba(255, 214, 10, .06), rgba(255, 255, 255, .02) 60%); border: 1px solid var(--trait); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.mt-decorations h3 { font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.mt-decorations p { margin-top: 10px; color: var(--texte-2); }
.mt-decorations ul { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px 10px; }
.mt-decorations li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 12px; color: var(--texte-2); }
.mt-decorations img { width: 100%; max-width: 92px; height: auto; border-radius: 3px; box-shadow: 0 6px 14px rgba(0, 0, 0, .5); transition: transform .4s var(--ease); }
.mt-decorations li:hover img { transform: translateY(-3px) scale(1.06); }
.mt-fin-retour { margin-top: 18px; }

@media (max-width: 1080px) {
    .mt-onglets, .mt-divisions, .mt-etapes-enquete { grid-template-columns: repeat(2, 1fr); }
    .mt-indicatifs { grid-template-columns: repeat(3, 1fr); }
    .mt-codes { grid-template-columns: 1fr 1fr; }
    .mt-codes-groupe:first-child { grid-column: 1 / -1; }
    .mt-decorations { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
    .mt-trio, .mt-onglets, .mt-divisions, .mt-etapes-enquete, .mt-codes, .mt-paies-2 { grid-template-columns: 1fr; }
    .mt-trio .mt-photo img { aspect-ratio: 16 / 10; }
    .mt-indicatifs { grid-template-columns: 1fr 1fr; }
    .mt-decorations ul { grid-template-columns: repeat(3, 1fr); }
    .mt-photo-large img { aspect-ratio: 16 / 10; }
    .mt-tableau-paie th, .mt-tableau-paie td { padding-left: 14px; padding-right: 14px; }
}
.mt-cartes + .mt-duo, .mt-cartes + .mt-cartes { margin-top: 48px; }
.mt-touches span kbd { min-width: 0; padding: 1px 7px; font-size: 12px; border-bottom-width: 2px; vertical-align: 1px; }

/* ================================================================ fiches métier : blocs des EMS */
.mt-actes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 16px; }
.mt-acte { --x: 50%; --y: 50%; position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 30px 28px; border-radius: 28px; background: var(--carte); border: 1px solid var(--trait); transition: border-color .4s, opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.mt-acte:hover { border-color: color-mix(in srgb, var(--marque) 40%, transparent); }
.mt-acte-fort { background: linear-gradient(170deg, color-mix(in srgb, var(--marque) 16%, transparent), var(--carte) 70%); border-color: color-mix(in srgb, var(--marque) 35%, transparent); }
.mt-acte-prix { font-size: clamp(40px, 4vw, 54px); font-weight: 900; letter-spacing: -.045em; line-height: 1; color: var(--marque); filter: brightness(1.1); }
.mt-acte h3 { margin-top: 16px; font-size: 24px; font-weight: 800; letter-spacing: -.03em; }
.mt-acte p { margin: 8px 0 20px; font-size: 15px; color: var(--texte-2); }
.mt-acte b { color: #fff; }
.mt-acte-objet { display: inline-flex; align-items: center; gap: 10px; align-self: flex-start; margin-top: auto; padding: 6px 14px 6px 6px; border-radius: 999px; font-size: 14px; font-weight: 600; background: rgba(0, 0, 0, .3); border: 1px solid var(--trait); }
.mt-acte-objet img { width: 30px; height: 30px; object-fit: contain; }
.mt-echelle-ata { display: flex; flex-direction: column; gap: 10px; padding: 28px; border-radius: 26px; background: var(--carte); border: 1px solid var(--trait); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.mt-echelle-ata div { display: grid; grid-template-columns: 200px 70px 1fr; align-items: center; gap: 16px; font-size: 15px; color: var(--texte-2); }
.mt-echelle-ata b { color: #fff; font-variant-numeric: tabular-nums; }
.mt-echelle-ata i { display: block; height: 10px; border-radius: 10px; width: calc(var(--d) / 15 * 100%); background: linear-gradient(90deg, color-mix(in srgb, var(--marque) 50%, #ffd60a), var(--marque)); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease) calc(var(--d) * .04s); }
.mt-echelle-ata.vu i { transform: none; }
.mt-curseurs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 28px; }
.mt-calcul-2 { grid-template-columns: 1fr 1fr; }
.mt-note-centre { text-align: center; margin-top: 22px; }
.mt-note b { color: var(--texte-2); }
@media (max-width: 820px) {
    .mt-actes, .mt-curseurs, .mt-calcul-2 { grid-template-columns: 1fr; }
    .mt-echelle-ata div { grid-template-columns: 1fr 60px; }
    .mt-echelle-ata i { grid-column: 1 / -1; }
}

/* ================================================================ page Streamers */
.st-hero { min-height: 80vh; min-height: 80svh; }
.st-voile { background:
    radial-gradient(70% 60% at 80% 25%, rgba(145, 70, 255, .32), transparent 65%),
    radial-gradient(50% 50% at 95% 90%, rgba(83, 252, 24, .12), transparent 60%),
    linear-gradient(180deg, rgba(5, 7, 11, .5) 0%, rgba(5, 7, 11, .35) 35%, rgba(5, 7, 11, .9) 82%, var(--fond) 100%),
    linear-gradient(90deg, rgba(5, 7, 11, .7) 0%, transparent 65%); }
.st-degrade { background: linear-gradient(100deg, #fff 0%, #b38bff 45%, #9146ff 75%, #53fc18 120%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.st-chiffre-live b { color: #ff375f; }

.st-zone { position: relative; z-index: 2; max-width: 1320px; margin: 0 auto; padding: clamp(40px, 5vw, 70px) var(--marge) 0; }
.st-scene { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.st-lecteur { --teinte: #9146ff; position: relative; aspect-ratio: 16 / 9; border-radius: 26px; overflow: hidden; background: radial-gradient(80% 80% at 50% 30%, color-mix(in srgb, var(--teinte) 30%, transparent), #07080c 70%); border: 1px solid var(--trait); box-shadow: 0 60px 120px -70px var(--teinte); transition: box-shadow .6s; }
.st-lecteur iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.st-affiche { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 20px; }
.st-affiche[hidden] { display: none; }
.st-affiche-avatar-in { width: 104px; height: 104px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font-size: 42px; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--teinte), color-mix(in srgb, var(--teinte) 50%, #000)); box-shadow: 0 0 0 5px color-mix(in srgb, var(--teinte) 30%, transparent), 0 20px 50px -10px var(--teinte); }
.st-affiche-avatar-in img, .st-avatar img, .st-choix-avatar img { width: 100%; height: 100%; object-fit: cover; }
.st-affiche-nom { margin-top: 8px; font-size: clamp(28px, 3vw, 40px); font-weight: 800; letter-spacing: -.035em; }
.st-affiche-etat { font-size: 15px; color: var(--texte-2); display: flex; align-items: center; gap: 8px; }
.st-lancer { margin-top: 16px; background: var(--teinte); color: #fff; box-shadow: 0 14px 40px -12px var(--teinte); }
.st-lancer:hover { background: color-mix(in srgb, var(--teinte) 85%, #fff); }
.st-lancer[hidden] { display: none; }
.st-affiche-note { font-size: 13px; color: var(--texte-3); }

.st-liste { display: flex; flex-direction: column; gap: 10px; padding: 12px; border-radius: 26px; background: var(--carte); border: 1px solid var(--trait); }
.st-plateformes { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 14px; background: rgba(0, 0, 0, .3); }
.st-plateforme { height: 38px; border-radius: 10px; font-size: 14px; font-weight: 700; color: var(--texte-2); transition: background .3s, color .3s; }
.st-plateforme.actif[data-plateforme="twitch"] { background: #9146ff; color: #fff; }
.st-plateforme.actif[data-plateforme="kick"] { background: #53fc18; color: #051300; }
.st-choix { display: flex; flex-direction: column; gap: 6px; overflow-y: auto; }
.st-choix-ligne { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 16px; text-align: left; transition: background .25s; }
.st-choix-ligne:hover:not([disabled]) { background: rgba(255, 255, 255, .05); }
.st-choix-ligne.actif { background: rgba(255, 255, 255, .09); }
.st-choix-ligne[disabled] { opacity: .4; cursor: default; }
.st-choix-avatar { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font-weight: 800; background: linear-gradient(135deg, var(--bleu), var(--bleu-2)); color: #001018; }
.st-choix-textes { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.st-choix-textes b { font-size: 15px; font-weight: 700; }
.st-choix-textes small { font-size: 12px; color: var(--texte-3); }
.st-point { width: 10px; height: 10px; border-radius: 50%; background: #ff375f; box-shadow: 0 0 0 0 rgba(255, 55, 95, .6); animation: pouls-rouge 1.6s infinite; }
@keyframes pouls-rouge { 70% { box-shadow: 0 0 0 9px rgba(255, 55, 95, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 55, 95, 0); } }

.st-cartes { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); max-width: 1100px; margin: 0 auto; }
.st-carte { --x: 50%; --y: 50%; transition: border-color .4s, transform .5s var(--ease); }
.st-carte:hover { border-color: rgba(145, 70, 255, .45); transform: translateY(-4px); }
.st-avatar { overflow: hidden; }
.st-carte .streamer-haut > div:nth-child(2) { flex: 1; min-width: 0; }
.st-en-direct { border-color: rgba(255, 55, 95, .45); }
.st-pastille { display: inline-flex; align-items: center; gap: 7px; padding: 5px 11px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: #ff375f; }
.st-pastille i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: clignote 1.2s infinite; }
@keyframes clignote { 50% { opacity: .3; } }
.st-duree { position: relative; margin-top: 14px; font-size: 14px; color: var(--texte-2); }
.st-regarder { height: 54px; }

.st-rejoindre { padding-top: 40px; }
.st-rejoindre-carte { --x: 50%; --y: 50%; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: clamp(30px, 4vw, 50px); border-radius: 32px; background: linear-gradient(135deg, rgba(145, 70, 255, .16), rgba(83, 252, 24, .06)); border: 1px solid rgba(145, 70, 255, .3); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.st-rejoindre-carte h2 { margin-top: 10px; font-size: clamp(34px, 4vw, 56px); font-weight: 800; letter-spacing: -.04em; }
.st-rejoindre-carte p:last-child { margin-top: 10px; max-width: 560px; color: var(--texte-2); }

@media (max-width: 960px) {
    .st-scene { grid-template-columns: 1fr; }
    .st-choix { flex-direction: row; overflow-x: auto; }
    .st-choix-ligne { flex-shrink: 0; }
}
@media (max-width: 820px) {
    .st-rejoindre-carte { flex-direction: column; align-items: flex-start; }
    .st-cartes { grid-template-columns: 1fr; }
}
@media (max-width: 820px) { .st-lecteur { aspect-ratio: auto; min-height: 380px; } .st-lecteur:has(iframe) { aspect-ratio: 16 / 9; min-height: 0; } .st-regarder { height: 50px; } }

/* ================================================================ fondateurs : badge doré à couronne */
@property --angle-or { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.badge-fondateur {
    position: relative; display: inline-flex; align-items: center; gap: 7px; margin-top: 6px; padding: 5px 13px 5px 9px; border-radius: 999px; overflow: hidden;
    font-size: 12px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; color: #3a2400;
    background: linear-gradient(135deg, #fff2b8 0%, #f5c84c 28%, #c8901e 55%, #f8d76a 78%, #fff2b8 100%);
    box-shadow: 0 0 0 1px rgba(255, 220, 120, .55), 0 8px 26px -6px rgba(245, 190, 60, .75), inset 0 1px 0 rgba(255, 255, 255, .7);
}
.badge-fondateur svg { width: 15px; height: 15px; fill: #3a2400; filter: drop-shadow(0 1px 0 rgba(255, 255, 255, .5)); }
.badge-fondateur::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 45%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .85), transparent); transform: skewX(-20deg); animation: reflet-or 3.2s ease-in-out infinite; }
@keyframes reflet-or { 0%, 55% { left: -60%; } 100% { left: 130%; } }
.avatar-fondateur { position: relative; padding: 3px; background: conic-gradient(from var(--angle-or), #fff2b8, #f5c84c, #b8801a, #f8d76a, #fff2b8, #c8901e, #fff2b8) !important; box-shadow: 0 0 26px -2px rgba(245, 190, 60, .65) !important; animation: tour-or 4s linear infinite; }
.avatar-fondateur > img, .avatar-fondateur > span { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: linear-gradient(135deg, var(--bleu), var(--bleu-2)); }
.streamer-avatar.avatar-fondateur { color: #001018; }
@keyframes tour-or { to { --angle-or: 360deg; } }
.streamer-fondateur { border-color: rgba(245, 200, 90, .35) !important; }
.streamer-fondateur::before { background: radial-gradient(circle, rgba(245, 190, 60, .2), transparent 65%) !important; }
.couronne-mini { display: inline-block; width: 13px; height: 13px; margin-left: 4px; vertical-align: -1px; background: linear-gradient(135deg, #fff2b8, #f5c84c 45%, #c8901e); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 7l4.5 4L12 4l4.5 7L21 7l-2 11H5z'/%3E%3Cpath d='M5 20h14v1.6H5z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 7l4.5 4L12 4l4.5 7L21 7l-2 11H5z'/%3E%3Cpath d='M5 20h14v1.6H5z'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (prefers-reduced-motion: reduce) { .badge-fondateur::after, .avatar-fondateur { animation: none; } }
