@import url('https://fonts.googleapis.com/css?family=Roboto:300,400,700&display=swap');

/* Réinitialisation et styles de base */
body {
  font-family: 'Roboto', Arial, sans-serif;
  font-weight: 300;
  color: #f5f5f5;
  background: #121212;
  margin: 0;
  font-size: 18px;
  line-height: 1.5;
}

/* Liens */
a, a:visited {
  color: #ffcc00;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #fff176;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
}

/* En-tête collant (toujours visible) */
.eglise-header-sticky {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: #4d0026;
  min-height: 160px;
  margin-bottom: 1.1rem;
  box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.3);
  border-bottom-left-radius: 18px;
  border-bottom-right-radius: 18px;
  backdrop-filter: blur(6px);
  transition: box-shadow 0.15s, background 0.18s;
  padding-bottom: 0.4rem;
}

/* Accent circonflexe */
.eglise-accent {
  margin: 0.6rem 0 0.7rem 0;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 120px;
  height: 40px;
}
.accent-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Logo rectangle */
.eglise-logo-rectangle {
  background: transparent;
  border: 3px solid #fff;
  box-shadow: 0 4px 18px rgba(156, 122, 42, 0.1);
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.8rem;
  gap: 12px;
  width: auto;
  min-width: min-content;
  font-size: 24px;
  color: #fff;
  font-weight: 700;
}
.eglise-logo-rectangle img {
  max-height: 70px;
  width: auto;
  display: block;
  flex-shrink: 0;
}

/* Menu principal (toujours visible) */
.eglise-menu-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.eglise-menu {
  border: 3px solid #fff;
  padding: 0.6rem 1.2rem;
  margin-top: 0.4rem;
  z-index: 2;
}
.eglise-menu ul {
  list-style: none;
  display: flex;
  gap: 1.3rem;
  padding: 0;
  margin: 0;
  background: transparent;
  border-radius: 6px;
  box-shadow: 0 1px 8px rgba(232, 202, 86, 0.21);
}
.eglise-menu li a,
.eglise-menu a {
  color: #fff;
  font-weight: 700;
  text-shadow: none;
  font-size: 1.09rem;
  letter-spacing: 0.01em;
  transition: all 0.2s ease;
  padding: 0.22em 0.44em 0.32em;
  border-radius: 0;
  display: inline-block;
  text-decoration: none;
  position: relative;
}
.eglise-menu a:hover,
.eglise-menu a.active {
  color: #fff;
  background: transparent;
}
.eglise-menu a:hover::after,
.eglise-menu a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
}

/* Outils d'accessibilité */
.outil-access {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.7em;
  flex-wrap: wrap;
  background: #0F0F0F;
  box-shadow: 0 2px 10px rgba(190, 173, 98, 0.07);
  padding-top: 0.2px;
  border-radius: 0 0 18px 18px;
  margin: 0 auto 1.3em auto;
  width: 100%;
  transition: box-shadow 0.18s, background 0.18s;
  position: sticky;
  top: 180px;
  z-index: 100;
}
.outil-access button {
  white-space: nowrap;
  background: #2d2d2d;
  color: #f5f5f5;
  border: 1px solid #ffcc00;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
}
.outil-access button:hover {
  background: #ffcc00;
  color: #121212;
}

/* Titre de la bannière */
.page-cover-tittle {
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Sections principales */
.section_gap {
  padding: 60px 0;
}
.prochains-cultes {
  background-color: #1e1e1e;
  color: #121212;
}
.section-title {
  color: #fff;
  margin-bottom: 2rem;
  font-weight: 700;
}

/* Cartes des cultes */
.culte-card {
  background: #1e1e1e;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  margin-bottom: 20px;
  overflow: hidden;
  transition: transform 0.3s;
  color: #f5f5f5;
}
.culte-card:hover {
  transform: translateY(-5px);
}
.card-header {
  padding: 15px;
  color: #fff;
}
.card-header h3 {
  margin: 0;
  font-weight: 700;
}
.card-body {
  padding: 20px;
  color: #f5f5f5;
}
.card-body p {
  margin-bottom: 10px;
}
.card-body strong {
  color: #fff;
}

/* Églises et événements */
.event_post {
  background: #2d2d2d;
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  color: #f5f5f5;
  transition: transform 0.3s;
}
.event_post:hover {
  transform: translateY(-3px);
}
.event_title {
  color: #ffcc00;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.contact_info {
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
}
.contact_info li {
  margin-bottom: 0.5rem;
  color: #f5f5f5;
}
.contact_info strong {
  color: #fff;
}
.read_more {
  display: inline-block;
  background: #ffcc00;
  color: #121212;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}
.read_more:hover {
  background: #fff176;
}

/* Echo Wallon */
.sermons_work_area {
  padding-top: 3rem;
}
.btn_hover {
  display: inline-block;
  background: #ffcc00;
  color: #121212;
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.2s;
}
.btn_hover:hover {
  background: #fff176;
}

/* Histoire wallonne */
.histoire-wallonne {
  background: #2d2d2d;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(183, 163, 86, 0.08);
  padding: 2.4em;
  margin-bottom: 1.5em;
  color: #f5f5f5;
}
.histoire-wallonne .titre-section {
  color: #ffcc00;
  font-weight: 700;
  margin-bottom: 1.1em;
}
.histoire-wallonne .soustitre-section {
  color: #ffcc00;
  font-size: 1.21em;
  font-weight: 600;
  margin: 1.5em 0 0.7em;
  border-left: 3px solid #ffcc00;
  padding-left: 0.6em;
}
.histoire-wallonne p {
  line-height: 1.75;
  margin-bottom: 0.9em;
}
.histoire-wallonne strong {
  color: #fff;
}

/* Pied de page */
.footer-area {
  background: #4d0026;
  color: #fff;
  padding: 4em 1em 2em;
  margin-top: 2em;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  position: relative;
  overflow: hidden;
}
.footer-area > * {
  position: relative;
  z-index: 1;
}
.footer_title {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1em;
  transition: color 0.2s;
}
.footer_title:hover {
  color: #ffcc00;
}

/* Modal */
.modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(30, 33, 41, 0.8);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-content {
  box-shadow: 0 6px 28px rgba(43, 38, 59, 0.18);
  border-radius: 16px;
  background: #2d2d2d;
  color: #f5f5f5;
}
.close {
  background: none;
  border: none;
  font-size: 1.7rem;
  color: #888;
  margin-left: 1em;
  cursor: pointer;
}
.close:hover {
  color: #ff4444;
}

/* Responsive */
@media (max-width: 991px) {
  .histoire-wallonne {
    padding: 1.1em 0.5em;
  }
  .histoire-wallonne .titre-section {
    font-size: 1.45rem;
  }
}
@media (max-width: 768px) {
  .eglise-menu {
    display: none;
    width: 100%;
    margin-top: 0.5rem;
    border: 2px solid #ffcc00;
    text-align: center;
  }
  .eglise-menu ul {
    flex-direction: column;
    gap: 0.7rem;
  }
  .burger {
    display: flex;
  }
  .eglise-menu.active {
    display: block;
  }
  .outil-access {
    flex-direction: column;
    align-items: stretch;
    gap: 7px;
    padding: 8px 6px;
    border-radius: 0 0 10px 10px;
    position: sticky;
    top: 90px;
  }
  .outil-access button {
    font-size: 16px;
    padding: 10px 14px;
    width: 100%;
    margin-bottom: 0.5rem;
  }
  .page-cover-tittle {
    font-size: 20px;
    line-height: 1.2;
  }
}
@media (max-width: 600px) {
  .outil-access {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }
  .outil-access button {
    flex: 1 1 45%;
    min-width: 110px;
    margin: 2px 0;
    padding: 8px 10px;
  }
  .page-cover-tittle {
    font-size: 18px;
    line-height: 1.1;
  }
  .histoire-content {
    flex-direction: column;
  }
  .LeftColumn, .RightColumn {
    width: 100%;
  }
  .RightColumn {
    border-left: none;
    border-top: 3px solid #ffcc00;
    margin-top: 1.5rem;
  }
}

/* Augmenter la taille des icônes cartes prochains cultes */
.culte-card .card-body p i {
  font-size: 22px;
}

/* Harmoniser la largeur de la section Prochains cultes avec le menu */
.prochains-cultes .container {
  max-width: fit-content;
}

/* Cartes avec effets */
.epf-accueil {
  position: relative;
  overflow-x: visible;
}
.epf-accueil,
.epf-accueil * {
  box-sizing: border-box;
}
.epf-hero {
  background-image:
    linear-gradient(0deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .35)),
    var(--hero);
  background-size: cover;
  background-position: center;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 280px;
  padding: 0 16px 48px;
  display: grid;
  place-items: center;
  text-align: center;
  border: none !important;
  box-shadow: none !important;
  outline: 0 !important;
}
.epf-hero h1 {
  margin: 0;
  color: #fff;
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  text-shadow: 0 2px 2px rgba(0, 0, 0, .35);
}
.epf-grid {
  width: min(1200px, 100% - 32px);
  margin: -20px auto 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.epf-card {
  background: #fff;
  border: 1px solid #e57373;
  position: relative;
  box-shadow: 0 10px 20px rgba(0, 0, 0, .08);
  transition: transform .55s ease;
}
.epf-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  background: #f7c6c6;
}
.epf-accueil .epf-card:hover {
  transform: scale(1.15);
}
.epf-thumb {
  position: relative;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: var(--thumb) !important;
  background-size: cover;
  background-position: center;
}
.epf-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .15);
}
.epf-letter {
  position: relative;
  z-index: 1;
  font-weight: 900;
  font-size: 140px;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--lc);
  text-shadow: 0 2px 0 rgba(0, 0, 0, .15);
  transition: transform .35s ease;
}
.epf-body {
  padding: 6px 18px 32px;
  color: #222;
  position: relative;
  z-index: 2;
  background: #fff;
  transition: margin-top .35s ease, padding-top .35s ease;
}
.epf-body h3 {
  margin: 2px 0 8px;
  font-size: 16px;
  line-height: 1.6;
  color: #555;
}
.epf-kicker {
  font-weight: 800;
  color: #222;
}
.epf-more {
  display: block;
  margin: 14px auto 0;
  padding: 10px 18px;
  font-size: 16px;
  background: radial-gradient(circle at 50% 50%,
          #d6c590 0%,
          #d6c590 40%,
          #e3d3a9 75%,
          #efe5c9 100%) !important;
  color: #2a2b25 !important;
  text-align: center;
  border-radius: 4px;
  text-decoration: none;
  border: 1px solid #d1be8a;
}
.epf-more:hover {
  filter: brightness(.9);
}
@media (max-width: 1024px) {
  .epf-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .epf-grid {
    grid-template-columns: 1fr;
  }
  .epf-letter {
    font-size: 110px;
  }
  .epf-thumb {
    height: 90px !important;
  }
}
.epf-hero {
  margin-top: -14px;
}
@media (min-width: 1024px) {
  .epf-hero {
    margin-top: -16px;
  }
}
.epf-accueil .epf-thumb {
  position: relative;
}
.epf-accueil .epf-card:hover .epf-body {
  margin-top: -14px;
  padding-top: 20px;
}
.epf-accueil .epf-card:hover .epf-letter {
  transform: translateY(6px);
}

/* Conteneur principal */
.nous-container {
  display: flex;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 30px 20px;
  font-family: 'Georgia', serif;
}
/* Contenu principal (80%) */
.nous-content {
  width: 80%;
  line-height: 1.7;
  color: #333;
}
.nous-main-title {
  color: #8B4513;
  font-size: 28px;
  margin-bottom: 25px;
  border-bottom: 2px solid #D2B48C;
  padding-bottom: 10px;
}
.nous-section {
  margin-bottom: 35px;
}
.nous-section-title {
  color: #8B4513;
  font-size: 22px;
  margin: 30px 0 15px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #F5DEB3;
}
.nous-text {
  margin-bottom: 15px;
  font-size: 16px;
}
.nous-separator {
  border: none;
  border-top: 1px dashed #A0522D;
  margin: 30px 0;
}
.nous-book-link {
  display: inline-block;
  margin: 20px 0;
  color: #8B4513;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 12px;
  background-color: #FFF8DC;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.nous-book-link:hover {
  background-color: #F5DEB3;
  text-decoration: none;
}
/* Barre latérale (20%) */
.nous-sidebar {
  width: 20%;
  position: sticky;
  top: 30px;
  height: fit-content;
  background-color: #FAF9F6;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #E6E6FA;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.nous-sidebar-title {
  color: #8B4513;
  font-size: 18px;
  margin-top: 0;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid #D2B48C;
  font-weight: 600;
}
.nous-sidebar-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.nous-sidebar-item {
  margin-bottom: 12px;
}
.nous-sidebar-link {
  color: #8B4513;
  text-decoration: none;
  font-size: 15px;
  display: block;
  padding: 6px 10px;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.nous-sidebar-link:hover {
  background-color: #FFF8DC;
  text-decoration: none;
}
.nous-sidebar-link.active {
  background-color: #F5DEB3;
  font-weight: 550;
}
/* Emphase pour les termes importants */
.nous-highlight {
  font-weight: 600;
  color: #A0522D;
}
/* Style pour les citations */
.nous-quote {
  font-style: italic;
  color: #555;
  border-left: 3px solid #D2B48C;
  padding-left: 15px;
  margin: 20px 0;
}
.btn-orange {
  display: inline-block;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  border-radius: 6px;
  text-decoration: none;
  background: linear-gradient(135deg, #FFA500, #FF4500);
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}
.btn-orange:hover {
  background: linear-gradient(135deg, #FFB733, #FF6347);
  transform: translateY(-2px);
  box-shadow: 0 6px 10px rgba(0,0,0,0.25);
}

/* Espace entre l’icône et le texte */
.culte-carte .card-body p i {
  margin-right: 8px;
  vertical-align: middle;
}

/* Pousse Dordrecht et Rotterdam contre la droite */
#dordrecht,
#rotterdam {
  margin-left: auto;
  text-align: right;
}
/* Ajuste l’espace des icônes et labels côté droit */
#dordrecht .card-body p i,
#rotterdam .card-body p i { margin-left: 8px; margin-right: 0; }
#dordrecht .card-body p strong,
#rotterdam .card-body p strong { margin-left: 6px; margin-right: 0; }

/* Bloc séparateur avant le H2 */
#vpcultes {
  margin-top: 24px;
  padding-top: 18px;
}
/* Titre en orange */
#vpcultes .section-title {
  color: #ffcc00;
  margin: 0;
}

/* Place ces variables et règles APRÈS .eglise-logo-rectangle { color:#fff; } */
:root{
  --ewso-red:    #ff0000;
  --ewso-orange: #ffcc00;
}
.eglise-logo-rectangle .logo-texte{
  color: var(--ewso-red);
  font-weight: 700;
  line-height: 1.05;
  display: inline-block;
}
.eglise-logo-rectangle .logo-texte .logo-sous-titre{
  color: var(--ewso-orange);
  font-weight: 700;
  display: inline-block;
}

/* Conteneur principal des cartes */
.newsletter-cards.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
/* Style de chaque carte */
.newsletter-card {
  flex: 1 1 calc(50% - 20px);
  max-width: calc(50% - 20px);
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}
/* Image de la carte */
.newsletter-card .card-media {
  display: block;
}
.newsletter-card .card-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
/* Corps de la carte */
.newsletter-card .card-body {
  padding: 15px;
}
/* Titre de la carte */
.newsletter-card .card-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0 0 10px;
  color: #e63946;
}
/* Texte de la carte */
.newsletter-card .card-excerpt {
  margin: 0 0 15px;
  color: #333;
  line-height: 1.5;
}
/* Bouton "Lire plus" */
.newsletter-card .btn.btn-primary {
  display: inline-block;
  padding: 10px 20px;
  background-color: transparent;
  color: #e63946;
  border: 2px solid #e63946;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  text-align: center;
  transition: background-color 0.3s, color 0.3s;
}
.newsletter-card .btn.btn-primary:hover {
  background-color: #e63946;
  color: white;
}

/* Conteneur principal des cartes */
.newsletter-cards.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
/* Style de chaque carte */
.newsletter-card {
  flex: 1 1 calc(50% - 20px);
  max-width: calc(50% - 20px);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  color: inherit;
}
/* Image de la carte */
.newsletter-card .card-media {
  display: block;
}
.newsletter-card .card-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

/* STYLE POUR ORGANISATION INTERNES */
/* ===== Styles pour les cartes EPF (Organisation Interne) ===== */
.epf-grid {
  width: min(1200px, 100% - 32px);
  margin: 48px auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.epf-card {
  background: inherit;
  border: 1px solid #e57373;
  position: relative;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.55s ease;
  color: inherit;
}
.epf-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  background: #f7c6c6;
}
.epf-card:hover {
  transform: scale(1.15);
}
.epf-thumb {
  position: relative;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: var(--thumb);
  background-size: cover;
  background-position: center;
}
.epf-thumb::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
}
.epf-letter {
  position: relative;
  z-index: 1;
  font-weight: 900;
  font-size: 140px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--lc);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
  transition: transform 0.35s ease;
}
.epf-body {
  padding: 15px 18px 32px;
  color: inherit;
  position: relative;
  z-index: 2;
  background: inherit;
  transition: margin-top 0.35s ease, padding-top 0.35s ease;
}
.epf-body h3 {
  margin: 10px 0 8px;
  font-size: 1.2rem;
  line-height: 1.5;
  color: inherit;
  font-weight: bold;
}
.epf-kicker {
  font-weight: 800;
  color: inherit;
}
.epf-more {
  display: block;
  margin: 14px auto 0;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  background: transparent;
  color: #e63946;
  border: 2px solid #e63946;
  text-align: center;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}
.epf-more:hover {
  background-color: #e63946;
  color: white;
}
@media (max-width: 1024px) {
  .epf-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .epf-grid {
    grid-template-columns: 1fr;
  }
  .epf-letter {
    font-size: 110px;
  }
  .epf-thumb {
    height: 90px;
  }
}
/* Effets au survol */
.epf-card:hover .epf-body {
  margin-top: -14px;
  padding-top: 20px;
}
.epf-card:hover .epf-letter {
  transform: translateY(6px);
}

/* ===== Style unifié pour TOUS les boutons ===== */
.outil-access button,
.epf-more,
.btn-orange,
.read_more,
.btn_hover,
.newsletter-card .btn.btn-primary {
  white-space: nowrap;
  background: #2d2d2d;
  color: #f5f5f5;
  border: 1px solid #ffcc00;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s;
  display: inline-block;
  text-decoration: none;
  text-align: center;
  font-weight: bold;
  margin: 5px 0;
}
/* Effet de survol unifié */
.outil-access button:hover,
.epf-more:hover,
.btn-orange:hover,
.read_more:hover,
.btn_hover:hover,
.newsletter-card .btn.btn-primary:hover {
  background: #ffcc00;
  color: #121212;
  border-color: #ffcc00;
}
/* Adaptation pour les boutons plus larges (ex: .btn-orange) */
.btn-orange {
  padding: 12px 24px;
  font-size: 16px;
}
/* Adaptation pour les boutons dans les cartes newsletter */
.newsletter-card .btn.btn-primary {
  padding: 10px 20px;
  border: 2px solid #e63946;
}
/* Optionnel : Pour les boutons dans les cartes EPF */
.epf-more {
  border: 2px solid #e63946;
}
.epf-more:hover {
  background: #e63946;
  color: white;
  border-color: #e63946;
}

/* HEADER ET FOOTER*/
.eglise-header-sticky {
  background: #3d001e !important;
}

/* ===== FOOTER ===== */
.footer-area {
  background: #330019;
  color: #fff;
  padding: 4em 1em 2em;
  margin-top: 2em;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  position: relative;
  overflow: hidden;
}
/* Liens dans le footer */
.footer-area a,
.footer-area a:visited {
  color: #fff;
  text-decoration: underline;
}
/* Effet de survol des liens */
.footer-area a:hover,
.footer-area a:focus {
  color: #ffcc00;
  text-decoration: none;
  background: transparent;
}
/* Titre du footer */
.footer_title {
  color: #fff;
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 1em;
  transition: color 0.2s;
}
/* Survol du titre */
.footer_title:hover {
  color: #ffcc00;
}
/* Style pour les villes et adresses dans le footer */
.liste-eglises li a .ville {
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  display: block;
  margin-bottom: 3px;
}
.liste-eglises li a .adresse {
  font-size: 0.9rem;
  color: #ccc;
  display: block;
  margin-bottom: 8px;
}
.liste-eglises li a {
  text-decoration: none;
  transition: color 0.2s;
}
.liste-eglises li a:hover {
  color: #ffcc00;
}
.liste-eglises li a:hover .ville {
  color: #ffcc00;
}
.liste-eglises li a:hover .adresse {
  color: #eee;
}

/* Desktop : Dordrecht & Rotterdam à droite */
@media (min-width: 769px) {
  #dordrecht,
  #rotterdam {
    margin-left: auto;
    text-align: right;
  }
  #dordrecht .card-body p i,
  #rotterdam .card-body p i {
    margin-left: 8px;
    margin-right: 0;
  }
  #dordrecht .card-body p strong,
  #rotterdam .card-body p strong {
    margin-left: 6px;
    margin-right: 0;
  }
}

/* Mobile : Réinitialise l'alignement des cartes */
@media (max-width: 768px) {
  #dordrecht,
  #rotterdam {
    margin-left: 0;
    text-align: left;
  }
  #dordrecht .card-body p i,
  #rotterdam .card-body p i {
    margin-left: 8px;
    margin-right: 0;
  }
  #dordrecht .card-body p strong,
  #rotterdam .card-body p strong {
    margin-left: 0;
    margin-right: 0;
  }
  .eglise-menu {
    display: none;
    width: 100%;
    margin-top: 0.5rem;
    border: 2px solid #ffcc00;
    text-align: center;
  }
}

/* Ajustement spécifique pour la section "Notre Histoire" */
.notre-histoire {
  padding: 60px 0;
  background-color: #1e1e1e;
  border-radius: 18px;
  margin: 2rem auto;
  max-width: 1200px;
}
.notre-histoire .section-title {
  color: #ffcc00;
  margin-bottom: 2rem;
  font-size: 2rem;
}
.notre-histoire .row {
  display: flex;
  align-items: center;
}
.notre-histoire .col-md-6 {
  padding: 0 20px;
}
.notre-histoire .col-md-6:first-child {
  order: 1;
}
.notre-histoire .col-md-6:last-child {
  order: 2;
}
.notre-histoire p {
  color: #f5f5f5;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  text-align: justify;
}
.notre-histoire img.img-fluid {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}
.notre-histoire .text-center.text-md-left {
  text-align: left !important;
  margin-top: 2rem;
}
@media (max-width: 767px) {
  .notre-histoire .col-md-6:first-child {
    order: 2;
  }
  .notre-histoire .col-md-6:last-child {
    order: 1;
    margin-bottom: 2rem;
  }
  .notre-histoire img.img-fluid {
    max-width: 300px;
  }
}

/* Conteneur des cartes */
.newsletter-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
  margin: 0 auto;
  padding: 20px;
  box-sizing: border-box;
}
/* Style de chaque carte */
.newsletter-card {
  flex: 1 1 calc(50% - 10px);
  max-width: calc(50% - 10px);
  background: inherit;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  color: inherit;
  box-sizing: border-box;
}
/* Image de la carte */
.newsletter-card .card-media img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
/* Corps de la carte */
.newsletter-card .card-body {
  padding: 15px;
}
/* Titre de la carte */
.newsletter-card .card-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0 0 10px;
  color: #ffcc00;
}
/* Texte de la carte */
.newsletter-card .card-excerpt {
  margin: 0 0 15px;
  color: inherit;
  line-height: 1.5;
}
/* Bouton "Lire plus" */
.newsletter-card .btn.btn-primary {
  display: inline-block;
  padding: 10px 20px;
  background-color: transparent;
  color: #ffcc00;
  border: 2px solid #ffcc00;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  text-align: center;
  transition: background-color 0.3s, color 0.3s;
}
.newsletter-card .btn.btn-primary:hover {
  background-color: #ffcc00;
  color: #121212;
}
@media (max-width: 768px) {
  .newsletter-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}
.il-logo img {
  width: 100%;
  margin: 10px 0;
  border-radius: 8px;
  display: block;
}
.il-logo {
  max-width: 100%;
}

/* Boutons site-wide identiques à l'infolettre */
.btn.btn-primary {
  display: inline-block;
  padding: 10px 20px;
  background: transparent;
  color: #ffcc00;
  border: 2px solid #ffcc00;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
  text-align: center;
  transition: background-color .3s, color .3s, border-color .3s;
}
.btn.btn-primary:hover,
.btn.btn-primary:focus {
  background: #ffcc00;
  color: #121212;
  border-color: #ffcc00;
}
.btn.btn-primary:active {
  background: #e6b800;
  border-color: #e6b800;
  color: #121212;
}
.btn.btn-primary:disabled,
.btn.btn-primary.disabled {
  background: transparent;
  color: rgba(255,204,0,.55);
  border-color: rgba(255,204,0,.55);
}

/* Titres H2 partout en jaune */
:root { --heading-color: #ffcc00; }
h2,
.section-title {
  color: var(--heading-color) !important;
}

/* =========================================================
   1) Mobile : .outil-access sur une seule ligne, icônes seules,
      avec espacement/padding réduits
   ========================================================= */
@media (max-width: 768px) {
  .outil-access {
    flex-direction: row !important;
    flex-wrap: nowrap !important;   /* une seule ligne */
    gap: 4px;                        /* espacement réduit */
    padding: 4px 6px;                /* padding réduit */
    overflow-x: auto;                /* défilement si trop d'icônes */
    -webkit-overflow-scrolling: touch;
  }

  .outil-access button {
    background: transparent !important;  /* pas de rectangle */
    border: 0 !important;
    border-radius: 0 !important;
    padding: 2px !important;             /* plus serré */
    width: 40px;                         /* cible tactile raisonnable */
    height: 40px;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff !important;
    font-size: 0;                        /* masque tout texte éventuel */
  }

  .outil-access button i,
  .outil-access button svg {
    font-size: 20px;                     /* taille d’icône */
    width: 20px;
    height: 20px;
  }

  .outil-access button:hover,
  .outil-access button:focus {
    background: transparent !important;  /* pas de fond au survol */
    color: #ffcc00 !important;           /* juste la couleur d’icône change */
    outline: none;
  }

  /* Si des libellés existent dans les boutons, on les masque sur mobile */
  .outil-access button .label,
  .outil-access button span.label {
    display: none !important;
  }
}

/* =========================================================
   2) Titres : h1 / h2 légèrement réduits (tailles recommandées)
   - Échelle responsive via clamp() pour rester lisible partout
   ========================================================= */
h1 {
  font-size: clamp(1.75rem, 2.5vw + 1rem, 2.25rem); /* ≈ 31.5px → 40.5px avec base 18px */
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h2,
.section-title {
  font-size: clamp(1.35rem, 1.6vw + 0.9rem, 1.8rem); /* ≈ 24.3px → 32.4px */
  line-height: 1.3;
  margin: 0 0 0.8em;
}


/* =======================
   Mobile : Burger lisible
   ======================= */
@media (max-width: 768px) {
  .burger {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    /* cible confortable + contraste */
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid #ffcc00;
    background: rgba(255, 204, 0, 0.12);
    color: #ffcc00;

    /* au-dessus de .outil-access */
    position: relative;
    z-index: 200;

    /* petite ombre pour se détacher du fond sombre */
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.35));
  }

  /* Si le burger est une icône (FontAwesome/Bootstrap Icons) */
  .burger i {
    font-size: 22px;
    line-height: 1;
    color: inherit;
  }

  /* Si le burger est fait de 3 barres <span class="bar"> */
  .burger .bar {
    display: block;
    width: 22px;
    height: 3px;
    margin: 3px 0;
    border-radius: 2px;
    background: currentColor; /* reprend #ffcc00 */
  }

  .burger:hover,
  .burger:focus {
    background: #ffcc00;
    color: #121212;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255,204,0,.25);
  }

  /* Optionnel : état "ouvert" si tu ajoutes .is-open au bouton */
  .burger.is-open .bar:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .burger.is-open .bar:nth-child(2) { opacity: 0; }
  .burger.is-open .bar:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  @media (prefers-reduced-motion: reduce) {
    .burger.is-open .bar { transition: none; }
  }
}


/* ===========================
   Mobile : Burger avec liseré blanc
   =========================== */
@media (max-width: 768px) {
  .burger {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;
    border: 3px solid #fff;        /* même trait blanc que le logo */
    border-radius: 10px;
    background: transparent;       /* pas de fond */
    color: #fff;                    /* icône / barres blanches */

    position: relative;
    z-index: 200;                   /* au-dessus de .outil-access */
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.35));
  }

  /* Si c’est une icône (fa/bi/…): */
  .burger i {
    font-size: 22px;
    line-height: 1;
    color: inherit;
  }

  /* Si c’est 3 barres <span class="bar">: */
  .burger .bar {
    display: block;
    width: 22px;
    height: 3px;
    margin: 3px 0;
    border-radius: 2px;
    background: currentColor;      /* blanc */
  }

  .burger:hover,
  .burger:focus {
    background: transparent;       /* reste transparent */
    box-shadow: 0 0 0 3px rgba(255,255,255,.25); /* halo discret */
    outline: none;
  }
}


/* ===========================
   Mobile : Burger liseré blanc + 3 barres internes
   =========================== */
@media (max-width: 768px) {
  .burger {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;
    border: 3px solid #fff;     /* trait blanc comme le logo */
    border-radius: 10px;
    background: transparent;    /* pas de fond */
    color: #fff;                 /* sert pour les barres */
    position: relative;
    z-index: 200;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.35));
  }

  /* 3 barres blanches sans modifier le HTML */
  .burger::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 22px;                /* longueur des barres */
    height: 2px;                /* épaisseur */
    background: currentColor;   /* blanc */
    border-radius: 2px;
    transform: translate(-50%, -50%);
    /* deux barres supplémentaires via ombres */
    box-shadow: 0 -6px 0 currentColor, 0 6px 0 currentColor;
  }

  /* Si une icône existe dans le bouton, on la masque pour éviter le doublon */
  .burger i,
  .burger svg { display: none !important; }

  .burger:hover,
  .burger:focus {
    background: transparent;
    box-shadow: 0 0 0 3px rgba(255,255,255,.25);
    outline: none;
  }
}

