/* Styles de base */
body {
    background-color: rgb(0, 0, 0);
    margin: 0;
    font-family: Arial, sans-serif;
}

/* Conteneur englobant (header + haut-page avec dégradé) */
.top-section {
    background: linear-gradient(120deg, rgba(255, 94, 0, 0.8), rgba(255, 165, 0, 0.7), rgba(0, 0, 0, 0.9));
    background-size: 200% 200%;
    animation: gradientAnimation 5s ease infinite;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
    width: 100%;
    overflow: hidden;
}

/* Header */
header {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3;
}

header nav img {
    height: 150px;
    width: auto;
    display: block;
    margin: 0 auto;
}

/* Haut-page */
.haut-page {
    padding: 15px 0;
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
}

.haut-page h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.haut-page h1 {
    font-size: 3rem;
    margin-top: 10px;
}

.text {
    max-width: 1000px;
    margin: 40px auto;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    backdrop-filter: blur(5px);
    box-shadow: 0 0 15px rgb(255, 94, 0);
    color: white;
}

.text h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.text h2 {
    font-size: 2rem;
    margin-top: 30px;
}

.text h3 {
    font-size: 1.2rem;
    color: orange;
}

.text p {
    line-height: 1.6;
    font-size: 1rem;
    margin-bottom: 20px;
}

.text ul {
    list-style: disc;
    padding-left: 40px;
    text-align: left;
}

@media screen and (max-width: 768px) {
    .text {
        padding: 10px;
    }

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

    .text h2 {
        font-size: 1.5rem;
    }

    .haut-page h1 {
        font-size: 2rem;
    }

    .haut-page h2 {
        font-size: 1.2rem;
    }

    header nav img {
        height: 100px;
    }
}

/* Animation fluide */
@keyframes gradientAnimation {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

