/* ═══════════════════════════════════════════════════════
   CONTENT-PAGE.CSS — chargé uniquement sur les 5 pages de contenu
   (Origine, Spiritualité, L'Ordre Franciscain Séculier, Liens, Contact),
   dans chacune des 3 régions (15 pages au total).
   ═══════════════════════════════════════════════════════ */

.content-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.content-page > h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 32px;
  color: #573e23;
  text-align: center;
  margin-bottom: 40px;
}

/* Lien hors carte (ex: "retour à l'accueil") : le a:link global est blanc
   (pensé pour l'en-tête brun), donc on le rend lisible sur le fond crème ici. */
.content-page > p > a {
  color: #573e23;
  font-weight: bold;
}

/* ───── Mini-hero de page (bandeau titre) ───── */
.content-hero {
  position: relative;
  padding: 150px 24px 48px;
  text-align: center;
  background: linear-gradient(135deg, #6b5a42 0%, #573e23 100%);
  color: #ffffff;
  overflow: hidden;
}

.content-hero-kicker {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: 13px;
  color: #f0d9ae;
  margin-bottom: 10px;
}

.content-hero h1 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: clamp(28px, 5vw, 42px);
  margin: 0;
}

/* ───── Sommaire cliquable (pages longues : Origine, Spiritualité) ───── */
.content-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 24px 24px 0;
}

.content-toc a {
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #573e23 !important;
  background: #f0e3c8;
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none !important;
  transition:
    background 0.2s ease,
    transform 0.2s ease;
  white-space: nowrap;
}

.content-toc a:hover,
.content-toc a:focus-visible {
  background: #daaa67;
  transform: translateY(-2px);
}

/* ───── Icône décorative devant chaque titre de section ───── */
.content-section h2 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: #f0d9ae;
}

/* ───── Citation mise en valeur ───── */
.pull-quote {
  font-family: "Merriweather", serif;
  font-style: italic;
  font-size: 19px;
  line-height: 1.6;
  color: #ffffff;
  border-left: 4px solid #f0d9ae;
  padding-left: 20px;
  margin: 20px 0;
}

.pull-quote cite {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-size: 14px;
  color: #e2c396;
}

/* ───── Animation légère d'apparition au scroll ───── */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    transition: none;
    opacity: 1;
    transform: none;
  }
}

/* ───── Carte de section ───── */
.content-section {
  background: #6b5a42;
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 32px;
  scroll-margin-top: 110px;
}

.content-section h2 {
  font-family: "Poppins", sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 16px;
}

.content-section p {
  font-family: "Merriweather", serif;
  font-size: 17px;
  line-height: 1.6;
  color: #ffffff;
  margin-bottom: 16px;
}

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

.content-section a {
  color: #f5e6c8;
  text-decoration: underline;
}

.content-section a:hover,
.content-section a:focus-visible {
  color: #ffffff;
}

.content-section ul {
  margin: 0 0 16px 20px;
}

.content-section li {
  margin-bottom: 8px;
  font-family: "Merriweather", serif;
  line-height: 1.6;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 10px;
}

.content-section li .section-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.content-section .source {
  font-size: 14px;
  font-style: italic;
  color: #e2c396;
}

/* ───── Ligne de contact avec icône (page Contact) ───── */
.contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-line .section-icon {
  width: 20px;
  height: 20px;
}

@media (max-width: 700px) {
  .content-hero {
    padding: 130px 20px 36px;
  }

  .content-page {
    padding: 32px 16px 60px;
  }

  .content-section {
    padding: 24px 20px;
  }
}
