/* ==============================
   COULEURS DU LOGO
   ============================== */

:root {
    --anthracite: #171717;
    --anthracite-clair: #292929;
    --cuivre: #A86A38;
    --vert-eau: #91D0C1;
    --blanc: #f8fafc;
    --gris: #666666;
}


/* ==============================
   STYLE GENERAL
   ============================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    margin: 0;
    color: var(--anthracite-clair);
    background: var(--blanc);
    line-height: 1.7;
}


/* ==============================
   NAVIGATION
   ============================== */

nav {
    background: var(--anthracite);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1100px;
    margin: auto;
    min-height: 90px;
    padding: 10px 25px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}


/* ==============================
   LOGO
   ============================== */

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    display: block;
    width: auto;
    height: 70px;
}


/* ==============================
   MENU
   ============================== */

nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 35px;
    margin: 0;
    padding: 0;
}

nav li {
    margin: 0;
}

nav a {
    color: var(--vert-eau);
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    transition: color 0.2s ease;
}

nav a:hover {
    color: var(--cuivre);
}


/* ==============================
   CONTENU
   ============================== */

main {
    max-width: 1000px;
    margin: auto;
    padding: 45px 25px 60px;
}

h1 {
    color: var(--cuivre);
    font-size: 28px;
    margin-top: 50px;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: 2px solid var(--vert-eau);
}

h1:first-child {
    margin-top: 0;
}

h2 {
    color: var(--anthracite);
    font-size: 22px;
    margin-top: 35px;
    position: relative;
    padding-left: 15px;
}

h2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 4px;
    height: 22px;
    background: var(--vert-eau);
}

p {
    margin-bottom: 20px;
}

ul {
    padding-left: 25px;
}

li {
    margin-bottom: 7px;
}

#Carte_zone_activite {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 50%; /* Optionnel : définir une largeur */
}

/* ==============================
   FOOTER
   ============================== */

footer {
    background: var(--anthracite);
    color: #B5B5B5;
    text-align: center;
    padding: 30px 20px;
    margin-top: 20px;
}

footer p {
    margin: 5px 0;
}

footer a {
    color: var(--vert-eau);
    text-decoration: none;
    transition: color 0.2s ease;
}

footer a:hover {
    color: var(--cuivre);
    text-decoration: underline;
}


/* ==============================
   MOBILE
   ============================== */

@media (max-width: 700px) {

    .nav-container {
        flex-direction: column;
        justify-content: center;
        padding: 15px 20px;
    }

    .logo img {
        height: 60px;
    }

    nav ul {
        gap: 18px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        font-size: 14px;
    }

    main {
        padding: 30px 20px 45px;
    }

    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }
}