@font-face {
	font-family: 'icomoon';
	src:  url('fonts/icomoon.eot?b2om2p');
	src:  url('fonts/icomoon.eot?b2om2p#iefix') format('embedded-opentype'),
	url('fonts/icomoon.ttf?b2om2p') format('truetype'),
	url('fonts/icomoon.woff?b2om2p') format('woff'),
	url('fonts/icomoon.svg?b2om2p#icomoon') format('svg');
	font-weight: normal;
	font-style: normal;
	font-display: block;
}
.icon {
	font-family: 'icomoon';
}   

body, html {
    margin: 0;
    padding: 0;
}

/* ======================================
   HEADER & NAVIGATION DESIGN MAQUETTE
====================================== */

header {
    position: fixed; /* Fixe le menu en haut pendant le défilement */
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;

    /* Padding ajusté : box-sizing indispensable pour éviter le bug de dépassement */
    padding: 20px 50px;
    box-sizing: border-box; 

    /* Fond noir transparent avec effet de flou arrière-plan (Glassmorphism) */
    background: rgba(11, 12, 8, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    font-family: "Plus Jakarta Sans", sans-serif;

    /* Bordure subtile en bas */
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: 0.5s;
}
header.mini {
    padding: 0 5px;
    background: rgba(11, 12, 8, 0.95);
    transition: 0.5s;
}

/* Ajustement du logo pour qu'il ne pousse pas la hauteur du header de manière disproportionnée */
.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    max-height: 65px; /* Hauteur élégante comme sur la maquette */
    width: auto;
    display: block;
}

/* Conteneur de la navigation */
nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Liste des liens du menu */
nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Style des liens du menu */
nav ul li a {
    color: #ffffff; /* Liens blancs par défaut pour contrer le bleu du navigateur */
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Liens au survol et page active */
nav ul li a:hover,
nav ul li a.active {
    color: #8da84e; /* Le vert Eden */
}

/* Bouton téléphone dans le menu */
.menu-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: #8da84e;
    color: #ffffff !important; /* Force la couleur blanche */
    text-decoration: none;
    border-radius: 4px;
    font-weight: 700;
    font-size: 14px;
    transition: background 0.3s ease;
}

.menu-phone:hover {
    background: #79943f;
}

/* ======================================
   RESPONSIVE HEADER
====================================== */
@media (max-width: 1100px) {
    header {
        padding: 15px 25px;
    }
    nav {
        gap: 20px;
    }
    nav ul {
        gap: 15px;
    }
    .logo img {
        max-height: 50px;
    }
}

/* Gestion du menu mobile basique (pour éviter les chevauchements) */
@media (max-width: 900px) {
    header {
        position: absolute; /* On peut le repasser en absolu sur mobile si besoin */
        flex-direction: column;
        gap: 15px;
        padding: 15px;
        text-align: center;
    }
    nav {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }
    nav ul {
        justify-content: center;
        flex-wrap: wrap;
    }
}



/* ======================================
   PRE-FOOTER (ZONE D'INTERVENTION)
====================================== */
.pre-footer {
    background-color: #12140e; /* Vert/noir ultra profond */
    position: relative;
    overflow: hidden;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.pre-footer-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    min-height: 180px;
}

.pre-footer-content {
    flex: 1;
    padding: 40px 80px;
    display: flex;
    align-items: center;
    gap: 30px;
    position: relative;
    z-index: 2;
}

.loc-icon-wrapper {
    font-size: 32px;
    color: #8da84e;
    background: rgba(141, 168, 78, 0.1);
    padding: 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pre-footer-text {
    text-align: left;
}

.loc-subtitle {
    display: block;
    color: #8da84e;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 5px;
}

.pre-footer-text h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.pre-footer-text p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #999999;
    font-size: 14px;
    margin: 0;
}

/* L'image de Bergheim floutée et fondue à droite */
.pre-footer-image {
    width: 45%;
    height: 100%;
    position: absolute;
    right: 0;
    top: 0;
    background-size: cover;
    background-position: center;
    mask-image: linear-gradient(to left, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to left, rgba(0,0,0,1) 60%, rgba(0,0,0,0) 100%);
}

/* ======================================
   FOOTER PRINCIPAL (NOIR CHIC)
====================================== */
footer {
    background-color: #0b0c08;
    padding: 80px 24px 30px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #ffffff;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 60px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.footer-col h3 {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 25px 0;
    position: relative;
}

/* Identité marque */
.footer-logo img {
    max-height: 55px;
    width: auto;
    margin-bottom: 20px;
}

.brand-desc {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #888888;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
    max-width: 280px;
}

/* Listes de navigation & engagements */
.footer-menu, .footer-engagements {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-menu li, .footer-engagements li {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    margin-bottom: 12px;
    color: #999999;
}

.footer-menu li a {
    color: #999999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-menu li a:hover,
.footer-menu li a.active {
    color: #8da84e;
}

/* Contact & Infos */
.contact-line {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 13px;
    color: #999999;
    text-decoration: none;
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}

.contact-line span {
    color: #8da84e;
}

a.contact-line:hover {
    color: #ffffff;
}

/* Réseaux Sociaux */
.footer-socials {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: background 0.3s ease, transform 0.2s ease;
}

.social-link:hover {
    background: #8da84e;
    transform: translateY(-2px);
}

/* Bas de page */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
}

.footer-bottom-container {
    max-width: 1440px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #666666;
    font-size: 12px;
    margin: 0;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: #666666;
    font-size: 12px;
    text-decoration: none;
}

.footer-bottom-links a:hover {
    color: #999999;
}

.breadcrumb {
    color:#0b0c08;
    text-decoration: none;
    gap: 10px !important;
}
.breadcrumb a {
    color:#79943f;
    text-decoration: none;
}

/* ======================================
   RESPONSIVE FOOTER
====================================== */
@media (max-width: 1400px) {
    nav ul li a {
        font-size: 12px;
    }    
}
@media (max-width: 1200px) {
    nav ul li a {
        font-size: 10px;
    }    
}
@media (max-width: 1100px) {
    header {
        padding: 15px 25px;
    }
    nav {
        gap: 20px;
    }
    nav ul {
        gap: 20px;
    }
    nav ul li a {
        font-size: 10px;
        text-align: center;
    }    
    .logo img {
        max-height: 50px;
    }
}
@media (max-width: 1024px) {
    .footer-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    .pre-footer-image {
        display: none; /* Cache la photo sur petits écrans pour garder le texte lisible */
    }
    .pre-footer-content {
        padding: 30px 24px;
    }
}
@media (max-width: 900px) {
    header {
        position: fixed; /* On le maintient absolument fixed sur mobile */
        padding: 15px 20px;
    }

    /* Le bouton Burger utilisant la police Icomoon */
    .menu-toggle {
        position: fixed; 
        top: 15px;
        left: 15px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: none;
        color: #ffffff;
        font-size: 24px;
        cursor: pointer;
        padding: 8px;
        z-index: 1010;
        outline: none;
    }

    /* Gestion de l'affichage alterné des icônes Icomoon */
    .menu-toggle .close-icon {
        display: none;
    }

    .menu-toggle.active .burger-icon {
        display: none;
    }

    .menu-toggle.active .close-icon {
        display: block;
        color: #8da84e; 
        position: fixed;
        top: 15px;
        left: 15px;
    }

    /* Tiroir de navigation masqué par défaut à droite */
    .nav-links-wrapper {
        position: fixed;
        top: 0;
        right: -100%; /* Sorti de l'écran */
        width: 100%; /* Largeur confortable sur smartphone */
        height: 100vh;
        
        /* Même effet flouté haut de gamme que le header */
        background: rgba(11, 12, 8, 0.95);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        padding: 100px 30px 40px 30px;
        box-sizing: border-box;
        
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 40px;
        
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 1005;
    }

    /* Classe activée par le JS pour faire glisser le menu */
    .nav-links-wrapper.open {
        right: 0;
    }

    /* Transformation de la liste en colonne verticale */
    nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        text-align: center;
    }

    nav ul li {
        width: 100%;
    }

    nav ul li a {
        font-size: 16px;
        padding: 8px 0;
        width: 100%;
        display: block;
        text-align: center  ;
    }

    /* Adaptation du bouton téléphone à l'intérieur du tiroir */
    .menu-phone {
        width: 100%;
        margin-top: auto; /* Pousse le téléphone tout en bas du tiroir */
        box-sizing: border-box;
    }
}

/* Sécurité d'affichage pour les grands écrans */
@media (min-width: 901px) {
    .menu-toggle {
        display: none; /* Cache le bouton burger sur PC */
    }
    .nav-links-wrapper {
        display: flex;
        align-items: center;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 35px;
    }
    .pre-footer-content {
        flex-direction: column;
        text-align: center;
    }
    .pre-footer-text {
        text-align: center;
    }
    .footer-bottom-container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

