:root {
    --primary-color: #264e13;
}

h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: xx-large;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

h2::before,
h2::after {
    content: "";
    display: block;
    height: 3px;
    width: 50px;
    background: var(--primary-color);
    border-radius: 2px;
    opacity: 0.18;
}

body {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}
header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: white;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.1);
    z-index: 1000; /* Ajoute ou augmente cette valeur */
}
.bar {
    background-color:#264e13;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 40px;
    font-size: 13px;
}
.bar .col .div-email{
    margin-left: 30px;
}
.div-bar{
    margin-left: 30px;
}
.span-bar{
   font-size: 1.1rem;
}
.bar .info .phone a {
    text-decoration: none ;
    color: #fff!important;
    color: inherit !important;

}
 
@media (max-width: 768px) {
    .bar {
       color:#fff;
       padding: 10px 15px 10px 20px;
       font-size: 11px!important;
    }
  
    .bar .info .disponible, .bar .info .phone {
        color: #fff!important;
        color: inherit;
       
    }
      
     .bar .info .phone a {
        font-size: 12.5px!important;
        color: #fff!important;
        color: inherit !important;
    
    }
 
 
    .div-bar .span-bar, 
    .bar .col .div-email {
       display: none    ;
    }
   
    .insta{
        margin-right: 20px ;
    }
  
    
}
.bar .col {
    display: flex;
    align-items: center;
    gap: 10px;
}
.bar .col > div {
    display: flex;
    align-items: center;
    gap: 10px;
}
.bar .phone, .bar .email {

    color: #fff !important;
    text-decoration: none !important;
}
.email a {
    color: #fff !important;
    text-decoration: none !important;
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
}

.bar .phone:visited, .bar .phone:active, .bar .phone:focus {
    color: #fff !important;
    text-decoration: none !important;
}

nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 40px;
}

nav ul {
    display: flex;
    align-items: center;
    gap: 100px;
    margin: 0;
    padding: 0;
    
}
nav ul li {
    list-style: none;
}
nav ul li a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 16px;
}
.logo img {
    max-width: 200px;
    width: 100%;
}
.logo .logo-desktop {
    display: block;
}


.dropdown {
    position: relative;
}

.dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    user-select: none;
    cursor: pointer;
    color: var(--primary-color);
    font-weight: bold;
    font-size: 16px;
}

.arrow {
    font-size: 0.8em;
    transition: transform 0.2s;
}

/* Flèche vers le haut quand le menu est ouvert */
.dropdown:hover .arrow {
    transform: rotate(180deg);
}
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    border: 1px solid #ccc;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 999;
    min-width: 200px;
}
.dropdown-menu li a {
    display: block;
    padding: 10px 15px;
    color: var(--primary-color);
    font-size: 14px;
    text-decoration: none;
}
.dropdown-menu li a:hover {
    background-color: #f4f4f4;
}
.dropdown:hover .dropdown-menu {
    display: block;
}
.icon {
    font-size: 1.2em;
    margin-right: 5px;
    vertical-align: middle;
}

.insta{
    color:#fff;
    font-size: 1.5em;
}
.div-logo-mobile{
    display: none;
}

/* Menu burger */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
    margin-left: 10px;
}
.burger span {
    display: block;
    width: 28px;
    height: 4px;
    margin: 4px 0;
    background: var(--primary-color);
    border-radius: 2px;
    transition: 0.3s;
}
.mobile-nav-footer{
    display: none;
  
}
@media (max-width: 900px) {
    .burger {
        display: flex;
    }
    nav {
        position: fixed;
        left: 0;
        width: 100vw;
        background: #f4f4f4;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 0 0 0;
        /* box-shadow: 0 4px 16px rgba(38,78,19,0.07); */
        z-index: 1001;
        transform: translateY(-120%);
        transition: transform 0.3s;
        min-height: 100vh;
        height: auto;
    }
    .div-logo-mobile {
        display: block;
        text-align: center;
        margin: 0 auto 10px auto;
    }
    nav.open {
        transform: translateY(0);
    }
    nav ul.nav-list {
        flex-direction: column;
        gap: 0;
        width: 100%;
        margin-bottom: 900px;
    }
    nav ul.nav-list li {
        width: 100%;
        text-align: left;
        border-bottom: 1px solid #f0f0f0;

    }
        nav ul {
        gap: 10px;
        margin: 0;
        padding: 0;
        
    }
  
    nav ul.nav-list li a, .dropdown-toggle {
        padding: 18px 24px;
        font-size: 1.1rem;
        display: block;
    }
    .div-logo-mobile .logo-mobile {
        display: block;
        max-width: 290px;
        width: 65%;

    } 
    .logo img {
        display: none;
    }
    .logo {
       display: none;
    }
    .mobile-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
      
        padding: 0 20px 0 10px;
        background:#f4f4f4;
        min-height: 60px;
        position: relative;
        z-index: 1101;
    }
    .div-logo-mobile {
        display: block;
        text-align: left;
        margin: 0;
    }
    .burger {
        display: flex;
        margin-left: 0;
    }
    /* Masquer l'ancien logo mobile et burger hors .mobile-header */
    header > .div-logo-mobile,
    header > .burger {
        display: none;
    }
    .mobile-nav-footer {
        display: none;
        width: 100vw;
        background: #f4f4f4;
        color: #264e13;
        text-align: center;
        padding: 18px 0 18px 0;
        font-size: 1rem;
        border-top: 1px solid #e0e0e0;
        position: relative;
    }
    nav.open .mobile-nav-footer {
        display: block;
    }
    .mobile-nav-footer .footer-content a {
        color: #264e13;
        text-decoration: underline;
        font-size: 0.95em;
        margin-top: 4px;
        display: inline-block;
    }
}

@media (max-width: 768px) {
  
}
