/* ========== EN-TÊTE ========== */
header {
    background: #4CAF50; /* Vert */
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

header h1 {
    margin-bottom: 15px;
    font-size: 1.8rem;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.3s;
}

nav ul li a:hover {
    opacity: 0.8;
}

/* ========== PIED DE PAGE ========== */
footer {
    background: #333;
    color: #fff;
    padding: 40px 0 20px;
    margin-top: 50px;
}

footer .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

footer h4 {
    color: #4CAF50;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

footer ul {
    list-style: none;
    padding: 0;
}

footer ul li {
    margin-bottom: 10px;
}

footer a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #4CAF50;
}

.footer-copyright {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #555;
    grid-column: 1 / -1;
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 1.5rem;
    }
    
    nav ul {
        gap: 10px;
    }
}
/* Ajout des styles pour les sections cours et assistance */
.cours-section, .assistance-section {
    background: #f4f4f4;
    padding: 25px;
    margin: 25px 0;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.cours-section h3, .assistance-section h3 {
    margin-bottom: 15px;
    color: #4CAF50;
    font-size: 1.3em;
}

.cours-section ul, .assistance-section ul {
    list-style-type: disc;
    margin-left: 20px;
    line-height: 1.6;
}

.cours-section ul li, .assistance-section ul li {
    margin-bottom: 8px;
}

/* Amélioration du footer */
footer {
    background: #333;
    color: #fff; /* Texte en blanc */
    padding: 40px 0 20px;
    margin-top: 50px;
}

footer a {
    color: #fff; /* Liens en blanc */
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: #4CAF50; /* Effet hover vert */
}
.image-banner {
    text-align: center;
    background-color: #f9f9f9; /* facultatif : arrière-plan neutre */
    padding: 20px 0;
}

.image-banner img {
    width: 100%;       /* occupe toute la largeur de l'écran */
    height: auto;     /* hauteur forcée : adapte selon ton besoin */
    object-fit: fill;  /* étire l'image pour remplir sans respecter les proportions */
    display: block;
}
body {
    background-image: url("index.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.apropos-section {
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5); /* Améliore la lisibilité sur fond clair */
}