/* ==========================================================================
   COMPOSANTS SPÉCIFIQUES - components.css
   Paroisse Orthodoxe Saint Georges d'Angré Nouveau CHU
   ========================================================================== */

/* --- CARTES GÉNÉRALES --- */
.card {
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  overflow: hidden;
  position: relative;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(255, 213, 61, 0.8);
}

.card-dark {
  background-color: var(--color-dark-surface);
  border-color: var(--color-dark-border);
  color: var(--color-white);
}

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

/* --- SECTION GRAND ÉVÉNEMENT AVEC AFFICHE 3:4 --- */
.featured-event-box {
  background: linear-gradient(135deg, #0e0d0b 0%, #1c1813 100%);
  border: 2px solid var(--color-gold);
  border-radius: var(--radius-lg);
  color: var(--color-white);
  padding: 3.5rem;
  box-shadow: var(--shadow-dark), var(--shadow-gold);
  position: relative;
  overflow: hidden;
}

.featured-event-box::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(255, 213, 61, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.featured-event-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

/* Encart événement à la une : grande affiche + description courte */
.featured-event-grid.featured-event-compact {
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2.5rem;
}
.featured-event-compact .featured-poster {
  display: flex;
  justify-content: center;
}
.featured-event-compact .poster-3-4 {
  max-width: 440px;
}
.featured-event-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.featured-event-desc {
  color: #f3ebdb;
  margin-top: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.featured-event-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.event-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.9rem;
  background-color: var(--color-red);
  color: var(--color-white);
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.event-details-list {
  margin: 1.5rem 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.event-detail-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #ddd;
}

.event-detail-item svg,
.event-detail-item .gold {
  color: var(--color-gold);
  font-size: 1.1rem;
}

/* --- HORAIRES DES OFFICES LITURGIQUES --- */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.schedule-card {
  padding: 2.25rem 2rem;
  text-align: center;
  border-top: 4px solid var(--color-gold);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--color-white);
}

.schedule-card.featured {
  border-top: 4px solid var(--color-red);
  background: linear-gradient(to bottom, #ffffff, var(--color-gold-light));
}

.schedule-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background-color: var(--color-gold-light);
  border: 1px solid var(--color-gold);
  color: var(--color-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
}

.schedule-card.featured .schedule-icon {
  background-color: var(--color-red-light);
  border-color: var(--color-red);
  color: var(--color-red);
}

.schedule-time {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--color-black);
  margin: 0.75rem 0 0.5rem;
}

.schedule-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.schedule-badge {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  background: var(--bg-tertiary);
  color: #333;
}

/* --- CLERGÉ & SERVANTS D'AUTEL --- */
.clergy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.5rem;
}

.clergy-card-clean {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-white);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}

.clergy-card-clean:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-gold);
}

.clergy-img-clean {
  height: 360px;
  position: relative;
  overflow: hidden;
  background-color: #1a1a1a;
}

.clergy-img-clean img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}

.clergy-card-clean:hover .clergy-img-clean img {
  transform: scale(1.04);
}

.clergy-info-clean {
  padding: 1.5rem 1.25rem 1.75rem;
  background: var(--color-white);
}

.clergy-title-badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  background: var(--color-gold-light);
  color: #8a6800;
  border: 1px solid var(--color-gold);
  margin-bottom: 0.6rem;
}

.clergy-title-badge.rector {
  background: var(--color-red-light);
  color: var(--color-red);
  border-color: var(--color-red);
}

.clergy-name-clean {
  font-size: 1.25rem;
  color: var(--color-black);
  margin: 0;
  font-weight: 700;
}

/* Grilles des Servants d'Autel & Lecteurs-Chantres (mêmes tuiles que le Presbytère) */
.servants-grid,
.chanters-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2.5rem;
}

/* --- GALERIE PHOTO PAR DOSSIERS (4 PAR LIGNE) --- */
.gallery-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: 0.55rem 1.3rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  background: var(--bg-tertiary);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--color-gold);
  color: var(--color-black);
  border-color: var(--color-gold);
  box-shadow: 0 4px 12px rgba(255, 213, 61, 0.35);
}

.gallery-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1200px) {
  .gallery-grid-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 860px) {
  .gallery-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .gallery-grid-4 {
    grid-template-columns: 1fr;
  }
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  background-color: #111;
  border: 1px solid var(--border-color);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.2) 60%, transparent 100%);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  color: var(--color-white);
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-category-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  background-color: var(--color-gold);
  color: var(--color-black);
  border-radius: var(--radius-sm);
  margin-bottom: 0.5rem;
}

.gallery-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.3;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-color: rgba(0, 0, 0, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.lightbox-modal.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.lightbox-content {
  position: relative;
  max-width: 1000px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  border: 2px solid var(--color-gold);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
}

.lightbox-caption {
  color: var(--color-white);
  margin-top: 1rem;
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.15rem;
}

.lightbox-close, .lightbox-prev, .lightbox-next {
  position: absolute;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 213, 61, 0.4);
  color: var(--color-white);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.25rem;
}

.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
}

.lightbox-prev {
  left: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover {
  background: var(--color-gold);
  color: var(--color-black);
}

/* --- CARTES ÉVÉNEMENTS AVEC AFFICHES 3:4 --- */
.events-timeline {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  justify-content: stretch;
  align-items: stretch;
}

.event-card-poster {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  height: 100%;
  padding: 0;
  background: transparent;
  border-radius: var(--radius-lg);
  border: 0;
  box-shadow: none;
  overflow: hidden;
  transition: var(--transition);
}

.event-card-poster:hover {
  border-color: transparent;
  box-shadow: none;
  transform: none;
}

.event-poster-thumb {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 0;
  box-shadow: none;
  background: #111;
}

.event-poster-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 350ms ease;
}

.event-card-poster:hover .event-poster-thumb img {
  transform: scale(1.06);
}

.events-timeline .event-card-poster:hover > div:last-child .btn {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.event-detail-image {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  border: 2px solid var(--color-gold);
  border-radius: var(--radius-md);
  background: #111;
}

.event-info h3 {
  font-size: 1.3rem;
  min-height: 3.25rem;
  margin-bottom: 0;
  text-align: left;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.events-timeline .event-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.7rem;
  padding: 1.2rem 1.15rem 0.75rem;
}

.events-timeline .event-info .schedule-badge {
  align-self: flex-start;
  margin-bottom: 0 !important;
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.88rem;
  color: #555;
  margin-bottom: 0.75rem;
}

.event-meta span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

/* L'agenda reste lisible : les détails complets sont dans la fiche événement. */
.events-timeline .event-card-poster .event-info > p,
.events-timeline .event-card-poster .event-meta {
  display: none;
}

.events-timeline .event-card-poster > div:last-child {
  display: flex;
  flex-direction: row !important;
  margin-top: auto;
  padding: 0 1.15rem 1.15rem;
  align-items: stretch;
  justify-content: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.events-timeline .event-card-poster > div:last-child .btn {
  flex: 1 1 0;
  height: 42px;
  min-height: 42px;
  white-space: normal;
}

.events-timeline .event-card-poster > div:last-child .btn,
.events-timeline .event-card-poster > div:last-child .btn.btn-gold,
.events-timeline .event-card-poster > div:last-child .btn.btn-outline-gold {
  background: transparent;
  color: var(--color-black);
  border: 1.5px solid var(--color-gold-dark);
  box-shadow: none;
}

.events-timeline .event-card-poster > div:last-child .btn:hover {
  background: var(--color-gold);
  color: var(--color-black);
  border-color: var(--color-gold);
}

.events-timeline .event-card-poster > div:last-child .btn:first-child {
  background: var(--color-gold-light);
  color: var(--color-black);
}

.events-timeline .event-card-poster > div:last-child .btn:last-child {
  background: var(--color-gold);
  color: var(--color-black);
  border-color: var(--color-gold);
  box-shadow: var(--shadow-gold);
}

.events-timeline .event-card-poster > div:last-child .btn:only-child {
  background: var(--color-gold-light);
  color: var(--color-black);
  border-color: var(--color-gold-dark);
  box-shadow: none;
}

.events-timeline .event-card-poster > div:last-child .btn,
.events-timeline .event-card-poster > div:last-child .btn:first-child,
.events-timeline .event-card-poster > div:last-child .btn:last-child,
.events-timeline .event-card-poster > div:last-child .btn:only-child {
  background: var(--color-gold);
  color: var(--color-black);
  border: 0;
  border-color: transparent;
  border-radius: 999px;
  box-shadow: none;
}

.events-timeline .event-card-poster > div:last-child .btn:hover {
  background: var(--color-gold-dark);
  color: var(--color-white);
  border-color: transparent;
}

.events-timeline .event-card-poster:hover > div:last-child .btn,
.events-timeline .event-card-poster:hover > div:last-child .btn:hover {
  background: var(--color-black);
  color: var(--color-white);
  border-color: var(--color-black);
}

.event-meta svg, .event-meta .gold {
  color: var(--color-gold-dark);
}

/* --- RÉTROSPECTIVES & ARTICLES MODAUX --- */
.retrospective-card {
  cursor: pointer;
  transition: var(--transition);
  background: var(--color-white);
}

.retrospective-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-gold);
}

.article-modal {
  position: fixed;
  inset: 0;
  z-index: 2200;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.article-modal.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.article-modal-box {
  background: var(--bg-primary);
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  border: 2px solid var(--color-gold);
  box-shadow: var(--shadow-dark);
  overflow-y: auto;
  position: relative;
  padding: 2.5rem;
}

.article-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: #111;
  color: var(--color-gold);
  border: 1px solid var(--color-gold);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.article-modal-close:hover {
  background: var(--color-gold);
  color: #000;
}

/* --- LECTEURS AUDIO EN ARRIÈRE-PLAN --- */
.audio-playlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.audio-track-card {
  background: var(--color-white);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transition: var(--transition);
  cursor: pointer;
}

.audio-track-card:hover, .audio-track-card.playing {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-md);
  background: var(--bg-secondary);
}

.audio-track-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex: 1;
}

.track-play-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-black);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(255, 213, 61, 0.4);
  transition: var(--transition);
}

.track-play-btn:hover {
  transform: scale(1.08);
  background: var(--color-gold-hover);
}

.audio-track-card.playing .track-play-btn {
  background: var(--color-red);
  color: #fff;
}

.track-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 0.2rem;
}

.track-meta {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.music-track-card {
  display: block;
  overflow: hidden;
  padding: 0;
}

.music-cover {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.music-cover img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.music-track-body {
  padding: 1rem 1.15rem 1.15rem;
}

.music-track-body .audio-track-info {
  align-items: center;
}

.music-track-hint {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.music-empty-state {
  grid-column: 1 / -1;
  padding: 2.5rem 1.5rem;
  text-align: center;
  border: 1px dashed rgba(255, 213, 61, 0.5);
  border-radius: var(--radius-md);
  color: #ddd;
}

.music-empty-icon {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--color-gold);
  font-size: 2rem;
}

.daily-liturgical-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

#daily-liturgical {
  background: #e5d7c0;
  border-top: 1px solid rgba(120, 82, 28, 0.18);
  border-bottom: 1px solid rgba(120, 82, 28, 0.18);
}

#dailyLiturgicalDate {
  color: var(--color-red);
  font-size: 1.15rem;
  font-weight: 700;
}

.daily-liturgical-card {
  padding: 1.75rem;
  background: var(--color-white);
  border-top: 4px solid var(--color-red);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.daily-liturgical-card-gold {
  border-top-color: var(--color-gold);
}

.daily-liturgical-label {
  display: block;
  margin-bottom: 0.45rem;
  color: var(--color-red);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.daily-liturgical-card-gold .daily-liturgical-label {
  color: var(--color-gold-dark);
}

.daily-liturgical-card h3 {
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.daily-liturgical-content ul {
  display: grid;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.daily-liturgical-content li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.9rem;
}

.daily-liturgical-content li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.daily-reading-item {
  margin-bottom: 0.65rem;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.58);
  overflow: hidden;
}

.daily-reading-item summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65rem;
  padding: 0.8rem 0.9rem;
  cursor: pointer;
  list-style: none;
}

.daily-reading-item summary::-webkit-details-marker {
  display: none;
}

.daily-reading-item summary span {
  color: var(--color-red);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.daily-reading-item summary strong {
  color: var(--color-black);
  font-size: 0.82rem;
}

.daily-reading-item summary b {
  color: var(--color-red);
  font-size: 1.1rem;
}

.daily-reading-item[open] summary {
  border-bottom: 1px solid var(--border-color);
}

.daily-reading-text {
  max-height: 290px;
  overflow-y: auto;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.75);
  color: #333;
  font-family: var(--font-serif);
  font-size: 0.92rem;
  line-height: 1.7;
}

.daily-reading-text p {
  margin: 0 0 0.7rem;
}

.daily-reading-text p:last-child {
  margin-bottom: 0;
}

.daily-reading-text sup {
  display: inline-block;
  min-width: 1.15rem;
  color: var(--color-red);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 800;
}

.daily-reading-source {
  display: block;
  margin-top: 0.7rem;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-style: italic;
}

.daily-saints-list {
  display: grid;
  gap: 0.85rem;
}

.daily-saint {
  display: block;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.58);
  overflow: hidden;
}

.daily-saint summary {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.65rem;
  cursor: pointer;
  list-style: none;
}

.daily-saint summary::-webkit-details-marker {
  display: none;
}

.daily-saint summary > span:not(.daily-saint-placeholder) {
  flex: 1;
}

.daily-saint summary b {
  color: var(--color-red);
  font-size: 1.1rem;
}

.daily-saint-story {
  padding: 0.85rem 1rem 1rem;
  border-top: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.75);
  color: #333;
  font-family: var(--font-serif);
  font-size: 0.88rem;
  line-height: 1.65;
}

.daily-saint-story p {
  margin: 0;
}

.daily-saint img {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  border-radius: 50%;
  border: 2px solid var(--color-gold);
  object-fit: cover;
  background: var(--bg-tertiary);
}

.daily-saint-placeholder {
  display: inline-flex;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-gold);
  border-radius: 50%;
  background: var(--bg-tertiary);
  color: var(--color-red);
  font-size: 1.5rem;
}

.daily-saint span {
  color: var(--color-black);
  font-size: 0.88rem;
  line-height: 1.4;
}

.daily-liturgical-content li span,
.daily-liturgical-content li strong {
  color: var(--text-secondary);
}

.daily-liturgical-content li strong {
  color: var(--color-black);
}

.daily-feast-list li strong {
  color: var(--color-red);
  font-size: 0.75rem;
  text-transform: uppercase;
}

.daily-note,
.daily-liturgical-source {
  margin-top: 1rem;
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.55;
}

.daily-liturgical-source {
  text-align: center;
}

.daily-liturgical-source a {
  color: var(--color-red);
  text-decoration: underline;
}

.daily-loading {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.floating-player-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(15, 15, 15, 0.96);
  border-top: 2px solid var(--color-gold);
  color: #fff;
  padding: 0.75rem 1.5rem;
  z-index: 1500;
  backdrop-filter: blur(12px);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
}

.floating-player-bar.active {
  display: flex;
}

/* --- FORMULAIRE CONTACT ET INTENTION (DESIGN ÉLÉGANT & ÉPURÉ) --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 3.5rem;
  align-items: start;
}

.contact-info-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-card {
  padding: 1.5rem;
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.contact-card:hover {
  border-color: var(--color-gold);
  box-shadow: var(--shadow-md);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-gold-light);
  border: 1.5px solid var(--color-gold);
  color: var(--color-gold-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.contact-details h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--color-black);
}

.contact-details p, .contact-details a {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.contact-details a:hover {
  color: var(--color-red);
}

.form-wrapper, .intention-form-wrapper {
  background: var(--color-white);
  padding: 2.5rem 2.75rem;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  color: var(--color-black);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-color);
  background-color: #faf7f0;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--color-gold-dark);
  background-color: var(--color-white);
  box-shadow: 0 0 0 4px rgba(255, 213, 61, 0.25);
}

textarea.form-control {
  resize: vertical;
  min-height: 110px;
}

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

.payment-provider-card {
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1rem 0.75rem;
  text-align: center;
  background: var(--bg-secondary);
}

.payment-provider-card.highlight {
  border-color: var(--color-gold-dark);
  background: var(--color-gold-light);
}

.provider-logo {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.provider-name {
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--color-black);
}

.provider-number {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-red);
  margin-top: 0.25rem;
}

.receipt-upload-zone {
  border: 2px dashed var(--color-gold-dark);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.5rem;
  text-align: center;
  background: var(--bg-tertiary);
  cursor: pointer;
  transition: var(--transition);
}

.receipt-upload-zone:hover {
  background: var(--color-gold-light);
  border-color: var(--color-gold);
}

.receipt-preview-img {
  max-width: 220px;
  max-height: 220px;
  object-fit: contain;
  margin: 1rem auto 0;
  border-radius: var(--radius-sm);
  border: 2px solid var(--color-gold);
  display: none;
}

/* FAQ Accordéon */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border-color);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--color-gold);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.35rem 1.75rem;
  background: transparent;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-black);
  cursor: pointer;
}

.faq-icon {
  font-size: 1.1rem;
  color: var(--color-gold-dark);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.75rem;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 1.75rem 1.5rem;
}

/* Pop-up Modale Centrée de Confirmation */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 2500;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

.modal-box {
  background: var(--bg-primary);
  width: 100%;
  max-width: 600px;
  border-radius: var(--radius-lg);
  border: 2.5px solid var(--color-gold);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  position: relative;
}

/* Toast Notification */
.toast-notification {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #111;
  color: #fff;
  border: 1.5px solid var(--color-gold);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
