@import url('https://fonts.googleapis.com/css2?family=Lora:ital,wght@0,400..700;1,400..700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- DESIGN SYSTEM & VARIABLES --- */
:root {
  /* Thème par défaut : Presse Digitale Moderne */
  --bg-color: #fafaf9; /* Off-white moderne et reposant */
  --text-color: #111827; /* Encre anthracite moderne (slate-900) */
  --text-muted: #4b5563; /* Gris ardoise atténué (slate-600) */
  --accent-color: #0066cc; /* Bleu presse digitale */
  --accent-hover: #004ea1; /* Bleu presse foncé */
  --secondary-color: #0066cc; /* Bleu presse digitale */
  --border-color: #e5e7eb; /* Bordure grise fine et moderne */
  --card-bg: #ffffff; /* Fond de carte blanc pur */
  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
  --card-shadow-hover: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  --header-height: auto;
  
  --font-serif: 'Lora', Georgia, serif;
  --font-display: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;
  
  --transition-speed: 0.25s;
  --transition-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --reading-font-size: 1.25rem;

  /* Jetons d'affichage des articles (Medium Style) */
  --page-bg-light: #ffffff;
  --page-bg-dark: #ffffff;
  --page-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.03);
  --page-border: #e5e7eb;
  --ornament-color: transparent; /* Masquer les ornements */
  --inner-border: transparent; /* Masquer la bordure intérieure */
}

/* Thème Sépia (Véritable Parchemin Chaleureux) */
[data-theme="sepia"] {
  --bg-color: #3b281b; /* Fond bureau bois d'acajou */
  --text-color: #382512;
  --text-muted: #735c45;
  --accent-color: #ff530d;
  --accent-hover: #d03c00;
  --border-color: #523a28;
  --card-bg: #f6edd9;
  --card-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
  --card-shadow-hover: 0 25px 50px rgba(0, 0, 0, 0.45);

  /* Jetons Parchemin */
  --page-bg-light: #fbf6eb;
  --page-bg-dark: #ebdbbe;
  --page-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 10px 25px rgba(0, 0, 0, 0.3);
  --page-border: #a87e4c;
  --ornament-color: #c7965b;
  --inner-border: #dcbfa2;
}

/* Thème Nuit (Parchemin Sombre Ardoise & Or) */
[data-theme="night"] {
  --bg-color: #0c0c0e; /* Fond noir carbone */
  --text-color: #f3f4f6;
  --text-muted: #9ca3af;
  --accent-color: #ff733b; /* Orange plus doux pour la nuit */
  --accent-hover: #ff8e5e;
  --border-color: #1f2937;
  --card-bg: #111827;
  --card-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  --card-shadow-hover: 0 20px 40px rgba(255, 83, 13, 0.15);

  /* Jetons Parchemin */
  --page-bg-light: #1c1f26;
  --page-bg-dark: #121418;
  --page-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
  --page-border: #ff733b;
  --ornament-color: #ff733b;
  --inner-border: #323842;
}

/* --- RESET & BASIC STYLES --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: var(--font-sans);
  line-height: 1.6;
  transition: background-color var(--transition-speed) var(--transition-ease),
              color var(--transition-speed) var(--transition-ease);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-speed) var(--transition-ease);
}

/* --- HEADER / NAVIGATION (PRESS STYLE) --- */
.press-header {
  width: 100%;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--card-bg);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.02);
}

.press-header-wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-masthead {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-color);
  line-height: 1;
  transition: color var(--transition-speed);
}

.logo-masthead:hover {
  color: var(--accent-color);
}

.press-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.press-nav-link {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition-speed);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.press-nav-link:hover, .press-nav-link.active {
  color: var(--accent-color);
}

.admin-link-nav {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border-color);
  padding: 0.4rem 1rem;
  border-radius: 6px;
  transition: all var(--transition-speed);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.admin-link-nav:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: #ffffff !important;
}

.admin-footer-link {
  color: inherit;
  text-decoration: none;
  font-size: inherit;
  font-weight: inherit;
  transition: color var(--transition-speed);
}

.admin-footer-link:hover {
  color: var(--accent-color);
  text-decoration: underline;
}

/* Subbar containing date and tagline */
.press-sub-bar {
  max-width: 1200px;
  margin: 0 auto 1.5rem auto;
  padding: 0.75rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
  font-family: var(--font-sans);
  font-weight: 500;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
}

.press-date-today {
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.press-tagline {
  font-style: italic;
  font-family: var(--font-serif);
}

.press-tagline::before {
  content: '•';
  margin-left: 1.5rem;
  margin-right: 1.5rem;
  color: var(--text-muted);
  opacity: 0.5;
}

/* --- MAIN CONTAINER --- */
main {
  flex: 1;
  padding: 4rem 2rem;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
}

/* --- INDEX PAGE (HERO & GRID) --- */
.hero {
  text-align: center;
  margin-bottom: 3.5rem;
  animation: fadeIn 1.2s var(--transition-ease);
  background: transparent;
  border: none;
  padding: 1.5rem 1rem 0 1rem;
  box-shadow: none;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1.1;
  margin-bottom: 0.75rem;
  font-weight: 800;
  color: var(--text-color);
  letter-spacing: -1px;
}

.hero p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.divider {
  display: none;
}

.text-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  width: 100%;
}

@media (min-width: 768px) {
  .text-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .text-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.text-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
  height: auto;
  min-height: auto;
  transition: transform var(--transition-speed) var(--transition-ease),
              box-shadow var(--transition-speed) var(--transition-ease);
  position: relative;
  cursor: pointer;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.text-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--card-shadow-hover);
}

.card-body-wrap {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* Illustration de la carte : Pochette / Couverture de Livre en 3D */
.card-cover-wrapper {
  width: 150px;
  height: 210px;
  margin: 0 auto 1.8rem auto;
  position: relative;
  z-index: 2;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  transform-style: preserve-3d;
  transform-origin: left center;
}

/* Simulation des tranches/pages blanches du livre (à droite) */
.card-cover-wrapper::before {
  content: '';
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 5px;
  right: -5px;
  background: #f8fafc;
  border-right: 1px solid #cbd5e1;
  box-shadow: 
    1px 0 0 #e2e8f0,
    2px 0 0 #cbd5e1,
    3px 0 0 #94a3b8;
  border-radius: 0 3px 3px 0;
  z-index: 1;
  transform: translateZ(-2px);
}

/* Texture et reflet de reliure sur le pli du livre (à gauche) */
.card-cover-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 12px;
  height: 100%;
  background: linear-gradient(to right, 
    rgba(255, 255, 255, 0.25) 0%, 
    rgba(255, 255, 255, 0.0) 25%, 
    rgba(0, 0, 0, 0.1) 60%, 
    rgba(255, 255, 255, 0.15) 85%, 
    rgba(255, 255, 255, 0.0) 100%);
  z-index: 3;
  pointer-events: none;
  border-radius: 3px 0 0 3px;
}

.novel-cover {
  width: 100%;
  height: 100%;
  background-color: #fbf9f4; /* Papier bouffant crème de roman */
  border: 1px solid #dcd5c5;
  border-radius: 3px 5px 5px 3px;
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.15),
    -4px 0 8px rgba(0, 0, 0, 0.1) inset; /* pli de reliure */
  padding: 1rem 0.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  backface-visibility: hidden;
}

/* Encadrement typique des romans de collection (ex: Gallimard/NRF) */
.novel-cover::before {
  content: '';
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 9px; /* laisser de la place pour le pli à gauche */
  right: 5px;
  border: 1px solid rgba(139, 92, 26, 0.25); /* filet bronze discret */
  pointer-events: none;
  border-radius: 1px 3px 3px 1px;
}

.novel-author {
  font-family: 'Inter', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #78350f; /* marron ambré littéraire */
  text-transform: uppercase;
  margin-top: 0.1rem;
  text-align: center;
}

.novel-title {
  font-family: var(--font-display), 'Playfair Display', Georgia, serif;
  font-size: 0.9rem; /* taille compacte pour tenir dans la pochette */
  font-weight: 700;
  color: #1c1917; /* noir bistre chaleureux */
  text-align: center;
  margin: 0.3rem 0;
  line-height: 1.25;
  max-height: 2.5rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.novel-artwork-frame {
  width: 95px;
  height: 80px;
  border: 1px solid #d8cfc0;
  padding: 1.5px;
  background-color: white;
  box-shadow: 0 1.5px 4px rgba(0,0,0,0.1);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.2rem 0;
}

.novel-artwork {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.novel-category {
  font-family: var(--font-serif), Georgia, serif;
  font-size: 0.55rem;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 1px;
  color: #b45309; /* couleur accentuée bronze */
  text-transform: uppercase;
}

.novel-publisher {
  font-family: 'Inter', sans-serif;
  font-size: 0.5rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #78716c;
  text-transform: uppercase;
  margin-bottom: 0.1rem;
}

.text-card:hover .card-cover-wrapper {
  transform: rotateY(-8deg) translateZ(5px);
}

.card-category {
  font-size: 0.75rem;
  font-weight: 750;
  font-family: var(--font-sans);
  text-transform: uppercase;
  color: var(--accent-color);
  letter-spacing: 1.2px;
  margin-bottom: 0.6rem;
  width: fit-content;
  display: inline-block;
}

.card-category::before {
  content: none;
}

.card-category::after {
  display: none;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  line-height: 1.3;
  margin-bottom: 0.8rem;
  font-weight: 800;
  text-align: left;
  color: var(--text-color);
  transition: color var(--transition-speed);
}

.text-card:hover .card-title {
  color: var(--accent-color);
}

.card-excerpt {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--text-muted);
  flex-grow: 1;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-height: 1.6;
  text-align: left;
}

.card-meta {
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  padding-top: 1rem;
  font-family: var(--font-sans);
  font-weight: 500;
}

.read-btn {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--accent-color);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.read-btn::before {
  content: none;
}

.read-btn::after {
  content: ' →';
  transition: transform var(--transition-speed);
}

.text-card:hover .read-btn::after {
  transform: translateX(4px);
}

/* --- ASYMMETRIC LAYOUT (À LA UNE) ON DESKTOP --- */
@media (min-width: 1024px) {
  /* Le premier article (À la Une) prend toutes les colonnes de la première ligne */
  .text-grid .text-card:first-child {
    grid-column: 1 / -1;
    flex-direction: row;
    gap: 3rem;
    align-items: center;
    padding: 3rem;
  }
  
  .text-grid .text-card:first-child .card-cover-wrapper {
    width: 200px;
    height: 280px;
    flex-shrink: 0;
    margin: 0;
  }
  
  .text-grid .text-card:first-child .card-title {
    font-size: 2.2rem;
  }
  
  .text-grid .text-card:first-child .card-excerpt {
    -webkit-line-clamp: 5;
    font-size: 1.05rem;
  }
}

/* --- READING INTERFACE (READ.HTML) --- */
.reader-controls-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 3rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
  font-family: var(--font-sans);
}

.back-link {
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.back-link:hover {
  color: var(--accent-color);
}

.reader-settings {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.setting-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.setting-group label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.theme-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: transform 0.2s;
}

.theme-btn:hover {
  transform: scale(1.1);
}

  .theme-btn.btn-paper { background-color: #fbf9f6; border-color: #753357; }
  .theme-btn.btn-sepia { background-color: #f2e7cf; border-color: #433422; }
  .theme-btn.btn-night { background-color: #121416; border-color: #dcdad5; }

.font-size-btn {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-color);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
}

.font-size-btn:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

/* --- THE BOOK LAYOUT --- */
.book-container {
  max-width: 760px;
  margin: 2rem auto 5rem auto;
  padding: 4rem;
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  border-radius: 8px;
  transition: background var(--transition-speed) var(--transition-ease),
              border-color var(--transition-speed) var(--transition-ease),
              box-shadow var(--transition-speed) var(--transition-ease);
}

.book-container::after {
  display: none;
}

/* Ornements d'angle façon parchemin (masqués) */
.page-corner {
  display: none;
}

.book-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background-color: var(--accent-color);
  width: 0%;
  z-index: 101;
  transition: width 0.1s linear;
}

.book-header {
  text-align: left;
  margin-bottom: 3rem;
}

.book-category {
  font-size: 0.8rem;
  font-weight: 700;
  font-family: var(--font-sans);
  text-transform: uppercase;
  color: var(--accent-color);
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  display: inline-block;
}

.book-category::before {
  content: none;
}

.book-category::after {
  display: none;
}

.book-title {
  font-family: var(--font-display);
  font-size: 2.8rem;
  line-height: 1.2;
  font-weight: 850;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.book-date {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.book-content {
  font-family: var(--font-serif);
  font-size: var(--reading-font-size);
  line-height: 1.85;
  color: var(--text-color);
  text-align: left;
  margin-bottom: 4rem;
  animation: slideUp 0.8s var(--transition-ease);
}

.book-content p {
  margin-bottom: 1.5rem;
  text-indent: 0;
}

.book-content p:first-of-type {
  text-indent: 0;
}

.book-content p:first-of-type:not(.no-dropcap)::first-letter {
  font-family: var(--font-display);
  float: left;
  font-size: 4rem;
  line-height: 0.85;
  padding-top: 4px;
  padding-right: 10px;
  padding-left: 0;
  color: var(--accent-color);
  font-weight: 800;
}

/* --- PAGINATION LITTÉRAIRE --- */
.book-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-sans);
  z-index: 5;
  position: relative;
}

.book-pagination-top {
  margin: 0 0 3.5rem 0;
  padding-top: 0;
  padding-bottom: 2rem;
  border-top: none;
  border-bottom: 1px solid var(--border-color);
}

.book-pagination-bottom {
  margin: 3.5rem 0 0 0;
  padding-top: 2rem;
  padding-bottom: 0;
  border-top: 1px solid var(--border-color);
  border-bottom: none;
}

.page-nav-btn {
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-color);
  padding: 0.5rem 1.2rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s var(--transition-ease);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.page-nav-btn:hover:not([disabled]) {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: #fff;
}

.page-nav-btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  border-color: var(--border-color);
}

.page-numbers-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-number-link {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.2s var(--transition-ease);
  color: var(--text-muted);
}

.page-number-link:hover {
  color: var(--accent-color);
  background-color: rgba(0, 102, 204, 0.05);
}

.page-number-link.active {
  color: #fff;
  background-color: var(--accent-color);
  font-weight: 700;
  box-shadow: 0 4px 6px -1px rgba(0, 102, 204, 0.2);
}

/* --- CITATIONS LITTÉRAIRES --- */
.literary-quote-container {
  text-align: center;
  margin: 1.2rem auto 0 auto;
  max-width: 550px;
  padding: 0;
  position: relative;
  z-index: 2;
}

.literary-quote-text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.literary-quote-author {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  color: var(--accent-color);
}

.book-footer-divider {
  width: 100px;
  height: 1px;
  background-color: var(--border-color);
  margin: 4rem auto;
}

/* --- BOUTONS DE PARTAGE --- */
.book-share-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 3.5rem 0 1.5rem 0;
  font-family: var(--font-sans);
  font-size: 0.9rem;
}

.share-label {
  color: var(--text-muted);
  font-style: italic;
  font-family: var(--font-serif);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: none;
  border: 1px solid var(--border-color);
  padding: 0.5rem 1.2rem;
  border-radius: 9999px;
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--text-color);
  font-family: var(--font-sans);
  transition: all 0.2s;
  font-weight: 500;
}

.share-btn:hover {
  background-color: rgba(0, 102, 204, 0.05);
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.share-btn svg {
  flex-shrink: 0;
}

/* --- FOOTER --- */
footer {
  padding: 3rem;
  text-align: center;
  border-top: 1px solid var(--border-color);
  margin-top: auto;
  font-size: 0.9rem;
  color: var(--text-muted);
  background-color: var(--bg-color);
  transition: background-color var(--transition-speed) var(--transition-ease),
              border-color var(--transition-speed) var(--transition-ease);
}

.footer-copyright {
  margin-top: 2rem;
}

/* --- KEYFRAMES --- */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* --- SECTION DES AVIS --- */
.reviews-section {
  max-width: 760px;
  margin: 4rem auto 5rem auto;
  padding: 3rem;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  box-shadow: var(--card-shadow);
  border-radius: 8px;
  position: relative;
}

.reviews-section::after {
  display: none;
}

.reviews-title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.8rem;
  position: relative;
  z-index: 2;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 2;
}

.review-item {
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.review-item:last-child {
  border-bottom: none;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.3rem;
}

.review-author {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-color);
}

.review-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-sans);
}

.stars-display {
  color: #dfd7cb;
  font-size: 1rem;
  letter-spacing: 2px;
}

.stars-display span.filled {
  color: var(--accent-color);
}

.review-comment {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-color);
}

/* Formulaire d'avis */
.review-form-container {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--border-color);
  padding-top: 2.5rem;
}

.review-form-container h4 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.form-row-compact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-input-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-input-group label {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text-muted);
}

.review-input {
  background: #ffffff;
  border: 1px solid var(--border-color);
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  border-radius: 6px;
  color: var(--text-color);
  transition: all 0.2s;
}

.review-input:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

textarea.review-input {
  min-height: 100px;
  resize: vertical;
}

.star-rating-selector {
  display: flex;
  gap: 0.3rem;
  font-size: 1.4rem;
  cursor: pointer;
  color: #dfd7cb;
  user-select: none;
}

.star-select {
  transition: color 0.15s;
}

.star-select.hover, .star-select.active {
  color: var(--accent-color);
}

.btn-submit-review {
  margin-top: 1.5rem;
  background-color: var(--accent-color);
  border: 1px solid var(--accent-color);
  color: #ffffff;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-sans);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color var(--transition-speed);
}

.btn-submit-review:hover {
  background-color: var(--accent-hover) !important;
  border-color: var(--accent-hover);
  color: #ffffff;
  box-shadow: none;
}

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
  .press-header-wrap {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 1.5rem;
    text-align: center;
  }
  
  .press-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  
  .press-sub-bar {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    padding: 0.75rem 1.5rem;
    margin-bottom: 0.5rem;
  }
  
  .press-tagline::before {
    content: none;
  }
  
  main {
    padding: 2rem 1rem;
  }
  
  .hero h1 {
    font-size: 2.3rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .book-container {
    padding: 2rem;
  }
  
  .book-title {
    font-size: 2.2rem;
  }
  
  .book-content {
    text-align: left;
  }
  
  .reader-controls-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .reader-settings {
    width: 100%;
    justify-content: space-between;
  }
  
  .reviews-section {
    padding: 2rem;
  }
  
  .form-row-compact {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
