/* Barre supérieure (orange) */
header {
    position: fixed;
    width: 100%;
    z-index: 100;
}

.top-bar {
    background-color: #f7a336;
    padding: 10px 0;
    color: #000;
}



.top-bar i {
    margin-right: 5px;
}

.top-bar-left {
    font-size: 14px;
    color: black;
    font-weight: bold;
}

.top-bar-left {
    color: black !important;
    text-decoration: none !important;
}

.top-bar-right {
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: right;
    font-weight: bold;
}

/* Barre inférieure (noire) */
.main-header {
    background-color: #000;
    padding: 15px 0;
}


/* Style du logo */
.logo .logo-img {
    width: 250px;
    height: auto;
}

/* Contenu droit (réduction dans un cercle) */
.cta_promo {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translate(83.3%, -60%);
    z-index: 999;
    display: flex;
    text-decoration: none !important;
    transition: transform 0.4s ease;
}

.cta_promo:hover {
    transform: translate(0, -60%);
}

.cta_promo .contenu-text {
    background-color: black;
    padding: 1rem;

}

.cta_promo .reduction {
    color: white;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: larger;
    margin-bottom: 0;
}

@media screen and (max-width: 768px) {
    .cta_promo .reduction {
        font-size: 17px;
    }

    .cta_promo {
        transform: translate(82%, -60%);
    }

}

.cta_promo .slogan {
    color: white;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 8px;
    margin-bottom: 0;

}

.cta_promo .bouton_hover {
    background-color: black;
    height: fit-content;
    padding: 0.8rem;
}

.cta_promo .bouton_hover svg {
    width: 50px;
    height: 50px;
}

.cta_menu {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translate(72.2%, -160%);
    z-index: 999;
    display: flex;
    text-decoration: none !important;
    transition: transform 0.4s ease;
}



.cta_menu:hover {
    transform: translate(0, -160%);
}

.cta_menu p {
    color: white;
    background-color: black;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: larger;
    padding: 1.4rem;
    margin-bottom: 0;
}

.cta_menu .bouton_hover {
    background-color: white;
    height: fit-content;
    padding: 0.8rem;
}

.cta_menu .bouton_hover svg {
    width: 50px;
    height: 50px;
}

/* Menu principal */
.main-menu .menu-items {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-menu .menu-items li {
    margin-left: 30px;
}

.main-menu .menu-items li a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.main-menu .menu-items li a:hover {
    text-decoration: underline;
}

/* Menu burger (bouton hamburger) */
.menu-burger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1001;
}

.menu-burger span {
    height: 4px;
    width: 25px;
    background-color: white;
    margin: 3px 0;
    transition: all 0.4s ease;
}

/* Menu burger transformé en croix */
.menu-burger.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 5px);
}

.menu-burger.active span:nth-child(2) {
    opacity: 0;
}

.menu-burger.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -5px);
}

#close-menu {
    position: absolute;
    z-index: 1001;
    color: #f7a336;
    top: 0;
    right: 10px;
    font-size: 50px;

}

/* Menu principal (affiché uniquement sur mobile) */
.main-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #000;
    /* Fond noir complet */
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 20px;
    overflow-y: auto;
    /* Permet le scroll si le contenu dépasse la hauteur de l'écran */
    opacity: 0;
    transform: translateX(-100%);
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.main-menu.active {
    left: 0;
    opacity: 1;
    transform: translateX(0);
}

.cta_menu_container_mobile {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: blue;
    z-index: 999;
    height: 50px;
    align-items: center;
}

.cta_menu_container_mobile .tel {
    color: white;
    font-size: 20px;
    background-color: #f7a336;
    height: 100%;
    align-content: center;
}

.cta_menu_container_mobile .menu {
    color: #f7a336;
    background-color: black;
    height: 100%;
    align-content: center;
    font-size: 20px;
}

/* Version mobile (menu burger) */
@media (max-width: 768px) {

    /* Affiche le bouton burger */
    .menu-burger {
        display: flex;
        align-items: end;
    }

    /* Cacher le menu principal par défaut */
    .main-menu {
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background-color: #000;
        /* Fond noir complet */
        z-index: 1000;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 20px;
        overflow-y: auto;
        /* Permet le scroll si le contenu dépasse la hauteur de l'écran */
        opacity: 0;
        transform: translateX(-100%);
        transition: transform 0.5s ease, opacity 0.5s ease;
    }

    .main-menu.active {
        left: 0;
        opacity: 1;
        transform: translateX(0);
    }

    .main-menu .menu-items {
        flex-direction: column;
        margin-top: 80px;
    }

    .main-menu .menu-items li {
        margin-bottom: 20px;
    }

    .main-menu .menu-items li a {
        font-size: 18px;
    }
}

/* Version ordinateur (grands écrans) */
@media (min-width: 769px) {

    /* Afficher le menu principal */
    .main-menu {
        display: flex;
        position: static;
        transform: none;
        opacity: 1;
    }

    /* Cacher le bouton burger */
    .menu-burger {
        display: none;
    }

    .main-menu .menu-items {
        justify-content: flex-end;
        /* Menu aligné à droite */
        width: 100%;
        flex-direction: row;
    }

    .main-menu .menu-items li {
        margin-left: 30px;
        /* Espacement entre les items */
    }

    .main-menu .menu-items li a {
        font-size: 16px;
        color: #fff;
    }
}

/* Responsive alignement et styles spécifiques */
.text-md-left {
    text-align: left !important;
}

.text-md-right {
    text-align: right !important;
}

.text-center {
    text-align: center !important;
}