/* Polices auto-hébergées · sous-ensembles latin + latin-ext */
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:400 700;font-display:swap;src:url('/assets/fonts/space-grotesk-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Space Grotesk';font-style:normal;font-weight:400 700;font-display:swap;src:url('/assets/fonts/space-grotesk-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url('/assets/fonts/inter-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400 700;font-display:swap;src:url('/assets/fonts/inter-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Instrument Serif';font-style:italic;font-weight:400;font-display:swap;src:url('/assets/fonts/instrument-serif-italic.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}

/* ==========================================================================
   iWast · direction artistique « éditorial cinétique »
   Fond nuit, halos de marque, typographie display, cartes en relief.
   ========================================================================== */

:root {
  --blue: #3b6cff;
  --pink: #ff3d8b;
  --orange: #ffb03a;
  --violet: #8b6cff;

  --bg: #07080c;
  --bg-2: #0b0d13;
  --surface: #0f1219;
  --surface-2: #151a24;
  --surface-3: #1b2130;

  --text: #eef0f7;
  --text-2: #c6cbda;
  --muted: #98a0b3;
  --muted-2: #707a92;

  --line: rgba(255, 255, 255, 0.1);
  --line-2: rgba(255, 255, 255, 0.06);

  --grad: linear-gradient(102deg, #3b6cff 0%, #ff3d8b 54%, #ffb03a 100%);
  --grad-soft: linear-gradient(135deg, rgba(59, 108, 255, 0.16), rgba(255, 61, 139, 0.12) 55%, rgba(255, 176, 58, 0.1));

  --font-display: 'Space Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;
  --r-xl: 30px;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 18px 40px -24px rgba(0, 0, 0, 0.9), 0 2px 8px rgba(0, 0, 0, 0.35);
  --shadow-lg: 0 50px 100px -50px rgba(0, 0, 0, 0.95);

  --container: 1240px;
  --header-h: 82px;
  --ease: cubic-bezier(0.22, 0.68, 0.16, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-2);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* halos d'ambiance fixes */
body::before {
  content: '';
  position: fixed; inset: -10%; z-index: -2; pointer-events: none;
  background:
    radial-gradient(900px 620px at 78% -4%, rgba(255, 61, 139, 0.2), transparent 62%),
    radial-gradient(820px 640px at 8% 6%, rgba(59, 108, 255, 0.22), transparent 60%),
    radial-gradient(760px 520px at 52% 106%, rgba(255, 176, 58, 0.1), transparent 65%);
  animation: aurora 26s ease-in-out infinite alternate;
}

/* grain léger pour éviter les dégradés « plastiques » */
body::after {
  content: '';
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  opacity: 0.035;
  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='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

@keyframes aurora {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-1.5%, 1%, 0) scale(1.06); }
  100% { transform: translate3d(1.5%, -1%, 0) scale(1.03); }
}

img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: rgba(255, 61, 139, 0.35); color: #fff; }

:focus-visible {
  outline: 2px solid var(--pink);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.06;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; }

.container { width: min(var(--container), 100% - 48px); margin-inline: auto; }
@media (max-width: 640px) { .container { width: calc(100% - 32px); } }

.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 300;
  background: var(--text); color: #08090d; padding: 12px 18px; border-radius: 12px;
  font: 600 14px var(--font-display);
}
.skip-link:focus { top: 16px; }

/* ------------------------------------------------------------------ header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 8, 12, 0.72);
  backdrop-filter: saturate(160%) blur(20px);
  -webkit-backdrop-filter: saturate(160%) blur(20px);
  border-bottom: 1px solid var(--line-2);
}
.header-inner { height: var(--header-h); display: flex; align-items: center; gap: 34px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { width: 122px; height: auto; }
@media (max-width: 480px) { .brand img { width: 100px; } }

.nav { display: flex; align-items: center; gap: 2px; margin-right: auto; }
.nav a {
  position: relative;
  padding: 10px 12px;
  font: 600 11.5px/1 var(--font-display);
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  border-radius: 10px;
  white-space: nowrap;
  transition: color 0.18s var(--ease), background 0.18s var(--ease);
}
.nav a::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform 0.24s var(--ease);
}
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); }

.header-actions { display: flex; align-items: center; gap: 8px; flex: none; }
.icon-btn {
  width: 44px; height: 44px; display: grid; place-items: center;
  border-radius: 999px; color: var(--text-2);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  transition: background 0.18s var(--ease), border-color 0.18s var(--ease), color 0.18s;
}
.icon-btn:hover { background: rgba(255, 255, 255, 0.07); border-color: rgba(255, 255, 255, 0.2); color: #fff; }
.icon-btn svg { width: 19px; height: 19px; }

.feature-icon {
  width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center;
  background: var(--grad); color: #fff;
  box-shadow: 0 16px 34px -18px rgba(255, 61, 139, 0.9);
}
.feature-icon svg { width: 24px; height: 24px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 46px; padding: 0 22px; border-radius: 999px;
  font: 600 13.5px/1 var(--font-display); letter-spacing: 0.01em;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), background 0.18s, border-color 0.18s;
  white-space: nowrap;
}
.btn-grad {
  color: #fff; background: var(--grad); background-size: 170% 100%; background-position: 0 0;
  box-shadow: 0 14px 34px -14px rgba(255, 61, 139, 0.8);
}
.btn-grad:hover { transform: translateY(-1px); background-position: 100% 0; box-shadow: 0 20px 40px -16px rgba(59, 108, 255, 0.75); }
.btn-dark { color: #fff; background: #fff; color: #08090d; }
.btn-dark:hover { transform: translateY(-1px); opacity: 0.92; }
.btn-ghost { color: var(--text); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03); }
.btn-ghost:hover { border-color: rgba(255, 255, 255, 0.28); background: rgba(255, 255, 255, 0.07); }

.menu-toggle { display: none; }
@media (max-width: 1120px) {
  .nav { display: none; }
  .menu-toggle { display: grid; }
}
@media (max-width: 720px) { .header-actions .btn { display: none; } }

/* menu mobile */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0; z-index: 99;
  background: rgba(7, 8, 12, 0.98);
  backdrop-filter: blur(18px);
  padding: 18px 0 40px; overflow-y: auto;
  transform: translateY(-10px); opacity: 0; visibility: hidden;
  transition: opacity 0.24s var(--ease), transform 0.24s var(--ease), visibility 0.24s;
}
.mobile-menu[data-open='true'] { opacity: 1; transform: none; visibility: visible; }
.mobile-menu ul { list-style: none; margin: 0; padding: 0; }
.mobile-menu li + li { border-top: 1px solid var(--line-2); }
.mobile-menu a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 17px 4px; font: 600 20px var(--font-display); color: var(--text);
}
.mobile-menu a span { color: var(--muted-2); font: 500 12px var(--font-body); letter-spacing: 0.08em; text-transform: uppercase; }

/* recherche */
.search-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(4, 5, 8, 0.7);
  backdrop-filter: blur(8px);
  display: grid; align-items: start; justify-items: center;
  padding: 12vh 20px 40px;
  opacity: 0; visibility: hidden; transition: opacity 0.2s var(--ease), visibility 0.2s;
}
.search-overlay[data-open='true'] { opacity: 1; visibility: visible; }
.search-box {
  width: min(700px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: translateY(12px) scale(0.99);
  transition: transform 0.26s var(--ease);
}
.search-overlay[data-open='true'] .search-box { transform: none; }
.search-field { display: flex; align-items: center; gap: 12px; padding: 20px 22px; border-bottom: 1px solid var(--line-2); }
.search-field svg { width: 20px; height: 20px; color: var(--muted); flex: none; }
.search-field input { flex: 1; border: 0; outline: 0; background: transparent; font: 500 18px var(--font-body); color: var(--text); }
.search-field input::placeholder { color: var(--muted-2); }
.search-kbd { font: 600 10.5px var(--font-display); color: var(--muted-2); border: 1px solid var(--line); border-radius: 6px; padding: 3px 6px; }
.search-results { max-height: min(56vh, 460px); overflow-y: auto; padding: 8px; }
.search-results a { display: flex; gap: 12px; align-items: flex-start; padding: 12px; border-radius: 12px; }
.search-results a:hover, .search-results a[aria-selected='true'] { background: rgba(255, 255, 255, 0.05); }
.search-results .sr-cat { display: block; font: 600 10px var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--pink); margin-bottom: 3px; }
.search-results .sr-title { font: 600 15px/1.35 var(--font-display); color: var(--text); letter-spacing: -0.01em; }
.search-results .sr-empty { padding: 26px 16px; color: var(--muted); font-size: 14.5px; text-align: center; }
.search-foot { padding: 12px 20px; border-top: 1px solid var(--line-2); font-size: 12px; color: var(--muted-2); display: flex; justify-content: space-between; }

/* ------------------------------------------------------------------- chips */
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px; border-radius: 999px;
  font: 600 10.5px/1 var(--font-display);
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cat, var(--blue));
  background: rgba(10, 12, 18, 0.6);
  border: 1px solid color-mix(in srgb, var(--cat, var(--blue)) 45%, transparent);
  backdrop-filter: blur(8px);
  white-space: nowrap;
}
.chip--on-media { background: rgba(7, 8, 12, 0.72); }
.dot-grad { width: 7px; height: 7px; border-radius: 999px; background: var(--grad); flex: none; }

/* -------------------------------------------------------------------- hero */
.hero { position: relative; overflow: hidden; padding: 74px 0 66px; }
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(620px 420px at 78% 4%, rgba(255, 61, 139, 0.2), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 94px 94px,
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px) 0 0 / 94px 94px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 52% 32%, #000 25%, transparent 76%);
  mask-image: radial-gradient(ellipse 85% 75% at 52% 32%, #000 25%, transparent 76%);
}
.hero::after {
  content: ''; position: absolute; left: -22%; bottom: -50%; width: 720px; height: 720px;
  background: radial-gradient(closest-side, rgba(59, 108, 255, 0.2), transparent 68%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.04fr 0.96fr; gap: 64px; align-items: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font: 600 10.5px var(--font-display); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted);
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.03);
  border-radius: 999px; padding: 9px 15px;
}
.hero h1 {
  font-size: clamp(2.5rem, 4.8vw, 4.4rem);
  line-height: 0.96;
  margin: 24px 0 0;
  letter-spacing: -0.05em;
  max-width: 18ch;
}
.hero-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.04em;
  line-height: 0.95;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-lede { margin-top: 22px; font-size: 17.5px; line-height: 1.65; color: var(--muted); max-width: 46ch; }

.hero-search {
  margin-top: 30px; display: flex; align-items: center; gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 7px 7px 18px; max-width: 480px;
  transition: border-color 0.18s, box-shadow 0.18s, background 0.18s;
}
.hero-search:focus-within { border-color: rgba(255, 61, 139, 0.55); box-shadow: 0 0 0 5px rgba(255, 61, 139, 0.12); background: rgba(255, 255, 255, 0.06); }
.hero-search svg { width: 19px; height: 19px; color: var(--muted-2); flex: none; }
.hero-search input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 15px; min-width: 0; color: var(--text); }
.hero-search input::placeholder { color: var(--muted-2); }
.hero-search button {
  height: 42px; padding: 0 20px; border-radius: 999px; background: var(--text); color: #08090d;
  font: 600 13px var(--font-display); transition: opacity 0.18s, transform 0.18s;
}
.hero-search button:hover { opacity: 0.9; transform: translateY(-1px); }

.hero-stats { display: flex; flex-wrap: wrap; gap: 14px 0; margin: 30px 0 0; padding: 0; list-style: none; }
.hero-stats li { padding-right: 26px; margin-right: 26px; border-right: 1px solid var(--line); }
.hero-stats li:last-child { border: 0; padding-right: 0; margin-right: 0; }
.hero-stats strong { display: block; font: 700 26px/1 var(--font-display); color: var(--text); letter-spacing: -0.03em; }
.hero-stats span { display: block; margin-top: 6px; font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2); }

.hero-feature {
  position: relative; display: block; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow-lg);
  isolation: isolate;
  transform: rotate(-1.2deg);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.hero-feature:hover { transform: rotate(0deg) translateY(-4px); box-shadow: 0 60px 120px -40px rgba(255, 61, 139, 0.35); }
.hero-feature img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; transition: transform 0.8s var(--ease); }
.hero-feature:hover img { transform: scale(1.04); }
.hero-feature::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(5, 6, 10, 0.05) 0%, rgba(5, 6, 10, 0.35) 42%, rgba(5, 6, 10, 0.94) 100%);
}
.hero-feature .hf-badge {
  position: absolute; left: 18px; top: 18px; z-index: 3;
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(7, 8, 12, 0.75); border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text); border-radius: 999px; padding: 8px 13px;
  font: 600 10px var(--font-display); letter-spacing: 0.16em; text-transform: uppercase;
  backdrop-filter: blur(10px);
}
.hero-feature .hf-badge i { width: 6px; height: 6px; border-radius: 99px; background: var(--pink); box-shadow: 0 0 12px var(--pink); }
.hero-feature .hf-body { position: absolute; inset: auto 0 0; z-index: 2; padding: 26px 26px 24px; }
.hero-feature .hf-title {
  font: 700 clamp(1.2rem, 1.9vw, 1.55rem)/1.18 var(--font-display);
  letter-spacing: -0.03em; color: #fff;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.hero-feature .hf-meta { margin-top: 12px; display: flex; gap: 8px; align-items: center; font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(255, 255, 255, 0.7); }
@media (max-width: 980px) {
  .hero { padding-top: 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero h1 { max-width: none; }
  .hero-feature { max-width: 620px; transform: none; }
}
@media (max-width: 640px) {
  .hero-stats { gap: 10px 0; margin-top: 24px; }
  .hero-stats li { padding-right: 14px; margin-right: 14px; }
  .hero-stats strong { font-size: 22px; }
  .hero-stats span { font-size: 9px; letter-spacing: 0.1em; }
  .hero-lede { font-size: 16px; }
  .hero h1 { font-size: clamp(2.3rem, 10vw, 3rem); }
}

/* --------------------------------------------------------------- marquee */
.marquee {
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  overflow: hidden; padding: 15px 0;
  background: rgba(255, 255, 255, 0.015);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; width: max-content; gap: 46px; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee a, .marquee span {
  display: inline-flex; align-items: center; gap: 46px;
  font: 600 12px var(--font-display); letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted-2);
  white-space: nowrap; transition: color 0.18s;
}
.marquee a:hover { color: var(--text); }
.marquee b { font-weight: 400; color: var(--pink); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- sections */
.section { padding: 78px 0; }
.section--tight { padding: 40px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 34px; }
.section-head .sec-label {
  display: inline-flex; align-items: center; gap: 12px; margin-bottom: 14px;
  font: 600 10.5px var(--font-display); letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted-2);
}
.section-head .sec-label b {
  font-weight: 700;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section-head h2 { font-size: clamp(1.8rem, 3.1vw, 2.6rem); letter-spacing: -0.045em; }
.section-head h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.section-head p { margin-top: 10px; color: var(--muted); font-size: 14.5px; max-width: 58ch; }
.section-link {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  font: 600 12px var(--font-display); letter-spacing: 0.04em; color: var(--text);
  border: 1px solid var(--line); border-radius: 999px; padding: 11px 17px;
  transition: border-color 0.18s, background 0.18s, transform 0.18s;
}
.section-link svg { width: 14px; height: 14px; transition: transform 0.2s var(--ease); }
.section-link:hover { border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.05); transform: translateY(-1px); }
.section-link:hover svg { transform: translateX(3px); }

/* ------------------------------------------------------------- manifeste */
.manifesto {
  position: relative;
  padding: 84px 0;
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line-2);
  background:
    radial-gradient(700px 320px at 15% 20%, rgba(59, 108, 255, 0.09), transparent 70%),
    radial-gradient(700px 320px at 85% 80%, rgba(255, 61, 139, 0.08), transparent 70%);
}
.manifesto .sec-label { margin-bottom: 22px; }
.manifesto-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
  color: var(--text);
  max-width: 22ch;
}
.manifesto-text em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.manifesto-note {
  margin-top: 24px;
  max-width: 52ch;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ------------------------------------------------------------------- grid */
.grid { display: grid; gap: 34px 26px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1020px) { .grid--4 { grid-template-columns: repeat(2, 1fr); } .grid--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 680px) { .grid--3, .grid--4, .grid--2 { grid-template-columns: 1fr; } }

.card { display: flex; flex-direction: column; min-width: 0; }
.card-media {
  position: relative; border-radius: var(--r-md); overflow: hidden;
  background: var(--surface-2);
  aspect-ratio: 16 / 10;
  border: 1px solid var(--line-2);
  transition: border-color 0.25s, box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease), filter 0.4s; }
.card:hover .card-media { border-color: rgba(255, 255, 255, 0.2); transform: translateY(-3px); box-shadow: 0 26px 50px -30px rgba(0, 0, 0, 0.9); }
.card:hover .card-media img { transform: scale(1.05); }
.card-media .chip { position: absolute; left: 12px; top: 12px; z-index: 1; font-size: 9.5px; padding: 6px 10px; }
.card-body { padding-top: 16px; display: flex; flex-direction: column; gap: 9px; }
.card-title {
  font: 600 19.5px/1.3 var(--font-display); letter-spacing: -0.03em; color: var(--text);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  transition: color 0.18s;
}
.card:hover .card-title { color: #fff; }
.card-excerpt {
  font-size: 14px; line-height: 1.6; color: var(--muted);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-meta { display: flex; align-items: center; gap: 8px; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-2); }
.card-meta .sep { width: 3px; height: 3px; border-radius: 99px; background: currentColor; opacity: 0.6; }

.card--wide { display: grid; grid-template-columns: 210px 1fr; gap: 20px; align-items: center; }
.card--wide .card-media { aspect-ratio: 4 / 3; border-radius: 14px; }
.card--wide .card-body { padding-top: 0; }
.card--wide .card-title { font-size: 17px; -webkit-line-clamp: 3; }
@media (max-width: 560px) { .card--wide { grid-template-columns: 130px 1fr; gap: 14px; } .card--wide .card-title { font-size: 15.5px; } }

/* --------------------------------------------------------------- picks */
.picks { display: grid; grid-template-columns: 1.42fr 0.95fr; gap: 26px; align-items: stretch; }
.picks-side { display: grid; gap: 26px; }
.pick { display: flex; flex-direction: column; gap: 12px; }
.pick .card-media { aspect-ratio: 16 / 10; }
.pick--lead { height: 100%; }
.pick--lead .card-media { aspect-ratio: 4 / 3.45; flex: 1; min-height: 0; }
.pick--lead .card-title { font-size: clamp(1.25rem, 2.1vw, 1.65rem); -webkit-line-clamp: 4; }
.picks-side .pick .card-media { aspect-ratio: 16 / 8.4; }
.pick-num {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  width: 38px; height: 38px; border-radius: 999px;
  display: grid; place-items: center;
  background: rgba(7, 8, 12, 0.72); color: #fff; border: 1px solid rgba(255, 255, 255, 0.22);
  font: 700 11.5px var(--font-display); letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
}
@media (max-width: 900px) {
  .picks { grid-template-columns: 1fr; }
  .picks-side { grid-template-columns: 1fr 1fr; gap: 20px; }
  .pick--lead .card-media { aspect-ratio: 16 / 10; }
}
@media (max-width: 620px) { .picks-side { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------- cat bar */
.cat-bar { display: flex; flex-wrap: wrap; gap: 9px; }
.cat-bar a {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 15px; border-radius: 999px; border: 1px solid var(--line);
  font: 600 12.5px var(--font-display); color: var(--text-2); background: rgba(255, 255, 255, 0.02);
  transition: border-color 0.18s, color 0.18s, transform 0.18s, background 0.18s;
}
.cat-bar a:hover { border-color: var(--cat, var(--blue)); color: #fff; background: rgba(255, 255, 255, 0.06); transform: translateY(-1px); }
.cat-bar .dot { width: 7px; height: 7px; border-radius: 99px; background: var(--cat, var(--blue)); }

/* ---------------------------------------------------------------- newsletter */
.newsletter {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  padding: 52px;
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center;
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    linear-gradient(120deg, rgba(59, 108, 255, 0.7), rgba(255, 61, 139, 0.6) 50%, rgba(255, 176, 58, 0.5)) border-box;
  border: 1px solid transparent;
}
.newsletter::before {
  content: ''; position: absolute; width: 560px; height: 560px; right: -140px; top: -240px;
  background: radial-gradient(closest-side, rgba(255, 61, 139, 0.45), transparent 70%);
  filter: blur(24px);
}
.newsletter::after {
  content: ''; position: absolute; width: 480px; height: 480px; left: -160px; bottom: -280px;
  background: radial-gradient(closest-side, rgba(59, 108, 255, 0.4), transparent 70%);
}
.newsletter > * { position: relative; z-index: 1; }
.newsletter h2 { color: #fff; font-size: clamp(1.7rem, 2.7vw, 2.2rem); letter-spacing: -0.04em; }
.newsletter h2 em { font-family: var(--font-serif); font-style: italic; font-weight: 400; }
.newsletter p { margin-top: 12px; color: var(--muted); font-size: 15px; max-width: 46ch; }
.newsletter form { display: flex; gap: 10px; flex-wrap: wrap; }
.newsletter input[type='email'] {
  flex: 1 1 220px; height: 52px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04); color: var(--text); padding: 0 20px; outline: 0;
}
.newsletter input[type='email']::placeholder { color: var(--muted-2); }
.newsletter input[type='email']:focus { border-color: rgba(255, 61, 139, 0.6); background: rgba(255, 255, 255, 0.06); }
.newsletter .btn { height: 52px; }
.newsletter small { display: block; margin-top: 12px; color: var(--muted-2); font-size: 11.5px; }
.newsletter .form-ok { color: #9ff3c8; font-size: 14px; }
@media (max-width: 860px) { .newsletter { grid-template-columns: 1fr; padding: 34px 26px; } }

/* --------------------------------------------------------------- article */
.article-band {
  position: relative; overflow: hidden;
  padding: 46px 0 64px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 70%);
  border-bottom: 1px solid var(--line-2);
}
.article-band::before {
  content: ''; position: absolute; right: -10%; top: -40%; width: 720px; height: 720px;
  background: radial-gradient(closest-side, rgba(255, 61, 139, 0.16), transparent 68%);
}
.article-band::after {
  content: ''; position: absolute; left: -18%; bottom: -60%; width: 640px; height: 640px;
  background: radial-gradient(closest-side, rgba(59, 108, 255, 0.18), transparent 68%);
}
.article-head { position: relative; z-index: 1; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); }
.breadcrumb a:hover { color: var(--text); }
.breadcrumb .sep { opacity: 0.5; }
.article-head h1 {
  margin-top: 20px;
  font-size: clamp(2rem, 3.8vw, 3.3rem);
  line-height: 1.04;
  letter-spacing: -0.045em;
  max-width: 26ch;
}
.article-dek { margin-top: 20px; font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 66ch; }
.article-meta {
  margin-top: 26px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  padding-bottom: 22px; border-bottom: 1px solid var(--line-2);
}
.avatar {
  width: 40px; height: 40px; border-radius: 99px; flex: none;
  background: var(--grad); color: #fff; display: grid; place-items: center;
  font: 700 14px var(--font-display); letter-spacing: 0.02em;
  box-shadow: 0 8px 20px -10px rgba(255, 61, 139, 0.9);
}
.meta-author { display: flex; align-items: center; gap: 10px; }
.meta-author .name { font: 600 13px var(--font-display); color: var(--text); }
.meta-author .role { font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); }
.meta-sep { width: 1px; height: 26px; background: var(--line); }
.meta-item { font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); }
.share { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.share button, .share a {
  width: 38px; height: 38px; display: grid; place-items: center; border-radius: 99px;
  border: 1px solid var(--line); color: var(--muted); transition: all 0.18s;
}
.share button:hover, .share a:hover { color: #fff; border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.06); }
.share svg { width: 15px; height: 15px; }

.article-hero { position: relative; z-index: 2; margin: 34px auto 0; max-width: 1080px; }
.article-hero figure { margin: 0; }
.article-hero img { width: 100%; border-radius: var(--r-lg); aspect-ratio: 16 / 8.8; object-fit: cover; border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: var(--shadow-lg); }
.article-hero figcaption { margin-top: 12px; font-size: 11.5px; letter-spacing: 0.02em; color: var(--muted-2); }

.article-layout {
  width: min(1080px, 100% - 48px);
  margin-inline: auto;
  display: grid; grid-template-columns: 206px minmax(0, 1fr); gap: 60px;
  padding: 64px 0 30px; align-items: start;
}
.article-main { min-width: 0; max-width: 760px; }

.toc { position: sticky; top: calc(var(--header-h) + 26px); }
.toc-title { font: 600 10px var(--font-display); letter-spacing: 0.22em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc li a {
  display: block; padding: 8px 0 8px 16px; margin-left: -1px;
  border-left: 2px solid transparent;
  font-size: 12.5px; line-height: 1.5; color: var(--muted-2);
  transition: color 0.16s, border-color 0.16s;
}
.toc li a:hover { color: var(--text); }
.toc li a.active { color: var(--text); border-color: var(--pink); }
.toc .progress-label { margin-top: 18px; font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-2); }
@media (max-width: 1040px) {
  .article-layout { grid-template-columns: 1fr; gap: 28px; padding-top: 40px; }
  .toc { position: static; order: -1; border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px; background: var(--surface); }
  .toc ol { border: 0; }
  .toc li a { padding-left: 0; }
  .toc .progress-label { display: none; }
}

.tldr {
  background: var(--grad-soft);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-lg);
  padding: 26px 28px;
  margin-bottom: 38px;
}
.tldr h2 { font: 700 11px var(--font-display); letter-spacing: 0.2em; text-transform: uppercase; color: var(--text); margin: 0 0 14px; }
.tldr ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.tldr li { position: relative; padding-left: 22px; font-size: 14.5px; line-height: 1.55; color: var(--text-2); }
.tldr li::before { content: ''; position: absolute; left: 0; top: 7px; width: 9px; height: 9px; border-radius: 99px; background: var(--grad); }

/* prose */
.prose { font-size: 18px; line-height: 1.85; color: #c9cfdd; }
.prose > * + * { margin-top: 1.15em; }
.prose h2 {
  position: relative; margin: 2.3em 0 0.7em; padding-left: 22px;
  font-size: clamp(1.5rem, 2.5vw, 1.9rem); line-height: 1.18; letter-spacing: -0.035em;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.prose h2::before {
  content: ''; position: absolute; left: 0; top: 0.14em; bottom: 0.14em; width: 4px; border-radius: 4px; background: var(--grad);
}
.prose .h2-anchor {
  margin-left: 10px; font-size: 0.55em; font-weight: 500; text-decoration: none;
  color: var(--muted-2); opacity: 0; transition: opacity 0.15s;
  vertical-align: 0.2em;
}
.prose h2:hover .h2-anchor { opacity: 1; }
.prose .h2-anchor:hover { color: var(--pink); }
.prose h2 + *, .prose h3 + * { margin-top: 0; }
.prose h3 { margin: 1.9em 0 0.5em; font-size: 1.22rem; letter-spacing: -0.02em; }
.prose p { margin: 0; }
.prose > p:first-of-type::first-letter {
  float: left; font-family: var(--font-serif); font-size: 3.2em; line-height: 0.78;
  padding: 0.1em 0.14em 0 0; color: var(--pink);
}
.prose a { color: #ff7db0; text-decoration: underline; text-decoration-color: rgba(255, 125, 176, 0.35); text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color 0.16s; }
.prose a:hover { color: #fff; }
.prose strong { color: #fff; font-weight: 600; }
.prose ul, .prose ol { margin: 1.1em 0; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.prose ul li { position: relative; padding-left: 24px; }
.prose ul li::before { content: ''; position: absolute; left: 2px; top: 0.65em; width: 8px; height: 8px; border-radius: 99px; background: var(--grad); }
.prose ol { counter-reset: n; }
.prose ol li { position: relative; padding-left: 36px; counter-increment: n; }
.prose ol li::before {
  content: counter(n); position: absolute; left: 0; top: 0.08em;
  width: 24px; height: 24px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); color: #fff;
  font: 700 11px/24px var(--font-display); text-align: center;
}
.prose blockquote {
  margin: 1.9em 0; padding: 24px 28px; border-left: 3px solid var(--pink);
  background: rgba(255, 255, 255, 0.03); border-radius: 0 var(--r-md) var(--r-md) 0;
  font-family: var(--font-serif); font-style: italic; font-size: 1.25em; line-height: 1.5; color: var(--text);
}
.prose figure { margin: 1.9em 0; }
.prose img { width: 100%; border-radius: var(--r-md); }
.prose figcaption { margin-top: 8px; font-size: 11.5px; color: var(--muted-2); }
.prose hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }

.table-wrap { overflow-x: auto; margin: 2em 0; border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.02); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: 14px; line-height: 1.5; }
.table-wrap th {
  text-align: left; padding: 14px 16px; background: rgba(255, 255, 255, 0.04);
  font: 600 10.5px var(--font-display); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted);
  border-bottom: 1px solid var(--line); white-space: nowrap;
}
.table-wrap td { padding: 14px 16px; border-top: 1px solid var(--line-2); vertical-align: top; color: var(--text-2); }
.table-wrap tbody tr:nth-child(even) td { background: rgba(255, 255, 255, 0.015); }

.yt-facade { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; background: #000; cursor: pointer; margin: 1.9em 0; border: 1px solid var(--line); }
.yt-facade img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.yt-facade button {
  position: absolute; inset: 0; margin: auto; width: 68px; height: 68px; border-radius: 99px;
  background: var(--grad); color: #fff; font-size: 22px; line-height: 1;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); transition: transform 0.2s var(--ease);
}
.yt-facade:hover button { transform: scale(1.07); }
.yt-facade iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* faq */
.faq { margin-top: 52px; }
.faq h2 { font-size: clamp(1.5rem, 2.4vw, 1.85rem); margin-bottom: 20px; }
.faq-item { border: 1px solid var(--line); border-radius: 14px; background: rgba(255, 255, 255, 0.025); }
.faq-item + .faq-item { margin-top: 10px; }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 19px 22px; font: 600 16px/1.4 var(--font-display); color: var(--text); letter-spacing: -0.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+'; flex: none; width: 30px; height: 30px; border-radius: 99px; background: rgba(255, 255, 255, 0.06);
  display: grid; place-items: center; font: 400 19px/1 var(--font-display); color: var(--text);
  transition: transform 0.2s var(--ease), background 0.2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); background: var(--grad); color: #fff; }
.faq-item .faq-a { padding: 0 22px 22px; font-size: 15.5px; line-height: 1.7; color: var(--muted); }
.faq-item .faq-a p + p { margin-top: 10px; }

/* auteur + navigation */
.author-box {
  margin-top: 52px; padding: 26px; border-radius: var(--r-lg);
  border: 1px solid var(--line); background: rgba(255, 255, 255, 0.025);
  display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: start;
}
.author-box .avatar { width: 58px; height: 58px; font-size: 18px; }
.author-box h2 { font-size: 1.05rem; letter-spacing: -0.01em; }
.author-box p { margin-top: 7px; font-size: 14px; line-height: 1.65; color: var(--muted); }
.author-box a { color: #ff7db0; font-weight: 600; }

.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 46px; }
.article-nav a { border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 22px; transition: border-color 0.18s, background 0.18s, transform 0.18s; }
.article-nav a:hover { border-color: rgba(255, 255, 255, 0.24); background: rgba(255, 255, 255, 0.04); transform: translateY(-2px); }
.article-nav .k { font: 600 10px var(--font-display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); }
.article-nav .t { margin-top: 8px; font: 600 15px/1.4 var(--font-display); color: var(--text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.article-nav .next { text-align: right; }
@media (max-width: 620px) { .article-nav { grid-template-columns: 1fr; } }

.reading-progress { position: fixed; left: 0; top: 0; height: 2px; width: 100%; z-index: 150; background: transparent; pointer-events: none; }
.reading-progress span { display: block; height: 100%; width: 0; background: var(--grad); box-shadow: 0 0 18px rgba(255, 61, 139, 0.8); }

/* --------------------------------------------------------------- archives */
.page-hero {
  position: relative; overflow: hidden;
  padding: 64px 0 48px; border-bottom: 1px solid var(--line-2);
}
.page-hero::before {
  content: ''; position: absolute; right: -12%; top: -60%; width: 620px; height: 620px;
  background: radial-gradient(closest-side, color-mix(in srgb, var(--cat, var(--blue)) 30%, transparent), transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.3rem, 4.6vw, 3.5rem); letter-spacing: -0.05em; margin-top: 14px; }
.page-hero p { margin-top: 16px; max-width: 60ch; color: var(--muted); font-size: 15.5px; }
.archive-count { margin-top: 18px; font: 600 10.5px var(--font-display); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted-2); }

.pagination { display: flex; justify-content: center; align-items: center; gap: 6px; margin: 58px 0 10px; flex-wrap: wrap; }
.pagination a, .pagination span {
  min-width: 42px; height: 42px; padding: 0 12px; display: grid; place-items: center;
  border-radius: 12px; border: 1px solid var(--line); font: 600 13px var(--font-display); color: var(--text-2);
  transition: all 0.16s;
}
.pagination a:hover { border-color: rgba(255, 255, 255, 0.3); color: #fff; }
.pagination .current { background: var(--text); border-color: var(--text); color: #08090d; }
.pagination .gap { border: 0; }

/* ------------------------------------------------------------ pages fixes */
.page-body { padding: 52px 0 80px; }
.page-layout { display: grid; grid-template-columns: minmax(0, 760px) 300px; gap: 70px; align-items: start; }
@media (max-width: 980px) { .page-layout { grid-template-columns: 1fr; gap: 36px; } }
.page-aside { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; background: rgba(255, 255, 255, 0.025); }
.page-aside h2 { font-size: 1rem; }
.page-aside p { margin-top: 8px; font-size: 14px; color: var(--muted); }
.page-aside .btn { margin-top: 18px; }

.search-page-form { display: flex; gap: 10px; margin-top: 26px; max-width: 620px; }
.search-page-form input { flex: 1; height: 54px; border: 1px solid var(--line); border-radius: 999px; padding: 0 20px; outline: 0; background: rgba(255, 255, 255, 0.04); color: var(--text); }
.search-page-form input:focus { border-color: rgba(255, 61, 139, 0.55); box-shadow: 0 0 0 5px rgba(255, 61, 139, 0.1); }
#search-page-results { margin-top: 38px; display: grid; gap: 0; max-width: 860px; }
.search-hit { display: block; padding: 22px 0; border-bottom: 1px solid var(--line-2); transition: padding-left 0.18s var(--ease); }
.search-hit:hover { padding-left: 6px; }
.search-hit .sh-cat { display: block; font: 600 10px var(--font-display); letter-spacing: 0.14em; text-transform: uppercase; color: var(--cat, var(--blue)); }
.search-hit .sh-title { display: block; margin-top: 6px; font: 600 19px/1.35 var(--font-display); letter-spacing: -0.025em; color: var(--text); }
.search-hit:hover .sh-title { color: #fff; }
.search-hit .sh-excerpt { display: -webkit-box; margin-top: 6px; font-size: 14px; line-height: 1.6; color: var(--muted); -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 404 */
.notfound { padding: 90px 0 110px; text-align: center; }
.notfound .code { font: 700 clamp(6rem, 16vw, 13rem)/1 var(--font-display); letter-spacing: -0.07em; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.notfound h1 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); margin-top: 4px; }
.notfound p { margin: 16px auto 0; max-width: 48ch; color: var(--muted); }
.notfound .btn { margin-top: 28px; }

/* ----------------------------------------------------------------- footer */
.site-footer { background: #040509; border-top: 1px solid var(--line-2); color: var(--muted); margin-top: 70px; padding: 66px 0 0; position: relative; overflow: hidden; }
.site-footer::before {
  content: 'iWast'; position: absolute; right: -2%; bottom: -12%;
  font: 700 16vw/1 var(--font-display); letter-spacing: -0.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, 0.05);
  pointer-events: none; user-select: none;
}
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; position: relative; z-index: 1; }
.footer-brand img { width: 136px; height: auto; }
.footer-brand p { margin-top: 20px; font-size: 13.5px; line-height: 1.7; max-width: 38ch; color: var(--muted-2); }
.footer-col h3 { font: 600 10px var(--font-display); letter-spacing: 0.2em; text-transform: uppercase; color: #fff; margin-bottom: 18px; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer-col a { font-size: 13.5px; color: var(--muted); transition: color 0.16s; }
.footer-col a:hover { color: #fff; }
.footer-bottom {
  margin-top: 54px; border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 22px 0 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 11.5px; color: var(--muted-2); position: relative; z-index: 1;
}
.footer-bottom .made { display: flex; align-items: center; gap: 8px; }
.footer-bottom .made svg { width: 15px; height: 15px; color: #ff8ab6; flex: none; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; gap: 30px; } }

/* retour en haut */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  width: 48px; height: 48px; border-radius: 99px; background: rgba(255, 255, 255, 0.08); color: #fff;
  border: 1px solid var(--line); display: grid; place-items: center; backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all 0.22s var(--ease);
}
.to-top[data-show='true'] { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: rgba(255, 255, 255, 0.16); }

/* utilitaires */
.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;
}
[hidden] { display: none !important; }

/* ==========================================================================
   Couche immersive : verre, lumière, micro-interactions
   ========================================================================== */

.site-header { transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s; }
.site-header[data-scrolled='true'] {
  background: rgba(7, 8, 12, 0.9);
  box-shadow: 0 18px 50px -30px rgba(0, 0, 0, 0.9);
  border-bottom-color: rgba(255, 255, 255, 0.09);
}

.nav a[aria-current='page'] { color: #fff; }
.nav a[aria-current='page']::after { transform: scaleX(1); }

/* halo qui suit le curseur sur les visuels */
.card-media::after {
  content: '';
  position: absolute; inset: 0; z-index: 2; opacity: 0;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.16), transparent 62%);
  transition: opacity 0.35s var(--ease);
  pointer-events: none;
}
.card-media:hover::after { opacity: 1; }
.card-media .chip, .pick-num { z-index: 3; }

/* verre dépoli */
.search-box,
.toc,
.tldr,
.author-box,
.page-aside,
.article-nav a {
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
}
.search-box { background: rgba(15, 18, 25, 0.86); }
.toc { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-2); border-radius: var(--r-md); padding: 20px; }
@media (max-width: 1040px) { .toc { background: rgba(255, 255, 255, 0.04); } }
.tldr { background: linear-gradient(135deg, rgba(59, 108, 255, 0.14), rgba(255, 61, 139, 0.1) 55%, rgba(255, 176, 58, 0.08)); }

/* reflet qui balaie les boutons */
.btn-grad { position: relative; overflow: hidden; isolation: isolate; }
.btn-grad::after {
  content: '';
  position: absolute; top: -60%; bottom: -60%; left: -35%; width: 38%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
  transform: skewX(-18deg) translateX(-140%);
  transition: transform 0.75s var(--ease);
  pointer-events: none;
}
.btn-grad:hover::after { transform: skewX(-18deg) translateX(460%); }

/* dégradé animé sur les accents */
.hero-accent {
  background-size: 190% 100%;
  animation: gradient-drift 14s ease-in-out infinite;
}
@keyframes gradient-drift {
  0%, 100% { background-position: 0% 0; }
  50% { background-position: 100% 0; }
}

/* bord lumineux de la carte à la une */
.hero-feature {
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08),
    0 40px 110px -50px rgba(255, 61, 139, 0.5),
    0 30px 80px -60px rgba(59, 108, 255, 0.6);
}

/* focus clavier visible sur les cartes */
.card-media:focus-visible { outline-offset: 4px; }

@media (prefers-reduced-motion: reduce) {
  body::before,
  .hero-accent { animation: none !important; }
}

@media print {
  body { background: #fff; color: #000; }
  .site-header, .site-footer, .toc, .share, .to-top, .newsletter, .article-nav, .article-band::before, .article-band::after { display: none !important; }
  .article-layout { display: block; padding: 0; }
  .prose { color: #000; }
  .prose h2, .prose h3, .prose strong { color: #000; }
}
