/* ════════════════════════════════════════════════════════════════
   DECISIO.BE — Styles uniques à la page d'accueil
   (le reste vient de main.css + components.css)
   ════════════════════════════════════════════════════════════════ */

/* ─── HERO HOME (split 2 colonnes spécifique) ──────────── */
.page-home .hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 86vh;
  border-bottom: 1.5px solid var(--black);
}
.page-home .hero-left {
  padding: 80px 60px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1.5px solid var(--black);
}
.page-home .hero-tag {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 32px;
  width: fit-content;
}
.page-home h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 5vw, 68px);
  line-height: 1.02;
  letter-spacing: -2px;
  margin-bottom: 24px;
}
.page-home h1 em { font-style: italic; color: var(--accent); font-weight: 600; }
.page-home .hero-sub {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.65;
  max-width: 420px;
  margin-bottom: 48px;
}
.page-home .hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.page-home .hero-right {
  background: var(--cream);
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  position: relative;
  overflow: hidden;
}
.page-home .hero-right::before {
  content: "?";
  font-family: var(--font-display);
  font-size: 380px;
  font-weight: 800;
  color: rgba(0,0,0,0.04);
  position: absolute;
  right: -40px;
  top: -60px;
  line-height: 1;
  pointer-events: none;
}

/* ─── QUESTION CARDS (hero droite home) ─────────────────── */
.question-card {
  background: white;
  border: 1.5px solid var(--black);
  border-radius: 16px;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  z-index: 1;
  text-decoration: none;
  color: inherit;
  animation: fadeUp 0.4s ease both;
}
.question-card:hover { transform: translateX(6px); border-color: var(--accent); }
.question-card:nth-child(1) { animation-delay: 0.1s; }
.question-card:nth-child(2) { animation-delay: 0.2s; }
.question-card:nth-child(3) { animation-delay: 0.3s; }
.question-card:nth-child(4) { animation-delay: 0.4s; }
.q-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.q-icon.red { background: #fde8e4; }
.q-icon.blue { background: #e4eafd; }
.q-icon.green { background: #e4fde8; }
.q-icon.yellow { background: #fdf8e4; }
.q-text { font-size: 15px; font-weight: 500; line-height: 1.3; }
.q-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.q-arrow { margin-left: auto; font-size: 20px; color: var(--muted); flex-shrink: 0; }

/* ─── TOPICS GRID (home uniquement) ─────────────────────── */
.page-home section { padding: 80px 60px; }

.topics-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--black);
  border: 1.5px solid var(--black);
  border-radius: 20px;
  overflow: hidden;
}
.topic-card {
  background: white;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
  color: inherit;
}
.topic-card:hover { background: var(--cream); }
.topic-card.featured { grid-column: span 2; background: var(--black); color: white; }
.topic-card.featured:hover { background: #1c1c1c; }
.topic-emoji { font-size: 32px; }
.topic-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.3px;
}
.topic-desc { font-size: 14px; color: var(--muted); line-height: 1.6; }
.topic-card.featured .topic-desc { color: rgba(255,255,255,0.55); }
.topic-badge {
  display: inline-block;
  background: var(--accent);
  color: white;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
  width: fit-content;
}
.topic-quiz-hint { font-size: 12px; color: var(--accent2); font-weight: 500; }
.topic-card.featured .topic-quiz-hint { color: rgba(255,255,255,0.4); }

/* ─── QUIZ THEME SELECTOR (uniquement home) ─────────────── */
.quiz-theme-selector { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.quiz-theme-label {
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 4px;
}
.quiz-theme-btn {
  background: #1a1a1a;
  border: 1.5px solid #333;
  color: rgba(255,255,255,0.6);
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
}
.quiz-theme-btn:hover { border-color: #555; color: white; }
.quiz-theme-btn.active { border-color: var(--accent); color: white; background: rgba(232,70,42,0.1); }

/* ─── REGIONS (home uniquement) ─────────────────────────── */
.regions { background: var(--white); padding: 80px 60px; }
.regions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.region-card {
  background: white;
  border: 1.5px solid var(--black);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
  text-decoration: none;
  color: inherit;
  display: block;
}
.region-card:hover { transform: translateY(-4px); box-shadow: 4px 4px 0 var(--black); }
.region-flag-wrap {
  width: 100%;
  height: 120px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1.5px solid var(--black);
  background: white;
}
.region-flag-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.region-body { padding: 22px 24px; background: white; }
.region-name { font-family: var(--font-display); font-weight: 700; font-size: 18px; margin-bottom: 6px; }
.region-sub { font-size: 13px; color: var(--muted); line-height: 1.5; }

/* ─── TESTIMONIALS (home uniquement) ────────────────────── */
.testimonials { padding: 80px 60px; background: var(--white); }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.testi-card {
  background: var(--cream);
  border: 1.5px solid var(--black);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: all 0.2s;
}
.testi-card:hover { transform: translateY(-3px); box-shadow: 3px 3px 0 var(--black); }
.testi-quote-mark {
  font-family: var(--font-display);
  font-size: 48px;
  color: var(--accent);
  line-height: 0.8;
  margin-bottom: 4px;
}
.testi-quote {
  font-size: 15px;
  line-height: 1.65;
  color: var(--black);
  font-style: italic;
  flex: 1;
}
.testi-person {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid rgba(0,0,0,0.1);
  padding-top: 16px;
}
.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 100px;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.testi-name { font-weight: 600; font-size: 14px; }
.testi-meta { font-size: 12px; color: var(--muted); margin-top: 2px; }
.testi-theme {
  display: inline-block;
  background: white;
  border: 1px solid rgba(0,0,0,0.12);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  color: var(--muted);
  margin-bottom: 4px;
  width: fit-content;
}

/* ─── MOBILE HOME ───────────────────────────────────────── */
@media (max-width: 900px) {
  .page-home .hero { grid-template-columns: 1fr; min-height: auto; }
  .page-home .hero-left {
    padding: 48px 24px;
    border-right: none;
    border-bottom: 1.5px solid var(--black);
  }
  .page-home .hero-right { padding: 40px 24px; }
  .page-home .hero-right::before { font-size: 160px; }
  .page-home h1 { font-size: clamp(32px, 8vw, 52px); }
  .page-home .hero-buttons { flex-direction: column; gap: 10px; }
  .page-home .hero-buttons .btn-primary, 
  .page-home .hero-buttons .btn-secondary { width: 100%; text-align: center; }

  .page-home section { padding: 48px 24px; }
  .regions { padding: 48px 24px; }
  .testimonials { padding: 48px 24px; }

  .topics-grid { grid-template-columns: 1fr; background: none; border-radius: 16px; }
  .topic-card.featured { grid-column: span 1; }
  .regions-grid { grid-template-columns: 1fr; }
  .testi-grid { grid-template-columns: 1fr; }

  .region-flag-wrap { height: 140px; }
}

@media (max-width: 560px) {
  .page-home section { padding: 36px 20px; }
  .regions { padding: 36px 20px; }
  .testimonials { padding: 36px 20px; }
}
