/* ══════════════════════════════════════════
   RESURREXIT — CSS Liturgique
   Palette : crème, or (#b8860b), rouge (#8b1a1a), blanc
   Typo : Cormorant Garamond (titres/citations), Lato (corps)
   ══════════════════════════════════════════ */

:root {
  --gold: #b8860b;
  --gold-light: #d4a843;
  --gold-dark: #8a6508;
  --red: #8b1a1a;
  --cream: #fdf8f0;
  --cream-dark: #f5edd8;
  --text: #2c2416;
  --text-light: #5a4e3c;
  --white: #ffffff;
}

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

body {
  font-family: 'Lato', 'Segoe UI', sans-serif;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  background-color: var(--cream);
}

/* ── Header / Bandeau ── */

.site-header {
  background-color: var(--gold);
  text-align: center;
  padding: 0;
}

.logo-bandeau {
  display: block;
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
  height: auto;
}

/* ── Main content ── */

.content {
  max-width: 750px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 3rem;
}

/* ── Typography ── */

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 700;
  color: var(--red);
  line-height: 1.3;
}

h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.6rem;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

h3 {
  font-size: 1.25rem;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  color: var(--gold-dark);
}

p {
  margin-bottom: 1rem;
}

blockquote {
  border-left: 3px solid var(--gold);
  margin: 1.5rem 0;
  padding: 1rem 1.5rem;
  background: var(--cream-dark);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-light);
}

blockquote p:last-child {
  margin-bottom: 0;
}

/* ── Listes ── */

ul, ol {
  margin: 1rem 0 1rem 1.5rem;
}

li {
  margin-bottom: 0.4rem;
}

/* ── Ornements ── */

hr.ornement {
  border: none;
  text-align: center;
  margin: 2rem 0;
}

hr.ornement::after {
  content: "\2727  \2727  \2727";
  color: var(--gold);
  font-size: 1.2rem;
  letter-spacing: 0.5rem;
}

/* ── Page Introduction ── */

.intro-page .intro-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 2rem;
}

.intro-page .intro-image {
  display: block;
  max-width: 350px;
  margin: 2rem auto;
  border-radius: 8px;
}

.intro-page .intro-author {
  text-align: right;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text-light);
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--gold-light);
}

/* Lettrine */

.intro-page .lettrine {
  float: left;
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  font-weight: 700;
  line-height: 0.8;
  color: var(--red);
  margin-right: 0.15rem;
  margin-top: 0.1rem;
}

/* Citation encadree */

.citation-encadree {
  background: linear-gradient(135deg, var(--cream-dark), var(--cream));
  border: 1px solid var(--gold-light);
  border-left: 4px solid var(--gold);
  border-radius: 6px;
  padding: 1.5rem 2rem;
  margin: 2rem 0;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-light);
}

.citation-encadree cite {
  display: block;
  text-align: right;
  font-size: 0.95rem;
  font-style: normal;
  font-weight: 600;
  color: var(--gold-dark);
  margin-top: 0.75rem;
}

.citation-encadree p {
  margin-bottom: 0;
}

/* Piliers en cartes */

.piliers-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin: 1.5rem 0 2.5rem;
}

.pilier-card {
  background: var(--white);
  border: 1px solid var(--cream-dark);
  border-radius: 8px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: border-color 0.2s;
}

.pilier-card:hover {
  border-color: var(--gold-light);
}

.pilier-card .pilier-icon {
  font-size: 1.8rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.pilier-card h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.pilier-card p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 0;
  line-height: 1.5;
}

/* Cri final */

.resurrexit-cri {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--red);
  margin: 1.5rem 0;
  letter-spacing: 0.05em;
}

/* Espacement intro */

.intro-page p {
  margin-bottom: 1.25rem;
}

@media (max-width: 600px) {
  .piliers-cards {
    grid-template-columns: 1fr;
  }

  .intro-page .lettrine {
    font-size: 3rem;
  }
}

/* ── Page Jour ── */

.jour-page {}

.jour-header {
  text-align: center;
  margin-bottom: 2rem;
}

.jour-number {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.3rem 1rem;
  border-radius: 3px;
  margin-bottom: 0.75rem;
}

.jour-date {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--text-light);
  font-size: 1.05rem;
  margin-top: 0.5rem;
}

/* Sections du jour */

.section-bible,
.section-contemplation,
.section-reflexions,
.section-resolution,
.section-priere {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--cream-dark);
}

.section-bible h3,
.section-contemplation h3,
.section-reflexions h3,
.section-resolution h3,
.section-priere h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.section-bible h3::before,
.section-contemplation h3::before,
.section-reflexions h3::before,
.section-resolution h3::before,
.section-priere h3::before {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-right: 0.5rem;
  color: var(--gold);
}

.section-bible h3::before { content: "\f02d"; }
.section-contemplation h3::before { content: "\f185"; }
.section-reflexions h3::before { content: "\f5dc"; }
.section-resolution h3::before { content: "\f140"; }
.section-priere h3::before { content: "\f4ba"; }

/* ── Audio player (SoundCloud) ── */

.audio-player {
  margin: 1.5rem 0;
  padding: 1rem;
  background: var(--cream-dark);
  border-radius: 8px;
  border: 1px solid var(--gold-light);
}

.audio-label {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.audio-icon {
  font-size: 1.1rem;
}

/* ── Résumé semaine ── */

.semaine-resume {
  background: linear-gradient(135deg, var(--cream-dark), var(--cream));
  border: 1px solid var(--gold-light);
  border-radius: 8px;
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
}

.semaine-resume h2 {
  margin-top: 0;
  color: var(--gold-dark);
  font-size: 1.4rem;
}

.semaine-priere-label {
  font-size: 0.95rem;
  color: var(--text-light);
}

/* ── Navigation jour ── */

.jour-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--gold-light);
  flex-wrap: wrap;
  gap: 0.5rem;
}

.jour-nav a {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: var(--gold-dark);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}

.jour-nav a:hover {
  background: var(--gold);
  color: var(--white);
}

.nav-home {
  font-size: 0.9rem;
}

/* ── Bouton doré réutilisable ── */

.btn-gold {
  display: inline-block;
  background: var(--gold);
  color: var(--white);
  padding: 0.75rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: 1.1rem;
  transition: background 0.2s;
}

.btn-gold:hover {
  background: var(--gold-dark);
}

/* ── Index / Accueil ── */

.index-page .index-intro {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 2.5rem;
  padding: 2rem 1rem;
  line-height: 1.4;
}

.index-page .index-intro br + br {
  display: none;
}

.index-page .index-extrait {
  max-width: 650px;
  margin: 0 auto 2.5rem;
  padding: 1.5rem 2rem;
  background: var(--cream-dark);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
}

.index-page .index-intro .index-subtitle {
  display: block;
  font-size: 1.15rem;
  font-weight: 400;
  font-style: italic;
  color: var(--text-light);
  margin-top: 0.5rem;
}

.semaine-group {
  margin-bottom: 2rem;
}

.semaine-group h2 {
  font-size: 1.3rem;
  color: var(--gold-dark);
  border-bottom: 2px solid var(--gold-light);
  padding-bottom: 0.4rem;
  margin-bottom: 0.75rem;
}

.jour-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.jour-list li {
  margin-bottom: 0;
}

.jour-list a {
  display: block;
  padding: 0.6rem 1rem;
  color: var(--text);
  text-decoration: none;
  border-radius: 4px;
  transition: background 0.15s;
}

.jour-list a:hover {
  background: var(--cream-dark);
}

.jour-list .jour-num {
  font-weight: 700;
  color: var(--gold-dark);
  margin-right: 0.5rem;
}

.jour-list .jour-date-index {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 0.9rem;
  color: var(--text-light);
  margin-right: 0.4rem;
}

.jour-list .locked {
  color: var(--text-light);
  opacity: 0.5;
  pointer-events: none;
}

.jour-list .locked-icon-index {
  color: var(--gold-light);
  font-size: 0.75rem;
  margin-right: 0.5rem;
}

/* ── Verrouillage jour ── */

.jour-locked {
  text-align: center;
  padding: 4rem 2rem;
}

.jour-locked .locked-icon {
  font-size: 3rem;
  color: var(--gold-light);
  margin-bottom: 1.5rem;
}

.jour-locked h2 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--red);
  font-size: 1.6rem;
  margin-top: 0;
  margin-bottom: 1rem;
}

.jour-locked .locked-message {
  font-size: 1.1rem;
  color: var(--text);
}

.jour-locked .locked-sub {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  color: var(--text-light);
  margin-top: 1rem;
}

/* ── Footer ── */

.site-footer {
  background: var(--gold-dark);
  color: var(--cream);
  text-align: center;
  padding: 1.5rem;
  margin-top: 3rem;
  font-size: 0.9rem;
}

.footer-sub {
  font-size: 0.8rem;
  opacity: 0.7;
  margin-bottom: 0;
}

/* ── Responsive ── */

@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  .content {
    padding: 1.5rem 1rem 2rem;
  }

  h1 {
    font-size: 1.6rem;
  }

  h2 {
    font-size: 1.35rem;
  }

  .jour-nav {
    flex-direction: column;
    text-align: center;
  }

  .intro-page .intro-image {
    max-width: 250px;
  }

  .semaine-resume {
    padding: 1rem 1.25rem;
  }
}
