/* ════════════════════════════════════════════════════════════════
   DECISIO.BE — Styles uniques à /themes/
   (le reste vient de main.css + components.css)
   ════════════════════════════════════════════════════════════════ */

/* Variante du page-hero pour /themes/ : 2 colonnes avec stats */
.page-themes .page-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Grille spécifique des thèmes (avec card featured et visual) */
.themes-section { padding: 60px; }
.themes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.theme-card {
  background: white;
  border: 1.5px solid var(--black);
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
}
.theme-card:hover { transform: translateY(-4px); box-shadow: 4px 4px 0 var(--black); }
.theme-card.featured { grid-column: span 2; flex-direction: row; background: var(--black); color: white; }
.theme-card.featured:hover { box-shadow: 4px 4px 0 var(--accent); }

.theme-card-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}
.theme-card.featured .theme-card-body { justify-content: center; }
.theme-emoji { font-size: 36px; }
.theme-badges { display: flex; gap: 8px; flex-wrap: wrap; min-height: 26px; }
.theme-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}
.badge-quiz { background: var(--accent); color: white; }
.badge-region { background: var(--accent2); color: white; }

.theme-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.5px;
  line-height: 1.2;
}
.theme-desc {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  flex: 1;
}
.theme-card.featured .theme-desc { color: rgba(255,255,255,0.55); }

.theme-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid rgba(0,0,0,0.08);
}
.theme-card.featured .theme-meta { border-top-color: rgba(255,255,255,0.1); }
.theme-hint { font-size: 12px; color: var(--accent2); font-weight: 500; }
.theme-card.featured .theme-hint { color: rgba(255,255,255,0.4); }

.theme-arrow {
  width: 36px;
  height: 36px;
  border-radius: 100px;
  background: var(--cream);
  border: 1.5px solid var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
  transition: all 0.2s;
}
.theme-card:hover .theme-arrow { background: var(--accent); border-color: var(--accent); color: white; }
.theme-card.featured .theme-arrow {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: white;
}
.theme-card.featured:hover .theme-arrow { background: var(--accent); border-color: var(--accent); }

.theme-card-visual {
  width: 240px;
  flex-shrink: 0;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  position: relative;
  overflow: hidden;
  border-left: 1px solid rgba(255,255,255,0.08);
}
.theme-card-visual::after {
  content: attr(data-emoji);
  font-size: 160px;
  opacity: 0.07;
  position: absolute;
  bottom: -20px;
  right: -20px;
}

@media (max-width: 900px) {
  .page-themes .page-hero { grid-template-columns: 1fr; gap: 32px; }
  .themes-section { padding: 40px 24px; }
  .themes-grid { grid-template-columns: 1fr; }
  .theme-card.featured { grid-column: span 1; flex-direction: column; }
  .theme-card-visual {
    width: 100%;
    height: 120px;
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
}
