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

a {
    text-decoration: none;
    color: inherit;
}

li {
    list-style: none;
}

button {
    cursor: pointer;
}


/* --- POLICE ET TAILLES DE BASE (MOBILE-FIRST) --- */

body {
    min-height: 100vh;
    font-family:
        system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

    font-size: 1rem;
    font-weight: 400;
    /* line-height: 1.6; */
    color: black;
}

h1 {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.1;
}

h2 {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.2;
}

h3 {
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.3;
}


@media (min-width: 66rem) {

    body {
        font-size: 1.125rem;
        line-height: 1.7;
    }

    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }
}

/* --- END POLICE ET TAILLES DE BASE (MOBILE-FIRST) --- */


/* --- HEADER (MOBILE-FIRST) --- */

.h1 {
    --h1-clr1: black;
    --h1-clr2: white;
    --h1-clr3: #c6c6c6;
    --h1-clr4: #151725;
    --h1-clr5: rgb(0, 255, 25);
    --h1-clr6: rgba(255, 255, 255, 0.75);
    --h1-clr7: #7f859c;

    background-color: var(--h1-clr4);
    border-bottom: 1px solid var(--h1-clr7);

    position: sticky;
    top: 0;
}

.h1-r1 {
    width: 90%;
    max-width: 80rem;
    margin-inline: auto;

    padding: 0;
    padding-bottom: 1rem;
}

.h1-r1-b1 {
    display: grid;
    grid-template-areas: "a b"
        "c d"
        "e e";
}

.h1-r1-b1--a-c1 {
    grid-area: a;
    justify-self: start;

    font-size: 1.5rem;
    font-weight: 400;
    color: var(--h1-clr2);
    letter-spacing: .5px;

    height: 3rem;

    align-content: center;
}

.h1-r1-b1--spn-c1 {
    color: var(--h1-clr5);
}

.h1-r1-b1--a-c2 {
    grid-area: b;
    justify-self: end;

    font-size: 1rem;
    font-weight: 400;
    color: var(--h1-clr2);
    /* letter-spacing: .5px; */

    height: 3rem;
    align-content: center;

    text-decoration: underline;
    text-decoration-color: var(--h1-clr5);
    text-underline-offset: 7px;
}

/*  */
.h1-r1-b1--btn-c1 {
    grid-area: d;
    justify-self: right;

    font-size: 1rem;
    letter-spacing: 1px;
    font-weight: 500;
    color: var(--h1-clr2);
    padding: 0 0.5rem;
    text-transform: capitalize;

    background-color: transparent;

    height: 2.75rem;
    min-width: 3rem;

    /*  */
    text-decoration: underline;
    text-decoration-color: var(--h1-clr5);
    text-decoration-thickness: 2px;
    text-underline-offset: 7px;
    /*  */
}

.h1-r1-b1--btn-c10 {
    border-radius: 5px;
    border: 1px solid var(--h1-clr3);
}

.h1-r1-b1--nav-c1 {
    grid-area: e;
    display: none;
}

.h1-r1-b1--nav-c10 {
    display: block;
    margin-top: 1rem;
}

.h1-r1-b1--ul-c1 {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: start;
    /* gap: 1rem; */
    justify-self: center;
}

.h1-r1-b1--a-c3 {
    font-size: 1rem;
    letter-spacing: 1px;
    color: var(--h1-clr2);

    height: 2.75rem;
    display: block;
    align-content: center;

    position: relative;
}

.h1-r1-b1--spn-c2 {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 0;
    border-bottom: 1px solid var(--h1-clr2);
    transition: width .3s;
}

.h1-r1-b1--a-c3:hover .h1-r1-b1--spn-c2 {
    width: 100%;
}

.h1-r1-b1--a-c4 {
    border-bottom: 2px solid var(--h1-clr5);
    color: var(--h1-clr5);
}

.h1-r1-b1--div-c3 {
    grid-area: c;
    justify-self: left;

    display: flex;
}

.h1-r1-b1--spn-c4 {
    /* font-size: 1rem; */
    text-transform: capitalize;
    letter-spacing: 1px;
    color: var(--h1-clr2);

    height: 2.75rem;

    display: inline-flex;
    align-items: center;
}

.h1-r1-b1--a-c7 {
    text-transform: capitalize;
    letter-spacing: 1px;
    color: var(--h1-clr6);

    height: 2.75rem;
    min-width: 3rem;

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

.h1-r1-b1--a-c7:hover {
    text-decoration: underline;
    text-decoration-color: var(--h1-clr5);
    text-decoration-thickness: 2px;
    text-underline-offset: 7px;
}

@media (min-width: 72rem) {

    .h1-r1 {
        padding-top: 1rem;
    }

    .h1-r1-b1--a-c1 {
        font-size: 2rem;
        letter-spacing: 1px;
    }

    .h1-r1-b1--a-c2 {
        letter-spacing: .5px;
    }

    .h1-r1-b1--a-c3 {
        font-size: 1.125rem;
    }

    .h1-r1-b1--btn-c1 {
        display: none;
    }

    .h1-r1-b1--nav-c1 {
        display: block;
        /* background-color: red; */
        grid-area: d;
        /* margin-top: 1rem; */
        justify-self: right;
    }

    .h1-r1-b1--ul-c1 {
        display: grid;
        grid-template-columns: repeat(7, max-content);
        gap: 2rem;
    }

    /* meag menu */
    /* .h1-r1-b1--div-c1 {
        position: absolute;
        padding-top: 0;
        padding-left: 0;
        display: none;
    } */

    /* .h1-r1-b1--li-c1:hover .h1-r1-b1--div-c1 {
        display: block;
    } */

    /* .h1-r1-b1--div-c2 {
        padding: 1rem;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        border: 1px solid var(--h1-clr3);
        border-radius: 5px;

        margin-bottom: 0;
    } */
    /* end megamenu */
}

/* --- END HEADER (MOBILE-FIRST) --- */

/* --- FOOTER (MOBILE-FIRST) --- */

.f1 {
    --f1-clr1: black;
    --f1-clr2: white;
    --f1-clr3: #c6c6c6;
    --f1-clr4: #151725;

    background-color: var(--f1-clr4);

    padding: 1rem 0;
}

.f1-r1 {
    width: 90%;
    max-width: 80rem;
    margin-inline: auto;
}

.f1-r1-b1 {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 1rem;
}

.f1-r1-b1--p-c1 {
    text-align: center;
    /* font-size: 1rem; */
    letter-spacing: 0.5px;
    color: var(--f1-clr2);
}

.f1-r1-b1--a-c1 {
    color: var(--f1-clr2);
    padding: 0 .1rem;
    /* font-size: 1rem; */
    letter-spacing: 0.5px;
}

.f1-r1-b1--a-c1:hover {
    color: var(--f1-clr2);
    border-bottom: 1px solid var(--f1-clr3);
}

@media (min-width: 48rem) {

    .f1-r1-b1 {
        grid-template-columns: max-content max-content;
        justify-content: space-between;
    }
}

/* --- END FOOTER (MOBILE-FIRST) --- */