/* Styles généraux et accessibilité */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #1a2530; /* Bleu nuit très foncé pour un fort contraste */
    background-color: #f4f7f9; /* Fond gris-bleu pastel très doux */
    margin: 0;
    padding: 0;
    font-size: 18px; /* Écrit plus gros pour le confort visuel */
}

/* Conteneur principal centré */
.container {
    max-width: 950px;
    margin: 0 auto;
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0,0,0,0.05);
}

/* En-tête avec votre bandeau */
header {
    width: 100%;
    background-color: #e3f2fd; /* Bleu pastel en attente du chargement de l'image */
}

header img {
    width: 100%;
    height: auto;
    max-width: 950px;
    display: block;
}

/* Menu de navigation */
nav {
    background-color: #3a6073; /* Bleu moyen pour bien détacher le menu */
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

nav li {
    flex: 1;
    min-width: 120px;
    text-align: center;
}

nav a {
    display: block;
    padding: 15px 10px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: background 0.3s;
}

nav a:hover, nav a.active {
    background-color: #2a4858; /* Couleur au survol */
}

/* Zone de contenu principal */
main {
    padding: 30px;
}

h1 {
    color: #2c3e50;
    border-bottom: 2px solid #cbdcf0;
    padding-bottom: 10px;
}

/* Pied de page */
footer {
    background-color: #eef2f5;
    text-align: center;
    padding: 20px;
    font-size: 15px;
    color: #555;
    border-top: 1px solid #dce4ec;
}

/* Adaptation automatique pour les GSM (Smartphones) */
@media (max-width: 768px) {
    body {
        font-size: 17px;
    }
    nav ul {
        flex-direction: column;
    }
    nav a {
        padding: 12px;
        border-bottom: 1px solid #4a7083;
    }
    main {
        padding: 15px;
    }
}
/* Styles spécifiques pour la page Contacts */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 40px;
}

.member-card {
    background-color: #ffffff;
    border: 1px solid #e3f2fd;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.member-card h3 {
    margin-top: 0;
    color: #2a4858;
    border-bottom: 1px solid #cbdcf0;
    padding-bottom: 5px;
    font-size: 1.1em;
}

.member-card p {
    margin: 8px 0;
    font-size: 0.95em;
}

.footnote {
    font-size: 0.85em;
    color: #666;
    font-style: italic;
    margin-top: 20px;
}

/* Styles spécifiques pour la page Horaires */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 35px 0;
    font-size: 0.95em;
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

.schedule-table th {
    background-color: #3a6073;
    color: white;
    text-align: left;
    padding: 12px 15px;
    font-weight: bold;
}

.schedule-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #cbdcf0;
}

.schedule-table tr:nth-child(even) {
    background-color: #f8fbc030; /* Légère alternance de couleur pastel pour la lecture */
    background-color: rgba(227, 242, 253, 0.2);
}

/* Zone d'alerte ou d'information importante (comme les Funérailles) */
.info-box {
    background-color: #fff9e6; /* Jaune pastel très doux */
    border-left: 4px solid #f39c12;
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
}

.info-box h3 {
    margin-top: 0;
    color: #b7791f;
}

/* Adaptation des tableaux sur GSM */
@media (max-width: 600px) {
    .schedule-table th, .schedule-table td {
        padding: 10px;
        font-size: 0.9em;
    }
}

