/* ============================================================
   BLOG — DESIGN SYSTEM V2 · "COMMAND HUD"
   Esthétique HUD / esport. Un seul accent signature (volt),
   formes angulaires, détails techniques. Source unique des
   tokens et des composants.
   ============================================================ */

/* -------------------- TOKENS -------------------- */
:root {
  /* Surfaces — gris froids, quasi-noir */
  --bg:            #07080b;
  --bg-elev:       #0b0d12;
  --surface-1:     #0e1116;
  --surface-2:     #141821;
  --surface-3:     #1c212d;
  --border:        #232a38;
  --border-strong: #333c4f;
  --grid-line:     rgba(255, 106, 26, .035);

  /* Texte */
  --text:       #f2f4f8;
  --text-soft:  #a9b1c2;
  --text-faint: #6b7488;
  --text-dim:   #454c5e;

  /* Signature — VOLT (vert acide) */
  --volt:        #FF6A1A;
  --volt-bright: #ff9861;
  --volt-deep:   #b33f00;
  --volt-tint:   rgba(255, 106, 26, .11);
  --volt-line:   rgba(255, 106, 26, .28);
  --volt-glow:   rgba(255, 106, 26, .30);
  --grad-volt:   linear-gradient(120deg, #ff9861, #FF6A1A 55%, #b33f00);

  /* Sémantiques (statut, pas marque) */
  --success:      #34d399;  --success-tint: rgba(52,211,153,.13);
  --warning:      #ffb020;  --warning-tint: rgba(255,176,32,.13);
  --danger:       #ff4d6d;  --danger-tint:  rgba(255,77,109,.13);
  --info:         #38bdf8;  --info-tint:    rgba(56,189,248,.13);

  /* Échelle tier list */
  --tier-s: #ff4d6d;
  --tier-a: #ffb020;
  --tier-b: var(--volt);
  --tier-c: #38bdf8;
  --tier-d: #8892a6;

  /* Typographie */
  --font-display: "Chakra Petch", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, Roboto, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --fs-xs: 12px; --fs-sm: 13.5px; --fs-base: 16px; --fs-md: 18px;
  --fs-lg: 21px; --fs-xl: 26px; --fs-2xl: 33px;
  --fs-3xl: clamp(30px, 5vw, 46px); --fs-4xl: clamp(40px, 7vw, 70px);

  /* Espacements */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;

  /* Rayons — angulaires (peu arrondis) */
  --r-sm: 2px; --r-md: 4px; --r-lg: 6px; --r-full: 999px;
  --notch: 12px;

  --shadow-md: 0 10px 30px rgba(0,0,0,.45);
  --shadow-lg: 0 30px 70px rgba(0,0,0,.6);

  --maxw: 1200px;
  --maxw-prose: 720px;
  --header-h: 64px;
}

/* -------------------- RESET / BASE -------------------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
}
/* Grille blueprint en fond, fondue vers le bas */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--grid-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 90% 60% at 50% -5%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 90% 60% at 50% -5%, #000 30%, transparent 75%);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--volt); color: #07080b; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em; line-height: 1.08; margin: 0; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(18px, 4vw, 44px); }

/* Label mono technique */
.kicker {
  font-family: var(--font-mono); font-size: var(--fs-xs); letter-spacing: .18em;
  text-transform: uppercase; font-weight: 600; color: var(--volt);
  display: inline-flex; align-items: center; gap: 8px;
}
.kicker::before { content: ""; width: 18px; height: 1px; background: var(--volt); display: inline-block; }

/* -------------------- FORMES HUD (utilitaires) -------------------- */
/* Panneau à coins entaillés, avec bord dessiné (double couche) */
.hud {
  --nb: var(--notch);
  clip-path: polygon(var(--nb) 0, 100% 0, 100% calc(100% - var(--nb)), calc(100% - var(--nb)) 100%, 0 100%, 0 var(--nb));
  background: var(--border);        /* fait office de bord */
  padding: 1px;
}
.hud > * {
  clip-path: polygon(var(--nb) 0, 100% 0, 100% calc(100% - var(--nb)), calc(100% - var(--nb)) 100%, 0 100%, 0 var(--nb));
  background: var(--surface-1);
  display: block;
}
.hud.accent { background: var(--volt-line); }
.hud.accent-full { background: var(--grad-volt); }

/* Crochets d'angle (viseur) */
.brackets { position: relative; }
.brackets::before, .brackets::after {
  content: ""; position: absolute; width: 13px; height: 13px; z-index: 2;
  border: 2px solid var(--volt); pointer-events: none;
}
.brackets::before { top: 6px; left: 6px; border-right: 0; border-bottom: 0; }
.brackets::after { bottom: 6px; right: 6px; border-left: 0; border-top: 0; }

/* -------------------- HEADER / NAV -------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  display: flex; align-items: center;
  background: rgba(7, 8, 11, .82);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.site-header .container { display: flex; align-items: center; gap: var(--s5); width: 100%; }
.brand { display: flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: .01em; text-transform: uppercase; }
.brand .logo {
  width: 32px; height: 32px; display: grid; place-items: center;
  background: var(--grad-volt); color: #07080b; font-family: var(--font-display); font-weight: 700; font-size: 17px;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
  box-shadow: 0 0 18px var(--volt-glow);
}
.brand .logo-text b { color: #fff; }
.brand .logo-text span { color: var(--volt); }
.main-nav { display: flex; gap: 2px; margin-left: 10px; }
.main-nav a {
  position: relative; padding: 9px 14px; font-family: var(--font-mono); font-size: 13px;
  letter-spacing: .04em; text-transform: uppercase; color: var(--text-faint); font-weight: 500;
  transition: color .15s;
}
.main-nav a:hover { color: var(--text); }
.main-nav a.active { color: var(--volt); }
.main-nav a.active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 2px; background: var(--volt); box-shadow: 0 0 10px var(--volt-glow); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: var(--s3); }
.search-box {
  display: flex; align-items: center; gap: 8px; background: var(--surface-1);
  border: 1px solid var(--border); padding: 7px 13px; color: var(--text-faint);
  font-family: var(--font-mono); font-size: 12.5px; min-width: 170px;
  clip-path: polygon(7px 0, 100% 0, 100% calc(100% - 7px), calc(100% - 7px) 100%, 0 100%, 0 7px);
}
.search-box svg { width: 14px; height: 14px; flex: none; }

/* -------------------- BOUTONS -------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; justify-content: center;
  font-family: var(--font-display); font-weight: 600; font-size: 14px; letter-spacing: .04em;
  text-transform: uppercase; line-height: 1; padding: 12px 22px; cursor: pointer;
  border: none; transition: transform .12s, box-shadow .15s, background .15s, color .15s;
  clip-path: polygon(9px 0, 100% 0, 100% calc(100% - 9px), calc(100% - 9px) 100%, 0 100%, 0 9px);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad-volt); color: #07080b; box-shadow: 0 0 0 rgba(0,0,0,0); }
.btn-primary:hover { box-shadow: 0 6px 26px var(--volt-glow); }
.btn-secondary { position: relative; background: var(--surface-2); color: var(--text); padding-left: 24px; }
.btn-secondary::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--volt); }
.btn-secondary:hover { background: var(--surface-3); color: #fff; }
.btn-ghost { background: transparent; color: var(--text-faint); clip-path: none; }
.btn-ghost:hover { color: var(--volt); }
.btn-sm { padding: 9px 16px; font-size: 12.5px; }
.btn-lg { padding: 15px 30px; font-size: 16px; }

/* -------------------- BADGES / TAGS / TIERS -------------------- */
.badge {
  display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-mono);
  font-size: 11px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase;
  padding: 5px 11px; background: var(--volt-tint); color: var(--volt); border: 1px solid var(--volt-line);
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}
.badge.info    { background: var(--info-tint);    color: var(--info);    border-color: rgba(56,189,248,.3); }
.badge.success { background: var(--success-tint); color: var(--success); border-color: rgba(52,211,153,.3); }
.badge.warning { background: var(--warning-tint); color: var(--warning); border-color: rgba(255,176,32,.3); }
.badge.danger  { background: var(--danger-tint);  color: var(--danger);  border-color: rgba(255,77,109,.3); }
.badge .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }

.tag {
  display: inline-block; font-family: var(--font-mono); font-size: 12px; color: var(--text-soft);
  padding: 5px 11px; background: var(--surface-2); border: 1px solid var(--border);
  transition: color .15s, border-color .15s;
}
.tag::before { content: "#"; color: var(--volt); margin-right: 1px; }
.tag:hover { color: #fff; border-color: var(--volt-line); }

.tier {
  font-family: var(--font-display); font-weight: 700; width: 34px; height: 34px;
  display: grid; place-items: center; color: #07080b; font-size: 17px;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.tier.s { background: var(--tier-s); } .tier.a { background: var(--tier-a); }
.tier.b { background: var(--tier-b); } .tier.c { background: var(--tier-c); }
.tier.d { background: var(--tier-d); }

/* -------------------- STAT BARS / METERS -------------------- */
.stat { display: flex; flex-direction: column; gap: 6px; }
.stat .stat-top { display: flex; justify-content: space-between; align-items: baseline; }
.stat .stat-name { font-family: var(--font-mono); font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--text-soft); }
.stat .stat-val { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--volt); }
.meter { height: 8px; background: var(--surface-3); overflow: hidden; position: relative; }
.meter > span { display: block; height: 100%; background: var(--grad-volt); box-shadow: 0 0 12px var(--volt-glow); }
.meter.danger > span  { background: linear-gradient(120deg, #ff8095, #ff4d6d); box-shadow: 0 0 12px rgba(255,77,109,.4); }
.meter.warning > span { background: linear-gradient(120deg, #ffc96a, #ffb020); box-shadow: none; }

/* Chip de note */
.rating { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; }
.rating .score { font-size: 22px; color: var(--volt); }
.rating .over { font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); font-weight: 400; }

/* -------------------- CARTES ARTICLE -------------------- */
.card {
  position: relative; background: var(--surface-1); border: 1px solid var(--border);
  transition: transform .18s, border-color .18s, box-shadow .18s; display: flex; flex-direction: column;
  clip-path: polygon(var(--notch) 0, 100% 0, 100% 100%, 0 100%, 0 var(--notch));
}
.card:hover { transform: translateY(-4px); border-color: var(--volt-line); box-shadow: var(--shadow-md); }
.card .thumb { aspect-ratio: 16/10; position: relative; overflow: hidden; background: var(--surface-3); }
.card .thumb .ph-img { width: 100%; height: 100%; }
.card .thumb .cat { position: absolute; top: 12px; left: 12px; z-index: 2; }
.card .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,8,11,.7), transparent 55%); }
.card .body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.card .idx { font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); letter-spacing: .1em; }
.card .body h3 { font-size: var(--fs-lg); line-height: 1.2; transition: color .15s; }
.card:hover .body h3 { color: var(--volt); }
.card .excerpt { font-size: 14px; color: var(--text-soft); line-height: 1.5; margin: 0; }
.card .meta { margin-top: auto; display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-faint); font-family: var(--font-mono); letter-spacing: .03em; }
.card .meta .sep { color: var(--text-dim); }

/* Vignettes placeholder (dégradés sombres + volt) */
.ph-img { display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: rgba(255,255,255,.9); font-size: 20px; letter-spacing: .08em; text-transform: uppercase; }
.ph-1 { background: linear-gradient(135deg, #1c212d, #0e1116), radial-gradient(circle at 70% 20%, rgba(3, 169, 244,.25), transparent 50%); }
.ph-2 { background: linear-gradient(135deg, #241a2e, #0e1116), radial-gradient(circle at 30% 30%, rgba(255,77,109,.28), transparent 55%); }
.ph-3 { background: linear-gradient(135deg, #14232b, #0e1116), radial-gradient(circle at 60% 40%, rgba(56,189,248,.26), transparent 55%); }
.ph-4 { background: linear-gradient(135deg, #2b2314, #0e1116), radial-gradient(circle at 40% 30%, rgba(255,176,32,.26), transparent 55%); }

/* -------------------- AD SLOT (RSoC / AdSense) -------------------- */
.ad-slot {
  position: relative; border: 1px dashed var(--border-strong);
  background: repeating-linear-gradient(-45deg, var(--surface-1), var(--surface-1) 11px, var(--bg-elev) 11px, var(--bg-elev) 22px);
  display: grid; place-items: center; text-align: center; color: var(--text-faint); padding: 22px;
}
.ad-slot::before { content: "// ADVERTISEMENT"; position: absolute; top: 8px; left: 12px; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .14em; color: var(--text-dim); }
.ad-slot .ad-inner { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em; }
.ad-leaderboard { width: 728px; max-width: 100%; height: 90px; min-height: 90px; margin: 0 auto; padding: 8px; }
.ad-rectangle { min-height: 260px; } .ad-inline { min-height: 130px; }

/* -------------------- BREADCRUMB -------------------- */
.breadcrumb { display: flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 12.5px; color: var(--text-faint); flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--volt); }
.breadcrumb .chev { color: var(--text-dim); }
.breadcrumb .current { color: var(--text-soft); }

/* -------------------- TOC -------------------- */
.toc { background: var(--surface-1); border: 1px solid var(--border); padding: 18px 20px; }
.toc .toc-title { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--volt); margin-bottom: 13px; }
.toc ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; display: flex; flex-direction: column; gap: 1px; }
.toc li { counter-increment: toc; }
.toc a { display: flex; gap: 11px; padding: 8px 10px; font-size: 14px; color: var(--text-soft); border-left: 2px solid var(--border); transition: background .15s, color .15s, border-color .15s; }
.toc a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-mono); font-size: 11px; color: var(--text-dim); }
.toc a:hover, .toc a.active { background: var(--surface-2); color: var(--volt); border-left-color: var(--volt); }
.toc a.active::before { color: var(--volt); }

/* -------------------- AUTHOR BOX (E-E-A-T) -------------------- */
.author-box { display: flex; gap: 16px; align-items: flex-start; background: var(--surface-1); border: 1px solid var(--border); padding: 20px; clip-path: polygon(var(--notch) 0, 100% 0, 100% calc(100% - var(--notch)), calc(100% - var(--notch)) 100%, 0 100%, 0 var(--notch)); }
.author-box .avatar { width: 56px; height: 56px; flex: none; background: var(--grad-volt); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 22px; color: #07080b; clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px); }
.author-box .a-name { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-md); display: flex; align-items: center; gap: 8px; }
.author-box .a-role { font-family: var(--font-mono); font-size: 12px; color: var(--volt); margin: 3px 0 8px; letter-spacing: .03em; }
.author-box .a-bio { font-size: 14px; color: var(--text-soft); margin: 0; line-height: 1.5; }
.verified { color: var(--volt); }

/* -------------------- CALLOUTS -------------------- */
.callout { position: relative; padding: 15px 18px 15px 20px; background: var(--volt-tint); border-left: 3px solid var(--volt); }
.callout .c-label { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--volt); display: block; margin-bottom: 6px; }
.callout p { margin: 0; font-size: 14.5px; color: var(--text); }
.callout.info   { background: var(--info-tint);    border-left-color: var(--info); }    .callout.info .c-label   { color: var(--info); }
.callout.tip    { background: var(--success-tint); border-left-color: var(--success); } .callout.tip .c-label    { color: var(--success); }
.callout.warn   { background: var(--warning-tint); border-left-color: var(--warning); } .callout.warn .c-label   { color: var(--warning); }
.callout.danger { background: var(--danger-tint);  border-left-color: var(--danger); }  .callout.danger .c-label { color: var(--danger); }

/* -------------------- PAGINATION -------------------- */
.pagination { display: flex; align-items: center; gap: 6px; }
.pagination a, .pagination span.page {
  min-width: 38px; height: 38px; padding: 0 10px; display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 14px; border: 1px solid var(--border);
  background: var(--surface-1); color: var(--text-soft); transition: all .15s;
  clip-path: polygon(5px 0, 100% 0, 100% calc(100% - 5px), calc(100% - 5px) 100%, 0 100%, 0 5px);
}
.pagination a:hover { border-color: var(--volt-line); color: var(--volt); }
.pagination .current { background: var(--volt-tint); border-color: var(--volt); color: var(--volt); }
.pagination .dots { color: var(--text-dim); font-family: var(--font-mono); padding: 0 4px; }

/* -------------------- TABLE DE DONNÉES -------------------- */
.data-table { width: 100%; border-collapse: collapse; font-size: 14.5px; border: 1px solid var(--border); }
.data-table th { background: var(--surface-2); text-align: left; padding: 12px 16px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--volt); font-weight: 600; }
.data-table td { padding: 12px 16px; border-top: 1px solid var(--border); color: var(--text-soft); }
.data-table tr:hover td { background: var(--surface-1); }
.data-table td strong { color: #fff; }

/* -------------------- FOOTER -------------------- */
.site-footer { border-top: 1px solid var(--border); margin-top: var(--s9); background: var(--bg-elev); }
.site-footer .footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: var(--s6); padding: var(--s8) 0 var(--s6); }
.site-footer .f-col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 14px; font-weight: 600; }
.site-footer .f-col a { display: block; font-size: 14px; color: var(--text-soft); padding: 5px 0; }
.site-footer .f-col a:hover { color: var(--volt); }
.site-footer .f-about p { font-size: 14px; color: var(--text-faint); max-width: 34ch; line-height: 1.6; margin: 12px 0 0; }
.site-footer .footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 12px; color: var(--text-dim); }
.site-footer .footer-bottom a { color: var(--text-faint); }
.site-footer .footer-bottom a:hover { color: var(--volt); }

/* ============================================================
   EXTENSIONS V2.1 — tous les composants du plan
   (spécimens pour le styleguide)
   ============================================================ */

/* -------------------- LOGO : pictogramme sommet -------------------- */
.brand .logo svg { width: 20px; height: 20px; }

/* -------------------- ANNOUNCEMENT BAR -------------------- */
.announce-bar { background: var(--volt-tint); border-bottom: 1px solid var(--volt-line); }
.announce-bar .inner { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-family: var(--font-mono); font-size: 12.5px; color: var(--text-soft); letter-spacing: .02em; }
.announce-bar .pill { font-weight: 600; color: var(--volt); text-transform: uppercase; letter-spacing: .08em; }
.announce-bar a { color: var(--volt); text-decoration: underline; text-underline-offset: 2px; margin-left: auto; }
.announce-bar .close { background: none; border: none; color: var(--text-faint); cursor: pointer; font-size: 16px; padding: 0 4px; }

/* -------------------- MEGA-MENU / DROPDOWN -------------------- */
.megamenu { background: var(--surface-1); border: 1px solid var(--border); box-shadow: var(--shadow-lg); padding: 20px; width: 100%; max-width: 640px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%); }
.megamenu .mm-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.megamenu .mm-col h5 { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--volt); margin: 0 0 8px; }
.megamenu .mm-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; color: var(--text-soft); font-size: 14px; transition: background .15s, color .15s; }
.megamenu .mm-item:hover { background: var(--surface-2); color: #fff; }
.megamenu .mm-item .ico { width: 22px; height: 22px; flex: none; background: var(--surface-3); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 11px; color: var(--volt); clip-path: polygon(4px 0,100% 0,100% calc(100% - 4px),calc(100% - 4px) 100%,0 100%,0 4px); }

/* -------------------- PREVIEW FRAME (pour overlays) -------------------- */
.preview-frame { position: relative; border: 1px solid var(--border); background: var(--bg); overflow: hidden; min-height: 240px; padding: 0; }
.preview-frame .pf-label { position: absolute; top: 8px; left: 10px; z-index: 5; font-family: var(--font-mono); font-size: 9.5px; letter-spacing: .12em; color: var(--text-dim); }
.preview-frame .scrim { position: absolute; inset: 0; background: rgba(7,8,11,.66); backdrop-filter: blur(2px); }

/* -------------------- MOBILE DRAWER -------------------- */
.drawer { position: absolute; top: 0; bottom: 0; left: 0; width: 76%; max-width: 300px; background: var(--surface-1); border-right: 1px solid var(--border); z-index: 6; display: flex; flex-direction: column; padding: 18px; }
.drawer .d-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer nav { display: flex; flex-direction: column; }
.drawer nav a { padding: 13px 8px; border-bottom: 1px solid var(--border); font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: 15px; letter-spacing: .03em; color: var(--text); display: flex; justify-content: space-between; align-items: center; }
.drawer nav a .chev { color: var(--text-dim); }
.drawer nav a.active { color: var(--volt); }

/* -------------------- SEARCH MODAL -------------------- */
.search-modal { position: absolute; top: 40px; left: 50%; transform: translateX(-50%); width: min(92%, 520px); z-index: 6; background: var(--surface-1); border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg); clip-path: polygon(0 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%); }
.search-modal .sm-input { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.search-modal .sm-input input { flex: 1; background: none; border: none; outline: none; color: var(--text); font-family: var(--font-sans); font-size: 16px; }
.search-modal .sm-input .kbd { font-family: var(--font-mono); font-size: 10.5px; color: var(--text-faint); border: 1px solid var(--border); padding: 3px 6px; }
.search-modal .sm-results { padding: 8px; }
.search-modal .sm-cat { font-family: var(--font-mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); padding: 8px 10px 4px; }
.search-modal .sm-res { display: flex; align-items: center; gap: 12px; padding: 10px; color: var(--text-soft); }
.search-modal .sm-res:hover { background: var(--surface-2); color: #fff; }
.search-modal .sm-res .badge { flex: none; }

/* -------------------- BACK TO TOP / READING PROGRESS -------------------- */
.reading-progress { height: 3px; background: var(--surface-3); position: relative; overflow: hidden; }
.reading-progress > span { position: absolute; left: 0; top: 0; bottom: 0; background: var(--grad-volt); box-shadow: 0 0 10px var(--volt-glow); }
.to-top { width: 46px; height: 46px; display: grid; place-items: center; background: var(--surface-2); border: 1px solid var(--border-strong); color: var(--volt); cursor: pointer; clip-path: polygon(8px 0,100% 0,100% calc(100% - 8px),calc(100% - 8px) 100%,0 100%,0 8px); }
.to-top:hover { border-color: var(--volt); box-shadow: 0 0 18px var(--volt-glow); }

/* -------------------- HOME HERO / SPOTLIGHT -------------------- */
.spotlight { display: grid; grid-template-columns: 1.5fr 1fr; gap: 16px; }
.spotlight .feature { position: relative; min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; padding: 28px; overflow: hidden; border: 1px solid var(--border); clip-path: polygon(var(--notch) 0,100% 0,100% 100%,0 100%,0 var(--notch)); }
.spotlight .feature .bg { position: absolute; inset: 0; z-index: 0; }
.spotlight .feature::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(7,8,11,.95) 6%, rgba(7,8,11,.2) 60%, transparent); }
.spotlight .feature > * { position: relative; z-index: 2; }
.spotlight .feature h2 { font-size: var(--fs-2xl); color: #fff; margin: 12px 0 8px; max-width: 20ch; }
.spotlight .feature p { color: var(--text-soft); font-size: 15px; margin: 0 0 14px; max-width: 46ch; }
.spotlight .side { display: flex; flex-direction: column; gap: 16px; }
.spotlight .side .mini { display: flex; gap: 14px; align-items: center; padding: 12px; background: var(--surface-1); border: 1px solid var(--border); transition: border-color .15s; }
.spotlight .side .mini:hover { border-color: var(--volt-line); }
.spotlight .side .mini .thumb { width: 84px; height: 60px; flex: none; overflow: hidden; }
.spotlight .side .mini h4 { font-size: 15px; line-height: 1.25; color: var(--text); }
.spotlight .side .mini .m-meta { font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); margin-top: 5px; }

/* -------------------- SECTION HEADER (« tout voir ») -------------------- */
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 14px; margin-bottom: 20px; border-bottom: 1px solid var(--border); }
.section-head h2 { font-size: var(--fs-xl); text-transform: uppercase; display: flex; align-items: center; gap: 12px; }
.section-head h2::before { content: ""; width: 4px; height: 22px; background: var(--volt); box-shadow: 0 0 12px var(--volt-glow); }
.section-head .see-all { font-family: var(--font-mono); font-size: 12px; color: var(--volt); text-transform: uppercase; letter-spacing: .06em; }

/* -------------------- HUB / CATÉGORIE HEADER -------------------- */
.hub-header { position: relative; overflow: hidden; border: 1px solid var(--border); padding: 32px; min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end; clip-path: polygon(var(--notch) 0,100% 0,100% 100%,0 100%,0 var(--notch)); }
.hub-header .bg { position: absolute; inset: 0; z-index: 0; }
.hub-header::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(120deg, rgba(7,8,11,.94) 30%, rgba(7,8,11,.55)); }
.hub-header > * { position: relative; z-index: 2; }
.hub-header .h-title { font-size: var(--fs-3xl); color: #fff; margin: 10px 0 8px; }
.hub-header .h-desc { color: var(--text-soft); font-size: 15px; max-width: 56ch; margin: 0 0 14px; }
.hub-header .h-stats { display: flex; gap: 24px; }
.hub-header .h-stats .hs { font-family: var(--font-mono); }
.hub-header .h-stats .hs b { display: block; font-family: var(--font-display); font-size: 22px; color: var(--volt); }
.hub-header .h-stats .hs span { font-size: 11px; color: var(--text-faint); text-transform: uppercase; letter-spacing: .08em; }

/* -------------------- NEWSLETTER -------------------- */
.newsletter { position: relative; overflow: hidden; border: 1px solid var(--volt-line); background: linear-gradient(135deg, var(--volt-tint), transparent 60%); padding: 32px; text-align: center; clip-path: polygon(var(--notch) 0,100% 0,100% calc(100% - var(--notch)),calc(100% - var(--notch)) 100%,0 100%,0 var(--notch)); }
.newsletter h3 { font-size: var(--fs-xl); color: #fff; text-transform: uppercase; }
.newsletter p { color: var(--text-soft); font-size: 15px; margin: 8px auto 18px; max-width: 44ch; }
.newsletter .nl-form { display: flex; gap: 10px; max-width: 440px; margin: 0 auto; }
.newsletter .nl-form input { flex: 1; }

/* -------------------- TRENDING (liste numérotée) -------------------- */
.trending { display: flex; flex-direction: column; }
.trending .tr-item { display: flex; align-items: center; gap: 16px; padding: 12px 6px; border-bottom: 1px solid var(--border); }
.trending .tr-item .rank { font-family: var(--font-display); font-weight: 700; font-size: 26px; color: var(--text-dim); width: 34px; text-align: center; flex: none; }
.trending .tr-item:nth-child(1) .rank, .trending .tr-item:nth-child(2) .rank, .trending .tr-item:nth-child(3) .rank { color: var(--volt); }
.trending .tr-item h4 { font-size: 15px; color: var(--text); line-height: 1.3; }
.trending .tr-item .t-meta { font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); margin-top: 4px; }

/* -------------------- GAME CARDS -------------------- */
.game-card { position: relative; aspect-ratio: 3/4; overflow: hidden; border: 1px solid var(--border); display: flex; align-items: flex-end; padding: 14px; transition: transform .18s, border-color .18s; clip-path: polygon(10px 0,100% 0,100% 100%,0 100%,0 10px); }
.game-card:hover { transform: translateY(-4px); border-color: var(--volt-line); }
.game-card .bg { position: absolute; inset: 0; z-index: 0; }
.game-card::after { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(7,8,11,.92), transparent 55%); }
.game-card .g-name { position: relative; z-index: 2; font-family: var(--font-display); font-weight: 700; color: #fff; font-size: 16px; }
.game-card .g-count { position: relative; z-index: 2; font-family: var(--font-mono); font-size: 11px; color: var(--volt); display: block; margin-top: 3px; }

/* -------------------- TIER LIST COMPLÈTE -------------------- */
.tierlist { border: 1px solid var(--border); }
.tier-row { display: grid; grid-template-columns: 68px 1fr; border-bottom: 1px solid var(--border); }
.tier-row:last-child { border-bottom: none; }
.tier-row .tier-label { display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 26px; color: #07080b; }
.tier-row.s .tier-label { background: var(--tier-s); } .tier-row.a .tier-label { background: var(--tier-a); }
.tier-row.b .tier-label { background: var(--tier-b); } .tier-row.c .tier-label { background: var(--tier-c); }
.tier-row .tier-units { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px; background: var(--surface-1); align-items: center; }
.unit-chip { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 62px; }
.unit-chip .u-portrait { width: 52px; height: 52px; background: var(--surface-3); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; color: var(--text); border: 1px solid var(--border-strong); clip-path: polygon(6px 0,100% 0,100% calc(100% - 6px),calc(100% - 6px) 100%,0 100%,0 6px); }
.unit-chip .u-name { font-size: 10.5px; color: var(--text-faint); text-align: center; line-height: 1.1; }

/* -------------------- CARTE PERSONNAGE / ITEM -------------------- */
.char-card { background: var(--surface-1); border: 1px solid var(--border); overflow: hidden; clip-path: polygon(var(--notch) 0,100% 0,100% 100%,0 100%,0 var(--notch)); transition: transform .18s, border-color .18s; }
.char-card:hover { transform: translateY(-4px); border-color: var(--volt-line); }
.char-card .cc-top { position: relative; aspect-ratio: 1/1; display: flex; align-items: flex-start; justify-content: space-between; padding: 12px; }
.char-card .cc-top::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--surface-1), transparent 60%); }
.char-card .cc-top > * { position: relative; z-index: 2; }
.char-card .element { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; }
.char-card .cc-body { padding: 0 14px 16px; margin-top: -6px; position: relative; z-index: 3; }
.char-card .cc-body .c-name { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: #fff; }
.char-card .cc-body .c-role { font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); text-transform: uppercase; letter-spacing: .06em; margin-top: 2px; }
.stars { display: flex; gap: 2px; margin-top: 8px; color: var(--warning); font-size: 13px; }
.stars .off { color: var(--text-dim); }

/* -------------------- BUILD / LOADOUT -------------------- */
.loadout { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.slot { background: var(--surface-1); border: 1px solid var(--border); padding: 12px; display: flex; gap: 10px; align-items: center; }
.slot .s-ico { width: 40px; height: 40px; flex: none; background: var(--surface-3); display: grid; place-items: center; font-size: 18px; border: 1px solid var(--border-strong); clip-path: polygon(6px 0,100% 0,100% calc(100% - 6px),calc(100% - 6px) 100%,0 100%,0 6px); }
.slot .s-label { font-family: var(--font-mono); font-size: 10px; color: var(--text-faint); text-transform: uppercase; letter-spacing: .06em; }
.slot .s-name { font-size: 14px; color: var(--text); font-weight: 500; margin-top: 2px; }
.slot.empty { border-style: dashed; color: var(--text-dim); }

/* -------------------- PROS / CONS -------------------- */
.proscons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.pc-col { background: var(--surface-1); border: 1px solid var(--border); padding: 18px; }
.pc-col.pros { border-top: 3px solid var(--success); }
.pc-col.cons { border-top: 3px solid var(--danger); }
.pc-col h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 12px; }
.pc-col.pros h4 { color: var(--success); } .pc-col.cons h4 { color: var(--danger); }
.pc-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.pc-col li { font-size: 14px; color: var(--text-soft); padding-left: 24px; position: relative; line-height: 1.4; }
.pc-col.pros li::before { content: "+"; position: absolute; left: 4px; color: var(--success); font-weight: 700; }
.pc-col.cons li::before { content: "−"; position: absolute; left: 4px; color: var(--danger); font-weight: 700; }

/* -------------------- INFOS-CLÉS -------------------- */
.keyfacts { background: var(--surface-1); border: 1px solid var(--border); }
.keyfacts .kf-head { padding: 12px 16px; background: var(--surface-2); font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--volt); }
.keyfacts .kf-row { display: grid; grid-template-columns: 130px 1fr; border-top: 1px solid var(--border); }
.keyfacts .kf-row .k { padding: 11px 16px; font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); text-transform: uppercase; letter-spacing: .04em; }
.keyfacts .kf-row .v { padding: 11px 16px; font-size: 14px; color: var(--text); border-left: 1px solid var(--border); }

/* -------------------- PATCH NOTES -------------------- */
.patch { background: var(--surface-1); border: 1px solid var(--border); padding: 18px 20px; }
.patch .p-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.patch .p-head .ver { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: #fff; }
.patch .p-line { display: flex; gap: 12px; padding: 7px 0; font-size: 14px; color: var(--text-soft); align-items: baseline; }
.patch .p-line .type { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; padding: 2px 7px; flex: none; }
.patch .p-line .type.buff { background: var(--success-tint); color: var(--success); }
.patch .p-line .type.nerf { background: var(--danger-tint); color: var(--danger); }
.patch .p-line .type.new  { background: var(--volt-tint); color: var(--volt); }

/* -------------------- CONFIG PC REQUISE -------------------- */
.pcreq { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--border); }
.pcreq .req-col { padding: 0; }
.pcreq .req-col:first-child { border-right: 1px solid var(--border); }
.pcreq .req-head { padding: 12px 16px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.pcreq .req-col.min .req-head { background: var(--surface-2); color: var(--text-faint); }
.pcreq .req-col.reco .req-head { background: var(--volt-tint); color: var(--volt); }
.pcreq .req-row { display: grid; grid-template-columns: 90px 1fr; border-top: 1px solid var(--border); font-size: 13.5px; }
.pcreq .req-row .rk { padding: 9px 16px; font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); text-transform: uppercase; }
.pcreq .req-row .rv { padding: 9px 16px; color: var(--text-soft); }

/* -------------------- COUNTDOWN -------------------- */
.countdown { display: flex; align-items: center; gap: 14px; }
.countdown .cd-unit { text-align: center; background: var(--surface-2); border: 1px solid var(--border); padding: 12px 16px; min-width: 66px; clip-path: polygon(6px 0,100% 0,100% calc(100% - 6px),calc(100% - 6px) 100%,0 100%,0 6px); }
.countdown .cd-unit b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 28px; color: var(--volt); line-height: 1; }
.countdown .cd-unit span { font-family: var(--font-mono); font-size: 10px; color: var(--text-faint); text-transform: uppercase; letter-spacing: .08em; }

/* -------------------- TIMELINE / ROADMAP -------------------- */
.timeline { position: relative; padding-left: 26px; }
.timeline::before { content: ""; position: absolute; left: 6px; top: 4px; bottom: 4px; width: 2px; background: var(--border); }
.tl-item { position: relative; padding-bottom: 20px; }
.tl-item::before { content: ""; position: absolute; left: -23px; top: 4px; width: 12px; height: 12px; background: var(--surface-1); border: 2px solid var(--border-strong); border-radius: 50%; }
.tl-item.done::before { background: var(--volt); border-color: var(--volt); box-shadow: 0 0 10px var(--volt-glow); }
.tl-item .tl-date { font-family: var(--font-mono); font-size: 11px; color: var(--volt); letter-spacing: .04em; }
.tl-item h4 { font-size: 15px; color: var(--text); margin: 3px 0 4px; }
.tl-item p { font-size: 13.5px; color: var(--text-faint); margin: 0; }

/* -------------------- PROSE (spécimen complet) -------------------- */
.prose { font-size: var(--fs-md); line-height: 1.75; color: var(--text-soft); max-width: 680px; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: var(--fs-2xl); color: #fff; margin-top: 1.6em; text-transform: uppercase; }
.prose h3 { font-size: var(--fs-xl); color: #fff; margin-top: 1.3em; }
.prose p { margin: 0; }
.prose strong { color: #fff; font-weight: 600; }
.prose a { color: var(--volt); border-bottom: 1px solid var(--volt-line); }
.prose a:hover { border-bottom-color: var(--volt); }
.prose ul, .prose ol { margin: 0; padding-left: 1.3em; }
.prose li { margin: .4em 0; }
.prose li::marker { color: var(--volt); }
.prose blockquote { margin: 0; padding: 6px 20px; border-left: 3px solid var(--volt); color: var(--text); font-style: italic; font-size: var(--fs-lg); }
.prose code { font-family: var(--font-mono); font-size: .85em; background: var(--surface-2); border: 1px solid var(--border); padding: 2px 6px; color: var(--volt); }
.prose figure { margin: 0; }
.prose figure img, .prose figure .ph-img { aspect-ratio: 16/9; width: 100%; height: auto; object-fit: cover; display: block; border: 1px solid var(--border); }
.prose figcaption { font-family: var(--font-mono); font-size: 12px; color: var(--text-faint); text-align: center; margin-top: 8px; }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 1.8em 0; }

/* -------------------- VERDICT / TL;DR -------------------- */
.verdict { position: relative; background: linear-gradient(160deg, var(--volt-tint), transparent 70%); border: 1px solid var(--border-strong); padding: 20px 22px; clip-path: polygon(var(--notch) 0,100% 0,100% 100%,0 100%,0 var(--notch)); }
.verdict .v-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.verdict .v-head h4 { font-size: var(--fs-lg); color: #fff; text-transform: uppercase; }
.verdict p { margin: 0; color: var(--text-soft); font-size: 15px; }

/* -------------------- FAQ ACCORDÉON -------------------- */
.faq { border: 1px solid var(--border); }
.faq details { border-bottom: 1px solid var(--border); }
.faq details:last-child { border-bottom: none; }
.faq summary { padding: 15px 18px; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--text); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); color: var(--volt); font-size: 18px; flex: none; }
.faq details[open] summary { color: var(--volt); }
.faq details[open] summary::after { content: "−"; }
.faq .faq-body { padding: 0 18px 16px; font-size: 14.5px; color: var(--text-soft); line-height: 1.6; }

/* -------------------- SOURCES / RÉFÉRENCES -------------------- */
.sources { background: var(--surface-1); border: 1px solid var(--border); padding: 16px 18px; }
.sources h4 { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-faint); margin-bottom: 10px; }
.sources ol { margin: 0; padding-left: 1.4em; }
.sources li { font-size: 13px; color: var(--text-faint); margin: 5px 0; }
.sources li a { color: var(--volt); }

/* -------------------- SHARE RAIL -------------------- */
.share-rail { display: flex; flex-direction: column; gap: 8px; }
.share-rail .sbtn { width: 40px; height: 40px; display: grid; place-items: center; background: var(--surface-1); border: 1px solid var(--border); color: var(--text-soft); clip-path: polygon(6px 0,100% 0,100% calc(100% - 6px),calc(100% - 6px) 100%,0 100%,0 6px); }
.share-rail .sbtn:hover { border-color: var(--volt); color: var(--volt); }
.share-rail .sbtn.count { font-family: var(--font-mono); font-size: 11px; flex-direction: column; height: auto; padding: 6px 0; }

/* -------------------- VIDEO EMBED -------------------- */
.video-embed { position: relative; aspect-ratio: 16/9; overflow: hidden; border: 1px solid var(--border); }
.video-embed .play { position: absolute; inset: 0; display: grid; place-items: center; }
.video-embed .play .btn-play { width: 64px; height: 64px; border-radius: 50%; background: var(--volt); display: grid; place-items: center; color: #07080b; box-shadow: 0 0 30px var(--volt-glow); }

/* -------------------- AFFILIATE BUY BOX -------------------- */
.buybox { display: grid; grid-template-columns: 120px 1fr auto; gap: 18px; align-items: center; background: var(--surface-1); border: 1px solid var(--border); padding: 18px; clip-path: polygon(var(--notch) 0,100% 0,100% 100%,0 100%,0 var(--notch)); }
.buybox .bb-img { aspect-ratio: 1/1; background: var(--surface-3); display: grid; place-items: center; font-size: 30px; border: 1px solid var(--border-strong); }
.buybox .bb-name { font-family: var(--font-display); font-weight: 700; font-size: 17px; color: #fff; }
.buybox .bb-tag { font-size: 13px; color: var(--text-faint); margin: 4px 0 8px; }
.buybox .bb-stars { color: var(--warning); font-size: 13px; }
.buybox .bb-buy { text-align: right; }
.buybox .bb-price { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--volt); }
.buybox .bb-merchant { font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); margin: 2px 0 10px; }
@media (max-width: 620px) { .buybox { grid-template-columns: 1fr; text-align: center; } .buybox .bb-buy { text-align: center; } }

/* -------------------- DISCLOSURE -------------------- */
.disclosure { display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: var(--surface-2); border-left: 3px solid var(--warning); font-size: 12.5px; color: var(--text-faint); }
.disclosure .d-tag { font-family: var(--font-mono); font-size: 10px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--warning); }

/* -------------------- COMPARATIF PRODUITS -------------------- */
.compare-table th.best { background: var(--volt-tint); color: var(--volt); }
.compare-table .pick { color: var(--volt); font-weight: 600; }

/* -------------------- FORMULAIRES -------------------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-faint); }
.input, .select, .textarea, .search-modal .sm-input input, .newsletter input, .nl-form input {
  background: var(--surface-1); border: 1px solid var(--border); color: var(--text); font-family: var(--font-sans);
  font-size: 15px; padding: 11px 14px; outline: none; width: 100%; transition: border-color .15s, box-shadow .15s;
  clip-path: polygon(7px 0,100% 0,100% calc(100% - 7px),calc(100% - 7px) 100%,0 100%,0 7px);
}
.input:focus, .select:focus, .textarea:focus { border-color: var(--volt); box-shadow: 0 0 0 3px var(--volt-tint); }
.input::placeholder, .textarea::placeholder { color: var(--text-dim); }
.textarea { resize: vertical; min-height: 90px; }
.field.error .input { border-color: var(--danger); }
.field .err-msg { font-size: 12px; color: var(--danger); font-family: var(--font-mono); }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--volt) 50%), linear-gradient(135deg, var(--volt) 50%, transparent 50%); background-position: calc(100% - 18px) center, calc(100% - 13px) center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }

.check { display: flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: var(--text-soft); }
.check input { appearance: none; width: 18px; height: 18px; border: 1px solid var(--border-strong); background: var(--surface-1); flex: none; position: relative; clip-path: polygon(4px 0,100% 0,100% calc(100% - 4px),calc(100% - 4px) 100%,0 100%,0 4px); }
.check input:checked { background: var(--volt); border-color: var(--volt); }
.check input:checked::after { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; color: #07080b; font-size: 12px; font-weight: 700; }
.check input[type="radio"] { border-radius: 50%; clip-path: none; }
.check input[type="radio"]:checked { background: radial-gradient(circle, #07080b 30%, var(--volt) 34%); }

.toggle { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-size: 14px; color: var(--text-soft); }
.toggle input { appearance: none; width: 42px; height: 22px; background: var(--surface-3); border: 1px solid var(--border-strong); position: relative; transition: background .15s; flex: none; }
.toggle input::after { content: ""; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; background: var(--text-faint); transition: transform .15s, background .15s; }
.toggle input:checked { background: var(--volt-tint); border-color: var(--volt); }
.toggle input:checked::after { transform: translateX(20px); background: var(--volt); }

/* -------------------- FILTRES & TRI -------------------- */
.filterbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 12px; background: var(--surface-1); border: 1px solid var(--border); }
.chip-filter { font-family: var(--font-mono); font-size: 12px; padding: 7px 13px; background: var(--surface-2); border: 1px solid var(--border); color: var(--text-soft); cursor: pointer; clip-path: polygon(5px 0,100% 0,100% calc(100% - 5px),calc(100% - 5px) 100%,0 100%,0 5px); }
.chip-filter:hover { color: #fff; border-color: var(--border-strong); }
.chip-filter.active { background: var(--volt-tint); border-color: var(--volt); color: var(--volt); }
.filterbar .spacer { margin-left: auto; }

/* -------------------- TABS -------------------- */
.tabs .tab-nav { display: flex; gap: 2px; border-bottom: 1px solid var(--border); }
.tabs .tab-nav button { font-family: var(--font-display); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: .03em; padding: 12px 18px; background: none; border: none; color: var(--text-faint); cursor: pointer; position: relative; }
.tabs .tab-nav button:hover { color: var(--text); }
.tabs .tab-nav button.active { color: var(--volt); }
.tabs .tab-nav button.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--volt); box-shadow: 0 0 10px var(--volt-glow); }
.tabs .tab-panel { padding: 20px 4px; font-size: 14.5px; color: var(--text-soft); }
.tabs .tab-panel[hidden] { display: none; }

/* -------------------- COOKIE BANNER -------------------- */
.cookie-banner { background: var(--surface-1); border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg); padding: 18px 20px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.cookie-banner .cb-text { flex: 1; min-width: 240px; font-size: 13.5px; color: var(--text-soft); line-height: 1.5; }
.cookie-banner .cb-text b { color: #fff; }
.cookie-banner .cb-actions { display: flex; gap: 10px; }

/* -------------------- 404 -------------------- */
.notfound { text-align: center; padding: 48px 20px; }
.notfound .code { font-family: var(--font-display); font-weight: 700; font-size: clamp(70px, 14vw, 130px); line-height: 1; color: var(--volt); text-shadow: 0 0 40px var(--volt-glow); }
.notfound h3 { font-size: var(--fs-xl); text-transform: uppercase; margin: 8px 0 10px; }
.notfound p { color: var(--text-faint); max-width: 40ch; margin: 0 auto 20px; }

/* -------------------- MODAL / DIALOG -------------------- */
.modal { width: min(92%, 460px); background: var(--surface-1); border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg); z-index: 6; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); clip-path: polygon(var(--notch) 0,100% 0,100% calc(100% - var(--notch)),calc(100% - var(--notch)) 100%,0 100%,0 var(--notch)); }
.modal .m-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--border); }
.modal .m-head h4 { font-size: var(--fs-md); text-transform: uppercase; }
.modal .m-head .close { background: none; border: none; color: var(--text-faint); font-size: 18px; cursor: pointer; }
.modal .m-body { padding: 18px; font-size: 14.5px; color: var(--text-soft); }
.modal .m-foot { padding: 14px 18px; border-top: 1px solid var(--border); display: flex; justify-content: flex-end; gap: 10px; }

/* -------------------- TOAST -------------------- */
.toast { display: flex; align-items: center; gap: 12px; background: var(--surface-2); border: 1px solid var(--border-strong); border-left: 3px solid var(--volt); padding: 13px 16px; box-shadow: var(--shadow-md); min-width: 260px; }
.toast.success { border-left-color: var(--success); } .toast.danger { border-left-color: var(--danger); }
.toast .t-ico { font-size: 16px; color: var(--volt); }
.toast.success .t-ico { color: var(--success); } .toast.danger .t-ico { color: var(--danger); }
.toast .t-text { font-size: 13.5px; color: var(--text); }
.toast .t-text span { display: block; font-size: 12px; color: var(--text-faint); }

/* -------------------- SKELETON -------------------- */
.skeleton { background: linear-gradient(90deg, var(--surface-2) 25%, var(--surface-3) 50%, var(--surface-2) 75%); background-size: 200% 100%; animation: sk 1.4s infinite; }
@keyframes sk { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.sk-line { height: 12px; margin-bottom: 9px; }
.sk-thumb { aspect-ratio: 16/10; margin-bottom: 12px; }

/* -------------------- EMPTY STATE -------------------- */
.empty { text-align: center; padding: 40px 20px; border: 1px dashed var(--border-strong); }
.empty .e-ico { font-size: 34px; margin-bottom: 12px; opacity: .5; }
.empty h4 { font-size: var(--fs-md); text-transform: uppercase; margin-bottom: 6px; }
.empty p { color: var(--text-faint); font-size: 14px; margin: 0 auto 16px; max-width: 34ch; }

/* -------------------- TOOLTIP -------------------- */
.tip-wrap { position: relative; display: inline-flex; }
.tip-wrap .tip { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); background: var(--surface-3); border: 1px solid var(--border-strong); color: var(--text); font-size: 12px; padding: 7px 11px; white-space: nowrap; box-shadow: var(--shadow-md); }
.tip-wrap .tip::after { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%); border: 5px solid transparent; border-top-color: var(--border-strong); }

/* -------------------- ÉLÉVATION (tokens démo) -------------------- */
.elev-demo { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.elev-demo .el { height: 88px; background: var(--surface-2); border: 1px solid var(--border); display: grid; place-items: end center; padding-bottom: 8px; font-family: var(--font-mono); font-size: 11px; color: var(--text-faint); }
.elev-demo .el.md { box-shadow: var(--shadow-md); } .elev-demo .el.lg { box-shadow: var(--shadow-lg); }

/* -------------------- ICONOGRAPHIE -------------------- */
.icon-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.icon-grid .ic-cell { width: 60px; height: 60px; background: var(--surface-1); border: 1px solid var(--border); display: grid; place-items: center; color: var(--text-soft); }
.icon-grid .ic-cell svg { width: 22px; height: 22px; }

/* -------------------- GRILLE / BREAKPOINTS -------------------- */
.bp-table td .bar { height: 8px; background: var(--volt); box-shadow: 0 0 10px var(--volt-glow); }

/* -------------------- STYLEGUIDE : layout + sidebar -------------------- */
.sg-layout { display: grid; grid-template-columns: 232px 1fr; gap: 0; max-width: 1320px; margin: 0 auto; }
.sg-nav { position: sticky; top: var(--header-h); align-self: start; height: calc(100vh - var(--header-h)); overflow-y: auto; border-right: 1px solid var(--border); padding: 24px 16px; }
.sg-nav .sg-title { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-dim); margin: 18px 0 6px; padding: 0 10px; }
.sg-nav .sg-title:first-child { margin-top: 0; }
.sg-nav a { display: block; padding: 6px 10px; font-size: 13px; color: var(--text-faint); border-left: 2px solid transparent; transition: color .15s, border-color .15s, background .15s; }
.sg-nav a:hover { color: var(--text); }
.sg-nav a.active { color: var(--volt); border-left-color: var(--volt); background: var(--volt-tint); }
.sg-main { min-width: 0; padding: 0 clamp(18px, 4vw, 48px); }
@media (max-width: 940px) { .sg-layout { grid-template-columns: 1fr; } .sg-nav { display: none; } }

.loadout, .proscons, .pcreq, .spotlight, .compare-cols { }
@media (max-width: 680px) {
  .loadout { grid-template-columns: 1fr 1fr; }
  .proscons, .pcreq, .spotlight { grid-template-columns: 1fr; }
  .buybox { grid-template-columns: 1fr; }
}

/* -------------------- LAYOUT PAGE ARTICLE (réutilisable) -------------------- */
.article-wrap { padding: var(--s6) 0 var(--s8); }
.article-head { max-width: var(--maxw-prose, 720px); margin: 0 auto; }
.article-head .breadcrumb { margin-bottom: 16px; }
.article-head .head-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.article-head h1 { font-size: var(--fs-3xl); line-height: 1.06; margin: 0 0 16px; color: #fff; text-transform: none; }
.article-head .dek { font-size: var(--fs-lg); color: var(--text-soft); margin: 0 0 20px; line-height: 1.5; }
.article-byline { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-family: var(--font-mono); font-size: 13px; color: var(--text-faint); padding: 16px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.article-byline .who { display: flex; align-items: center; gap: 9px; color: var(--text-soft); }
.article-byline .mini-av { width: 26px; height: 26px; flex: none; background: var(--grad-volt); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 13px; color: #07080b; clip-path: polygon(5px 0,100% 0,100% calc(100% - 5px),calc(100% - 5px) 100%,0 100%,0 5px); }
.article-byline .sep { color: var(--text-dim); }

/* Hero en deux colonnes : contenu (gauche) + pub carrée (droite) */
.article-hero-split { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--s7); max-width: var(--maxw); margin: 0 auto; align-items: start; }
.article-hero-split .article-head { max-width: none; margin: 0; }
.article-hero-split .hero-ad { position: sticky; top: calc(var(--header-h) + 20px); }
@media (max-width: 940px) { .article-hero-split { grid-template-columns: 1fr; gap: var(--s5); } .article-hero-split .hero-ad { position: static; } }

/* Format pub carré */
.ad-square { aspect-ratio: 1 / 1; min-height: 0; }

.article-hero { max-width: var(--maxw); margin: 26px auto 0; }
.article-hero .frame { aspect-ratio: 21/9; overflow: hidden; border: 1px solid var(--border); clip-path: polygon(var(--notch) 0,100% 0,100% calc(100% - var(--notch)),calc(100% - var(--notch)) 100%,0 100%,0 var(--notch)); }
.article-hero .frame .ph-img { width: 100%; height: 100%; font-size: 30px; }

.article-body { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--s7); max-width: var(--maxw); margin: var(--s7) auto 0; align-items: start; }
.article-main { min-width: 0; max-width: var(--maxw-prose, 720px); }
.article-main .prose { max-width: none; }
.article-side { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 20px; }
.article-inline-ad { margin: 28px 0; }
.article-related { max-width: var(--maxw); margin: var(--s8) auto 0; }
@media (max-width: 940px) { .article-body { grid-template-columns: 1fr; } .article-side { position: static; } }

/* -------------------- UTILITAIRE FLOW (rythme vertical) -------------------- */
.flow > * + * { margin-top: var(--flow, 26px); }
.flow-sm { --flow: 16px; } .flow-lg { --flow: 40px; }

/* -------------------- STAT PANEL (remplace le hack .demo-box) -------------------- */
.stat-panel { background: var(--surface-1); border: 1px solid var(--border); padding: 20px 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
@media (max-width: 560px) { .stat-panel { grid-template-columns: 1fr; } }

/* -------------------- ARTICLE SUMMARY (« at-a-glance ») -------------------- */
.article-summary { border: 1px solid var(--border-strong); background: linear-gradient(160deg, var(--volt-tint), transparent 58%); clip-path: polygon(var(--notch) 0,100% 0,100% calc(100% - var(--notch)),calc(100% - var(--notch)) 100%,0 100%,0 var(--notch)); }
.article-summary .as-top { display: grid; grid-template-columns: 1.25fr 1fr; }
.article-summary .as-verdict { padding: 22px; border-right: 1px solid var(--border); }
.article-summary .as-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.article-summary .as-head h2 { font-size: var(--fs-lg); color: #fff; text-transform: uppercase; }
.article-summary .as-verdict p { color: var(--text-soft); font-size: 14.5px; line-height: 1.55; margin: 0 0 14px; }
.article-summary .as-rating { display: flex; align-items: center; gap: 18px; }
.article-summary .as-stats { padding: 22px; display: flex; flex-direction: column; justify-content: center; gap: 12px; }
.article-summary .as-facts { display: flex; flex-wrap: wrap; border-top: 1px solid var(--border); }
.article-summary .as-fact { flex: 1; min-width: 130px; padding: 12px 18px; border-right: 1px solid var(--border); }
.article-summary .as-fact:last-child { border-right: none; }
.article-summary .as-fact .k { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--text-faint); }
.article-summary .as-fact .v { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: #fff; margin-top: 3px; }
@media (max-width: 640px) { .article-summary .as-top { grid-template-columns: 1fr; } .article-summary .as-verdict { border-right: none; border-bottom: 1px solid var(--border); } }

/* -------------------- TITRE DE SECTION (hors prose) -------------------- */
.h-section { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-2xl); color: #fff; text-transform: uppercase; margin: 0; scroll-margin-top: calc(var(--header-h) + 20px); }

/* -------------------- GRILLE ARTICLES LIÉS -------------------- */
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 820px) { .related-grid { grid-template-columns: 1fr; } }

/* -------------------- BANDE PUB HAUTE (entre header et contenu) -------------------- */
.ad-band { padding: 22px 0 0; }

/* -------------------- PUB FOOTER (leaderboard dans le pied) -------------------- */
.ad-footer { padding: var(--s7) 0 0; }

/* -------------------- ANCRE PUB (fixée en bas, desktop + mobile) -------------------- */
/* Masquée par défaut ; .is-visible l'affiche (déclenchée au scroll passé la byline). */
.ad-anchor { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; display: none; flex-direction: column; align-items: center; background: var(--surface-2); border-top: 1px solid var(--border-strong); padding: 0 12px 12px; box-shadow: 0 -8px 24px rgba(0,0,0,.35); }
.ad-anchor.is-visible { display: flex; }
.ad-anchor .ad-slot { margin: 0; }
/* Bouton de fermeture en haut de l'emplacement, au-dessus de la bannière */
.ad-anchor .close { order: -1; align-self: flex-end; margin: 5px 0; background: var(--surface-3); border: 1px solid var(--border-strong); color: var(--text-soft); cursor: pointer; font-size: 12px; width: 24px; height: 24px; display: grid; place-items: center; clip-path: polygon(4px 0,100% 0,100% calc(100% - 4px),calc(100% - 4px) 100%,0 100%,0 4px); }
.ad-anchor .close:hover { color: var(--volt); border-color: var(--volt); }

/* -------------------- LAYOUT PAGE LISTING (archive : catégorie / tag / auteur) -------------------- */
.listing-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: var(--s7); max-width: var(--maxw); margin: var(--s6) auto 0; align-items: start; }
.listing-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.listing-side { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; gap: 20px; }
.grid-span-all { grid-column: 1 / -1; }
@media (max-width: 940px) { .listing-layout { grid-template-columns: 1fr; } .listing-side { position: static; } }
@media (max-width: 560px) { .listing-grid { grid-template-columns: 1fr; } }

/* En-tête d'archive vari: tag (titre en #) et auteur (profil) */
.hub-header.is-tag .h-title::before { content: "#"; color: var(--volt); }
.hub-header.is-author { flex-direction: row; align-items: center; gap: 22px; }
.hub-header.is-author .author-avatar { width: 84px; height: 84px; flex: none; background: var(--grad-volt); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 34px; color: #07080b; clip-path: polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px); }

/* -------------------- IMAGES RÉELLES (couvertures) -------------------- */
.card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.article-hero .frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* -------------------- GRILLE RESPONSIVE (utilitaire partagé) -------------------- */
.grid { display: grid; gap: 18px; }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 820px) { .grid.cols-3, .grid.cols-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .grid.cols-2, .grid.cols-3, .grid.cols-4 { grid-template-columns: 1fr; } }

/* -------------------- ORDRE MOBILE ARTICLE -------------------- */
@media (max-width: 940px) {
  .article-side { order: -1; flex-direction: column; }
  .article-side .ad-slot { display: none; } /* la pub inline suffit sur mobile */
}

/* -------------------- RESPONSIVE (base) -------------------- */
@media (max-width: 900px) { .site-footer .footer-grid { grid-template-columns: 1fr 1fr; } .main-nav, .search-box { display: none; } .megamenu .mm-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .site-footer .footer-grid { grid-template-columns: 1fr; } .loadout { grid-template-columns: 1fr; } }

.spotlight .side .mini .thumb img { width:100%; height:100%; object-fit:cover; }

/* -------------------- AD SLOT REMPLI (créative réelle) -------------------- */
.ad-slot.filled { padding: 0; background: none; border: none; }
.ad-slot.filled::before { content: none; }
.ad-slot.filled img { display: block; max-width: 100%; height: auto; }
