:root {
    --premium-color: #ff8c03; /* orange */
    --background-white: #FFFFFF; /* gris très clair */
    --background-sweet-white: #F9FAFB; /* gris très clair */
    --background-sweet-orange: #fdf5ea; /* orange très clair */
    --background-sweet-grey: #F9FAFB; /* gris très clair */
    --content-width: 70%;
    --menu-header-height: 90px;
}
/*  APPLICATION    */
@font-face {
    font-family: 'Roboto';
    src: url('./fonts/roboto.ttf') format('truetype'); /* Chemin relatif au fichier CSS */
    font-weight: normal;
    font-style: normal;
}


html, body {
    background-color: rgb(250,250,250);
    display: flex;
    flex-direction: column;
    align-content: center;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    height: auto;
    margin: 0;
    min-height: 100vh;
    padding: 0;
    color: black;
    scroll-behavior: smooth; /* Active le scroll fluide */
    /* MEDIA QUERY SIZES */
    --phone-width: 480px;
}

body {
    /* MEDIA QUERY SIZES */
    --phone-width: 480px;
}

.svg-common {
    height: 16px;
}

* {
    box-sizing: border-box;
    --background-dark: #333;
}


body {
    padding-top: var(--menu-header-height); /* Pour éviter que le contenu soit caché sous la nav */
}

main {
    max-width: 1200px;
}

a {
    color: inherit; /* Hérite de la couleur du parent */
    text-decoration: none; /* Pas de soulignement par défaut */
}

    a:hover {
        color: var(--premium-color);
    }

/* --- NAVIGATION --- */
nav {
    background: white;
    position: fixed; /* Fixé en haut au scroll */
    top: 0;
    z-index: 1000;
    width: 100%;
    height: var(--menu-header-height);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    place-items: center;
    padding: 20px min(calc((100vw - var(--content-width)) /2),60px);
}

.scrolled {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

nav .header {
    max-width: var(--content-width);
    margin: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

nav h1 {
    margin: 0;
    font-size: 1.2rem;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

nav a {
    color: black;
    text-decoration: none;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    padding: 10px 20px;
    /*font-weight: bold;*/
}

nav li.active {
    /*color: var(--color-primary);*/
    font-weight: 600;
    padding-bottom: 10px;
    border-bottom: 4px solid var(--premium-color);
}

    nav a img {
        height: 60px;
    }

/* --- HAMBURGER POUR MOBILE --- */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

    .menu-toggle span {
        width: 25px;
        height: 3px;
        background: black;
    }

/* --- ANIMATIONS --- */
.section-anim .slide-down {
    opacity: 0;
    transform: translateY(-50px); /* commence plus haut */
    animation: slideDown 1.0s ease-out forwards;
}

@keyframes slideDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- COMMONS CLASS --- */
.premium-color {
    color: var(--premium-color);
    fill: var(--premium-color);
}

.button {
    background-color: var(--premium-color);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

button:hover {
    background-color: #e67600; /* Couleur légèrement plus foncée au survol */
}

.font-weight-100 {
    font-weight: 100;
}

.font-weight-100 {
    font-weight: 100;
}

.container {
    max-width: var(--content-width);
    /*margin: auto;*/
    /*align-items: center;*/
    display: flex;
    /*justify-content: space-between;*/
    /*flex-direction: row;*/
    padding: 10px;
    /*gap: 20px;*/
}

.card {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 30px 30px;
}

    .card:hover {
        box-shadow: 0px 0px 25px -5px;
        transition: box-shadow 0.3s ease-in-out;
        color: var(--premium-color);
    }

    .card * {
        color: black;
    }


/* -------------------------- SECTION -------------------------- */
section {
    width: 100%;
    padding: 120px 0px 120px 0px;
    color: black;
    place-content: center;
    place-items: center;
    line-height: 30px;
}

.section-full-height {
    min-height: 100vh; /* pour tester le scroll */
}

.section-title {
    align-items: center;
    text-align: center;
    display: flex;
    width: var(--content-width);
    padding: 10px 0 50px 0;
    color: var(--premium-color);
    font-size: 32px;
    font-weight: bold;
    /*margin-bottom: 30px;*/
}

.premium-title {
    color: var(--premium-color);
    font-size: 32px;
    font-weight: bold;
}


.section-title::before,
.section-title::after {
    content: "";
    flex: 1;
    border-bottom: 2px solid var(--premium-color); /* couleur et épaisseur de la ligne */
}

.section-title:not(:empty)::before {
    margin-right: 0.75em;
}

.section-title:not(:empty)::after {
    margin-left: 0.75em;
}

.section-description {
    padding-top: 50px;
    padding-bottom: 50px;
    padding-left: calc((100% - var(--content-width)) / 2);
    padding-right: calc((100% - var(--content-width)) / 2);
    font-size: 25px;
    letter-spacing: -1px;
    color: grey;
    font-style: italic;
}

.section-content {
    display: flex;
    flex-wrap: wrap;
    max-width: var(--content-width);
    gap: 20px;
}

/* --- FOOTER --- */

footer {
    width: 100%;
    padding: 20px max(calc((100vw - var(--content-width)) /2),60px);
    place-content: center;
    place-items: center;
    display: flex;
    gap: 60px;
    flex-direction: row;
    flex-wrap: wrap;
}

    footer article {
        display: flex;
        flex-direction: column;
        /*gap: 10px;*/
        text-align: justify;
        flex: 1 1 300px;
    }

.band-footer {
    background-color: #2C2C2C;
    color: grey;
}

footer h3 {
    color: white;
}

.footer-navigation a:before {
    content: "> ";
    color: var(--premium-color);
}

.band-footer > .container > div {
    flex: 1;
}

.copyright {
    padding: 20px 0 0 0;
    font-size: 12px;
    place-items: center;
    place-content: center;
    width: 100%;
}


/* --- RESPONSIVE --- */
@media (max-width: 1000px) {

    .container {
        display: flex;
        flex-direction: column;
    }

    .large-screen {
        display: none;
    }

    nav {
        flex-direction: column;
        align-items: flex-end;
        padding: 10px;
        max-width: 100%;
    }

    #logo {
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    nav ul {
        display: none;
        flex-direction: column;
        align-items: flex-end;
        background: white;
        padding: 10px;
    }

        nav ul.active {
            display: flex;
        }

    .menu-toggle {
        display: flex;
    }
}
