/* ============================================================
   PAGE D'ACCUEIL
   ============================================================ */

.section--alt { background: var(--bg-2); }
.home-empty { text-align: center; color: var(--text-3); padding: 40px; }

/* ─── BOUTONS ───────────────────────────────────────────────── */
.btn-light { background: #fff; color: var(--primary); border-color: #fff; }
.btn-light:hover { background: var(--accent); border-color: var(--accent); color: #fff; transform: translateY(-2px); }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); border-color: #fff; color: #fff; }

/* ─── HERO ──────────────────────────────────────────────────── */
.home-hero {
  position: relative; min-height: 560px; display: flex; align-items: center;
  background: var(--primary) url('/img/hero.jpg') center/cover no-repeat;
}
.home-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,14,70,0.88) 0%, rgba(26,26,110,0.6) 55%, rgba(26,26,110,0.2) 100%);
}
.home-hero-inner { position: relative; z-index: 1; max-width: 1200px; width: 100%; margin: 0 auto; padding: 80px 24px; }
.home-hero-eyebrow {
  display: inline-block; font-family: 'Montserrat', sans-serif; font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px; color: var(--accent); margin-bottom: 16px;
}
.home-hero-title { font-size: 52px; font-weight: 800; color: #fff; line-height: 1.1; max-width: 640px; margin-bottom: 20px; }
.home-hero-desc { font-size: 17px; color: rgba(255,255,255,0.85); max-width: 520px; line-height: 1.7; margin-bottom: 32px; }
.home-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ─── EN-TÊTES DE SECTION ───────────────────────────────────── */
.home-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.home-head h2 { font-size: 30px; margin-top: 4px; }
.home-head-link { display: inline-flex; align-items: center; gap: 4px; font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700; color: var(--primary); }
.home-head-link:hover { color: var(--accent); }
.home-head-link .material-icons { font-size: 18px; }

/* ─── SLIDER ────────────────────────────────────────────────── */
.slider-wrap { position: relative; }
.slider-track {
  display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory;
  scroll-behavior: smooth; padding: 8px 4px 20px; scrollbar-width: none;
}
.slider-track::-webkit-scrollbar { display: none; }
.slider-item { flex: 0 0 calc((100% - 96px) / 5); min-width: 190px; scroll-snap-align: start; }
.slider-btn {
  position: absolute; top: 40%; width: 42px; height: 42px; border: 1px solid var(--border); background: #fff;
  border-radius: var(--radius); display: flex; align-items: center; justify-content: center; cursor: pointer;
  box-shadow: var(--shadow); z-index: 2; transition: var(--transition); color: var(--primary);
}
.slider-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.slider-btn-prev { left: -18px; }
.slider-btn-next { right: -18px; }

/* ─── CATÉGORIES ────────────────────────────────────────────── */
.cat-cloud { display: flex; flex-wrap: wrap; gap: 12px; }
.cat-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif; font-size: 14px; font-weight: 700; color: #fff; transition: var(--transition);
}
.cat-badge:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,0.18); }
.cat-badge small { background: rgba(255,255,255,0.25); padding: 2px 8px; border-radius: var(--radius); font-size: 11px; }
.cat-c0 { background: #1a1a6e; } .cat-c1 { background: #e8a020; } .cat-c2 { background: #0f8b8d; } .cat-c3 { background: #c0392b; }
.cat-c4 { background: #6c3fb5; } .cat-c5 { background: #2e7d32; } .cat-c6 { background: #d35400; } .cat-c7 { background: #2471a3; }

/* ─── LA MAISON ─────────────────────────────────────────────── */
.home-about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.home-about-text h2 { font-size: 32px; margin: 8px 0 20px; }
.home-about-text p { color: var(--text-2); line-height: 1.85; margin-bottom: 16px; }
.home-about-text strong { color: var(--primary); }
.home-about-text .btn { margin-top: 8px; }
.home-about-image img { width: 100%; display: block; border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* ─── BANDES BLEUES CENTRÉES ────────────────────────────────── */
.home-band-wrap { padding: 24px 0; }

.home-band {
  background: var(--primary);
  border-radius: var(--radius);
  padding: 56px 48px;
}

.home-band--center { text-align: center; }
.home-band--center h2 { color: #fff; font-size: 30px; margin-bottom: 14px; }
.home-band--center p { color: rgba(255,255,255,0.8); max-width: 540px; margin: 0 auto 28px; }

/* ─── CAFÉ LITTÉRAIRE ───────────────────────────────────────── */
.home-cafe-inner { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.home-cafe-icon {
  width: 88px; height: 88px; border: 2px solid var(--accent); border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.home-cafe-icon .material-icons { font-size: 44px; color: var(--accent); }
.home-cafe-text { flex: 1; min-width: 260px; }
.home-cafe-text h2 { color: #fff; font-size: 30px; margin: 6px 0 12px; }
.home-cafe-text p { color: rgba(255,255,255,0.82); line-height: 1.8; max-width: 620px; }

/* ─── NEWSLETTER ────────────────────────────────────────────── */
.home-news-card {
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
  background: var(--bg-2); border: 1px solid var(--border); border-left: 4px solid var(--accent);
  border-radius: var(--radius); padding: 32px 36px;
}
.home-news-text { display: flex; align-items: center; gap: 16px; }
.home-news-text .material-icons { font-size: 40px; color: var(--primary); }
.home-news-text h2 { font-size: 22px; margin-bottom: 4px; }
.home-news-text p { color: var(--text-2); font-size: 14px; }
.home-news-form { display: flex; gap: 10px; flex: 1; min-width: 320px; max-width: 620px; }
.home-news-form input {
  flex: 1; min-width: 0; padding: 13px 14px; border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 14px; outline: none; background: #fff; font-family: 'Lato', sans-serif;
}
.home-news-form input:focus { border-color: var(--primary); }
.home-news-form button {
  padding: 13px 24px; background: var(--primary); color: #fff; border: none; border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap;
}
.home-news-form button:hover { background: var(--primary-2); }

/* ─── RESPONSIVE ────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .slider-item { flex: 0 0 calc((100% - 48px) / 3); }
  .home-about-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .home-hero { min-height: 480px; }
  .home-hero-title { font-size: 34px; }
  .slider-item { flex: 0 0 46%; }
  .slider-btn { display: none; }
  .home-head h2 { font-size: 24px; }
  .home-news-card { padding: 24px 20px; }
  .home-news-form { flex-direction: column; min-width: 0; max-width: none; width: 100%; }
}

/* ─── PRIX LITTÉRAIRE ───────────────────────────────────────── */
.home-prize-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.home-prize-text h2 { font-size: 28px; line-height: 1.3; margin: 8px 0 18px; }
.home-prize-text p { color: var(--text-2); line-height: 1.85; margin-bottom: 22px; }
.home-prize-text strong { color: var(--primary); }
.home-prize-video video {
  width: 100%; height: auto; display: block; background: #000;
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
}

/* ─── BARRE DE RECHERCHE ────────────────────────────────────── */
.home-search { max-width: 760px; text-align: center; }
.home-search h2 { font-size: 30px; margin-bottom: 24px; }

.home-search-form {
  display: flex; align-items: center; gap: 12px; max-width: 680px; margin: 0 auto;
  padding: 8px 8px 8px 18px; background: #fff; border: 2px solid var(--border);
  border-radius: var(--radius); transition: var(--transition);
}
.home-search-form:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(26,26,110,0.08); }
.home-search-form .material-icons { color: var(--text-3); }
.home-search-form input {
  flex: 1; min-width: 0; border: none; outline: none; font-size: 17px; padding: 12px 0;
  color: var(--text); background: transparent; font-family: 'Lato', sans-serif;
}
.home-search-form input::placeholder { color: var(--text-3); }
.home-search-form button {
  padding: 13px 26px; background: var(--primary); color: #fff; border: none; border-radius: var(--radius);
  font-family: 'Montserrat', sans-serif; font-size: 13px; font-weight: 700; cursor: pointer;
}
.home-search-form button:hover { background: var(--primary-2); }

@media (max-width: 1024px) {
  .home-prize-grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  .home-band { padding: 36px 22px; }
  .home-band--center h2, .home-cafe-text h2 { font-size: 24px; }
  .home-search h2 { font-size: 24px; }
  .home-search-form button { padding: 13px 16px; }
}