/* ==========================================================================
   Another Life RP — styles du thème
   Les couleurs principales sont réglables dans Apparence > Personnaliser.
   ========================================================================== */

:root {
	/* Couleurs officielles Another Life : vert lime → turquoise (dégradé du logo) */
	--al-accent: #b5f227;
	--al-accent-2: #14d8c4;
	--al-gradient: linear-gradient(135deg, var(--al-accent) 0%, color-mix(in srgb, var(--al-accent) 50%, var(--al-accent-2)) 50%, var(--al-accent-2) 100%);
	--al-bg: #090c0b;
	--al-surface: #121816;
	--al-surface-2: #19211e;
	--al-border: rgba(255, 255, 255, .08);
	--al-border-strong: rgba(255, 255, 255, .16);
	--al-heading: #f6f5f8;
	--al-text: #e4e3ea;
	--al-muted: #9d9cad;
	--al-on-accent: #07110c; /* texte sur fond vert : foncé pour rester lisible */
	--al-radius: 18px;
	--al-radius-sm: 10px;
	--al-container: 1240px;
	--al-gutter: clamp(16px, 4vw, 32px);
	--al-font-display: "Anton", "Impact", "Arial Narrow", sans-serif;
	--al-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--al-ease: cubic-bezier(.2, .7, .2, 1);
	--al-header-h: 76px;
	--al-topbar-h: 34px;
}

/* --- Base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--al-bg);
	color: var(--al-text);
	font-family: var(--al-font);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
a:hover { color: var(--al-accent); }
h1, h2, h3, h4, h5, h6 { color: var(--al-heading); margin: 0 0 .5em; line-height: 1.1; font-weight: 700; }
p { margin: 0 0 1em; }
::selection { background: var(--al-accent); color: var(--al-on-accent); }
:focus-visible { outline: 2px solid var(--al-accent); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.al-skip:focus { clip: auto; width: auto; height: auto; z-index: 9999; top: 8px; left: 8px; padding: 10px 16px; background: var(--al-accent); color: var(--al-on-accent); border-radius: 8px; }

.al-container { width: 100%; max-width: var(--al-container); margin: 0 auto; padding: 0 var(--al-gutter); }
.al-main { min-height: 50vh; }
.al-hl { color: var(--al-accent); }
.al-muted { color: var(--al-muted); }

/* Elementor : les widgets AL gèrent eux-mêmes leur largeur */
.elementor-widget[class*="elementor-widget-al-"] > .elementor-widget-container { margin: 0; padding: 0; }
.elementor-section.elementor-section-full_width > .elementor-column-gap-no > .elementor-column > .elementor-widget-wrap { padding: 0; }

/* --- Typographie --------------------------------------------------------- */
.al-h1, .al-h2, .al-hero__title, .al-bento__title, .al-stat__value, .al-404__code, .al-footer__bigname {
	font-family: var(--al-font-display);
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: .005em;
	line-height: .95;
}
.al-h1 { font-size: clamp(44px, 7vw, 96px); }
.al-h2 { font-size: clamp(38px, 5.4vw, 76px); margin-bottom: .3em; }
.al-size-h1 .al-h2 { font-size: clamp(48px, 8vw, 120px); }
.al-size-h3 .al-h2 { font-size: clamp(28px, 3.4vw, 46px); }
.al-lead { color: var(--al-muted); font-size: clamp(16px, 1.3vw, 18px); max-width: 640px; }
.al-eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-size: 12px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
	color: var(--al-accent); margin-bottom: 18px;
}
.al-eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }

/* --- Boutons ------------------------------------------------------------- */
.al-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.al-btns--center { justify-content: center; }
.al-btn {
	--b: var(--al-accent);
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 50px; padding: 0 24px;
	border-radius: 999px; border: 1.5px solid var(--b);
	background: var(--b); color: var(--al-on-accent);
	font-weight: 700; font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
	cursor: pointer; transition: transform .25s var(--al-ease), box-shadow .25s, background .25s, color .25s;
	box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--b) 70%, transparent);
	white-space: nowrap;
}
.al-btn:not(.al-btn--ghost):not(.al-btn--light) { background-image: var(--al-gradient); border-color: transparent; }
.al-btn svg { width: 18px; height: 18px; flex: none; }
.al-btn:hover { color: var(--al-on-accent); transform: translateY(-2px); box-shadow: 0 16px 40px -12px var(--b); }
.al-btn--ghost { background: transparent; color: var(--al-heading); border-color: var(--al-border-strong); box-shadow: none; }
.al-btn--ghost:hover { border-color: var(--al-accent); color: var(--al-heading); background: color-mix(in srgb, var(--al-accent) 12%, transparent); box-shadow: none; }
.al-btn--light { background: #fff; border-color: #fff; color: #111; box-shadow: none; }
.al-btn--light:hover { color: #111; }
.al-btn--sm { min-height: 42px; padding: 0 18px; font-size: 13px; }
.al-icon-btn {
	display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none;
	border-radius: 50%; border: 1px solid var(--al-border-strong); background: rgba(255,255,255,.03);
	color: var(--al-heading); cursor: pointer; transition: .25s var(--al-ease);
}
.al-icon-btn svg { width: 20px; height: 20px; }
.al-icon-btn:hover { border-color: var(--al-accent); color: var(--al-accent); }
.al-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; color: var(--al-heading); }
.al-link svg { width: 16px; height: 16px; transition: transform .25s; }
.al-link:hover svg { transform: translateX(4px); }

/* --- Pastilles & étiquettes --------------------------------------------- */
.al-pill {
	display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px;
	border-radius: 999px; border: 1px solid var(--al-border-strong);
	background: rgba(10,10,14,.45); backdrop-filter: blur(10px);
	font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--al-heading);
}
.al-pill__dot, .al-status__dot {
	width: 8px; height: 8px; border-radius: 50%; background: #22c55e; flex: none;
	box-shadow: 0 0 0 0 rgba(34,197,94,.6); animation: al-pulse 2s infinite;
}
.al-pill__dot { background: var(--al-accent); box-shadow: 0 0 0 0 color-mix(in srgb, var(--al-accent) 60%, transparent); }
[data-al-status].is-offline .al-status__dot { background: #ef4444; animation: none; }
@keyframes al-pulse { 70% { box-shadow: 0 0 0 8px transparent; } 100% { box-shadow: 0 0 0 0 transparent; } }
.al-tag {
	display: inline-block; padding: 5px 12px; border-radius: 999px;
	border: 1px solid var(--al-border-strong); background: rgba(255,255,255,.04);
	font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--al-text);
}
.al-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.al-chip {
	padding: 7px 14px; border-radius: 8px; background: var(--al-surface-2); border: 1px solid var(--al-border);
	font-size: 13px; font-weight: 600; color: var(--al-text); transition: .2s;
}
.al-chip:hover { border-color: var(--al-accent); color: var(--al-heading); }

/* --- Cartes ---------------------------------------------------------------- */
.al-card {
	position: relative; background: var(--al-surface); border: 1px solid var(--al-border);
	border-radius: var(--al-radius); padding: 28px;
	transition: transform .35s var(--al-ease), border-color .35s, box-shadow .35s;
}
.al-card:hover { border-color: color-mix(in srgb, var(--al-accent) 45%, transparent); transform: translateY(-4px); box-shadow: 0 24px 50px -30px color-mix(in srgb, var(--al-accent) 60%, transparent); }

/* --- Blocs (sections) ---------------------------------------------------- */
.al-block { position: relative; padding: clamp(72px, 10vw, 130px) 0; overflow: hidden; }
.al-block--tight { padding: clamp(48px, 6vw, 80px) 0; }
.al-block--glow::before {
	content: ""; position: absolute; inset: -20% 10% auto; height: 70%; pointer-events: none;
	background: radial-gradient(closest-side, color-mix(in srgb, var(--al-accent) 22%, transparent), transparent 70%);
	filter: blur(40px); opacity: .8;
}
.al-block > .al-container { position: relative; }
.al-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; margin-bottom: clamp(36px, 5vw, 60px); }
.al-head--center { flex-direction: column; align-items: center; text-align: center; }
.al-head--center .al-lead { margin-left: auto; margin-right: auto; }
.al-head__main > :last-child { margin-bottom: 0; }
.al-head__extra { flex: none; }

/* --- Barre de statut + navigation --------------------------------------- */
.al-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; transition: transform .35s var(--al-ease); }
.admin-bar .al-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .al-header { top: 46px; } }
.al-topbar {
	height: var(--al-topbar-h); background: rgba(6,6,9,.85); border-bottom: 1px solid var(--al-border);
	font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--al-muted);
	transition: margin .35s var(--al-ease);
}
.al-topbar__inner { display: flex; align-items: center; justify-content: center; gap: 16px; height: 100%; white-space: nowrap; overflow: hidden; }
.al-topbar__sep { width: 1px; height: 12px; background: var(--al-border-strong); }
.al-topbar__link:hover { color: var(--al-accent); }
.al-status { display: inline-flex; align-items: center; gap: 8px; color: #4ade80; }
[data-al-status].is-offline { color: #f87171; }
.al-status__count:not(:empty)::before { content: "· "; }

.al-nav { height: var(--al-header-h); transition: background .35s, backdrop-filter .35s, border-color .35s; border-bottom: 1px solid transparent; }
.al-header.is-scrolled .al-nav { background: rgba(11,11,16,.82); backdrop-filter: blur(16px) saturate(1.4); border-bottom-color: var(--al-border); }
.al-header.is-scrolled .al-topbar { margin-top: calc(var(--al-topbar-h) * -1); }
.al-nav__inner { display: flex; align-items: center; gap: 28px; height: 100%; }
.al-nav__brand { flex: none; }
.al-nav__brand img, .custom-logo { max-height: 48px; width: auto; }
.al-logo-text { font-family: var(--al-font-display); font-size: 28px; text-transform: uppercase; letter-spacing: .02em; color: var(--al-heading); line-height: 1; }
.al-nav__menu { flex: 1; display: flex; justify-content: center; }
.al-menu { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.al-menu li { position: relative; }
.al-menu a {
	display: block; padding: 10px 14px; border-radius: 999px;
	font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--al-text);
}
.al-menu a:hover, .al-menu .current-menu-item > a, .al-menu .current_page_item > a { color: var(--al-heading); background: rgba(255,255,255,.06); }
.al-menu > li > a { position: relative; }
.al-menu > .current-menu-item > a::after { content: ""; position: absolute; left: 50%; bottom: 3px; width: 18px; height: 2px; margin-left: -9px; border-radius: 2px; background: var(--al-accent); }
.al-menu .sub-menu {
	list-style: none; margin: 0; padding: 8px; position: absolute; top: 100%; left: 0; min-width: 220px;
	background: var(--al-surface); border: 1px solid var(--al-border); border-radius: 14px;
	opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; box-shadow: 0 20px 40px rgba(0,0,0,.4);
}
.al-menu li:hover > .sub-menu, .al-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.al-menu .sub-menu a { border-radius: 8px; }
.al-nav__actions { display: flex; align-items: center; gap: 10px; flex: none; }
.al-nav__mobile-cta { display: none; }
.al-burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--al-border-strong); background: transparent; cursor: pointer; position: relative; }
.al-burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--al-heading); border-radius: 2px; transition: .3s var(--al-ease); }
.al-burger span:nth-child(1) { top: 15px; } .al-burger span:nth-child(2) { top: 21px; } .al-burger span:nth-child(3) { top: 27px; }
.al-nav-open .al-burger span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.al-nav-open .al-burger span:nth-child(2) { opacity: 0; }
.al-nav-open .al-burger span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* On laisse la place à l'en-tête fixe, sauf si la page commence par un widget Hero */
.al-main { padding-top: var(--al-header-h); }
.al-has-topbar .al-main { padding-top: calc(var(--al-header-h) + var(--al-topbar-h)); }
.al-main:has(.al-hero) { padding-top: 0; }
body:not(.al-has-topbar) .al-hero { padding-top: calc(var(--al-header-h) + 40px); }

@media (max-width: 1024px) {
	.al-burger { display: inline-block; }
	.al-nav__actions .al-btn, .al-nav__actions .al-icon-btn { display: none; }
	.al-nav__inner { justify-content: space-between; }
	.al-nav__menu {
		position: fixed; inset: 0; top: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: stretch;
		padding: 110px var(--al-gutter) 40px; background: rgba(8,8,12,.97); backdrop-filter: blur(20px);
		opacity: 0; visibility: hidden; transition: .35s var(--al-ease); overflow-y: auto;
	}
	.al-nav-open .al-nav__menu { opacity: 1; visibility: visible; }
	/* backdrop-filter créerait un conteneur pour le menu fixe : on le retire quand le menu est ouvert */
	.al-nav-open .al-header .al-nav { backdrop-filter: none; -webkit-backdrop-filter: none; background: transparent; border-bottom-color: transparent; }
	.al-nav-open { overflow: hidden; }
	.al-menu { flex-direction: column; gap: 2px; }
	.al-menu a { font-family: var(--al-font-display); font-weight: 400; font-size: 34px; letter-spacing: .02em; padding: 8px 0; background: none !important; box-shadow: none !important; }
	.al-menu .sub-menu { position: static; opacity: 1; visibility: visible; transform: none; background: none; border: 0; box-shadow: none; padding: 0 0 0 16px; }
	.al-menu .sub-menu a { font-size: 22px; }
	.al-nav__mobile-cta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
	.al-topbar__text, .al-topbar__text + .al-topbar__sep, .al-topbar__inner > .al-topbar__sep:first-of-type { display: none; }
}

/* --- Préchargement -------------------------------------------------------- */
.al-preloader {
	position: fixed; inset: 0; z-index: 9999; display: grid; place-content: center; gap: 22px; justify-items: center;
	background: radial-gradient(ellipse at center, #0f1c16 0%, var(--al-bg) 70%);
	transition: opacity .6s var(--al-ease), visibility .6s;
}
.al-preloader__name {
	font-family: var(--al-font-display); font-size: clamp(42px, 9vw, 120px); text-transform: uppercase; line-height: 1;
	background: linear-gradient(180deg, #fff 20%, color-mix(in srgb, var(--al-accent) 80%, #fff));
	-webkit-background-clip: text; background-clip: text; color: transparent;
	filter: drop-shadow(0 10px 40px color-mix(in srgb, var(--al-accent) 50%, transparent));
	animation: al-rise 1s var(--al-ease) both;
}
.al-preloader__bar { width: 160px; height: 2px; background: var(--al-border-strong); overflow: hidden; border-radius: 2px; }
.al-preloader__bar span { display: block; height: 100%; width: 40%; background: var(--al-accent); animation: al-load 1s var(--al-ease) infinite; }
.al-preloader.is-done, .al-no-preloader .al-preloader { opacity: 0; visibility: hidden; pointer-events: none; }
.elementor-editor-active .al-preloader, .elementor-editor-preview .al-preloader { display: none; }
@keyframes al-load { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
@keyframes al-rise { from { opacity: 0; transform: translateY(30px) scale(.96); letter-spacing: .2em; } to { opacity: 1; transform: none; } }

/* --- Hero ----------------------------------------------------------------- */
.al-hero { min-height: 100vh; display: flex; align-items: center; padding: calc(var(--al-header-h) + var(--al-topbar-h) + 40px) 0 110px; isolation: isolate; }
.al-hero__bg {
	position: absolute; inset: 0; z-index: -3; background-size: cover; background-position: center;
	background-color: #08100d;
	background-image:
		radial-gradient(60% 70% at 78% 30%, color-mix(in srgb, var(--al-accent) 32%, transparent), transparent 60%),
		radial-gradient(50% 60% at 15% 85%, color-mix(in srgb, var(--al-accent-2) 35%, transparent), transparent 60%),
		linear-gradient(180deg, #0b1511, var(--al-bg));
	animation: al-zoom 22s ease-in-out infinite alternate;
}
.al-hero__bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.al-hero__overlay { position: absolute; inset: 0; z-index: -2; opacity: .55; background: linear-gradient(90deg, #000 0%, rgba(0,0,0,.6) 45%, rgba(0,0,0,.15) 100%); }
.al-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 40%; z-index: -1; background: linear-gradient(0deg, var(--al-bg), transparent); pointer-events: none; }
.al-hero__grain {
	position: absolute; inset: 0; z-index: -1; opacity: .07; pointer-events: none; mix-blend-mode: overlay;
	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");
}
@keyframes al-zoom { from { transform: scale(1); } to { transform: scale(1.08); } }
.al-hero__content { position: relative; }
.al-hero__title { font-size: clamp(56px, 10.5vw, 150px); margin: 26px 0 22px; text-shadow: 0 10px 60px rgba(0,0,0,.5); }
.al-hero__title .al-hl {
	background: linear-gradient(90deg, var(--al-accent), var(--al-accent-2));
	-webkit-background-clip: text; background-clip: text; color: transparent;
}
.al-hero__text { max-width: 560px; font-size: clamp(16px, 1.4vw, 19px); color: #d6d4df; }
.al-hero--center { text-align: center; }
.al-hero--center .al-hero__content { display: flex; flex-direction: column; align-items: center; }
.al-hero--center .al-hero__text { margin-left: auto; margin-right: auto; }
.al-hero--center .al-btns { justify-content: center; }
.al-hero--center .al-hero__overlay { background: radial-gradient(ellipse at center, rgba(0,0,0,.35), #000 85%); }
.al-hero__status {
	display: inline-flex; align-items: center; gap: 12px; margin-top: 36px; padding: 12px 18px 12px 16px;
	border-radius: 14px; border: 1px solid var(--al-border-strong); background: rgba(10,10,14,.5); backdrop-filter: blur(10px);
	font-size: 14px; color: var(--al-muted);
}
.al-hero__status strong { color: var(--al-heading); font-size: 18px; }
.al-hero__status.is-hidden { display: none; }
.al-hero__scroll {
	position: absolute; left: 50%; bottom: 34px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 10px;
	font-size: 11px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--al-muted);
}
.al-hero__scroll i { width: 1px; height: 46px; background: linear-gradient(var(--al-accent), transparent); animation: al-scroll 2s ease-in-out infinite; transform-origin: top; }
@keyframes al-scroll { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* --- Fonctionnalités ------------------------------------------------------ */
.al-features__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.al-features--cards .al-feature { display: flex; gap: 18px; align-items: flex-start; }
.al-feature__icon {
	display: grid; place-items: center; width: 52px; height: 52px; flex: none; border-radius: 14px;
	background: color-mix(in srgb, var(--al-accent) 14%, transparent); color: var(--al-accent);
	border: 1px solid color-mix(in srgb, var(--al-accent) 30%, transparent); font-size: 22px;
}
.al-feature__icon svg { width: 22px; height: 22px; fill: currentColor; }
.al-feature__title { font-size: 18px; margin-bottom: 6px; }
.al-feature__text { color: var(--al-muted); font-size: 15px; margin: 0; }
.al-features--centered .al-feature { text-align: center; padding: 34px 24px; }
.al-features--centered .al-feature__icon { margin: 0 auto 18px; background: none; border: 0; width: auto; height: auto; font-size: 34px; }
.al-features--centered .al-feature__icon svg { width: 34px; height: 34px; }
.al-features--centered .al-feature__title { font-size: 15px; text-transform: uppercase; letter-spacing: .08em; }

/* --- Bento ---------------------------------------------------------------- */
.al-bento__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); gap: 18px; grid-auto-flow: dense; }
.al-bento__item {
	position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
	padding: 28px; border-radius: 24px; background: var(--al-surface); border: 1px solid var(--al-border); isolation: isolate;
	transition: transform .4s var(--al-ease), border-color .4s;
}
.al-bento__item:hover { transform: translateY(-4px); border-color: var(--al-border-strong); }
.al-bento__item.is-large { grid-column: span 2; grid-row: span 2; }
.al-bento__item.is-wide { grid-column: span 2; }
.al-bento__item.is-tall { grid-row: span 2; }
.al-bento__item.is-accent { background: linear-gradient(160deg, var(--al-accent), var(--al-accent-2)); border-color: transparent; }
.al-bento__item.is-alt { background: linear-gradient(150deg, color-mix(in srgb, var(--al-accent-2) 45%, var(--al-surface)), var(--al-surface)); }
.al-bento__item.is-accent, .al-bento__item.is-accent .al-bento__title { color: var(--al-on-accent); }
.al-bento__item.is-accent p { color: color-mix(in srgb, var(--al-on-accent) 80%, transparent); }
.al-bento__item.is-accent .al-tag { border-color: rgba(0,0,0,.3); background: rgba(255,255,255,.2); color: var(--al-on-accent); }
.al-bento__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.al-bento__num {
	font-family: var(--al-font-display); font-size: 64px; line-height: .8;
	color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.35);
}
.al-bento__item.is-large .al-bento__num { font-size: 96px; }
.al-bento__item.is-accent .al-bento__num { -webkit-text-stroke-color: rgba(7,17,12,.55); }
.al-bento__title { font-size: clamp(28px, 2.6vw, 40px); margin-bottom: 10px; }
.al-bento__item.is-large .al-bento__title { font-size: clamp(40px, 4.4vw, 68px); }
.al-bento__body p { color: var(--al-muted); margin: 0; max-width: 480px; }
.al-bento__icon {
	position: absolute; right: -6%; top: 50%; transform: translateY(-50%) rotate(-8deg); z-index: -1;
	font-size: 180px; line-height: 1; color: rgba(255,255,255,.05); transition: transform .6s var(--al-ease);
}
.al-bento__icon svg { width: 180px; height: 180px; fill: currentColor; }
.al-bento__item.is-large .al-bento__icon { font-size: 340px; right: 4%; top: 36%; color: color-mix(in srgb, var(--al-accent) 30%, transparent); }
.al-bento__item.is-large .al-bento__icon svg { width: 340px; height: 340px; }
.al-bento__item.is-accent .al-bento__icon { color: rgba(0,0,0,.18); }
.al-bento__item:hover .al-bento__icon { transform: translateY(-50%) rotate(0) scale(1.05); }
.al-bento__img { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transition: transform .8s var(--al-ease); }
.al-bento__item.has-image::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0,0,0,.85), rgba(0,0,0,.1)); }
.al-bento__item.has-image:hover .al-bento__img { transform: scale(1.06); }
.al-bento__item.has-image p { color: rgba(255,255,255,.8); }

/* --- Stats ---------------------------------------------------------------- */
.al-stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border: 1px solid var(--al-border); border-radius: var(--al-radius); background: var(--al-surface); overflow: hidden; }
.al-stat { padding: 36px 24px; text-align: center; border-right: 1px solid var(--al-border); }
.al-stat:last-child { border-right: 0; }
.al-stat__value { font-size: clamp(48px, 5vw, 72px); color: var(--al-heading); }
.al-stat__value span { background: linear-gradient(180deg, #fff, color-mix(in srgb, var(--al-accent) 70%, #fff)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.al-stat__label { margin-top: 10px; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--al-muted); }

/* --- Métiers -------------------------------------------------------------- */
.al-jobs__count { display: flex; align-items: baseline; gap: 10px; padding: 14px 20px; border-radius: 14px; border: 1px solid var(--al-border); background: var(--al-surface); }
.al-jobs__count strong { font-family: var(--al-font-display); font-weight: 400; font-size: 40px; line-height: 1; color: var(--al-accent); }
.al-jobs__count span { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--al-muted); max-width: 130px; line-height: 1.3; }
.al-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.al-filters button {
	padding: 10px 18px; border-radius: 999px; border: 1px solid var(--al-border-strong); background: transparent; cursor: pointer;
	color: var(--al-text); font: 600 13px var(--al-font); transition: .2s;
}
.al-filters button:hover { border-color: var(--al-accent); }
.al-filters button.is-active { background: var(--al-accent); border-color: var(--al-accent); color: var(--al-on-accent); }
.al-jobs__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.al-jobs__group.is-hidden { display: none; }
.al-jobs__head { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.al-jobs__head h3 { margin: 0; font-size: 14px; letter-spacing: .1em; text-transform: uppercase; flex: 1; }
.al-jobs__icon { color: var(--al-accent); font-size: 18px; }
.al-jobs__icon svg { width: 18px; height: 18px; fill: currentColor; }
.al-jobs__n { font-size: 12px; font-weight: 700; color: var(--al-muted); padding: 2px 9px; border-radius: 999px; background: var(--al-surface-2); }

/* --- Étapes --------------------------------------------------------------- */
.al-steps__wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.al-steps__intro .al-head { margin-bottom: 0; }
.al-steps__note { margin-top: 18px; font-size: 13px; color: var(--al-muted); }
.al-steps__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; counter-reset: s; }
.al-step {
	display: flex; gap: 22px; align-items: center; padding: 22px 26px;
	border-radius: var(--al-radius); border: 1px solid var(--al-border); background: var(--al-surface);
	transition: .35s var(--al-ease);
}
.al-step:hover { border-color: var(--al-accent); transform: translateX(6px); }
.al-step__num { font-family: var(--al-font-display); font-size: 44px; line-height: 1; color: var(--al-accent); min-width: 56px; }
.al-step__title { font-size: 17px; margin: 0 0 2px; text-transform: uppercase; letter-spacing: .04em; }
.al-step p { margin: 0; color: var(--al-muted); font-size: 14px; }

/* --- Avis ----------------------------------------------------------------- */
.al-score { display: grid; grid-template-columns: auto auto; column-gap: 14px; align-items: center; padding: 14px 20px; border-radius: 16px; border: 1px solid var(--al-border); background: var(--al-surface); }
.al-score strong { grid-row: span 2; font-family: var(--al-font-display); font-weight: 400; font-size: 52px; line-height: 1; color: var(--al-heading); }
.al-score small { color: var(--al-muted); font-size: 13px; }
.al-stars { display: inline-flex; gap: 3px; color: #fbbf24; }
.al-stars svg { width: 16px; height: 16px; }
.al-carousel__track {
	display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 36px) / 3); gap: 18px;
	overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
}
.al-carousel__track::-webkit-scrollbar { display: none; }
.al-review { scroll-snap-align: start; display: flex; flex-direction: column; gap: 18px; margin: 0; }
.al-review:hover { transform: none; }
.al-review blockquote { margin: 0; flex: 1; font-size: 16px; line-height: 1.6; color: var(--al-text); }
.al-review figcaption { display: flex; align-items: center; gap: 12px; }
.al-review figcaption strong { display: block; color: var(--al-heading); font-size: 15px; }
.al-review figcaption small { color: var(--al-muted); font-size: 12px; }
.al-avatar {
	display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; flex: none;
	background: var(--al-gradient); color: var(--al-on-accent); font-weight: 800;
}
.al-carousel__nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }

/* --- Texte défilant ------------------------------------------------------- */
.al-marquee { padding: 0; overflow: hidden; }
.al-marquee__track { display: flex; width: max-content; animation: al-marquee var(--speed, 30s) linear infinite; }
.al-marquee.is-reverse .al-marquee__track { animation-direction: reverse; }
.al-marquee__line { display: flex; align-items: center; flex: none; }
.al-marquee__word, .al-marquee__sep { font-family: var(--al-font-display); text-transform: uppercase; white-space: nowrap; line-height: 1; }
.al-marquee__sep { padding: 0 .5em; color: var(--al-accent); }
@keyframes al-marquee { to { transform: translateX(-50%); } }
.al-marquee--band { padding: 10px 0; margin: 30px -2%; transform: rotate(-2deg); background: linear-gradient(90deg, var(--al-accent), var(--al-accent-2)); }
.al-marquee--band .al-marquee__word { font-size: clamp(26px, 3vw, 40px); color: var(--al-on-accent); }
.al-marquee--band .al-marquee__sep { color: rgba(0,0,0,.4); }
.al-marquee--outline { padding: 30px 0; }
.al-marquee--outline .al-marquee__word { font-size: clamp(80px, 13vw, 200px); color: transparent; -webkit-text-stroke: 1.5px rgba(255,255,255,.18); }
.al-marquee--outline .al-marquee__word:nth-child(4n+1) { -webkit-text-stroke-color: color-mix(in srgb, var(--al-accent) 70%, transparent); }
.al-marquee--outline .al-marquee__sep { font-size: clamp(40px, 5vw, 80px); }
.al-marquee--plain { padding: 24px 0; border-top: 1px solid var(--al-border); border-bottom: 1px solid var(--al-border); }
.al-marquee--plain .al-marquee__word { font-size: 28px; color: var(--al-muted); }

/* --- Galerie -------------------------------------------------------------- */
.al-gallery__grid { display: grid; gap: 14px; }
.al-gallery--mosaic { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; }
.al-gallery--mosaic .al-gallery__item:first-child { grid-column: span 2; grid-row: span 2; }
.al-gallery--grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 260px; }
.al-gallery__item { position: relative; overflow: hidden; border-radius: var(--al-radius); background: var(--al-surface); border: 1px solid var(--al-border); }
.al-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--al-ease), filter .4s; }
.al-gallery__item:hover img { transform: scale(1.06); }
.al-gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, color-mix(in srgb, var(--al-accent) 35%, transparent), transparent 50%); opacity: 0; transition: .4s; }
.al-gallery__item:hover::after { opacity: 1; }
.al-gallery__placeholder { display: grid; place-items: center; padding: 20px; text-align: center; font-size: 13px; color: var(--al-muted);
	background: repeating-linear-gradient(135deg, var(--al-surface), var(--al-surface) 14px, var(--al-surface-2) 14px, var(--al-surface-2) 28px); }

/* --- Vidéo ---------------------------------------------------------------- */
.al-video__frame { position: relative; aspect-ratio: 16 / 9; border-radius: 28px; overflow: hidden; border: 1px solid var(--al-border); background: var(--al-surface); cursor: pointer; isolation: isolate; }
.al-video__cover { position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center; transition: transform .8s var(--al-ease);
	background-image: radial-gradient(60% 80% at 70% 30%, color-mix(in srgb, var(--al-accent) 50%, transparent), transparent), radial-gradient(50% 70% at 20% 80%, color-mix(in srgb, var(--al-accent-2) 45%, transparent), transparent); }
.al-video__frame::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(0,0,0,.75), transparent 55%); }
.al-video__frame:hover .al-video__cover { transform: scale(1.04); }
.al-video__play {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 92px; height: 92px; border-radius: 50%;
	border: 0; background: var(--al-gradient); color: var(--al-on-accent); cursor: pointer; display: grid; place-items: center;
	box-shadow: 0 0 0 14px color-mix(in srgb, var(--al-accent) 25%, transparent); transition: .3s var(--al-ease);
}
.al-video__play svg { width: 34px; height: 34px; margin-left: 4px; }
.al-video__frame:hover .al-video__play { transform: translate(-50%, -50%) scale(1.08); }
.al-video__caption { position: absolute; left: 32px; bottom: 28px; right: 32px; }
.al-video__caption small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--al-muted); }
.al-video__caption strong { font-family: var(--al-font-display); font-weight: 400; font-size: clamp(26px, 3vw, 44px); text-transform: uppercase; color: #fff; }
.al-video__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.al-video__frame.is-playing > :not(iframe) { display: none; }
.al-video__frame.is-playing::after { display: none; }

/* --- CTA ------------------------------------------------------------------ */
.al-cta__box { position: relative; overflow: hidden; isolation: isolate; padding: clamp(60px, 8vw, 110px) var(--al-gutter); }
.al-cta.is-boxed .al-cta__box { border-radius: 32px; border: 1px solid var(--al-border); }
.al-cta__bg {
	position: absolute; inset: 0; z-index: -1; background-size: cover; background-position: center;
	background-image: radial-gradient(70% 90% at 50% 120%, color-mix(in srgb, var(--al-accent) 55%, transparent), transparent 70%), linear-gradient(180deg, var(--al-surface), #0e0c14);
}
.al-cta__bg[style]::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.6); }
.al-cta__inner { position: relative; max-width: 820px; margin: 0 auto; }
.al-cta .al-head { margin-bottom: 0; }

/* --- Statut serveur (carte) --------------------------------------------- */
.al-server { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.al-server:hover { transform: none; }
.al-server__info { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 200px; }
.al-server__info strong { display: block; color: var(--al-heading); font-size: 17px; }
.al-server__info small, .al-server__count small { color: var(--al-muted); font-size: 13px; }
.al-server__count { text-align: right; }
.al-server__count strong { display: block; font-family: var(--al-font-display); font-weight: 400; font-size: 38px; line-height: 1; color: var(--al-heading); }

/* --- Pages classiques, blog ---------------------------------------------- */
.al-page-hero { position: relative; padding: clamp(70px, 9vw, 120px) 0 clamp(30px, 4vw, 50px); overflow: hidden; }
.al-page-hero::before { content: ""; position: absolute; inset: -40% 20% 20%; background: radial-gradient(closest-side, color-mix(in srgb, var(--al-accent) 22%, transparent), transparent); filter: blur(50px); pointer-events: none; }
.al-page-hero .al-container { position: relative; }
.al-prose { max-width: 820px; font-size: 17px; }
.al-prose h2 { font-size: 30px; margin-top: 1.6em; } .al-prose h3 { font-size: 22px; margin-top: 1.4em; }
.al-prose a { color: var(--al-accent); text-decoration: underline; text-underline-offset: 3px; }
.al-prose img { border-radius: var(--al-radius-sm); }
.al-prose__cover { margin: 0 0 32px; } .al-prose__cover img { border-radius: var(--al-radius); width: 100%; }
.al-prose blockquote { margin: 1.5em 0; padding: 18px 24px; border-left: 3px solid var(--al-accent); background: var(--al-surface); border-radius: 0 12px 12px 0; }
.al-prose code { background: var(--al-surface-2); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.al-prose table { width: 100%; border-collapse: collapse; } .al-prose td, .al-prose th { border: 1px solid var(--al-border); padding: 10px; }
.al-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.al-post-card { background: var(--al-surface); border: 1px solid var(--al-border); border-radius: var(--al-radius); overflow: hidden; display: flex; flex-direction: column; transition: .35s var(--al-ease); }
.al-post-card:hover { transform: translateY(-4px); border-color: var(--al-border-strong); }
.al-post-card__media { display: block; aspect-ratio: 16 / 10; background: linear-gradient(135deg, color-mix(in srgb, var(--al-accent) 30%, var(--al-surface)), var(--al-surface-2)); overflow: hidden; }
.al-post-card__media img { width: 100%; height: 100%; object-fit: cover; }
.al-post-card__body { padding: 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.al-post-card__body p { color: var(--al-muted); font-size: 15px; flex: 1; margin: 0; }
.al-post-card__title { font-size: 21px; margin: 4px 0 0; }
.al-pagination { margin-top: 40px; }
.al-pagination .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.al-pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--al-border); }
.al-pagination .page-numbers.current { background: var(--al-accent); border-color: var(--al-accent); color: var(--al-on-accent); }
.post-navigation .nav-links { display: flex; justify-content: space-between; gap: 20px; margin: 40px 0; }
.al-404 { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.al-404__code { font-size: clamp(120px, 24vw, 300px); color: transparent; -webkit-text-stroke: 2px var(--al-accent); line-height: .9; }

/* Formulaires / commentaires */
input[type="text"], input[type="email"], input[type="url"], input[type="search"], input[type="password"], textarea, select {
	width: 100%; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--al-border-strong);
	background: var(--al-surface); color: var(--al-text); font: inherit;
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--al-accent); }
button[type="submit"], input[type="submit"] { padding: 13px 24px; border-radius: 999px; border: 0; background: var(--al-gradient); color: var(--al-on-accent); font: 700 14px var(--al-font); cursor: pointer; }
.comment-list { list-style: none; padding: 0; } .comment-body { padding: 18px; border-radius: 14px; background: var(--al-surface); margin-bottom: 14px; }

/* --- Pied de page --------------------------------------------------------- */
.al-footer { position: relative; overflow: hidden; padding: 90px 0 0; border-top: 1px solid var(--al-border); background: linear-gradient(180deg, var(--al-bg), #07070a); }
.al-footer__glow { position: absolute; left: 50%; bottom: -200px; width: 900px; height: 400px; transform: translateX(-50%); background: radial-gradient(closest-side, color-mix(in srgb, var(--al-accent) 25%, transparent), transparent); filter: blur(40px); pointer-events: none; }
.al-footer .al-container { position: relative; z-index: 1; }
.al-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; }
.al-footer__brand { margin-bottom: 16px; }
.al-footer__about p, .al-footer__widgets p { color: var(--al-muted); font-size: 15px; max-width: 380px; }
.al-footer__title { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--al-heading); margin-bottom: 18px; }
.al-footer__menu, .al-footer .al-menu { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.al-footer__menu a, .al-footer .al-menu a { color: var(--al-muted); font-size: 15px; padding: 0; text-transform: none; letter-spacing: 0; font-weight: 500; background: none !important; box-shadow: none !important; font-family: var(--al-font); }
.al-footer__menu a:hover { color: var(--al-accent); }
.al-footer__socials { display: flex; gap: 10px; margin-top: 20px; }
.al-social { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--al-border-strong); color: var(--al-text); transition: .25s; }
.al-social svg { width: 19px; height: 19px; }
.al-social:hover { border-color: var(--al-accent); background: var(--al-accent); color: var(--al-on-accent); }
.al-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 60px; padding: 24px 0; border-top: 1px solid var(--al-border); font-size: 13px; color: var(--al-muted); }
.al-totop { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--al-border-strong); }
.al-footer__bigname {
	font-size: clamp(70px, 17vw, 260px); text-align: center; white-space: nowrap; margin-bottom: -.18em;
	color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.08); user-select: none; pointer-events: none;
	background: linear-gradient(180deg, rgba(255,255,255,.07), transparent 80%); -webkit-background-clip: text; background-clip: text;
}

/* --- Animations d'apparition --------------------------------------------- */
.al-js .al-reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--al-ease), transform .8s var(--al-ease); transition-delay: calc(var(--d, 0) * 70ms); }
.al-js .al-reveal.is-in { opacity: 1; transform: none; }
.elementor-editor-active .al-reveal, .elementor-editor-preview .al-reveal { opacity: 1 !important; transform: none !important; }
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.al-js .al-reveal { opacity: 1; transform: none; }
}

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 1024px) {
	.al-features__grid, .al-jobs__grid, .al-posts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.al-bento__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.al-steps__wrap { grid-template-columns: 1fr; }
	.al-carousel__track { grid-auto-columns: calc((100% - 18px) / 2); }
	.al-gallery--mosaic { grid-template-columns: repeat(3, 1fr); }
	.al-footer__grid { grid-template-columns: 1fr 1fr; }
	.al-footer__about { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
	:root { --al-header-h: 66px; }
	.al-head { flex-direction: column; align-items: flex-start; }
	.al-head--center { align-items: center; }
	.al-features__grid, .al-jobs__grid, .al-posts, .al-bento__grid { grid-template-columns: minmax(0, 1fr); }
	.al-bento__item.is-large, .al-bento__item.is-wide { grid-column: auto; }
	.al-bento__item.is-large, .al-bento__item.is-tall { grid-row: auto; min-height: 380px; }
	.al-stat { border-right: 0; border-bottom: 1px solid var(--al-border); }
	.al-stat:last-child { border-bottom: 0; }
	.al-carousel__track { grid-auto-columns: 86%; }
	.al-gallery--mosaic, .al-gallery--grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
	.al-footer__grid { grid-template-columns: 1fr; gap: 36px; }
	.al-footer__bottom { flex-direction: column-reverse; text-align: center; }
	.al-btn { min-height: 48px; padding: 0 20px; }
	.al-btns .al-btn { flex: 1 1 auto; }
	.al-video__play { width: 70px; height: 70px; }
	.al-video__caption { left: 18px; bottom: 16px; }
	.al-step { padding: 18px; gap: 16px; }
	.al-server { flex-direction: column; align-items: stretch; text-align: left; }
	.al-server__count { text-align: left; }
}

/* ==========================================================================
   Whitelist : formulaire en étapes
   ========================================================================== */
.al-wl { max-width: 780px; margin: 0 auto; --tw: #9146ff; --dc: #5865f2; }
.al-wl svg { width: 1em; height: 1em; flex: none; }

/* Barre d'étapes */
.al-wl__steps { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; counter-reset: s; }
.al-wl__step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 18px 8px 14px; border-radius: 16px; background: var(--al-surface); border: 1px solid var(--al-border); color: var(--al-muted); font-size: 13px; font-weight: 600; text-align: center; transition: all .35s var(--al-ease); }
.al-wl__num { position: absolute; top: -10px; left: -10px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--al-bg); border: 2px solid var(--al-border-strong); font-size: 12px; color: var(--al-heading); }
.al-wl__num svg { display: none; width: 14px; height: 14px; }
.al-wl__sico { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--al-surface-2); font-size: 20px; color: var(--al-muted); transition: all .35s var(--al-ease); }
.al-wl__step.is-current { border-color: var(--al-accent); color: var(--al-heading); background: color-mix(in srgb, var(--al-accent) 9%, var(--al-surface)); box-shadow: 0 18px 40px -22px var(--al-accent); }
.al-wl__step.is-current .al-wl__num { border-color: var(--al-heading); }
.al-wl__step.is-current .al-wl__sico { background-image: var(--al-gradient); color: var(--al-on-accent); }
.al-wl__step.is-done { border-color: color-mix(in srgb, var(--al-accent-2) 55%, transparent); color: var(--al-accent-2); }
.al-wl__step.is-done .al-wl__num { border-color: var(--al-accent-2); color: var(--al-accent-2); }
.al-wl__step.is-done .al-wl__num b { display: none; }
.al-wl__step.is-done .al-wl__num svg { display: block; }
.al-wl__step.is-done .al-wl__sico { background: var(--al-accent-2); color: var(--al-on-accent); }

/* Carte */
.al-wl__card { background: linear-gradient(180deg, var(--al-surface), color-mix(in srgb, var(--al-surface) 70%, var(--al-bg))); border: 1px solid var(--al-border); border-radius: 22px; padding: clamp(24px, 4vw, 44px); box-shadow: 0 40px 80px -50px #000; }
.al-wl__panel { animation: al-wl-in .45s var(--al-ease); }
.al-wl__panel[hidden] { display: none; }
@keyframes al-wl-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.al-wl__ico { width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 18px; display: grid; place-items: center; font-size: 28px; background-image: var(--al-gradient); color: var(--al-on-accent); box-shadow: 0 16px 40px -14px var(--al-accent); }
.al-wl__ico--twitch { background: var(--tw); color: #fff; box-shadow: 0 16px 40px -14px var(--tw); }
.al-wl__ico--discord { background: var(--dc); color: #fff; box-shadow: 0 16px 40px -14px var(--dc); }
.al-wl__title { text-align: center; font-size: clamp(24px, 3vw, 30px); margin-bottom: 8px; }
.al-wl__sub { text-align: center; color: var(--al-muted); margin: 0 auto 28px; max-width: 520px; }

/* Prérequis */
.al-wl__reqs { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 12px; }
.al-wl__req { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: 14px; background: var(--al-surface-2); border: 1px solid var(--al-border); }
.al-wl__req > div { flex: 1; min-width: 0; }
.al-wl__req strong { display: block; color: var(--al-heading); font-size: 16px; }
.al-wl__req p { margin: 2px 0 0; color: var(--al-muted); font-size: 14px; }
.al-wl__req-ico { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; font-size: 18px; color: var(--al-accent); background: color-mix(in srgb, var(--al-accent) 12%, transparent); }
.al-wl__req-ico svg { width: 18px; height: 18px; fill: currentColor; }
.al-wl__req-ok { width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 13px; color: var(--al-accent-2); border: 2px solid currentColor; }
.al-wl__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--al-accent); }
.al-wl__link:hover { color: var(--al-accent-2); }

.al-wl__note { padding: 20px 22px; border-radius: 14px; margin: 0 0 22px; background: color-mix(in srgb, var(--al-accent-2) 7%, var(--al-surface)); border: 1px solid color-mix(in srgb, var(--al-accent-2) 28%, transparent); }
.al-wl__note h4 { display: flex; align-items: center; gap: 10px; color: var(--al-accent-2); font-size: 16px; margin: 0 0 10px; }
.al-wl__note ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.al-wl__note li { position: relative; padding-left: 18px; font-size: 14px; color: var(--al-text); }
.al-wl__note li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--al-accent-2); }

.al-wl__accept { display: flex; align-items: center; gap: 12px; cursor: pointer; margin-bottom: 22px; font-weight: 500; color: var(--al-heading); user-select: none; }
.al-wl__accept input { position: absolute; opacity: 0; pointer-events: none; }
.al-wl__box { width: 24px; height: 24px; flex: none; border-radius: 7px; display: grid; place-items: center; border: 2px solid var(--al-border-strong); color: transparent; transition: all .2s; }
.al-wl__accept input:checked + .al-wl__box { background-image: var(--al-gradient); border-color: transparent; color: var(--al-on-accent); }
.al-wl__accept input:focus-visible + .al-wl__box { outline: 2px solid var(--al-accent); outline-offset: 3px; }

/* Boutons d'étape */
.al-wl__actions { display: flex; gap: 12px; }
.al-wl__actions .al-btn { flex: 1; justify-content: center; }
.al-wl__actions .al-wl__back { flex: 0 0 auto; }
.al-wl__next[disabled] { opacity: .4; cursor: not-allowed; transform: none !important; box-shadow: none !important; filter: saturate(.5); }

/* Connexion Twitch / Discord */
.al-wl__connect { --brand: var(--tw); display: grid; gap: 14px; padding: 22px; border-radius: 16px; background: var(--al-surface-2); border: 1px solid var(--al-border); margin-bottom: 18px; transition: border-color .3s; }
.al-wl__connect--discord { --brand: var(--dc); }
.al-wl__account { display: flex; align-items: center; gap: 14px; }
.al-wl__account > div { flex: 1; min-width: 0; }
.al-wl__avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; background: var(--al-surface); color: var(--al-muted); border: 2px dashed var(--al-border-strong); transition: all .3s; }
.al-wl__acc-state { display: block; font-size: 13px; color: var(--al-muted); }
.al-wl__acc-name { display: block; color: var(--al-heading); font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.al-wl__acc-ok { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-size: 15px; background: var(--al-accent-2); color: var(--al-on-accent); transform: scale(0); transition: transform .35s var(--al-ease); }
.al-wl__oauth { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 54px; border: 0; border-radius: 12px; background: var(--brand); color: #fff; font: 700 16px/1 var(--al-font); cursor: pointer; transition: transform .2s, box-shadow .2s, filter .2s; }
.al-wl__oauth svg { width: 22px; height: 22px; }
.al-wl__oauth:hover { transform: translateY(-2px); box-shadow: 0 16px 34px -14px var(--brand); filter: brightness(1.08); }
.al-wl__oauth.is-loading { pointer-events: none; opacity: .75; }
.al-wl__oauth.is-loading svg { animation: al-wl-spin 1s linear infinite; }
@keyframes al-wl-spin { to { transform: rotate(360deg); } }
.al-wl__logout { justify-self: center; background: none; border: 0; color: var(--al-muted); font: 500 13px var(--al-font); text-decoration: underline; cursor: pointer; }
.al-wl__logout[hidden] { display: none; }
.al-wl__connect.is-connected { border-color: color-mix(in srgb, var(--al-accent-2) 55%, transparent); }
.al-wl__connect.is-connected .al-wl__avatar { background: var(--brand); color: #fff; border: 2px solid var(--brand); }
.al-wl__connect.is-connected .al-wl__acc-state { color: var(--al-accent-2); }
.al-wl__connect.is-connected .al-wl__acc-ok { transform: scale(1); }
.al-wl__connect.is-connected .al-wl__oauth { display: none; }
.al-wl__perms { display: flex; gap: 12px; padding: 0 4px; margin-bottom: 14px; color: var(--al-muted); font-size: 14px; }
.al-wl__perms-ico { color: var(--al-accent-2); padding-top: 2px; }
.al-wl__perms strong { color: var(--al-text); font-weight: 600; }
.al-wl__perms ul { margin: 4px 0 0; padding-left: 18px; }
.al-wl__panel > .al-wl__link { display: flex; width: fit-content; margin: 0 auto 14px; }
.al-wl__demo { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0 0 20px; padding: 10px 14px; border-radius: 10px; font-size: 13px; color: #f5c451; background: rgba(245, 196, 81, .08); border: 1px dashed rgba(245, 196, 81, .35); text-align: center; }

/* Personnage */
.al-wl__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.al-wl__field { margin-bottom: 20px; }
.al-wl__field label, .al-wl__styles legend { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600; color: var(--al-heading); }
.al-wl__field input, .al-wl__field textarea { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 12px; background: var(--al-surface-2); border: 1px solid var(--al-border-strong); color: var(--al-heading); font: 16px var(--al-font); transition: border-color .2s, box-shadow .2s; }
.al-wl__field textarea { resize: vertical; min-height: 110px; }
.al-wl__field input::placeholder { color: color-mix(in srgb, var(--al-muted) 70%, transparent); }
.al-wl__field input:focus, .al-wl__field textarea:focus { outline: 0; border-color: var(--al-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--al-accent) 16%, transparent); }
.al-wl__err { display: none; margin-top: 6px; color: #ff6b78; font-size: 12.5px; }
.al-wl__field.is-invalid input { border-color: #ff6b78; }
.al-wl__field.is-invalid .al-wl__err { display: block; }
.al-wl__field.is-valid input { border-color: color-mix(in srgb, var(--al-accent-2) 60%, transparent); }

.al-wl__styles { border: 0; margin: 0 0 22px; padding: 0; min-width: 0; }
.al-wl__style-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.al-wl__style { --c: var(--al-accent); position: relative; cursor: pointer; }
.al-wl__style input { position: absolute; opacity: 0; pointer-events: none; }
.al-wl__style-in { position: relative; height: 100%; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 22px 14px 18px; border-radius: 16px; text-align: center; background: var(--al-surface-2); border: 1px solid var(--al-border); transition: all .25s var(--al-ease); }
.al-wl__style-ico { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 22px; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); transition: all .25s; }
.al-wl__style-ico svg { width: 22px; height: 22px; fill: currentColor; }
.al-wl__style strong { color: var(--al-heading); font-size: 16px; }
.al-wl__style small { color: var(--al-muted); font-size: 13px; line-height: 1.45; }
.al-wl__style-ok { position: absolute; top: 10px; right: 10px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: var(--c); color: #0b0b0b; transform: scale(0); transition: transform .3s var(--al-ease); }
.al-wl__style:hover .al-wl__style-in { border-color: color-mix(in srgb, var(--c) 50%, transparent); transform: translateY(-3px); }
.al-wl__style input:checked + .al-wl__style-in { border-color: var(--c); background: color-mix(in srgb, var(--c) 10%, var(--al-surface-2)); box-shadow: 0 18px 40px -24px var(--c); }
.al-wl__style input:checked + .al-wl__style-in .al-wl__style-ico { background: var(--c); color: #0b0b0b; }
.al-wl__style input:checked + .al-wl__style-in .al-wl__style-ok { transform: scale(1); }
.al-wl__style input:focus-visible + .al-wl__style-in { outline: 2px solid var(--c); outline-offset: 3px; }

/* Terminé */
.al-wl__panel--done { text-align: center; }
.al-wl__ico--done { width: 84px; height: 84px; border-radius: 50%; font-size: 38px; animation: al-wl-pop .6s var(--al-ease); }
@keyframes al-wl-pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } }
.al-wl__summary { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 0 0 22px; text-align: left; }
.al-wl__summary > div { padding: 14px 16px; border-radius: 12px; background: var(--al-surface-2); border: 1px solid var(--al-border); min-width: 0; }
.al-wl__summary dt { display: flex; align-items: center; gap: 8px; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--al-muted); }
.al-wl__summary dd { margin: 4px 0 0; color: var(--al-heading); font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.al-wl__status { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 99px; font-size: 14px; font-weight: 600; color: #f5c451; background: rgba(245, 196, 81, .1); border: 1px solid rgba(245, 196, 81, .3); }
.al-wl__status span { width: 8px; height: 8px; border-radius: 50%; background: currentColor; animation: al-wl-blink 1.4s ease-in-out infinite; }
@keyframes al-wl-blink { 50% { opacity: .25; } }
.al-wl__panel--done .al-btns { margin-top: 18px; }
.al-wl__restart { display: block; margin: 18px auto 0; background: none; border: 0; color: var(--al-muted); font: 500 13px var(--al-font); text-decoration: underline; cursor: pointer; }

@media (max-width: 767px) {
	.al-wl__steps { gap: 6px; }
	.al-wl__step { padding: 12px 2px 10px; border-radius: 12px; font-size: 10.5px; gap: 6px; }
	.al-wl__sico { width: 34px; height: 34px; font-size: 15px; }
	.al-wl__num { width: 22px; height: 22px; top: -8px; left: -6px; font-size: 10px; }
	.al-wl__card { border-radius: 18px; }
	.al-wl__req { padding: 14px; gap: 12px; }
	.al-wl__grid, .al-wl__summary, .al-wl__style-grid { grid-template-columns: 1fr; gap: 10px; }
	.al-wl__grid { gap: 0; }
	.al-wl__style-in { flex-direction: row; text-align: left; flex-wrap: wrap; padding: 14px; column-gap: 14px; }
	.al-wl__style-in > strong { flex: 1; }
	.al-wl__style small { flex-basis: 100%; }
	.al-wl__style-ico { width: 42px; height: 42px; font-size: 18px; }
	.al-wl__style-ok { position: static; }
}
@media (max-width: 420px) { .al-wl__slabel { display: none; } }

/* ==========================================================================
   Annonces (fil Discord) + rendu markdown
   ========================================================================== */
.al-news { --al-news-h: 300px; background: var(--al-surface); border: 1px solid var(--al-border); border-radius: 20px; padding: 18px 20px 20px; }
.al-news svg { width: 18px; height: 18px; flex: none; }
.al-news__tabs { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 14px; }
.al-news__tab { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 12px; border: 1px solid var(--al-border-strong); background: var(--al-surface-2); color: var(--al-muted); font: 700 13px var(--al-font); letter-spacing: .06em; text-transform: uppercase; cursor: pointer; transition: all .2s; }
.al-news__tab:hover { color: var(--al-heading); border-color: color-mix(in srgb, var(--al-accent) 45%, transparent); }
.al-news__tab.is-active { color: var(--al-accent); border-color: var(--al-accent); background: color-mix(in srgb, var(--al-accent) 10%, var(--al-surface-2)); box-shadow: 0 0 0 3px color-mix(in srgb, var(--al-accent) 12%, transparent); }
.al-news__pane[hidden], .al-news__item[hidden] { display: none; }
.al-news__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; padding-bottom: 12px; margin-bottom: 14px; border-bottom: 1px solid var(--al-border); font-size: 13px; }
.al-news__chan { padding: 3px 9px; border-radius: 7px; background: rgba(88, 101, 242, .16); color: #aab2ff; font-weight: 700; }
.al-news__open { color: var(--al-accent); font-weight: 600; }
.al-news__nav { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }
.al-news__count { color: var(--al-muted); margin-right: 6px; font-variant-numeric: tabular-nums; }
.al-news__count b { color: var(--al-heading); }
.al-news__arrow { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; border: 1px solid var(--al-border-strong); background: var(--al-surface-2); color: var(--al-heading); cursor: pointer; transition: all .2s; }
.al-news__arrow:hover { border-color: var(--al-accent); color: var(--al-accent); }
.al-news__item { --c: var(--al-accent); animation: al-wl-in .4s var(--al-ease); }
.al-news__head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 12px; }
.al-news__badge { padding: 4px 10px; border-radius: 7px; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--c); background: color-mix(in srgb, var(--c) 14%, transparent); border: 1px solid color-mix(in srgb, var(--c) 35%, transparent); }
.al-news__sample { padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 700; color: #f5c451; border: 1px dashed rgba(245, 196, 81, .5); cursor: help; }
.al-news__title { flex: 1 1 260px; margin: 0; font-size: 19px; }
.al-news__by { color: var(--al-muted); font-size: 13px; }
.al-news__by strong { color: var(--al-text); font-weight: 600; }
.al-news__body { max-height: var(--al-news-h); overflow-y: auto; padding: 4px 14px 4px 16px; border-left: 3px solid var(--c); scrollbar-width: thin; scrollbar-color: var(--al-border-strong) transparent; }
.al-news__img { margin-top: 12px; border-radius: 12px; max-height: 360px; object-fit: cover; }
.al-news__empty { margin: 10px 0 0; color: var(--al-muted); text-align: center; padding: 30px 0; }

.al-md { font-size: 15px; line-height: 1.6; color: var(--al-text); }
.al-md p { margin: 0 0 .6em; }
.al-md h4 { margin: 1em 0 .45em; color: var(--al-accent); font-size: 17px; }
.al-md h4:first-child { margin-top: 0; }
.al-md .al-md-h1 { font-size: 20px; }
.al-md .al-md-h3 { font-size: 15px; color: var(--al-heading); }
.al-md ul { margin: 0 0 .8em; padding-left: 20px; }
.al-md li { margin-bottom: .25em; }
.al-md li::marker { color: var(--al-accent-2); }
.al-md blockquote { margin: 0 0 .7em; padding: 2px 0 2px 12px; border-left: 3px solid var(--al-border-strong); color: var(--al-muted); }
.al-md code { padding: 1px 6px; border-radius: 5px; background: var(--al-surface-2); font-size: .9em; }
.al-md pre { margin: 0 0 .8em; padding: 12px 14px; border-radius: 10px; background: var(--al-bg); overflow-x: auto; }
.al-md pre code { padding: 0; background: none; }
.al-md a { color: var(--al-accent); text-decoration: underline; text-underline-offset: 2px; }
.al-md .al-md-sub { font-size: 12.5px; color: var(--al-muted); }
.al-md .al-md-emoji { display: inline; width: 1.3em; height: 1.3em; vertical-align: -.3em; }
.al-md .al-md-spoiler { background: var(--al-border-strong); color: transparent; border-radius: 4px; cursor: pointer; transition: color .2s; }
.al-md .al-md-spoiler:hover, .al-md .al-md-spoiler:focus { color: inherit; background: var(--al-surface-2); }

/* ==========================================================================
   Connexion au serveur
   ========================================================================== */
.al-play { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 24px; align-items: start; }
.al-play svg { width: 18px; height: 18px; flex: none; }
.al-play__side { display: grid; gap: 16px; position: sticky; top: calc(var(--al-header-h) + 20px); }
.al-panel { background: var(--al-surface); border: 1px solid var(--al-border); border-radius: 18px; padding: 18px; }
.al-panel__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.al-panel__head h3, .al-play__tools-title { margin: 0; font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--al-muted); }

.al-play__pill { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 700; color: #4ade80; background: rgba(74, 222, 128, .1); border: 1px solid rgba(74, 222, 128, .3); }
.al-play__status.is-offline .al-play__pill { color: #f87171; background: rgba(248, 113, 113, .1); border-color: rgba(248, 113, 113, .3); }
.al-play__status.is-unknown .al-play__pill { color: var(--al-muted); background: var(--al-surface-2); border-color: var(--al-border); }
.al-play__status.is-unknown .al-status__dot { background: var(--al-muted); animation: none; box-shadow: none; }
.al-play__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.al-play__stats > div { padding: 12px 14px; border-radius: 12px; background: var(--al-surface-2); }
.al-play__stats small { display: block; font-size: 12px; color: var(--al-muted); }
.al-play__stats strong { font-size: 22px; color: var(--al-heading); font-variant-numeric: tabular-nums; }

.al-play__role { display: none; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 99px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--al-on-accent); background-image: var(--al-gradient); }
.al-play__role svg { width: 12px; height: 12px; }
.al-play__user { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.al-play__user > div { min-width: 0; }
.al-play__user strong { display: block; color: var(--al-heading); font-size: 16px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.al-play__user small { display: block; color: var(--al-muted); font-size: 13px; line-height: 1.4; }
.al-play__avatar { width: 48px; height: 48px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--al-surface-2); border: 2px dashed var(--al-border-strong); color: var(--al-muted); }
.al-play__avatar svg { width: 22px; height: 22px; }
.al-play__login { width: 100%; --brand: #5865f2; min-height: 48px; font-size: 15px; }
.al-play__auth-actions { display: none; gap: 8px; }
.al-play__mini { flex: 1; min-height: 38px; border-radius: 10px; border: 1px solid var(--al-border-strong); background: var(--al-surface-2); color: var(--al-heading); font: 600 13px var(--al-font); cursor: pointer; transition: all .2s; }
.al-play__mini:hover { border-color: var(--al-accent); }
.al-play__mini--ghost { background: transparent; color: var(--al-muted); }
.al-play__demo { margin: 10px 0 0; font-size: 12px; color: #f5c451; text-align: center; }
.al-play__auth.is-whitelisted .al-play__role { display: inline-flex; }
.al-play__auth.is-connected .al-play__avatar { background: #5865f2; border: 2px solid #5865f2; color: #fff; }
.al-play__auth.is-connected small { color: var(--al-accent); }
.al-play__auth.is-connected:not(.is-whitelisted) small { color: #f5c451; }
.al-wl__demo[hidden] { display: none; }
.al-play__auth.is-connected .al-play__login { display: none; }
.al-play__auth.is-connected .al-play__auth-actions { display: flex; }
.al-play__auth.is-loading .al-play__login svg { animation: al-wl-spin 1s linear infinite; }

.al-play__tools { display: grid; gap: 10px; }
.al-play__tools-title { margin: 6px 0 2px 4px; }
.al-tool { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 14px; background: var(--al-surface); border: 1px solid var(--al-border); color: var(--al-text); transition: all .2s; }
a.al-tool:hover, .al-tool--details summary:hover { color: var(--al-text); border-color: color-mix(in srgb, var(--al-accent) 45%, transparent); transform: translateX(3px); }
.al-tool__ico { width: 38px; height: 38px; flex: none; border-radius: 11px; display: grid; place-items: center; color: var(--al-accent); background: color-mix(in srgb, var(--al-accent) 12%, transparent); font-size: 16px; }
.al-tool__ico svg { width: 17px; height: 17px; fill: currentColor; }
.al-tool__txt { flex: 1; min-width: 0; }
.al-tool__txt strong { display: block; color: var(--al-heading); font-size: 14.5px; }
.al-tool__txt small { display: block; color: var(--al-muted); font-size: 12.5px; line-height: 1.4; }
.al-tool__badge { padding: 3px 8px; border-radius: 7px; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--al-accent); border: 1px solid color-mix(in srgb, var(--al-accent) 45%, transparent); }
.al-tool--details { display: block; padding: 0; }
.al-tool--details summary { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-radius: 14px; cursor: pointer; list-style: none; transition: transform .2s; border: 1px solid transparent; margin: -1px; }
.al-tool--details summary::-webkit-details-marker { display: none; }
.al-tool__chev { color: var(--al-muted); transition: transform .25s; }
.al-tool--details[open] .al-tool__chev { transform: rotate(90deg); }
.al-tool__steps { margin: 0; padding: 4px 18px 16px 44px; font-size: 13.5px; color: var(--al-text); display: grid; gap: 6px; }
.al-tool__steps li::marker { color: var(--al-accent); font-weight: 700; }

.al-play__main { display: grid; gap: 22px; min-width: 0; }
.al-play__badge { display: inline-block; padding: 6px 12px; border-radius: 8px; margin-bottom: 14px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--al-accent); background: color-mix(in srgb, var(--al-accent) 12%, transparent); border: 1px solid color-mix(in srgb, var(--al-accent) 30%, transparent); }
.al-play__title { font-family: var(--al-font-display); font-weight: 400; text-transform: uppercase; font-size: clamp(40px, 5.6vw, 72px); line-height: .95; margin-bottom: 12px; }
.al-play__intro .al-lead { margin: 0; max-width: 720px; }

.al-play__bar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 24px; border-radius: 20px; background: var(--al-surface); border: 1px solid var(--al-border); overflow: hidden; }
.al-play__bar::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 160px at 100% 50%, color-mix(in srgb, var(--al-accent-2) 14%, transparent), transparent 70%); pointer-events: none; }
.al-play__access { position: relative; min-width: 0; display: grid; gap: 3px; }
.al-play__access small { font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--al-muted); }
.al-play__access strong { font-size: 18px; color: #f5c451; }
.al-play.is-ready .al-play__access strong { color: var(--al-accent); }
.al-play__access-sub { font-size: 13px; color: var(--al-muted); }
.al-play__access-sub:empty { display: none; }
.al-play__access-sub.is-error { color: #ff6b7a; font-weight: 600; }
.al-play__btn.is-loading { cursor: progress; opacity: .75; }
.al-play__f8 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; font-size: 13px; color: var(--al-muted); }
.al-play__f8 code { padding: 3px 8px; border-radius: 6px; background: var(--al-bg); color: var(--al-heading); font-size: 12.5px; }
.al-play__copy { display: inline-flex; align-items: center; gap: 5px; padding: 3px 8px; border-radius: 6px; border: 1px solid var(--al-border-strong); background: transparent; color: var(--al-muted); font: 600 12px var(--al-font); cursor: pointer; }
.al-play__copy svg { width: 13px; height: 13px; }
.al-play__copy:hover, .al-play__copy.is-copied { color: var(--al-accent); border-color: var(--al-accent); }
.al-play__btn { position: relative; flex: none; display: grid; justify-items: center; gap: 2px; padding: 16px 34px; border-radius: 14px; background-image: var(--al-gradient); color: var(--al-on-accent); text-align: center; box-shadow: 0 18px 44px -16px var(--al-accent); transition: transform .2s, box-shadow .2s, filter .2s; }
.al-play__btn:hover { color: var(--al-on-accent); transform: translateY(-2px); box-shadow: 0 24px 50px -14px var(--al-accent); }
.al-play__btn-main { display: inline-flex; align-items: center; gap: 10px; font-family: var(--al-font-display); font-size: 24px; text-transform: uppercase; letter-spacing: .02em; line-height: 1.1; }
.al-play__btn small { font-size: 12.5px; font-weight: 600; opacity: .8; }
.al-play__btn.is-locked { filter: grayscale(.85) brightness(.6); cursor: not-allowed; box-shadow: none; transform: none; }

@media (max-width: 1024px) {
	.al-play { grid-template-columns: 1fr; }
	.al-play__side { position: static; grid-template-columns: 1fr 1fr; order: 2; }
	.al-play__tools { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
	.al-play__tools-title { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
	.al-play__side, .al-play__tools { grid-template-columns: 1fr; }
	.al-play__bar { flex-direction: column; align-items: stretch; padding: 20px; }
	.al-play__btn { padding: 14px 18px; }
	.al-play__btn-main { font-size: 21px; }
	.al-news { padding: 16px 14px; }
	.al-news__tab { flex: 1 1 auto; justify-content: center; padding: 10px 12px; font-size: 12px; }
	.al-news__nav { margin-left: 0; width: 100%; justify-content: flex-end; }
	.al-news__body { padding-left: 12px; padding-right: 8px; }
}
.al-play__auth.al-flash { animation: al-flash 1.2s var(--al-ease); }
@keyframes al-flash { 0%, 60% { border-color: var(--al-accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--al-accent) 25%, transparent); } 100% { box-shadow: none; } }

/* ---------- Whitelist : suivi de candidature ---------- */
.al-wl__status[hidden], .al-wl__track [hidden], .al-wl__track[hidden] { display: none; }
.al-wl__track { display: grid; justify-items: center; gap: 10px; margin: 0 auto 22px; max-width: 560px; padding: 18px 20px; border-radius: 14px; text-align: center; background: color-mix(in srgb, var(--al-accent) 6%, transparent); border: 1px solid color-mix(in srgb, var(--al-accent) 25%, transparent); }
.al-wl__track p { margin: 0; }
.al-wl__track-sub { font-size: 13px; color: var(--al-muted); }
.al-wl__track-sub:empty { display: none; }
.al-wl__error { color: #ff6b7a; background: rgba(255, 77, 94, .08); border-color: rgba(255, 77, 94, .35); }

/* ---------- En live maintenant ---------- */
.al-live__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 360px), 1fr)); gap: 22px; }
.al-live__card { display: grid; overflow: hidden; border-radius: 16px; background: var(--al-surface, #11151c); border: 1px solid rgba(255, 255, 255, .08); color: inherit; transition: transform .2s, border-color .2s, box-shadow .2s; }
.al-live__card:hover { color: inherit; transform: translateY(-3px); border-color: #9146ff; box-shadow: 0 18px 40px -18px #9146ff; }
.al-live__thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: #0e0b16; }
.al-live__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.al-live__badge { position: absolute; top: 10px; left: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 3px 9px; border-radius: 6px; background: #e91916; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .06em; }
.al-live__badge i { width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: al-live-pulse 1.4s infinite; }
.al-live__viewers { position: absolute; bottom: 10px; left: 10px; padding: 3px 8px; border-radius: 6px; background: rgba(0, 0, 0, .7); color: #fff; font-size: 12px; font-weight: 600; }
.al-live__body { display: grid; gap: 4px; padding: 14px 16px 16px; }
.al-live__body strong { font-size: 16px; }
.al-live__body small { color: var(--al-muted); font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.al-live__empty { text-align: center; color: var(--al-muted); }
@keyframes al-live-pulse { 50% { opacity: .35; } }
.al-wl__twitch { display: grid; justify-items: center; gap: 8px; margin-top: 6px; padding-top: 12px; border-top: 1px solid color-mix(in srgb, var(--al-accent) 18%, transparent); width: 100%; }
.al-wl__twitch[hidden], .al-wl__twitch [hidden] { display: none; }

/* En live : barre de tri, live à la une, grandes tuiles */
.al-live__wrap { display: grid; gap: 26px; }
.al-live__wrap [hidden], .al-live__card[hidden], .al-live__grid[hidden] { display: none !important; }
.al-live__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.al-live__count { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--al-heading); }
.al-live__count i { width: 9px; height: 9px; border-radius: 50%; background: #e91916; box-shadow: 0 0 0 4px rgba(233, 25, 22, .2); animation: al-live-pulse 1.4s infinite; }
.al-live__sort { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: 12px; background: var(--al-surface); border: 1px solid var(--al-border); }
.al-live__sort button { appearance: none; border: 0; background: transparent; color: var(--al-muted); font: inherit; font-size: 13px; font-weight: 600; padding: 8px 14px; border-radius: 9px; cursor: pointer; transition: background .2s, color .2s; }
.al-live__sort button:hover { color: var(--al-heading); }
.al-live__sort button[aria-pressed="true"] { background: #9146ff; color: #fff; }
.al-live__hero { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(260px, 1fr); overflow: hidden; border-radius: 20px; background: var(--al-surface); border: 1px solid color-mix(in srgb, #9146ff 45%, transparent); box-shadow: 0 30px 80px -40px #9146ff; }
.al-live__screen { position: relative; aspect-ratio: 16 / 9; background: #0e0b16; }
.al-live__screen iframe, .al-live__screen img { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; display: block; }
.al-live__info { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 12px; padding: 28px 30px; }
.al-live__tag { display: inline-flex; padding: 4px 10px; border-radius: 6px; background: color-mix(in srgb, #9146ff 22%, transparent); color: #c9a8ff; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.al-live__info strong { font-size: clamp(24px, 2.4vw, 34px); line-height: 1.1; color: var(--al-heading); }
.al-live__info p { margin: 0; color: var(--al-text, inherit); line-height: 1.5; }
.al-live__meta { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--al-muted); font-size: 14px; }
.al-live__meta li:empty { display: none; }
.al-live__info .al-btn { margin-top: 6px; }
.al-live__body { padding: 16px 18px 18px; }
.al-live__body strong { font-size: 18px; }
.al-live__body small { font-size: 14px; }
.al-live__body em { font-style: normal; font-size: 12px; color: #c9a8ff; }
@media (max-width: 900px) {
	.al-live__hero { grid-template-columns: 1fr; }
	.al-live__info { padding: 20px; }
}
