@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Plus+Jakarta+Sans:wght@300;400;500;600;700&display=swap');

/* Configuration des couleurs et polices personnalisées */
@layer base {
  :root {
    --color-emerald-forest: #1E4D3A;
    --color-gold-accent: #C9A227;
    --color-luxury-white: #FFFFFF;
    --color-soft-gray: #F5F5F5;
    --color-dark-charcoal: #1A1A1A;
  }
}

/* Styles personnalisés pour le menu déroulant */
.dropdown:hover .dropdown-menu {
    display: block;
}

.hover-gold-glow:hover {
    box-shadow: 0 0 15px rgba(201, 162, 39, 0.4);
}


body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: #F5F5F5;
    color: #1A1A1A;
}
.bg-luxury-gradient {
    background: linear-gradient(135deg, #1E4D3A 0%, #0D261C 100%);
}
.text-gold-gradient {
    background: linear-gradient(135deg, #F3D067 0%, #C9A227 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.border-gold-gradient {
    border-image: linear-gradient(to right, #C9A227, #F3D067) 1;
}
.hover-gold-glow:hover {
    box-shadow: 0 0 15px rgba(201, 162, 39, 0.4);
}
.product-card:hover .product-img {
    transform: scale(1.08);
}
.logo-src {
  height: 60px;
  width: 60px;
  background: url(img/logo-titre.png);
}
.scroll-smooth {
  scroll-behavior: smooth;
  font-size: 80%;
}


/* menu */
/* Reset basique */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f8f9fa;
    min-height: 100vh;
}

/* Barre de navigation */
.navbar {
    /*! background-color: #0d3b2e; */ /* Vert foncé / Emerald Forest */
    /*! padding: 0 2rem; */
}

.nav-menu {
    display: flex;
    list-style: none;
}

/* Élément parent Dropdown */
.dropdown {
    position: relative;
}

.dropdown > a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 1.25rem 1rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.dropdown > a:hover,
.dropdown.active > a {
    color: #C9A227; /* Doré */
}

.dropdown > a .bi-chevron-down {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.dropdown.active > a .bi-chevron-down {
    transform: rotate(180deg);
}

/* Sous-menu (Menu déroulant) */
.services-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 320px;
    background-color: #ffffff;
    list-style: none;
    border-radius: 14px;
    border-top: 3px solid #C9A227;
    box-shadow: 0 20px 45px rgba(30, 77, 58, 0.18), 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 0.6rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.97);
    transform-origin: top left;
    transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.3s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1000;
    border-left: 1px solid rgba(0, 0, 0, 0.05);
    border-right: 1px solid rgba(0, 0, 0, 0.05);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* État actif déclenché par le JS ou Clic */
.dropdown.active .services-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Liens à l'intérieur du sous-menu */
.services-dropdown li {
    margin-bottom: 2px;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.services-dropdown li:last-child {
    margin-bottom: 0;
}

/* Cascade d'apparition : chaque élément suit le précédent avec un léger délai */
.dropdown.active .services-dropdown li,
.dropdown:hover .services-dropdown li {
    opacity: 1;
    transform: translateX(0);
}

.services-dropdown li:nth-child(1) { transition-delay: 0.03s; }
.services-dropdown li:nth-child(2) { transition-delay: 0.07s; }
.services-dropdown li:nth-child(3) { transition-delay: 0.11s; }
.services-dropdown li:nth-child(4) { transition-delay: 0.15s; }
.services-dropdown li:nth-child(5) { transition-delay: 0.19s; }
.services-dropdown li:nth-child(6) { transition-delay: 0.23s; }

.services-dropdown a {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    color: #333333;
    text-decoration: none;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    transition: background-color 0.25s ease, color 0.25s ease, padding-left 0.25s ease;
}

/* Barre d'accent dorée qui glisse depuis la gauche au survol */
.services-dropdown a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 3px;
    border-radius: 3px;
    background: #C9A227;
    transform: scaleY(0);
    transition: transform 0.25s ease;
}

.services-dropdown a:hover {
    background: linear-gradient(90deg, rgba(201, 162, 39, 0.08), rgba(201, 162, 39, 0) 70%);
    color: #0d3b2e;
    padding-left: 16px;
}

.services-dropdown a:hover::before {
    transform: scaleY(1);
}

/* Badge circulaire autour de chaque icône */
.services-dropdown .sd-icon {
    width: 38px;
    height: 38px;
    min-width: 38px;
    border-radius: 50%;
    background-color: rgba(201, 162, 39, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.25s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.services-dropdown .sd-icon i {
    font-size: 1.1rem;
    color: #C9A227;
    margin: 0;
    transition: color 0.25s ease;
}

.services-dropdown a:hover .sd-icon {
    background-color: #1E4D3A;
    transform: scale(1.1) rotate(-6deg);
}

.services-dropdown a:hover .sd-icon i {
    color: #C9A227;
}

.services-dropdown div {
    display: flex;
    flex-direction: column;
}

.services-dropdown strong {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.2;
    background-image: linear-gradient(#0d3b2e, #0d3b2e);
    background-repeat: no-repeat;
    background-position: 0 100%;
    background-size: 0% 1.5px;
    transition: background-size 0.3s ease;
}

.services-dropdown a:hover strong {
    background-size: 100% 1.5px;
}

.services-dropdown small {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 2px;
    line-height: 1.3;
}

/* Gestion du Survol (Hover) sur Écran Large */
@media (min-width: 992px) {
    .dropdown:hover .services-dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0) scale(1);
    }

    .dropdown:hover > a .bi-chevron-down {
        transform: rotate(180deg);
    }
}
/* fin menu */

/* slide */
.py-20 {
  padding-top: 0rem !important; 
  padding-bottom: 0rem !important;
}
    /* Ajustement des couleurs de pagination Swiper */
    .swiper-pagination-bullet-active {
        background-color: #C9A227 !important;
    }
    .swiper-pagination-bullet {
        background-color: #ffffff;
    }
    .swiper-button-next, .swiper-button-prev {
        color: #C9A227 !important;
    }
/* fin slide */

/* Lisibilité du texte sur les images de fond du hero */
.hero-swiper h1,
.hero-swiper p,
.hero-swiper span.inline-block {
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.bg-emeraldForest\/95 {
  background-color: rgb(29, 48, 36) !important;
}