﻿/*-------------------------------------------------------------------------------------
Page Name:	Toutes
Version:	1.0.0
Author:		valentin
-------------------------------------------------------------------------------------*/
/*-------------------------------------------------------------------------------------
[TABLE OF CONTENTS]

    00. Scroll top button
    01. #101828 Friday Pastille
    02. Header
    
    text-color: 
    hover: 
    
-------------------------------------------------------------------------------------*/
/* General */

/*-----------------------------------------------------------------------------------*/
@font-face {
    font-family: "Poppins";
    src: url("/Content/style/font/Poppins/Poppins-Regular.ttf") format("truetype");  chrome firefox opera Safari, Android, iOS 4.2+
}

html, body {
    font-family: 'Poppins', sans-serif;
}


/*--------------------------------------------------------------
# 00.Scroll top button
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# 01.black  Friday Pastille Mobile
--------------------------------------------------------------*/

.black friday-mobile-tarif, .black friday-mobile-abonnement, .black friday-pc-tarif, .black friday-pc-abonnement {
    position: absolute;
}

.parent-#101828friday {
    position: relative; /* Définit un contexte de positionnement */
}

.black friday-pc-tarif {
    display: none;
    top: -165px; /* Ajustez pour que la pastille soit "au-dessus" */
    right: -135px; /* Ajustez pour qu'elle dépasse légèrement */
}

.black friday-pc-abonnement {
    display: none;
    top: 50px; /* Ajustez pour que la pastille soit "au-dessus" */
    right: 80px; /* Ajustez pour qu'elle dépasse légèrement */
}

.black friday-mobile-tarif {
    display: block;
    right: 5px;
    top: 60px;
    z-index: 997;
}

.black friday-mobile-abonnement {
    display: block;
    right: 5px;
    top: 60px;
    z-index: 1;
}

.black friday-pc-tarif img {
    width: 200px;
}

.black friday-mobile-tarif img, .black friday-mobile-abonnement img {
    width: 100px;
}

@media(min-width:768px) {
    .black friday-mobile-tarif, .black friday-mobile-abonnement {
        right: 10px;
        top: 70px;
        z-index: 1;
    }
        .black friday-mobile-tarif img, .black friday-mobile-abonnement img {
            width: 150px;
        }
}

@media(min-width: 1024px) {
    .black friday-mobile-tarif {
        top: 150px;
    }
    .black friday-mobile-abonnement {
        right:50px;
    }
}

@media(min-width: 1375px) {
    .black friday-pc-tarif {
        display: block;
    }

    .black friday-pc-abonnement {
        display: block;
    }

    .black friday-mobile-tarif {
        display: none;
    }

    .black friday-mobile-abonnement {
        display: none;
    }
}


@media (min-width: 1635px) {

    .black friday-pc-tarif {
        top: -180px; /* Ajustez pour que la pastille soit "au-dessus" */
        right: -195px; /* Ajustez pour qu'elle dépasse légèrement */
    }
        .black friday-pc-tarif img {
            width: 250px;
        }
}

/*-----------------------------------------------------------------------------------
/* 02. HEADER
/*-----------------------------------------------------------------------------------*/
@media (max-width: 1023px) {
    .li-point {
        display: none;
    }
}

@media (max-width: 1077px) {
    .bandeau-haut-header img {
        margin-bottom: 0px !important;
    }

    .logoBandeau {
        width: 100%;
        text-align: center;
    }
}

#logo-img-mobile {
    position: absolute;
    z-index: 999;
    top: 20px;
    max-width: 184px;
}

@media (min-width: 1024px) {
    #logo-img-mobile {
        display: none;
    }
}

#header .progress-button button {
    font-size: 16px !important;
}

.header {
    background: #fff;
    transition: all 0.5s;
    z-index: 997;
    position: fixed;
    width: 100%;
    height: 100px;
    display:flex;
}

@media(min-width:1024px) {
    .header {
        height: 70px;
    }
}

    .header .logo img {
        max-width: 184px;
    }

    .header .btn-book-a-table,
    .header .btn-book-a-table:focus {
        font-size: 14px;
        color: #fff;
        background: #2E3862;
        padding: 8px 20px;
        margin-left: 30px;
        border-radius: 50px;
        transition: 0.3s;
    }

        .header .btn-book-a-table:hover,
        .header .btn-book-a-table:focus:hover {
            color: #fff;
            background: rgba(206,18,18,.8);
        }

main {
    margin-top: 100px;
}

@media (min-width: 1024px) {
    main {
        margin-top: 140px;
    }

    .header {
        background: #fff;
        height: 90px;
        padding-inline: 32px;
        border-bottom: 2px solid #2e3862;
    }

        .header.sticked {
            border-color: #eee;
        }

        .header:hover {
            border-color: #eee;
        }

    .logo {
        margin-top: 15px;
    }
}

@media (min-width: 1375px) {
    main {
        margin-top: 90px;
    }
    .logo {
       margin-top:17px;
    }
}

/*--------------------------------------------------------------
# Conteneur
--------------------------------------------------------------*/
.container-nav {
    padding: 0 !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
    margin-top: 21px;
    margin-bottom: 0 !important;
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
}

/*--------------------------------------------------------------
# Visibilité des 3 NAV
--------------------------------------------------------------*/
.nav--mobile {
    display: block;
}

.nav--tablet, .nav--desktop {
    display: none;
}

@media (min-width:1024px) and (max-width:1374px) {
    .nav--mobile {
        display: none;
    }

    .nav--tablet {
        display: flex;
    }
    /* Mise en colonne pour centrer la barre sur tablette */
    .container-nav {
        flex-direction: column;
    }

    .header {
        height: 140px;
    }

    .navbar .dropdown ul {
        margin: 0 !important;
    }

    .navbar > ul > li > a::before {
        bottom: -29px !important;
    }
}

@media (min-width:1375px) {
    .nav--mobile, .nav--tablet {
        display: none;
    }

    .nav--desktop {
        display: flex;
        margin-left:50px;
    }
}

/*--------------------------------------------------------------
# Styles communs Desktop & Tablet (classes .navbar)
--------------------------------------------------------------*/
@media (min-width: 1024px) {
    .navbar a:hover::before, .navbar li:hover > a::before, .navbar .active::before {
        opacity: 1;
        transform: scaleX(1);
    }

    .navbar > ul > li > a::before {
        content: "";
        position: absolute;
        width: 100%;
        height: 3px;
        bottom: -32px;
        left: 3px;
        background-color: #2E3862;
        opacity: 0;
        transform: scaleX(0);
        transition: opacity .3s ease-in-out, transform .3s ease-in-out;
        z-index: 99;
    }

    .container-nav {
        margin-top: 0px;
    }

    .navbar {
        padding: 0;
    }

        .navbar ul {
            margin: 0;
            padding: 0;
            display: flex;
            list-style: none;
            align-items: center;
        }

        .navbar li {
            position: relative;
        }

        .navbar > ul > li {
            white-space: nowrap;
            padding: 25px 5px;
        }

            .navbar > ul > li.li-button {
                padding: 10px 3px;
            }

    #navbar > ul > li.li-button-fin,
    #nav-tablet > ul > li.li-button-fin,
    #nav-desktop > ul > li.li-button-fin {
        padding: 10px 0 10px 3px !important;
    }

        #navbar > ul > li.li-button-fin a::before,
        #nav-tablet > ul > li.li-button-fin a::before,
        #nav-desktop > ul > li.li-button-fin a::before {
            content: unset;
        }

    .navbar a {
        display: flex;
        align-items: center;
        padding: 0 3px;
        font-size: 18px;
        color: #101828;
        white-space: nowrap;
        transition: .3s;
        position: relative;
    }

        .navbar a i, .navbar a:focus i {
            font-size: 12px;
            line-height: 0;
            margin-left: 5px;
        }

    .navbar .dropdown ul {
        display: block;
        position: absolute;
        top: calc(100% + 30px);
        margin: 0;
        padding: 10px 0;
        opacity: 0;
        visibility: hidden;
        background: #fff;
        box-shadow: 0 0 30px rgba(127,137,161,.25);
        transition: .3s;
        border-radius: 0 0 4px 4px;
        z-index: 98;
    }

        .navbar .dropdown ul li {
            min-width: 200px;
        }

        .navbar .dropdown ul a {
            padding: 10px 20px;
            font-size: 18px;
            text-transform: none;
        }

            .navbar .dropdown ul a i {
                font-size: 12px;
            }

    .navbar .dropdown:hover > ul {
        opacity: 1;
        top: 100%;
        visibility: visible;
    }

    .navbar .dropdown .dropdown ul {
        top: 0;
        left: calc(100% - 30px);
        visibility: hidden;
    }

    .navbar .dropdown .dropdown:hover > ul {
        opacity: 1;
        top: 0;
        left: 100%;
        visibility: visible;
    }
}

@media (min-width:1375px) {
    .navbar > ul > li {
        padding: 25px 15px;
    }
}

/* Masques desktop pour éléments mobile */
@media (min-width:1024px) {
    .mobile-nav-show, .mobile-nav-hide {
        display: none;
    }

    .mobile-only {
        display: none;
    }

    li.accueil-menu {
        display: none;
    }
}

/* Desktop: menus à gauche, 3 boutons à droite, dropdowns VERTICAUX */
@media (min-width:1375px) {
    #nav-desktop {
        display: flex;
        align-items: center;
        gap: 16px;
        width: 100%;
    }

        #nav-desktop .nav-desktop__left {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        #nav-desktop .nav-desktop__right {
            margin-left: auto; /* pousse à droite */
            display: flex;
            align-items: center;
            gap: 12px;
        }

        /* ⚠️ seulement les UL de premier niveau en flex */
        #nav-desktop > ul {
            display: flex;
        }

        /* Sous-menus : colonne verticale */
        #nav-desktop .dropdown > ul {
            display: block; /* annule le flex éventuel */
            position: absolute;
            top: calc(100% + 30px);
            left: 18px;
            padding: 10px 0;
            margin: 8px 0 0 0;
            background: #fff;
            box-shadow: 0 0 30px rgba(127,137,161,.25);
            border-radius: 0 0 4px 4px;
            width: max-content;
            min-width: 260px;
            opacity: 0;
            visibility: hidden;
            transition: 0.3s;
            z-index: 98;
        }

        #nav-desktop .dropdown:hover > ul {
            opacity: 1;
            visibility: visible;
            top: 100%;
        }

        #nav-desktop .dropdown > ul li {
            display: block;
            width: 100%;
            min-width: unset; /* pour éviter l’étirement horizontal */
        }

        #nav-desktop .dropdown > ul a {
            display: block;
            width: 100%;
            padding: 10px 20px;
            white-space: nowrap;
        }
}


/*--------------------------------------------------------------
# Mobile Navigation (≤1023)
--------------------------------------------------------------*/
.logo {
    margin-left: 10vw;
}

@media (min-width:451px) {
    .logo {
        flex-grow: 1;
        justify-content: center;
        margin-left: 0;
    }
}

@media (min-width:1024px) {
    .logo {
        flex-grow: 0;
    }
}

@media (max-width:1023px) {
    .desktop-only {
        display: none;
    }

    a:hover {
        color: #4e549f;
    }

    .container-nav {
        justify-content: center;
    }

    .mobile-nav-toggle {
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .li-button {
        margin-bottom: 10px;
    }

    .navbar {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        max-width: 400px;
        border-left: 1px solid #666;
        bottom: 0;
        transition: .3s;
        z-index: 9997;
    }

        .navbar ul {
            position: absolute;
            inset: 0;
            padding: 50px 0 10px 0;
            margin: 0;
            background: rgba(255,255,255,.9);
            overflow-y: auto;
            transition: .3s;
            z-index: 9998;
        }

        .navbar a, .navbar a:focus {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 20px;
            border-bottom: 2px solid rgba(255,255,255,.8);
            font-size: 16px;
            color: #7f7f90;
            white-space: nowrap;
            transition: .3s;
        }

            .navbar a i, .navbar a:focus i {
                font-size: 12px;
                line-height: 0;
                margin-left: 5px;
            }

            .navbar a:hover, .navbar li:hover > a {
                color: #2E3862;
            }

        .navbar .active, .navbar .active:focus {
            color: #2E3862;
            border-color: #2E3862;
        }

        .navbar .dropdown ul, .navbar .dropdown .dropdown ul {
            position: static;
            display: none;
            padding: 10px 0;
            margin: 10px 20px;
            transition: all .5s ease-in-out;
            border: 1px solid #eee;
        }

            .navbar .dropdown ul li {
                display: flex;
                justify-content: end;
            }

        .navbar .dropdown > .dropdown-active,
        .navbar .dropdown .dropdown > .dropdown-active {
            display: block;
        }

    .mobile-nav-show {
        color: #2E3862;
        font-size: 28px;
        cursor: pointer;
        line-height: 0;
        transition: .5s;
        z-index: 9999;
        margin: 0 20px;
    }

    .mobile-nav-hide {
        color: #2E3862;
        font-size: 32px;
        cursor: pointer;
        line-height: 0;
        transition: .5s;
        position: fixed;
        right: 18px;
        top: 12px;
        z-index: 9999;
    }

    .mobile-nav-active {
        overflow: hidden;
    }

        .mobile-nav-active .navbar {
            right: 0;
        }

            .mobile-nav-active .navbar:before {
                content: "";
                position: fixed;
                inset: 0;
                background: rgba(255,255,255,.8);
                z-index: 9996;
            }
}

/* Divers */
.custom-div-30-home {
    height: 10px;
    width: 100%;
}

.custom-div-30 {
    height: 0;
    width: 100%;
}

@media (min-width:1024px) {
    .custom-div-30 {
        height: 30px;
    }
}

.form-select {
    border-color: #2E3862 !important;
    color: #101828 !important;
}

/* Couleur chevron menu */
.dropdown-indicator {
    color: #2E3862;
}
