/* Réinitialisation des styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Corps */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8f8f8;
    color: #333;
    line-height: 1.6;
}

/* En-tête */


/* Bouton hamburger (par défaut masqué) */
.hamburger {
    display: none; /* Ne s'affiche que sur les petits écrans */
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #002654; /* Bleu */
    color: white;
    position: relative;
    z-index: 100;
}

header img {
    height: 50px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 15px;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    font-weight: 600;
    transition: background-color 0.3s;
}

nav ul li a:hover {
    background-color: #FFD700; /* Or */
    border-radius: 5px;
}

.cta-button {
    background-color: #FFD700; /* Or */
    color: #002654;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: background-color 0.3s, transform 0.3s;
}

.cta-button:hover {
    background-color: #B11313; /* Rouge */
    color: white;
    transform: scale(1.05);
}

/* Section CGU */
.cgu-section {
    max-width: 900px;
    margin: 50px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.cgu-section h1 {
    text-align: center;
    font-size: 2rem;
    color: #002654; /* Bleu foncé */
    margin-bottom: 20px;
}

.cgu-section p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
}

.cgu-section h2 {
    font-size: 1.5rem;
    color: #002654; /* Bleu foncé */
    margin-bottom: 10px;
}

.cgu-section ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.cgu-section ul li {
    margin-bottom: 10px;
    color: #555;
}

/* Pied de page */
footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap; /* Permet de gérer le responsive */
}

.footer-section {
    flex: 1;
    padding: 0 20px;
    min-width: 200px; /* Assure une taille minimale pour les sections */
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #FFD700; /* Or */
}

.footer-section p,
.footer-section ul,
.footer-section a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    margin-bottom: 10px;
}

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

.footer-section ul li {
    margin-bottom: 5px;
}

.footer-section ul li a:hover {
    color: #FFD700;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.social-icons a img {
    transition: transform 0.3s;
}

.social-icons a img:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-section {
        padding: 10px 0;
    }
}

/* Section Mentions légales */
.legal-section {
    max-width: 900px;
    margin: 50px auto;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.legal-section h1 {
    text-align: center;
    font-size: 2rem;
    color: #002654; /* Bleu foncé */
    margin-bottom: 20px;
}

.legal-section p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 20px;
}

.legal-section h2 {
    font-size: 1.5rem;
    color: #002654; /* Bleu foncé */
    margin-bottom: 10px;
}

.legal-section ul {
    list-style-type: disc;
    padding-left: 20px;
    margin-bottom: 20px;
}

.legal-section ul li {
    margin-bottom: 10px;
    color: #555;
}


footer {
    background-color: #333;
    color: white;
    padding: 20px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap; /* Permet de gérer le responsive */
}

.footer-section {
    flex: 1;
    padding: 0 20px;
    min-width: 200px; /* Assure une taille minimale pour les sections */
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #FFD700; /* Or */
}

.footer-section p,
.footer-section ul,
.footer-section a {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    margin-bottom: 10px;
}

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

.footer-section ul li {
    margin-bottom: 5px;
}

.footer-section ul li a:hover {
    color: #FFD700;
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.social-icons a img {
    transition: transform 0.3s;
}

.social-icons a img:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .footer-content {
        display: flex;
        flex-direction: column;
        justify-content: center; /* Centre verticalement */
        align-items: center; /* Centre horizontalement */
        text-align: center; /* Centre le texte */
    }

    .footer-section {
        padding: 10px 0;
        text-align: center; /* Assure que chaque section a son texte centré */
    }

    .footer-section ul {
        list-style: none; /* Supprime les puces des listes */
        padding: 0;
    }

    .footer-section ul li {
        margin: 5px 0; /* Ajoute un peu d'espacement entre les éléments de la liste */
    }

    .social-icons {
        display: flex;
        justify-content: center; /* Centre les icônes socialement */
        gap: 15px;
        margin-bottom: 10px;
    }

    .social-icons a img {
        width: 30px; /* Ajuste la taille des icônes si nécessaire */
        height: 30px;
    }
}
/* Responsive pour les petits écrans */
@media (max-width: 768px) {
    nav ul {
        display: none; /* Cache le menu classique */
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 20px;
        background-color: #002654;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
        max-height: calc(100vh - 90px); /* Limite la hauteur pour s'adapter à l'écran */
        overflow-y: auto; /* Active le défilement si nécessaire */
        z-index: 1000; /* Assure que le menu reste au-dessus d'autres éléments */
    }

    nav ul.active {
        display: flex; /* Affiche le menu lorsqu'il est activé */
    }

    .hamburger {
        display: block; /* Affiche le bouton hamburger */
    }

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

    nav ul li a {
        color: white;
        text-decoration: none;
        font-weight: 600;
        padding: 10px;
        border-radius: 5px;
        text-align: center;
        display: block;
        transition: background-color 0.3s;
    }

    nav ul li a:hover {
        background-color: #FFD700; /* Or */
    }
}
