.ligneVerte{
    width: 100%;
    height: 5px;
    border: none;
    background-color: var(--vert-foncer);
}

.ligneMaron{
    width: 100%;
    height: 5px;
    border: none;
    background-color: var(--maron-foncer);
}



#barreDeRecherche {
    position: sticky;
    top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px;
    width: 100%;
    border: solid;
    max-width: 600px;
    height: 2.5rem;
    border-radius: 2rem;
    background-color: white;
    overflow: hidden;
    margin-left: 20px;
    margin-right: 20px;
}

#barreDeRecherche img {
    height: 70%;
    margin-left: 10px;
    margin-right: 10px;
}

#barreDeRecherche input {
    width: 100%;
    font-weight: bold;
    font-size: 1.2rem;
    height: 100%;
    border: none;
    outline: none;
}

#barreDeRecherche:focus-within {
    border-color: var(--vert-foncer);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}


header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: var(--vert-claire);
}

#header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 24px;
    position: relative;
}

#logo-du-site {
    width: 65px;
    height: 65px;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

#logo-du-site:hover {
    transform: scale(1.08) rotate(-3deg);
}

#liste-bouton-head {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.bouton-head {
    font-family: 'Fredoka', sans-serif;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 110px;
    height: 44px;
    border: 2px solid var(--maron-foncer);
    border-radius: 25px;
    background-color: var(--jaune-claire);
    color: var(--maron-foncer);
    font-weight: 700;
    font-size: 1.05rem;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 3px 0px var(--maron-foncer);
}

.bouton-head:hover {
    transform: translateY(-2px);
    background-color: var(--jaune-foncer);
    box-shadow: 0 5px 0px var(--maron-foncer);
}

.bouton-head:active {
    transform: translateY(2px);
    background-color: var(--jaune-foncer2);
    box-shadow: 0 1px 0px var(--maron-foncer);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1010;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: var(--maron-foncer);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }

    #liste-bouton-head {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: var(--vert-claire);
        flex-direction: column;
        gap: 15px;
        padding: 24px;
        /* box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); */
        border-bottom: 4px solid var(--vert-foncer);
        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        z-index: 999;
        margin-top: -10px;
    }

    #liste-bouton-head.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .bouton-head {
        width: 100%;
        max-width: 300px;
    }
}

@media (767px <= width <= 850px) {
    #barreDeRecherche input::placeholder {
        color: transparent;
    }
}

@media (max-width:347px) {
    #barreDeRecherche input::placeholder {
        color: transparent;
    }
}