/* ============================================
   EcransPC.com — Design System
   ============================================ */

/* --- CSS Reset --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* --- Custom Properties (Dark Theme Default) --- */
:root {
  /* Colors — Brand */
  --color-primary: #6C5CE7;
  --color-primary-light: #A29BFE;
  --color-primary-dark: #4A3CB5;
  --color-accent: #00CEC9;
  --color-accent-light: #55EFC4;

  /* Colors — Semantic */
  --color-success: #00B894;
  --color-warning: #FDCB6E;
  --color-danger: #E17055;
  --color-info: #74B9FF;

  /* Colors — Surfaces (Dark) */
  --color-bg: #0F0F14;
  --color-bg-alt: #16161D;
  --color-surface: #1E1E28;
  --color-surface-hover: #2A2A38;
  --color-surface-raised: #252533;
  --color-border: #2E2E3E;
  --color-border-light: #3A3A4E;

  /* Colors — Text */
  --color-text: #E8E8ED;
  --color-text-secondary: #9999AA;
  --color-text-muted: #666678;
  --color-text-inverse: #0F0F14;

  /* Typography */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.5rem;

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;

  --line-height-tight: 1.2;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.8;

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Layout */
  --max-width: 1200px;
  --max-width-narrow: 1200px;
  --sidebar-width: 300px;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px rgba(108, 92, 231, 0.15);
  --shadow-glow-accent: 0 0 20px rgba(0, 206, 201, 0.15);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;

  /* Z-index */
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
}

/* --- Light Theme --- */
[data-theme="light"] {
  --color-bg: #F5F5FA;
  --color-bg-alt: #EDEDF3;
  --color-surface: #FFFFFF;
  --color-surface-hover: #F0F0F5;
  --color-surface-raised: #FFFFFF;
  --color-border: #DDDDE5;
  --color-border-light: #E8E8EE;
  --color-text: #1A1A2E;
  --color-text-secondary: #555566;
  --color-text-muted: #888899;
  --color-text-inverse: #FFFFFF;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
  --shadow-glow: 0 0 20px rgba(108, 92, 231, 0.1);
}

/* --- Base Styles --- */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--line-height-normal);
  color: var(--color-text);
  background-color: var(--color-bg);
  min-height: 100vh;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--color-text);
}

h1 {
  font-size: var(--text-4xl);
  letter-spacing: -0.02em;
}

h2 {
  font-size: var(--text-3xl);
  letter-spacing: -0.01em;
}

h3 {
  font-size: var(--text-2xl);
}

h4 {
  font-size: var(--text-xl);
}

p {
  margin-bottom: var(--space-md);
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
}

a {
  color: var(--color-primary-light);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-accent);
}

strong {
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
}

small {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

/* --- Layout Utilities --- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container--narrow {
  max-width: var(--max-width-narrow);
}

.section {
  padding: var(--space-4xl) 0;
}

.section--compact {
  padding: var(--space-2xl) 0;
}

/* --- Grid System --- */
.grid {
  display: grid;
  gap: var(--space-lg);
}

.grid--2 {
  grid-template-columns: repeat(2, 1fr);
}

.grid--3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

.grid--auto {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

/* --- Flex Utilities --- */
.flex {
  display: flex;
}

.flex--center {
  align-items: center;
  justify-content: center;
}

.flex--between {
  align-items: center;
  justify-content: space-between;
}

.flex--gap-sm {
  gap: var(--space-sm);
}

.flex--gap-md {
  gap: var(--space-md);
}

.flex--gap-lg {
  gap: var(--space-lg);
}

/* --- Header / Navigation --- */
.header {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(15, 15, 20, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--transition-base);
}

[data-theme="light"] .header {
  background: rgba(245, 245, 250, 0.85);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.header__logo {
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.header__logo-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-sm);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
}

.nav__link {
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-medium);
  transition: all var(--transition-fast);
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-text);
  background: var(--color-surface);
}

.nav__link--active {
  color: var(--color-primary-light);
}

/* Theme Toggle */
.theme-toggle {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-text-secondary);
  font-size: var(--text-lg);
  transition: all var(--transition-fast);
}

.theme-toggle:hover {
  color: var(--color-text);
  border-color: var(--color-border-light);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--color-text);
  font-size: var(--text-xl);
  cursor: pointer;
  padding: var(--space-sm);
}

/* --- Hero Editorial --- */
.hero-editorial {
  padding: var(--space-3xl) 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border);
}

.hero-editorial::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-ed__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-3xl);
  align-items: center;
}

.hero-ed__featured-label {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
}

.hero__badge-dot {
  width: 8px;
  height: 8px;
  background: var(--color-success);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.hero-ed__title {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-md);
  line-height: var(--line-height-tight);
}

.hero-ed__verdict {
  font-size: var(--text-base);
  color: var(--color-text-secondary);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-lg);
}

.hero-ed__specs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-lg);
}

.hero-ed__score {
  display: flex;
  align-items: baseline;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.hero-ed__score-number {
  font-size: var(--text-3xl);
  font-weight: var(--font-weight-bold);
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-ed__score-number span {
  font-size: var(--text-lg);
  opacity: 0.6;
}

.hero-ed__score-label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.hero-ed__actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

/* Hero Product Image */
.hero-ed__visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-ed__image-link {
  display: block;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: all var(--transition-base);
}

.hero-ed__image-link:hover {
  border-color: var(--color-border-light);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.hero-ed__product-img {
  display: block;
  max-width: 100%;
  max-height: 350px;
  width: auto;
  height: auto;
  object-fit: contain;
}

/* --- Quick Nav ("Je cherche un écran pour...") --- */
.quick-nav {
  padding: var(--space-2xl) 0;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.quick-nav__title {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-lg);
  color: var(--color-text-secondary);
}

.quick-nav__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--space-md);
}

.quick-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: var(--space-lg) var(--space-md);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.quick-nav__item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-light);
}

.quick-nav__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  margin-bottom: var(--space-sm);
}

.quick-nav__label {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin-bottom: 2px;
}

.quick-nav__sub {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* --- Top Picks --- */
.top-picks {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.top-pick {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: var(--space-lg);
  padding: var(--space-lg) var(--space-xl);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.top-pick:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-light);
}

.top-pick--gold { border-left: 3px solid #F9A825; }
.top-pick--silver { border-left: 3px solid #90A4AE; }
.top-pick--bronze { border-left: 3px solid #A1887F; }

.top-pick__header {
  margin-bottom: var(--space-xs);
}

.top-pick__name {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-bold);
  margin-bottom: 2px;
}

.top-pick__award {
  font-size: var(--text-xs);
  color: var(--color-primary-light);
  font-weight: var(--font-weight-medium);
}

.top-pick__specs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-xs);
  margin-bottom: var(--space-sm);
}

.top-pick__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
  line-height: var(--line-height-normal);
}

.top-pick__score-value {
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-bold);
  background: linear-gradient(135deg, var(--color-primary-light), var(--color-accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  min-width: 50px;
  text-align: center;
}

.top-pick__action {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.top-pick__link {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.top-pick__link:hover {
  color: var(--color-primary-light);
}

/* --- Guide Tiles --- */
/* --- Bento Grid --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bento-grid .guide-tile--wide {
  grid-column: span 1;
}

@media (min-width: 769px) {
  .bento-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
  }
  .bento-grid .guide-tile--wide {
    grid-column: span 3;
  }
  .bento-grid .guide-tile:not(.guide-tile--wide) {
    grid-column: span 2;
  }
}

/* --- Guide Tile (Premium) --- */
.guide-tile {
  --tile-accent: #6C5CE7;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 24px;
  background: #080808;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  text-decoration: none;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.guide-tile:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.5),
    0 0 30px color-mix(in srgb, var(--tile-accent) 8%, transparent);
}

/* --- Icon with radial glow --- */
.guide-tile__icon {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: var(--tile-accent);
  background: radial-gradient(circle, color-mix(in srgb, var(--tile-accent) 12%, transparent) 0%, transparent 70%);
}

/* --- Text --- */
.guide-tile__body {
  flex: 1;
  min-width: 0;
}

.guide-tile__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #f0f0f5;
  margin-bottom: 6px;
  letter-spacing: -0.01em;
}

.guide-tile__desc {
  font-size: 0.8125rem;
  color: #888898;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}

/* --- Tags (discrets) --- */
.guide-tile__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.guide-tile__tag {
  font-size: 0.625rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 4px;
  color: #777790;
  background: rgba(255, 255, 255, 0.05);
}

/* --- CTA (visible on hover) --- */
.guide-tile__cta {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--tile-accent);
  opacity: 0;
  transform: translateY(6px);
  transition: all 0.25s ease;
}

.guide-tile:hover .guide-tile__cta {
  opacity: 1;
  transform: translateY(0);
}

.guide-tile__cta-arrow {
  display: inline-block;
  transition: transform 0.25s ease;
}

.guide-tile:hover .guide-tile__cta-arrow {
  transform: translateX(5px);
}

/* --- Responsive --- */
@media (max-width: 768px) {
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .bento-grid .guide-tile--wide {
    grid-column: span 1;
  }
}

/* --- Learn Cards --- */
.learn-card {
  padding: var(--space-lg);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  text-decoration: none;
  display: block;
}

.learn-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-border-light);
}

.learn-card__icon {
  margin-bottom: var(--space-md);
}

.learn-card__title {
  font-size: var(--text-base);
  font-weight: var(--font-weight-semibold);
  color: var(--color-text);
  margin-bottom: var(--space-xs);
}

.learn-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin: 0;
  line-height: var(--line-height-normal);
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-xl);
  border-radius: var(--radius-sm);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  cursor: pointer;
  border: none;
  transition: all var(--transition-fast);
  text-decoration: none;
  line-height: 1.5;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #FFFFFF;
  box-shadow: var(--shadow-glow);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 30px rgba(108, 92, 231, 0.25);
  color: #FFFFFF;
}

.btn--secondary {
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.btn--secondary:hover {
  background: var(--color-surface-hover);
  border-color: var(--color-border-light);
  color: var(--color-text);
}

.btn--amazon {
  background: linear-gradient(135deg, #FF9900, #E68A00);
  color: #0F0F14;
  font-weight: var(--font-weight-bold);
}

.btn--amazon:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
  color: #0F0F14;
}

.btn--lg {
  padding: var(--space-md) var(--space-2xl);
  font-size: var(--text-base);
}

/* --- Section Headers --- */
.section-header {
  margin-bottom: var(--space-2xl);
}

.section-header--center {
  text-align: center;
}

.section-header__label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary-light);
  margin-bottom: var(--space-sm);
}

.section-header__title {
  margin-bottom: var(--space-sm);
}

.section-header__desc {
  color: var(--color-text-muted);
  max-width: 600px;
}

.section-header--center .section-header__desc {
  margin: 0 auto;
}

/* --- Footer --- */
.footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
  margin-bottom: var(--space-2xl);
}

.footer__brand-desc {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-md);
  line-height: var(--line-height-relaxed);
}

.footer__heading {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.footer__links a {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
}

.footer__links a:hover {
  color: var(--color-text);
}

.footer__bottom {
  padding-top: var(--space-xl);
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer__copy {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

.footer__affiliate-notice {
  font-size: var(--text-xs);
  color: var(--color-text-muted);
  max-width: 600px;
  line-height: var(--line-height-relaxed);
}

/* --- Breadcrumbs --- */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: var(--space-xs);
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  padding: var(--space-md) 0;
}

.breadcrumbs a {
  color: var(--color-text-muted);
}

.breadcrumbs a:hover {
  color: var(--color-text);
}

.breadcrumbs__sep {
  opacity: 0.4;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
  .grid--3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .quick-nav__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-ed__grid {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }
  .hero-ed__visual {
    display: none;
  }
  .top-pick {
    grid-template-columns: auto 1fr auto;
  }
  .top-pick__action {
    grid-column: 1 / -1;
    flex-direction: row;
    justify-content: flex-end;
  }
}

@media (max-width: 768px) {
  :root {
    --text-5xl: 2.5rem;
    --text-4xl: 2rem;
    --text-3xl: 1.5rem;
  }

  .nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-bg);
    flex-direction: column;
    padding: var(--space-xl);
    gap: var(--space-sm);
    z-index: var(--z-overlay);
  }

  .nav--open {
    display: flex;
  }

  .nav__link {
    font-size: var(--text-lg);
    padding: var(--space-md);
    width: 100%;
    text-align: center;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .grid--2,
  .grid--3,
  .grid--4 {
    grid-template-columns: 1fr;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-ed__actions {
    flex-direction: column;
  }

  .hero-editorial {
    padding: var(--space-2xl) 0;
  }

  .quick-nav__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .top-pick {
    grid-template-columns: 1fr;
    gap: var(--space-md);
  }

  .top-pick__rank {
    display: flex;
    align-items: center;
    gap: var(--space-md);
  }

  .top-pick__score {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-xl);
  }

  .top-pick {
    position: relative;
  }

  .top-pick__action {
    flex-direction: row;
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--space-md);
  }
  .quick-nav__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .quick-nav__item {
    padding: var(--space-md) var(--space-sm);
  }
}

/* ============================================
   Cookie Consent Banner
   ============================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.4);
  padding: var(--space-md) var(--space-lg);
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-banner--visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner--hidden {
  transform: translateY(100%);
  opacity: 0;
}

.cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-lg);
}

.cookie-banner__text {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  line-height: 1.5;
}

.cookie-banner__text a {
  color: var(--color-primary-light);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.cookie-banner__btn {
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  font-size: var(--text-sm);
  font-weight: 600;
  font-family: var(--font-sans);
  transition: background 0.2s, opacity 0.2s;
}

.cookie-banner__btn--accept {
  background: var(--color-primary);
  color: #fff;
}

.cookie-banner__btn--accept:hover {
  background: var(--color-primary-dark);
}

.cookie-banner__btn--refuse {
  background: transparent;
  color: var(--color-text-secondary);
  border: 1px solid var(--color-border);
}

.cookie-banner__btn--refuse:hover {
  background: var(--color-surface-hover);
}

@media (max-width: 640px) {
  .cookie-banner__inner {
    flex-direction: column;
    text-align: center;
  }
  .cookie-banner__actions {
    width: 100%;
    justify-content: center;
  }
}
