/* ============================================================
   Monsieur Ibrahim — Podcast Littéraire
   Palette inspirée de l'illustration aquarelle :
   - Bleu nuit parisien : #1e2d4a, #2c3e6b
   - Doré/ambré (lumière épicerie) : #c4922a, #d4a843, #e8c56a
   - Beige/crème (murs) : #f5efe6, #ede4d3
   - Vert olive (veste Ibrahim) : #4a5a2a
   - Brun chaud (bois) : #8b6340
   ============================================================ */

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

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

:root {
  --bleu-nuit: #1e2d4a;
  --bleu-profond: #2c3e6b;
  --or: #c4922a;
  --or-clair: #d4a843;
  --or-pale: #e8c56a;
  --beige: #f5efe6;
  --beige-fonce: #ede4d3;
  --brun: #8b6340;
  --brun-fonce: #6b4a28;
  --vert-olive: #4a5a2a;
  --texte-sombre: #1a1a2e;
  --texte-moyen: #3a3a5c;
  --blanc: #ffffff;
  --gris-clair: #f8f5f0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', sans-serif;
  background-color: var(--beige);
  color: var(--texte-sombre);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */

header {
  background-color: var(--bleu-nuit);
  color: var(--blanc);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  height: 56px;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.header-brand {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--blanc);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.05em;
}

.header-title {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--or-clair);
  white-space: nowrap;
  letter-spacing: 0.08em;
  flex: 0 0 auto;
  margin: 0 1.5rem;
}

/* Navigation desktop */
nav.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

nav.desktop-nav a {
  color: var(--blanc);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 400;
  padding: 0.35rem 0.7rem;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.25);
  transition: all 0.2s ease;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

nav.desktop-nav a:hover {
  background-color: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.5);
}

nav.desktop-nav a.active {
  background-color: var(--blanc);
  color: var(--bleu-nuit);
  border-color: var(--blanc);
  font-weight: 600;
}

/* Hamburger mobile */
.hamburger-btn {
  display: none;
  background: none;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 4px;
  cursor: pointer;
  padding: 0.4rem 0.5rem;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
}

.hamburger-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--blanc);
  transition: all 0.3s ease;
}

/* Menu mobile déroulant */
.mobile-menu {
  display: none;
  flex-direction: column;
  background-color: var(--bleu-profond);
  padding: 0.5rem 0;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.mobile-menu a {
  color: var(--blanc);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  transition: background 0.2s;
}

.mobile-menu a:hover {
  background-color: rgba(255,255,255,0.1);
}

.mobile-menu a.active {
  background-color: var(--blanc);
  color: var(--bleu-nuit);
  font-weight: 600;
}

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

/* Responsive */
@media (max-width: 767px) {
  nav.desktop-nav {
    display: none;
  }
  .hamburger-btn {
    display: flex;
  }
  .header-title {
    font-size: 0.82rem;
    margin: 0 0.75rem;
  }
}

@media (min-width: 768px) {
  .mobile-menu {
    display: none !important;
  }
}

/* ============================================================
   MAIN CONTENT
   ============================================================ */

main {
  flex: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  width: 100%;
}

/* ============================================================
   HERO SECTION (Page Podcast)
   ============================================================ */

.hero {
  text-align: center;
  margin-bottom: 2.5rem;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--bleu-nuit);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.hero .auteur {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  color: var(--brun);
  margin-bottom: 0.4rem;
}

.hero .sous-titre {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 0.95rem;
  color: var(--texte-moyen);
  margin-bottom: 1.8rem;
}

.hero-image {
  width: 100%;
  max-width: 800px;
  border-radius: 8px;
  box-shadow: 0 8px 32px rgba(30,45,74,0.25);
  display: block;
  margin: 0 auto;
}

/* ============================================================
   LECTEUR AUDIO STYLISÉ
   ============================================================ */

.audio-player-box {
  background: linear-gradient(135deg, var(--bleu-nuit) 0%, var(--bleu-profond) 100%);
  border-radius: 10px;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  box-shadow: 0 4px 20px rgba(30,45,74,0.3);
  color: var(--blanc);
}

.audio-player-box .audio-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--or-clair);
  margin-bottom: 0.3rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.audio-player-box .audio-title::before {
  content: '▶';
  font-size: 0.9rem;
  color: var(--or-clair);
}

.audio-player-box .audio-subtitle {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.7);
  font-style: italic;
  margin-bottom: 1rem;
}

.audio-player-box audio {
  width: 100%;
  height: 40px;
  border-radius: 4px;
  outline: none;
  accent-color: var(--or-clair);
}

.audio-player-box audio::-webkit-media-controls-panel {
  background-color: rgba(255,255,255,0.1);
  border-radius: 4px;
}

.audio-player-box .audio-desc {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.75rem;
  font-style: italic;
}

/* ============================================================
   SECTIONS DE CONTENU
   ============================================================ */

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bleu-nuit);
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--or);
}

.section-subtitle {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--bleu-profond);
  margin: 1.5rem 0 0.75rem;
}

.content-card {
  background: var(--blanc);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px rgba(30,45,74,0.08);
  border-left: 4px solid var(--or);
}

.content-card p {
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--texte-moyen);
  margin-bottom: 0.75rem;
}

.content-card p:last-child {
  margin-bottom: 0;
}

/* Thèmes cards */
.themes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.theme-card {
  background: var(--beige-fonce);
  border-radius: 8px;
  padding: 1.2rem;
  text-align: center;
  border-top: 3px solid var(--or);
  transition: transform 0.2s, box-shadow 0.2s;
}

.theme-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(30,45,74,0.12);
}

.theme-card .theme-icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.theme-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bleu-nuit);
  margin-bottom: 0.4rem;
}

.theme-card p {
  font-size: 0.82rem;
  color: var(--texte-moyen);
  line-height: 1.5;
}

/* Tableau */
.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.9rem;
}

.data-table th {
  background-color: var(--bleu-nuit);
  color: var(--blanc);
  padding: 0.75rem 1rem;
  text-align: left;
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
}

.data-table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--beige-fonce);
  color: var(--texte-moyen);
  vertical-align: top;
}

.data-table tr:nth-child(even) td {
  background-color: var(--gris-clair);
}

/* ============================================================
   BOUTONS DE TÉLÉCHARGEMENT
   ============================================================ */

.download-section {
  background: var(--beige-fonce);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  margin-top: 2rem;
}

.download-section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  color: var(--bleu-nuit);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.download-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-download {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bleu-nuit);
  color: var(--blanc);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s ease;
  border: 2px solid transparent;
}

.btn-download:hover {
  background: var(--bleu-profond);
  border-color: var(--or);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(30,45,74,0.2);
}

.btn-download .icon {
  font-size: 1.1rem;
}

/* ============================================================
   VIDÉO YOUTUBE
   ============================================================ */

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(30,45,74,0.2);
  margin: 1.5rem 0;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
}

/* ============================================================
   INFOGRAPHIE
   ============================================================ */

.infographic-container {
  margin: 2rem 0;
  text-align: center;
}

.infographic-container img {
  width: 100%;
  max-width: 900px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(30,45,74,0.15);
}

.infographic-container .caption {
  font-size: 0.82rem;
  color: var(--texte-moyen);
  font-style: italic;
  margin-top: 0.5rem;
}

/* ============================================================
   SLIDESHOW
   ============================================================ */

.slideshow-container {
  background: var(--blanc);
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(30,45,74,0.12);
  margin: 1.5rem 0;
}

.slide-display {
  text-align: center;
  margin-bottom: 1.5rem;
}

.slide-display img {
  max-width: 100%;
  border-radius: 6px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.slide-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.btn-slide {
  background: var(--bleu-nuit);
  color: var(--blanc);
  border: none;
  padding: 0.6rem 1.4rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-slide:hover {
  background: var(--bleu-profond);
  transform: translateY(-1px);
}

.btn-slide:disabled {
  background: #ccc;
  cursor: not-allowed;
  transform: none;
}

.slide-counter {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--texte-moyen);
  min-width: 60px;
  text-align: center;
}

/* ============================================================
   PAGE FICHE DE LECTURE
   ============================================================ */

.fiche-intro {
  background: linear-gradient(135deg, var(--bleu-nuit) 0%, var(--bleu-profond) 100%);
  color: var(--blanc);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.fiche-intro h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--or-clair);
  margin-bottom: 0.5rem;
}

.fiche-intro p {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 0.95rem;
  opacity: 0.85;
}

.fiche-section {
  background: var(--blanc);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 10px rgba(30,45,74,0.07);
}

.fiche-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--bleu-nuit);
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--or);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.fiche-section ul {
  list-style: none;
  padding: 0;
}

.fiche-section ul li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  font-family: 'Lora', serif;
  font-size: 0.93rem;
  color: var(--texte-moyen);
  line-height: 1.6;
  border-bottom: 1px solid var(--beige-fonce);
}

.fiche-section ul li:last-child {
  border-bottom: none;
}

.fiche-section ul li::before {
  content: '◆';
  position: absolute;
  left: 0;
  color: var(--or);
  font-size: 0.6rem;
  top: 0.55rem;
}

/* ============================================================
   PAGE DISCUSSION
   ============================================================ */

.discussion-hero {
  background: linear-gradient(135deg, var(--bleu-nuit), var(--bleu-profond));
  color: var(--blanc);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}

.discussion-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--or-clair);
  margin-bottom: 0.5rem;
}

.discussion-hero p {
  font-size: 0.95rem;
  opacity: 0.85;
  font-style: italic;
}

.activite-card {
  background: var(--blanc);
  border-radius: 10px;
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 12px rgba(30,45,74,0.08);
  border-top: 4px solid var(--or);
}

.activite-card .activite-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.activite-card .activite-badge {
  background: var(--bleu-nuit);
  color: var(--blanc);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  white-space: nowrap;
}

.activite-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: var(--bleu-nuit);
}

.activite-card .consigne {
  background: var(--beige-fonce);
  border-left: 3px solid var(--or);
  padding: 0.75rem 1rem;
  border-radius: 0 6px 6px 0;
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--texte-moyen);
  margin-bottom: 1rem;
}

.question-list {
  list-style: none;
  padding: 0;
  counter-reset: question-counter;
}

.question-list li {
  counter-increment: question-counter;
  padding: 0.75rem 0.75rem 0.75rem 3rem;
  position: relative;
  border-bottom: 1px solid var(--beige-fonce);
  font-family: 'Lora', serif;
  font-size: 0.93rem;
  color: var(--texte-moyen);
  line-height: 1.6;
}

.question-list li:last-child {
  border-bottom: none;
}

.question-list li::before {
  content: counter(question-counter);
  position: absolute;
  left: 0;
  top: 0.65rem;
  background: var(--or);
  color: var(--blanc);
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: 'Open Sans', sans-serif;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}

.role-card {
  background: var(--beige-fonce);
  border-radius: 8px;
  padding: 1rem;
  border-left: 3px solid var(--bleu-profond);
}

.role-card .role-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--bleu-nuit);
  margin-bottom: 0.3rem;
}

.role-card .role-desc {
  font-size: 0.82rem;
  color: var(--texte-moyen);
  font-style: italic;
  line-height: 1.4;
}

.grande-question {
  background: linear-gradient(135deg, var(--or) 0%, var(--or-clair) 100%);
  border-radius: 10px;
  padding: 1.5rem 2rem;
  text-align: center;
  margin: 1.5rem 0;
  color: var(--blanc);
}

.grande-question .label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.85;
  margin-bottom: 0.5rem;
}

.grande-question p {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.4;
}

.prolongement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.prolongement-card {
  background: var(--beige-fonce);
  border-radius: 8px;
  padding: 1.2rem;
  border-top: 3px solid var(--bleu-profond);
}

.prolongement-card .option-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--bleu-profond);
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.prolongement-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  color: var(--bleu-nuit);
  margin-bottom: 0.5rem;
}

.prolongement-card p {
  font-size: 0.82rem;
  color: var(--texte-moyen);
  line-height: 1.5;
}

.glossaire-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}

.glossaire-item {
  background: var(--blanc);
  border-radius: 6px;
  padding: 0.75rem 1rem;
  border-left: 3px solid var(--or);
}

.glossaire-item .terme {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--bleu-nuit);
  margin-bottom: 0.2rem;
}

.glossaire-item .definition {
  font-size: 0.82rem;
  color: var(--texte-moyen);
  font-style: italic;
}

/* ============================================================
   PAGE AUTEUR
   ============================================================ */

.auteur-hero {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  background: var(--blanc);
  border-radius: 10px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 12px rgba(30,45,74,0.08);
}

.auteur-photo {
  flex: 0 0 200px;
  text-align: center;
}

.auteur-photo img {
  width: 180px;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(30,45,74,0.2);
  border: 3px solid var(--or);
}

.auteur-info h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--bleu-nuit);
  margin-bottom: 0.3rem;
}

.auteur-info .auteur-subtitle {
  font-family: 'Lora', serif;
  font-style: italic;
  color: var(--brun);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.auteur-info .auteur-intro {
  font-family: 'Lora', serif;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--texte-moyen);
}

.timeline {
  position: relative;
  padding-left: 2rem;
  margin: 1rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0.4rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--or), var(--bleu-profond));
}

.timeline-item {
  position: relative;
  margin-bottom: 1rem;
  padding-left: 1rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -1.65rem;
  top: 0.4rem;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--or);
  border: 2px solid var(--blanc);
  box-shadow: 0 0 0 2px var(--or);
}

.timeline-item .year {
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--or);
  font-family: 'Open Sans', sans-serif;
}

.timeline-item .event {
  font-family: 'Lora', serif;
  font-size: 0.9rem;
  color: var(--texte-moyen);
  line-height: 1.5;
}

.cycle-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.cycle-table th {
  background: var(--bleu-nuit);
  color: var(--blanc);
  padding: 0.6rem 1rem;
  text-align: left;
}

.cycle-table td {
  padding: 0.55rem 1rem;
  border-bottom: 1px solid var(--beige-fonce);
  color: var(--texte-moyen);
}

.cycle-table tr:nth-child(even) td {
  background: var(--gris-clair);
}

.cycle-table tr.highlight td {
  background: rgba(196,146,42,0.1);
  font-weight: 600;
  color: var(--bleu-nuit);
}

.citation-box {
  background: linear-gradient(135deg, var(--bleu-nuit), var(--bleu-profond));
  color: var(--blanc);
  border-radius: 10px;
  padding: 2rem;
  text-align: center;
  margin: 2rem 0;
}

.citation-box blockquote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--or-clair);
  margin-bottom: 0.75rem;
}

.citation-box cite {
  font-size: 0.85rem;
  opacity: 0.8;
}

/* ============================================================
   PAGE CORAN / ISLAM
   ============================================================ */

.coran-hero {
  background: linear-gradient(135deg, #1a4a2e 0%, #2d6b4a 50%, #1a4a2e 100%);
  color: var(--blanc);
  border-radius: 10px;
  padding: 2.5rem 2rem;
  margin-bottom: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.coran-hero::before {
  content: '☽';
  position: absolute;
  top: -10px;
  right: 20px;
  font-size: 6rem;
  opacity: 0.08;
  color: var(--or-clair);
}

.coran-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.9rem;
  color: var(--or-clair);
  margin-bottom: 0.5rem;
}

.coran-hero p {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 0.95rem;
  opacity: 0.85;
}

.coran-section {
  background: var(--blanc);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 10px rgba(30,45,74,0.07);
  border-left: 4px solid #2d6b4a;
}

.coran-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  color: #1a4a2e;
  margin-bottom: 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid #c4922a;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.coran-section p {
  font-family: 'Lora', serif;
  font-size: 0.93rem;
  line-height: 1.75;
  color: var(--texte-moyen);
  margin-bottom: 0.75rem;
}

.piliers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}

.pilier-card {
  background: var(--beige-fonce);
  border-radius: 8px;
  padding: 1rem;
  text-align: center;
  border-top: 3px solid #2d6b4a;
}

.pilier-card .pilier-num {
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}

.pilier-card .pilier-name {
  font-weight: 700;
  font-size: 0.85rem;
  color: #1a4a2e;
  margin-bottom: 0.2rem;
}

.pilier-card .pilier-desc {
  font-size: 0.78rem;
  color: var(--texte-moyen);
  font-style: italic;
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  background-color: var(--bleu-nuit);
  color: rgba(255,255,255,0.7);
  text-align: center;
  padding: 1.2rem;
  font-size: 0.82rem;
  font-family: 'Open Sans', sans-serif;
  margin-top: auto;
}

footer a {
  color: var(--or-clair);
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 767px) {
  main {
    padding: 1.5rem 1rem;
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .auteur-hero {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .auteur-photo {
    flex: none;
  }

  .content-card {
    padding: 1.2rem 1.2rem;
  }

  .audio-player-box {
    padding: 1.2rem;
  }

  .fiche-section {
    padding: 1.2rem;
  }

  .activite-card {
    padding: 1.2rem;
  }
}

/* ============================================================
   UTILITAIRES
   ============================================================ */

.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }

.badge {
  display: inline-block;
  background: var(--or);
  color: var(--blanc);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.highlight-box {
  background: rgba(196,146,42,0.1);
  border: 1px solid var(--or);
  border-radius: 6px;
  padding: 1rem 1.2rem;
  margin: 1rem 0;
}

.highlight-box p {
  font-family: 'Lora', serif;
  font-style: italic;
  font-size: 0.93rem;
  color: var(--texte-moyen);
  margin: 0;
}
