/* Reset + Police */
body {
    margin: 0;
    font-family: Helvetica, Arial, sans-serif;
    background-color: #ffffff;
    color: #111111;
    line-height: 1.6;
}

/* HERO */
.hero {
    position: relative;
    height: 40vh;
    background: url("./en_tete.webp") no-repeat center center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
}

.hero-copyright {
    position: absolute;
    bottom: 10px;
    right: 15px;
    font-size: 0.9rem;
    color: #fff;
    opacity: 0.8;
    z-index: 2;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4); /* voile sombre */
}

.hero-overlay {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 0;
}

/* Contenu */
.content {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: justify;
}

h2 {
    font-size: 1.6rem;
    color: #111;
    border-left: 6px solid #FFD600;
    padding-left: 10px;
    margin-top: 40px;
    font-weight: bold;
}

/* Liens */
a {
    color: #0000FF;
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: #FFD600;
}

/* Boutons réseaux sociaux */
.social-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 20px 0;
}

.social-buttons .button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #FFD600;
    color: #111;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-align: center;
}

.social-buttons .button:hover {
    background-color: #111;
    color: #FFD600;
}

/* Modale Telegram */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background-color: #fff;
    padding: 20px 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
}

.modal .close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
}

/* FOOTER */
.footer {
    width: 100%;
    background-color: #FFD600;
    color: #000000; /* texte noir */
    font-family: helvetica, sans-serif;
    box-sizing: border-box;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.footer-section {
    flex: 1 1 200px;
}

.footer-section h4 {
    margin-bottom: 10px;
    font-size: 18px;
    font-weight: bold;
}

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

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Responsive : s’adapte aux écrans plus petits */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero {
        height: 25vh;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .content {
        margin: 20px;
    }

    h2 {
        font-size: 1.3rem;
    }
}
