/* UltimeBots — accueil v2 (2026-11)
 * Nuit profonde (pas de noir pur), minimalisme, et du « liquid glass » façon iOS :
 * flou saturé, reflet spéculaire en haut à gauche, liseré lumineux sur les bords.
 * Le verre a besoin de lumière derrière lui : chaque section porte un halo discret.
 */

@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-400.woff2") format("woff2"), url("/assets/fonts/inter-400.woff") format("woff"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-500.woff2") format("woff2"), url("/assets/fonts/inter-500.woff") format("woff"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/assets/fonts/inter-600.woff2") format("woff2"), url("/assets/fonts/inter-600.woff") format("woff"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("/assets/fonts/inter-display-700.woff2") format("woff2"), url("/assets/fonts/inter-display-700.woff") format("woff"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Inter Display"; src: url("/assets/fonts/inter-display-800.woff2") format("woff2"), url("/assets/fonts/inter-display-800.woff") format("woff"); font-weight: 800; font-display: swap; }

:root {
  --night: #141416;            /* graphite doux, pas un noir pur */
  --night-2: #1a1a1d;
  --text: #f5f5f4;
  --mist: #a1a1aa;
  --mist-2: #8a8a93; /* ≥ 4,5:1 sur le fond (WCAG AA, petit texte) */
  --line: rgb(255 255 255 / 0.08);
  --line-2: rgb(255 255 255 / 0.14);
  --ice: 236 236 240;          /* lumière blanche neutre (rgb) */
  --gold: #e8c872;
  --gold-rgb: 232 200 114;

  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Inter Display", "Inter", system-ui, sans-serif;
  --font-mono: ui-monospace, "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  --font-wordmark: "Anton Ultime", Impact, "Arial Narrow", sans-serif;

  --pad: clamp(1rem, 4vw, 2rem);
  --shell: min(1180px, 100% - 2 * var(--pad));
  --narrow: min(820px, 100% - 2 * var(--pad));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --r-lg: 28px;
  --r-md: 20px;
  --r-sm: 14px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%;
  background: radial-gradient(1100px 620px at 50% -12%, #2b2b30 0%, transparent 72%) no-repeat, var(--night); }
html[data-motion-policy="reduce"] { scroll-behavior: auto; }
/* Les halos débordent volontairement : coupés au niveau de <main> (pas sur <html>, ce qui casserait
   l'en-tête sticky dans Chromium). clip ne crée pas de conteneur de défilement. */
main { overflow-x: hidden; }
@supports (overflow: clip) { main { overflow-x: clip; } }
body {
  margin: 0; min-height: 100vh; overflow-x: clip;
  background: transparent; /* le fond est sur <html> : sinon il recouvrirait les halos (z-index -1) */
  color: var(--text);
  font: 400 1rem/1.6 var(--font);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
code { font-family: var(--font-mono); font-size: 0.88em; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--text); color: var(--night); padding: 0.6rem 1rem; border-radius: 999px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 0.75rem; }
:focus-visible { outline: 2px solid rgb(var(--ice)); outline-offset: 3px; border-radius: 10px; }

/* ── Liquid glass ───────────────────────────────────────────────────── */
.glass {
  position: relative; isolation: isolate;
  background:
    linear-gradient(155deg, rgb(255 255 255 / 0.11) 0%, rgb(255 255 255 / 0.035) 38%, rgb(255 255 255 / 0.02) 100%);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid rgb(255 255 255 / 0.1);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.22),
    inset 0 -1px 0 rgb(255 255 255 / 0.04),
    0 24px 60px -28px rgb(0 0 0 / 0.75);
}
/* Reflet spéculaire : la lumière arrive d'en haut à gauche */
.glass::before {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(90% 55% at 12% -8%, rgb(255 255 255 / 0.16), transparent 60%);
}
/* Liseré lumineux : plus vif sur les coins haut-gauche et bas-droite */
.glass::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none; padding: 1px;
  background: linear-gradient(135deg, rgb(255 255 255 / 0.55), rgb(255 255 255 / 0.06) 32%, rgb(255 255 255 / 0) 60%, rgb(255 255 255 / 0.22));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgb(30 30 33 / 0.92); }
}

/* ── Boutons (pilules) ──────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 44px; padding: 0.7rem 1.25rem; border-radius: 999px; border: 0;
  font: 600 0.95rem/1.1 var(--font); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 0.2s var(--ease), box-shadow 0.2s, background-color 0.2s;
}
.btn:active { transform: scale(0.98); }
.btn-sm { min-height: 38px; padding: 0.5rem 1rem; font-size: 0.875rem; }
.btn-lg { min-height: 52px; padding: 0.85rem 1.5rem; font-size: 1rem; }
.btn-light {
  background: #f5f5f4; color: #0b0d14;
}
.btn-light:hover { background: #ffffff; }
.btn-gold {
  background: var(--gold); color: #1a1405;
}
.btn-gold:hover { background: #f0d68e; }
.btn-glass {
  position: relative; color: var(--text);
  background: linear-gradient(180deg, rgb(255 255 255 / 0.13), rgb(255 255 255 / 0.04));
  -webkit-backdrop-filter: blur(16px) saturate(160%); backdrop-filter: blur(16px) saturate(160%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.28), inset 0 0 0 1px rgb(255 255 255 / 0.12);
}
.btn-glass:hover { background: linear-gradient(180deg, rgb(255 255 255 / 0.18), rgb(255 255 255 / 0.07)); }

/* ── En-tête : pilule de verre flottante ────────────────────────────── */
/* Pas de voile derrière la barre : le Liquid Glass doit voir le contenu qui passe dessous. */
.hd { position: sticky; top: 0; z-index: 50; padding: 10px var(--pad) 0; }
.hd-bar {
  width: min(1120px, 100%); margin-inline: auto; height: 64px; padding: 0 0.5rem 0 1.1rem;
  display: flex; align-items: center; gap: 1.25rem; border-radius: 999px;
}
/* Liquid Glass façon Apple (iOS 26) : centre net sans flou, biseau fin qui courbe le fond
   (filtre SVG #lg-refract, Chrome/Edge), reflets fixes venant d'en haut à gauche.
   Sans le filtre (Safari/Firefox ou avant le JS) : même verre sans courbure, toujours sans flou. */
.hd-bar.glass {
  background: rgb(12 12 15 / 0.38);
  border-color: transparent;
  -webkit-backdrop-filter: saturate(160%) brightness(1.04);
  backdrop-filter: saturate(160%) brightness(1.04);
  box-shadow:
    inset 0 0 0 1px rgb(255 255 255 / 0.1),
    inset 1.5px 2px 1px -1px rgb(255 255 255 / 0.45),
    inset -1.5px -2px 1px -1px rgb(255 255 255 / 0.18),
    inset 0 12px 18px -16px rgb(255 255 255 / 0.12),
    inset 0 -12px 20px -16px rgb(255 255 255 / 0.06),
    0 12px 32px -10px rgb(0 0 0 / 0.55);
  transition: background-color 0.3s;
}
.hd-bar.glass::before {
  /* Reflet fixe en haut à gauche (ne suit plus le pointeur) */
  background:
    radial-gradient(110% 90% at 22% -10%, rgb(255 255 255 / 0.1), transparent 42%),
    linear-gradient(180deg, rgb(255 255 255 / 0.05), transparent 50%);
  opacity: 1;
  transition: background 0.18s ease-out;
}
.hd-bar.glass::after {
  inset: 0; padding: 1px;
  background: linear-gradient(115deg, rgb(255 255 255 / 0.38), rgb(255 255 255 / 0.04) 22%, rgb(255 255 255 / 0) 58%, rgb(255 255 255 / 0.16));
}
.hd-bar .hd-trigger, .hd-bar .hd-link, .hd-bar .hd-account, .hd-wordmark { text-shadow: 0 0 2px rgb(0 0 0 / 0.5), 0 1px 10px rgb(0 0 0 / 0.7); }
.hd-bar .hd-trigger, .hd-bar .hd-link, .hd-bar .hd-account { color: #e4e4e7; }

.hd-logo { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; flex-shrink: 0; }
/* Logo néon non recadré : le U occupe ~60 % de l’image → image agrandie, marge négative,
   même encombrement qu’avant (30 px). */
.hd-logo img { width: 46px; height: 46px; margin: -8px; border-radius: 0; }
/* Nom du site : sobre, à la Linear (30/11). Inter 600, déjà chargée pour le reste du site : aucune police en plus. */
.hd-wordmark { font: 600 1.2rem/1 var(--font); letter-spacing: -0.025em; }
.hd-nav { flex: 1; display: flex; justify-content: center; }
.hd-menu { display: flex; align-items: center; gap: 0.15rem; }
.hd-item { position: relative; }
.hd-trigger, .hd-link {
  display: inline-flex; align-items: center; gap: 0.3rem; height: 38px; padding: 0 0.85rem; border: 0; border-radius: 999px;
  background: none; color: var(--mist); font: 500 0.92rem/1 var(--font); text-decoration: none; cursor: pointer;
  transition: color 0.15s, background-color 0.15s;
}
.hd-trigger:hover, .hd-link:hover, .hd-trigger[aria-expanded="true"] { color: var(--text); background: rgb(255 255 255 / 0.08); }
.hd-chev { transition: transform 0.25s var(--ease); }
.hd-trigger[aria-expanded="true"] .hd-chev { transform: rotate(180deg); }
.hd-actions { display: flex; align-items: center; gap: 0.35rem; }
.hd-account { display: inline-flex; align-items: center; gap: 0.4rem; height: 38px; padding: 0 0.8rem; border-radius: 999px; color: var(--mist); font-size: 0.92rem; font-weight: 500; text-decoration: none; }
.hd-account:hover { color: var(--text); background: rgb(255 255 255 / 0.08); }
.hd-burger { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; border-radius: 999px; background: rgb(255 255 255 / 0.08); cursor: pointer; }
.header-start:empty { display: none; }
.hd .header-start { display: flex; }

/* Méga-menus : panneau sombre opaque (il est dans la barre de verre, un backdrop-filter imbriqué
   ne verrait pas la page). Colonne gauche = carte teintée (or pour UltimeBots, bleu glacé pour
   Perso) avec l'offre ; colonne droite = liens avec icône, flèche au survol. */
.mega {
  --tint: var(--gold-rgb); --r: 28px; --p: 10px; --r-in: calc(var(--r) - var(--p));
  position: absolute; top: calc(100% + 14px); left: 50%; translate: -50% 0; width: 680px;
  display: grid; grid-template-columns: 1fr 1.25fr; grid-template-rows: auto 1fr; gap: 0 0.9rem; padding: var(--p);
  border-radius: var(--r); background: linear-gradient(180deg, #1b1b1f, #121215) !important;
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08), 0 30px 60px -20px rgb(0 0 0 / 0.75), 0 8px 18px -8px rgb(0 0 0 / 0.5);
  animation: drop 0.24s var(--ease);
}
#mega-perso { --tint: 150 182 238; }
@keyframes drop { from { opacity: 0; transform: translateY(-6px) scale(0.98); } }
/* Colonne gauche = carte teintée : le ::before est un élément de la grille (colonne 1, deux rangées),
   rayon intérieur = rayon du panneau − marge. */
.mega.glass::before {
  position: static; inset: auto; z-index: 0; grid-column: 1; grid-row: 1 / span 2; border-radius: var(--r-in);
  background:
    radial-gradient(110% 70% at 0% 0%, rgb(var(--tint) / 0.16), transparent 70%),
    linear-gradient(180deg, rgb(255 255 255 / 0.035), rgb(255 255 255 / 0.015));
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.06);
}
.mega > .mega-intro, .mega > .mega-offer { position: relative; z-index: 1; }
.mega-intro { grid-column: 1; grid-row: 1; padding: 1.15rem 1.15rem 0; }
.mega-name { font: 700 1.1rem/1.2 var(--font-display); margin-bottom: 0.4rem; }
.mega-desc { color: var(--mist); font-size: 0.86rem; line-height: 1.55; }
.mega-links { grid-column: 2; grid-row: 1 / span 2; display: grid; align-content: start; gap: 0.2rem; padding: 0; }
.mega-links a {
  position: relative; display: grid; grid-template-columns: 38px 1fr; column-gap: 0.8rem; row-gap: 0.1rem; align-items: center;
  --p3: 10px;
  padding: var(--p3) 2.2rem var(--p3) var(--p3); border-radius: var(--r-in); text-decoration: none; transition: background-color 0.18s;
}
.mega-ic {
  grid-row: 1 / span 2; display: grid; place-items: center; width: 38px; height: 38px; border-radius: calc(var(--r-in) - var(--p3)); color: var(--mist);
  background: rgb(255 255 255 / 0.04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08), inset 0 1px 0 rgb(255 255 255 / 0.06);
  transition: color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.mega-links a:hover, .mega-links a:focus-visible { background: rgb(255 255 255 / 0.05); }
.mega-links a:hover .mega-ic, .mega-links a:focus-visible .mega-ic {
  color: rgb(var(--tint)); background: rgb(var(--tint) / 0.1); box-shadow: inset 0 0 0 1px rgb(var(--tint) / 0.3), 0 6px 16px -8px rgb(var(--tint) / 0.5);
}
.mega-links strong { font-weight: 600; font-size: 0.92rem; }
.mega-links strong + span { color: var(--mist); font-size: 0.8rem; line-height: 1.4; }
.mega-go { position: absolute; right: 0.85rem; top: 50%; translate: -4px -50%; opacity: 0; color: var(--text); transition: opacity 0.2s, translate 0.25s cubic-bezier(0.34, 1.5, 0.5, 1); }
.ext-ic.mega-go { opacity: 0.45; translate: 0 -50%; }
.mega-links a:hover .mega-go, .mega-links a:focus-visible .mega-go { opacity: 1; translate: 0 -50%; }
.mega-offer {
  --p2: 8px;
  grid-column: 1; grid-row: 2; align-self: end; display: grid; gap: 0.15rem; margin: 1.3rem var(--p2) var(--p2); padding: 0.95rem 1rem 1rem;
  border-radius: calc(var(--r-in) - var(--p2)); text-decoration: none;
  background: linear-gradient(160deg, rgb(var(--tint) / 0.12), rgb(var(--tint) / 0.03) 70%);
  box-shadow: inset 0 0 0 1px rgb(var(--tint) / 0.28), inset 0 1px 0 rgb(255 255 255 / 0.08);
  transition: box-shadow 0.25s, background-color 0.25s;
}
.mega-offer:hover { box-shadow: inset 0 0 0 1px rgb(var(--tint) / 0.5), inset 0 1px 0 rgb(255 255 255 / 0.1), 0 12px 28px -14px rgb(var(--tint) / 0.6); }
.mega-offer--gold { background: linear-gradient(160deg, rgb(var(--tint) / 0.12), rgb(var(--tint) / 0.03) 70%); }
.mega-offer-name { color: rgb(var(--tint)); font: 600 0.68rem/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; }
.mega-offer--gold .mega-offer-name { color: rgb(var(--tint)); }
.mega-offer-price { margin-top: 0.45rem; color: var(--text); font: 700 1.35rem/1.1 var(--font-display); letter-spacing: -0.02em; }
.mega-offer-cta {
  display: inline-flex; align-items: center; gap: 0.4rem; justify-self: start; margin-top: 0.8rem; padding: 0.45rem 0.85rem; border-radius: 999px;
  color: #0b0d14; background: #f5f5f4; font-size: 0.8rem; font-weight: 600; text-decoration: none;
}
.mega-offer-cta::after {
  content: ""; width: 0.8em; height: 0.8em; background: currentColor; transition: translate 0.25s cubic-bezier(0.34, 1.5, 0.5, 1);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14m-5-5 5 5-5 5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%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='M5 12h14m-5-5 5 5-5 5' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.mega-offer:hover .mega-offer-cta::after { translate: 3px 0; }
/* Flèche ↗ des liens vers un autre site (Docs dans la barre, Docs / Support dans le menu mobile) */
.hd-link--ext, .sheet-ext { display: inline-flex; align-items: center; gap: 0.3rem; }
.ext-ic { flex: none; opacity: 0.55; transition: opacity 0.2s, translate 0.25s cubic-bezier(0.34, 1.5, 0.5, 1); }
.hd-link--ext:hover .ext-ic, .sheet-ext:hover .ext-ic { opacity: 1; translate: 1px -1px; }

.hd-sheet {
  width: min(1120px, 100%); margin: 10px auto 0; padding: 1rem; border-radius: var(--r-lg);
  display: grid; gap: 1.1rem; max-height: calc(100dvh - 96px); overflow-y: auto;
  background: rgb(24 24 27 / 0.97) !important;
}
.sheet-group { display: grid; }
.sheet-title { color: var(--mist-2); font-size: 0.8rem; font-weight: 600; padding: 0 0.5rem 0.35rem; }
.sheet-group a { padding: 0.75rem 0.5rem; font-size: 1.05rem; font-weight: 500; text-decoration: none; border-bottom: 1px solid var(--line); }
.sheet-group--row { grid-auto-flow: column; grid-auto-columns: max-content; gap: 1rem; }
.sheet-group--row a { border: 0; color: var(--mist); }
.sheet-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }

/* ── Sections ───────────────────────────────────────────────────────── */
.section { position: relative; width: var(--shell); margin-inline: auto; padding-top: clamp(6rem, 12vw, 9.5rem); }
.section-head { max-width: min(48rem, 100%); margin: 0 auto clamp(2.5rem, 5vw, 3.75rem); text-align: center; }
.section-head h2 { font: 800 clamp(2.05rem, 1rem + 3.1vw, 3.85rem)/1.05 var(--font-display); letter-spacing: -0.035em; text-wrap: balance; }
.section-head p { margin: 1rem auto 0; color: var(--mist); font-size: clamp(1.02rem, 0.92rem + 0.45vw, 1.25rem); max-width: 40rem; text-wrap: pretty; }
.section-more { margin-top: 1.5rem; text-align: center; }
.section-more a { color: var(--mist); font-size: 0.92rem; text-underline-offset: 4px; }
.section-more a:hover { color: var(--text); }

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero { position: relative; width: var(--shell); margin-inline: auto; padding-top: clamp(3.5rem, 8vw, 7.5rem); text-align: center; }
.hero-aura { position: absolute; inset: -140px calc(50% - 50vw) auto; height: 1300px; z-index: -1; pointer-events: none; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); mask-image: linear-gradient(to bottom, #000 55%, transparent 100%); }
/* Fond du héros : sobre et construit, pas de halos flous.
   - une lumière de plafond, étroite, qui tombe sur le titre ;
   - un grain très léger pour casser les dégradés. */
.hx-light {
  position: absolute; left: 50%; top: 0; width: 1100px; height: 900px; translate: -50% 0;
  background:
    radial-gradient(40% 55% at 50% 0%, rgb(255 255 255 / 0.13), transparent 70%),
    linear-gradient(90deg, transparent 38%, rgb(255 255 255 / 0.035) 50%, transparent 62%);
  -webkit-mask: linear-gradient(#000 40%, transparent); mask: linear-gradient(#000 40%, transparent);
}
.hx-grain { position: absolute; inset: 0; background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.6 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>") 0 0 / 200px 200px; opacity: 0.035; mix-blend-mode: overlay; }
@media (max-width: 680px) { .hx-light { width: 700px; } }
.hero-copy { max-width: min(76rem, 100%); margin-inline: auto; }
/* Fluide sur mobile → ultrawide : min lisible, max plus haut (avant plafonné trop tôt à 4.6rem). */
.hero-title {
  font: 800 clamp(2.45rem, 1.05rem + 4.6vw, 5.9rem)/1.02 var(--font-display);
  letter-spacing: -0.048em;
}
.hero-l1, .hero-l2 { display: block; text-wrap: balance; }
.hero-l2 { background: linear-gradient(180deg, #d4d4d8 0%, #71717a 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lead {
  margin: clamp(1.25rem, 2vw, 1.75rem) auto 0; color: var(--mist);
  font-size: clamp(1.08rem, 0.95rem + 0.55vw, 1.38rem); line-height: 1.55;
  max-width: min(42rem, 100%); text-wrap: pretty;
}
.hero-cta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(0.65rem, 1.2vw, 0.9rem);
  margin-top: clamp(1.85rem, 3.5vw, 2.6rem);
}
.hero-cta .btn-lg {
  min-height: clamp(52px, 4.2vw, 58px);
  padding: clamp(0.85rem, 1.2vw, 1rem) clamp(1.45rem, 2vw, 1.75rem);
  font-size: clamp(1rem, 0.92rem + 0.35vw, 1.12rem);
}
@media (min-width: 1600px) {
  .hero-title { font-size: clamp(4.8rem, 3.2vw + 1.5rem, 6.25rem); }
  .hero-lead { font-size: 1.4rem; max-width: 44rem; }
}

/* ── Démo ───────────────────────────────────────────────────────────── */
.demo { position: relative; max-width: 860px; margin: clamp(3.5rem, 7vw, 5rem) auto 0; text-align: left; }
.demo::before {
  content: ""; position: absolute; inset: 10% 5% -10%; z-index: -1; border-radius: 50%; filter: blur(70px);
  background: rgb(var(--ice) / 0.18); transition: background-color 0.6s var(--ease);
}
.demo[data-who="perso"]::before { background: rgb(var(--gold-rgb) / 0.2); }
.msg { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 0.75rem; animation: msg-in 0.3s var(--ease); }
@keyframes msg-in { from { opacity: 0; transform: translateY(6px); } }
.msg-avatar { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; font: 700 1rem/1 var(--font-display); color: #0b0d14; }
.msg-avatar img { width: 100%; height: 100%; object-fit: cover; }
.msg-avatar--user { background: #52525b; color: var(--text); }
.msg-meta { display: flex; align-items: center; gap: 0.45rem; font-size: 0.8rem; color: var(--mist-2); }
.msg-author { font-weight: 600; font-size: 0.95rem; color: var(--text); }
.msg-app { padding: 0.08rem 0.32rem; border-radius: 4px; background: rgb(var(--ice)); color: #0b0d14; font-size: 0.62rem; font-weight: 700; line-height: 1.35; }
.msg-text { color: #e4e4e7; font-size: 0.95rem; }
.msg-text code { background: rgb(255 255 255 / 0.07); padding: 0.1rem 0.4rem; border-radius: 6px; }
.embed { margin-top: 0.4rem; max-width: 30rem; padding: 0.8rem 1rem 0.85rem; border-radius: 10px; background: rgb(255 255 255 / 0.05); border-left: 3px solid var(--accent, rgb(var(--ice))); }
.embed-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.3rem; }
.embed-body { color: #d4d4d8; font-size: 0.875rem; line-height: 1.5; }
.embed-fields { display: grid; grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr)); gap: 0.5rem 1rem; margin-top: 0.6rem; font-size: 0.85rem; }
.embed-fields dt { font-weight: 600; }
.embed-fields dd { color: #d4d4d8; }
.embed-buttons { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.7rem; }
.embed-buttons span { padding: 0.35rem 0.8rem; border-radius: 8px; background: rgb(255 255 255 / 0.09); font-size: 0.82rem; font-weight: 500; }
.embed-buttons span:first-child { background: var(--accent-btn, rgb(var(--ice) / 0.9)); color: var(--accent-btn-text, #0b0d14); }
.embed-footer { margin-top: 0.6rem; color: var(--mist-2); font-size: 0.75rem; }
.typing { color: var(--mist-2); font-size: 0.82rem; padding-left: 52px; }
.typing i { display: inline-block; width: 5px; height: 5px; margin-right: 3px; border-radius: 50%; background: currentColor; animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dot { 50% { opacity: 0.2; } }
@keyframes caret { 50% { opacity: 0; } }

.chip {
  min-height: 34px; padding: 0.3rem 0.85rem; border-radius: 999px; border: 0; cursor: pointer;
  background: rgb(255 255 255 / 0.06); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--text);
  font: 500 0.85rem/1 var(--font-mono); transition: background-color 0.15s, box-shadow 0.15s;
}
.chip:hover { background: rgb(255 255 255 / 0.1); }
.chip[aria-pressed="true"] { background: var(--text); color: #0b0d14; box-shadow: none; }

/* Stats en direct : compteur mécanique. Pas de carte : une ligne entre deux filets,
   libellés en petites capitales, chaque chiffre est une bande 0-9 qui roule jusqu'à sa valeur
   (live-stats.js). Les chiffres qui changent pendant le polling roulent seuls. */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); max-width: 860px; margin: clamp(3rem, 6vw, 4.5rem) auto 0;
  border-block: 1px solid var(--line);
}
.stats div { display: flex; flex-direction: column-reverse; align-items: center; gap: 0.85rem; padding: 1.5rem 1rem 1.6rem; }
.stats div + div { border-left: 1px solid var(--line); }
.stats dt { color: var(--mist-2); font: 600 0.68rem/1 var(--font-mono); letter-spacing: 0.16em; text-transform: uppercase; }
.stats dd {
  --od-h: 1.08em;
  display: flex; align-items: flex-start; height: var(--od-h); overflow: hidden;
  color: var(--text); font: 600 clamp(2rem, 4.4vw, 3rem)/1 var(--font-display); letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.od-d {
  display: block; height: var(--od-h); overflow: hidden;
  -webkit-mask: linear-gradient(transparent, #000 14%, #000 86%, transparent);
  mask: linear-gradient(transparent, #000 14%, #000 86%, transparent);
}
.od-r {
  display: flex; flex-direction: column;
  transform: translateY(calc(var(--d, 0) * var(--od-h) * -1));
  transition: transform 1.25s cubic-bezier(0.16, 1, 0.3, 1) calc(var(--i, 0) * 70ms);
}
.od-r > span { display: block; height: var(--od-h); line-height: var(--od-h); text-align: center; }
.od-s { display: block; width: 0.28em; line-height: var(--od-h); }
.od-s:not(:empty) { width: auto; }
html[data-motion-policy="reduce"] .od-r { transition: none; }

/* ── Deux versions ──────────────────────────────────────────────────── */
/* Deux versions : les deux bots tels qu'ils apparaissent sur Discord (fiche de profil),
   face à face, puis la comparaison ligne par ligne. Valeurs d'UltimeBots à gauche, de Perso à
   droite, le critère au milieu. Côté Perso, le nom et l'activité changent (c'est ton bot). */
.vs { --col: minmax(0, 1fr); max-width: 1040px; margin-inline: auto; }
/* Fiche de profil façon Discord (rayons imbriqués : fiche 18, bannière collée en haut) */
.vs-banner { height: 74px; background: linear-gradient(135deg, #3f3f46, #18181b); }
.vs-side--perso .vs-banner { background: linear-gradient(135deg, #f6d98b, #b98a2e 55%, #5b4318); transition: filter 0.6s; }
/* Comparaison */
.vs-row {
  display: grid; grid-template-columns: var(--col) clamp(8rem, 14vw, 11rem) var(--col); align-items: center; column-gap: 1.25rem;
  padding: 1rem 0; border-top: 1px solid var(--line); font-size: 0.98rem;
}
.vs-row:last-child { border-bottom: 1px solid var(--line); }
.vs-cta { display: grid; grid-template-columns: var(--col) clamp(8rem, 14vw, 11rem) var(--col); column-gap: 1.25rem; margin-top: clamp(1.75rem, 3vw, 2.25rem); }
.vs-cta .btn:first-child { justify-self: end; }
.vs-cta .btn:last-child { grid-column: 3; justify-self: start; }
@media (max-width: 720px) {
  .vs-banner { height: 46px; }
  .vs-row { grid-template-columns: 1fr 1fr; row-gap: 0.35rem; }
  .vs-cta { grid-template-columns: 1fr; row-gap: 0.6rem; }
  .vs-cta .btn:first-child, .vs-cta .btn:last-child { grid-column: 1; justify-self: stretch; justify-content: center; }
}

/* ── Bento ──────────────────────────────────────────────────────────── */

.compare { margin-top: clamp(3rem, 6vw, 4.5rem); display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: start; padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--r-lg); }
.compare-head h3 { font: 800 clamp(1.6rem, 3vw, 2.1rem)/1.1 var(--font-display); letter-spacing: -0.03em; }
.compare-head p { margin: 0.9rem 0 1.5rem; color: var(--mist); }
.ic-yes { color: var(--gold); vertical-align: middle; }
td:not(.is-vip) .ic-yes { color: var(--text); }
.ic-no { color: var(--mist-2); vertical-align: middle; opacity: 0.7; }

/* ── Perso ──────────────────────────────────────────────────────────── */
.perso-aura { position: absolute; left: 50%; top: 4rem; width: 900px; height: 600px; translate: -50% 0; z-index: -1; border-radius: 50%; filter: blur(100px); background: radial-gradient(closest-side, rgb(var(--gold-rgb) / 0.14), transparent); pointer-events: none; }
.perso-mascot { width: 120px; margin: 0 auto 1.25rem; filter: drop-shadow(0 18px 30px rgb(var(--gold-rgb) / 0.22)); }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; counter-reset: step; }
.step { counter-increment: step; padding: 1.4rem 1.3rem 1.5rem; border-radius: var(--r-md); }
.step h3::before {
  content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 1rem; border-radius: 50%;
  background: rgb(var(--gold-rgb) / 0.14); box-shadow: inset 0 0 0 1px rgb(var(--gold-rgb) / 0.45); color: var(--gold);
  font: 700 0.95rem/1 var(--font-display);
}
.step h3 { font: 700 1.05rem/1.3 var(--font-display); }
.step p { margin-top: 0.4rem; color: var(--mist); font-size: 0.9rem; }

/* ── Tarifs ─────────────────────────────────────────────────────────── */
.pricing { text-align: center; }
.pricing-aura { position: absolute; left: 50%; top: 12rem; width: 1000px; height: 520px; translate: -50% 0; z-index: -1; border-radius: 50%; filter: blur(110px); pointer-events: none;
  background: radial-gradient(closest-side at 62% 50%, rgb(var(--gold-rgb) / 0.16), transparent), radial-gradient(closest-side at 35% 50%, rgb(var(--ice) / 0.16), transparent); }
.plan-switch { display: inline-flex; gap: 4px; padding: 5px; border-radius: 999px; margin-bottom: 2.25rem; }
.plan-switch-btn { display: grid; justify-items: center; gap: 0.05rem; min-width: 10.5rem; padding: 0.6rem 1.2rem; border: 0; border-radius: 999px; background: none; color: var(--mist); cursor: pointer; transition: background-color 0.2s; }
.plan-switch-btn strong { font: 700 0.98rem/1.2 var(--font-display); color: var(--text); }
.plan-switch-btn span { font-size: 0.78rem; }
.plan-switch-btn[aria-selected="true"] { background: rgb(255 255 255 / 0.12); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.25), inset 0 0 0 1px rgb(255 255 255 / 0.1); }
.plan-switch-btn[aria-selected="true"] strong { color: var(--gold); }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; align-items: stretch; text-align: left; }
.plan { display: flex; flex-direction: column; padding: 1.6rem 1.5rem 1.5rem; border-radius: var(--r-lg); }
.plan .btn { margin-top: auto; width: 100%; }
.plan-name { font: 600 0.98rem/1.3 var(--font); color: var(--mist); }
.plan-price { margin-top: 0.8rem; font: 800 2.6rem/1 var(--font-display); letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.plan-day { margin: 0.45rem 0 1.6rem; color: var(--mist-2); font-size: 0.875rem; }
.plan-badge { position: absolute; top: 1.3rem; right: 1.3rem; padding: 0.22rem 0.6rem; border-radius: 999px; background: rgb(255 255 255 / 0.08); box-shadow: inset 0 0 0 1px var(--line-2); font-size: 0.75rem; font-weight: 700; }
.plan-badge:empty { display: none; }
.plan-badge--gold { background: var(--gold); color: #1a1405; box-shadow: none; }
.plan--featured { box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.25), 0 0 0 1px rgb(var(--gold-rgb) / 0.5); transform: translateY(-8px); }
.plan--featured .plan-name { color: var(--gold); }
.assurances { margin: clamp(2.5rem, 6vw, 3.5rem) auto 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.5rem; text-align: left; }
.assurances li { display: grid; grid-template-columns: 20px 1fr; gap: 0.7rem; color: var(--mist); }
.assurances svg { color: var(--text); margin-top: 0.15rem; }
.assurances strong { display: block; color: var(--text); font-weight: 600; font-size: 0.93rem; }
.assurances span { font-size: 0.85rem; }

/* ── FAQ ────────────────────────────────────────────────────────────── */
/* FAQ : grande, minimaliste, sans cartes — de grosses questions séparées par un filet fin,
   un « + » fin qui pivote, ouverture fluide (interpolate-size, Chrome 129+ ; ailleurs instantané).
   Une lueur glacée très douce à droite donne de la profondeur sans changer de couleur. */
.faq { width: var(--shell); isolation: isolate; }
.faq::before {
  content: ""; position: absolute; z-index: -1; inset: 2rem -12vw -2rem 20%; pointer-events: none;
  /* closest-side : la lueur s'éteint avant les bords de la boîte → plus de coupure nette à droite
     (avant, l'ellipse dépassait la boîte et finissait tranchée sur certains écrans larges). */
  background: radial-gradient(closest-side at 68% 48%, rgb(var(--ice) / 0.07), rgb(var(--ice) / 0.025) 55%, transparent);
}
.faq-title {
  margin: 0 0 clamp(2rem, 5vw, 3.5rem);
  font: 800 clamp(2.6rem, 6.5vw, 5rem)/0.98 var(--font-display); letter-spacing: -0.045em;
}
.faq-list { display: grid; }
.faq-list details { border-bottom: 1px solid rgb(255 255 255 / 0.08); interpolate-size: allow-keywords; }
.faq-list summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: clamp(1.4rem, 2.6vw, 2.1rem) 0.25rem;
  font: 600 clamp(1.15rem, 2.1vw, 1.65rem)/1.25 var(--font-display); letter-spacing: -0.02em; color: #e4e4e7;
  transition: color 0.2s, padding-left 0.35s var(--ease);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary:hover, .faq-list details[open] summary { color: var(--text); }
@media (hover: hover) { .faq-list summary:hover { padding-left: 0.75rem; } }
.faq-list summary:focus-visible { outline-offset: -2px; }
.faq-ic { position: relative; flex: none; width: 26px; height: 26px; color: var(--mist); transition: rotate 0.4s var(--ease), color 0.2s; }
.faq-ic::before, .faq-ic::after { content: ""; position: absolute; left: 50%; top: 50%; width: 22px; height: 1.5px; background: currentColor; border-radius: 1px; translate: -50% -50%; }
.faq-ic::after { rotate: 90deg; transition: rotate 0.4s var(--ease); }
.faq-list summary:hover .faq-ic { color: var(--text); }
.faq-list details[open] .faq-ic { rotate: 180deg; color: var(--text); }
.faq-list details[open] .faq-ic::after { rotate: 0deg; }
.faq-list details::details-content { block-size: 0; overflow: clip; opacity: 0; transition: block-size 0.45s var(--ease), opacity 0.3s, content-visibility 0.45s allow-discrete; }
.faq-list details[open]::details-content { block-size: auto; opacity: 1; }
.faq-a p { max-width: 46rem; padding: 0 0.25rem clamp(1.5rem, 2.6vw, 2.1rem); color: var(--mist); font-size: clamp(1rem, 1.3vw, 1.12rem); line-height: 1.65; text-wrap: pretty; }

/* ── Appel final + pied de page ─────────────────────────────────────── */
.final { width: var(--shell); margin: clamp(6rem, 12vw, 9rem) auto 0; position: relative; }
.final::before { content: ""; position: absolute; inset: 15% 20%; z-index: -1; border-radius: 50%; filter: blur(90px); background: rgb(var(--ice) / 0.22); }
.final-card { padding: clamp(2.5rem, 7vw, 4.5rem) var(--pad); border-radius: 36px; text-align: center; display: grid; justify-items: center; gap: 2rem; }
.final h2 { font: 800 clamp(2.15rem, 1rem + 3.4vw, 4rem)/1.05 var(--font-display); letter-spacing: -0.04em; max-width: 18ch; text-wrap: balance; }
.final-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }

/* ── Footer : panneau encadré ───────────────────────────────────────────
   Directement sur le fond du site, sans panneau ni ligne de séparation. Slogan à gauche, colonnes alignées à droite, grand e-mail
   en bas. Les liens vers une autre page portent une flèche ↗ (classe ft-go, posée au build). */
.ft {
  position: relative;
  margin-top: clamp(5rem, 10vw, 8rem); padding: 0 var(--pad) clamp(2rem, 4vw, 3rem);
}
/* Pas de carte : aucun fond, bord ni ombre. Le footer continue la page, seule la mise en page le distingue. */
.ft-brand .hd-logo { margin-bottom: 1.4rem; }

.ft-col { display: grid; align-content: start; justify-items: end; gap: 0.5rem; }
.ft-title { margin: 0 0 0.85rem; color: var(--mist-2); font: 600 0.68rem/1 var(--font-mono); letter-spacing: 0.14em; text-transform: uppercase; }
.ft-col a { color: var(--mist); font-size: 0.86rem; line-height: 1.35; text-decoration: none; text-underline-offset: 3px; transition: color 0.2s; }
.ft-col a:hover, .ft-col a:focus-visible { color: var(--text); text-decoration: underline; text-decoration-color: rgb(255 255 255 / 0.4); }

/* Flèche ↗ : liens vers une autre page */
.ft a.ft-go::before {
  content: ""; display: inline-block; width: 0.62em; height: 0.62em; margin-right: 0.4em; vertical-align: 0.05em;
  background: currentColor; opacity: 0.45;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 9 9 3M4 3h5v5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%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 12 12'%3E%3Cpath d='M3 9 9 3M4 3h5v5' fill='none' stroke='%23000' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: opacity 0.2s, translate 0.25s cubic-bezier(0.34, 1.5, 0.5, 1);
}
.ft a.ft-go:hover::before, .ft a.ft-go:focus-visible::before { opacity: 1; translate: 2px -2px; }

.ft-social { display: flex; gap: 1.1rem; }
.ft-social a { display: grid; place-items: center; color: var(--mist); transition: color 0.2s, translate 0.25s; }
.ft-social a:hover, .ft-social a:focus-visible { color: var(--text); translate: 0 -2px; }

/* ── Responsive ─────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .hd-nav, .hd-account { display: none; }
  .hd-burger { display: inline-flex; }
  .hd-actions { margin-left: auto; }
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan--featured { transform: none; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ft-col { justify-items: start; min-width: 9rem; }
}
@media (max-width: 860px) {
  .versions, .compare { grid-template-columns: 1fr; }
  .assurances { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .hd { padding-inline: 10px; }
  .hd-bar { padding-left: 0.9rem; height: 56px; }
  .hd-cta { display: none; }
  .hero-cta .btn { flex: 1 1 100%; }
  .embed-fields { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: 1fr; }
  .stats div { flex-direction: row-reverse; justify-content: space-between; align-items: center; padding: 1rem 0.25rem; }
  .stats div + div { border-left: 0; border-top: 1px solid var(--line); }
  .stats dd { font-size: 1.9rem; }
  .steps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .plan-switch { display: flex; width: 100%; }
  .plan-switch-btn { min-width: 0; flex: 1; }
  .assurances { grid-template-columns: 1fr; }
}

html[data-motion-policy="reduce"] *, html[data-motion-policy="reduce"] *::before { animation: none !important; transition: none !important; }

/* ── Bandeau / préférences cookies (cookies.js) aux couleurs de l'accueil ── */
.home .cookie-banner-backdrop, .home .cookie-modal-backdrop { background: rgb(14 14 16 / 0.55); }
.home .cookie-banner-inner, .home .cookie-modal-panel {
  border-radius: var(--r-lg); border: 1px solid rgb(255 255 255 / 0.12);
  background: linear-gradient(155deg, rgb(255 255 255 / 0.1), rgb(255 255 255 / 0.03)), rgb(24 24 27 / 0.985);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.22), 0 30px 80px -20px rgb(0 0 0 / 0.7);
}
.home .cookie-banner-desc, .home .cookie-modal-panel p { color: var(--mist); }
.home .btn-primary { background: #f5f5f4; color: #0b0d14; box-shadow: none; }
.home .btn-outline { background: rgb(255 255 255 / 0.07); color: var(--text); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.2), inset 0 0 0 1px rgb(255 255 255 / 0.12); }
.home .btn-outline:hover { background: rgb(255 255 255 / 0.12); }

/* ── Icône du bouton « Avoir mon propre bot » : un petit bot dans une pastille champagne,
   une étincelle qui tourne au survol et des yeux qui clignent ── */

/* Icônes dans les boutons des cartes « Deux façons » : le petit bot cligne aussi ici */
.btn-light > svg { transition: transform 0.35s cubic-bezier(0.34, 1.6, 0.5, 1); }
.btn-light:hover > svg { transform: scale(1.08); }

/* ── Gratuit vs VIP : une fiche technique, la colonne VIP en verre champagne ── */
.compare { display: block; margin-top: clamp(4rem, 8vw, 6rem); padding: 0; background: none; box-shadow: none; }
.compare-head { text-align: center; max-width: 46rem; margin: 0 auto clamp(2rem, 4vw, 3rem); }
.compare-head p { margin: 1rem auto 0; color: var(--mist); font-size: clamp(1rem, 1.4vw, 1.1rem); max-width: 34rem; }
.compare-sheet { position: relative; max-width: 960px; margin-inline: auto; }
/* ── FIN constellation+compare */

/* ── Perso : étapes en pièces de puzzle + cartes assemblées comme des briques ──
   Les maquettes reprennent les classes et le style du vrai panel client (Ultimebots-Perso,
   css/app.css), limitées à .pm pour ne rien toucher ailleurs. */

/* Étapes : 4 pièces de puzzle emboîtées (encoche à gauche, tenon à droite).
   Chaque pièce est dessinée d'un seul tenant par ::before (corps + tenon - encoche, en masques) :
   même fond, même survol, et le tenon tombe exactement dans l'encoche de la pièce suivante
   avec un joint régulier de --pz-g. Tenon : cercle de rayon --pz-r centré à --pz-d du bord,
   ce qui dessine un col plus étroit que la tête, comme une vraie pièce. */
.pz {
  --pz-r: 16px; --pz-d: 8px; --pz-g: 4px; --pz-out: calc(var(--pz-d) + var(--pz-r));
  --pz-bg: #1b1b1f; --pz-bg-hover: #24242a;
  list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--pz-g);
}
.pz-step {
  position: relative; z-index: calc(10 - var(--i, 0)); isolation: isolate;
  --hole: radial-gradient(circle calc(var(--pz-r) + var(--pz-g)) at calc(var(--pz-d) - var(--pz-g)) 50%, transparent 97%, #000 100%);
  --tab: radial-gradient(circle var(--pz-r) at calc(100% - var(--pz-r)) 50%, #000 97%, transparent 100%);
  --rect: linear-gradient(#000 0 0) 0 0 / calc(100% - var(--pz-out)) 100% no-repeat;
  --pz-inset: 0 calc(var(--pz-out) * -1) 0 0;
  --pz-radius: 0;
}
.pz-step::before {
  content: ""; position: absolute; inset: var(--pz-inset); z-index: -1; border-radius: var(--pz-radius);
  background: var(--pz-bg);
  background-image: radial-gradient(120% 90% at 0% 0%, rgb(255 255 255 / 0.045), transparent 60%);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.07);
  -webkit-mask: var(--hole), var(--tab), var(--rect);
  -webkit-mask-composite: source-in, source-over;
  mask: var(--hole), var(--tab), var(--rect);
  mask-composite: intersect, add;
  transition: background-color 0.3s;
}
/* Bords du puzzle : pas d'encoche sur la première pièce, pas de tenon sur la dernière. */
.pz-step:first-child { --hole: linear-gradient(#000 0 0); --pz-radius: 28px 0 0 28px; }
.pz-step:last-child { --tab: linear-gradient(transparent 0 0); --rect: linear-gradient(#000 0 0); --pz-inset: 0; --pz-radius: 0 28px 28px 0; }
/* Pièces paires un ton plus clair : le tenon se détache sur la pièce voisine, comme un vrai puzzle. */
.pz-step:nth-child(even) { --pz-bg: #212127; }
.pz-step:hover, .pz-step:focus-within { --pz-bg: var(--pz-bg-hover); }
.pz-body { position: relative; height: 100%; padding: 1.5rem 1.6rem 1.6rem calc(1.4rem + var(--pz-d) + var(--pz-r)); }
.pz-step:first-child .pz-body { padding-left: 1.6rem; }
.pz-num { display: block; margin-bottom: 1.1rem; font: 800 2.6rem/1 var(--font-display); letter-spacing: -0.05em;
  background: linear-gradient(180deg, #fff6dc, #c9a55a); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: 0.06em;
  transition: filter 0.3s; }
.pz-step:hover .pz-num { filter: drop-shadow(0 0 16px rgb(var(--gold-rgb) / 0.35)); }
.pz-step h3 { font: 700 1.05rem/1.3 var(--font-display); }
.pz-step p { margin-top: 0.4rem; color: var(--mist); font-size: 0.9rem; }

/* Cartes : grille de briques, angles extérieurs ronds, angles intérieurs serrés */
.lego {
  position: relative; margin-top: 10px; display: grid; gap: 10px;
  grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto auto;
}
.lg { position: relative; display: flex; flex-direction: column; overflow: hidden; margin: 0; border-radius: 10px;
  background: linear-gradient(160deg, rgb(255 255 255 / 0.06), rgb(255 255 255 / 0.018) 45%), #141417;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.07), inset 0 1px 0 rgb(255 255 255 / 0.09); }
.lg-text { padding: 1.5rem 1.6rem 0; }
.lg-text h3 { font: 700 1.2rem/1.25 var(--font-display); letter-spacing: -0.02em; }
.lg-text p { margin-top: 0.35rem; color: var(--mist); font-size: 0.92rem; max-width: 34rem; }
.lg-mock { flex: 1; position: relative; padding: 1.25rem 1.6rem 1.6rem; min-height: 0; }
.lg--profile { grid-column: 1 / 8; grid-row: 1 / 3; border-top-left-radius: 36px; }
.lg--status { grid-column: 8 / 13; grid-row: 1; border-top-right-radius: 36px; }
.lg--mode { grid-column: 8 / 13; grid-row: 2; }
.lg--host { grid-column: 1 / 4; grid-row: 3; border-bottom-left-radius: 36px; justify-content: flex-end; }
.lg--servers { grid-column: 4 / 13; grid-row: 3; border-bottom-right-radius: 36px; }
/* Rivet doré au croisement des briques */
.lego-knob {
  grid-column: 8; grid-row: 3; align-self: start; justify-self: start; z-index: 3; pointer-events: none;
  width: 58px; height: 58px; translate: calc(-50% - 5px) calc(-50% - 5px); border-radius: 50%;
  display: grid; place-items: center;
  background: radial-gradient(120% 120% at 30% 20%, #fff3cf, #e8c872 45%, #a8842f 100%);
  box-shadow: 0 0 0 9px var(--night), inset 0 1px 0 rgb(255 255 255 / 0.7), inset 0 -3px 6px rgb(80 55 0 / 0.35);
}
.lego-knob img { width: 60px; height: 60px; margin: -10px; }
/* Brique « 24/7 » */
.lg--host { padding: 1.6rem; background:
  repeating-linear-gradient(90deg, rgb(255 255 255 / 0.018) 0 1px, transparent 1px 3px),
  linear-gradient(160deg, rgb(var(--gold-rgb) / 0.14), rgb(var(--gold-rgb) / 0.03) 60%), #141417; }
.lg-big { font: 800 clamp(3rem, 6vw, 4.6rem)/0.9 var(--font-display); letter-spacing: -0.06em; padding: 0 0.06em 0.06em 0;
  background: linear-gradient(180deg, #fff6dc, #e8c872 55%, #a8842f); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.lg--host h3 { margin-top: 0.6rem; font: 700 1.05rem/1.3 var(--font-display); }
.lg--host p { margin-top: 0.3rem; color: var(--mist); font-size: 0.88rem; }

/* ── Maquettes (styles repris du panel) ── */
.pm { --ink: #ececee; --muted: #8a8a93; position: relative; height: 100%; color: var(--ink); font-size: 14px; line-height: 1.4; transition: opacity 0.4s; }
.lg-mock.is-fading .pm { opacity: 0; }
.pm .dd-label { display: block; margin: 0 0 0.3rem; font-size: 0.85rem; font-weight: 700; color: #f2f3f5; }
.pm .dd-specs { margin: 0; font-size: 0.74rem; line-height: 1.45; color: #b5bac1; }
.pm .dd-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.85rem 0; border-top: 1px solid rgb(255 255 255 / 0.06); }
.pm .dd-row:first-child { border-top: 0; padding-top: 0; }
.pm .dd-meta { flex: 1; min-width: 0; }
.pm .dd-upload { position: relative; flex-shrink: 0; isolation: isolate; }
.pm .dd-upload--icon { width: 76px; height: 76px; border-radius: 16px; background: #1e1f22; display: grid; place-items: center; overflow: hidden; }
.pm .dd-upload-img { width: 100%; height: 100%; object-fit: cover; display: block; animation: pm-pop 0.4s var(--ease); }
.pm .dd-upload-img[hidden], .pm .dd-upload-icon-fallback[hidden] { display: none; }
.pm .dd-upload-icon-fallback { color: #80848e; display: grid; place-items: center; }
.pm .dd-upload--banner { width: min(230px, 48%); aspect-ratio: 17 / 6; border-radius: 8px; border: 1px dashed rgb(255 255 255 / 0.22); background: #1e1f22; display: grid; place-items: center; overflow: hidden; }
.pm .dd-upload--banner.has-image { border-style: solid; border-color: transparent; }
.pm .dd-upload--banner.has-image .dd-upload-placeholder { display: none; }
.pm .dd-upload-placeholder { display: flex; flex-direction: column; align-items: center; gap: 0.3rem; padding: 0.5rem; text-align: center; font-size: 0.68rem; color: #b5bac1; }
.pm .dd-upload-spinner { position: absolute; inset: 0; z-index: 2; display: none; place-items: center; }
.pm .dd-upload.is-loading .dd-upload-spinner { display: grid; }
.pm .dd-upload.is-loading > :not(.dd-upload-spinner) { opacity: 0.45; }
.pm .dd-upload--banner.is-loading { filter: brightness(0.72); }
.pm .dd-upload-spinner::after { content: ""; width: 1.4rem; height: 1.4rem; border-radius: 50%; border: 2px solid rgb(255 255 255 / 0.22); border-top-color: #fff; animation: pm-spin 0.7s linear infinite; }
.pm-banner-art { background: radial-gradient(80% 140% at 85% 0%, #f1dca2 0%, transparent 55%), radial-gradient(70% 120% at 10% 100%, #7c5a1e, transparent 60%), linear-gradient(120deg, #2a2418, #a8842f 60%, #f3dc98) !important; animation: pm-pop 0.45s var(--ease); }
.pm .dd-field { display: grid; gap: 0.35rem; padding-top: 0.75rem; border-top: 1px solid rgb(255 255 255 / 0.06); margin-top: 0.1rem; }
.pm .dd-input { display: flex; align-items: center; min-height: 2.3rem; padding: 0.5rem 0.75rem; border-radius: 10px; border: 1px solid rgb(255 255 255 / 0.1); background: #111113; color: #ececee; font-size: 0.86rem; white-space: nowrap; overflow: hidden; }
.pm .dd-textarea { min-height: 2.9rem; align-items: flex-start; white-space: normal; }
.pm-ph { color: #8a8a93; }
.pm-ph[hidden] { display: none; }
.pm-caret { display: none; width: 1px; height: 1.05em; margin-left: 1px; background: #ececee; animation: dc-blink 1s steps(1) infinite; }
.pm--profile.is-typing-nick .dd-input .pm-caret, .pm--mode .pm-caret { display: inline-block; }
.pm .dd-actions { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; margin-top: 0.15rem; }
.pm .dd-hint { color: #8b8b96; font-size: 0.72rem; font-variant-numeric: tabular-nums; }
.pm .dd-btn { padding: 0.4rem 0.85rem; border-radius: 9px; background: #f4f4f5; color: #111; font-size: 0.78rem; font-weight: 700; transition: transform 0.15s, filter 0.15s; }
.pm .dd-btn.is-pressed { transform: scale(0.95); filter: brightness(0.85); }
/* La maquette remplit toute la brique : plus de vide entre le titre et le formulaire (audit 23/11). */
.lg--profile .lg-mock { display: flex; align-items: stretch; }
.pm--profile { display: grid; grid-template-columns: minmax(0, 1fr) 230px; gap: 1.6rem; align-items: stretch; width: 100%; height: auto; padding-bottom: 2.6rem; }
.pm--profile .pm-form { display: flex; flex-direction: column; }
.pm--profile .pm-form > .dd-row { flex: 1 1 auto; }
.pm--profile .pm-form > .dd-field { flex: 1 1 auto; align-content: center; }
.pm--profile .pv { align-self: center; }
.pm-toast { position: absolute; left: 50%; bottom: 0; translate: -50% 10px; display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.45rem 0.85rem; border-radius: 999px;
  background: rgb(48 164 108 / 0.16); box-shadow: inset 0 0 0 1px rgb(48 164 108 / 0.4); color: #7dff9a; font-size: 0.78rem; font-weight: 700; opacity: 0; transition: opacity 0.3s, translate 0.4s var(--ease); }
.pm-toast.is-on { opacity: 1; translate: -50% 0; }
/* Aperçu du profil (maquette maison) */
.pv { position: relative; border-radius: 16px; overflow: hidden; background: #111113; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08), 0 24px 50px -24px rgb(0 0 0 / 0.9); }
.pv-banner { height: 92px; background: #2b2b30; }
.pv-ava { position: absolute; top: 56px; left: 14px; width: 66px; height: 66px; border-radius: 50%; border: 5px solid #111113; background: #1e1f22; }
.pv-ava img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.pv-dot { position: absolute; right: -2px; bottom: -2px; width: 16px; height: 16px; border-radius: 50%; background: #23a559; border: 3px solid #111113; }
.pv-body { padding: 40px 14px 16px; }
.pv-name-row { display: flex; align-items: center; gap: 6px; }
.pv-name { font-size: 1.05rem; font-weight: 700; color: #f2f3f5; }
.pv-tag { padding: 1px 5px; border-radius: 4px; background: rgb(var(--gold-rgb) / 0.9); color: #1a1405; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.02em; }
.pv-bio { margin-top: 0.5rem; padding-top: 0.5rem; border-top: 1px solid rgb(255 255 255 / 0.07); color: #b5bac1; font-size: 0.78rem; min-height: 2.4em; }
.is-new { animation: pm-pop 0.45s var(--ease); }

/* Statut */
.pm--status { display: grid; gap: 0.8rem; align-content: start; }
.ps-card { display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 0.85rem; border-radius: 14px; background: #111113; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08); }
.ps-ava { position: relative; width: 40px; height: 40px; flex: none; }
.ps-ava img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #1e1f22; }
.pm .mine-hero-presence { position: absolute; right: -3px; bottom: -3px; width: 0.8rem; height: 0.8rem; border-radius: 50%; box-sizing: content-box; border: 3px solid #111113; background: #80848e; transition: background 0.25s; }
.pm .mine-hero-presence[data-status="online"] { background: #23a559; }
.pm .mine-hero-presence[data-status="idle"] { background: radial-gradient(circle at 68% 32%, #111113 0 38%, transparent 40%), #f0b232; }
.pm .mine-hero-presence[data-status="dnd"] { background: #f23f43; }
.pm .mine-hero-presence[data-status="dnd"]::after { content: ""; position: absolute; left: 18%; right: 18%; top: 50%; height: 2px; margin-top: -1px; border-radius: 1px; background: #fff; }
.ps-copy { display: grid; min-width: 0; }
.ps-name { font-weight: 700; color: #f2f3f5; }
.ps-act { color: #b5bac1; font-size: 0.8rem; transition: opacity 0.2s, translate 0.2s; }
.ps-act.is-swap { opacity: 0; translate: 0 4px; }
.pm .dd-status-picker { position: relative; }
.pm .dd-status-trigger { display: flex; align-items: center; gap: 0.6rem; min-height: 2.5rem; padding: 0.55rem 0.8rem; border: 1px solid rgb(255 255 255 / 0.1); border-radius: 10px; background: #111113; font-size: 0.86rem; font-weight: 500; }
.pm .dd-status-trigger.is-open { border-color: rgb(255 255 255 / 0.22); }
.pm .dd-status-trigger.is-open .dd-status-chevron { rotate: 180deg; }
.pm .dd-status-trigger-label { flex: 1; }
.pm .dd-status-chevron { transition: rotate 0.2s; color: #8b8b96; }
.pm .dd-status-menu { position: absolute; z-index: 5; top: calc(100% + 0.35rem); left: 0; right: 0; padding: 0.3rem; border: 1px solid rgb(255 255 255 / 0.1); border-radius: 12px; background: #0c0c0e; box-shadow: 0 18px 40px -12px rgb(0 0 0 / 0.8); animation: pm-pop 0.2s var(--ease); }
.pm .dd-status-menu[hidden] { display: none; }
.pm .dd-status-option { display: grid; grid-template-columns: 0.9rem 1fr auto; align-items: center; gap: 0.65rem; min-height: 2.1rem; padding: 0.4rem 0.6rem; border-radius: 8px; font-size: 0.84rem; }
.pm .dd-status-option[aria-selected="true"], .pm .dd-status-option.is-hover { background: rgb(255 255 255 / 0.08); }
.pm .dd-status-ico { width: 0.8rem; height: 0.8rem; border-radius: 50%; position: relative; display: inline-block; flex: none; }
.pm .dd-status-ico--online { background: #23a559; }
.pm .dd-status-ico--idle { background: radial-gradient(circle at 68% 32%, #0c0c0e 0 38%, transparent 40%), #f0b232; }
.pm .dd-status-trigger .dd-status-ico--idle { background: radial-gradient(circle at 68% 32%, #111113 0 38%, transparent 40%), #f0b232; }
.pm .dd-status-ico--dnd { background: #f23f43; }
.pm .dd-status-ico--dnd::after { content: ""; position: absolute; left: 20%; right: 20%; top: 50%; height: 2px; margin-top: -1px; border-radius: 1px; background: #fff; }
.pm .dd-status-ico--invisible { box-shadow: inset 0 0 0 2px #6b6b75; }
.pm .dd-status-radio { width: 0.85rem; height: 0.85rem; border-radius: 50%; border: 1.5px solid rgb(255 255 255 / 0.22); }
.pm .dd-status-option[aria-selected="true"] .dd-status-radio { border-color: #ececee; background: radial-gradient(circle, #ececee 0 38%, transparent 40%); }
.pm .dd-presence-vars { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.pm .dd-chip { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.28rem 0.5rem 0.28rem 0.32rem; border: 1px solid rgb(255 255 255 / 0.1); border-radius: 8px; background: #111113; font-size: 0.74rem; transition: border-color 0.2s, background-color 0.2s; }
.pm .dd-chip.is-on { border-color: rgb(var(--gold-rgb) / 0.55); background: rgb(var(--gold-rgb) / 0.1); }
.pm .dd-chip-token { padding: 0.12rem 0.35rem; border-radius: 5px; background: rgb(255 255 255 / 0.06); color: #ececee; font: 600 0.68rem/1.3 ui-monospace, Consolas, monospace; }
.pm .dd-chip-label { color: #8b8b96; white-space: nowrap; }

/* Mode */
.pm .prefs-card { display: grid; gap: 0.8rem; padding: 1rem; border-radius: 28px; border: 1px solid rgb(255 255 255 / 0.12); background: rgb(255 255 255 / 0.04); box-shadow: inset 0 0.5px 0 rgb(255 255 255 / 0.2); }
.pm .prefs-card-head { display: grid; gap: 0.2rem; }
.pm .prefs-card-title { font-size: 0.95rem; font-weight: 750; letter-spacing: -0.02em; }
.pm .prefs-card-sub { font-size: 0.76rem; color: rgb(255 255 255 / 0.62); }
.pm .prefs-mode-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; }
.pm .prefs-mode-body { display: grid; gap: 0.25rem; height: 100%; padding: 0.7rem 0.75rem; border-radius: 17px; border: 1px solid rgb(255 255 255 / 0.12); background: rgb(255 255 255 / 0.04); transition: border-color 0.25s, background-color 0.25s, transform 0.15s; }
.pm .prefs-mode-option.is-current .prefs-mode-body { border-color: rgb(48 209 88 / 0.42); background: rgb(255 255 255 / 0.08); box-shadow: 0 0 0 1px rgb(48 209 88 / 0.12); }
.pm .prefs-mode-option.is-pressed .prefs-mode-body { transform: scale(0.97); }
.pm .prefs-mode-title-row { display: flex; align-items: center; gap: 0.4rem; }
.pm .prefs-mode-body strong { font-size: 0.86rem; font-weight: 700; }
.pm .prefs-mode-body > span:not(.prefs-mode-title-row) { font-size: 0.7rem; color: rgb(255 255 255 / 0.62); line-height: 1.35; }
.pm .prefs-mode-active { display: inline-flex; align-items: center; gap: 0.3rem; margin-left: auto; padding: 0.12rem 0.4rem 0.12rem 0.3rem; border-radius: 999px; border: 1px solid rgb(48 209 88 / 0.35); background: rgb(48 209 88 / 0.12); color: #7dff9a; font-size: 0.6rem; font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; animation: pm-pop 0.3s var(--ease); }
.pm .prefs-mode-active[hidden] { display: none; }
.pm .prefs-mode-dot { width: 0.4rem; height: 0.4rem; border-radius: 50%; background: #30d158; box-shadow: 0 0 0 3px rgb(48 209 88 / 0.18); }
.pm-slash { display: grid; place-items: center; width: 18px; height: 18px; border-radius: 5px; background: #ececee; color: #111; font: 800 0.75rem/1 var(--font); }
.pm-cmd { display: flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.75rem; border-radius: 10px; background: #111113; border: 1px solid rgb(255 255 255 / 0.08); font: 500 0.84rem/1 ui-monospace, Consolas, monospace; }
.pm-cmd-ic { color: #6d6f78; display: grid; }

/* Serveurs */
.pm--servers { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.4rem; align-items: start; }
.pm .srv-kicker { display: flex; align-items: baseline; gap: 0.6rem; margin: 0 0 0.5rem; color: rgb(255 255 255 / 0.62); font-size: 0.72rem; }
.pm .srv-kicker strong { color: #fff; font-size: 0.8rem; font-weight: 700; }
.pm .srv-seats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border: 1px solid rgb(255 255 255 / 0.08); border-radius: 18px; overflow: hidden; background: #0a0a0c; }
.pm .srv-seat { min-height: 7.4rem; padding: 0.7rem 0.3rem 0.6rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.35rem; border-right: 1px solid rgb(255 255 255 / 0.08); transition: background-color 0.2s; }
.pm .srv-seat:last-child { border-right: 0; }
.pm .srv-seat.is-empty { color: rgb(255 255 255 / 0.62); }
.pm .srv-seat.is-filled { background: #121214; }
.pm .srv-seat.is-hover { background: rgb(242 63 67 / 0.12); }
.pm .srv-seat-num { font-size: 1.25rem; font-weight: 650; font-variant-numeric: tabular-nums; letter-spacing: -0.04em; color: rgb(255 255 255 / 0.62); }
.pm .srv-seat-icon { position: relative; width: 38px; height: 38px; }
.pm .srv-seat .srv-fallback { width: 38px; height: 38px; border-radius: 12px; animation: pm-pop 0.25s var(--ease); }
.pm .srv-seat-x { position: absolute; top: -5px; right: -5px; width: 15px; height: 15px; display: grid; place-items: center; border-radius: 50%; background: #f4f4f5; color: #111; }
.pm .srv-seat-name { max-width: 100%; padding: 0 0.15rem; font-size: 0.66rem; font-weight: 650; text-align: center; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pm .srv-seat-hint { font-size: 0.6rem; font-weight: 650; color: rgb(255 255 255 / 0.62); }
.pm .srv-seat.is-filled .srv-seat-hint { color: rgb(255 255 255 / 0.72); }
.pm .srv-meter { margin: 0.55rem 0 0; text-align: right; color: var(--muted); font-size: 0.78rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.pm .srv-guilds { display: grid; }
.pm .srv-guild { display: grid; grid-template-columns: 1.1rem 2.1rem minmax(0, 1fr) auto; gap: 0.6rem; align-items: center; min-height: 2.9rem; padding: 0.4rem 0.35rem; border-top: 1px solid rgb(255 255 255 / 0.06); border-radius: 8px; transition: background-color 0.2s; }
.pm .srv-guild:first-child { border-top: 0; }
.pm .srv-guild.is-hover { background: rgb(255 255 255 / 0.05); }
.pm .srv-guild-seat { font-weight: 700; font-size: 0.8rem; color: rgb(255 255 255 / 0.72); text-align: center; font-variant-numeric: tabular-nums; }
.pm .srv-fallback { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: 0.68rem; font-weight: 700; }
.pm .srv-guild-copy { min-width: 0; display: grid; }
.pm .srv-guild-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 650; font-size: 0.86rem; }
.pm .srv-guild-meta { color: var(--muted); font-size: 0.7rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pm .srv-guild-saved { color: rgb(232 195 106 / 0.92); font-weight: 650; }
.pm .srv-guild-action { padding: 0.25rem 0.6rem; border-radius: 999px; background: rgb(255 255 255 / 0.08); font-size: 0.7rem; font-weight: 700; color: rgb(255 255 255 / 0.7); }
.pm .srv-guild.is-in .srv-guild-action { background: #f4f4f5; color: #111; }

@keyframes pm-spin { to { transform: rotate(360deg); } }
@keyframes pm-pop { from { opacity: 0; transform: scale(0.92); } }

@media (max-width: 1100px) {
  .pm--profile { grid-template-columns: 1fr; }
  .pv { max-width: 260px; }
}
@media (max-width: 900px) {
  /* 2 rangées de 2 : la 2e pièce finit sa rangée (pas de tenon), la 3e en commence une (pas d'encoche). */
  .pz { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 10px; }
  .pz-step:nth-child(1) { --pz-radius: 28px 0 0 10px; }
  .pz-step:nth-child(2) { --tab: linear-gradient(transparent 0 0); --rect: linear-gradient(#000 0 0); --pz-inset: 0; --pz-radius: 0 28px 10px 0; }
  .pz-step:nth-child(3) { --hole: linear-gradient(#000 0 0); --pz-radius: 10px 0 0 28px; }
  .pz-step:nth-child(3) .pz-body { padding-left: 1.6rem; }
  .pz-step:nth-child(4) { --pz-radius: 0 10px 28px 0; }
  .lego { grid-template-columns: 1fr 1fr; }
  .lg--profile { grid-column: 1 / -1; grid-row: auto; border-radius: 32px 32px 10px 10px; }
  .lg--status, .lg--mode { grid-column: auto; grid-row: auto; border-radius: 10px; }
  .lg--host { grid-column: 1 / -1; grid-row: auto; border-radius: 10px; }
  .lg--servers { grid-column: 1 / -1; grid-row: auto; border-radius: 10px 10px 32px 32px; }
  .lego-knob { display: none; }
  .pm--servers { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  /* Une colonne : le puzzle s'emboîte de haut en bas (encoche en haut, tenon en bas). */
  .pz { grid-template-columns: 1fr; row-gap: var(--pz-g); }
  .pz-step {
    --hole: radial-gradient(circle calc(var(--pz-r) + var(--pz-g)) at 50% calc(var(--pz-d) - var(--pz-g)), transparent 97%, #000 100%);
    --tab: radial-gradient(circle var(--pz-r) at 50% calc(100% - var(--pz-r)), #000 97%, transparent 100%);
    --rect: linear-gradient(#000 0 0) 0 0 / 100% calc(100% - var(--pz-out)) no-repeat;
    --pz-inset: 0 0 calc(var(--pz-out) * -1) 0;
    --pz-radius: 0;
  }
  .pz-step:first-child { --hole: linear-gradient(#000 0 0); --pz-radius: 22px 22px 0 0; }
  .pz-step:nth-child(2) { --tab: radial-gradient(circle var(--pz-r) at 50% calc(100% - var(--pz-r)), #000 97%, transparent 100%); --rect: linear-gradient(#000 0 0) 0 0 / 100% calc(100% - var(--pz-out)) no-repeat; --pz-inset: 0 0 calc(var(--pz-out) * -1) 0; --pz-radius: 0; }
  .pz-step:nth-child(3) { --hole: radial-gradient(circle calc(var(--pz-r) + var(--pz-g)) at 50% calc(var(--pz-d) - var(--pz-g)), transparent 97%, #000 100%); --pz-radius: 0; }
  .pz-step:last-child { --tab: linear-gradient(transparent 0 0); --rect: linear-gradient(#000 0 0); --pz-inset: 0; --pz-radius: 0 0 22px 22px; }
  .pz-step .pz-body, .pz-step:nth-child(3) .pz-body { padding: calc(1.2rem + var(--pz-d) + var(--pz-r)) 1.6rem 1.6rem; }
  .pz-step:first-child .pz-body { padding-top: 1.5rem; }
  .lego { grid-template-columns: 1fr; }
  .lg--status, .lg--mode { grid-column: 1 / -1; }
  .pm .prefs-mode-grid { grid-template-columns: 1fr; }
  .pm .dd-row { flex-wrap: wrap; }
  .pm .dd-upload--banner { width: 100%; }
}
/* ── FIN perso */

/* ── Grands titres « métal brossé » ─────────────────────────────────────
   Typo display très serrée, remplie d'un dégradé titane (clair en haut, plus sombre en bas)
   avec un brossage horizontal très fin. Au passage du curseur, une lumière douce suit la
   souris sur les lettres, comme un reflet sur de l'aluminium. Rien ne bouge tout seul. */
@property --sh { syntax: "<number>"; inherits: true; initial-value: 0; }
.section-head:has(h2) { max-width: 62rem; }
.section-head h2, .faq-title, .final h2 {
  --mx: 50%; --my: -40%;
  font: 800 clamp(2.7rem, 6.6vw, 5.4rem)/0.98 var(--font-display); letter-spacing: -0.052em;
  padding: 0 0.06em 0.08em; /* jambages et dernière lettre non coupés par background-clip */
  color: #e9e9ec;
  background-image:
    radial-gradient(280px circle at var(--mx) var(--my), rgb(255 255 255 / calc(var(--sh) * 0.95)), rgb(255 255 255 / 0) 70%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='b'><feTurbulence type='fractalNoise' baseFrequency='0.02 1.2' numOctaves='2' seed='7'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.55 -0.12'/></filter><rect width='100%' height='100%' filter='url(%23b)'/></svg>"),
    linear-gradient(180deg, #ffffff 0%, #ececef 38%, #b9b9c0 72%, #85858d 100%);
  background-size: 100% 100%, 240px 240px, 100% 100%;
  background-blend-mode: normal, overlay, normal;
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 0 rgb(0 0 0 / 0.45));
  transition: --sh 0.5s var(--ease);
}
.section-head h2.is-lit, .faq-title.is-lit, .final h2.is-lit { --sh: 1; transition-duration: 0.25s; }
/* Perso : même matière, version champagne */
.perso .section-head h2 {
  background-image:
    radial-gradient(280px circle at var(--mx) var(--my), rgb(255 248 225 / calc(var(--sh) * 0.95)), rgb(255 248 225 / 0) 70%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='b'><feTurbulence type='fractalNoise' baseFrequency='0.02 1.2' numOctaves='2' seed='7'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.55 -0.12'/></filter><rect width='100%' height='100%' filter='url(%23b)'/></svg>"),
    linear-gradient(180deg, #fff6dc 0%, #f1dca2 40%, #c9a55a 75%, #8f7236 100%);
}
.final h2 { max-width: 16ch; font-size: clamp(2.5rem, 1.1rem + 4vw, 5rem); }
@supports not ((-webkit-background-clip: text) or (background-clip: text)) {
  .section-head h2, .faq-title, .final h2 { -webkit-text-fill-color: currentColor; background: none; }
}

/* ── Barre de défilement invisible (la page défile toujours) ── */
html { scrollbar-width: none; -ms-overflow-style: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }

/* ── Navbar : Liquid Glass (Chrome/Edge, quand la carte de réfraction est prête) ──
   Ce qui fait le rendu Apple :
   1. aucun flou : le fond passe net au centre, juste plus saturé et éclairci ;
   2. le biseau (bord bombé, home.js) courbe le fond vers l'intérieur ;
   3. reflet spéculaire calculé (home.js) sur le biseau, lumière fixe d'en haut à gauche. */
.hd-bar.glass.lg-on {
  background: rgb(14 14 18 / 0.3);
  -webkit-backdrop-filter: saturate(170%) brightness(1.06);
  backdrop-filter: url(#lg-refract) saturate(170%) brightness(1.06);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.32),
    inset 0 -1px 0 rgb(255 255 255 / 0.06),
    inset 0 0 14px rgb(255 255 255 / 0.05),
    inset 0 8px 16px -12px rgb(255 255 255 / 0.22),
    0 1px 2px rgb(0 0 0 / 0.25),
    0 16px 40px -14px rgb(0 0 0 / 0.6);
  transition: background-color 0.3s;
}
/* Contour : simple filet d'1 px, le vrai reflet est calculé (::before). */
.hd-bar.glass.lg-on::after {
  inset: 0; padding: 1px;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.18), rgb(255 255 255 / 0.04) 50%, rgb(255 255 255 / 0.1));
}
/* Reflet spéculaire calculé par home.js (lensMaps) : lumière sur le biseau, côté haut-gauche,
   contre-reflet en bas à droite. Ajouté à la lumière du fond (plus-lighter), comme du verre. */
.hd-bar.glass.lg-on::before {
  background: var(--lg-spec) 0 0 / 100% 100% no-repeat;
  mix-blend-mode: plus-lighter;
  opacity: 0.85;
}
/* Lentille de sélection sous les liens */
.hd-menu { position: relative; }
.hd-menu.has-lens .hd-trigger, .hd-menu.has-lens .hd-link { position: relative; z-index: 1; background: transparent !important; }
.hd-lens {
  --x: 0px; --w: 80px;
  position: absolute; left: 0; top: 50%; z-index: 0; width: var(--w); height: 40px; border-radius: 999px; pointer-events: none;
  translate: var(--x) -50%; opacity: 0; scale: 0.9;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.08), rgb(255 255 255 / 0.02));
  -webkit-backdrop-filter: saturate(170%) brightness(1.1); backdrop-filter: saturate(170%) brightness(1.1);
  box-shadow: inset 0 0 0 0.5px rgb(255 255 255 / 0.28), inset 1px 1.5px 1px -1px rgb(255 255 255 / 0.5), inset -1px -1.5px 1px -1px rgb(255 255 255 / 0.22), 0 6px 16px -6px rgb(0 0 0 / 0.55);
  transition: translate 0.55s cubic-bezier(0.34, 1.4, 0.5, 1), width 0.55s cubic-bezier(0.34, 1.4, 0.5, 1), opacity 0.25s, scale 0.35s cubic-bezier(0.34, 1.7, 0.5, 1);
}
.hd-lens.is-on { opacity: 1; scale: 1; }
.hd-lens.is-moving { scale: 1.08 0.86; }
.hd-lens.is-press { scale: 1.1 1.16; }
.hd-lens.no-anim { transition: opacity 0.25s, scale 0.35s cubic-bezier(0.34, 1.7, 0.5, 1); }

/* ── Navbar mobile : deux bulles de verre liquide flottantes ──
   À gauche le logo, à droite la langue et le menu, chacune dans sa bulle « clear glass »
   (réfraction #lg-bubble, Chrome/Edge ; flou ailleurs). La barre pleine disparaît. */
@media (max-width: 680px) {
  .hd { padding: 10px 14px 0; }
  .hd-bar.glass, .hd-bar.glass.lg-on {
    height: 54px; padding: 0; gap: 0.5rem; background: none; box-shadow: none;
    -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  .hd-bar.glass::before, .hd-bar.glass::after { display: none; }
  .hd-wordmark, .hd-cta { display: none; }
  .hd-logo, .hd-burger {
    position: relative; display: grid; place-items: center; flex: none; width: 54px; height: 54px; padding: 0; border: 0; border-radius: 50%;
    color: #fff; background: rgb(18 18 21 / 0.22);
    -webkit-backdrop-filter: saturate(170%) brightness(1.06); backdrop-filter: saturate(170%) brightness(1.06);
    box-shadow:
      inset 0 0 0 0.5px rgb(255 255 255 / 0.32),
      inset 1.5px 2px 1px -1px rgb(255 255 255 / 0.85),
      inset -1.5px -2px 1px -1px rgb(255 255 255 / 0.4),
      inset 0 10px 12px -10px rgb(255 255 255 / 0.35),
      0 10px 24px -8px rgb(0 0 0 / 0.6);
    transition: transform 0.35s cubic-bezier(0.34, 1.6, 0.5, 1);
  }
  .lg-bubbles .hd-logo, .lg-bubbles .hd-burger {
    background: var(--lg-spec-bubble) 0 0 / 100% 100% no-repeat, rgb(10 10 12 / 0.2);
    -webkit-backdrop-filter: saturate(170%) brightness(1.06);
    backdrop-filter: url(#lg-bubble) saturate(170%) brightness(1.06);
    box-shadow:
      inset 0 0 0 0.5px rgb(255 255 255 / 0.24),
      inset 1.5px 2px 1px -1px rgb(255 255 255 / 0.55),
      inset -1.5px -2px 1px -1px rgb(255 255 255 / 0.24),
      inset 0 10px 12px -10px rgb(255 255 255 / 0.16),
      0 12px 28px -8px rgb(0 0 0 / 0.62);
  }
  .hd-logo:active, .hd-burger:active { transform: scale(1.1); }
  .hd-logo img { width: 46px; height: 46px; margin: -8px; border-radius: 0; filter: drop-shadow(0 1px 2px rgb(0 0 0 / 0.5)); }
  .hd-burger svg { width: 22px; height: 22px; }
  .hd-actions { gap: 0.5rem; }
}

/* ── Menu mobile plein écran ──
   Couvre tout l'écran sous les bulles de la navbar, fond graphite flouté, pas de défilement
   horizontal, la page derrière ne défile plus. Liens en grand, entrée en cascade. */
/* Verrou du défilement : seulement sur <body> (sur <html>, l'en-tête sticky décrocherait) */
html.is-sheet-open { overscroll-behavior: none; }
html.is-sheet-open body { overflow: hidden; touch-action: none; }
html.is-sheet-open .hd-sheet { touch-action: pan-y; }
.hd-bar { position: relative; z-index: 2; }
.hd-sheet.glass {
  position: fixed; inset: 0; z-index: 1; width: auto; height: 100vh; height: 100dvh; max-height: none; margin: 0;
  padding: calc(86px + env(safe-area-inset-top)) max(22px, env(safe-area-inset-right)) calc(22px + env(safe-area-inset-bottom)) max(22px, env(safe-area-inset-left));
  display: flex; flex-direction: column; gap: 1.9rem; border: 0; border-radius: 0;
  overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  background: rgb(13 13 15 / 0.9) !important; box-shadow: none;
  -webkit-backdrop-filter: blur(28px) saturate(150%); backdrop-filter: blur(28px) saturate(150%);
  animation: sheet-in 0.32s var(--ease);
}
.hd-sheet.glass::before, .hd-sheet.glass::after { display: none; }
@keyframes sheet-in { from { opacity: 0; } }
.hd-sheet .sheet-group { display: grid; animation: sheet-item 0.5s var(--ease) both; animation-delay: calc(var(--d, 0) * 60ms + 60ms); }
.hd-sheet .sheet-group:nth-child(2) { --d: 1; } .hd-sheet .sheet-group:nth-child(3) { --d: 2; } .hd-sheet .sheet-actions { --d: 3; }
@keyframes sheet-item { from { opacity: 0; transform: translateY(14px); } }
.hd-sheet .sheet-title { padding: 0 0 0.5rem; color: var(--mist-2); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.hd-sheet .sheet-group a {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-width: 0;
  padding: 0.95rem 0.1rem; border-bottom: 1px solid rgb(255 255 255 / 0.07); color: var(--text);
  font: 650 clamp(1.3rem, 5.6vw, 1.6rem)/1.2 var(--font-display); letter-spacing: -0.025em; text-decoration: none;
}
.hd-sheet .sheet-group a::after {
  content: ""; flex: none; width: 9px; height: 9px; margin-right: 4px; border-top: 2px solid var(--mist-2); border-right: 2px solid var(--mist-2); transform: rotate(45deg); transition: transform 0.2s, border-color 0.2s;
}
.hd-sheet .sheet-group a:active::after, .hd-sheet .sheet-group a:hover::after { border-color: var(--text); transform: translateX(3px) rotate(45deg); }
/* Raccourcis : grille 2 × 2 de pastilles */
.hd-sheet .sheet-group--row { grid-template-columns: 1fr 1fr; grid-auto-flow: row; gap: 0.5rem; }
.hd-sheet .sheet-group--row a {
  justify-content: center; padding: 0.85rem 0.5rem; border: 0; border-radius: 16px; color: var(--text);
  font: 600 1rem/1.2 var(--font); letter-spacing: 0;
  background: linear-gradient(180deg, rgb(255 255 255 / 0.08), rgb(255 255 255 / 0.03));
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12), inset 0 0 0 1px rgb(255 255 255 / 0.08);
}
.hd-sheet .sheet-group--row a::after { display: none; }
.hd-sheet .sheet-actions { margin-top: auto; display: grid; grid-template-columns: 1fr; gap: 0.6rem; animation: sheet-item 0.5s var(--ease) both; animation-delay: 240ms; }
.hd-sheet .sheet-actions .btn { min-height: 54px; font-size: 1.02rem; }

/* ── Démo animée « dans Discord » (section #bot) ───────────────────────
   Une fenêtre de messagerie façon Discord, construite par js/site/dc-demo.js.
   Palette sombre de client de chat, police du site (Inter), icônes maison. */
.dc-wrap { display: grid; gap: 1.75rem; }
.dc-tabs {
  display: flex; gap: 0.35rem; justify-content: center; flex-wrap: wrap;
  padding: 0.35rem; margin-inline: auto; border-radius: 999px;
  background: rgb(255 255 255 / 0.04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.07);
}
.dc-tab {
  position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 0.5rem;
  height: 40px; padding: 0 1rem; border: 0; border-radius: 999px; background: none; cursor: pointer;
  color: var(--mist); font: 500 0.92rem/1 var(--font); transition: color 0.2s, background-color 0.2s;
}
.dc-tab:hover { color: var(--text); }
.dc-tab[aria-selected="false"] { background: none; }
.dc-tab[aria-selected="true"] { color: var(--text); background: rgb(255 255 255 / 0.09); }
.dc-tab-cmd { font: 500 0.78rem/1 ui-monospace, "SF Mono", Consolas, monospace; color: var(--mist-2); }
.dc-tab[aria-selected="true"] .dc-tab-cmd { color: var(--mist); }
.dc-tab::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; border-radius: 2px;
  background: rgb(255 255 255 / 0.55); transform: scaleX(0); transform-origin: left;
}
.dc-tab.is-run::after { animation: dc-progress var(--dur, 12s) linear forwards; }
@keyframes dc-progress { to { transform: scaleX(1); } }

.dc-stage { position: relative; }
.dc-stage::before {
  content: ""; position: absolute; inset: 8% 6% -6%; z-index: -1; border-radius: 40px; filter: blur(60px);
  background: radial-gradient(closest-side, rgb(var(--ice) / 0.08), transparent);
}

.dc-app {
  --dc-rail: #1e1f22; --dc-side: #2b2d31; --dc-chat: #313338; --dc-input: #383a40; --dc-hover: #35373c; --dc-active: #404249;
  --dc-text: #dbdee1; --dc-muted: #949ba4; --dc-head: #f2f3f5; --dc-brand: #5a63e8; --dc-green: #23a55a; --dc-red: #da373c; --dc-yellow: #f0b232;
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 72px 240px minmax(0, 1fr) 232px; grid-template-rows: 30px minmax(0, 1fr);
  height: 620px; border-radius: 14px; background: var(--dc-rail);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.09), 0 40px 90px -30px rgb(0 0 0 / 0.8);
  font: 400 15px/1.375 var(--font); color: var(--dc-text); text-align: left; letter-spacing: 0;
  user-select: none; -webkit-user-select: none; transition: box-shadow 0.3s;
}
.dc-app.is-alert { box-shadow: 0 0 0 2px rgb(218 55 60 / 0.65), 0 40px 90px -30px rgb(0 0 0 / 0.8); }
.dc-app svg { flex: none; }

/* Barre de titre */
.dc-titlebar { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; position: relative; color: var(--dc-muted); font-size: 12px; font-weight: 600; }
.dc-dots { position: absolute; left: 14px; display: flex; gap: 7px; }
.dc-dots i { width: 11px; height: 11px; border-radius: 50%; background: #3f4147; }

/* Rail */
.dc-rail { display: flex; flex-direction: column; align-items: center; gap: 8px; padding-top: 4px; }
.dc-guild { position: relative; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--dc-chat); color: var(--dc-text); }
.dc-guild--home { background: var(--dc-brand); color: #fff; border-radius: 16px; }
.dc-guild--add { color: var(--dc-green); }
.dc-guild.is-active::before { content: ""; position: absolute; left: -16px; width: 4px; height: 40px; border-radius: 0 4px 4px 0; background: #fff; }
.dc-guild-ic { display: grid; place-items: center; width: 100%; height: 100%; border-radius: inherit; font-weight: 600; font-size: 15px; }
.dc-guild.is-active, .dc-guild.is-active .dc-guild-ic { border-radius: 16px; }
.dc-guild-ic--main { background: linear-gradient(140deg, #e8c872, #a16207); color: #1a1405; }
.dc-guild-ic--b { background: #3b82f6; color: #fff; }
.dc-guild-ic--c { background: #10b981; color: #fff; }
.dc-rail-sep { width: 32px; height: 2px; border-radius: 1px; background: #35363c; }

/* Salons */
.dc-side { display: flex; flex-direction: column; background: var(--dc-side); border-radius: 8px 0 0 0; min-height: 0; }
.dc-side-head { display: flex; align-items: center; justify-content: space-between; height: 48px; padding: 0 16px; color: var(--dc-head); font-weight: 600; box-shadow: 0 1px 0 rgb(0 0 0 / 0.25); }
.dc-chlist { flex: 1; overflow: hidden; padding: 8px 8px 0; }
.dc-cat { margin-top: 14px; }
.dc-cat:first-child { margin-top: 4px; }
.dc-cat-name { display: flex; align-items: center; gap: 2px; padding: 0 0 4px 2px; color: var(--dc-muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; }
.dc-ch {
  position: relative; display: flex; align-items: center; gap: 6px; height: 32px; margin-bottom: 2px; padding: 0 8px; border-radius: 4px;
  color: var(--dc-muted); font-weight: 500; transition: background-color 0.15s, color 0.15s, height 0.35s var(--ease), opacity 0.35s, margin 0.35s;
}
.dc-ch-ic { color: #80848e; }
.dc-ch-name { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dc-ch.is-active { background: var(--dc-active); color: #fff; }
.dc-ch.is-unread { color: #fff; }
.dc-ch.is-unread::before { content: ""; position: absolute; left: -8px; width: 4px; height: 8px; border-radius: 0 4px 4px 0; background: #fff; }
.dc-ch.is-pressed { background: var(--dc-hover); }
.dc-ch.is-gone { height: 0; margin: 0; opacity: 0; overflow: hidden; }
.dc-ch.is-new { animation: dc-ch-in 0.6s var(--ease); }
@keyframes dc-ch-in { from { opacity: 0; transform: translateX(-10px); background: rgb(88 101 242 / 0.35); } 60% { background: rgb(88 101 242 / 0.25); } }
.dc-badge { display: none; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px; background: var(--dc-red); color: #fff; font-size: 12px; font-weight: 700; line-height: 16px; text-align: center; }
.dc-badge.is-on { display: block; animation: dc-pop 0.35s var(--ease); }
@keyframes dc-pop { from { transform: scale(0.4); } }
.dc-me { display: flex; align-items: center; gap: 8px; height: 52px; padding: 0 8px; background: #232428; }
.dc-me-ava { position: relative; }
.dc-me-txt { flex: 1; display: grid; min-width: 0; line-height: 1.2; }
.dc-me-name { color: var(--dc-head); font-size: 14px; font-weight: 600; }
.dc-me-status { color: var(--dc-muted); font-size: 12px; }
.dc-me-ic { display: flex; gap: 10px; color: #b5bac1; padding-right: 6px; }

/* Avatars */
.dc-ava { display: inline-grid; place-items: center; flex: none; border-radius: 50%; overflow: hidden; color: #fff; font-weight: 600; background: #1e1f22; }
.dc-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dc-dot { position: absolute; right: -2px; bottom: -2px; width: 10px; height: 10px; border-radius: 50%; background: var(--dc-green); box-shadow: 0 0 0 3px var(--dc-side); }
.dc-me .dc-dot { box-shadow: 0 0 0 3px #232428; }

/* Discussion */
.dc-chat { display: flex; flex-direction: column; min-width: 0; min-height: 0; background: var(--dc-chat); }
.dc-head { display: flex; align-items: center; gap: 8px; height: 48px; padding: 0 16px; box-shadow: 0 1px 0 rgb(0 0 0 / 0.22); }
.dc-head-ic { color: #80848e; }
.dc-head-name { color: var(--dc-head); font-weight: 600; white-space: nowrap; }
.dc-head-div { width: 1px; height: 24px; margin: 0 4px; background: #3f4147; }
.dc-head-topic { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--dc-muted); font-size: 14px; }
.dc-head-tools { display: flex; align-items: center; gap: 16px; color: #b5bac1; }
.dc-search { display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 144px; height: 24px; padding: 0 6px; border-radius: 4px; background: var(--dc-rail); color: var(--dc-muted); font-size: 13px; }

.dc-feed { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; }
.dc-feed-in { margin-top: auto; padding: 16px 0 6px; }

.dc-msg { position: relative; padding: 2px 48px 2px 72px; margin-top: 17px; min-height: 44px; }
.dc-msg.is-cont { margin-top: 0; min-height: 0; }
.dc-msg > .dc-ava { position: absolute; left: 16px; top: 4px; }
.dc-msg.is-in { animation: dc-msg-in 0.32s var(--ease); }
@keyframes dc-msg-in { from { opacity: 0; transform: translateY(8px); } }
.dc-msg.is-hl { background: rgb(240 177 50 / 0.08); box-shadow: inset 2px 0 0 var(--dc-yellow); }
.dc-msg.is-ephemeral { background: rgb(88 101 242 / 0.06); }
.dc-msg.is-deleting { animation: dc-del 0.45s var(--ease) forwards; background: rgb(218 55 60 / 0.12); }
@keyframes dc-del { 40% { transform: translateX(-4px); } 70% { transform: translateX(4px); opacity: 0.8; } to { opacity: 0; transform: translateX(0); } }
.dc-msg-head { display: flex; align-items: center; gap: 6px; line-height: 22px; }
.dc-name { font-weight: 500; color: var(--dc-head); }
.dc-tag { display: inline-flex; align-items: center; gap: 2px; height: 15px; padding: 0 4px; border-radius: 3px; background: var(--dc-brand); color: #fff; font-size: 10px; font-weight: 600; line-height: 15px; }
.dc-time { color: var(--dc-muted); font-size: 12px; margin-left: 2px; }
.dc-text { color: var(--dc-text); overflow-wrap: anywhere; }
.dc-text strong, .dc-em-desc strong, .dc-sys strong { color: var(--dc-head); font-weight: 600; }
.dc-linky { color: #00a8fc; }
.dc-code { padding: 0.1em 0.3em; border-radius: 4px; background: #2b2d31; font: 0.85em/1 ui-monospace, "SF Mono", Consolas, monospace; color: var(--dc-text); }
.dc-embed .dc-code { background: #1e1f22; }
.dc-mention { padding: 0 2px; border-radius: 3px; background: rgb(88 101 242 / 0.3); color: #c9cdfb; font-weight: 500; white-space: nowrap; }
.dc-mention--ch { display: inline-flex; align-items: center; gap: 1px; vertical-align: bottom; }
.dc-eph { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 4px; color: var(--dc-muted); font-size: 12px; }
.dc-link { color: #00a8fc; }

.dc-sys { position: relative; display: flex; align-items: center; gap: 8px; padding: 2px 48px 2px 72px; margin-top: 8px; color: var(--dc-muted); font-size: 14px; transition: opacity 0.4s, background-color 0.3s; }
.dc-sys-ic { position: absolute; left: 30px; color: var(--dc-green); }
.dc-sys--shield .dc-sys-ic { color: #b5bac1; }
.dc-sys.is-in { animation: dc-msg-in 0.3s var(--ease); }
.dc-sys.is-blocked { background: rgb(218 55 60 / 0.1); text-decoration: line-through; opacity: 0.6; }
.dc-sys.is-blocked .dc-sys-ic { color: var(--dc-red); }
.dc-divider { display: flex; align-items: center; gap: 8px; margin: 22px 16px 4px; color: var(--dc-muted); font-size: 12px; font-weight: 600; }
.dc-divider::before, .dc-divider::after { content: ""; flex: 1; height: 1px; background: #3f4147; }

/* Embed */
.dc-embed {
  position: relative; display: grid; gap: 8px; max-width: 520px; margin-top: 4px; padding: 10px 16px 14px 12px;
  border-radius: 4px; border-left: 4px solid #e4e4e7; background: #2b2d31;
}
.dc-em-author { display: flex; align-items: center; gap: 8px; color: var(--dc-head); font-size: 14px; font-weight: 600; }
.dc-em-title { color: var(--dc-head); font-weight: 600; font-size: 16px; padding-right: 72px; }
.dc-em-desc { font-size: 14px; color: var(--dc-text); padding-right: 72px; }
.dc-embed:not(:has(.dc-em-thumb)) .dc-em-title, .dc-embed:not(:has(.dc-em-thumb)) .dc-em-desc { padding-right: 0; }
.dc-em-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px 12px; }
.dc-em-field { grid-column: 1 / -1; font-size: 14px; }
.dc-em-field.is-inline { grid-column: auto; }
.dc-em-fname { color: var(--dc-head); font-weight: 600; margin-bottom: 2px; }
.dc-em-field.is-flip .dc-em-fval { animation: dc-pop 0.3s var(--ease); }
.dc-on { display: inline-flex; align-items: center; gap: 5px; color: #4ade80; font-weight: 600; font-size: 13px; }
.dc-on i { width: 8px; height: 8px; border-radius: 50%; background: var(--dc-green); box-shadow: 0 0 0 3px rgb(35 165 90 / 0.22); }
.dc-em-thumb { position: absolute; top: 12px; right: 14px; }
.dc-em-thumb .dc-ava { border-radius: 8px; }
.dc-em-foot { display: flex; align-items: center; gap: 8px; color: var(--dc-muted); font-size: 12px; }

/* Composants : boutons, sélecteur, progression */
.dc-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; position: relative; }
.dc-embed > .dc-row { margin-top: 4px; }
.dc-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 16px; border-radius: 8px;
  color: #fff; font-size: 14px; font-weight: 500; transition: filter 0.15s, transform 0.12s, opacity 0.2s;
}
.dc-btn--primary { background: var(--dc-brand); }
.dc-btn--secondary { background: #4e5058; }
.dc-btn--danger { background: var(--dc-red); }
.dc-btn--success { background: #248046; }
.dc-btn.is-pressed { filter: brightness(0.82); transform: scale(0.97); }
.dc-btn.is-disabled { opacity: 0.5; }
.dc-btn-emo { font-size: 15px; line-height: 1; }
.dc-count { min-width: 1.6em; padding: 0 6px; margin-left: 2px; border-radius: 4px; background: rgb(0 0 0 / 0.22); font-variant-numeric: tabular-nums; text-align: center; }
.dc-count.is-bump { animation: dc-pop 0.3s var(--ease); }
.dc-select {
  display: flex; align-items: center; justify-content: space-between; width: min(400px, 100%); height: 40px; padding: 0 10px 0 12px;
  border-radius: 8px; background: #1e1f22; color: var(--dc-muted); font-size: 14px; box-shadow: inset 0 0 0 1px #1e1f22;
}
.dc-select.is-open { box-shadow: inset 0 0 0 1px #000; border-radius: 0 0 8px 8px; }
.dc-select.is-open svg { rotate: 180deg; }
.dc-select.is-pressed { box-shadow: inset 0 0 0 1px #6d6f78; }
.dc-select-val { color: var(--dc-text); }
.dc-menu {
  position: absolute; bottom: 40px; left: 0; width: min(400px, 100%); max-height: 300px; overflow: hidden; z-index: 2;
  border-radius: 8px 8px 0 0; background: #2b2d31; box-shadow: 0 0 0 1px #1e1f22, 0 -8px 24px rgb(0 0 0 / 0.35);
  animation: dc-menu-in 0.18s var(--ease);
}
@keyframes dc-menu-in { from { opacity: 0; transform: translateY(6px); } }
.dc-opt { display: grid; padding: 8px 12px; border-bottom: 1px solid #1e1f22; }
.dc-opt.is-hover, .dc-opt.is-pressed { background: var(--dc-hover); }
.dc-opt-label { color: var(--dc-text); font-size: 14px; font-weight: 500; }
.dc-opt-desc { color: var(--dc-muted); font-size: 12px; }
.dc-progress { display: grid; gap: 6px; margin-top: 8px; max-width: 360px; padding: 10px 12px; border-radius: 8px; background: #2b2d31; }
.dc-prog-row { display: grid; grid-template-columns: 92px 1fr 36px; align-items: center; gap: 10px; font-size: 13px; }
.dc-prog-label { color: var(--dc-muted); }
.dc-prog-bar { height: 6px; border-radius: 3px; background: #1e1f22; overflow: hidden; }
.dc-prog-bar i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--dc-green); transition: width 0.15s linear; }
.dc-prog-val { color: var(--dc-text); font-variant-numeric: tabular-nums; text-align: right; }

/* Barre d'écriture */
.dc-compose { padding: 0 16px; }
.dc-input { display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 14px; border-radius: 8px; background: var(--dc-input); }
.dc-input-plus { color: #b5bac1; }
.dc-input-field { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; }
.dc-input-ph { color: #6d6f78; }
.dc-input-text { color: var(--dc-text); }
.dc-caret { display: none; width: 1px; height: 18px; margin-left: 1px; vertical-align: -3px; background: var(--dc-text); animation: dc-blink 1s steps(1) infinite; }
.dc-app.is-typing .dc-caret { display: inline-block; }
@keyframes dc-blink { 50% { opacity: 0; } }
.dc-input-tools { display: flex; gap: 14px; color: #b5bac1; }
.dc-typing { display: flex; align-items: center; gap: 6px; height: 24px; color: var(--dc-text); font-size: 12px; opacity: 0; transition: opacity 0.2s; }
.dc-typing.is-on { opacity: 1; }
.dc-typing strong { font-weight: 700; }
.dc-typing-dots { display: inline-flex; gap: 3px; }
.dc-typing-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--dc-text); animation: dc-dot 1.2s infinite ease-in-out; }
.dc-typing-dots i:nth-child(2) { animation-delay: 0.15s; }
.dc-typing-dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes dc-dot { 0%, 60%, 100% { opacity: 0.35; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }

/* Membres */
.dc-members { background: var(--dc-side); padding: 12px 8px; overflow: hidden; }
.dc-mem-group + .dc-mem-group { margin-top: 18px; }
.dc-mem-title { padding: 0 8px 6px; color: var(--dc-muted); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.02em; }
.dc-mem { display: flex; align-items: center; gap: 12px; height: 42px; padding: 0 8px; border-radius: 4px; transition: opacity 0.4s, height 0.4s var(--ease); overflow: hidden; }
.dc-mem-ava { position: relative; display: inline-flex; }
.dc-mem-name { font-weight: 500; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dc-mem.is-new { animation: dc-mem-in 0.35s var(--ease); background: rgb(218 55 60 / 0.12); }
@keyframes dc-mem-in { from { opacity: 0; transform: translateX(10px); } }
.dc-mem.is-gone { opacity: 0; height: 0; }
.dc-mem.is-muted { opacity: 0.45; }
.dc-mem.is-muted .dc-dot { background: var(--dc-red); }

/* Curseur */
.dc-cursor {
  position: absolute; left: 0; top: 0; z-index: 10; pointer-events: none; opacity: 0;
  transform: translate(60%, 90%); transition: transform 0.75s cubic-bezier(0.45, 0, 0.2, 1), opacity 0.3s;
  filter: drop-shadow(0 2px 3px rgb(0 0 0 / 0.5));
}
.dc-cursor.is-on { opacity: 1; }
.dc-cursor svg { display: block; transition: transform 0.15s; transform-origin: 5px 3px; }
.dc-cursor::before {
  content: ""; position: absolute; left: -9px; top: -10px; width: 28px; height: 28px; border-radius: 50%;
  background: rgb(255 255 255 / 0.35); transform: scale(0); opacity: 0;
}
.dc-cursor.is-click svg { transform: scale(0.85); }
.dc-cursor.is-click::before { animation: dc-ripple 0.45s ease-out; }
@keyframes dc-ripple { from { transform: scale(0.2); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }

@media (max-width: 1180px) {
  .dc-app { grid-template-columns: 72px 224px minmax(0, 1fr); }
  .dc-members { display: none; }
}
@media (max-width: 820px) {
  .dc-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; max-width: 100%; scrollbar-width: none; }
  .dc-tab { flex: none; }
  .dc-tab-cmd { display: none; }
  .dc-app { grid-template-columns: minmax(0, 1fr); height: 560px; font-size: 14px; }
  .dc-rail, .dc-side { display: none; }
  .dc-search, .dc-head-tools svg:nth-child(2) { display: none; }
  .dc-msg, .dc-sys { padding-right: 12px; padding-left: 64px; }
  .dc-msg > .dc-ava { left: 12px; }
  .dc-sys-ic { left: 26px; }
  .dc-em-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dc-em-title, .dc-em-desc { padding-right: 0; }
  .dc-em-thumb { display: none; }
  .dc-input-tools svg:not(:last-child) { display: none; }
  .dc-compose { padding: 0 10px; }
}

/* Liens vers les pages fonctionnalités (sous la démo de l'accueil) — build-site-i18n.js */
.feat-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; margin: 1.25rem auto 0; padding: 0; list-style: none; max-width: 52rem; }
.feat-links a {
  display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.5rem 0.95rem; border-radius: 999px;
  color: var(--mist); font-size: 0.9rem; text-decoration: none;
  background: rgb(255 255 255 / 0.04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08); transition: color 0.2s, background-color 0.2s;
}
.feat-links a:hover { color: var(--text); background: rgb(255 255 255 / 0.08); }

/* ── Cartes de prix (accueil #tarifs + /tarifs/) — tools/build-pricing-faq.js, js/site/pricing.js ──
   Trois cartes sombres, prix croissants : Gratuit (neutre), VIP Serveur (or), VIP Perso (bleu glacé, mise en avant).
   Les cartes partagent les mêmes rangées (subgrid) : icônes, prix, boutons et listes tombent sur les mêmes lignes. Lueur colorée en haut, logo en filigrane, prix, bouton, points clés, liste cochée. */
.pc-wrap { margin-top: clamp(2rem, 4vw, 2.75rem); text-align: left; }
.pc-dur {
  position: relative; display: flex; width: max-content; max-width: 100%; margin-inline: auto; padding: 5px; gap: 2px; border-radius: 999px; overflow-x: auto;
  background: rgb(255 255 255 / 0.04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08), inset 0 1px 2px rgb(0 0 0 / 0.35);
  touch-action: pan-y; user-select: none; -webkit-user-select: none; scrollbar-width: none;
}
.pc-dur::-webkit-scrollbar { display: none; }
.pc-dur button {
  position: relative; flex: none; padding: 0.62rem 1.1rem; border: 0; border-radius: 999px; background: none; cursor: pointer;
  color: var(--mist); font: 500 0.88rem/1 var(--font); transition: color 0.25s;
}
.pc-dur button small { margin-left: 0.35rem; color: var(--gold); font-size: 0.74rem; font-weight: 600; }
.pc-dur button:hover, .pc-dur button[aria-checked="true"] { color: var(--text); }
.pc-dur button:focus-visible { outline: 2px solid rgb(255 255 255 / 0.5); outline-offset: 2px; }
/* Sans JS : le choix actif a un simple fond */
.pc-dur:not(:has(.pc-thumb[style])) button[aria-checked="true"] { background: rgb(255 255 255 / 0.1); }

/* Pastille Liquid Glass : au-dessus du libellé (on le voit à travers la lentille) */
.pc-thumb {
  --x: 5px; --w: 80px; --h: 34px;
  position: absolute; left: 0; top: 5px; z-index: 2; width: var(--w); height: var(--h); border-radius: 999px; pointer-events: none;
  translate: var(--x) 0;
  background: rgb(255 255 255 / 0.07);
  box-shadow:
    inset 0 1px 0 rgb(255 255 255 / 0.4), inset 0 -1px 0 rgb(255 255 255 / 0.1),
    inset 0 0 0 0.5px rgb(255 255 255 / 0.28), inset 0 0 10px rgb(255 255 255 / 0.06),
    0 6px 16px -6px rgb(0 0 0 / 0.6);
  -webkit-backdrop-filter: saturate(160%) brightness(1.12); backdrop-filter: saturate(160%) brightness(1.12);
  transition: translate 0.6s cubic-bezier(0.34, 1.45, 0.5, 1), width 0.6s cubic-bezier(0.34, 1.45, 0.5, 1), scale 0.35s cubic-bezier(0.34, 1.7, 0.5, 1);
}
.pc-thumb.is-lens {
  -webkit-backdrop-filter: saturate(160%) brightness(1.12);
  backdrop-filter: var(--pc-lens) saturate(160%) brightness(1.12);
}
.pc-thumb.is-lens::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: var(--pc-spec) 0 0 / 100% 100% no-repeat; mix-blend-mode: plus-lighter; opacity: 0.9;
}
.pc-thumb.is-moving { scale: 1.12 0.9; }
.pc-thumb.is-drag { scale: 1.14 1.08; transition: width 0.3s, scale 0.3s cubic-bezier(0.34, 1.7, 0.5, 1); }
.pc-thumb.no-anim { transition: none; }
html[data-motion-policy="reduce"] .pc-thumb { transition: none; }

.pc-cards { display: grid; grid-template-columns: 1fr 1fr 1.1fr; grid-template-rows: repeat(9, auto); align-items: stretch; gap: clamp(1rem, 2vw, 1.5rem); max-width: 1080px; margin: clamp(1.75rem, 3.5vw, 2.5rem) auto 0; }
.pc {
  --tint: 200 200 210;
  position: relative; isolation: isolate; overflow: hidden; border-radius: 20px;
  display: grid; grid-template-rows: subgrid; grid-row: span 9; row-gap: 0; align-content: start;
  padding: 1.75rem 1.6rem 1.8rem;
  background: linear-gradient(180deg, #17171b, #0e0e11 60%);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08), inset 0 1px 0 rgb(255 255 255 / 0.08), 0 30px 60px -30px rgb(0 0 0 / 0.85);
}
.pc::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 60%; z-index: -1; pointer-events: none;
  background: radial-gradient(85% 100% at 22% 0%, rgb(var(--tint) / 0.2), transparent 72%);
}
.pc::after {
  content: ""; position: absolute; top: -34px; right: -46px; width: 210px; height: 210px; z-index: -1; pointer-events: none;
  background: url("/assets/brand/logo-u-256.webp?v=20261115logo") center / contain no-repeat; opacity: 0.07; rotate: 14deg;
}
.pc--vip { --tint: var(--gold-rgb); }
/* Offre mise en avant (au centre) : plus grande, liseré et halo dans sa couleur */
.pc-top { display: contents; }
.pc-top > * { align-self: start; }
.pc-btn { align-self: end; }
@supports not (grid-template-rows: subgrid) {
  .pc-cards { grid-template-rows: none; align-items: start; }
  .pc { display: block; }
  .pc-top { display: block; }
}
.pc--featured {
  border-radius: 24px;
  box-shadow: inset 0 0 0 1px rgb(var(--tint) / 0.28), inset 0 1px 0 rgb(255 255 255 / 0.12), 0 40px 80px -30px rgb(0 0 0 / 0.9), 0 0 70px -20px rgb(var(--tint) / 0.22);
}
.pc--featured::before { background: radial-gradient(85% 100% at 22% 0%, rgb(var(--tint) / 0.3), transparent 72%); }
.pc--featured::after { width: 260px; height: 260px; opacity: 0.09; }
.pc--perso { --tint: 150 182 238; }
.pc-badge {
  position: absolute; top: 13.5px; right: 13.5px; margin: 0; padding: 0.3rem 0.7rem; border-radius: 999px; /* concentrique au coin de la carte (24 − 10,5) */
  color: var(--text); font: 600 0.72rem/1 var(--font); background: rgb(255 255 255 / 0.1); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12);
}
.pc-ic {
  display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #121214;
  background: radial-gradient(circle at 32% 26%, #fff, rgb(var(--tint)) 72%);
  box-shadow: 0 6px 18px -6px rgb(var(--tint) / 0.6), inset 0 -2px 4px rgb(0 0 0 / 0.15);
}
.pc--featured .pc-ic { width: 48px; height: 48px; }
.pc-name { margin-top: 1rem; font: 700 1.15rem/1.25 var(--font-display); letter-spacing: -0.01em; }
.pc--featured .pc-name { font-size: 1.45rem; }
.pc-desc { margin-top: 0.35rem; color: var(--mist); font-size: 0.86rem; line-height: 1.5; min-height: 2.6em; }
.pc-price { display: flex; align-items: baseline; gap: 0.4rem; margin-top: 1.2rem; }
.pc-price strong { font: 800 clamp(1.7rem, 2.6vw, 2rem)/1 var(--font-display); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.pc--featured .pc-price strong { font-size: clamp(2.1rem, 3.4vw, 2.6rem); }
.pc-price span { color: var(--mist-2); font-size: 0.88rem; }
.pc-note { margin-top: 0.35rem; color: var(--mist-2); font-size: 0.76rem; min-height: 1.2em; }
.pc-btn {
  display: block; margin-top: 1.1rem; padding: 0.78rem 1rem; border-radius: 11px; text-align: center; text-decoration: none;
  font: 600 0.92rem/1.1 var(--font); transition: background-color 0.2s, transform 0.2s, box-shadow 0.2s;
}
.pc-btn--ghost { color: var(--text); background: rgb(255 255 255 / 0.07); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1); }
.pc-btn--ghost:hover { background: rgb(255 255 255 / 0.12); }
.pc-btn--gold { color: #1a1405; background: linear-gradient(180deg, #f0d68e, var(--gold)); box-shadow: 0 10px 24px -10px rgb(var(--gold-rgb) / 0.6), inset 0 1px 0 rgb(255 255 255 / 0.5); padding-block: 0.9rem; }
.pc-btn--gold:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -10px rgb(var(--gold-rgb) / 0.7), inset 0 1px 0 rgb(255 255 255 / 0.5); }
.pc-btn--accent {
  color: #0b1020; padding-block: 0.9rem;
  background: linear-gradient(180deg, #ffffff, rgb(var(--tint)));
  box-shadow: 0 10px 24px -10px rgb(var(--tint) / 0.65), inset 0 1px 0 rgb(255 255 255 / 0.7);
}
.pc-btn--accent:hover { transform: translateY(-1px); box-shadow: 0 14px 28px -10px rgb(var(--tint) / 0.75), inset 0 1px 0 rgb(255 255 255 / 0.7); }
.pc-keys, .pc-list { margin: 0; padding: 0; list-style: none; }
.pc-keys { display: grid; gap: 0.7rem; margin-top: 1.4rem; }
.pc-keys li { display: flex; align-items: center; gap: 0.65rem; color: var(--mist); font-size: 0.9rem; }
.pc-keys svg { flex: none; color: var(--mist); }
.pc-keys strong { color: var(--text); font-weight: 600; }
.pc-sep { display: flex; align-items: center; gap: 0.75rem; margin: 1.25rem 0 1rem; color: var(--mist-2); font: 600 0.64rem/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; }
.pc-sep::before, .pc-sep::after { content: ""; flex: 1; height: 1px; background: rgb(255 255 255 / 0.08); }
.pc-sep span:empty { display: none; }
.pc-sep:has(span:empty) { gap: 0; }
.pc-list { display: grid; gap: 0.6rem; }
.pc-list li { display: flex; align-items: flex-start; gap: 0.6rem; color: var(--mist); font-size: 0.86rem; line-height: 1.4; }
.pc-check { flex: none; width: 18px; height: 18px; padding: 3px; border-radius: 50%; color: var(--text); background: rgb(255 255 255 / 0.08); }
.pc--featured .pc-check { color: #0d1220; background: rgb(var(--tint) / 0.9); }
@media (max-width: 960px) {
  .pc-cards { grid-template-columns: 1fr; grid-template-rows: none; max-width: 460px; }
  .pc { display: block; }
  .pc-top { display: block; }
  .pc--featured { order: -1; }
}

/* ── FAQ de l'accueil : deux colonnes ── */
.faq-list--2col { grid-template-columns: 1fr 1fr; column-gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.faq-colm { display: grid; align-content: start; }
.faq-list--2col summary { font-size: clamp(1.02rem, 1.45vw, 1.2rem); padding-block: clamp(1.1rem, 2vw, 1.5rem); }
.faq-list--2col .faq-a p { font-size: 0.98rem; }
.faq-more { margin-top: 2rem; }
@media (max-width: 860px) { .faq-list--2col { grid-template-columns: 1fr; } }

/* Démo Discord : bouton de rôle choisi, mention « (modifié) » */
.dc-btn.is-on { background: #248046; color: #fff; }
.dc-edited { color: #949ba4; font-size: 0.72em; }

/* ── Héros : téléphone tenu en main, avec Discord et UltimeBots à l'écran ─────────────────
   La photo (526 × 777, main + téléphone, fond et écran détourés) est posée PAR-DESSUS l'interface :
   le pouce et le cadre passent devant l'écran. L'interface (330 × 714, proportions d'un écran
   de téléphone) est projetée sur l'écran de la photo par une homographie (matrix3d),
   calculée une fois à partir des 4 coins de l'écran. Le masque limite l'interface à l'écran. */
.hero-phone { position: relative; width: 100%; max-width: 480px; aspect-ratio: 526 / 777; margin-inline: auto; pointer-events: none; user-select: none; }
.ph-stage { position: absolute; left: 0; top: 0; width: 526px; height: 777px; transform-origin: 0 0; scale: var(--ph-s, 0.6); }
.ph-screen {
  position: absolute; inset: 0;
  -webkit-mask: url("/assets/home/phone-screen-mask.png") 0 0 / 526px 777px no-repeat;
  mask: url("/assets/home/phone-screen-mask.png") 0 0 / 526px 777px no-repeat;
}
.ph-ui {
  position: absolute; left: 0; top: 0; width: 330px; height: 714px; transform-origin: 0 0;
  transform: matrix3d(0.49024,0.00902952,0,-0.000173337,-0.318415,0.625742,0,-8.24655e-05,0,0,1,0,303.966,22.9241,0,1);
  display: flex; flex-direction: column; overflow: hidden; background: #313338; color: #dbdee1;
  font: 400 16px/1.375 "gg sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}
/* reflet de la vitre */
.ph-ui::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(118deg, rgb(255 255 255 / 0.13) 0%, rgb(255 255 255 / 0.04) 28%, transparent 46%, transparent 70%, rgb(255 255 255 / 0.05) 100%);
}
.ph-photo { position: absolute; left: 0; top: 0; width: 526px; height: 777px; max-width: none; }

/* Barre d'état */
.ph-status { display: flex; align-items: center; justify-content: space-between; height: 54px; padding: 12px 26px 0 38px; background: #2b2d31; font: 600 16px/1 system-ui, -apple-system, "Segoe UI", sans-serif; color: #fff; flex: none; }
.ph-status-ic { display: flex; gap: 6px; align-items: center; }
/* En-tête du salon */
.ph-head { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 14px; background: #2b2d31; border-bottom: 1px solid #1f2023; flex: none; }
.ph-head-burger { width: 22px; height: 22px; color: #b5bac1; }
.ph-head-name { display: flex; align-items: center; gap: 4px; font-weight: 700; font-size: 17px; color: #f2f3f5; }
.ph-head-name svg { color: #80848e; }
.ph-head-tools { margin-left: auto; display: flex; gap: 18px; color: #b5bac1; }
/* Fil */
.ph-feed { position: relative; flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 0 0 10px; }
.ph-feed-in { display: flex; flex-direction: column; }
.ph-msg { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; padding: 9px 14px 3px; }
.ph-msg.is-cont { padding-top: 1px; }
.ph-msg.is-cont .ph-ava, .ph-msg.is-cont .ph-mhead { display: none; }
.ph-msg.is-cont .ph-mbody { grid-column: 2; }
.ph-ava { grid-row: 1 / span 2; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; overflow: hidden; color: #fff; font-weight: 700; font-size: 17px; }
.ph-ava img { width: 100%; height: 100%; object-fit: cover; }
.ph-mhead { display: flex; align-items: baseline; gap: 6px; min-width: 0; }
.ph-name { font-weight: 600; font-size: 16px; }
.ph-tag { display: inline-flex; align-items: center; gap: 2px; height: 16px; padding: 0 4px; border-radius: 4px; background: #5865f2; color: #fff; font-size: 10px; font-weight: 700; line-height: 1; translate: 0 -2px; }
.ph-time { color: #949ba4; font-size: 12px; }
.ph-mbody { min-width: 0; color: #dbdee1; font-size: 16px; }
.ph-code { padding: 1px 4px; border-radius: 4px; background: #2b2d31; font: 14px/1.4 ui-monospace, Consolas, monospace; }
.ph-mention { padding: 0 2px; border-radius: 3px; background: rgb(88 101 242 / 0.3); color: #c9cdfb; font-weight: 500; }
/* Embed */
.ph-embed { margin-top: 4px; padding: 10px 12px 12px 12px; border-radius: 4px; border-left: 4px solid #e4e4e7; background: #2b2d31; }
.ph-em-title { color: #f2f3f5; font-weight: 700; font-size: 15px; margin-bottom: 4px; }
.ph-em-desc { color: #dbdee1; font-size: 14px; }
.ph-em-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 12px; margin-top: 8px; }
.ph-em-fname { color: #f2f3f5; font-weight: 600; font-size: 13px; }
.ph-em-fval { font-size: 13px; color: #949ba4; }
.ph-on { display: inline-flex; align-items: center; gap: 5px; color: #57f287; font-weight: 600; }
.ph-on::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.ph-btns { display: flex; gap: 8px; margin-top: 10px; }
.ph-btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 8px; background: #4e5058; color: #fff; font-size: 14px; font-weight: 500; }
.ph-btn--primary { background: #5865f2; }
.ph-btn.is-press { filter: brightness(1.2); scale: 0.96; }
.ph-sys { display: grid; grid-template-columns: 40px minmax(0, 1fr); column-gap: 12px; align-items: center; padding: 5px 14px; color: #949ba4; font-size: 14px; }
.ph-sys svg { justify-self: center; color: #23a559; }
.ph-sys strong { color: #f2f3f5; font-weight: 600; }
.ph-sys.is-blocked { color: #f23f43; text-decoration: line-through; text-decoration-color: rgb(242 63 67 / 0.7); }
.ph-sys.is-blocked svg { color: #f23f43; }
/* Saisie */
.ph-typing { height: 20px; padding: 0 16px; color: #b5bac1; font-size: 12px; opacity: 0; transition: opacity 0.2s; flex: none; }
.ph-typing.is-on { opacity: 1; }
.ph-typing strong { color: #f2f3f5; }
.ph-compose { display: flex; align-items: center; gap: 10px; padding: 6px 12px 10px; background: #313338; flex: none; }
.ph-plus { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #383a40; color: #b5bac1; flex: none; }
.ph-input { flex: 1; min-width: 0; height: 40px; display: flex; align-items: center; padding: 0 14px; border-radius: 20px; background: #383a40; color: #6d6f78; font-size: 15px; white-space: nowrap; overflow: hidden; }
.ph-input.is-typing { color: #dbdee1; }
.ph-input .ph-caret { display: none; width: 2px; height: 20px; margin-left: 1px; background: #dbdee1; animation: ph-caret 1s steps(1) infinite; }
.ph-input.is-typing .ph-caret { display: inline-block; }
@keyframes ph-caret { 50% { opacity: 0; } }
.ph-send { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #383a40; color: #b5bac1; flex: none; transition: background-color 0.2s, color 0.2s; }
.ph-send.is-on { background: #5865f2; color: #fff; }
.ph-home { height: 30px; display: grid; place-items: center; flex: none; background: #313338; }
.ph-home::before { content: ""; width: 134px; height: 5px; border-radius: 3px; background: #f2f3f5; }
/* Entrées */
.ph-in { animation: ph-in 0.35s cubic-bezier(0.16, 1, 0.3, 1) both; }
@keyframes ph-in { from { opacity: 0; translate: 0 14px; } }
.ph-flip { animation: ph-flip 0.35s cubic-bezier(0.34, 1.5, 0.5, 1) both; }
@keyframes ph-flip { from { opacity: 0; scale: 0.6; } }
.ph-feed-in.is-out { transition: opacity 0.45s; opacity: 0; }

/* Mise en page du héros : texte à gauche, téléphone à droite (≥ 1024 px) ; dessous sur mobile. */
.hero-phone .ph-stage { -webkit-mask-image: linear-gradient(to bottom, #000 74%, transparent 97%); mask-image: linear-gradient(to bottom, #000 74%, transparent 97%); }
@media (min-width: 1024px) {
  .hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); column-gap: clamp(1rem, 3vw, 3rem); align-items: center; text-align: left; padding-top: clamp(1.5rem, 4vw, 3.5rem); }
  .hero-copy { margin: 0; max-width: 44rem; }
  .hero-title { font-size: clamp(3rem, 0.9rem + 3.7vw, 5.4rem); }
  .hero-lead { margin-left: 0; }
  .hero-cta { justify-content: flex-start; }
  .hero-phone { grid-column: 2; grid-row: 1; max-width: 470px; margin: 0 0 0 auto; }
  .hero .stats { grid-column: 1 / -1; }
}
@media (max-width: 1023px) {
  .hero-phone { max-width: 340px; margin-top: clamp(1.5rem, 5vw, 2.5rem); margin-bottom: -3rem; }
}
/* Arrivée du téléphone au chargement (s'ajoute à l'effet de scroll, qui utilise transform). */
@keyframes ph-enter { from { opacity: 0; translate: 40px 90px; rotate: 9deg; } }
html[data-motion-policy="ok"] .hero-phone { animation: ph-enter 1.3s cubic-bezier(0.16, 1, 0.3, 1) 0.25s both; }

/* ── Grille bento (section #bot, sous la démo) ──────────────────────────────────────────
   6 colonnes × 3 rangées sur grand écran. Tuiles sombres sans verre ; une tuile = un lien.
   Rayons : tuile 24, marge 24 (= rayon) → les éléments intérieurs ne touchent pas l'arrondi. */
@property --cnt { syntax: "<integer>"; inherits: true; initial-value: 47; }
.bento {
  --p: 1;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: repeat(3, minmax(190px, auto)); gap: 14px;
  max-width: 1120px; margin: clamp(3rem, 6vw, 4.5rem) auto 0;
}
.bt {
  --r: 24px;
  position: relative; display: flex; flex-direction: column; min-width: 0; padding: var(--r); border-radius: var(--r); overflow: hidden;
  color: var(--text); text-decoration: none;
  background: linear-gradient(180deg, #17171a, #111113);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.07), inset 0 1px 0 rgb(255 255 255 / 0.05);
  transition: box-shadow 0.25s;
}
a.bt:hover, a.bt:focus-visible { box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.16), inset 0 1px 0 rgb(255 255 255 / 0.08); }
.bt h3 { margin-top: auto; font: 700 1.12rem/1.25 var(--font-display); letter-spacing: -0.015em; text-wrap: balance; }
.bt p { margin-top: 0.4rem; color: var(--mist); font-size: 0.9rem; line-height: 1.5; }
.bt-k { display: flex; align-items: center; gap: 0.5rem; color: var(--mist-2); font: 500 0.68rem/1 var(--font-mono); letter-spacing: 0.12em; text-transform: uppercase; }
.bt-k svg:first-child { color: var(--mist); }
.bt-go { margin-left: auto; opacity: 0.5; transition: opacity 0.2s, translate 0.25s cubic-bezier(0.34, 1.5, 0.5, 1); }
a.bt:hover .bt-go, a.bt:focus-visible .bt-go { opacity: 1; translate: 3px 0; }
.bt--num:hover .bt-go { translate: 2px -2px; }
.bt-giant { display: block; margin-top: auto; font: 800 clamp(3.2rem, 6vw, 5.2rem)/0.9 var(--font-display); letter-spacing: -0.06em;
  background: linear-gradient(180deg, #fff 0%, #d4d4d8 55%, #8a8a93 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-bottom: 0.06em; }
.bt-cmds { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 1rem; }
.bt-cmds code { padding: 5px 9px; border-radius: 8px; background: rgb(255 255 255 / 0.06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.07); color: var(--text); font: 500 0.8rem/1 var(--font-mono); }
.bt-cmds em { align-self: center; padding: 4px 8px; border-radius: 999px; background: rgb(var(--gold-rgb) / 0.14); color: var(--gold); font: 700 0.66rem/1 var(--font-mono); font-style: normal; letter-spacing: 0.08em; }

/* Placement */
.bt--mod { grid-column: 1 / 3; grid-row: 1; }
.bt--tk { grid-column: 3; grid-row: 1; }
.bt--logs { grid-column: 4; grid-row: 1 / 3; }
.bt--roles { grid-column: 5; grid-row: 1 / 3; }
.bt--num { grid-column: 6; grid-row: 1; }
.bt--lang { grid-column: 6; grid-row: 2; }
.bt--raid { grid-column: 1 / 4; grid-row: 2 / 4; }
.bt--bk { grid-column: 4; grid-row: 3; }
.bt--gw { grid-column: 5 / 7; grid-row: 3; }

/* Antiraid : la grande tuile */
.bt--raid { padding: 28px; background: radial-gradient(120% 90% at 100% 0%, rgb(255 255 255 / 0.06), transparent 60%), linear-gradient(180deg, #19191c, #111113); }
.bt--raid .bt-giant--cmd { margin-top: 1.4rem; font: 700 clamp(2.4rem, 5.4vw, 4.6rem)/1 var(--font-mono); letter-spacing: -0.05em; }
.bt--raid h3 { margin-top: 1.2rem; font-size: clamp(1.25rem, 2vw, 1.6rem); }
.bt--raid p { max-width: 34rem; }
.bt-prot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 1.4rem 0 0; padding: 0; list-style: none; }
.bt-prot li { display: flex; align-items: center; gap: 8px; padding: 9px 11px; border-radius: 10px; background: rgb(255 255 255 / 0.04); color: var(--mist); font: 500 0.8rem/1 var(--font-mono); }
.bt-prot i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #3f3f46;
  --on: clamp(0, calc(var(--p) * 14 - var(--i) * 1.1 - 2), 1); }
.bt-prot i { background: color-mix(in srgb, #23a559 calc(var(--on) * 100%), #3f3f46); box-shadow: 0 0 calc(var(--on) * 10px) rgb(35 165 89 / 0.7); }

/* Logs : lignes avec une barre de couleur, qui arrivent l'une après l'autre */
.bt-logs { display: grid; gap: 8px; margin: 1.2rem 0 0; padding: 0; list-style: none; }
.bt--logs h3 { margin-top: 0.9rem; }
.bt--logs .bt-logs { margin-top: auto; }
.bt-log { position: relative; padding: 9px 10px 9px 14px; border-radius: 8px; background: rgb(255 255 255 / 0.04); color: #dbdee1; font-size: 0.8rem; line-height: 1.25;
  opacity: clamp(0, calc(var(--p) * 9 - var(--i) * 1.2 - 2), 1); translate: calc((1 - clamp(0, calc(var(--p) * 9 - var(--i) * 1.2 - 2), 1)) * 14px) 0; }
.bt-log::before { content: ""; position: absolute; left: 0; top: 7px; bottom: 7px; width: 3px; border-radius: 0 3px 3px 0; background: var(--c); }
.bt-log--del { --c: #f23f43; } .bt-log--edit { --c: #f0b232; } .bt-log--ban { --c: #da373c; } .bt-log--voice { --c: #23a559; } .bt-log--role { --c: #5865f2; }

/* Rôles : trois pastilles empilées (choisie / proposée / proposée) */
.bt--roles h3 { margin-top: 0.9rem; }
.bt-roles { display: grid; gap: 12px; margin: auto 0 0; padding: 0; list-style: none; }
.bt-role { display: flex; align-items: center; gap: 10px; color: var(--mist); font-size: 0.85rem; }
.bt-role span { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; font-size: 1.25rem; background: rgb(255 255 255 / 0.06); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08); transition: background-color 0.3s; }
.bt-role:first-child { color: var(--text); }
.bt-role:first-child span { background: #f4f4f5; box-shadow: none; }
.bt-role:nth-child(2) span { background: rgb(255 255 255 / 0.18); }

/* Chiffres */
.bt--num p, .bt--lang p { font-size: 0.82rem; }
.bt-giant--lang { font-size: clamp(2.8rem, 4.6vw, 4rem); }
.bt-giant--lang span { display: block; margin-top: 0.15em; font-size: 0.34em; letter-spacing: 0.02em; }

/* Giveaway : mini message du bot, compteur qui monte au scroll */
.bt--gw { flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 0 1.5rem; }
.bt--gw .bt-k { flex-basis: 100%; }
.bt--gw h3 { flex: 1 1 12rem; }
.bt-embed { flex: 1 1 15rem; display: grid; gap: 4px; padding: 12px 14px; border-radius: 6px; border-left: 4px solid var(--gold); background: #1e1f22; color: #dbdee1; font-size: 0.82rem; }
.bt-embed small { color: #949ba4; font-size: 0.76rem; }
.bt-btn { justify-self: start; margin-top: 6px; padding: 7px 12px; border-radius: 8px; background: #5865f2; color: #fff; font-weight: 600; font-size: 0.8rem; }
.bt--gw { --cnt: calc(var(--p) * 47); }
.bt-btn--tk { align-self: flex-start; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; margin-top: 1.1rem; translate: 0 calc((1 - clamp(0, var(--p) * 3 - 1, 1)) * 10px); opacity: clamp(0.3, calc(var(--p) * 3 - 1), 1); }
.bt-count::after { counter-reset: n var(--cnt); content: counter(n); }

@media (max-width: 1100px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: none; grid-auto-rows: minmax(170px, auto); }
  .bt--raid { grid-column: 1 / -1; grid-row: auto; }
  .bt--mod, .bt--gw { grid-column: 1 / -1; grid-row: auto; }
  .bt--tk, .bt--num, .bt--lang, .bt--bk { grid-column: auto; grid-row: auto; }
  .bt--logs, .bt--roles { grid-column: auto; grid-row: span 2; }
  /* ordre sur 2 colonnes, sans trou : modération · tickets | 132 · logs | rôles · langues | backup · antiraid · giveaways */
  .bt--mod { order: 1; } .bt--tk { order: 2; } .bt--num { order: 3; } .bt--logs { order: 4; } .bt--roles { order: 5; }
  .bt--lang { order: 6; } .bt--bk { order: 7; } .bt--raid { order: 8; } .bt--gw { order: 9; }
}
@media (max-width: 520px) {
  .bt-prot { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bt { --r: 20px; }
  .bt-btn--tk { padding: 6px 9px; font-size: 0.72rem; }
  .bt-giant { font-size: 3rem; }
}

/* ══ Refonte « carrée » (19/11) ═══════════════════════════════════════════════════════════
   Direction : Apple / Rolex / Linear / Framer. Fond mat uni, aucun halo, aucun glow,
   boutons qui réagissent au doigt (scale 0.97, 160 ms), une seule grande scène au scroll
   (le héros épinglé). Courbes d'Emil Kowalski (skills emil-design-eng / animate). */
:root {
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease: var(--ease-out);
  --night: #111113;
}
/* Fond mat : couleur unie + grain très fin (texture papier mat, pas de lumière) */
html {
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.035 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>") 0 0 / 160px 160px,
    var(--night);
}
.hx-light, .hero-aura, .lp-aura .hx-light, .demo::before, .dc-stage::before, .perso-aura, .pricing-aura, .final::before, .lp--seo .lp-cta::before { display: none !important; }
.bt--raid { background: linear-gradient(180deg, #17171a, #111113); }

/* Boutons : aucun halo, une vraie réaction à l'appui */
.btn { transition: transform 160ms var(--ease-out), background-color 200ms ease, color 200ms ease; box-shadow: none; }
.btn:active { transform: scale(0.97); }
.btn-glass { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgb(255 255 255 / 0.07); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12); }
@media (hover: hover) and (pointer: fine) {
  .btn-light:hover { background: #ffffff; }
  .btn-gold:hover { background: #f0d68e; }
  .btn-glass:hover { background: rgb(255 255 255 / 0.12); }
}
.pc-btn, .pc-btn--gold, .pc-btn--accent { box-shadow: none !important; }
.pc-btn { transition: transform 160ms var(--ease-out), background-color 200ms ease; }
.pc-btn:active { transform: scale(0.97); }
.pz-step:hover .pz-num { filter: none; }
a.bt:active, .vs-cta .btn:active { transform: scale(0.985); }
a.bt { transition: box-shadow 0.25s, transform 160ms var(--ease-out); }

/* Libellés en casse normale (fini les petites capitales monospace) */
.bt-k, .stats dt, .ft-title, .lp-eyebrow, .lp-spec dt, .lp-toc-title {
  font-family: var(--font); font-size: 0.8rem; font-weight: 500; letter-spacing: 0; text-transform: none;
}

/* Barre de navigation : uniquement du verre liquide et les boutons. Plus de reflet blanc. */
.hd-bar.glass, .hd-bar.glass.lg-on {
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.09), 0 14px 36px -16px rgb(0 0 0 / 0.6);
}
.hd-bar.glass::before, .hd-bar.glass.lg-on::before { display: none; }
.hd-bar.glass::after, .hd-bar.glass.lg-on::after { background: none; }
/* Bouton du menu en plein, comme le bouton principal du hero : c'est l'action qui rapporte (audit 23/11). */
.hd-bar .hd-cta {
  min-height: 40px; padding-inline: 1.05rem; color: #0b0d14; font-weight: 600; text-shadow: none;
  background: #f5f5f4; box-shadow: none;
}
@media (hover: hover) and (pointer: fine) { .hd-bar .hd-cta:hover { background: #ffffff; } }
.hd-trigger, .hd-link, .hd-account { transition: background-color 150ms ease, color 150ms ease, transform 160ms var(--ease-out); }
.hd-trigger:active, .hd-link:active, .hd-account:active { transform: scale(0.97); }
/* Méga-menus : s'ouvrent depuis leur bouton (origine en haut), jamais depuis le vide */
.mega { transform-origin: top center; animation: mega-in 200ms var(--ease-out); }
@keyframes mega-in { from { opacity: 0; transform: translateY(-4px) scale(0.97); } }

/* ── Scène du héros épinglée ─────────────────────────────────────────────────────────────
   .hero-pin donne la longueur de la scène ; le héros reste collé à l'écran pendant qu'on
   défile. scroll-fx.js écrit des progressions déjà lissées :
     --ha  texte qui s'efface   --hb  téléphone qui vient au centre   --hw1..3  les trois mots
   et --hdx / --hdy, la distance entre le téléphone et le centre de l'écran. */
.hero-pin { position: relative; }
html[data-motion-policy="ok"] .hero-pin { height: 240vh; }
html[data-motion-policy="ok"] .hero-pin > .hero {
  position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 620px; overflow: clip;
  padding-top: 84px; box-sizing: border-box; align-content: center;
}
.hero { isolation: isolate; }
.hero-copy { position: relative; z-index: 2; }
.hero-phone { z-index: 3; }
.hero-words {
  position: absolute; inset: 84px 0 0; z-index: 1; display: grid; grid-template-rows: repeat(3, auto); align-content: center; row-gap: 0;
  pointer-events: none; text-align: left;
  font: 800 clamp(4.2rem, 10.6vw, 10.5rem)/0.88 var(--font-display); letter-spacing: -0.065em; color: #ececee;
}
.hw { display: block; padding-bottom: 0.06em; }
.hw-2 { color: #b9b9c0; }
.hw-3 { color: #7c7c85; }
html[data-motion-policy="ok"] .hw {
  clip-path: inset(-0.1em 0 calc((1 - var(--w, 0)) * 100%) 0);
  transform: translate3d(0, calc((1 - var(--w, 0)) * 0.42em), 0);
}
html[data-motion-policy="ok"] .hw-1 { --w: var(--hw1, 0); }
html[data-motion-policy="ok"] .hw-2 { --w: var(--hw2, 0); }
html[data-motion-policy="ok"] .hw-3 { --w: var(--hw3, 0); }
html[data-motion-policy="reduce"] .hero-words { display: none; }
/* Perf (30/11) : posées par scroll-fx.js sur .hero-copy et .hero-phone directement ; non héritées, leur
   changement à chaque image ne recalcule pas le contenu de ces blocs. */
@property --ha { syntax: "<number>"; inherits: false; initial-value: 0; }
@property --hb { syntax: "<number>"; inherits: false; initial-value: 0; }
html[data-motion-policy="ok"] .hero-copy {
  transform: translate3d(0, calc(var(--ha, 0) * -90px), 0) scale(calc(1 - var(--ha, 0) * 0.05));
  opacity: calc(1 - var(--ha, 0));
}
.hero-pin.is-past .hero-copy { pointer-events: none; }
html[data-motion-policy="ok"] .hero-phone {
  transform: translate3d(calc(var(--hb, 0) * var(--hdx, 0px)), calc(var(--hb, 0) * var(--hdy, 0px)), 0)
             scale(calc(1 + var(--hb, 0) * 0.04)) rotate(calc(var(--hb, 0) * -4deg));
}
.stats-band { width: var(--shell); margin: 0 auto; }
.stats-band .stats { margin-top: clamp(2rem, 5vw, 3.5rem); }
@media (max-width: 1023px) {
  html[data-motion-policy="ok"] .hero-pin { height: 210vh; }
  html[data-motion-policy="ok"] .hero-pin > .hero { display: block; padding-top: clamp(96px, 14vh, 130px); }
  html[data-motion-policy="ok"] .hero-pin .hero-phone { position: absolute; left: 50%; bottom: -24%; width: min(78vw, 360px); margin: 0; translate: -50% 0; }
  .hero-words { font-size: clamp(3.4rem, 18vw, 7rem); inset: clamp(96px, 14vh, 130px) 6vw auto; align-content: start; }
}
@media (max-width: 1023px) and (min-height: 860px) {
  html[data-motion-policy="ok"] .hero-pin .hero-phone { bottom: -16%; }
}

/* Tous les éléments en verre liquide (pastille de durée, bulles mobiles de la barre) :
   même règle que la navbar — la réfraction reste, plus de reflet ni de liseré blanc. */
.pc-thumb, .pc-thumb.is-lens {
  background: rgb(255 255 255 / 0.06);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1), 0 6px 16px -8px rgb(0 0 0 / 0.6);
}
.pc-thumb.is-lens::before { display: none; }
@media (max-width: 680px) {
  .hd-logo, .hd-burger,
  .lg-bubbles .hd-logo, .lg-bubbles .hd-burger {
    background-image: none;
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1), 0 12px 28px -10px rgb(0 0 0 / 0.6);
  }
}

/* Barre qui se cache en descendant (home.js) : sortie rapide, retour un peu plus doux */
.hd { transition: transform 220ms var(--ease-out); }
.hd.hd--hidden { transform: translateY(calc(-100% - 12px)); transition-duration: 260ms; }
html[data-motion-policy="reduce"] .hd { transition: none; }

/* Main + téléphone : taille calée sur la hauteur de l'écran (jamais coupé sous la barre ni en bas),
   et un peu plus petit en fin de scène. */
@media (min-width: 1024px) {
  .hero-phone { width: min(440px, calc((100svh - 170px) * 526 / 777)); max-width: none; }
  html[data-motion-policy="ok"] .hero-pin > .hero { padding-top: 76px; }
}

/* ── Deux versions, version simple : deux colonnes, la même structure, une seule différence
   visible en haut (le nom du bot tel qu'il apparaît dans Discord). Pas de carte, un filet central. */
.ver { display: grid; grid-template-columns: 1fr 1fr; max-width: 980px; margin: 0 auto; }
.ver-col { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.5rem, 4vw, 3rem); }
.ver-col + .ver-col { border-left: 1px solid var(--line); }
.ver-col .btn { margin-top: auto; }
@media (max-width: 760px) {
  .ver { grid-template-columns: 1fr; }
  .ver-col { padding-inline: 0; }
  .ver-col + .ver-col { border-left: 0; border-top: 1px solid var(--line); }
  .ver-col .btn { align-self: stretch; }
}

/* Bento : tuile Bienvenue (remplace « 132 », déjà dit dans le héros) */
.bt-wl { display: block; margin-top: 1rem; padding: 10px 12px; border-radius: 6px; border-left: 3px solid var(--gold); background: #1e1f22; color: #dbdee1; font-size: 0.8rem; line-height: 1.4; }
.bt--wl h3 { margin-top: auto; padding-top: 1rem; }

/* ── Footer façon Framer : logo seul en tête de grille, colonnes de liens serrées et discrètes,
   une barre basse sur une ligne (accueil, langues, réseaux, mention, année). Pas de flèches. */
.ft--grid { margin-top: clamp(5rem, 10vw, 8rem); padding: 0 var(--pad) 2.25rem; }
.fw { width: min(1120px, 100%); margin-inline: auto; }
.fw-grid { display: grid; grid-template-columns: 1.4fr repeat(4, minmax(0, 1fr)); gap: 2.5rem 1.5rem; align-items: start; }
.fw-logo { display: inline-flex; opacity: 0.9; }
.fw-logo:hover { opacity: 1; }
.fw-col { display: grid; align-content: start; gap: 0.15rem; }
.fw-h { margin: 0 0 0.55rem; color: var(--text); font: 500 0.82rem/1.4 var(--font); }
.fw-col a { width: fit-content; color: #8a8a93; font-size: 0.82rem; line-height: 1.9; text-decoration: none; transition: color 150ms ease; }
.fw-col a:hover, .fw-col a:focus-visible { color: var(--text); }
.ft--grid a.ft-go::before { display: none; }
.fw-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem 1.5rem; margin-top: clamp(3.5rem, 7vw, 5.5rem); color: #8a8a93; font-size: 0.78rem; }
.fw-bar a { color: #8a8a93; text-decoration: none; transition: color 150ms ease; }
.fw-bar a:hover, .fw-bar a:focus-visible { color: var(--text); }
.fw-home { font: 500 0.82rem/1 var(--font-mono, ui-monospace, monospace); }
.fw-social { display: inline-flex; align-items: center; gap: 0.9rem; }
.fw-social a { display: grid; place-items: center; }
.fw-copy { margin-left: auto; }
@media (max-width: 900px) {
  .fw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fw-logo { grid-column: 1 / -1; }
  .fw-copy { margin-left: 0; }
}

.fw-h a { color: inherit; font-size: inherit; line-height: inherit; }

/* ── Audit design 23/11 : cibles tactiles ≥ 44 px et sélecteur de durée lisible sur téléphone ── */
@media (max-width: 900px), (pointer: coarse) {
  .dc-tab { min-height: 44px; }
  .hd-trigger, .hd-link, .hd-account { height: 44px; }
}
@media (max-width: 640px) {
  /* Les 4 durées tiennent sur une ligne : remise sous le libellé, plus rien de coupé hors écran. */
  .pc-dur { width: 100%; }
  .pc-dur button {
    flex: 1 1 0; min-width: 0; min-height: 48px; padding: 0.45rem 0.2rem;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.2rem; font-size: 0.86rem;
  }
  .pc-dur button small { margin-left: 0; font-size: 0.72rem; }
  /* Onglets de démo : un fondu à droite montre qu'il y en a d'autres en glissant. */
  .dc-tabs {
    padding-right: 2.25rem;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 48px), transparent);
  }
}
/* FAQ de l'accueil : titre centré et à la même taille que les autres sections (audit 23/11). */
.home .faq-title { text-align: center; font-size: clamp(2.05rem, 1rem + 3.1vw, 3.85rem); line-height: 1.05; letter-spacing: -0.035em; }

/* ── Bento, audit design 23/11 : une seule règle pour toutes les tuiles ──
   étiquette en haut → visuel juste dessous → titre + phrase calés en bas.
   Avant, chaque tuile avait son propre ordre (titre en haut ici, en bas là) et des vides au milieu. */
.bt-k { margin-bottom: 1.1rem; }
.bt h3, .bt--logs h3, .bt--roles h3, .bt--wl h3, .bt--raid h3 { margin-top: auto; padding-top: 1.1rem; }
.bt-cmds, .bt-btn--tk, .bt-wl, .bt--raid .bt-giant--cmd { margin-top: 0; }
.bt-logs, .bt--logs .bt-logs { margin: 0; }
.bt--raid .bt-prot { margin-top: 1.25rem; }
.bt--lang .bt-giant { margin-top: 0; }
.bt--lang p { margin-top: auto; padding-top: 1rem; }
.bt-ic { flex: none; }
.bt-btn--tk { display: inline-flex; align-items: center; gap: 0.4rem; }
/* Giveaways : même empilement que les autres tuiles */
.bt--gw { flex-direction: column; flex-wrap: nowrap; align-items: stretch; gap: 0; }
.bt--gw .bt-k { flex-basis: auto; }
.bt--gw h3 { flex: none; }
.bt-embed { flex: none; }
.bt-embed b { display: flex; align-items: center; gap: 0.4rem; }
.bt-embed b .bt-ic { color: var(--gold); }
/* Rôles : pastilles de couleur comme dans Discord, plus d'emoji */
.bt-roles { margin: 0; gap: 8px; }
.bt-roles .bt-role { width: max-content; max-width: 100%; padding: 7px 12px 7px 10px; border-radius: 999px; gap: 8px;
  background: rgb(255 255 255 / 0.04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08); }
.bt-roles .bt-role span { width: 12px; height: 12px; border-radius: 50%; font-size: 0; background: var(--c); box-shadow: none; }
.bt-roles .bt-role:first-child { color: var(--text); background: rgb(88 101 242 / 0.16); box-shadow: inset 0 0 0 1px rgb(88 101 242 / 0.45); }
.bt-roles .bt-role:first-child span, .bt-roles .bt-role:nth-child(2) span { background: var(--c); }

/* Compteurs : masqués tant qu'aucun vrai chiffre n'est connu (plus jamais « 0 serveur »). */
.stats-band.is-pending { visibility: hidden; }

/* ── Bandeau partenaires (sous les chiffres du haut de page) ──
   Rangée de serveurs en niveaux de gris, couleur au survol, légende discrète dessous. */
.partners { max-width: 1120px; margin: clamp(1.5rem, 3vw, 2.5rem) auto 0; padding: 0 1.25rem; }
.partners[hidden] { display: none; }
.partners-row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 1.5rem 1rem;
  margin: 0; padding: clamp(1.25rem, 2.5vw, 1.75rem) 0; list-style: none;
  border-top: 1px solid rgb(255 255 255 / 0.07); border-bottom: 1px solid rgb(255 255 255 / 0.07);
}
.partners-row:has(> :nth-child(-n + 4):last-child) { display: flex; justify-content: center; gap: 1.25rem 3.5rem; }
/* Icône au-dessus, nom dessous : les noms longs tiennent sur deux lignes au lieu d'être coupés. */
.partner { display: flex; flex-direction: column; align-items: center; gap: 0.6rem; min-width: 0; width: 9rem; text-align: center; }
.partner img {
  flex: none; width: 48px; height: 48px; border-radius: 30%; object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(1.1); opacity: 0.85; transition: filter 0.3s, opacity 0.3s;
}
.partner:hover img { filter: none; opacity: 1; }
@media (max-width: 640px) {
  /* Une rangée qui défile au doigt, avec un fondu à droite pour montrer la suite. */
  .partners-row { display: flex; flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; gap: 1.5rem;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
  .partners-row::-webkit-scrollbar { display: none; }
  .partner { flex: none; width: 7.5rem; }
}

/* Bouton collant sur téléphone (js/site/sticky-cta.js) */
.sticky-cta { display: none; }
@media (max-width: 640px) {
  .sticky-cta {
    position: fixed; left: 0.75rem; right: 0.75rem; bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px)); z-index: 900;
    display: block; opacity: 0; translate: 0 16px; transition: opacity 0.25s var(--ease-out, ease), translate 0.3s var(--ease-out, ease);
  }
  .sticky-cta[hidden] { display: none; }
  .sticky-cta.is-on { opacity: 1; translate: 0 0; }
  .sticky-cta .btn { width: 100%; min-height: 52px; justify-content: center; gap: 0.6rem; box-shadow: 0 18px 40px -12px rgb(0 0 0 / 0.85); }
}

/* Section Perso sur téléphone : onglets (js/site/perso-demo.js), une brique à la fois à sa vraie hauteur. */
.lego-tabs { display: none; }
@media (max-width: 640px) {
  .lego-tabs:not([hidden]) {
    position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2px; margin-top: 10px; padding: 4px;
    border-radius: 14px; background: rgb(255 255 255 / 0.04); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08);
  }
  .lego-tabs::before {
    content: ""; position: absolute; top: 4px; bottom: 4px; left: 0; width: var(--w, 0); translate: var(--x, 0) 0; border-radius: 10px;
    background: rgb(255 255 255 / 0.1); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12); transition: translate 0.3s var(--ease-out, ease), width 0.3s var(--ease-out, ease);
  }
  .lego-tab {
    position: relative; z-index: 1; min-height: 44px; padding: 0 0.3rem; border: 0; border-radius: 10px; background: none; cursor: pointer;
    color: var(--mist); font: 600 0.82rem/1.1 var(--font); transition: color 0.2s;
  }
  .lego-tab[aria-selected="true"] { color: var(--text); }
  .lego-tab:focus-visible { outline: 2px solid rgb(255 255 255 / 0.5); outline-offset: 1px; }
  .lego.is-tabs > .lg--profile, .lego.is-tabs > .lg--status, .lego.is-tabs > .lg--mode, .lego.is-tabs > .lg--servers { display: none; }
  .lego.is-tabs > .lg.is-tab-active { display: flex; }
  .lego.is-tabs > .lg { border-radius: 22px !important; }
  /* 24/7 : une ligne compacte au lieu d'une grande brique presque vide */
  .lego.is-tabs > .lg--host { order: -1; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 1rem; align-items: center; padding: 1rem 1.2rem; }
  .lego.is-tabs > .lg--host .lg-big { grid-row: 1 / 3; font-size: 2.6rem; }
  .lego.is-tabs > .lg--host h3 { margin-top: 0; }
  .lego.is-tabs > .lg--host p { margin-top: 0.15rem; }
  /* Profil : l'aperçu répète le formulaire, on le garde pour les grands écrans */
  .lego.is-tabs .pm--profile .pv { display: none; }
  .lego.is-tabs .pm--profile { padding-bottom: 2.4rem; }
}

.pc-list { align-content: start; }

/* Cibles tactiles restantes (audit 23/11) : pied de page, langues, boutons des cartes de prix. */
@media (max-width: 900px), (pointer: coarse) {
  .fw-col a:not(.fw-h a) { display: flex; align-items: center; min-height: 44px; line-height: 1.3; }
  .fw-home { display: inline-flex; align-items: center; min-height: 44px; }
  .fw-social a { min-width: 44px; min-height: 44px; }
  .pc-btn { min-height: 46px; display: flex; align-items: center; justify-content: center; }
  .section-more a, .faq-more a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* Barre de défilement discrète, aux couleurs du site (fine, grise, dorée au survol là où c'est possible). */
html { scrollbar-width: thin; scrollbar-color: rgb(255 255 255 / 0.16) transparent; }
html:hover { scrollbar-color: rgb(255 255 255 / 0.24) transparent; }
@supports not (scrollbar-color: auto) {
  ::-webkit-scrollbar { width: 8px; height: 8px; }
  ::-webkit-scrollbar-track { background: transparent; }
  ::-webkit-scrollbar-thumb { border: 2px solid transparent; border-radius: 999px; background: rgb(255 255 255 / 0.16) padding-box; }
  ::-webkit-scrollbar-thumb:hover { background: rgb(var(--gold-rgb) / 0.7) padding-box; }
}

/* Bulle du menu au survol : plus de liseré ni de reflet blancs, juste un fond gris doux (demande du 23/11). */
.hd-lens {
  background: rgb(255 255 255 / 0.07);
  -webkit-backdrop-filter: none; backdrop-filter: none;
  box-shadow: none;
}
.hd-lens::before, .hd-lens::after { display: none; }

/* Métamorphose du mot du hero (js/site/hero-morph.js) */
.hm { display: inline; }
.hm-box {
  position: relative; display: inline-block; vertical-align: bottom; white-space: nowrap;
  transition: width 1s cubic-bezier(0.65, 0, 0.35, 1);
}
.hm-box.is-morphing { filter: url(#hm-goo); }
.hm-sizer { visibility: hidden; white-space: nowrap; }
.hm-sizer::before, .hm-w::before { content: attr(data-w); }
/* Pas d'équilibrage des lignes : sinon le titre se recoupe en deux à chaque changement de mot */
.hero-l2.has-hm { text-wrap: wrap; }
/* Mise en page à deux colonnes : la ligne ne se recoupe jamais, un mot plus long déborde dans la marge vers le téléphone */
.hero-l2.has-hm[data-hm-align="start"] { white-space: nowrap; }
/* Téléphone : toujours « qui garde » / « ton serveur. » sur deux lignes, sinon la hauteur du titre
   changerait selon la longueur du mot et tout le contenu dessous sauterait. */
@media (max-width: 520px) { .hero-l2.has-hm .hm-rest { display: block; } .hero-l2.has-hm { white-space: nowrap; } }
.hm-w {
  position: absolute; left: 0; top: 0; white-space: nowrap; will-change: filter, opacity;
  background: linear-gradient(180deg, #d4d4d8 0%, #71717a 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* Hero centré : le mot reste centré dans sa boîte pendant que la largeur change (data-align posé par le JS) */
.hm-box[data-align="center"] .hm-w { left: 50%; translate: -50% 0; }

/* ── Texte en dégradé (background-clip: text) : la fin des lettres n'est plus coupée (23/11) ──
   Avec un interlettrage serré, le bout de la dernière lettre (et le bas des g, p, q) dépasse de la
   boîte du texte ; or le dégradé n'est peint que dans cette boîte → morceau de lettre invisible.
   On agrandit la boîte de peinture (padding) sans décaler la mise en page (marge négative). */
.hero-l2, .pz-num, .bt-giant, .section-head h2, .faq-title, .final h2 {
  padding-right: 0.14em; padding-bottom: 0.1em; margin-bottom: -0.1em;
}
.section-head h2, .faq-title, .final h2 { padding-left: 0.14em; padding-right: 0.14em; }
.hm-w, .hm-sizer { padding-right: 0.14em; padding-bottom: 0.12em; }
.hm-box { margin-right: -0.14em; }

/* ── Identité « tableau à craie » (js/site/chalk.js) ─────────────────────────────────────────── */
.chalk { position: absolute; z-index: 0; overflow: visible; pointer-events: none; }
.hm { position: relative; display: inline-block; }
.chalk--word { left: 0; bottom: -0.2em; }
.chalk--spark { translate: -50% -50%; }
/* Poussière qui tombe au bout du trait (chalk.js) */
.chalk-dust { position: absolute; z-index: 0; border-radius: 50%; background: #f7f6f1; pointer-events: none; }
/* Traces d'effaceur : quelques passages de chiffon très légers sur le « tableau », fixes derrière la page */
.home main, .lp--seo { position: relative; isolation: isolate; }
.home main::before, .lp--seo::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.55;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='900' height='520' viewBox='0 0 900 520'><filter id='e' x='-20%25' y='-50%25' width='140%25' height='200%25'><feTurbulence type='fractalNoise' baseFrequency='0.012 0.09' numOctaves='3' seed='4'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.9 -0.36'/><feComposite in2='SourceGraphic' operator='in'/><feGaussianBlur stdDeviation='6'/></filter><g filter='url(%23e)' fill='white'><path d='M60 300 C 200 230, 420 250, 600 210 S 840 230, 860 260 L 850 330 C 700 300, 470 330, 300 360 S 90 390, 70 370 Z' opacity='0.16'/></g></svg>") 8% 14% / min(900px, 70vw) auto no-repeat,
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='760' height='420' viewBox='0 0 760 420'><filter id='e' x='-20%25' y='-50%25' width='140%25' height='200%25'><feTurbulence type='fractalNoise' baseFrequency='0.015 0.1' numOctaves='3' seed='9'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.9 -0.36'/><feComposite in2='SourceGraphic' operator='in'/><feGaussianBlur stdDeviation='5'/></filter><g filter='url(%23e)' fill='white'><path d='M40 220 C 180 160, 380 190, 560 150 S 730 170, 720 200 L 700 260 C 560 240, 380 270, 220 290 S 60 300, 50 280 Z' opacity='0.14'/></g></svg>") 96% 52% / min(760px, 60vw) auto no-repeat,
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='800' height='420' viewBox='0 0 800 420'><filter id='e' x='-20%25' y='-50%25' width='140%25' height='200%25'><feTurbulence type='fractalNoise' baseFrequency='0.013 0.08' numOctaves='3' seed='2'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.9 -0.36'/><feComposite in2='SourceGraphic' operator='in'/><feGaussianBlur stdDeviation='6'/></filter><g filter='url(%23e)' fill='white'><path d='M80 200 C 260 140, 470 180, 640 140 S 780 170, 760 210 L 740 270 C 590 250, 400 280, 250 300 S 100 310, 90 290 Z' opacity='0.15'/></g></svg>") 4% 86% / min(800px, 65vw) auto no-repeat;
}
@media (max-width: 640px) { .home main::before, .lp--seo::before { opacity: 0.4; } }
/* Les titres à souligné de craie gardent de la place dessous : leur masque coupe ce qui sort de la boîte */
.section-head h2.has-chalk, .faq-title.has-chalk { padding-bottom: 0.32em; margin-bottom: -0.32em; }
.section-head h2.has-chalk + p { margin-top: 1.4rem; }

/* ── Démo Discord + grille des fonctionnalités : un seul tableau à cases (23/11) ──────────────────
   Inspiré de framer.com/stories : un grand cadre arrondi, des cases collées séparées par des filets
   de 1 px (le fond du cadre fait office de trait : gap 1 px). En haut, les commandes à gauche et la
   fenêtre Discord à droite ; dessous, les tuiles. */
.board {
  --cell: linear-gradient(180deg, #161619, #121214);
  --line: rgb(255 255 255 / 0.085);
  max-width: min(1200px, 100%); margin: clamp(3rem, 6vw, 4.5rem) auto 0;
  display: grid; gap: 1px; padding: 1px; border-radius: 28px; overflow: hidden; background: var(--line);
  box-shadow: 0 40px 90px -40px rgb(0 0 0 / 0.8);
}
.board > .dc-wrap { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 1px; background: var(--line); }
.board .dc-tabs {
  flex-direction: column; flex-wrap: nowrap; justify-content: flex-start; align-items: stretch; gap: 4px;
  margin: 0; padding: 22px 16px; border-radius: 0; box-shadow: none; background: var(--cell);
}
.board .dc-tab { width: 100%; justify-content: space-between; height: auto; min-height: 52px; padding: 0 14px; border-radius: 12px; flex-direction: row-reverse; }
.board .dc-tab .dc-tab-cmd { display: inline; }
.board .dc-tab[aria-selected="true"] { background: rgb(255 255 255 / 0.07); box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.08); }
.board .dc-tab::after { left: 14px; right: 14px; bottom: 6px; }
.board .dc-stage { padding: 26px; background: var(--cell); }
.board .dc-stage::before { display: none; }
.board .dc-stage.fx-tilt { transform: none !important; opacity: 1 !important; }
/* La fenêtre Discord est plus étroite dans sa case : on retire la liste des membres */
.board .dc-app { grid-template-columns: 72px 224px minmax(0, 1fr); height: 600px; }
.board .dc-members { display: none; }
/* Les tuiles deviennent des cases collées */
.board > .bento { margin: 0; max-width: none; gap: 1px; background: var(--line); }
.board .bt { --r: 26px; border-radius: 0; box-shadow: none; background: var(--cell); transition: background-color 0.25s; }
.board a.bt:hover, .board a.bt:focus-visible { box-shadow: none; background: linear-gradient(180deg, #1b1b1f, #151518); }
@media (max-width: 1100px) {
  .board .dc-app { grid-template-columns: 72px minmax(0, 1fr); }
  .board .dc-side { display: none; }
}
@media (max-width: 900px) {
  .board > .dc-wrap { grid-template-columns: minmax(0, 1fr); }
  .board .dc-tabs { flex-direction: row; overflow-x: auto; padding: 10px; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 40px), transparent); }
  .board .dc-tab { width: auto; flex: none; flex-direction: row; min-height: 44px; }
  .board .dc-tab .dc-tab-cmd { display: none; }
  .board .dc-stage { padding: 14px; }
  .board .dc-app { grid-template-columns: minmax(0, 1fr); height: 540px; }
  .board .dc-rail { display: none; }
}
@media (max-width: 640px) {
  .board { border-radius: 22px; margin-inline: -0.25rem; max-width: calc(100% + 0.5rem); }
  .board .bt { --r: 20px; }
  .board .dc-stage { padding: 0; }
  .board .dc-app { border-radius: 0; box-shadow: none; }
}
/* Colonne de gauche : commandes en haut, légende en bas (remplit la case comme sur Framer) */
.dc-note { display: none; }
.board > .dc-wrap { grid-template-rows: auto minmax(0, 1fr); }
.board .dc-tabs { grid-column: 1; grid-row: 1; }
.board .dc-stage { grid-column: 2; grid-row: 1 / 3; }
.board .dc-note {
  grid-column: 1; grid-row: 2; display: flex; align-items: flex-end; gap: 0.6rem; margin: 0; padding: 0 22px 24px;
  background: var(--cell); color: var(--mist-2); font-size: 0.84rem; line-height: 1.5;
}
.dc-note-dot { flex: none; width: 8px; height: 8px; margin-bottom: 0.4em; border-radius: 50%; background: #23a559; box-shadow: 0 0 0 4px rgb(35 165 89 / 0.16); }
@media (max-width: 900px) {
  .board > .dc-wrap { grid-template-rows: none; }
  .board .dc-tabs, .board .dc-stage { grid-column: 1; grid-row: auto; }
  .board .dc-note { display: none; }
}

/* Corrections de la passe visuelle (23/11) */
@media (max-width: 380px) {
  .lego-tab { font-size: 0.72rem; padding: 0 0.15rem; letter-spacing: -0.01em; }
}
.lego-tab { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 640px) {
  /* Étoiles de craie : une seule, dans le coin, pour ne jamais toucher le titre */
  .final-card .chalk--spark ~ .chalk--spark { display: none; }
  .final-card .chalk--spark { left: 9% !important; top: 7% !important; }
}

/* Héros épinglé : la barre de navigation est collante mais occupe sa place ; sans ce décalage,
   la scène (haute d'un écran) commençait 74 px trop bas → vide au-dessus du titre et boutons
   coupés en bas sur les écrans peu hauts (portables, zoom Windows 125 %). --hd-h : hero-morph.js */
html[data-motion-policy="ok"] .hero-pin { margin-top: calc(-1 * var(--hd-h, 74px)); }
html[data-motion-policy="ok"] .hero-pin > .hero { padding-top: calc(var(--hd-h, 74px) + 8px); }
@media (max-width: 1023px) {
  html[data-motion-policy="ok"] .hero-pin > .hero { padding-top: calc(var(--hd-h, 64px) + clamp(24px, 6vh, 60px)); }
  .hero-words { inset: calc(var(--hd-h, 64px) + clamp(24px, 6vh, 60px)) 6vw auto; }
}
/* Écrans peu hauts (≤ 760 px) en deux colonnes : textes un peu plus serrés pour tout garder visible */
@media (min-width: 1024px) and (max-height: 760px) {
  .hero-title { font-size: clamp(2.6rem, 8.6svh, 5.4rem); }
  .hero-lead { margin-top: 1rem; font-size: clamp(1rem, 2.4svh, 1.25rem); }
  .hero-cta { margin-top: 1.4rem; }
}
@media (max-width: 1023px) {
  /* Le téléphone se cale sous les boutons (--ph-top calculé par hero-morph.js) au lieu d'un « bottom » fixe */
  html[data-motion-policy="ok"] .hero-pin .hero[style*="--ph-top"] .hero-phone { top: var(--ph-top); bottom: auto; }
}

/* Connecté à l'espace client : « Mon compte » devient la photo de profil (js/site/account.js) */
.hd-account.is-user { width: 38px; padding: 0; justify-content: center; }
.hd-account.is-user:hover { background: none; }
.acct-ava { display: block; width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: rgb(255 255 255 / 0.08);
  box-shadow: 0 0 0 1px rgb(255 255 255 / 0.18), 0 0 0 3px rgb(255 255 255 / 0); transition: box-shadow 0.2s ease, transform 0.2s var(--ease, ease); }
.hd-account.is-user:hover .acct-ava, .hd-account.is-user:focus-visible .acct-ava { box-shadow: 0 0 0 1px rgb(255 255 255 / 0.35), 0 0 0 4px rgb(255 255 255 / 0.08); transform: scale(1.04); }
.sheet-actions a.is-user { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; }
.sheet-actions a.is-user .acct-ava { width: 24px; height: 24px; }

/* ══ Liquid Glass façon iOS 26, version finale ═══════════════════════════════════════════
   Ce qui fait le vrai rendu Apple, et rien d'autre :
   1. réfraction : le bord bombé courbe ce qui passe dessous (filtre SVG, Chrome/Edge) ;
   2. très léger flou + saturation : le fond reste lisible mais « vit » dans le verre ;
   3. un liseré d'un demi-pixel, une ombre portée sombre et douce.
   Aucune lueur blanche : plus de reflet radial, plus d'ombre interne blanche, plus de halo. */
:root {
  --lg-tint: rgb(20 20 24 / 0.30);
  --lg-edge: inset 0 0 0 0.5px rgb(255 255 255 / 0.13);
  --lg-drop: 0 1px 2px rgb(0 0 0 / 0.28), 0 12px 32px -14px rgb(0 0 0 / 0.62);
  --lg-fx: blur(1.5px) saturate(185%) brightness(1.04);
  --lg-fx-fallback: blur(16px) saturate(180%) brightness(1.02);
}

/* Plus aucun reflet dessiné par-dessus le verre */
.glass::before, .glass::after,
.hd-bar.glass::before, .hd-bar.glass::after,
.hd-bar.glass.lg-on::before, .hd-bar.glass.lg-on::after,
.pc-thumb.is-lens::before { display: none !important; }

/* Base : sans réfraction disponible (Safari, Firefox), verre dépoli classique */
.glass {
  background: var(--lg-tint);
  border: 0;
  box-shadow: var(--lg-edge), var(--lg-drop);
  -webkit-backdrop-filter: var(--lg-fx-fallback);
  backdrop-filter: var(--lg-fx-fallback);
}

/* Barre de navigation */
.hd-bar.glass, .hd-bar.glass.lg-on {
  background: var(--lg-tint);
  box-shadow: var(--lg-edge), var(--lg-drop);
  -webkit-backdrop-filter: var(--lg-fx-fallback);
  backdrop-filter: var(--lg-fx-fallback);
}
.hd-bar.glass.lg-on { backdrop-filter: url(#lg-refract) var(--lg-fx); }

/* Lentille de sélection du menu */
.hd-lens {
  background: rgb(255 255 255 / 0.06);
  box-shadow: var(--lg-edge), 0 6px 16px -8px rgb(0 0 0 / 0.55);
  -webkit-backdrop-filter: saturate(185%) brightness(1.1);
  backdrop-filter: saturate(185%) brightness(1.1);
}
.hd-lens.lg-on { backdrop-filter: var(--lg-url) saturate(185%) brightness(1.1); }

/* Boutons de verre */
.btn-glass {
  background: rgb(255 255 255 / 0.06);
  box-shadow: var(--lg-edge), var(--lg-drop);
  -webkit-backdrop-filter: var(--lg-fx-fallback);
  backdrop-filter: var(--lg-fx-fallback);
}
.btn-glass.lg-on { backdrop-filter: var(--lg-url) var(--lg-fx); }
@media (hover: hover) and (pointer: fine) {
  .btn-glass:hover { background: rgb(255 255 255 / 0.1); }
}
.btn-glass:active { transform: scale(0.97); }

/* Pastille du sélecteur de durée */
.pc-thumb, .pc-thumb.is-lens {
  background: rgb(255 255 255 / 0.06);
  box-shadow: var(--lg-edge), 0 6px 16px -8px rgb(0 0 0 / 0.6);
}

/* Carte finale : même verre, sans halo en haut à gauche */
.final-card.glass {
  background: rgb(22 22 26 / 0.42);
  box-shadow: var(--lg-edge), 0 40px 80px -40px rgb(0 0 0 / 0.8);
}
/* Pas de backdrop-filter ici : derrière, le fond est mat (rien à flouter ni à réfracter) et le filtre
   coûtait une passe GPU complète à chaque image du défilement. Teinte un peu plus dense à la place. */
.final-card.glass, .final-card.glass.lg-on { background: rgb(24 24 28 / 0.6); -webkit-backdrop-filter: none; backdrop-filter: none; }
.final .btn-glass, .final .btn-glass.lg-on { -webkit-backdrop-filter: none; backdrop-filter: none; }

/* Méga-menus et menu mobile : panneaux opaques, seulement le liseré et l'ombre */
.mega.glass { box-shadow: var(--lg-edge), 0 30px 60px -20px rgb(0 0 0 / 0.75), 0 8px 18px -8px rgb(0 0 0 / 0.5); }

/* Bulles mobiles de la barre */
@media (max-width: 680px) {
  .hd-logo, .hd-burger,
  .lg-bubbles .hd-logo, .lg-bubbles .hd-burger {
    background: var(--lg-tint);
    background-image: none;
    box-shadow: var(--lg-edge), var(--lg-drop);
  }
  .lg-bubbles .hd-logo, .lg-bubbles .hd-burger {
    backdrop-filter: url(#lg-bubble) var(--lg-fx);
  }
}

/* Bandeau cookies : le même verre au lieu d'un panneau noir plein */
.cookie-banner-inner {
  background: rgb(16 16 19 / 0.72) !important;
  border: 0 !important;
  box-shadow: var(--lg-edge), 0 24px 64px -20px rgb(0 0 0 / 0.7) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-radius: 24px !important;
}

@media (prefers-reduced-transparency: reduce) {
  .glass, .hd-bar.glass, .btn-glass, .cookie-banner-inner { background: rgb(22 22 26 / 0.96) !important; backdrop-filter: none !important; }
}

/* Pied de page : logo à une taille lisible */
.fw-logo img { width: 36px; height: 36px; }

/* ══ Barre de défilement flottante ════════════════════════════════════════════════════ */
.ubs {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 90; width: 16px;
  opacity: 0; transition: opacity 0.35s ease;
}
.ubs.is-on, .ubs:hover, .ubs.is-drag { opacity: 1; }
.ubs.is-none { display: none; }
.ubs-thumb {
  position: absolute; top: 0; right: 4px; width: 5px; min-height: 36px; border-radius: 99px;
  background: rgb(255 255 255 / 0.34);
  box-shadow: 0 0 0 0.5px rgb(0 0 0 / 0.35);
  -webkit-backdrop-filter: blur(6px) saturate(160%); backdrop-filter: blur(6px) saturate(160%);
  cursor: grab; will-change: transform;
  transition: width 0.2s cubic-bezier(.2,.8,.2,1), right 0.2s cubic-bezier(.2,.8,.2,1), background-color 0.2s ease;
}
.ubs:hover .ubs-thumb, .ubs.is-drag .ubs-thumb { width: 8px; right: 4px; background: rgb(255 255 255 / 0.5); }
.ubs.is-drag .ubs-thumb { cursor: grabbing; background: rgb(255 255 255 / 0.62); }
html.ubs-dragging, html.ubs-dragging * { user-select: none !important; cursor: grabbing !important; }
html.is-sheet-open .ubs { display: none; }

/* ══ Arrivée sur le site (accueil, une fois par session, js/site/intro.js), v2 du 30/11 ══════════
   1. Attente : le logo apparaît au centre, un reflet le traverse, une fine barre suit le vrai
      chargement (polices + page dessinée). Rien n'est simulé : la barre finit quand la page est prête.
   2. Ouverture : le fond remonte comme un store (clip-path) ; le logo s'envole jusqu'à sa place
      dans la barre de navigation ; chaque bloc du héros apparaît au moment où le fond le découvre
      (délais calculés par intro.js selon la position réelle de chaque bloc à l'écran).
   Performances : transform, opacity et clip-path seulement (carte graphique). Aucun flou, rien
   n'est appliqué à toute la page, une seule mesure de mise en page au départ.
   Un clic, une touche, la molette ou un toucher : on saute directement à la fin. */
.ubi { display: none; }
html.ub-intro .ubi {
  position: fixed; inset: 0; z-index: 10000; display: block; pointer-events: auto; contain: strict;
}
html.ub-intro .ubi.is-open { pointer-events: none; }

/* Fond : même teinte que la page, il remonte en laissant un bord arrondi */
.ubi-veil {
  position: absolute; inset: 0; background: var(--night);
  clip-path: inset(0 0 0 0 round 0);
}
.ubi.is-open .ubi-veil {
  clip-path: inset(0 0 100% 0 round 0 0 56px 56px);
  transition: clip-path 820ms var(--ease-in-out) 100ms;
}

/* Logo : posé au centre, hors du fond (le store ne le coupe pas pendant son vol) */
.ubi-mark {
  position: absolute; left: 50%; top: 50%; width: 96px; height: 96px; margin: -60px 0 0 -48px;
  animation: ubi-mark-in 620ms var(--ease-out) 60ms both;
}
.ubi-mark img { display: block; width: 100%; height: 100%; }
/* Reflet : une bande claire traverse le logo une fois (découpée à la forme du logo) */
.ubi-mark::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  -webkit-mask: url("/assets/brand/logo-u-256.webp?v=20261115logo") center / contain no-repeat;
  mask: url("/assets/brand/logo-u-256.webp?v=20261115logo") center / contain no-repeat;
  background: linear-gradient(105deg, transparent 35%, rgb(255 255 255 / 0.85) 50%, transparent 65%) no-repeat;
  background-size: 300% 100%; background-position: 100% 0;
  animation: ubi-shine 1100ms var(--ease-in-out) 420ms both;
}
@keyframes ubi-mark-in {
  from { opacity: 0; transform: translate3d(0, 10px, 0) scale(0.94); }
}
@keyframes ubi-shine {
  from { background-position: 100% 0; }
  to { background-position: 0% 0; }
}

/* Barre de chargement : progresse jusqu'à 80 % en attendant, intro.js la termine quand tout est prêt */
.ubi-track {
  position: absolute; left: 50%; top: calc(50% + 58px); width: 132px; height: 2px; margin-left: -66px;
  border-radius: 2px; background: rgb(255 255 255 / 0.1); overflow: hidden;
  animation: ubi-fade-in 400ms var(--ease-out) 260ms both;
}
.ubi-track > i {
  position: absolute; inset: 0; border-radius: inherit; background: rgb(255 255 255 / 0.78);
  transform-origin: 0 50%; transform: scaleX(0.8);
  animation: ubi-load 1400ms var(--ease-out) 260ms both;
}
@keyframes ubi-load { from { transform: scaleX(0); } }
@keyframes ubi-fade-in { from { opacity: 0; } }
.ubi.is-ready .ubi-track > i { animation: none; transform: scaleX(1); transition: transform 180ms var(--ease-out); }
.ubi.is-open .ubi-track { opacity: 0; transition: opacity 200ms var(--ease-out) 60ms; }

/* ── Héros et barre de navigation : cachés pendant l'attente, révélés au passage du fond ── */
html.ub-intro .hero-l1, html.ub-intro .hero-l2 {
  clip-path: inset(0 -0.2em 100% -0.2em); translate: 0 0.55em;
}
html.ub-intro .hero-lead, html.ub-intro .hero-cta { opacity: 0; translate: 0 18px; }
html.ub-intro .hd-bar { opacity: 0; scale: 0.97; }
html.ub-intro .hd-logo img { opacity: 0; }
html.ub-intro:not(.ub-intro-reveal) .hero-phone { animation-play-state: paused; }

/* Titre : chaque ligne sort d'une fente (masque + glissement) */
html.ub-intro.ub-intro-reveal .hero-l1, html.ub-intro.ub-intro-reveal .hero-l2 {
  clip-path: inset(-0.25em -0.2em -0.3em -0.2em); translate: 0 0;
  transition: clip-path 760ms var(--ease-out) var(--ubi-d, 0ms), translate 760ms var(--ease-out) var(--ubi-d, 0ms);
}
html.ub-intro.ub-intro-reveal .hero-lead, html.ub-intro.ub-intro-reveal .hero-cta {
  opacity: 1; translate: 0 0;
  transition: opacity 560ms var(--ease-out) var(--ubi-d, 0ms), translate 640ms var(--ease-out) var(--ubi-d, 0ms);
}
html.ub-intro.ub-intro-reveal .hd-bar {
  opacity: 1; scale: 1;
  transition: opacity 420ms var(--ease-out) var(--ubi-d, 0ms), scale 520ms var(--ease-out) var(--ubi-d, 0ms);
}
html.ub-intro.ub-intro-reveal .hero-phone { animation-delay: var(--ubi-d, 250ms); }
/* Le logo de la barre réapparaît pile quand le logo volant s'y pose (intro.js) */
html.ub-intro .hd-logo.is-landed img { opacity: 1; }

/* Saut (clic, touche…) : tout se place à l'état final, sans attendre */
html.ub-intro-skip .ubi { display: none !important; }
html.ub-intro-skip .hero-l1, html.ub-intro-skip .hero-l2, html.ub-intro-skip .hero-lead,
html.ub-intro-skip .hero-cta, html.ub-intro-skip .hd-bar, html.ub-intro-skip .hd-logo img {
  transition: none !important;
}

/* Le bandeau cookies attend la fin de l'intro, puis apparaît en douceur */
html.ub-intro:has(#ub-intro) .cookie-banner { visibility: hidden; opacity: 0; }
html.ub-intro.ub-intro-reveal:has(#ub-intro) .cookie-banner { visibility: visible; opacity: 1; transition: opacity 0.5s 1.15s ease; }

/* ══ Bandeau partenaires : défilement continu, sans séparateurs, nom en info-bulle ══════ */
.partners { max-width: 1120px; }
.partners-marquee {
  position: relative;
  overflow-x: clip; overflow-y: visible;
  padding: 3.4rem 0 0.4rem; /* place pour l'info-bulle au-dessus des icônes */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.partners-row,
.partners-row:has(> :nth-child(-n + 4):last-child) {
  display: flex; flex-wrap: nowrap; justify-content: center; align-items: center;
  gap: 0; margin: 0; padding: 0; list-style: none;
  border: 0; overflow: visible; -webkit-mask-image: none; mask-image: none;
}
.partners-track { display: flex; width: max-content; will-change: transform; }
.partners.is-looping .partners-row { justify-content: flex-start; flex: none; }
.partners.is-looping .partners-track { animation: partnersLoop var(--dur, 40s) linear infinite; }
@keyframes partnersLoop { to { transform: translate3d(calc(-1 * var(--loop, 0px)), 0, 0); } }

/* Chaque serveur : l'icône seule. Espacement porté par l'élément (pas par gap), pour que
   la largeur d'une copie soit exactement le pas de la boucle. */
.partner {
  position: relative; flex: none; width: auto; display: grid; place-items: center;
  padding: 0 1.35rem; outline: none;
}
.partner img {
  width: 48px; height: 48px; border-radius: 30%; object-fit: cover;
  filter: grayscale(1) contrast(1.05) brightness(1.05); opacity: 0.75;
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.35s cubic-bezier(.34, 1.56, .64, 1);
}
.partner:hover img, .partner:focus-visible img { filter: none; opacity: 1; transform: scale(1.08); }
.partner:focus-visible img { box-shadow: 0 0 0 2px rgb(255 255 255 / 0.5); }

/* Info-bulle : nom + membres, au-dessus de l'icône */
.partner-tip {
  position: absolute; left: 50%; bottom: calc(100% + 10px); z-index: 2;
  display: grid; gap: 2px; justify-items: center; white-space: nowrap;
  padding: 0.5rem 0.75rem; border-radius: 12px;
  background: rgb(22 22 26 / 0.92);
  box-shadow: inset 0 0 0 0.5px rgb(255 255 255 / 0.13), 0 10px 24px -8px rgb(0 0 0 / 0.7);
  -webkit-backdrop-filter: blur(12px) saturate(170%); backdrop-filter: blur(12px) saturate(170%);
  opacity: 0; transform: translate(-50%, 6px) scale(0.96); transform-origin: 50% 100%;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.22s cubic-bezier(.2, .8, .2, 1);
}
.partner-tip strong { color: #ececee; font: 600 0.85rem/1.2 var(--font); max-width: 16rem; overflow: hidden; text-overflow: ellipsis; }
.partner-tip span { color: var(--mist-2); font: 500 0.7rem/1.2 var(--font-mono); letter-spacing: 0.04em; }
.partner:hover .partner-tip, .partner:focus-visible .partner-tip { opacity: 1; transform: translate(-50%, 0) scale(1); }

@media (max-width: 640px) {
  .partners-marquee { padding-top: 3.2rem; }
  .partner { padding: 0 1rem; }
  .partner img { width: 42px; height: 42px; }
}
/* Moins d'animations : pas de défilement, les icônes sont centrées sur plusieurs lignes */
html[data-motion-policy="reduce"] .partners-row { flex-wrap: wrap; row-gap: 1rem; }
html[data-motion-policy="reduce"] .partners-marquee { -webkit-mask-image: none; mask-image: none; }
/* Largeurs en pixels entiers : la boucle retombe exactement au même pixel, sans saut */
.partner { padding: 0 22px; }
@media (max-width: 640px) { .partner { padding: 0 16px; } }
/* Photos des serveurs rondes */
.partner img { border-radius: 50%; }
/* Seconde rangée : même bandeau, dans l'autre sens, juste en dessous */
.partners-marquee--reverse { padding-top: 1.1rem; }
.partners.is-looping .partners-marquee--reverse .partners-track { animation-direction: reverse; }
.partners-marquee--reverse .partner-tip { z-index: 3; }

/* ══ Barre mobile (≤ 680 px) : la même pilule de verre qu'en grand écran, en compact ══════
   Avant : la barre se défaisait en bulles séparées, avec un contour fantôme sur les côtés. */
@media (max-width: 680px) {
  .hd { padding: 10px 12px 0; }
  html .hd-bar.glass, html .hd-bar.glass.lg-on {
    height: 56px; padding: 0 7px 0 12px; gap: 0.5rem; border-radius: 999px;
    background: var(--lg-tint);
    box-shadow: var(--lg-edge), var(--lg-drop);
    -webkit-backdrop-filter: var(--lg-fx-fallback); backdrop-filter: var(--lg-fx-fallback);
  }
  html .hd-bar.glass.lg-on { backdrop-filter: url(#lg-refract) var(--lg-fx); }
  html .hd-bar .hd-wordmark { display: inline; font-size: 1.12rem; }
  html .hd-bar .hd-logo, html.lg-bubbles .hd-bar .hd-logo {
    width: auto; height: auto; display: inline-flex; padding: 0; border-radius: 0;
    background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  html .hd-bar .hd-logo img { width: 40px; height: 40px; margin: -6px; filter: none; }
  html .hd-bar .hd-burger, html.lg-bubbles .hd-bar .hd-burger {
    width: 42px; height: 42px; border-radius: 50%;
    background: rgb(255 255 255 / 0.07); background-image: none;
    box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none;
  }
  html .hd-bar .hd-burger svg { width: 20px; height: 20px; }
  html .hd-bar .hd-logo:active, html .hd-bar .hd-burger:active { transform: scale(0.94); }
}

/* ══ Menu mobile : panneau de verre sous la barre, listes groupées façon réglages iOS ══════ */
.hd-sheet.glass {
  position: fixed; inset: 0; z-index: 1; width: auto; height: 100vh; height: 100dvh; max-height: none; margin: 0;
  display: block; border: 0; border-radius: 0;
  padding: calc(78px + env(safe-area-inset-top)) 12px calc(14px + env(safe-area-inset-bottom));
  overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain;
  background: rgb(4 4 6 / 0.5) !important; box-shadow: none;
  -webkit-backdrop-filter: blur(8px) saturate(120%); backdrop-filter: blur(8px) saturate(120%);
  animation: sheetFade 0.22s ease;
}
@keyframes sheetFade { from { opacity: 0; } }
.sheet-card {
  width: 100%; max-width: 520px; margin: 0 auto; padding: 8px; display: grid; gap: 8px;
  border-radius: 26px;
  background: rgb(20 20 24 / 0.9);
  box-shadow: var(--lg-edge), 0 30px 70px -22px rgb(0 0 0 / 0.85);
  -webkit-backdrop-filter: blur(26px) saturate(180%); backdrop-filter: blur(26px) saturate(180%);
  transform-origin: 50% 0;
  animation: sheetDrop 0.42s cubic-bezier(.2, .9, .25, 1.04);
}
@keyframes sheetDrop { from { opacity: 0; transform: translateY(-10px) scale(0.96); } }

/* Groupes : cartes arrondies, titre discret en casse normale */
.hd-sheet .sheet-group {
  display: grid; gap: 0; padding: 4px; border-radius: 18px;
  background: rgb(255 255 255 / 0.035);
  animation: sheet-item 0.42s var(--ease) both; animation-delay: calc(var(--d, 0) * 45ms + 60ms);
}
.hd-sheet .sheet-title {
  padding: 8px 10px 6px; color: var(--mist-2);
  font: 500 0.76rem/1 var(--font); letter-spacing: 0; text-transform: none;
}
.hd-sheet .sheet-group a {
  position: relative; display: flex; align-items: center; justify-content: flex-start; gap: 12px; min-width: 0;
  padding: 9px 10px; border: 0; border-radius: 13px; color: var(--text); text-decoration: none;
  font: 500 1rem/1.25 var(--font); letter-spacing: 0;
  transition: background-color 0.15s ease;
}
.hd-sheet .sheet-group a::after { display: none; }
/* Séparateur fin, aligné sur le texte (pas sous l'icône) */
.hd-sheet .sheet-group:not(.sheet-group--row) a + a::before {
  content: ""; position: absolute; top: 0; left: 54px; right: 10px; height: 1px; background: rgb(255 255 255 / 0.06);
}
.hd-sheet .sheet-group a:active, .hd-sheet .sheet-group a:hover { background: rgb(255 255 255 / 0.06); }
.hd-sheet .sheet-group a:active + a::before, .hd-sheet .sheet-group a:hover + a::before { opacity: 0; }
.sheet-label { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sheet-chev { flex: none; color: var(--mist-2); transition: transform 0.2s ease, color 0.2s ease; }
.hd-sheet .sheet-group a:hover .sheet-chev { color: var(--text); transform: translateX(2px); }

/* Raccourcis : grille 2 × 2 de tuiles */
.hd-sheet .sheet-group--row { grid-template-columns: 1fr 1fr; gap: 6px; padding: 0; background: none; }
.hd-sheet .sheet-group--row a {
  justify-content: flex-start; gap: 10px; padding: 10px; border-radius: 16px;
  background: rgb(255 255 255 / 0.035); box-shadow: none;
  font: 500 0.95rem/1.2 var(--font);
}
.hd-sheet .sheet-group--row .sheet-chev { display: none; }
.hd-sheet .sheet-group--row .ext-ic { margin-left: auto; }

/* Actions */
.hd-sheet .sheet-actions {
  margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 2px 0 0;
  animation: sheet-item 0.42s var(--ease) both; animation-delay: 200ms;
}
.hd-sheet .sheet-actions .btn { min-height: 50px; width: 100%; font-size: 0.98rem; }
@media (max-width: 360px) { .hd-sheet .sheet-actions { grid-template-columns: 1fr; } }

/* ══ Chiffres en direct : tableau de bord « registre » ═══════════════════════════════════
   À gauche : badge En direct, titre, barre du prochain relevé (15 s).
   À droite : trois lignes numérotées, libellé + précision, très grand compteur mécanique,
   et l'écart réel depuis le relevé précédent qui apparaît un instant (« +3 »). */
@keyframes sbPing { 0% { transform: scale(0.5); opacity: 0.8; } 80%, 100% { transform: scale(1.9); opacity: 0; } }
.sb-sub { color: var(--mist); font-size: 1rem; line-height: 1.5; max-width: 24rem; }
@keyframes sbRefresh { to { transform: scaleX(1); } }

/* Écart depuis le relevé précédent */
.sb-delta {
  position: absolute; right: 0; top: 0.55rem;
  padding: 0.15rem 0.45rem; border-radius: 6px;
  color: #9be8b6; background: rgb(62 207 114 / 0.12);
  font: 600 0.72rem/1.2 var(--font-mono); font-variant-numeric: tabular-nums;
  opacity: 0; transform: translateY(4px); pointer-events: none;
  transition: opacity 0.3s ease, transform 0.35s cubic-bezier(.2, .8, .2, 1);
}
@keyframes sbFlash { 0% { color: #c9f2d7; } 100% { color: #f2f2f3; } }

@media (max-width: 900px) {
  .sb-sub { font-size: 0.95rem; }
}
/* Lien « Aller au contenu » : seulement pour la navigation au clavier (Tab), jamais au clic */
.skip-link:focus:not(:focus-visible) { top: -100px; }

/* ══ Menu mobile v2 : cinq grands liens, rien d'autre ═══════════════════════════════════ */
.sheet-links { display: grid; padding: 4px 6px; animation: sheet-item 0.42s var(--ease) both; animation-delay: 60ms; }
.hd-sheet a.sheet-big {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1rem 0.6rem; border-radius: 14px; color: var(--text); text-decoration: none;
  font: 700 clamp(1.55rem, 7vw, 1.9rem)/1.1 var(--font-display); letter-spacing: -0.035em;
  transition: background-color 0.15s ease;
}
.hd-sheet a.sheet-big + a.sheet-big::before {
  content: ""; position: absolute; top: 0; left: 0.6rem; right: 0.6rem; height: 1px; background: rgb(255 255 255 / 0.07);
}
.hd-sheet a.sheet-big:hover, .hd-sheet a.sheet-big:active { background: rgb(255 255 255 / 0.05); }
.hd-sheet a.sheet-big:hover::before, .hd-sheet a.sheet-big:hover + a.sheet-big::before,
.hd-sheet a.sheet-big:active::before, .hd-sheet a.sheet-big:active + a.sheet-big::before { opacity: 0; }
.hd-sheet a.sheet-big .sheet-chev { width: 18px; height: 18px; color: var(--mist-2); transition: transform 0.2s ease, color 0.2s ease; }
.hd-sheet a.sheet-big:hover .sheet-chev { color: var(--text); transform: translateX(3px); }
.hd-sheet a.sheet-big .ext-ic { width: 13px; height: 13px; opacity: 0.6; margin-right: 3px; }
/* Animation d'entrée : les liens arrivent l'un après l'autre */
.hd-sheet a.sheet-big { animation: sheet-item 0.4s var(--ease) both; }
.hd-sheet a.sheet-big:nth-child(2) { animation-delay: 40ms; }
.hd-sheet a.sheet-big:nth-child(3) { animation-delay: 80ms; }
.hd-sheet a.sheet-big:nth-child(4) { animation-delay: 120ms; }
.hd-sheet a.sheet-big:nth-child(5) { animation-delay: 160ms; }

/* ══ Chiffres en direct v2 : trois grands chiffres, une flèche qui monte derrière chacun ══ */
.stats-band.sb2 { width: var(--shell); max-width: 1080px; margin: clamp(4.5rem, 9vw, 7rem) auto 0; display: block; }
.stats.sb2-row {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3.5rem);
  max-width: none; margin: 0; border: 0;
}
.stats.sb2-row .sb2-item {
  position: relative; isolation: isolate;
  display: flex; flex-direction: column; align-items: center; gap: 0.9rem;
  padding: 2.4rem 0.5rem 0; border: 0; text-align: center;
}
.stats.sb2-row .sb2-item + .sb2-item { border-left: 0; }

/* Le chiffre */
.stats.sb2-row dd {
  position: relative; z-index: 1;
  font: 800 clamp(3.2rem, 7.4vw, 6rem)/1 var(--font-display); letter-spacing: -0.05em;
  color: #f4f4f5;
}
/* La légende */
.stats.sb2-row dt {
  max-width: 15rem; color: #c9c9cf;
  font: 400 0.98rem/1.4 var(--font); letter-spacing: 0; text-transform: none;
}

/* La flèche : derrière le chiffre, en haut à droite, comme une traînée qui monte */
.sb2-arrow {
  position: absolute; z-index: 0; pointer-events: none;
  width: clamp(5.5rem, 11vw, 8.6rem); height: auto;
  left: 50%; top: 0; translate: 8% -12%;
  filter: drop-shadow(0 10px 18px rgb(0 0 0 / 0.5));
}
/* Entrée : la flèche glisse depuis le bas à gauche et se dévoile, l'une après l'autre */
html[data-motion-policy="ok"] .sb2-arrow {
  opacity: 0; transform: translate(-26px, 22px) scale(0.92);
  clip-path: inset(0 100% 0 0);
  transition: opacity 0.5s ease, transform 0.9s cubic-bezier(.16, 1, .3, 1), clip-path 0.9s cubic-bezier(.65, 0, .35, 1);
}
html[data-motion-policy="ok"] .stats-band.is-in .sb2-arrow { opacity: 1; transform: none; clip-path: inset(0 0 0 0); }
html[data-motion-policy="ok"] .stats-band.is-in .sb2-item:nth-child(2) .sb2-arrow { transition-delay: 0.12s; }
html[data-motion-policy="ok"] .stats-band.is-in .sb2-item:nth-child(3) .sb2-arrow { transition-delay: 0.24s; }

/* Écart depuis le relevé précédent, près de la pointe de la flèche */
.sb2-item .sb-delta { right: auto; left: 50%; top: 0; translate: 120% 0; }

/* Ligne de bas de section */

@media (max-width: 760px) {
  .stats.sb2-row { grid-template-columns: 1fr; gap: 2.6rem; }
  .stats.sb2-row dd { font-size: clamp(3.4rem, 17vw, 4.6rem); }
  .sb2-arrow { width: 6rem; }
}
/* v2 : chiffres moins larges (ils se touchaient), flèche qui sort de derrière le chiffre */
.stats-band.sb2 { max-width: 1180px; }
.stats.sb2-row { gap: clamp(1rem, 3vw, 2.5rem); }
.stats.sb2-row dd { font-size: clamp(2.8rem, 5.2vw, 4.8rem); }
.sb2-arrow { top: 2.4rem; translate: 18% -38%; width: clamp(5rem, 9vw, 7.4rem); }
.sb2-item.is-up .sb-delta { opacity: 1; transform: none; }
.sb2-item .sb-delta { top: 0.4rem; translate: 150% 0; }
@media (max-width: 760px) {
  .stats.sb2-row dd { font-size: clamp(2.6rem, 13vw, 3.8rem); }
  .sb2-arrow { width: 5.2rem; }
}

/* Bouton collant v2 : glisse depuis le bas avec un léger rebond, repart en douceur */
@media (max-width: 640px) {
  .sticky-cta {
    opacity: 0; translate: none; transform: translate3d(0, calc(100% + 1.5rem), 0) scale(0.96);
    pointer-events: none; will-change: transform, opacity;
    transition: transform 0.28s cubic-bezier(.4, 0, 1, 1), opacity 0.2s ease;
  }
  .sticky-cta.is-on {
    opacity: 1; translate: none; transform: none; pointer-events: auto;
    transition: transform 0.55s cubic-bezier(.22, 1.3, .36, 1), opacity 0.25s ease;
  }
  .sticky-cta .btn:active { transform: scale(0.97); }
}

/* ── Optimisations (aucun changement visuel) ── */
/* Bandeau des serveurs : piste en pause quand elle est hors de l'écran */
.partners.is-looping .partners-track.is-paused { animation-play-state: paused; }

/* ══ Démo Discord : sélecteur de commandes façon autocomplétion Discord ═════════════════
   Grand écran : la colonne de gauche ressemble au menu qui s'ouvre quand on tape une commande
   (avatar de l'appli, nom, puis une ligne par commande avec sa description). La ligne active est
   surlignée, se remplit pendant la scène, et un clic envoie la commande dans la zone de saisie. */
.dc-pick-head, .dc-pick-foot { display: none; }
.dc-tab-ic, .dc-tab-desc, .dc-tab-kbd { display: none; }

@media (min-width: 901px) {
  .board .dc-tabs.dc-pick {
    display: flex; flex-direction: column; gap: 2px; padding: 14px 12px;
  }
  .board .dc-pick .dc-pick-head {
    display: flex; align-items: center; gap: 8px; padding: 6px 10px 10px;
    color: #b5bac1; font: 600 12px/1 var(--font); letter-spacing: 0.02em;
  }
  .board .dc-pick .dc-pick-head img { width: 20px; height: 20px; border-radius: 50%; }
  .board .dc-pick .dc-pick-app { color: #f2f3f5; font-size: 13px; letter-spacing: 0; }
  .board .dc-pick .dc-pick-sub { margin-left: auto; color: #949ba4; font-weight: 500; text-transform: uppercase; font-size: 11px; letter-spacing: 0.04em; }

  .board .dc-pick .dc-tab {
    display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; align-items: center; column-gap: 10px;
    width: 100%; min-height: 54px; height: auto; padding: 8px 10px; border-radius: 8px;
    flex-direction: initial; justify-content: initial; text-align: left;
    color: #dbdee1; background: transparent; box-shadow: none;
    transition: background-color 0.12s ease;
  }
  .board .dc-pick .dc-tab:hover { background: rgb(78 80 88 / 0.3); }
  .board .dc-pick .dc-tab[aria-selected="true"] { background: rgb(78 80 88 / 0.6); box-shadow: none; }
  .board .dc-pick .dc-tab:active { transform: scale(0.985); }
  .board .dc-pick .dc-tab-ic {
    display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px;
    color: #dbdee1; background: rgb(255 255 255 / 0.06);
  }
  .board .dc-pick .dc-tab[aria-selected="true"] .dc-tab-ic { color: #fff; background: #5865f2; }
  .board .dc-pick .dc-tab-main { display: grid; gap: 2px; min-width: 0; }
  .board .dc-pick .dc-tab-cmd {
    display: block; color: #f2f3f5; font: 600 14px/1.2 var(--font); letter-spacing: 0;
  }
  .board .dc-pick .dc-tab-label { display: none; }
  .board .dc-pick .dc-tab-desc {
    display: block; color: #949ba4; font: 400 12.5px/1.3 var(--font);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .board .dc-pick .dc-tab-kbd {
    display: grid; place-items: center; width: 22px; height: 22px; border-radius: 5px;
    color: #b5bac1; background: rgb(0 0 0 / 0.25); font: 600 12px/1 var(--font);
    opacity: 0; transform: translateX(-4px); transition: opacity 0.15s ease, transform 0.2s ease;
  }
  .board .dc-pick .dc-tab[aria-selected="true"] .dc-tab-kbd,
  .board .dc-pick .dc-tab:hover .dc-tab-kbd { opacity: 1; transform: none; }
  /* Progression de la scène : fin trait en bas de la ligne active */
  .board .dc-pick .dc-tab::after { left: 52px; right: 10px; bottom: 4px; height: 2px; background: rgb(255 255 255 / 0.35); }

  .board .dc-pick .dc-pick-foot {
    display: flex; align-items: center; gap: 6px; margin-top: auto; padding: 14px 10px 2px;
    color: #949ba4; font: 400 12px/1 var(--font);
  }
  .board .dc-pick .dc-pick-foot span { margin-right: 8px; }
  .board .dc-pick kbd {
    display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 4px; border-radius: 5px;
    color: #dbdee1; background: rgb(255 255 255 / 0.07); box-shadow: inset 0 -1px 0 rgb(0 0 0 / 0.35);
    font: 600 11px/1 var(--font);
  }
  /* La légende du bas de colonne laisse la place au pied du sélecteur */
  .board .dc-note { padding-top: 6px; }
}

/* Téléphone / tablette : puces compactes avec icône */
@media (max-width: 900px) {
  .dc-pick .dc-tab-ic { display: grid; place-items: center; color: inherit; }
  .dc-pick .dc-tab-main { display: contents; }
  .dc-pick .dc-tab-cmd { display: none; }
  .dc-pick .dc-tab { gap: 0.45rem; }
  .dc-pick .dc-tab[aria-selected="true"] .dc-tab-ic { color: #8b93ff; }
}

/* Commande qui vole jusqu'à la zone de saisie */
.dc-fly {
  position: fixed; z-index: 1000; pointer-events: none; white-space: nowrap;
  padding: 4px 9px; border-radius: 6px;
  color: #fff; background: #5865f2; box-shadow: 0 8px 20px -6px rgb(88 101 242 / 0.6);
  font: 600 14px/1.2 var(--font); will-change: transform, opacity;
}

/* ══ Fenêtre Discord : détails de la vraie appli ═══════════════════════════════════════ */
/* Rail : barre blanche à gauche du serveur actif, petite barre si non lu, pastille de mention */
.dc-guild::before {
  content: ""; position: absolute; left: -12px; top: 50%; width: 4px; height: 0; border-radius: 0 4px 4px 0;
  background: #f2f3f5; transform: translateY(-50%); transition: height 0.2s ease;
}
.dc-guild.is-active::before { height: 40px; }
.dc-guild--unread::before { height: 8px; }
.dc-guild:not(.is-active):not(.dc-guild--home):not(.dc-guild--add):hover::before { height: 20px; }
.dc-guild:not(.dc-guild--home):not(.dc-guild--add):hover, .dc-guild:not(.dc-guild--home):not(.dc-guild--add):hover .dc-guild-ic { border-radius: 16px; }
.dc-guild, .dc-guild-ic { transition: border-radius 0.2s ease; }
.dc-gbadge {
  position: absolute; right: -4px; bottom: -4px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 8px;
  color: #fff; background: #f23f43; box-shadow: 0 0 0 3px var(--dc-rail);
  font: 700 11px/16px var(--font); text-align: center;
}

/* Séparateur de date en haut du salon */
.dc-date { display: flex; align-items: center; gap: 4px; margin: 20px 16px 6px; color: #949ba4; font: 600 12px/1 var(--font); }
.dc-date::before, .dc-date::after { content: ""; flex: 1; height: 1px; background: #3f4147; }
.dc-date span { padding: 0 4px; }

/* Survol d'un message : fond légèrement plus foncé + barre d'actions */
.dc-msg:hover { background: rgb(4 4 5 / 0.07); }
.dc-msg-tools {
  position: absolute; top: -16px; right: 14px; z-index: 2;
  display: flex; padding: 2px; border-radius: 8px;
  background: var(--dc-chat); box-shadow: 0 0 0 1px rgb(0 0 0 / 0.18), 0 4px 10px -2px rgb(0 0 0 / 0.35);
  color: #b5bac1; opacity: 0; pointer-events: none; transition: opacity 0.1s ease;
}
.dc-msg-tools svg { width: 32px; height: 32px; padding: 7px; border-radius: 6px; }
.dc-msg-tools svg:hover { color: #dbdee1; background: var(--dc-hover); }
.dc-msg:hover .dc-msg-tools { opacity: 1; pointer-events: auto; }

/* Badge APP (vérifié) */
.dc-tag { background: #5865f2; letter-spacing: 0.02em; }
.dc-tag svg { width: 10px; height: 10px; }

/* Correctifs démo : barre du serveur actif visible (l'ancienne règle la plaçait hors du cadre),
   colonne des commandes un peu plus large et descriptions sur deux lignes au besoin */
.dc-guild.is-active::before { left: -12px; }
@media (min-width: 901px) {
  .board > .dc-wrap { grid-template-columns: 290px minmax(0, 1fr); }
  .board .dc-pick .dc-tab-desc { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-clamp: 2; }
}

/* ══ Deux versions : cartes « prix » (nom, prix, bouton | trait pointillé | avantages) ══ */
.ver.ver--cards {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(0.9rem, 2vw, 1.25rem);
  max-width: 1080px; margin: clamp(2rem, 4vw, 3rem) auto 0;
}
.ver--cards .ver-col.vcard {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: stretch;
  padding: 0; border: 0; border-radius: 26px;
  background: linear-gradient(180deg, #252527, #1f1f21);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.09), 0 30px 60px -34px rgb(0 0 0 / 0.85);
}
.ver--cards .ver-col + .ver-col { border-left: 0; }
.vcard--perso { box-shadow: inset 0 0 0 1px rgb(232 200 114 / 0.18), 0 30px 60px -34px rgb(0 0 0 / 0.85) !important; }

.vcard-main { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(1.4rem, 2.6vw, 1.9rem); }
.vcard-name { margin: 0; color: #f4f4f5; font: 500 1.15rem/1.2 var(--font); letter-spacing: -0.01em; }
.vcard-tag { margin: 0.3rem 0 0; color: #8e8e96; font-size: 0.86rem; line-height: 1.4; }
.vcard-price { display: flex; align-items: baseline; gap: 0.5rem; margin: 1.2rem 0 1.5rem; }
.vcard-price strong { color: #f4f4f5; font: 500 clamp(2.2rem, 3.6vw, 2.8rem)/1 var(--font); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.vcard--perso .vcard-price strong { color: #f3e2b0; }
.vcard-price span { color: #8e8e96; font-size: 0.86rem; }

.vcard-btn {
  margin-top: auto; width: 100%; height: 46px; display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  border-radius: 12px; color: #f4f4f5; text-decoration: none; font: 500 0.92rem/1 var(--font);
  background: linear-gradient(180deg, #1c1c1e, #0b0b0c);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.08), inset 0 0 0 1px rgb(255 255 255 / 0.07), 0 6px 14px -8px rgb(0 0 0 / 0.8);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.vcard-btn:hover { box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.12), inset 0 0 0 1px rgb(255 255 255 / 0.14), 0 8px 18px -8px rgb(0 0 0 / 0.85); }
.vcard-btn:active { transform: scale(0.98); }
.vcard-btn--perso { color: #f3d98a; }
.vcard-btn--perso svg { color: #e8c872; }

.vcard-list {
  display: flex; flex-direction: column; justify-content: center; gap: 1.05rem; margin: 0;
  padding: clamp(1.4rem, 2.6vw, 1.9rem); list-style: none;
  border-left: 1px dashed rgb(255 255 255 / 0.14);
}
.vcard-list li { display: flex; align-items: center; gap: 0.75rem; color: #d4d4d8; font-size: 0.88rem; line-height: 1.35; }
.vcard-ar { flex: none; color: #f4f4f5; }
.vcard--perso .vcard-ar { color: #e8c872; }

@media (max-width: 960px) {
  .ver.ver--cards { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
}
@media (max-width: 520px) {
  .ver--cards .ver-col.vcard { grid-template-columns: minmax(0, 1fr); }
  .vcard-list { border-left: 0; border-top: 1px dashed rgb(255 255 255 / 0.14); gap: 0.85rem; }
  .vcard-price { margin: 1rem 0 1.2rem; }
}
/* Cartes un peu plus larges : les avantages tiennent sur une ligne */
.ver.ver--cards { max-width: 1180px; }
.vcard-list li { text-wrap: pretty; }

/* Une seule barre de défilement : la native est cachée, la barre flottante (.ubs) la remplace. */
html, html:hover { scrollbar-width: none !important; scrollbar-color: auto; -ms-overflow-style: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none !important; width: 0 !important; height: 0 !important; }

/* ══ Or discret : fini le jaune, quelques pépites d'or (25/11) ═════════════════════════════════
   Les aplats et dégradés jaunes/champagne sont remplacés par l'argent du reste du site.
   L'or ne reste que sous forme de petites pépites, et seulement sur ce qui est premium :
   incrustées dans le métal du titre Perso, des chiffres des étapes, de « 24/7 », du prix VIP Serveur et du titre VIP du comparatif.
   Sauvegarde avant modif : UltimeBots-Backup/avant-pepites-or-20261125/. */
:root {
  --gold: #e7e7eb; --gold-rgb: 231 231 235;   /* les accents « or » deviennent argent */
  --vip: #e7e7eb; --vip-dim: rgb(231 231 235 / 0.12);
  --silver-fill: linear-gradient(180deg, #ffffff 0%, #ececef 38%, #b9b9c0 72%, #85858d 100%);
  --nug-title: none; /* pépites d'or retirées (25/11) */
  --nug-num: none; /* pépites d'or retirées (25/11) */
  --nug-big: none; /* pépites d'or retirées (25/11) */
}

/* Titre de la section Perso : même titane que les autres titres, pépites incrustées dans les lettres */
.perso .section-head h2 {
  background-image:
    radial-gradient(280px circle at var(--mx) var(--my), rgb(255 255 255 / calc(var(--sh) * 0.95)), rgb(255 255 255 / 0) 70%),
    var(--nug-title),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='b'><feTurbulence type='fractalNoise' baseFrequency='0.02 1.2' numOctaves='2' seed='7'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 1  0 0 0 0 1  0 0 0 0.55 -0.12'/></filter><rect width='100%' height='100%' filter='url(%23b)'/></svg>"),
    var(--silver-fill);
  background-size: 100% 100%, 170px 170px, 240px 240px, 100% 100%;
  background-position: 0 0, 37px 11px, 0 0, 0 0;
  background-blend-mode: normal, normal, overlay, normal;
}

/* Chiffres 01–04 et « 24/7 » : argent + une ou deux pépites */
.pz-num { background: var(--nug-num) 0 0 / 36px 36px, linear-gradient(180deg, #ffffff, #a9a9b1); -webkit-background-clip: text; background-clip: text; }
.pz-step:hover .pz-num { filter: none; }
.lg-big { background: var(--nug-big) 10px 4px / 100px 100px, linear-gradient(180deg, #ffffff, #d4d4da 55%, #8a8a93); -webkit-background-clip: text; background-clip: text; }
.lg--host { background:
  repeating-linear-gradient(90deg, rgb(255 255 255 / 0.018) 0 1px, transparent 1px 3px),
  linear-gradient(160deg, rgb(255 255 255 / 0.07), rgb(255 255 255 / 0.015) 60%), #141417; }

/* Rivet et pastille du bouton Perso : métal argent au lieu d'or */
.lego-knob {
  background: radial-gradient(120% 120% at 30% 20%, #ffffff, #d6d6dc 45%, #7d7d86 100%);
}
.lego-knob { box-shadow: 0 0 0 9px var(--night), inset 0 1px 0 rgb(255 255 255 / 0.8), inset 0 -3px 6px rgb(0 0 0 / 0.3); }
.perso-mascot { filter: drop-shadow(0 18px 30px rgb(0 0 0 / 0.45)); }
.perso-aura { background: none; }

/* Tarifs : carte VIP Serveur en argent, un semis de pépites dans le haut de la carte */
.pc--vip { --tint: 214 214 222; }
.pc--vip .pc-price strong { background: var(--nug-num) 0 0 / 36px 36px, var(--silver-fill); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; padding-right: 0.06em; }
.btn-gold, .pc-btn--gold { color: #121214; background: linear-gradient(180deg, #ffffff, #dcdce1); }
@media (hover: hover) and (pointer: fine) { .btn-gold:hover, .pc-btn--gold:hover { background: #ffffff; } }

/* Maquettes Perso et « deux versions » : plus de bannières ni de noms dorés */
.pm-banner-art { background: radial-gradient(80% 140% at 85% 0%, #e9e9ee 0%, transparent 55%), radial-gradient(70% 120% at 10% 100%, #3a3a42, transparent 60%), linear-gradient(120deg, #1c1c21, #6e6e78 60%, #d8d8de) !important; }
.vs-side--perso .vs-banner { background: linear-gradient(135deg, #e6e6eb, #8d8d96 55%, #2c2c33); }
.vcard-btn--perso svg, .vcard--perso .vcard-ar { color: #ececef; }
.vcard--perso { box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.12), 0 30px 60px -34px rgb(0 0 0 / 0.85) !important; }
.bt-embed, .bt-wl { border-left-color: #a1a1aa; }

/* Carte « UltimeBots Perso » (deux versions) : même bleu glacé que la carte VIP Perso des tarifs (25/11) */
.vcard--perso { --tint: 150 182 238; }
.ver--cards .ver-col.vcard--perso {
  background: radial-gradient(85% 90% at 18% 0%, rgb(var(--tint) / 0.16), transparent 70%), linear-gradient(180deg, #232429, #1d1e22);
  box-shadow: inset 0 0 0 1px rgb(var(--tint) / 0.28), 0 30px 60px -34px rgb(0 0 0 / 0.85) !important;
}
.vcard--perso .vcard-price strong { color: #f4f4f5; }
.vcard-btn--perso { color: #0b1020; background: linear-gradient(180deg, #ffffff, rgb(var(--tint))); box-shadow: 0 10px 24px -12px rgb(var(--tint) / 0.6), inset 0 1px 0 rgb(255 255 255 / 0.7); }
.vcard-btn--perso svg { color: #0b1020; }
.vcard-btn--perso:hover { box-shadow: 0 14px 28px -12px rgb(var(--tint) / 0.75), inset 0 1px 0 rgb(255 255 255 / 0.7); }
.vcard--perso .vcard-ar { color: rgb(var(--tint)); }
.vcard--perso .vcard-list { border-left-color: rgb(var(--tint) / 0.22); }
@media (max-width: 520px) { .vcard--perso .vcard-list { border-top-color: rgb(var(--tint) / 0.22); } }

/* ══ Boutons : plus aucun glow ; anneau « métal liquide » au survol (25/11, v2) ═════════════════
   Les ombres colorées sous les boutons faisaient « généré par IA » : supprimées.
   Au survol de « Créer mon bot », du bouton de la carte VIP Perso et de « Avoir mon propre bot » (héros) : un bord de lentille épais et
   doux, comme une bulle de savon / du verre poli (réf. Pinterest « Home Button Liquid ui ») :
   - ::before : l'anneau principal, chrome + irisé, légèrement flou, qui tourne ;
   - ::after  : la dispersion (arc-en-ciel fumé, plus large et plus flou) qui tourne en sens inverse,
                plus un liseré blanc très pâle à l'extérieur.
   Seuls ces deux pseudo-éléments sont repeints pendant le survol. */
@property --lm-a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@property --lm-b { syntax: "<angle>"; inherits: false; initial-value: 180deg; }
@keyframes lm-spin { to { --lm-a: 360deg; } }
@keyframes lm-spin-rev { to { --lm-b: -180deg; } }
.vcard-btn--perso, .pc-btn--accent,
.vcard-btn--perso:hover, .pc-btn--accent:hover { box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.7) !important; }
.vcard-btn--perso { --lm-r: 12px; }
.pc-btn--accent { --lm-r: 11px; }
.btn-perso { --lm-r: 999px; }
.vcard-btn--perso, .pc-btn--accent, .btn-perso { position: relative; isolation: isolate; }
.vcard-btn--perso::before, .pc-btn--accent::before, .btn-perso::before,
.vcard-btn--perso::after, .pc-btn--accent::after, .btn-perso::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  opacity: 0; transform: scale(0.96);
  transition: opacity 0.35s ease, transform 0.45s var(--ease-out, ease);
}
/* Anneau principal : bande de chrome irisée, bords adoucis */
.vcard-btn--perso::before, .pc-btn--accent::before, .btn-perso::before {
  inset: -7px; padding: 4px; border-radius: calc(var(--lm-r) + 7px);
  background: conic-gradient(from var(--lm-a),
    rgb(255 255 255 / 0.95) 0%, rgb(170 170 180 / 0.55) 7%, rgb(40 40 46 / 0.25) 14%,
    rgb(120 200 255 / 0.9) 21%, rgb(255 255 255 / 0.9) 26%, rgb(150 255 210 / 0.75) 31%,
    rgb(40 40 46 / 0.2) 40%, rgb(190 190 200 / 0.6) 47%, rgb(255 255 255 / 0.95) 52%,
    rgb(255 120 170 / 0.85) 58%, rgb(255 190 110 / 0.9) 63%, rgb(255 255 255 / 0.85) 68%,
    rgb(40 40 46 / 0.2) 77%, rgb(180 140 255 / 0.85) 85%, rgb(130 210 255 / 0.85) 91%, rgb(255 255 255 / 0.95) 100%);
  filter: blur(0.8px) saturate(1.25);
  animation: lm-spin 5s linear infinite paused;
}
/* Dispersion : arc-en-ciel fumé plus large, tourne en sens inverse ; liseré pâle à l'extérieur */
.vcard-btn--perso::after, .pc-btn--accent::after, .btn-perso::after {
  inset: -10px; padding: 6px; border-radius: calc(var(--lm-r) + 10px);
  background:
    conic-gradient(from var(--lm-b),
      transparent 0%, rgb(255 90 130 / 0.55) 10%, rgb(255 200 90 / 0.5) 17%, transparent 27%,
      transparent 45%, rgb(90 220 255 / 0.55) 55%, rgb(120 255 190 / 0.45) 62%, rgb(170 120 255 / 0.5) 69%, transparent 80%),
    linear-gradient(rgb(255 255 255 / 0.08), rgb(255 255 255 / 0.08));
  filter: blur(3px);
  animation: lm-spin-rev 7s linear infinite paused;
}
@media (hover: hover) and (pointer: fine) {
  .vcard-btn--perso:hover::before, .pc-btn--accent:hover::before, .btn-perso:hover::before,
  .vcard-btn--perso:hover::after, .pc-btn--accent:hover::after, .btn-perso:hover::after { opacity: 1; transform: none; animation-play-state: running; }
  .vcard-btn--perso:hover, .pc-btn--accent:hover, .btn-perso:hover { transform: none; }
}
.vcard-btn--perso:focus-visible::before, .pc-btn--accent:focus-visible::before, .btn-perso:focus-visible::before,
.vcard-btn--perso:focus-visible::after, .pc-btn--accent:focus-visible::after, .btn-perso:focus-visible::after { opacity: 1; transform: none; }
.vcard-btn--perso:focus-visible, .pc-btn--accent:focus-visible, .btn-perso:focus-visible { outline: none; }

/* ══ Easter egg du rivet Perso (js/site/knob-jokes.js) ═══════════════════════════════════════ */
.lego-knob { pointer-events: auto; cursor: help; }
.knob-tip {
  position: fixed; left: 0; top: 0; z-index: 1200; max-width: 260px; pointer-events: none;
  padding: 0.55rem 0.8rem; border-radius: 12px;
  background: rgb(24 24 28 / 0.96); color: #ececef;
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1), 0 10px 24px -12px rgb(0 0 0 / 0.8);
  font: 500 0.84rem/1.35 var(--font); text-wrap: pretty;
  opacity: 0; scale: 0.96; transition: opacity 0.16s ease, scale 0.2s var(--ease-out, ease);
}
.knob-tip.is-on { opacity: 1; scale: 1; }
.knob-tip.is-ask.is-on { pointer-events: auto; }
.knob-tip.is-ask { display: grid; gap: 0.5rem; }
.knob-tip-row { display: flex; gap: 0.4rem; }
.knob-tip-row button {
  flex: 1; padding: 0.4rem 0.8rem; border: 0; border-radius: 8px; cursor: pointer;
  background: rgb(255 255 255 / 0.08); color: #f4f4f5; font: 600 0.8rem/1 var(--font);
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 0.1); transition: background-color 0.15s;
}
.knob-tip-row button:hover { background: rgb(255 255 255 / 0.16); }
.knob-tip-row button:active { transform: scale(0.97); }

/* Anneau métal liquide visible en permanence (pas seulement au survol) sur les trois boutons Perso (25/11) */
.btn-perso::before, .btn-perso::after,
.vcard-btn--perso::before, .vcard-btn--perso::after,
.pc-btn--accent::before, .pc-btn--accent::after { opacity: 1; transform: none; animation-play-state: running; }

/* Perf (30/11) : mêmes anneaux, mais le dégradé TOURNE (transform, carte graphique) au lieu de voir son angle
   animé (@property, repeint à chaque image sur le fil principal). home.js ajoute deux <span class="lm-r"> dans
   chaque bouton et la classe has-lm ; sans JS, les ::before / ::after ci-dessus restent en place.
   Chaque anneau : boîte arrondie (overflow: hidden) → flou → masque en anneau, dans le même ordre que l'ancien
   pseudo-élément (fond, filtre, masque) : le rendu des bords est identique. Le calque qui tourne fait deux fois la
   largeur du bouton : il couvre toujours la boîte, quel que soit l'angle. */
.has-lm::before, .has-lm::after { content: none !important; animation: none !important; }
.lm-r {
  position: absolute; z-index: -1; pointer-events: none; overflow: hidden;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.lm-r::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 200%; aspect-ratio: 1;
  translate: -50% -50%; will-change: rotate;
}
.lm-r1 { inset: -7px; padding: 4px; border-radius: calc(var(--lm-r) + 7px); filter: blur(0.8px) saturate(1.25); }
.lm-r1::before {
  background: conic-gradient(from 0deg,
    rgb(255 255 255 / 0.95) 0%, rgb(170 170 180 / 0.55) 7%, rgb(40 40 46 / 0.25) 14%,
    rgb(120 200 255 / 0.9) 21%, rgb(255 255 255 / 0.9) 26%, rgb(150 255 210 / 0.75) 31%,
    rgb(40 40 46 / 0.2) 40%, rgb(190 190 200 / 0.6) 47%, rgb(255 255 255 / 0.95) 52%,
    rgb(255 120 170 / 0.85) 58%, rgb(255 190 110 / 0.9) 63%, rgb(255 255 255 / 0.85) 68%,
    rgb(40 40 46 / 0.2) 77%, rgb(180 140 255 / 0.85) 85%, rgb(130 210 255 / 0.85) 91%, rgb(255 255 255 / 0.95) 100%);
  animation: lm-rot 5s linear infinite;
}
.lm-r2 {
  inset: -10px; padding: 6px; border-radius: calc(var(--lm-r) + 10px); filter: blur(3px);
  background: linear-gradient(rgb(255 255 255 / 0.08), rgb(255 255 255 / 0.08));
}
.lm-r2::before {
  background: conic-gradient(from 0deg,
    transparent 0%, rgb(255 90 130 / 0.55) 10%, rgb(255 200 90 / 0.5) 17%, transparent 27%,
    transparent 45%, rgb(90 220 255 / 0.55) 55%, rgb(120 255 190 / 0.45) 62%, rgb(170 120 255 / 0.5) 69%, transparent 80%);
  animation: lm-rot-rev 7s linear infinite;
}
@keyframes lm-rot { from { rotate: 0deg; } to { rotate: 360deg; } }
@keyframes lm-rot-rev { from { rotate: 180deg; } to { rotate: -180deg; } }

/* FAQ : le titre collait aux questions (la marge négative du souligné à la craie annulait l'espace). Même respiration que les autres sections (25/11) */
.faq-title + .faq-list { margin-top: clamp(2.5rem, 5vw, 3.75rem); }

/* Fond un peu plus sombre : #111113 → #0c0c0e (25/11) → #0a0a0c (27/11). C'est le fond commun de toutes les
   pages UltimeBots : doc (docs.css), dash (panel-matte.css), Contri et espace Perso (app.css) reprennent la même valeur. */
:root { --night: #0a0a0c; }

/* ══ Finitions (25/11) ════════════════════════════════════════════════════════════════════ */
/* Pied de page mobile : liens à 36 px de haut au lieu de 44 px (cible tactile toujours > 24 px, WCAG 2.2 AA),
   la liste ne fait plus deux écrans de haut. */
@media (max-width: 900px), (pointer: coarse) {
  .fw-col a:not(.fw-h a) { min-height: 36px; }
}

/* Plus de grosses traces de craie (coups d'effaceur) en fond : la craie ne sert plus qu'aux soulignés
   de titres, à l'entourage « Recommandé » et aux étoiles de la carte finale (25/11). Bonus : 3 filtres
   SVG pleine page en moins à peindre. */
.home main::before, .lp--seo::before { content: none; background: none; }

/* Info-bulle des partenaires : la bulle prenait la largeur de l'icône (élément absolu dans un parent étroit),
   le nom du serveur débordait. Largeur = contenu, plafonnée, nom tronqué proprement si trop long (25/11). */
.partner-tip { width: max-content; max-width: min(18rem, 80vw); }
.partner-tip strong { display: block; max-width: 100%; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ══ Barre de navigation : rayons concentriques (26/11) ══════════════════════════════════════
   Règle « rayon intérieur = rayon extérieur - marge » : le dernier bouton de la barre (« Ajouter
   le bot », ou le menu sur tablette / mobile) a la même marge en haut, en bas et à droite, et sa
   courbe suit exactement celle de la barre. Barre 64 px (rayon 32) : bouton 40 px, marge 12 px. */
.hd-bar { padding-right: 12px; }
.hd-bar .hd-cta { height: 40px; min-height: 40px; border-radius: 20px; }
@media (max-width: 1100px) {
  .hd-bar { padding-right: 10px; } /* menu 44 px : (64 - 44) / 2 */
}
@media (max-width: 600px) {
  .hd-bar { padding-right: 6px; } /* barre 56 px, menu 44 px */
}

/* ── Fondu entre les pages (27/11) ──────────────────────────────────── */
/* Transition native du navigateur entre deux pages du site (Chrome/Edge 126+, Safari 18.2+). Sans JS,
   CSP inchangée. Firefox change de page normalement. Joue aussi avec « Effets d'animation » coupé dans
   Windows / « Réduire les animations » (vérifié dans Chrome, même choix que le reste du site, 26/11) :
   ne pas ajouter de @media (prefers-reduced-motion) ici. Même bloc dans base.css (boutique).
   Pages préchargées au survol des liens (home.js) : le fondu démarre sans attendre le réseau.
   Pour retirer l'effet : supprimer les deux blocs. */
@view-transition { navigation: auto; }
/* Ancienne page : s'efface (0,38 s). Nouvelle page : apparaît lentement (0,6 s), en démarrant avant
   la fin de l'effacement pour un fondu enchaîné sans « trou » noir. Opacité seule : calculé par la
   carte graphique, rien n'est redessiné pendant le fondu. */
::view-transition-old(root) { animation: ub-page-out 0.38s cubic-bezier(0.4, 0, 0.2, 1) both; }
::view-transition-new(root) { animation: ub-page-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both; }
@keyframes ub-page-out { from { opacity: 1; } to { opacity: 0; } }
@keyframes ub-page-in { from { opacity: 0; } to { opacity: 1; } }
/* En-tête : ne clignote pas. S'il était caché (on avait défilé vers le bas), il redescend en douceur
   à sa place pendant le fondu. Sur une page sans en-tête (boutique), il s'efface ou apparaît. */
/* Nom posé SEULEMENT pendant la transition : un élément nommé devient une « racine de fond » pour
   Chrome, et le backdrop-filter de la barre ne voyait plus la page dessous (verre liquide plat, 30/11). */
:root:active-view-transition .hd { view-transition-name: ub-header; }
::view-transition-group(ub-header) { animation-duration: 0.6s; animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1); }
::view-transition-old(ub-header) { display: none; }
::view-transition-new(ub-header) { animation: none; }
::view-transition-old(ub-header):only-child { display: block; animation: ub-page-out 0.38s cubic-bezier(0.4, 0, 0.2, 1) both; }
::view-transition-new(ub-header):only-child { animation: ub-page-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.18s both; }
/* Relais pour les navigateurs sans fondu natif (Firefox…) : home.js efface la page au clic,
   motion-policy.js + cette règle la font apparaître à l'arrivée. Même durée et même courbe. */
html.ub-vt-out body { opacity: 0; transition: opacity 0.38s cubic-bezier(0.4, 0, 0.2, 1); }
html.ub-vt-in body { animation: ub-page-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both; }
/* Navigation sans rechargement (soft-nav.js) : le nouveau contenu reste invisible jusqu'à son fondu
   d'entrée ; pas de contour de focus quand on y place le focus après un changement de page. */
[data-ub-entering] { opacity: 0; }
body > main[tabindex="-1"]:focus { outline: none; }

/* ══ Téléphone, passe responsive (27/11) ═══════════════════════════════════════════════════
   Héros calé en haut (plus de grand vide au-dessus du titre), titre plus présent, chiffres en
   liste propre, cartes qui montent au lieu d'arriver de travers, bouton collant plus discret. */
@media (max-width: 1023px) {
  html[data-motion-policy="ok"] .hero-pin > .hero { align-content: start; }
}
@media (max-width: 640px) {
  html[data-motion-policy="ok"] .hero-pin > .hero { padding-top: calc(var(--hd-h, 64px) + clamp(28px, 5.5svh, 48px)); }
  .hero-words { inset: calc(var(--hd-h, 64px) + clamp(28px, 5.5svh, 48px)) 6vw auto; }
  .hero-title { font-size: clamp(2.55rem, 11.6vw, 3.3rem); line-height: 1; letter-spacing: -0.052em; }
  .hero-lead { margin-top: 1.05rem; font-size: 1.04rem; line-height: 1.5; max-width: 21rem; }
  .hero-cta { margin-top: 1.5rem; gap: 0.6rem; }
  .hero-cta .btn-lg { min-height: 52px; }

  /* Chiffres : une ligne par chiffre, valeur à gauche, légende à droite, filets fins */
  .stats-band.sb2 { margin-top: 3.5rem; }
  .stats.sb2-row { grid-template-columns: 1fr; gap: 0; }
  .stats.sb2-row .sb2-item {
    flex-direction: row; align-items: center; justify-content: space-between; gap: 1rem;
    padding: 1.15rem 0.1rem; border-top: 1px solid rgb(255 255 255 / 0.07); text-align: left;
  }
  .stats.sb2-row .sb2-item:last-child { border-bottom: 1px solid rgb(255 255 255 / 0.07); }
  .stats.sb2-row dd { order: 1; font-size: clamp(2.2rem, 10.5vw, 2.8rem); }
  .stats.sb2-row dt { order: 2; max-width: 10.5rem; text-align: right; font-size: 0.9rem; line-height: 1.35; color: var(--mist); }
  .sb2-arrow, .sb2-item .sb-delta { display: none; }

  /* Démo Discord : moins de vide entre l'en-tête du salon et les messages */
  .board .dc-app { height: 500px; }

  /* Bouton collant : plus fin, posé sur un léger fondu pour ne pas couper le texte en dessous */
  .sticky-cta { left: 0; right: 0; bottom: 0; padding: 1.5rem 0.9rem calc(0.8rem + env(safe-area-inset-bottom, 0px)); background: linear-gradient(to top, rgb(10 10 12 / 0.92) 35%, rgb(10 10 12 / 0)); pointer-events: none; }
  .sticky-cta.is-on { pointer-events: none; }
  .sticky-cta.is-on .btn { pointer-events: auto; }
  .sticky-cta .btn { min-height: 48px; font-size: 0.98rem; box-shadow: 0 14px 30px -14px rgb(0 0 0 / 0.9); }
}
/* Sur téléphone, les cartes « Deux façons » et les prix montent chacune à leur tour (scroll-fx.js),
   au lieu d'arriver de côté et penchées (elles débordaient de l'écran). */
@media (max-width: 760px) {
  html[data-motion-policy="ok"] .ver .fx-from-left, html[data-motion-policy="ok"] .ver .fx-from-right {
    transform: translate3d(0, calc((1 - var(--p, 1)) * 46px), 0) scale(calc(0.965 + var(--p, 1) * 0.035));
    opacity: calc(0.12 + var(--p, 1) * 0.88);
  }
  html[data-motion-policy="ok"] .pc-cards .fx-rise {
    transform: translate3d(0, calc((1 - var(--p, 1)) * 52px), 0);
    opacity: calc(0.12 + var(--p, 1) * 0.88);
  }
}

/* Pied de page sur téléphone : Produit et Ressources côte à côte, puis Fonctionnalités et Légal
   sur toute la largeur en deux colonnes (avant : une colonne de 8 liens laissait un grand vide). */
@media (max-width: 640px) {
  .fw-grid { gap: 1.9rem 1rem; }
  .fw-grid > .fw-col:nth-of-type(1) { order: 1; }
  .fw-grid > .fw-col:nth-of-type(3) { order: 2; }
  .fw-grid > .fw-col:nth-of-type(2) { order: 3; grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
  .fw-grid > .fw-col:nth-of-type(4) { order: 4; grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 1rem; }
  .fw-grid > .fw-col:nth-of-type(2) .fw-h, .fw-grid > .fw-col:nth-of-type(4) .fw-h { grid-column: 1 / -1; }
  .fw-bar { margin-top: 2.6rem; }
}
