.elementor-503 .elementor-element.elementor-element-7f22036{--display:flex;}/* Start custom CSS for html, class: .elementor-element-5000ad5 *//* Import Fonts */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&amp;family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&amp;display=swap');

/* ============================================================
   HISTORIA COMPLETA - ACCORDÉONS ET SOMMAIRE (23 CAPÍTULOS)
   ============================================================ */

.af-history-wrapper {
  font-family: 'Outfit', sans-serif;
  color: #1a171b;
  line-height: 1.8;
  background-color: #ffffff;
  overflow-x: hidden;
}

.af-history-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* HERO HEADER */
.af-history-hero {
  background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
  padding: 80px 20px 40px;
  text-align: center;
  border-bottom: 1px solid #e5e7eb;
}

.af-history-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.2rem;
  font-weight: 800;
  color: #1a171b;
  line-height: 1.2;
  margin-bottom: 20px;
}

.af-history-tag {
  display: inline-block;
  background: rgba(218, 0, 46, 0.08);
  color: #da002e;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 18px;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 15px;
}

.af-highlight {
  background-color: #facc15;
  color: #1a171b;
  padding: 2px 8px;
  font-weight: 700;
  border-radius: 2px;
}

/* SOMMAIRE (TABLE OF CONTENTS) */
.af-toc-box {
  background-color: #f8f9fa;
  border: 1px solid #e5e7eb;
  border-left: 5px solid #da002e;
  border-radius: 12px;
  padding: 30px;
  margin: 40px 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}

.af-toc-title {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #1a171b;
  margin-bottom: 20px;
}

.af-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.af-toc-list a {
  color: #1a171b;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
}

.af-toc-list a:hover {
  color: #da002e;
}

/* BOUTON GLOBAL (TOUT OUVRIR/FERMER) */
.af-toggle-controls {
  text-align: right;
  margin-bottom: 20px;
}

.af-btn-toggle-all {
  background: none;
  border: 1px solid #da002e;
  color: #da002e;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.af-btn-toggle-all:hover {
  background: #da002e;
  color: #ffffff;
}

/* ACCORDÉONS (DETAILS / SUMMARY) */
.af-chapter-details {
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  margin-bottom: 16px;
  background-color: #ffffff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  overflow: hidden;
}

.af-chapter-details[open] {
  border-color: #da002e;
  box-shadow: 0 6px 20px rgba(218, 0, 46, 0.06);
}

.af-chapter-summary {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a171b;
  padding: 22px 28px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  background-color: #ffffff;
}

.af-chapter-summary::-webkit-details-marker {
  display: none;
}

.af-chapter-summary::after {
  content: "+";
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: #da002e;
  transition: transform 0.3s ease;
}

.af-chapter-details[open] .af-chapter-summary::after {
  content: "−";
  transform: rotate(180deg);
}

.af-chapter-summary:hover {
  background-color: #fdfdfd;
  color: #da002e;
}

.af-chapter-content {
  padding: 10px 28px 28px;
  border-top: 1px solid #f3f4f6;
}

.af-chapter-content p {
  font-size: 1.05rem;
  color: #333333;
  margin-bottom: 18px;
  text-align: justify;
}

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

/* DESTACADO ESPECIAL PARA CAPÍTULO TRANSVERSAL */
.af-chapter-special {
  border-left: 5px solid #da002e !important;
}

/* LISTES STRUCTURÉES DANS LES CHAPITRES */
.af-history-list {
  margin: 15px 0 20px 20px;
  padding-left: 10px;
}

.af-history-list li {
  font-size: 1.05rem;
  color: #333333;
  margin-bottom: 10px;
}

.af-history-list li strong {
  color: #1a171b;
}

/* CARTE ARCHIVE / ENCADRÉ */
.af-archive-card {
  background-color: #f8f9fa;
  border-left: 4px solid #da002e;
  padding: 20px 25px;
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
}

/* BOUTONS CTA */
.af-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.af-btn-primary {
  background-color: #da002e;
  color: #ffffff;
}

.af-btn-primary:hover {
  background-color: #b50026;
  color: #ffffff;
}

.af-btn-outline {
  border: 2px solid #1a171b;
  color: #1a171b;
}

.af-btn-outline:hover {
  background-color: #1a171b;
  color: #ffffff;
}

/* CTA FINAL */
.af-history-cta {
  text-align: center;
  padding: 60px 0;
  margin-top: 60px;
  border-top: 1px solid #e5e7eb;
}

@media (max-width: 768px) {
  .af-history-hero h1 { font-size: 2.2rem; }
  .af-chapter-summary { font-size: 1.15rem; padding: 18px 20px; }
  .af-chapter-content { padding: 10px 20px 20px; }
  .af-chapter-content p { text-align: left; }
}/* End custom CSS */