/* Mention legales */
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,900;1,900&family=Roboto:ital,wght@1,700&display=swap');
* {
    font-family: Roboto;
    box-sizing: border-box;
}

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

html {
    scroll-padding-top: 70px; /* Ajustez cette valeur à la hauteur de votre navbar */
    scroll-behavior: smooth;

}

html, body {
    width: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Empêche le défilement horizontal */
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

.header, .footer-page, .navbar, .section {
    width: 100%;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container, .navbar-container, .footer-content {
    max-width: 100%;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0 auto;
    padding-top: 80px;
}

body.menu-open {
    overflow: hidden;
}
/* Header */
header.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;

}

.logo-container {
    flex-shrink: 0;
  }
  

/* Navigation */
.navbar {
    width: 100%;
    height: 80px;
    background-color: #3a5a40;
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    overflow: hidden;
}

.navbar::after {
    content: "";
    display: table;
    clear: both;

}

.navbar-container {
    display: flex;
    justify-content: flex-end; /* Aligne les éléments à droite */
    align-items: center;
    width: 100%;
    max-width: 100vw;
    height: 100%;
    margin: 0 auto; /* Centre le conteneur */
    padding-right: 20px; /* Ajoute un espace à droite */
    overflow: hidden;
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 5px;
    margin-right: 20px; /* Ajoute de l'espace entre le logo et les éléments de menu */
}

.navbar-brand .logo {
    height: 20vh; /* Taille de base pour le mode normal */
    width: auto;
    max-width: 100%;
    transition: height 0.3s ease
}


.navbar-menu {
    list-style-type: none;
    display: flex;
    margin: 0 auto;
}

.navbar-menu li {
    margin-left: 20px;
}

.navbar-menu a {
    color: white;
    text-decoration: none;
}

.navbar-menu a:hover {
    color: #faedcd;
}

.navbar, .navbar-container {
    margin: 0;
    padding: 0 20px; /* Ajustez selon vos besoins */
    box-sizing: border-box;
}

/* Hamburger - Responsive */

.hamburger {
    display: none;
    cursor: pointer;
    margin-right: 15px;
}

.hamburger div {
    width: 35px;
    height: 4px;
    background-color: white;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Navbar */

.navbar {
    height: 80px;
    background-color: #3a5a40;
    padding: 10px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.navbar-container {
    display: flex;
    justify-content: flex-end; /* Aligne les éléments à droite */
    align-items: center;
    width: 100%;
    max-width: 1200px;
    height: 100%;
    margin: 0 auto; /* Centre le conteneur */
    padding-right: 20px; /* Ajoute un espace à droite */
}

.navbar-brand {
    display: flex;
    align-items: center;
    padding: 5px;
    margin-right: 20px; /* Ajoute de l'espace entre le logo et les éléments de menu */
}

.navbar-brand .logo {
    height: 20vh; /* Taille de base pour le mode normal */
    width: auto;
    max-width: 100%;
    transition: height 0.3s ease
}


.navbar-menu {
    list-style-type: none;
    display: flex;
    justify-content: space-around;
}

.navbar-menu li {
    margin-left: 20px;
}

.navbar-menu a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.navbar-menu a:hover {
    color: #faedcd;
}

/* Hamburger - Responsive */

.hamburger {
    display: none;
    cursor: pointer;
    margin-right: 15px;
}

.hamburger div {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Contenu */

.main-content {
    margin-top: 60px; /* Ajustez cette valeur en fonction de la hauteur de votre navbar */
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
}
.legal-content h1 {
    color: #3a5a40;
    font-size: 36px;
    margin-bottom: 30px;
}
.legal-content h2 {
    color: #3a5a40;
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
}
.legal-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

/* Footer */

.footer-page {
    background-color: #3a5a40;
    color: white;
    padding: 40px 0;
    margin-top: 50px;
}

.footer-content {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin: 0 20px;
    text-align: left;
}

.footer-section h3 {
    font-size: 25px;
    margin-bottom: 15px;
}

.footer-section p, .footer-section ul {
    font-size: 16px;
    line-height: 1.6;
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 5px;
}

.footer-section a {
    color: white;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

/* Confidentialité */

.privacy-content {
    max-width: 800px;
    height: auto;
    margin: 0 auto;
    padding: 40px 20px;
}

.privacy-content h1 {
    color: #3a5a40;
    font-size: 36px;
    margin-bottom: 30px;
}

.privacy-content h2 {
    color: #3a5a40;
    font-size: 24px;
    margin-top: 30px;
    margin-bottom: 15px;
}

.privacy-content p, .privacy-content ul {
    margin-bottom: 15px;
    line-height: 1.6;
}

.privacy-content ul {
    padding-left: 20px;
}





/* Responsive */

@media (max-width: 1024px) {
    .navbar-brand .logo {
        height: 20vh;
    }

}

@media (max-width: 810px) {

    body {
        padding-top: 80px; /* Augmentez cette valeur si votre navbar est plus haute en mode responsive */
    }

    .navbar {
        height: 80px; /* Hauteur de la navbar en mode responsive */
    }
    
    .navbar-container {
        justify-content: space-between;
    }
            

    .navbar-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: #3a5a40;
        flex-direction: column;
        align-items: center;
        transition: left 0.3s ease;
    }

    .navbar-menu.active {
        left: 0;
    }

    .navbar-menu li {
        margin: 20px 0;
    }

    .navbar-brand {
        padding: 10px;
    }


    .hamburger {
        display: block;
        z-index: 1002;
    }

    .hamburger.active .line1 {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .hamburger.active .line2 {
        opacity: 0;
    }

    .hamburger.active .line3 {
        transform: rotate(45deg) translate(-5px, -6px);
    }

}

    
@media (max-width: 768px) {
    .big-title {
        font-size: 60px;
    }
}

@media (max-width: 480px) {
    .big-title {
        font-size: 60px;
    }
}

