* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: "Arial", sans-serif;
}

body {
    background-color: #F4F4F4;
}

header {
    position: relative;
    text-align: center;
}

header img {
    width: 100%;
    height: auto;
}

header::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: Georgia, serif;
    font-size: 50px;
    font-weight: bold;
    line-height: 60px;
    letter-spacing: 10%;
    color: white;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.menu {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 3;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
}

.menu .logo {
    height: 50px;
    width: 60px;
}

.menu ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 16px;
    flex-grow: 1;
    justify-content: center;
}

.menu li {
    margin: 0 10px;
}

.menu a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    padding: 8px 16px;
    font-size: 18px;
    display: inline-block;
    border-radius: 4px;
}

.menu a:hover {
    background-color: rgba(102, 36, 131, 1);
}

.menu .login-button {
    color: rgb(0, 0, 0);
    background-color: rgba(102, 36, 131, 0.8);
    padding: 8px 16px;
    font-size: 18px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.menu .login-button:hover {
    background-color: rgba(102, 36, 131, 1);
}

.menu-opaque {
    background-color: rgba(0, 0, 0, 0.8);
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5);
}

.menu-opaque-texte a {
    color: white;
}

.menu-login-button {
    color: white;
}

main {
    margin: 100px 30px 30px;
}

h2 {
    font-family: "Playfair Display", sans-serif;
    font-size: 40px;
    font-weight: 500;
    line-height: 40px;
    letter-spacing: 410%;
    color: #2D2E83;
    text-align: center;
}

.sep1 {
    border: none;
    height: 1px;
    background-color: #000000;
    margin: 50px auto;
    width: 25%;
}

.texte1 {
    padding: 20px;
    margin: 50px auto;
    width: 500px;
    text-align: center;
    min-height: 200px;
    color: #555;
}

section {
    margin: 300px 0; /* Augmente l'espace vertical entre les sections */
}

section p {
    font-family: "Century Gothic", sans-serif;
    font-size: 20px;
    font-weight: 500;
    line-height: 40px;
    letter-spacing: 15%;
}

.image1 {
    width: 100%;
    height: 500px;
    object-fit: cover;
    margin: 50px 0 0;
}

.statistiques {
    margin: 300px 0;
    position: relative;
    height: 300px; /* Hauteur réduite pour l'image */
    overflow: hidden;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.overlay-statistiques {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 46, 131, 0.75); /* Couleur avec opacité */
    z-index: 2; /* Superposition au-dessus de l'image */
    pointer-events: none; /* Si nécessaire pour éviter de bloquer les clics */
}

.stats-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: space-evenly; /* Espacement égal entre les éléments */
    align-items: center; /* Aligne verticalement au centre */
    width: 100%; /* Contrôle la largeur occupée */
    z-index: 3;
}

.stat {
    text-align: center;
    color: white; /* Texte en blanc */
    font-family: "Arial", sans-serif;
}

.counter {
    font-size: 48px; /* Taille des chiffres */
    font-weight: bold;
    margin-bottom: 10px;
    color: white; /* Chiffres en blanc */
}

.stat p {
    font-size: 18px; /* Taille du texte sous les chiffres */
    font-weight: 500;
    margin: 0;
    color: white; /* Texte sous les chiffres en blanc */
}




.carousel {
    margin-top: 50px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 400px;
}

.carousel-inner {
    position: relative;
    display: flex;
    justify-content: center;
    width: 100%;
}

.elem-carousel {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0 10px;
    border-radius: 10px;
}

.elem-carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.elem-carousel:hover img {
    transform: scale(1.05);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 1.2em;
    font-family: 'Epilogue', sans-serif;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 10px;
}

.elem-carousel:hover .overlay {
    opacity: 1;
}

.elem-carousel .overlay p {
    z-index: 2;
}

.slick-slide {
    transition: transform 0.3s ease;
}

.slick-slide:hover {
    transform: scale(1.05);
}

.about-section {
    background-color: #f4f4f4; /* Couleur de fond légère */
    padding: 40px 20px;
    display: flex;
    justify-content: center; /* Centrer horizontalement */
    align-items: center; /* Centrer verticalement */
    height: 100vh; /* Hauteur de la section pour un alignement vertical centré */
}

.about-content {
    text-align: center; /* Centrer le texte */
    width: 400px; /* Limiter la largeur à 300px */
}

.about-content h2 {
    margin-bottom: 50px;
}

.about-content p {
    font-family: 'Century Gothic', sans-serif; /* Application de la police Century Gothic */
    font-size: 20px; /* Taille de police de 20px */
    line-height: 40px; /* Interlignage de 40px */
    letter-spacing: 0.1em; /* Interlettrage de 15% de la taille de la police, soit 0.15em */
    color: #555;
    margin-bottom: 50px;
    width: 100%;
}

.btn-primary {
    display: inline-block;
    background-color: #2D2E83; /* Couleur principale, identique au bouton "se connecter" */
    color: white;
    text-decoration: none;
    padding: 15px 50px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s ease;
    width: 60%; /* Le bouton prend toute la largeur du bloc */
    box-sizing: border-box; /* Assurer que le padding soit inclus dans la largeur */
}

.btn-primary:hover {
    background-color: #171955; 
}

.sep2 {
    border-top: 2px solid #000000; 
    width: 100%; 
    margin: 20px auto;
    margin-top: 65px;
}

.actualites {
    text-align: center;
    padding: 40px 0;
}

.actualitesh2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.one-time {
    position: relative; /* Position relative pour le positionnement absolu des flèches */
    width: 80%; /* Largeur du carrousel */
    margin: 0 auto; /* Centrer le carrousel */
}

.one-time img {
    width: 80%;
    height: auto; 
    max-width: 600px; 
    margin: 0 auto; 
}


.slick-prev, .slick-next {
    font-size: 0; /* Masquer le texte */
    width: 40px; /* Largeur des flèches */
    height: 40px; /* Hauteur des flèches */
    border-radius: 50%; /* Rendre les flèches rondes */
    background-color: rgba(0, 0, 0, 0.5); /* Couleur de fond */
    color: white; /* Couleur des flèches */
    border: none; /* Pas de bordure */
    outline: none; /* Pas de contour */
    display: flex; /* Centrer le contenu */
    justify-content: center; /* Centrer horizontalement */
    align-items: center; /* Centrer verticalement */
    position: absolute; /* Positionner par rapport au conteneur parent */
    z-index: 10; /

}


.slick-prev {
    left: 10px; 
    bottom: 10px; 
}

.slick-next {
    right: 10px; 
    bottom: 10px; 
}


.btn-en-savoir-plus {
    display: inline-block;
    background-color: #2D2E83; 
    color: white;
    text-decoration: none;
    padding: 15px 50px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    text-align: center;
    transition: background-color 0.3s ease;
    width: 20%; /* Le bouton prend toute la largeur du bloc */
    box-sizing: border-box;
    margin-top: 50px;
}

.btn-en-savoir-plus:hover {
    background-color: #171955; 
}


.footer {
    background-color: #333333;
    color: white;
    display: flex;
    flex-direction: column;
    padding: 20px 50px;
    border-top: 5px solid rgba(102, 36, 131, 0.8);
}

.footer-content {
    display: flex;
    justify-content: space-between; /* Distribution des sections */
    align-items: center;
    gap: 20px; /* Espacement entre les sections */
    flex-wrap: wrap; /* Empile les éléments si la largeur est réduite */
}

.footer-section {
    text-align: center;
    flex: 1; /* Les sections prennent chacune un espace égal */
}

.logo-section {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 10px 0;
}

.logo-section img {
    max-height: 100px; /* Ajuste la taille du logo */
}

.footer-section p {
    margin: 10px 0;
    font-size: 14px;
    line-height: 20px;
}

.pole-general, .pole-techno {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 500; 
    line-height: 1.4;
    text-align: center;
}

.footer-section a {
    color: white;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    font-size: 12px;
    margin-top: 20px;
}
