/* =====================================================
   Aleya Corporation — CSS Base
   Foundation only (no design)
===================================================== */

/* Reset */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Root */
:root {
    --font-main: 'Montserrat', sans-serif;
}

/* Document */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

/* Body */
body {
    font-family: var(--font-main);
    line-height: 1.5;
    min-height: 100vh;
    background-color: #F5F5F7;
}

/* Text elements */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: inherit;
}

p {
    max-width: 75ch;
}

/* Links */
a {
    text-decoration: none;
    color: inherit;
}

/* Media */
img,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Lists */
ul,
ol {
    list-style: none;
}

/* Forms */
input,
button,
textarea,
select {
    font: inherit;
    border: none;
    outline: none;
    background: none;
}

/* Buttons */
button {
    cursor: pointer;
}

/* Tables */
table {
    border-collapse: collapse;
    width: 100%;
}

/* Accessibility */
:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

/* CONTENU QUI SCROLL */


.top-left-btn {
    position: fixed;
    /* 🔥 reste fixé à l’écran */
    top: 20px;
    left: 20px;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 45px;
    height: 45px;

    background: #222;
    border-radius: 100px;

    z-index: 9999;
    /* passe au-dessus du reste */
}

.top-left-btn img {
    width: 22px;
    height: 22px;
}

.background {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 50vh;
    background-image: url("media/legal.svg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

#section-text1 {
    color: rgb(0, 0, 0);
    text-align: center;
    font-weight: bold;
    margin-top: 7%;
    font-size: 20px;
}

#section-text1-1 {
    color: rgb(0, 0, 0);
    text-align: center;
    align-items: center;
    margin-top: 1%;
    font-size: 10px;
    display: flex;
    margin-bottom: 4%;
    justify-content: center;
}

#section-text2 {
    color: rgb(0, 0, 0);
    text-align: center;
    font-weight: bold;
    margin-top: 7%;
    font-size: 20px;
}

#section-text1-2 {
    color: rgb(0, 0, 0);
    text-align: center;
    align-items: center;
    margin-top: 1%;
    font-size: 10px;
    display: flex;
    margin-bottom: 4%;
    justify-content: center;
}

#section-text3 {
    color: rgb(0, 0, 0);
    text-align: center;
    font-weight: bold;
    margin-top: 7%;
    font-size: 20px;
}

#section-text1-3 {
    color: rgb(0, 0, 0);
    text-align: center;
    align-items: center;
    margin-top: 1%;
    font-size: 10px;
    display: flex;
    margin-bottom: 4%;
    justify-content: center;
}

#section-text4 {
    color: rgb(0, 0, 0);
    text-align: center;
    font-weight: bold;
    margin-top: 7%;
    font-size: 20px;
}

#section-text1-4 {
    color: rgb(0, 0, 0);
    text-align: center;
    align-items: center;
    margin-top: 1%;
    font-size: 10px;
    display: flex;
    margin-bottom: 4%;
    justify-content: center;
}

#section-text5 {
    color: rgb(0, 0, 0);
    text-align: center;
    font-weight: bold;
    margin-top: 7%;
    font-size: 20px;
}

#section-text1-5 {
    color: rgb(0, 0, 0);
    text-align: center;
    align-items: center;
    margin-top: 1%;
    font-size: 10px;
    display: flex;
    margin-bottom: 4%;
    justify-content: center;
}

#section-text6 {
    color: rgb(0, 0, 0);
    text-align: center;
    font-weight: bold;
    margin-top: 7%;
    font-size: 20px;
}

#section-text1-6 {
    color: rgb(0, 0, 0);
    text-align: center;
    align-items: center;
    margin-top: 1%;
    font-size: 10px;
    display: flex;
    margin-bottom: 4%;
    justify-content: center;
}

#section-text7 {
    color: rgb(0, 0, 0);
    text-align: center;
    font-weight: bold;
    margin-top: 7%;
    font-size: 20px;
}

#section-text1-7 {
    color: rgb(0, 0, 0);
    text-align: center;
    align-items: center;
    margin-top: 1%;
    font-size: 10px;
    display: flex;
    margin-bottom: 4%;
    justify-content: center;
}

#section-text8 {
    color: rgb(0, 0, 0);
    text-align: center;
    font-weight: bold;
    margin-top: 7%;
    font-size: 20px;
}

#section-text1-8 {
    color: rgb(0, 0, 0);
    text-align: center;
    align-items: center;
    margin-top: 1%;
    font-size: 10px;
    display: flex;
    margin-bottom: 4%;
    justify-content: center;
}

/* MOBILE */
@media (max-width: 850px) {
    #section-text1 {
        color: rgb(0, 0, 0);
        text-align: center;
        font-weight: bold;
        margin-top: 7%;
        font-size: 20px;
    }

    #section-text1-1 {
        color: rgb(0, 0, 0);
        text-align: center;
        align-items: center;
        margin-top: 3%;
        font-size: 8px;
        display: flex;
        margin-bottom: 4%;
        justify-content: center;
    }

    #section-text2 {
        color: rgb(0, 0, 0);
        text-align: center;
        font-weight: bold;
        margin-top: 7%;
        font-size: 20px;
    }

    #section-text1-2 {
        color: rgb(0, 0, 0);
        text-align: center;
        align-items: center;
        margin-top: 3%;
        font-size: 8px;
        display: flex;
        margin-bottom: 4%;
        justify-content: center;
    }

    #section-text3 {
        color: rgb(0, 0, 0);
        text-align: center;
        font-weight: bold;
        margin-top: 7%;
        font-size: 20px;
    }

    #section-text1-3 {
        color: rgb(0, 0, 0);
        text-align: center;
        align-items: center;
        margin-top: 3%;
        font-size: 8px;
        display: flex;
        margin-bottom: 4%;
        justify-content: center;
    }

    #section-text4 {
        color: rgb(0, 0, 0);
        text-align: center;
        font-weight: bold;
        margin-top: 7%;
        font-size: 20px;
    }

    #section-text1-4 {
        color: rgb(0, 0, 0);
        text-align: center;
        align-items: center;
        margin-top: 3%;
        font-size: 8px;
        display: flex;
        margin-bottom: 4%;
        justify-content: center;
    }

    #section-text5 {
        color: rgb(0, 0, 0);
        text-align: center;
        font-weight: bold;
        margin-top: 7%;
        font-size: 20px;
    }

    #section-text1-5 {
        color: rgb(0, 0, 0);
        text-align: center;
        align-items: center;
        margin-top: 3%;
        font-size: 8px;
        display: flex;
        margin-bottom: 4%;
        justify-content: center;
    }

    #section-text6 {
        color: rgb(0, 0, 0);
        text-align: center;
        font-weight: bold;
        margin-top: 7%;
        font-size: 20px;
    }

    #section-text1-6 {
        color: rgb(0, 0, 0);
        text-align: center;
        align-items: center;
        margin-top: 3%;
        font-size: 8px;
        display: flex;
        margin-bottom: 4%;
        justify-content: center;
    }

    #section-text7 {
        color: rgb(0, 0, 0);
        text-align: center;
        font-weight: bold;
        margin-top: 7%;
        font-size: 20px;
    }

    #section-text1-7 {
        color: rgb(0, 0, 0);
        text-align: center;
        align-items: center;
        margin-top: 3%;
        font-size: 8px;
        display: flex;
        margin-bottom: 4%;
        justify-content: center;
    }

    #section-text8 {
        color: rgb(0, 0, 0);
        text-align: center;
        font-weight: bold;
        margin-top: 7%;
        font-size: 20px;
    }

    #section-text1-8 {
        color: rgb(0, 0, 0);
        text-align: center;
        align-items: center;
        margin-top: 3%;
        font-size: 8px;
        display: flex;
        margin-bottom: 4%;
        justify-content: center;
    }
}

/* FOOTER */
footer {
    background: #222;
    color: white;
    padding: 50px 80px;
    margin-top: 80px;
}

.h4footer {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 20px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.col {
    width: 300px;
    margin-bottom: 30px;
}

.col ul {
    list-style: none;
    margin-top: 10px;
}

.col ul li {
    margin: 5px 0;
}

.socials {
    display: flex;
    justify-content: space-between;
    margin-top: 90px;
    gap: 60px;
}

.socials a {
    display: inline-flex;
    line-height: 0;
    flex-shrink: 0;
    /* empêche la réduction */
}

.socials a {
    display: inline-flex;
    /* évite les décalages */
    line-height: 0;
    /* supprime l’espace fantôme sous l’image */
}

.socials img {
    width: 24px;
    height: 24px;
    display: block;
    /* évite le petit espace en bas */
}

.footer-bottom {
    border-top: 1px solid #444;
    margin-top: 30px;
    padding-top: 50px;
    font-size: 12px;
    justify-content: center;
    display: flex;
    text-align: center;
}

/* MOBILE */
@media (max-width: 650px) {

    footer {
        padding: 35px 20px;
    }

    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .col {
        width: 100%;
        /* une colonne */
    }

    .socials {
        justify-content: center;
        gap: 24px;
        margin-top: 60px;
        margin-bottom: 30px;
    }

    .footer-bottom {
        padding-top: 25px;
        font-size: 11px;
    }

}