/* Thème Purple - Hôtellerie */
:root {
    --primary-purple: #8B5CF6;
    --secondary-purple: #A78BFA;
}

/* Style pour les cartes solutions */
.card {
    background: #f8f9fa;
    box-shadow: 0 3px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

/* Style pour les icônes */
.card .d-inline-flex {
    background: linear-gradient(145deg, #1a1a1a, #2c2c2c);
    box-shadow: 5px 5px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease-in-out;
}
.u-line-icon-pro {
    font-size: 1.2em;
    color: #ffffff; /* Assure une bonne visibilité des icônes sur fond sombre */
    margin-right: 8px;
}


/* Bouton Voir la démo */
.btn-outline-primary {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid #333 !important;
    background: #333 !important;
    color: white !important;
}

.btn-outline-primary:hover {
    background: transparent !important;
    color: #333 !important;
}

/* Style des SVG dans les icônes */
.card .d-inline-flex svg {
    transition: transform 0.3s ease;
}

/* Hover effects */
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.card:hover .d-inline-flex {
    transform: translateY(-3px);
    box-shadow: 8px 8px 15px rgba(0,0,0,0.2);
}

.card:hover svg {
    transform: scale(1.1);
}

/* ✅ Preloader - Fond sombre et animation bleu néon */
#loading {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

#loading-center {
    position: relative;
    width: 100px;
    height: 100px;
}

/* ✅ Objets lumineux */
.object {
    width: 20px;
    height: 20px;
    background: radial-gradient(circle, #00c3ff, #007bff);
    border-radius: 50%;
    position: absolute;
    animation: pulse 1.5s infinite ease-in-out;
    box-shadow: 0 0 15px rgba(0, 195, 255, 0.8);
}

/* ✅ Positions des objets */
#object_one { top: 0; left: 50%; transform: translateX(-50%); }
#object_two { bottom: 0; left: 50%; transform: translateX(-50%); }
#object_three { left: 0; top: 50%; transform: translateY(-50%); }
#object_four { right: 0; top: 50%; transform: translateY(-50%); }

/* ✅ Animation pulsante */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.5); opacity: 0.6; }
    100% { transform: scale(1); opacity: 1; }
}

/* ✅ Header et Navigation */
.u-header__section {
    padding: 0.5rem 0;
}

.container {
    max-width: 1440px !important;
    padding: 0 2rem;
}

/* Ajustement de la navbar */
.navbar-nav {
    align-items: center !important;
    gap: 0.5rem;
    flex-wrap: nowrap !important;
}

.navbar-expand-lg .navbar-nav {
    flex-direction: row !important;
}

/* Style des liens de navigation */
.navbar-nav .nav-link {
    padding: 0.5rem 0.75rem !important;
    color: white !important;
    font-size: 14px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.navbar-nav .nav-link:hover {
    color: var(--primary-purple) !important;
}

/* Style spécifique pour Assistant IA */
.nav-link.assistant-ia {
    color: #00c3ff !important;
    font-weight: bold;
    padding: 8px 15px !important;
    text-transform: uppercase;
    transition: text-shadow 0.3s ease-in-out, color 0.3s ease-in-out;
}

.nav-link.assistant-ia:hover {
    color: #ffffff !important;
    text-shadow: 0 0 15px rgba(0, 195, 255, 1);
}

/* Style du bouton Satisfait ou remboursé */
.u-btn-primary.satisfaction {
    background: linear-gradient(145deg, var(--secondary-purple), var(--primary-purple)) !important;
    color: white !important;
    border: none !important;
    padding: 8px 15px !important;
    font-size: 12px !important;
    border-radius: 6px !important;
    box-shadow: 0 0 8px rgba(0, 195, 255, 0.6) !important;
    transition: all 0.3s ease-in-out !important;
    text-transform: uppercase !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.u-btn-primary.satisfaction:hover {
    background: linear-gradient(145deg, #00c3ff, #007bff) !important;
    box-shadow: 0 0 12px rgba(0, 195, 255, 1) !important;
    transform: translateY(-1px) !important;
    text-decoration: none !important;
    color: white !important;
}

/* Ajustement des espacements et conteneurs */
.ml-3.d-none.d-lg-block {
    margin-left: 1rem !important;
}

.g-mx-10 {
    margin-left: 0.5rem !important;
    margin-right: 0.5rem !important;
}

/* ✅ Scrollbar noire et blanche en dégradé */
::-webkit-scrollbar {
    width: 8px; /* Largeur de la scrollbar */
    height: 8px; /* Hauteur pour les scrollbars horizontales */
}

::-webkit-scrollbar-track {
    background: #1a1a1a; /* Fond du rail en noir */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(145deg, #ffffff, #2c2c2c); /* Dégradé blanc vers noir */
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.4); /* Effet lumineux léger */
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(145deg, #2c2c2c, #ffffff); /* Inversion du dégradé au survol */
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

/* Correction flex pour la navigation */
.navbar {
    display: flex !important;
    align-items: center !important;
}

.navbar-collapse {
    flex-grow: 0 !important;
}

.navbar > .container {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
}

/* ✅ Style du bouton principal */
.btn-primary {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(145deg, var(--primary-purple), var(--secondary-purple)) !important; /* Dégradé bleu foncé vers bleu clair */
    color: #fff !important; /* Texte blanc */
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    text-align: center;
    text-decoration: none; /* Supprime le soulignement */
    border: none; /* Pas de bordure visible */
    border-radius: 8px; /* Coins légèrement arrondis */
    box-shadow: 0 4px 8px rgba(139, 92, 246, 0.4) !important; /* Ombre bleu éclatant */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    user-select: none; /* Empêche la sélection */
    -webkit-tap-highlight-color: transparent; /* Supprime le surlignage sur mobile */
}

/* ✅ Effet au survol */
.btn-primary:hover {
    background: linear-gradient(145deg, var(--secondary-purple), var(--primary-purple)) !important; /* Dégradé bleu clair vers bleu foncé */
    box-shadow: 0 6px 12px rgba(167, 139, 250, 0.6) !important; /* Ombre renforcée */
    transform: translateY(-2px); /* Soulèvement subtil */
}

/* ✅ Effet au clic */
.btn-primary:active {
    background: #8B5CF6; /* Bleu foncé */
    transform: translateY(1px); /* Enfoncement */
    box-shadow: inset 0 3px 6px rgba(139, 92, 246, 0.4); /* Ombre interne */
}

/* Pour éviter les conflits avec Bootstrap */
.btn.btn-primary {
    border: none !important;
    background-image: linear-gradient(145deg, var(--primary-purple), var(--secondary-purple)) !important;
}
/* ✅ Scrollbar noire et blanche en dégradé */
::-webkit-scrollbar {
    width: 8px; /* Largeur de la scrollbar */
    height: 8px; /* Hauteur pour les scrollbars horizontales */
}

::-webkit-scrollbar-track {
    background: #1a1a1a; /* Fond du rail en noir */
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(145deg, #ffffff, #2c2c2c); /* Dégradé blanc vers noir */
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.4); /* Effet lumineux léger */
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(145deg, #2c2c2c, #ffffff); /* Inversion du dégradé au survol */
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.6);
}

/* Desktop Navigation */
@media (min-width: 992px) {
    .navbar-expand-lg .navbar-nav {
        flex-wrap: nowrap;
    }

    .ml-auto {
        margin-left: auto !important;
    }
}

/* Styles mobile pour la section overview */
@media (max-width: 991.98px) {
    /* Layout principal */
    html body #overview .row.align-items-stretch {
        display: flex !important;
        flex-direction: column !important;
        min-height: auto !important;
        height: auto !important;
    }

    /* Container de l'image */
    html body #overview .g-bg-img-hero,
    html body #overview .g-bg-img-hero.g-min-height-400 {
        margin-top: 90px !important;  /* Augmenté pour descendre l'image */
        height: 350px !important;
        min-height: 350px !important;
        max-height: 350px !important;
        background-size: cover !important;
        background-position: center 30% !important;
        position: relative !important;
        display: block !important;
        width: 100% !important;
    }

    /* Container du texte */
    html body #overview .col-lg-6.d-flex.align-items-center {
        margin-top: -30px !important;  /* Réduit la marge négative pour descendre le texte */
        padding: 0 !important;
    }

    /* Ajustements du titre */
    html body #overview h3.g-font-size-36 {
        margin-top: -20px !important;  /* Réduit la marge négative */
        padding-top: 0 !important;
        font-size: 28px !important;
        line-height: 1.3 !important;
    }

    /* Reset des classes d'espacement */
    html body #overview .g-py-90,
    html body #overview .g-px-60 {
        padding: 0 !important;
    }

    /* Contenu texte intérieur */
    html body #overview .text-left.g-ml-auto.g-mr-auto {
        padding: 20px !important;
    }
}

/* Ajustements pour les très petits écrans */
@media (max-width: 576px) {
    html body #overview .g-bg-img-hero,
    html body #overview .g-bg-img-hero.g-min-height-400 {
        height: 300px !important;
        min-height: 300px !important;
        margin-top: 80px !important;  /* Ajusté pour les petits écrans */
    }

    html body #overview .g-px-60 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}
/* 📱 Mode mobile : Menu en colonne */
@media (max-width: 991.98px) {
    .navbar-nav {
        flex-direction: column !important;
        width: 100%;
        text-align: left;
    }

    .nav-item {
        width: 100%;
        padding: 10px 0;
    }

    /* Alignement des liens */
    .navbar-nav .nav-link {
        text-align: left;
        padding-left: 15px !important;
    }

    /* Menu déroulant en colonne */
    .dropdown-menu {
        display: block;
        position: relative !important;
        background: transparent;
        border: none;
        box-shadow: none;
        width: 100%;
        padding-left: 20px;
    }

    .dropdown-item {
        padding: 8px 20px !important;
    }
}

    /* Styles pour les plans tarifaires sur mobile */
    @media (max-width: 991.98px) {
        .row .col-lg-3 {
            margin-bottom: 30px;
            padding-left: 20px;
            padding-right: 20px;
        }

        .row .col-lg-3:last-child {
            margin-bottom: 0;
        }

        article {
            box-shadow: 0 0 15px rgba(0,0,0,0.1);
            transform: none !important;
            margin: 0 !important;
        }

        /* Plan Premium (noir) */
        article.g-bg-black {
            transform: none !important;
            box-shadow: 0 0 20px rgba(0,0,0,0.2);
        }

        /* Réinitialisation de la mise à l'échelle */
        .position-relative {
            transform: none !important;
        }
    }

    /* Ajustements pour très petits écrans */
    @media (max-width: 576px) {
        .g-pa-40 {
            padding: 25px !important;
        }

        .row .col-lg-3 {
            padding-left: 15px;
            padding-right: 15px;
        }

        article {
            height: auto !important;
            min-height: 600px;
        }
    }

/* Logo */
.navbar-brand {
    font-size: 1.25rem;
    padding: 0.5rem 1rem;
    margin-right: 2rem;
}

/* Container flex pour le header */
.d-flex.justify-content-between.align-items-center {
    gap: 1rem;
}

.hamburger {
    transition: all 0.3s ease;
}

.hamburger.is-active .hamburger-inner,
.hamburger.is-active .hamburger-inner::before,
.hamburger.is-active .hamburger-inner::after {
    background-color: #fff;
}

.navbar-collapse {
    transition: all 0.3s ease;
}

.navbar-toggler:focus {
    outline: none;
}
/* Style pour les sous-menus */
.dropdown-menu {
    background-color: #000 !important; /* Couleur de fond bleue pour les sous-menus */
    color: white !important; /* Texte blanc pour contraster avec le fond bleu */
}

/* Effet de survol pour les éléments des sous-menus */
.dropdown-menu .dropdown-item:hover {
    background-color: var(--primary-purple) !important; /* Couleur de fond au survol */
    color: black !important; /* Texte noir */
}
