/* RAW Annuaire : feuille de style principale */

@font-face { font-family: "Bricolage"; src: url(fonts/bricolage.woff2) format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Inter"; src: url(fonts/inter.woff2) format("woff2"); font-weight: 400 700; font-display: swap; }

/* ---------- Jetons (sombre par défaut) ---------- */
:root {
  color-scheme: dark;
  --bg: #07070c;
  --bg-2: #0d0d16;
  --surface: rgba(255, 255, 255, .045);
  --surface-2: rgba(255, 255, 255, .075);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --text: #eeeef6;
  --muted: #9b9bb4;
  --faint: #6b6b84;
  --violet: #8b5cf6;
  --pink: #ec4899;
  --cyan: #22d3ee;
  --lime: #a3e635;
  --danger: #fb7185;
  --grad: linear-gradient(100deg, var(--violet), var(--pink) 30%, #ef4444 50%, var(--cyan) 75%, var(--violet));
  --grad-soft: linear-gradient(135deg, rgba(124, 92, 255, .22), rgba(124, 92, 255, .14) 50%, rgba(165, 148, 255, .14));
  --shadow: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 20px 60px -20px rgba(0, 0, 0, .7);
  --glow: 0 0 0 1px rgba(124, 92, 255, .35), 0 12px 40px -8px rgba(124, 92, 255, .55);
  --r: 20px;
  --r-sm: 12px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Bricolage", "Inter", system-ui, sans-serif;
  --wrap: 1240px;
  --aurora-o: .36;
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f5fb;
  --bg-2: #ecebf5;
  --surface: rgba(255, 255, 255, .7);
  --surface-2: rgba(255, 255, 255, .92);
  --line: rgba(20, 16, 50, .09);
  --line-2: rgba(20, 16, 50, .17);
  --text: #12101f;
  --muted: #5d5a75;
  --faint: #8a87a3;
  --danger: #e11d48;
  --shadow: 0 1px 0 rgba(255, 255, 255, .8) inset, 0 20px 50px -24px rgba(40, 30, 90, .3);
  --glow: 0 0 0 1px rgba(124, 92, 255, .35), 0 12px 34px -10px rgba(124, 92, 255, .45);
  --aurora-o: .32;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 16px/1.65 var(--font); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: clip; min-height: 100vh;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: rgba(124, 92, 255, .45); color: #fff; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 100; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 16px; }
.wrap { width: min(100% - 32px, var(--wrap)); margin-inline: auto; }
.muted { color: var(--muted); }
.grad { background: var(--grad); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 8s linear infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }
svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
kbd { font: 600 11px/1 var(--font); padding: 4px 6px; border-radius: 6px; border: 1px solid var(--line-2); background: var(--surface); color: var(--muted); }

/* Transitions entre pages (navigateurs compatibles) */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .45s; animation-timing-function: var(--ease); }
::view-transition-old(root) { animation-name: vt-out; }
::view-transition-new(root) { animation-name: vt-in; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-12px) scale(.99); filter: blur(4px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); filter: blur(4px); } }
::view-transition-group(*) { animation-duration: .6s; animation-timing-function: var(--ease); }

/* ---------- Décor : aurore, grain, halo du curseur, barre de progression ---------- */
.aurora { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; opacity: var(--aurora-o); }
.aurora i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(90px); mix-blend-mode: screen; will-change: transform; }
:root[data-theme="light"] .aurora i { mix-blend-mode: multiply; filter: blur(110px); }
.aurora i:nth-child(1) { background: radial-gradient(circle, #7c3aed 0, transparent 65%); top: -25vmax; left: -15vmax; animation: drift1 26s ease-in-out infinite alternate; }
.aurora i:nth-child(2) { background: radial-gradient(circle, #be185d 0, transparent 62%); top: 10vh; right: -25vmax; animation: drift2 32s ease-in-out infinite alternate; }
.aurora i:nth-child(3) { background: radial-gradient(circle, #0891b2 0, transparent 65%); bottom: -35vmax; left: 20vw; animation: drift3 38s ease-in-out infinite alternate; }
@keyframes drift1 { to { transform: translate(18vw, 22vh) scale(1.15); } }
@keyframes drift2 { to { transform: translate(-22vw, 18vh) scale(.9); } }
@keyframes drift3 { to { transform: translate(-12vw, -26vh) scale(1.2); } }
.grain { position: fixed; inset: -50%; z-index: -1; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
:root[data-theme="light"] .grain { opacity: .045; }
@keyframes grain { 0%,100% { transform: translate(0,0) } 20% { transform: translate(-3%,2%) } 40% { transform: translate(2%,-3%) } 60% { transform: translate(-2%,-1%) } 80% { transform: translate(3%,3%) } }
.cursor-glow { position: fixed; left: 0; top: 0; width: 520px; height: 520px; margin: -260px 0 0 -260px; z-index: -1; pointer-events: none; border-radius: 50%;
  background: radial-gradient(circle, rgba(124, 92, 255, .16), transparent 60%); transform: translate3d(var(--cx, -999px), var(--cy, -999px), 0); transition: opacity .4s; }
@media (hover: none) { .cursor-glow { display: none; } }
.progress { position: fixed; inset: 0 0 auto; height: 2px; z-index: 60; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); box-shadow: 0 0 12px rgba(124, 92, 255, .7); }

/* ---------- Boutons, puces ---------- */
.btn { --bh: 46px; position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: var(--bh); padding: 0 22px; border-radius: 999px;
  border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font-weight: 600; font-size: 15px; letter-spacing: -.01em; cursor: pointer; white-space: nowrap;
  transition: transform .35s var(--spring), background .25s, border-color .25s, box-shadow .3s; isolation: isolate; overflow: hidden; -webkit-tap-highlight-color: transparent; }
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--spring); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(.96); }
.btn--sm { --bh: 38px; padding: 0 16px; font-size: 14px; }
.btn--lg { --bh: 56px; padding: 0 30px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--ghost:hover { background: var(--surface-2); border-color: var(--line-2); }
.btn--primary { background: var(--text); color: var(--bg); border-color: transparent; }
.btn--primary:hover { box-shadow: 0 10px 30px -10px rgba(255, 255, 255, .45); }
:root[data-theme="light"] .btn--primary:hover { box-shadow: 0 10px 30px -10px rgba(20, 16, 50, .5); }
.btn--primary::after, .btn--glow::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .45) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn--primary:hover::after, .btn--glow:hover::after { transform: translateX(120%); }
.btn--glow { color: #fff; border: 0; background: var(--grad); background-size: 200% 100%; box-shadow: var(--glow); animation: shimmer 6s linear infinite; }
.btn--glow::before { content: ""; position: absolute; inset: -2px; z-index: -2; border-radius: inherit; background: inherit; filter: blur(18px); opacity: .6; }
.btn--glow:hover { box-shadow: 0 0 0 1px rgba(124, 92, 255, .5), 0 18px 50px -10px rgba(124, 92, 255, .7); }
.btn span { position: relative; overflow: hidden; text-overflow: ellipsis; max-width: 60vw; }
.icon-btn { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; transition: background .2s, transform .3s var(--spring); }
.icon-btn:hover { background: var(--surface-2); }
.icon-btn:active { transform: scale(.92); }
.icon-btn svg { width: 18px; height: 18px; }
.i-moon { display: none; }
:root[data-theme="light"] .i-sun { display: none; }
:root[data-theme="light"] .i-moon { display: block; }

.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 600; color: var(--muted); transition: color .2s, border-color .2s, background .2s, transform .3s var(--spring); }
.chip svg { width: 15px; height: 15px; }
a.chip:hover { color: var(--text); border-color: var(--line-2); background: var(--surface-2); transform: translateY(-2px); }
.chip--sm { padding: 3px 9px; font-size: 11.5px; }
.chip--lg { padding: 9px 14px; font-size: 14px; color: var(--text); }
.chip b { font-size: 11.5px; padding: 1px 7px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }

/* ---------- Barre du haut ---------- */
.topbar { position: sticky; top: 0; z-index: 50; padding: 12px 0; transition: padding .35s var(--ease); }
.topbar__in { width: min(100% - 24px, 1320px); margin-inline: auto; display: flex; align-items: center; gap: 18px; padding: 8px 10px 8px 16px; border-radius: 18px;
  border: 1px solid transparent; transition: background .35s, border-color .35s, box-shadow .35s, backdrop-filter .35s; }
.topbar.is-stuck { padding: 8px 0; }
.topbar.is-stuck .topbar__in { background: color-mix(in oklab, var(--bg) 72%, transparent); border-color: var(--line); box-shadow: 0 10px 40px -20px rgba(0, 0, 0, .6); backdrop-filter: blur(18px) saturate(1.4); -webkit-backdrop-filter: blur(18px) saturate(1.4); }
.topbar.is-hidden { transform: translateY(-110%); }
.topbar { transition: transform .45s var(--ease), padding .35s var(--ease); }

.brand { display: inline-flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 700; letter-spacing: -.02em; }
.brand__mark { display: inline-flex; height: 36px; padding: 0 10px; align-items: center; gap: 1px; border-radius: 11px; background: var(--grad); background-size: 200% 100%; color: #fff; font-weight: 800; font-size: 16px; letter-spacing: .02em; box-shadow: var(--glow); animation: shimmer 7s linear infinite; }
.brand__mark b { display: inline-block; animation: hop 5s var(--spring) infinite; }
.brand__mark b:nth-child(2) { animation-delay: .12s; }
.brand__mark b:nth-child(3) { animation-delay: .24s; }
@keyframes hop { 0%, 86%, 100% { transform: none; } 90% { transform: translateY(-4px) rotate(-6deg); } 95% { transform: translateY(1px); } }
.brand__name { font-size: 15px; white-space: nowrap; }
.brand__name em { font-style: normal; color: var(--muted); }
.brand--lg .brand__mark { height: 52px; font-size: 24px; padding: 0 16px; border-radius: 15px; }

.nav { display: flex; align-items: center; gap: 4px; margin-left: 8px; }
.nav__link { display: inline-flex; align-items: center; gap: 6px; height: 38px; padding: 0 14px; border-radius: 10px; border: 0; background: none; cursor: pointer; font-weight: 500; font-size: 14.5px; color: var(--muted); transition: color .2s, background .2s; }
.nav__link:hover, .nav__link[aria-expanded="true"] { color: var(--text); background: var(--surface); }
.nav__link svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.nav__link[aria-expanded="true"] svg { transform: rotate(180deg); }
.nav__item--mega { position: relative; }
.mega { position: absolute; top: calc(100% + 14px); left: -20px; width: min(760px, 90vw); padding: 14px; border-radius: 22px; border: 1px solid var(--line);
  background: color-mix(in oklab, var(--bg) 86%, transparent); backdrop-filter: blur(24px) saturate(1.5); -webkit-backdrop-filter: blur(24px) saturate(1.5); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7);
  opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: 20% 0; transition: opacity .25s, transform .35s var(--ease), visibility 0s .35s; }
.mega.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .35s var(--ease); }
.mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.mega__cat { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 14px; transition: background .2s; opacity: 0; transform: translateY(6px); }
.mega.is-open .mega__cat { opacity: 1; transform: none; transition: opacity .3s calc(var(--i) * 18ms), transform .4s var(--ease) calc(var(--i) * 18ms), background .2s; }
.mega__cat:hover { background: var(--surface-2); }
.mega__cat b { display: block; font-size: 14px; font-weight: 600; line-height: 1.3; }
.mega__cat small { color: var(--faint); font-size: 12px; }
.mega__ico { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: hsl(var(--h) 90% 72%); background: hsl(var(--h) 80% 60% / .13); border: 1px solid hsl(var(--h) 80% 60% / .25); }
:root[data-theme="light"] .mega__ico { color: hsl(var(--h) 70% 42%); }
.mega__ico svg { width: 19px; height: 19px; }

.topbar__actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.kbd-search { display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0 8px 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); cursor: pointer; font-size: 14px; transition: border-color .2s, background .2s, color .2s; }
.kbd-search:hover { border-color: var(--line-2); color: var(--text); }
.kbd-search svg { width: 16px; height: 16px; }
.burger { display: none; }
.burger i { display: block; width: 16px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease); }
.burger i + i { margin-top: 5px; }
.burger { flex-direction: column; }
.burger[aria-expanded="true"] i:first-child { transform: translateY(3.3px) rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { transform: translateY(-3.3px) rotate(-45deg); }

.drawer { position: fixed; inset: 0; z-index: 45; padding: 90px 16px 32px; background: color-mix(in oklab, var(--bg) 92%, transparent); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); overflow-y: auto;
  clip-path: circle(0 at calc(100% - 40px) 40px); transition: clip-path .6s var(--ease); }
.drawer[hidden] { display: block; visibility: hidden; }
.drawer.is-open { clip-path: circle(150% at calc(100% - 40px) 40px); visibility: visible; }
.drawer__big { display: flex; justify-content: space-between; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line); font: 700 28px/1.1 var(--display); letter-spacing: -.03em; }
.drawer__label { margin: 28px 4px 10px; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--faint); }
.drawer__cats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.drawer__cats a { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); font-weight: 600; font-size: 14px; opacity: 0; transform: translateY(12px); }
.drawer__cats a svg { width: 18px; height: 18px; flex: none; color: hsl(var(--h) 85% 70%); }
:root[data-theme="light"] .drawer__cats a svg { color: hsl(var(--h) 70% 40%); }
.drawer.is-open .drawer__cats a { opacity: 1; transform: none; transition: opacity .4s calc(.15s + var(--i) * 30ms), transform .5s var(--ease) calc(.15s + var(--i) * 30ms); }

/* ---------- Animations d'entrée ---------- */
.js [data-intro] { opacity: 0; transform: translateY(18px); filter: blur(6px); animation: intro .9s var(--ease) forwards; animation-delay: calc(.08s + var(--d, 0) * .09s); }
@keyframes intro { to { opacity: 1; transform: none; filter: none; } }
.js [data-reveal] { opacity: 0; transform: translateY(28px) scale(.985); transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- Accueil : héros ---------- */
.hero { position: relative; padding: clamp(40px, 9vh, 110px) 0 40px; overflow: hidden; }
.hero__grid { position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%); animation: gridmove 20s linear infinite; }
@keyframes gridmove { to { background-position: 64px 64px; } }
.hero__in { text-align: center; display: flex; flex-direction: column; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 26px; padding: 7px 14px 7px 10px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font-size: 13.5px; color: var(--muted); backdrop-filter: blur(8px); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(124, 92, 255, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(124, 92, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(124, 92, 255, 0); } }
.hero__title { margin: 0; font: 800 clamp(44px, 8.6vw, 112px)/.95 var(--display); letter-spacing: -.045em; }
.hero__title .line { display: block; overflow: hidden; padding: .04em .06em .08em; }
.hero__title .line > span { display: inline-block; }
.js .hero__title .line > span { transform: translateY(105%); animation: rise 1.1s var(--ease) forwards; }
.js .hero__title .line:nth-child(3) > span { animation-delay: .18s; }
.js .hero__title .line:nth-child(4) > span { animation-delay: .32s; }
@keyframes rise { to { transform: none; } }
.js .hero__title[data-intro] { opacity: 1; transform: none; filter: none; animation: none; }
.rotator { position: relative; display: inline-grid; vertical-align: top; color: var(--cyan); justify-items: start; transition: width .6s var(--ease); }
.rotator b { white-space: nowrap; }
.rotator b { grid-area: 1 / 1; font-weight: inherit; transition: transform .7s var(--ease), opacity .5s, filter .5s; opacity: 0; transform: translateY(60%) rotateX(-70deg); filter: blur(8px); transform-origin: 50% 100%; }
.rotator b.is-on { opacity: 1; transform: none; filter: none; }
.rotator b.is-out { opacity: 0; transform: translateY(-60%) rotateX(70deg); filter: blur(8px); }
.no-js .rotator b:not(:first-child) { display: none; }
.hero__lead { max-width: 640px; margin: 26px auto 0; font-size: clamp(16px, 1.6vw, 19px); color: var(--muted); }
.hero__lead strong { color: var(--text); }

.bigsearch { position: relative; z-index: 10; width: min(100%, 720px); margin: 34px auto 0; display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 20px; border-radius: 22px; border: 1px solid var(--line-2); background: color-mix(in oklab, var(--bg) 60%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); box-shadow: var(--shadow); transition: border-color .3s, box-shadow .3s; }
.bigsearch:focus-within { border-color: rgba(124, 92, 255, .6); box-shadow: var(--shadow), 0 0 0 6px rgba(124, 92, 255, .14); }
.bigsearch > svg { width: 22px; height: 22px; flex: none; color: var(--muted); }
.bigsearch input { flex: 1; min-width: 0; height: 48px; border: 0; background: none; outline: none; font-size: 17px; }
.bigsearch input::placeholder { color: var(--faint); }
.bigsearch input::-webkit-search-cancel-button { display: none; }
.bigsearch__glow { position: absolute; inset: -1px; z-index: -1; border-radius: inherit; padding: 1px; background: conic-gradient(from var(--a, 0deg), transparent 0 60%, var(--violet), var(--pink), var(--cyan), transparent 95%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin 5s linear infinite; opacity: .9; }
@property --a { syntax: "<angle>"; inherits: false; initial-value: 0deg; }
@keyframes spin { to { --a: 360deg; } }
.bigsearch--sm { margin: 22px 0 0; }
.bigsearch__drop { position: absolute; top: calc(100% + 10px); left: 0; right: 0; z-index: 20; text-align: left; padding: 8px; border-radius: 18px; border: 1px solid var(--line-2); background: var(--bg-2);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7); animation: pop .3s var(--ease); max-height: 60vh; overflow: auto; }
@keyframes pop { from { opacity: 0; transform: translateY(-6px) scale(.98); } }

.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 26px; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin: 54px auto 0; width: min(100%, 860px); border-radius: 22px; overflow: hidden; border: 1px solid var(--line); background: var(--line); }
.stats > div { padding: 20px 14px; background: color-mix(in oklab, var(--bg) 80%, transparent); backdrop-filter: blur(10px); }
.stats dt { order: 2; font-size: 13px; color: var(--muted); }
.stats > div { display: flex; flex-direction: column-reverse; }
.stats dd { margin: 0; font: 700 clamp(26px, 3.4vw, 38px)/1.1 var(--display); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }

/* Mur de vignettes défilant */
.wall { margin-top: 64px; display: grid; gap: 16px; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); transform: perspective(1200px) rotateX(14deg); transform-origin: 50% 0; }
.wall__row { overflow: hidden; }
.wall__track { display: flex; gap: 16px; width: max-content; animation: marquee 70s linear infinite; }
.wall__row--rev .wall__track { animation-direction: reverse; animation-duration: 80s; }
.wall:hover .wall__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(calc(-50% - 8px)); } }
.shot { position: relative; flex: none; width: 260px; aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--surface); transition: transform .5s var(--spring), box-shadow .4s; }
.shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .8s var(--ease); }
.shot span { position: absolute; left: 10px; bottom: 10px; max-width: calc(100% - 20px); padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(8, 8, 14, .65); backdrop-filter: blur(8px); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(6px); transition: .35s var(--ease); }
.shot:hover { transform: translateY(-6px) scale(1.04); box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .8), 0 0 0 1px rgba(124, 92, 255, .5); z-index: 2; }
.shot:hover img { transform: scale(1.06); }
.shot:hover span, .shot:focus-visible span { opacity: 1; transform: none; }

/* ---------- Sections ---------- */
.section { padding: clamp(56px, 9vw, 110px) 0 0; }
.section--tight { padding-top: 24px; }
.section__head { margin-bottom: 34px; max-width: 720px; }
.section__head--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.kicker { margin: 0 0 10px; font-size: 12.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; color: var(--violet); }
:root:not([data-theme="light"]) .kicker { color: #c4b5fd; }
.h1 { margin: 0; font: 800 clamp(36px, 6vw, 72px)/1 var(--display); letter-spacing: -.04em; text-wrap: balance; }
.h2 { margin: 0 0 10px; font: 750 clamp(30px, 4.4vw, 52px)/1.02 var(--display); letter-spacing: -.035em; text-wrap: balance; }
.h3 { margin: 0 0 8px; font: 700 clamp(20px, 2.2vw, 26px)/1.2 var(--display); letter-spacing: -.02em; }

/* Bento des catégories */
.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.tile { position: relative; display: flex; flex-direction: column; min-height: 200px; padding: 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); overflow: hidden; isolation: isolate;
  transform-style: preserve-3d; transition: border-color .3s, transform .5s var(--ease), box-shadow .4s; }
.tile--xl { grid-column: span 2; grid-row: span 2; min-height: 414px; padding: 30px; }
.tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 0%), hsl(var(--h) 90% 60% / .22), transparent 45%); opacity: 0; transition: opacity .4s; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), hsl(var(--h) 90% 70% / .8), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; opacity: 0; transition: opacity .4s; }
.tile:hover { border-color: transparent; box-shadow: 0 30px 60px -30px hsl(var(--h) 80% 40% / .7); }
.tile:hover::before, .tile:hover::after { opacity: 1; }
.tile__ico { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; color: hsl(var(--h) 95% 74%); background: hsl(var(--h) 80% 60% / .14); border: 1px solid hsl(var(--h) 80% 60% / .3); transition: transform .6s var(--spring); transform: translateZ(30px); }
:root[data-theme="light"] .tile__ico { color: hsl(var(--h) 70% 42%); }
.tile__ico svg { width: 26px; height: 26px; }
.tile--xl .tile__ico { width: 72px; height: 72px; border-radius: 22px; }
.tile--xl .tile__ico svg { width: 36px; height: 36px; }
.tile:hover .tile__ico { transform: translateZ(30px) rotate(-8deg) scale(1.08); }
.tile__count { position: absolute; top: 22px; right: 22px; font-size: 13px; color: var(--muted); }
.tile__count b { color: var(--text); font-variant-numeric: tabular-nums; }
.tile__name { overflow-wrap: anywhere; margin: auto 0 0; padding-top: 22px; font: 700 22px/1.15 var(--display); letter-spacing: -.02em; transform: translateZ(20px); }
.tile--xl .tile__name { font-size: clamp(30px, 3.4vw, 44px); letter-spacing: -.035em; }
.tile__subs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tile__subs span { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.tile__subs .more { color: var(--text); }
.tile__go { position: absolute; right: 18px; bottom: 18px; width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: var(--text); color: var(--bg); transform: scale(.4) rotate(-45deg); opacity: 0; transition: .45s var(--spring); }
.tile__go svg { width: 16px; height: 16px; }
.tile:hover .tile__go { opacity: 1; transform: none; }
.tile:not(.tile--xl) .tile__subs { display: none; }
@media (hover: hover) { .tile:not(.tile--xl):hover .tile__subs { display: flex; animation: pop .35s var(--ease); } }

/* Éventail de vignettes dans les grandes tuiles */
.fan { position: absolute; right: 34px; top: 58px; width: 38%; aspect-ratio: 4 / 3; transform: translateZ(40px); pointer-events: none; }
.fan img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 14px; border: 1px solid var(--line-2); box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .8);
  transition: transform .8s var(--spring); transform-origin: 50% 110%; }
.fan img:nth-child(1) { transform: rotate(-9deg) translate(-14%, 4%) scale(.9); filter: brightness(.7); }
.fan img:nth-child(2) { transform: rotate(5deg) translate(10%, 0) scale(.94); filter: brightness(.85); }
.fan img:nth-child(3) { transform: rotate(-1deg); }
.tile:hover .fan img:nth-child(1) { transform: rotate(-18deg) translate(-38%, 6%) scale(.92); }
.tile:hover .fan img:nth-child(2) { transform: rotate(14deg) translate(32%, 2%) scale(.96); }
.tile:hover .fan img:nth-child(3) { transform: translateY(-6%) scale(1.04); }
@media (max-width: 1080px) { .fan { display: none; } }

/* Cartes de sites */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.card { position: relative; display: flex; flex-direction: column; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); overflow: hidden; isolation: isolate; transform-style: preserve-3d;
  transition: transform .5s var(--ease), border-color .3s, box-shadow .4s; }
.card::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), hsl(var(--h) 90% 65% / .14), transparent 40%); opacity: 0; transition: opacity .4s; }
.card:hover { border-color: hsl(var(--h) 80% 65% / .45); box-shadow: 0 30px 60px -30px hsl(var(--h) 70% 30% / .9); }
.card:hover::before { opacity: 1; }
.card__link { position: absolute; inset: 0; z-index: 3; border-radius: inherit; }
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 1.2s var(--ease), filter .5s; }
.card:hover .card__media img { transform: scale(1.07); }
.card__media--empty, .browser__empty { display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, hsl(var(--h) 80% 55% / .35), transparent 60%), radial-gradient(circle at 80% 90%, hsl(calc(var(--h) + 60) 80% 55% / .3), transparent 55%), var(--bg-2); }
.mono { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; font: 800 30px/1 var(--display); color: #fff; background: linear-gradient(135deg, hsl(var(--h) 80% 58%), hsl(calc(var(--h) + 50) 85% 55%)); box-shadow: 0 12px 30px -8px hsl(var(--h) 80% 40% / .8); }
.card__arrow { position: absolute; right: 12px; top: 12px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: rgba(8, 8, 14, .6); color: #fff; backdrop-filter: blur(8px); transform: scale(.5) translate(-10px, 10px); opacity: 0; transition: .45s var(--spring); }
.card__arrow svg { width: 17px; height: 17px; }
.card:hover .card__arrow { opacity: 1; transform: none; }
.card__body { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 6px; padding: 18px 20px 22px; }
.card__body .chip { align-self: flex-start; }
.card__title { margin: 4px 0 0; font: 700 19px/1.25 var(--display); letter-spacing: -.02em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card__domain { margin: 0; font-size: 13px; color: hsl(var(--h) 85% 72%); font-weight: 500; }
:root[data-theme="light"] .card__domain { color: hsl(var(--h) 65% 40%); }
.card__text { margin: 4px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Étapes */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; counter-reset: s; position: relative; }
.steps::before { content: ""; position: absolute; top: 46px; left: 8%; right: 8%; height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.step { position: relative; padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); backdrop-filter: blur(6px); }
.step__n { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 18px; border-radius: 14px; font: 800 18px/1 var(--display); color: #fff; background: var(--grad); background-size: 200% 100%; box-shadow: var(--glow); animation: shimmer 6s linear infinite; }
.step h3 { margin: 0 0 8px; font: 700 20px/1.25 var(--display); letter-spacing: -.02em; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.steps__cta { margin-top: 28px; display: flex; justify-content: center; }

/* Éditorial */
.editorial { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(28px, 6vw, 80px); padding: clamp(28px, 5vw, 60px); border-radius: 28px; border: 1px solid var(--line); background: var(--grad-soft), var(--surface); }
.editorial__aside { position: sticky; top: 110px; align-self: start; }
.editorial__big { margin: 0; font: 800 clamp(56px, 8vw, 110px)/.9 var(--display); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.editorial__big small { display: block; margin-top: 14px; font: 500 16px/1.4 var(--font); letter-spacing: 0; color: var(--muted); }
.prose { font-size: 16.5px; line-height: 1.75; color: color-mix(in oklab, var(--text) 86%, var(--muted)); }
.prose h2 { margin: 1.6em 0 .5em; font: 700 24px/1.2 var(--display); letter-spacing: -.02em; color: var(--text); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.4em 0 .4em; font: 700 20px/1.25 var(--display); color: var(--text); }
.prose p { margin: 0 0 1.05em; }
.prose strong { color: var(--text); }
.prose a { color: var(--cyan); text-decoration: underline; text-decoration-color: rgba(165, 148, 255, .4); text-underline-offset: 3px; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose img { border-radius: 14px; }
.prose--lg { font-size: 17.5px; }

/* Appel final */
.cta { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: clamp(48px, 8vw, 100px) 24px; border-radius: 32px; border: 1px solid var(--line-2); background: radial-gradient(ellipse at 50% 120%, rgba(124, 92, 255, .45), transparent 60%), var(--surface); }
.cta p { margin: 0 auto 28px; color: var(--muted); font-size: 18px; }
.cta__beam { position: absolute; inset: -50%; z-index: -1; background: conic-gradient(from var(--a), transparent 0 70%, rgba(124, 92, 255, .35), rgba(165, 148, 255, .3), transparent 95%); animation: spin 9s linear infinite; filter: blur(40px); }

/* ---------- En-tête des pages internes ---------- */
.pagehead { padding: clamp(20px, 4vw, 40px) 0 22px; }
.pagehead--center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.pagehead__row { display: flex; align-items: center; gap: 22px; }
.pagehead__ico { flex: none; width: 76px; height: 76px; display: grid; place-items: center; border-radius: 24px; color: hsl(var(--h) 95% 74%); background: hsl(var(--h) 80% 60% / .14); border: 1px solid hsl(var(--h) 80% 60% / .3); box-shadow: 0 20px 50px -20px hsl(var(--h) 80% 50% / .8); }
:root[data-theme="light"] .pagehead__ico { color: hsl(var(--h) 70% 42%); }
.pagehead__ico svg { width: 38px; height: 38px; }
.pagehead .muted { margin: 12px 0 0; font-size: 16px; }
.pagehead__desc { margin-top: 18px; max-width: 760px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 0; margin: 0 0 22px; padding: 0; font-size: 13.5px; color: var(--faint); }
.pagehead--center .crumbs ol { justify-content: center; }
.crumbs li + li::before { content: "/"; margin: 0 10px; opacity: .5; }
.crumbs a { color: var(--muted); transition: color .2s; }
.crumbs a:hover { color: var(--text); }
.crumbs [aria-current] { color: var(--text); }
.subcats { margin-top: 28px; }
.subcats__label { margin: 0 0 10px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--faint); }
.subcats__list { display: flex; flex-wrap: wrap; gap: 8px; }
.subcats__list--center { justify-content: center; margin-top: 20px; }
.empty { text-align: center; padding: 60px 20px; border-radius: var(--r); border: 1px dashed var(--line-2); }
.empty .btn { margin-top: 14px; }

.pager { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 44px 0 0; }
.pager .page-numbers { min-width: 44px; height: 44px; display: grid; place-items: center; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); font-weight: 600; font-size: 14.5px; transition: .25s var(--ease); }
.pager a.page-numbers:hover { border-color: var(--line-2); background: var(--surface-2); transform: translateY(-2px); }
.pager .current { background: var(--text); color: var(--bg); border-color: transparent; }
.pager .dots { border: 0; background: none; }

/* ---------- Fiche d'un site ---------- */
.sheet { padding-top: clamp(16px, 3vw, 30px); }
.sheet__hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.sheet__shot { position: relative; perspective: 1200px; }
.browser { position: relative; z-index: 1; border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); background: var(--bg-2); box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(255, 255, 255, .03);
  transform: rotateY(var(--ry, -8deg)) rotateX(var(--rx, 4deg)); transition: transform .8s var(--ease); }
.browser__bar { display: flex; align-items: center; gap: 7px; height: 38px; padding: 0 14px; border-bottom: 1px solid var(--line); background: var(--surface); }
.browser__bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.browser__bar i:nth-child(2) { background: #febc2e; }
.browser__bar i:nth-child(3) { background: #28c840; }
.browser__bar span { flex: 1; margin-left: 10px; height: 24px; display: flex; align-items: center; padding: 0 12px; border-radius: 8px; background: var(--surface-2); font-size: 12.5px; color: var(--muted); overflow: hidden; white-space: nowrap; }
.browser img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: top; }
.browser__empty { aspect-ratio: 4 / 3; gap: 12px; align-content: center; }
.browser__empty .mono { width: 96px; height: 96px; font-size: 46px; border-radius: 28px; }
.browser__empty small { color: var(--muted); }
.sheet__halo { position: absolute; inset: 10% 5% -10%; z-index: 0; border-radius: 50%; background: radial-gradient(circle, hsl(var(--h) 85% 55% / .55), transparent 65%); filter: blur(50px); animation: breathe 6s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.12); opacity: .75; } }
.sheet__info .chip { margin-bottom: 18px; }
.sheet__info .h1 { font-size: clamp(34px, 4.6vw, 60px); }
.sheet__domain { margin: 12px 0 0; font-size: 17px; font-weight: 500; color: hsl(var(--h) 85% 72%); }
:root[data-theme="light"] .sheet__domain { color: hsl(var(--h) 65% 40%); }
.sheet__visit { margin-top: 26px; }
.sheet__visit-label { display: block; margin-bottom: 10px; font-size: 13px; color: var(--muted); }
.sheet__visit .btn span { max-width: min(420px, 70vw); }
.facts { display: flex; flex-wrap: wrap; gap: 28px; margin: 30px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.facts dt { font-size: 12.5px; color: var(--faint); text-transform: uppercase; letter-spacing: .1em; }
.facts dd { margin: 4px 0 0; font-weight: 600; }
.admin-links { margin-top: 18px; font-size: 14px; color: var(--muted); }
.admin-links a { color: var(--cyan); }
.sheet__body { display: grid; grid-template-columns: 1fr 320px; gap: clamp(28px, 5vw, 70px); margin-top: clamp(48px, 7vw, 90px); }
.sheet__aside { position: sticky; top: 100px; align-self: start; }
.glass { padding: 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: var(--shadow); }
.kv { list-style: none; margin: 0 0 20px; padding: 0; }
.kv li { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.kv li span { color: var(--muted); }
.kv li b { text-align: right; font-weight: 600; word-break: break-word; }
.sheet__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 60px; }
.sheet__nav-a { padding: 20px 22px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); transition: .3s var(--ease); }
.sheet__nav-a:hover { border-color: var(--line-2); transform: translateY(-3px); }
.sheet__nav-a small { display: block; color: var(--faint); font-size: 13px; }
.sheet__nav-a b { font-family: var(--display); font-size: 17px; }
.sheet__nav-a--next { text-align: right; grid-column: 2; }

/* ---------- Formulaire d'inscription ---------- */
.submit { display: grid; grid-template-columns: 340px 1fr; gap: 24px; align-items: start; }
.rules { position: sticky; top: 100px; }
.rules__list { margin: 0 0 24px; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 14.5px; color: var(--muted); }
.rules__list li { position: relative; padding-left: 24px; }
.rules__list li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 3px; background: var(--grad); }
.rules__list b { color: var(--text); }
.rules__list--plain { margin-bottom: 0; }
.wizard { padding: clamp(22px, 4vw, 40px); }
.wizard__steps { list-style: none; display: flex; gap: 6px; margin: 0 0 14px; padding: 0; font-size: 13px; color: var(--faint); }
.wizard__steps li { flex: 1; display: flex; align-items: center; gap: 8px; transition: color .3s; }
.wizard__steps span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-2); font-weight: 700; font-size: 12px; transition: .4s var(--spring); }
.wizard__steps li.is-on, .wizard__steps li.is-done { color: var(--text); }
.wizard__steps li.is-on span { background: var(--text); color: var(--bg); border-color: transparent; transform: scale(1.12); }
.wizard__steps li.is-done span { background: var(--grad); color: #fff; border-color: transparent; }
.wizard__bar { height: 3px; border-radius: 3px; background: var(--line); overflow: hidden; margin-bottom: 30px; }
.wizard__bar span { display: block; height: 100%; width: 100%; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--w, .25)); transition: transform .6s var(--ease); }
.wstep { border: 0; margin: 0; padding: 0; min-width: 0; }
.wstep legend { padding: 0; margin-bottom: 18px; }
.js .wizard.is-ready .wstep { display: none; }
.js .wizard.is-ready .wstep.is-on { display: block; animation: stepin .55s var(--ease); }
.js .wizard.is-ready .wstep.is-on.is-back { animation-name: stepback; }
@keyframes stepin { from { opacity: 0; transform: translateX(30px); filter: blur(4px); } }
@keyframes stepback { from { opacity: 0; transform: translateX(-30px); filter: blur(4px); } }
.wizard:not(.is-ready) .wstep + .wstep { margin-top: 36px; padding-top: 30px; border-top: 1px solid var(--line); }
.field { margin-bottom: 20px; }
.field label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 14.5px; }
.field label small { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-2); background: color-mix(in oklab, var(--bg) 70%, transparent); outline: none; font-size: 16px; transition: border-color .25s, box-shadow .25s, background .25s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: rgba(124, 92, 255, .7); box-shadow: 0 0 0 5px rgba(124, 92, 255, .15); }
.field textarea { resize: vertical; line-height: 1.6; min-height: 240px; }
.field__hint { margin: 8px 0 0; font-size: 13.5px; color: var(--muted); }
.field__err { margin: 8px 0 0; font-size: 13.5px; color: var(--danger); font-weight: 500; animation: shake .45s; }
.has-err input, .has-err select, .has-err textarea { border-color: var(--danger); }
@keyframes shake { 20%, 60% { transform: translateX(-5px); } 40%, 80% { transform: translateX(5px); } }
.field.is-shake { animation: shake .45s; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.alert { margin: 0 0 22px; padding: 14px 16px; border-radius: 14px; border: 1px solid color-mix(in oklab, var(--danger) 50%, transparent); background: color-mix(in oklab, var(--danger) 12%, transparent); font-size: 14.5px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.unique { color: var(--danger); text-transform: uppercase; font-size: .7em; letter-spacing: .08em; vertical-align: middle; padding: 3px 8px; border-radius: 8px; border: 1px solid currentColor; }
.warn { margin: 6px 0 0; font-size: 13.5px; color: var(--muted); }
.preview { margin-top: 26px; }
.preview__label { margin: 0 0 10px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--faint); }
.preview__card { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 18px; border: 1px dashed var(--line-2); background: var(--surface); }
.preview__card .mono { width: 54px; height: 54px; font-size: 24px; border-radius: 16px; transition: background .5s; }
.preview__card b { display: block; font-family: var(--display); font-size: 18px; }
.preview__card small { color: var(--muted); }
.catpick__filter { margin-bottom: 10px; }
.js .catpick select { display: none; }
.catpick__grid { display: grid; gap: 18px; max-height: 420px; overflow: auto; padding: 4px; margin: 0 -4px; }
.catpick__grp b { display: block; margin-bottom: 8px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .1em; color: var(--faint); }
.catpick__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.catpick__opt { padding: 9px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); cursor: pointer; font-size: 14px; transition: .25s var(--ease); }
.catpick__opt:hover { border-color: var(--line-2); transform: translateY(-2px); }
.catpick__opt[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: transparent; transform: scale(1.04); }
.catpick__opt em { font-style: normal; font-size: 11px; opacity: .7; margin-left: 6px; }
.desc { position: relative; }
.ring { position: absolute; right: 12px; bottom: 12px; width: 52px; height: 52px; display: grid; place-items: center; pointer-events: none; }
.ring svg { position: absolute; inset: 0; transform: rotate(-90deg); }
.ring circle { stroke-width: 3.5; fill: none; }
.ring__track { stroke: var(--line-2); }
.ring__val { stroke: var(--danger); stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--v, 0)); transition: stroke-dashoffset .3s var(--ease), stroke .3s; }
.ring.is-ok .ring__val { stroke: var(--lime); }
.ring.is-max .ring__val { stroke: #ef4444; }
.ring b { font-size: 11.5px; font-variant-numeric: tabular-nums; }
.ring.is-ok { animation: bump .5s var(--spring); }
@keyframes bump { 50% { transform: scale(1.18); } }
.wizard__nav { display: flex; gap: 10px; justify-content: flex-end; margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--line); }
.js .wizard.is-ready [data-submit] { display: none; }
.js .wizard.is-ready.is-last [data-submit] { display: inline-flex; }
.js .wizard.is-ready.is-last [data-next] { display: none; }
.wizard:not(.is-ready) [data-next], .wizard:not(.is-ready) [data-prev] { display: none; }

.success { max-width: 760px; margin: 0 auto; text-align: center; padding: clamp(28px, 5vw, 50px); border-radius: 28px; border: 1px solid var(--line); background: var(--grad-soft), var(--surface); }
.success__check { width: 88px; height: 88px; margin: 0 auto 22px; }
.success__check svg { width: 100%; height: 100%; stroke: var(--lime); stroke-width: 3; }
.success__check circle { stroke-dasharray: 160; stroke-dashoffset: 160; animation: draw .9s var(--ease) forwards; }
.success__check path { stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .5s .7s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.codes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 26px 0; text-align: left; }
.code { padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: color-mix(in oklab, var(--bg) 70%, transparent); }
.code__label { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.code pre { margin: 0 0 12px; white-space: pre-wrap; word-break: break-all; font: 13px/1.5 ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--cyan); }
.delays { list-style: none; margin: 0 0 26px; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.delays li { padding: 16px 10px; border-radius: 16px; border: 1px solid var(--line); background: var(--surface); }
.delays b { display: block; font: 800 24px/1.1 var(--display); }
.delays span { font-size: 13px; color: var(--muted); }
.confetti { position: fixed; inset: 0; pointer-events: none; z-index: 80; }

/* ---------- Partenaires (widgets d'origine) ---------- */
.partners { margin-top: clamp(60px, 9vw, 110px); display: flex; flex-wrap: wrap; gap: 18px; justify-content: center; align-items: flex-start; }
.pwidget { flex: 1 1 280px; max-width: 420px; padding: 24px; border-radius: var(--r); border: 1px solid var(--line); background: var(--surface); font-size: 14.5px; color: var(--muted); line-height: 1.9; }
.pwidget:empty { display: none; }
.pwidget__title { margin: 0 0 10px; font: 700 18px/1.2 var(--display); color: var(--text); }
.pwidget a { color: var(--text); transition: color .2s; }
.pwidget a:hover { color: var(--cyan); }
.pwidget img { border-radius: 14px; margin: 0 auto; }
.pwidget br + br { display: none; }

/* ---------- Pied de page ---------- */
.footer { margin-top: clamp(60px, 9vw, 110px); border-top: 1px solid var(--line); background: linear-gradient(to bottom, transparent, color-mix(in oklab, var(--bg-2) 80%, transparent)); }
.footer__marquee { overflow: hidden; padding: 26px 0; border-bottom: 1px solid var(--line); }
.footer__marquee > div { display: flex; gap: 34px; width: max-content; animation: marquee 40s linear infinite; font: 800 clamp(30px, 5vw, 64px)/1 var(--display); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1px var(--line-2); }
.footer__marquee span:nth-child(4n+1) { color: var(--text); -webkit-text-stroke: 0; }
.footer__marquee span:nth-child(2n) { color: var(--violet); -webkit-text-stroke: 0; font-size: .6em; align-self: center; }
.footer__in { display: grid; grid-template-columns: 1fr 1.4fr; gap: 50px; padding: 54px 0 34px; }
.footer__brand p { max-width: 380px; margin: 18px 0 22px; color: var(--muted); font-size: 15px; }
.footer__label { margin: 0 0 14px; font-size: 12.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--faint); }
.footer__cats ul { list-style: none; margin: 0; padding: 0; columns: 3 150px; column-gap: 24px; }
.footer__cats li { margin-bottom: 8px; break-inside: avoid; }
.footer__cats a { color: var(--muted); font-size: 14.5px; transition: color .2s; }
.footer__cats a:hover { color: var(--text); }
.footer__base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding: 20px 0 30px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--faint); }

/* ---------- Palette de recherche ---------- */
.palette { position: fixed; inset: 0; z-index: 90; display: flex; justify-content: center; align-items: flex-start; padding: 12vh 16px 16px; }
.palette[hidden] { display: none; }
.palette__backdrop { position: absolute; inset: 0; background: rgba(4, 4, 10, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: fade .25s; }
@keyframes fade { from { opacity: 0; } }
.palette__box { position: relative; width: min(100%, 640px); border-radius: 22px; border: 1px solid var(--line-2); background: color-mix(in oklab, var(--bg) 92%, transparent); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, .8), var(--glow); overflow: hidden; animation: palin .4s var(--spring); }
@keyframes palin { from { opacity: 0; transform: translateY(-14px) scale(.96); } }
.palette__field { display: flex; align-items: center; gap: 12px; padding: 0 16px 0 20px; border-bottom: 1px solid var(--line); }
.palette__field svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.palette__field input { flex: 1; min-width: 0; height: 62px; border: 0; background: none; outline: none; font-size: 18px; }
.palette__field input::-webkit-search-cancel-button { display: none; }
.palette__results { max-height: min(60vh, 520px); overflow: auto; padding: 8px; }
.palette__hint { margin: 0; padding: 18px 12px; color: var(--faint); font-size: 14px; }
.res__grp { margin: 8px 10px 6px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .12em; color: var(--faint); }
.res { display: flex; align-items: center; gap: 14px; padding: 9px 10px; border-radius: 14px; transition: background .15s; animation: resin .35s var(--ease) both; animation-delay: calc(var(--i) * 30ms); }
@keyframes resin { from { opacity: 0; transform: translateY(6px); } }
.res img, .res .res__ico { flex: none; width: 64px; height: 48px; border-radius: 9px; object-fit: cover; object-position: top; border: 1px solid var(--line); background: var(--bg-2); }
.res .res__ico { display: grid; place-items: center; width: 40px; height: 40px; }
.res .res__ico svg { width: 18px; height: 18px; color: var(--muted); }
.res b { display: block; font-size: 15px; font-weight: 600; line-height: 1.3; }
.res small { color: var(--muted); font-size: 13px; }
.res mark { background: none; color: var(--cyan); }
.res.is-active, .res:hover { background: var(--surface-2); }
.res__all { display: block; margin: 6px 4px 4px; padding: 12px; border-radius: 12px; text-align: center; font-weight: 600; font-size: 14px; color: var(--muted); border: 1px dashed var(--line-2); }
.res__all:hover { color: var(--text); }
.res__none { padding: 18px 12px; margin: 0; color: var(--muted); }
.spin { width: 18px; height: 18px; margin: 18px auto; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--violet); animation: rot .7s linear infinite; }
@keyframes rot { to { transform: rotate(360deg); } }

.totop { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 52px; height: 52px; border: 0; border-radius: 50%; padding: 0; cursor: pointer; background: color-mix(in oklab, var(--bg) 80%, transparent); backdrop-filter: blur(10px); color: var(--text);
  opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: .45s var(--spring); box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6); }
.totop.is-on { opacity: 1; transform: none; pointer-events: auto; }
.totop svg { width: 100%; height: 100%; }
.totop circle { stroke-width: 2.2; fill: none; }
.totop__track { stroke: var(--line-2); }
.totop__ring { stroke: url(#none); stroke: var(--pink); stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--p, 0) * 100); transform: rotate(-90deg); transform-origin: 50% 50%; }
.totop path { stroke-width: 2; }

.checklist { columns: 2 340px; gap: 30px; padding-left: 1.4em; }
.checklist li { margin-bottom: 8px; break-inside: avoid; }
.checklist li a:first-child { font-weight: 600; margin-right: 10px; }
.checklist .muted { font-size: 13.5px; }

/* =====================================================================
   Composants portés de Magic UI (magicui.design) en CSS/JS natif
   ===================================================================== */

/* Bascule de thème en cercle (Animated Theme Toggler) */
html.theme-vt::view-transition-old(root), html.theme-vt::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
html.theme-vt::view-transition-new(root) { clip-path: var(--vt-from, none); }

/* Grille scintillante (Flickering Grid) : remplace le quadrillage du héros */
.hero__grid { background: none; animation: none; inset: 0 0 auto; height: min(100%, 980px); }
.hero__grid canvas { display: block; width: 100%; height: 100%; }

/* Rayons de lumière (Light Rays) */
.rays { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.rays::before, .rays::after { content: ""; position: absolute; inset: 0; opacity: .6; }
.rays::before { background: radial-gradient(circle at 20% 15%, rgba(165, 148, 255, .14), transparent 70%); }
.rays::after { background: radial-gradient(circle at 80% 10%, rgba(165, 148, 255, .1), transparent 75%); }
.ray { position: absolute; top: -12%; left: var(--l); width: var(--w); height: 75vh; transform-origin: 50% 0; translate: -50% 0; border-radius: 999px;
  background: linear-gradient(to bottom, rgba(221, 214, 254, .32), transparent); filter: blur(36px); mix-blend-mode: screen; opacity: 0;
  animation: ray var(--dur) ease-in-out var(--delay) infinite; }
:root[data-theme="light"] .ray { background: linear-gradient(to bottom, rgba(124, 92, 255, .16), transparent); mix-blend-mode: multiply; }
@keyframes ray { 0%, 100% { opacity: 0; rotate: calc(var(--rot) - var(--sw)); } 50% { opacity: var(--int); rotate: calc(var(--rot) + var(--sw)); } }

/* Faisceau sur la bordure (Border Beam) */
.beam { position: relative; }
.beam__track { position: absolute; inset: 0; z-index: 3; pointer-events: none; border-radius: inherit; border: 1.5px solid transparent;
  -webkit-mask: linear-gradient(transparent, transparent) padding-box, linear-gradient(#000, #000) border-box; mask: linear-gradient(transparent, transparent) padding-box intersect, linear-gradient(#000, #000) border-box;
  -webkit-mask-composite: source-in; mask-composite: intersect; }
.beam__track i { position: absolute; width: var(--bs, 90px); aspect-ratio: 1; offset-path: rect(0 auto auto 0 round var(--bs, 90px)); offset-distance: 0%;
  background: linear-gradient(to left, var(--pink), var(--violet), transparent); animation: beam var(--bd, 7s) linear infinite; animation-delay: var(--bdl, 0s); }
.beam__track i + i { background: linear-gradient(to left, var(--cyan), var(--violet), transparent); animation-delay: calc(var(--bd, 7s) / -2); }
@keyframes beam { to { offset-distance: 100%; } }
@supports not (offset-path: rect(0 auto auto 0)) { .beam__track { display: none; } }

/* Manifeste qui s'allume au défilement (Text Reveal) */
.manifesto { position: relative; height: 230vh; margin-top: clamp(40px, 8vw, 100px); }
.manifesto__sticky { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; padding: 0 16px; }
.manifesto__text { max-width: 1000px; margin: 0; font: 750 clamp(30px, 5vw, 68px)/1.12 var(--display); letter-spacing: -.035em; text-align: center; text-wrap: balance; }
.manifesto__text .w { position: relative; display: inline-block; }
.manifesto__text .w > span:first-child { opacity: .14; }
.manifesto__text .w > span + span { position: absolute; left: 0; top: 0; opacity: var(--o, 0); transition: opacity .15s linear; }
.manifesto__text .w.is-key > span + span { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.no-reveal .manifesto { height: auto; }
.no-reveal .manifesto__sticky { position: static; height: auto; padding: 60px 16px; }

/* Inscription : étapes + fil des derniers sites validés (Animated List) */
.signup { display: grid; grid-template-columns: 1.15fr 1fr; gap: 22px; align-items: start; }
.steps--stack { grid-template-columns: 1fr; gap: 14px; }
.steps--stack::before { display: none; }
.steps--stack .step { display: grid; grid-template-columns: 54px 1fr; column-gap: 16px; padding: 22px; }
.steps--stack .step__n { grid-row: span 2; margin: 0; }
.feed { position: sticky; top: 100px; padding: 22px; overflow: hidden; }
.feed__head { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font-weight: 600; font-size: 14px; color: var(--muted); }
.feed__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; min-height: 330px;
  -webkit-mask-image: linear-gradient(#000 75%, transparent); mask-image: linear-gradient(#000 75%, transparent); }
.feed__item a { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 16px; border: 1px solid var(--line); background: color-mix(in oklab, var(--bg) 55%, transparent); transition: border-color .25s, transform .3s var(--spring); }
.feed__item a:hover { border-color: hsl(var(--h) 80% 65% / .5); transform: scale(1.02); }
.feed__item.is-new { animation: feedin .7s var(--spring) both; }
@keyframes feedin { from { opacity: 0; transform: scale(.85) translateY(-24px); } }
.mono--sm { width: 40px; height: 40px; font-size: 18px; border-radius: 12px; flex: none; }
.feed__txt { min-width: 0; flex: 1; }
.feed__txt b { display: block; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.feed__txt small { color: var(--muted); font-size: 12.5px; }
.feed__ok { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: rgba(124, 92, 255, .14); color: var(--lime); flex: none; }
.feed__ok svg { width: 15px; height: 15px; stroke-width: 2.4; }

/* Orbites des catégories (Orbiting Circles) */
.orbit { position: relative; width: min(100%, 360px); aspect-ratio: 1; margin: 18px auto 0; --R1: 34%; --R2: 49%; }
.orbit__ring { position: absolute; inset: calc(50% - (var(--r) * 60px + 40px)); border-radius: 50%; border: 1px dashed var(--line-2); }
.orbit__ico { --rad: calc(var(--r) * 15% + 19%); position: absolute; left: 50%; top: 50%; width: 42px; height: 42px; margin: -21px 0 0 -21px; display: grid; place-items: center; border-radius: 50%;
  color: hsl(var(--h) 95% 74%); background: color-mix(in oklab, var(--bg) 70%, hsl(var(--h) 80% 50%)); border: 1px solid hsl(var(--h) 80% 60% / .35); box-shadow: 0 8px 24px -8px hsl(var(--h) 80% 40% / .8);
  animation: orbit calc(var(--r) * 22s + 14s) linear infinite; }
.orbit__ico[style*="--r:2"] { animation-direction: reverse; }
:root[data-theme="light"] .orbit__ico { color: hsl(var(--h) 70% 40%); background: #fff; }
.orbit__ico svg { width: 19px; height: 19px; }
.orbit:hover .orbit__ico { animation-play-state: paused; }
@keyframes orbit { from { transform: rotate(var(--a)) translateX(calc(var(--r) * 60px + 40px)) rotate(calc(-1 * var(--a))); } to { transform: rotate(calc(var(--a) + 360deg)) translateX(calc(var(--r) * 60px + 40px)) rotate(calc(-1 * var(--a) - 360deg)); } }
.orbit__core { position: absolute; inset: 34%; margin: 0; display: grid; place-content: center; text-align: center; border-radius: 50%; background: var(--grad-soft), var(--surface-2); border: 1px solid var(--line-2); box-shadow: var(--glow); }
.orbit__core b { font: 800 clamp(24px, 3vw, 34px)/1 var(--display); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.orbit__core small { font-size: 12px; color: var(--muted); }
.editorial__big { font-size: 0; }
.editorial__big small { margin-top: 18px; text-align: center; }

/* Météores (Meteors) */
.meteors { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.meteor { position: absolute; top: -5%; width: 2px; height: 2px; border-radius: 50%; background: #ddd6fe; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 0 8px 1px rgba(221, 214, 254, .7);
  rotate: 215deg; animation: meteor linear infinite; opacity: 0; }
.meteor::after { content: ""; position: absolute; top: 50%; left: 0; width: 70px; height: 1px; translate: 0 -50%; background: linear-gradient(to right, #ddd6fe, transparent); }
@keyframes meteor { 0% { transform: translateX(0); opacity: 0; } 5% { opacity: 1; } 70% { opacity: 1; } 100% { transform: translateX(-900px); opacity: 0; } }

/* Bandeau du pied de page piloté par le défilement (Scroll Based Velocity) */
.footer__marquee.is-js > div { animation: none; will-change: transform; }

/* Barre de navigation mobile (inspirée du Dock) */
.dock { display: none; }
@media (max-width: 860px) {
  .drawer { padding-bottom: 110px; }
  body.menu-open .dock { transform: none; }
  .dock [aria-expanded="true"] { color: var(--text); background: var(--surface-2); }
  .dock { position: fixed; left: 12px; right: 12px; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 46; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 6px; border-radius: 22px;
    border: 1px solid var(--line-2); background: color-mix(in oklab, var(--bg) 78%, transparent); backdrop-filter: blur(20px) saturate(1.5); -webkit-backdrop-filter: blur(20px) saturate(1.5); box-shadow: 0 20px 50px -14px rgba(0, 0, 0, .7);
    transform: translateY(0); transition: transform .45s var(--ease); }
  .dock.is-hidden { transform: translateY(140%); }
  .dock a, .dock button { display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 8px 4px; border: 0; border-radius: 16px; background: none; color: var(--muted); font-size: 11px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s, transform .3s var(--spring); }
  .dock a:active, .dock button:active { transform: scale(.9); }
  .dock svg { width: 22px; height: 22px; }
  .dock [aria-current="page"] { color: var(--text); background: var(--surface-2); }
  .dock .dock__cta { color: #fff; background: var(--grad); background-size: 200% 100%; animation: shimmer 6s linear infinite; }
  .totop { bottom: calc(max(12px, env(safe-area-inset-bottom)) + 84px); }
  /* la barre du bas porte déjà la recherche et les catégories : pas de doublon en haut */
  .topbar .kbd-search, .topbar .burger { display: none; }
  .eyebrow { white-space: nowrap; }
  .footer { padding-bottom: 90px; }
  .signup { grid-template-columns: 1fr; }
  .feed { position: relative; top: 0; }
  .manifesto { height: 180vh; }
}

@media (prefers-reduced-motion: reduce) {
  .rays, .meteors, .beam__track { display: none; }
  .orbit__ico { animation: none; transform: rotate(var(--a)) translateX(calc(var(--r) * 60px + 40px)) rotate(calc(-1 * var(--a))); }
}

/* ---------- Adaptation aux écrans ---------- */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .tile--xl { grid-row: span 1; min-height: 240px; }
  .tile--xl:nth-child(2) { grid-column: span 1; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .kbd-search span, .kbd-search kbd { display: none; }
  .kbd-search { padding: 0 11px; }
  .submit { grid-template-columns: 1fr; }
  .rules { position: static; order: 2; }
}
@media (max-width: 860px) {
  .nav, .topbar__actions > .btn { display: none; }
  .burger { display: flex; }
  .brand__name { font-size: 14px; }
  .sheet__hero, .sheet__body, .editorial { grid-template-columns: 1fr; }
  .sheet__aside, .editorial__aside { position: static; }
  .steps { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .footer__in { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .codes { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .brand__name em { display: none; }
  .bento { grid-template-columns: 1fr 1fr; gap: 10px; }
  .tile { min-height: 160px; padding: 16px; }
  .tile--xl { grid-column: span 2; min-height: 220px; padding: 22px; }
  .tile--xl:nth-child(2) { grid-column: span 2; }
  .tile__count { top: 16px; right: 16px; font-size: 12px; }
  .tile__name { font-size: 17px; }
  .eyebrow { font-size: 12.5px; text-align: left; }
  .tile__ico { width: 44px; height: 44px; border-radius: 14px; }
  .cards { grid-template-columns: 1fr; }
  .bigsearch { padding: 6px 6px 6px 14px; border-radius: 18px; }
  .bigsearch .btn span { display: none; }
  .bigsearch .btn { padding: 0 14px; }
  .bigsearch .btn::before { content: "→"; font-size: 18px; }
  .bigsearch input { font-size: 16px; height: 44px; }
  .hero__ctas { width: 100%; flex-direction: column; }
  .hero__ctas .btn { width: 100%; }
  .shot { width: 180px; border-radius: 12px; }
  .wall { margin-top: 44px; gap: 10px; }
  .wall__track { gap: 10px; }
  .pagehead__row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .pagehead__ico { width: 60px; height: 60px; border-radius: 18px; }
  .row2 { grid-template-columns: 1fr; }
  .wizard__steps li { font-size: 0; gap: 0; justify-content: center; }
  .delays { grid-template-columns: 1fr; }
  .sheet__nav { grid-template-columns: 1fr; }
  .sheet__nav-a--next { grid-column: 1; }
  .browser { transform: none; }
  .wizard__nav .btn { flex: 1; }
  .topbar__in { gap: 10px; padding: 6px 6px 6px 10px; }
  .brand { gap: 8px; }
}

/* ---------- Mouvement réduit ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js [data-intro], .js [data-reveal], .js .hero__title .line > span { opacity: 1 !important; transform: none !important; filter: none !important; }
  .wall__track, .footer__marquee > div { animation: none !important; }
  .aurora, .grain, .cursor-glow { display: none; }
  @view-transition { navigation: none; }
}

/* =====================================================================
   Performance (audit du 2026-11-19) : même rendu, calcul bien moins cher.
   Mesure avant : 7 images/s sur l'accueil (décor cumulé). Règles placées
   en dernier pour remplacer celles du haut.
   ===================================================================== */

/* Aurore : les dégradés radiaux sont déjà doux, le flou (filter: blur) et le mélange de calques étaient inutiles et coûteux */
.aurora i, :root[data-theme="light"] .aurora i { filter: none; mix-blend-mode: normal; }
.aurora i:nth-child(1) { background: radial-gradient(circle, rgba(124, 58, 237, .55) 0, rgba(124, 58, 237, .2) 32%, transparent 68%); }
.aurora i:nth-child(2) { background: radial-gradient(circle, rgba(190, 24, 93, .5) 0, rgba(190, 24, 93, .18) 32%, transparent 66%); }
.aurora i:nth-child(3) { background: radial-gradient(circle, rgba(8, 145, 178, .5) 0, rgba(8, 145, 178, .18) 32%, transparent 68%); }

/* Grain : texture fixe (l'animer redessinait tout l'écran 5 fois par seconde) */
.grain { animation: none; inset: 0; }

/* Rayons : ellipse dégradée à la place du flou */
.ray, :root[data-theme="light"] .ray { filter: none; mix-blend-mode: normal; background: radial-gradient(50% 100% at 50% 0, rgba(221, 214, 254, .26), rgba(221, 214, 254, .08) 45%, transparent 75%); }
:root[data-theme="light"] .ray { background: radial-gradient(50% 100% at 50% 0, rgba(124, 92, 255, .14), transparent 75%); }

/* Texte en dégradé : fixe (l'animation repeignait chaque titre en continu) */
.grad { animation: none; background-size: 100% 100%; }

/* Flou d'arrière-plan gardé seulement sur les éléments flottants (barre du haut, menus, palette, barre mobile) */
.eyebrow, .bigsearch, .stats > div, .step, .glass, .shot span, .card__arrow { backdrop-filter: none; -webkit-backdrop-filter: none; }
.bigsearch { background: color-mix(in oklab, var(--bg) 82%, transparent); }
.stats > div { background: color-mix(in oklab, var(--bg) 88%, transparent); }

/* Entrées plus rapides : le contenu est lisible en moins de 0,6 s */
.js [data-intro] { filter: none; transform: translateY(12px); animation-duration: .55s; animation-delay: calc(var(--d, 0) * .05s); }
@keyframes intro { to { opacity: 1; transform: none; } }
.js .hero__title .line > span { animation-duration: .7s; }
.js .hero__title .line:nth-child(3) > span { animation-delay: .08s; }
.js .hero__title .line:nth-child(4) > span { animation-delay: .16s; }
.js [data-reveal] { transition-duration: .5s, .55s; transition-delay: calc(var(--i, 0) * 35ms); }

/* Transition entre pages : courte et sans flou */
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .22s; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

/* Animations du héros en pause quand il n'est plus à l'écran */
.hero.is-off .ray, .hero.is-off .wall__track, .hero.is-off .bigsearch__glow { animation-play-state: paused; }
.cta:not(.is-in) .meteor, .cta:not(.is-in) .cta__beam { animation-play-state: paused; }

/* Mode allégé automatique (appareil modeste, économie de données) : le décor reste, sans les effets continus */
.lite .rays, .lite .hero__grid, .lite .meteors, .lite .cursor-glow, .lite .grain { display: none; }
.lite .aurora i, .lite .bigsearch__glow, .lite .cta__beam { animation: none; }
.lite .wall { transform: none; }

/* Grille : le fondu est calculé dans le dessin, plus de masque CSS à recomposer */
.hero__grid { -webkit-mask-image: none; mask-image: none; }
/* Rayons : moins hauts, calques dédiés pour que seule la composition travaille */
.ray { height: 55vh; will-change: transform, opacity; }

/* Mot qui tourne : les mots en attente sont peints dès le premier affichage (opacité quasi nulle au lieu de 0),
   sinon Chrome compte chaque nouveau mot comme « plus grand élément affiché » et l'indicateur LCP grimpe à 4 s */
.rotator b { opacity: .001; }
.rotator b.is-on { opacity: 1; }
.rotator b.is-out { opacity: .001; }

/* Manifeste : texte affiché d'un coup (l'effet mot à mot a été retiré), section à hauteur normale */
.manifesto { height: auto; margin-top: 0; padding: clamp(70px, 11vw, 130px) 0 0; }
.manifesto__text { margin: 0 auto; }

/* =====================================================================
   Tuiles des catégories (retour de Nicolas sur téléphone, 2026-11-19 : « font un peu vide »)
   Les sous-catégories sont toujours affichées (le survol n'existe pas sur téléphone),
   et sur mobile les petites tuiles deviennent des lignes compactes.
   ===================================================================== */
.tile__name { overflow-wrap: normal; }
.tile:not(.tile--xl) .tile__subs { display: flex; animation: none; }
.tile:not(.tile--xl) { min-height: 0; }
.tile:not(.tile--xl) .tile__name { margin-top: 0; padding-top: 22px; }

@media (max-width: 620px) {
  .tile--xl, .tile--xl:nth-child(2) { min-height: 0; padding: 20px; }
  .tile--xl .tile__name { padding-top: 18px; font-size: 26px; }
  .tile--xl .tile__ico { width: 56px; height: 56px; border-radius: 18px; }
  .tile--xl .tile__ico svg { width: 28px; height: 28px; }

  .tile:not(.tile--xl) { grid-column: span 2; display: grid; grid-template-columns: 46px 1fr auto; grid-template-areas: "ico name count" "ico subs subs";
    column-gap: 14px; row-gap: 3px; align-items: center; padding: 14px 16px; }
  .tile:not(.tile--xl) .tile__ico { grid-area: ico; width: 46px; height: 46px; border-radius: 14px; transform: none; }
  .tile:not(.tile--xl) .tile__ico svg { width: 22px; height: 22px; }
  .tile:not(.tile--xl) .tile__name { grid-area: name; margin: 0; padding: 0; font-size: 17px; transform: none; }
  .tile:not(.tile--xl) .tile__count { grid-area: count; position: static; font-size: 12.5px; }
  .tile:not(.tile--xl) .tile__subs { grid-area: subs; display: block; margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; color: var(--muted); }
  .tile:not(.tile--xl) .tile__subs span { display: inline; padding: 0; border: 0; background: none; font-size: inherit; }
  .tile:not(.tile--xl) .tile__subs span:not(:last-child)::after { content: " · "; }
  .tile:not(.tile--xl) .tile__subs .more { color: var(--faint); }
  .tile:not(.tile--xl) .tile__go { display: none; }
  .bento { gap: 8px; }
}

/* Héros sur mobile : moins d'espace entre la barre du haut et le bandeau « Annuaire gratuit » (retour de Nicolas, 2026-11-19) */
@media (max-width: 620px) {
  .hero { padding-top: 36px; }
  .eyebrow { margin-bottom: 20px; }
}

/* Textes longs (« d'Informatique/Internet », titres de sites, domaines) : ils passent à la ligne au lieu d'élargir la page.
   Cause du défaut : les blocs flexibles prennent la largeur de leur plus long mot (min-width: auto). Retour de Nicolas, 2026-11-19. */
.pagehead__row > div, .sheet__info, .card__body, .feed__txt, .sheet__nav-a, .kv li b { min-width: 0; }
.h1, .h2, .h3, .card__title, .sheet__domain, .card__domain, .crumbs li, .prose { overflow-wrap: break-word; }
@media (max-width: 620px) {
  .h1 { font-size: clamp(32px, 9vw, 44px); }
  .chip--lg { padding: 7px 12px; font-size: 13.5px; }
}

/* =====================================================================
   Palette bleu / rouge (demande de Nicolas, 2026-11-19 : « trop arc-en-ciel,
   juste bleu et rouge, blanc si besoin, gris ou noir pour les textes »).
   Code couleur, le même partout :
   - bleu  = marque, liens, mots mis en avant, icônes, progression ;
   - rouge = bouton d'action principal (Proposer un site, Visiter le site) et erreurs.
   Les anciennes variables sont redirigées vers ces deux couleurs.
   ===================================================================== */
:root, :root[data-theme="light"] {
  --blue: #3b82f6; --blue-hi: #60a5fa; --blue-deep: #1d4ed8;
  --red: #ef4444; --red-deep: #dc2626;
  --violet: var(--blue); --cyan: var(--blue-hi); --pink: var(--red); --lime: var(--blue-hi);
  --grad: linear-gradient(90deg, var(--blue), var(--blue));
  --grad-soft: linear-gradient(135deg, rgba(124, 92, 255, .16), rgba(124, 92, 255, .05) 55%, rgba(124, 92, 255, .08));
  --glow: 0 0 0 1px rgba(124, 92, 255, .35), 0 12px 40px -10px rgba(124, 92, 255, .5);
  --glow-red: 0 0 0 1px rgba(124, 92, 255, .4), 0 12px 40px -10px rgba(124, 92, 255, .55);
}
:root[data-theme="light"] { --blue: #2563eb; --blue-hi: #2563eb; --red: #dc2626; }
::selection { background: rgba(124, 92, 255, .45); }
:focus-visible { outline-color: var(--blue-hi); }

/* Texte mis en avant : bleu uni ; le mot qui tourne : rouge */
.grad { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--blue-hi); }
.rotator { color: var(--red); }
.kicker, :root:not([data-theme="light"]) .kicker { color: var(--blue-hi); }

/* Boutons d'action principaux : rouge */
.btn--glow, .dock .dock__cta { background: var(--red); animation: none; box-shadow: var(--glow-red); color: #fff; }
.btn--glow::before { display: none; }
.btn--glow:hover { background: var(--red-deep); box-shadow: 0 0 0 1px rgba(124, 92, 255, .5), 0 18px 46px -10px rgba(124, 92, 255, .65); }

/* Marque et numéros d'étape : bleu uni */
.brand__mark, .step__n { background: var(--blue); animation: none; }
.brand__mark b { animation: none; }

/* Monogrammes et vignettes vides : bleu */
.mono { background: linear-gradient(135deg, var(--blue), var(--blue-deep)); box-shadow: 0 12px 30px -10px rgba(76, 52, 200, .8); }
.card__media--empty, .browser__empty { background: radial-gradient(circle at 30% 20%, rgba(124, 92, 255, .3), transparent 60%), var(--bg-2); }

/* Points « en direct » : rouge */
.dot { background: var(--red); animation: ping-red 2s infinite; }
@keyframes ping-red { 0% { box-shadow: 0 0 0 0 rgba(124, 92, 255, .6); } 70% { box-shadow: 0 0 0 10px rgba(124, 92, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(124, 92, 255, 0); } }

/* Barre de progression, retour en haut */
.progress span { box-shadow: 0 0 12px rgba(124, 92, 255, .7); }
.totop__ring { stroke: var(--blue); }

/* Décor : aurore bleue et rouge très discrète, rayons et météores blancs/bleus, halo du curseur bleu */
.aurora i:nth-child(1) { background: radial-gradient(circle, rgba(91, 63, 224, .5) 0, rgba(91, 63, 224, .16) 32%, transparent 68%); }
.aurora i:nth-child(2) { background: radial-gradient(circle, rgba(124, 92, 255, .32) 0, rgba(124, 92, 255, .1) 32%, transparent 66%); }
.aurora i:nth-child(3) { background: radial-gradient(circle, rgba(91, 63, 224, .4) 0, rgba(91, 63, 224, .12) 32%, transparent 68%); }
.ray, :root[data-theme="light"] .ray { background: radial-gradient(50% 100% at 50% 0, rgba(221, 214, 254, .22), rgba(221, 214, 254, .06) 45%, transparent 75%); }
:root[data-theme="light"] .ray { background: radial-gradient(50% 100% at 50% 0, rgba(91, 63, 224, .1), transparent 75%); }
.rays::before { background: radial-gradient(circle at 20% 15%, rgba(124, 92, 255, .12), transparent 70%); }
.rays::after { background: radial-gradient(circle at 80% 10%, rgba(124, 92, 255, .06), transparent 75%); }
.meteor { background: #ede9fe; box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 0 8px 1px rgba(196, 181, 253, .7); }
.meteor::after { background: linear-gradient(to right, #ddd6fe, transparent); }
.cursor-glow { background: radial-gradient(circle, rgba(124, 92, 255, .13), transparent 60%); }
.cta { background: radial-gradient(ellipse at 50% 120%, rgba(91, 63, 224, .4), transparent 60%), var(--surface); }
.cta__beam { background: conic-gradient(from var(--a), transparent 0 70%, rgba(124, 92, 255, .35), rgba(124, 92, 255, .25), transparent 95%); }
.bigsearch__glow { background: conic-gradient(from var(--a, 0deg), transparent 0 60%, var(--blue), var(--blue-hi), var(--red), transparent 95%); }
.beam__track i { background: linear-gradient(to left, var(--blue-hi), var(--blue), transparent); }
.beam__track i + i { background: linear-gradient(to left, var(--red), rgba(124, 92, 255, .4), transparent); }

/* Fenêtre de navigateur des fiches : pastilles neutres */
.browser__bar i, .browser__bar i:nth-child(2), .browser__bar i:nth-child(3) { background: var(--line-2); }

/* Coches de validation, compteur de description */
.feed__ok { background: rgba(124, 92, 255, .14); color: var(--blue-hi); }
.ring.is-ok .ring__val { stroke: var(--blue); }
.ring.is-max .ring__val { stroke: var(--red); }
.success__check svg { stroke: var(--blue-hi); }
.footer__marquee span:nth-child(2n) { color: var(--red); }

/* =====================================================================
   Fil d'Ariane sur une seule ligne (retour de Nicolas, 2026-11-19).
   Sur mobile, la page courante (déjà en titre juste dessous) est masquée
   et les liens trop longs sont coupés par « … ».
   ===================================================================== */
.crumbs ol { flex-wrap: nowrap; overflow: hidden; }
.crumbs li { display: flex; min-width: 0; white-space: nowrap; }
.crumbs li > a, .crumbs li > span { overflow: hidden; text-overflow: ellipsis; }
.crumbs li:first-child { flex: none; }
@media (max-width: 620px) {
  .crumbs li:has([aria-current]) { display: none; }
  .crumbs ol { font-size: 13px; margin-bottom: 16px; }
}

/* Fiche : la catégorie est déjà dans le fil d'Ariane, la pastille sous la capture faisait doublon */
.sheet__info > .chip { display: none; }

/* =====================================================================
   Logo RAW (2026-11-19) : R dont la jambe est une coche (validé à la main), point rouge.
   Remplace l'ancien bloc de lettres « RAW » en dégradé.
   ===================================================================== */
.brand { gap: 11px; }
.brand .logo { flex: none; display: block; border-radius: 11px; box-shadow: 0 6px 18px -6px rgba(91, 63, 224, .7); transition: transform .4s var(--spring); }
.brand:hover .logo { transform: rotate(-6deg) scale(1.05); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text b { font: 800 21px/1 var(--display); letter-spacing: -.035em; color: var(--text); }
.brand__text small { margin-top: 4px; font: 600 10px/1 var(--font); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.brand--lg .brand__text b { font-size: 30px; }
.brand--lg .brand__text small { font-size: 11px; }
@media (max-width: 620px) { .topbar .brand__text small { display: none; } .topbar .brand__text b { font-size: 22px; } }

/* =====================================================================
   Palette à un seul accent (demande de Nicolas, 2026-11-19 : « bleu et rouge pas très beau,
   je te laisse libre mais je veux moins de couleur qu'au début »).
   Accent indigo unique + blanc, gris, noir. Le rouge ne sert plus qu'aux erreurs (--danger).
   Les anciennes variables (--blue, --red, --violet…) pointent toutes sur l'accent.
   ===================================================================== */
:root, :root[data-theme="light"] {
  --accent: #7c5cff; --accent-hi: #a594ff; --accent-deep: #5b3fe0;
  --blue: var(--accent); --blue-hi: var(--accent-hi); --blue-deep: var(--accent-deep);
  --red: var(--accent); --red-deep: var(--accent-deep);
  --glow-red: var(--glow);
}
:root[data-theme="light"] { --accent: #5b3fe0; --accent-hi: #5b3fe0; --accent-deep: #4527c4; }
.ring.is-max .ring__val { stroke: var(--danger); }
/* Titre de l'accueil : un seul fragment en couleur (le mot qui tourne), le reste en blanc */
.hero__title .grad { color: var(--text); }
.btn--glow { color: #fff; }

/* =====================================================================
   Logo typographique « raw. » (remplace le R-coche jugé « on dirait un bug »)
   ===================================================================== */
.brand { gap: 12px; align-items: center; }
.wordmark { font: 800 30px/1 var(--display); letter-spacing: -.06em; color: var(--text); padding-bottom: 2px; }
.wordmark i { font-style: normal; color: var(--accent-hi); }
.brand__tag { padding-left: 12px; border-left: 1px solid var(--line-2); font: 600 10.5px/1.25 var(--font); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.brand--lg .wordmark { font-size: 54px; }
.brand--lg .brand__tag { font-size: 12px; padding-left: 16px; }
@media (max-width: 620px) { .topbar .brand__tag { display: none; } .topbar .wordmark { font-size: 28px; } }

/* SEO (2026-11-19) : le bandeau du héros devient le H1 ; le slogan n'a plus de texte masqué avant lui */
h1.eyebrow { font-weight: 500; line-height: 1.4; letter-spacing: 0; }
.js .hero__title .line:nth-child(1) > span { animation-delay: 0s; }
.js .hero__title .line:nth-child(2) > span { animation-delay: .08s; }
.js .hero__title .line:nth-child(3) > span { animation-delay: .16s; }
.bigsearch--sm { margin-inline: auto; }

/* Logo un peu plus grand (demande de Nicolas, 2026-11-19) */
.wordmark { font-size: 34px; }
@media (max-width: 620px) { .topbar .wordmark { font-size: 31px; } }

/* Logo encore plus grand (demande de Nicolas, 2026-11-20) */
.wordmark { font-size: 42px; }
.brand__tag { font-size: 11.5px; }
@media (max-width: 620px) { .topbar .wordmark { font-size: 36px; } }

/* =====================================================================
   Mobile (retour de Nicolas, 2026-11-20)
   1. La page ne doit jamais glisser de droite à gauche au doigt.
   2. La barre du bas se cache pendant la saisie (sinon elle flotte au-dessus du clavier).
   ===================================================================== */
html, body { overflow-x: clip; max-width: 100%; }
html { touch-action: pan-y pinch-zoom; }
/* causes trouvées dans l'assistant d'inscription */
.catpick__grid { margin: 0; padding: 4px 2px; }
.wizard, .submit > * , .wstep, .field { min-width: 0; max-width: 100%; }
.g-recaptcha { max-width: 100%; }
@media (max-width: 400px) { .g-recaptcha { transform: scale(.88); transform-origin: 0 0; height: 70px; } }

body.is-typing .dock, body.is-typing .totop { display: none; }
