/* ══════════════════════════════════════════
   TITAN TECHNOLOGIQUE | Gaming & Hardware
   Dark neon theme — Orbitron + Inter
   ══════════════════════════════════════════ */

/* ── VARIABLES ── */
:root {
  --bg-dark: #141422;
  --bg-card: #1c1c30;
  --bg-card-hover: #24243a;
  --bg-surface: #1e1e34;
  --neon-primary: #00d4ff;
  --neon-secondary: #7c3aed;
  --neon-accent: #ff3e8a;
  --neon-green: #00ff88;
  --neon-gold: #fbbf24;
  --text-white: #f0f0f5;
  --text-muted: #8888aa;
  --text-dim: #555570;
  --border-subtle: rgba(255,255,255,0.06);
  --glow-primary: 0 0 20px rgba(0,212,255,0.15);
  --glow-accent: 0 0 20px rgba(255,62,138,0.15);
  --radius: 16px;
  --radius-sm: 10px;
  --font-display: 'Orbitron', sans-serif;
  --font-body: 'Inter', sans-serif;
  --max-width: 1200px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font-body);
  background: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.7;
  overflow-x: hidden;
}
a { color: var(--neon-primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--neon-accent); }
img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; }

/* ── CONTAINER ── */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 2rem; }

/* ══════════════════════════════════════════
   HEADER
   ══════════════════════════════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,10,18,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}
.header-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 2rem;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.15rem; color: var(--text-white);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.logo:hover { color: var(--text-white); }
.logo svg { flex-shrink: 0; }
.logo .logo-accent { color: var(--neon-primary); }

.main-nav {
  display: flex; align-items: center; gap: 0.3rem;
}
.main-nav a {
  padding: 0.5rem 1rem; border-radius: 8px;
  font-size: 0.85rem; font-weight: 500; color: var(--text-muted);
  transition: all 0.2s;
}
.main-nav a:hover { color: var(--text-white); background: rgba(255,255,255,0.05); }
.main-nav a.active { color: var(--neon-primary); background: rgba(0,212,255,0.08); }

/* Hamburger */
.nav-toggle {
  display: none; background: none; border: none; cursor: pointer;
  width: 32px; height: 24px; position: relative;
}
.nav-toggle span {
  display: block; width: 100%; height: 2px; background: var(--text-white);
  position: absolute; left: 0; transition: all 0.3s;
}
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.nav-toggle span:nth-child(3) { bottom: 0; }

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(10,10,18,0.98); backdrop-filter: blur(20px);
    flex-direction: column; padding: 1rem; gap: 0;
    border-bottom: 1px solid var(--border-subtle);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.8rem 1rem; width: 100%; border-radius: 0; }
}

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
.hero {
  padding: 10rem 0 5rem;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 30%, rgba(0,212,255,0.06) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 80% 60%, rgba(124,58,237,0.05) 0%, transparent 70%),
    var(--bg-dark);
  position: relative;
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-primary), var(--neon-secondary), transparent);
  opacity: 0.3;
}
.hero-label {
  display: inline-block;
  font-family: var(--font-display); font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--neon-primary);
  border: 1px solid rgba(0,212,255,0.3); border-radius: 9999px;
  padding: 0.4rem 1.2rem; margin-bottom: 1.5rem;
}
.hero h1 {
  font-family: var(--font-display); font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1; letter-spacing: -0.02em;
  text-transform: uppercase;
  max-width: 800px; margin: 0 auto 1.5rem;
}
.hero h1 .highlight { color: var(--neon-primary); }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--text-muted); max-width: 560px; margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.hero-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(135deg, var(--neon-primary), var(--neon-secondary));
  color: #fff; font-weight: 700; font-size: 0.9rem;
  padding: 0.85rem 2rem; border-radius: 9999px;
  transition: all 0.3s;
}
.hero-cta:hover {
  color: #fff; transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,212,255,0.25);
}

/* ══════════════════════════════════════════
   CATEGORY BAR
   ══════════════════════════════════════════ */
.cat-bar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1rem 0;
}
.cat-bar-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 2rem;
  display: flex; gap: 0.5rem; overflow-x: auto;
  scrollbar-width: none;
}
.cat-bar-inner::-webkit-scrollbar { display: none; }
.cat-pill {
  flex-shrink: 0; padding: 0.5rem 1.2rem; border-radius: 9999px;
  font-size: 0.8rem; font-weight: 600; color: var(--text-muted);
  border: 1px solid var(--border-subtle);
  transition: all 0.2s; white-space: nowrap;
}
.cat-pill:hover, .cat-pill.active {
  color: var(--neon-primary); border-color: rgba(0,212,255,0.4);
  background: rgba(0,212,255,0.06);
}

/* ══════════════════════════════════════════
   ARTICLE CARDS GRID
   ══════════════════════════════════════════ */
.section-title {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 2rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--neon-primary);
  display: inline-block;
}
.articles-section { padding: 4rem 0; }
.articles-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
.article-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius); overflow: hidden;
  transition: all 0.3s; display: flex; flex-direction: column;
}
.article-card:hover {
  transform: translateY(-4px); border-color: rgba(0,212,255,0.2);
  box-shadow: var(--glow-primary);
}
.article-card img {
  width: 100%; height: 180px; object-fit: cover;
}
.article-card-body { padding: 1.2rem 1.4rem 1.4rem; flex: 1; display: flex; flex-direction: column; }
.article-card-cat {
  font-family: var(--font-display); font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--neon-primary); margin-bottom: 0.5rem;
}
.article-card h3 {
  font-size: 1rem; font-weight: 700; line-height: 1.35;
  color: var(--text-white); margin-bottom: 0.6rem; flex: 1;
}
.article-card-meta {
  font-size: 0.75rem; color: var(--text-dim);
}

/* Featured card (large) */
.featured-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 1.5rem;
  margin-bottom: 3rem;
}
.featured-card {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius); overflow: hidden;
  transition: all 0.3s; display: flex; flex-direction: column;
}
.featured-card:first-child { grid-row: span 2; }
.featured-card:first-child img { height: 100%; min-height: 300px; }
.featured-card:hover {
  border-color: rgba(0,212,255,0.2);
  box-shadow: var(--glow-primary);
}
.featured-card img { width: 100%; height: 180px; object-fit: cover; }
.featured-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.featured-card-cat {
  font-family: var(--font-display); font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--neon-accent); margin-bottom: 0.5rem;
}
.featured-card h3 {
  font-size: 1.2rem; font-weight: 700; line-height: 1.3;
  color: var(--text-white); margin-bottom: 0.6rem; flex: 1;
}
.featured-card p {
  font-size: 0.88rem; color: var(--text-muted); line-height: 1.6;
  margin-bottom: 0.8rem;
}
.featured-card-meta { font-size: 0.75rem; color: var(--text-dim); }

@media (max-width: 900px) {
  .articles-grid { grid-template-columns: 1fr 1fr; }
  .featured-grid { grid-template-columns: 1fr; }
  .featured-card:first-child { grid-row: auto; }
  .featured-card:first-child img { height: 220px; min-height: auto; }
}
@media (max-width: 600px) {
  .articles-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   NEWSLETTER / CTA SECTION
   ══════════════════════════════════════════ */
.cta-section {
  padding: 4rem 0;
  background:
    radial-gradient(ellipse 50% 60% at 50% 50%, rgba(124,58,237,0.08) 0%, transparent 70%),
    var(--bg-surface);
  text-align: center;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.cta-section h2 {
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 800;
  text-transform: uppercase; margin-bottom: 0.8rem;
}
.cta-section p { color: var(--text-muted); max-width: 500px; margin: 0 auto 2rem; font-size: 0.95rem; }

/* ══════════════════════════════════════════
   ARTICLE PAGE
   ══════════════════════════════════════════ */
.article-hero {
  padding: 10rem 0 3rem;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 50% at 50% 40%, rgba(0,212,255,0.04) 0%, transparent 70%),
    var(--bg-dark);
}
.breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-size: 0.8rem; color: var(--text-dim); margin-bottom: 2rem;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--neon-primary); }

.article-hero .article-meta-label {
  font-family: var(--font-display); font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--neon-primary); margin-bottom: 1rem;
}
.article-hero h1 {
  max-width: 820px; margin: 0 auto 1.5rem;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-family: var(--font-display); font-weight: 800;
  text-transform: uppercase; line-height: 1.15;
  letter-spacing: -0.01em;
}
.article-hero .article-date {
  font-size: 0.82rem; color: var(--text-dim);
}

.article-featured-img {
  max-width: 900px; margin: -1.5rem auto 0; padding: 0 2rem;
  position: relative; z-index: 2;
}
.article-featured-img img {
  width: 100%; border-radius: var(--radius); aspect-ratio: 16/9; object-fit: cover;
  border: 1px solid var(--border-subtle);
}

/* Article body — fond blanc, texte noir */
.article-wrapper { background: #ffffff; padding: 3rem 0 1rem; }
.article-layout {
  max-width: 820px; margin: 0 auto; padding: 0 2rem;
}
.article-content {
  font-size: 1.05rem; line-height: 1.85; color: #2a2a2a;
}
.article-content h2 {
  color: #111; font-size: 1.4rem; margin: 2.8rem 0 0.8rem;
  font-family: var(--font-display); font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.03em;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e5e5e5;
}
.article-content h3 {
  color: #111; font-size: 1.15rem; margin: 2rem 0 0.5rem;
  font-family: var(--font-display); font-weight: 700;
}
.article-content p { margin-bottom: 1.25rem; }
.article-content a {
  color: #6d28d9; text-decoration: underline;
  text-decoration-color: rgba(109,40,217,0.3); text-underline-offset: 3px;
}
.article-content a:hover { color: var(--neon-accent); text-decoration-color: var(--neon-accent); }
.article-content strong { color: #111; font-weight: 600; }
.article-content ul, .article-content ol { margin: 1rem 0 1.5rem 1.5rem; list-style: disc; color: #2a2a2a; }
.article-content li { margin-bottom: 0.5rem; }
.article-content img { border-radius: var(--radius-sm); margin: 1.5rem 0; }
.article-content blockquote {
  border-left: 3px solid var(--neon-secondary); padding: 1rem 1.5rem;
  background: #f5f3ff; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic; color: #444; margin: 1.5rem 0;
}
.article-content table {
  width: 100%; border-collapse: collapse; margin: 1.5rem 0;
  border-radius: var(--radius-sm); overflow: hidden;
}
.article-content th {
  background: #f8f5ff; color: #111; padding: 0.8rem 1rem;
  text-align: left; font-size: 0.85rem; font-weight: 600;
  border-bottom: 1px solid #e5e5e5;
}
.article-content td {
  padding: 0.7rem 1rem; border-bottom: 1px solid #eee;
  font-size: 0.9rem; color: #444;
}

/* Visual blocks — fond clair adapté */
.bloc-conseil, .bloc-attention, .bloc-retenir, .bloc-chiffre {
  border-radius: var(--radius-sm); padding: 1.5rem 2rem; margin: 1.5rem 0;
}
.bloc-conseil { background: #f0fdf4; border-left: 4px solid #22c55e; }
.bloc-attention { background: #fffbeb; border-left: 4px solid #f59e0b; }
.bloc-retenir { background: #f5f3ff; border-left: 4px solid var(--neon-secondary); }
.bloc-chiffre { background: #fdf4ff; border-left: 4px solid var(--neon-accent); }

/* Author box — fond blanc */
.author-box {
  max-width: 820px; margin: 0 auto; padding: 2rem;
  display: flex; align-items: flex-start; gap: 1.2rem;
  border-top: 1px solid #e5e5e5; background: #ffffff;
}
.author-box h4 { color: #111; font-size: 0.95rem; margin-bottom: 0.3rem; }
.author-box p { color: #555; font-size: 0.82rem; line-height: 1.65; }

/* Related posts */
.related-posts {
  max-width: var(--max-width); margin: 0 auto;
  padding: 3rem 2rem 4rem;
  border-top: 1px solid var(--border-subtle);
}
.related-posts h3 {
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 1.5rem; color: var(--text-white);
}
.related-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
}
@media (max-width: 768px) {
  .related-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════
   CATEGORY PAGE
   ══════════════════════════════════════════ */
.cat-hero {
  padding: 10rem 0 3rem; text-align: center;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(124,58,237,0.06) 0%, transparent 70%),
    var(--bg-dark);
}
.cat-hero h1 {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  text-transform: uppercase;
}
.cat-hero p { color: var(--text-muted); max-width: 500px; margin: 1rem auto 0; }

/* ══════════════════════════════════════════
   ABOUT PAGE
   ══════════════════════════════════════════ */
.about-section { padding: 4rem 0; }
.about-content {
  max-width: 760px; margin: 0 auto; padding: 0 2rem;
}
.about-content h2 {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700;
  text-transform: uppercase; margin: 2.5rem 0 0.8rem;
  color: var(--text-white);
}
.about-content p { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1rem; line-height: 1.8; }

/* ══════════════════════════════════════════
   LEGAL PAGE
   ══════════════════════════════════════════ */
.legal-section { padding: 4rem 0; }
.legal-content {
  max-width: 760px; margin: 0 auto; padding: 0 2rem;
}
.legal-content h2 {
  font-family: var(--font-display); font-size: 1.2rem; font-weight: 700;
  text-transform: uppercase; margin: 2.5rem 0 0.8rem;
  color: var(--text-white); letter-spacing: 0.04em;
}
.legal-content p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 1rem; line-height: 1.8; }

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
.site-footer {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0 0;
}
.footer-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 2rem;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem;
}
.footer-brand .footer-logo {
  font-family: var(--font-display); font-weight: 700; font-size: 1rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-white); margin-bottom: 0.8rem;
}
.footer-brand .footer-logo .accent { color: var(--neon-primary); }
.footer-brand p { color: var(--text-dim); font-size: 0.82rem; line-height: 1.7; }
.footer-col h4 {
  font-family: var(--font-display); font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--text-muted); margin-bottom: 1rem;
}
.footer-col a {
  display: block; color: var(--text-dim); font-size: 0.85rem;
  padding: 0.3rem 0; transition: color 0.2s;
}
.footer-col a:hover { color: var(--neon-primary); }
.footer-bottom {
  max-width: var(--max-width); margin: 2.5rem auto 0; padding: 1.5rem 2rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.75rem; color: var(--text-dim); text-align: center;
}
.footer-bottom a { color: var(--text-dim); }
.footer-bottom a:hover { color: var(--text-muted); }

@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

/* ══════════════════════════════════════════
   UTILITIES
   ══════════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-weight: 700; font-size: 0.85rem;
  padding: 0.7rem 1.5rem; border-radius: 9999px;
  border: none; cursor: pointer; transition: all 0.3s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--neon-primary), var(--neon-secondary));
  color: #fff;
}
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,212,255,0.2); }
.btn-outline {
  background: transparent; color: var(--neon-primary);
  border: 1px solid rgba(0,212,255,0.3);
}
.btn-outline:hover { background: rgba(0,212,255,0.06); color: var(--neon-primary); }

/* Blog hub */
.blog-section { padding: 4rem 0; }

/* Glow line decoration */
.glow-line {
  height: 1px; max-width: var(--max-width); margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--neon-primary), var(--neon-secondary), transparent);
  opacity: 0.2;
}
/* v2 */
