* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}

.container {
    max-width: 1400px;
    margin-inline: auto;
    padding-inline: 2rem;
}

nav {
    background-color: white;
    padding: 1.5rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: relative;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    order: 1;
}

.logo img {
    height: 50px;
    width: auto;
}

/* Hamburger menu */
.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #2B3036;
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 7px);
}

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

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

/* Liens de navigation */
.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    order: 3;
}

.nav-link {
    position: relative;
}

.nav-link > a {
    text-decoration: none;
    color: #2B3036;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    display: block;
    transition: color 0.3s ease;
}

.nav-link > a:hover {
    color: #B80C09;
}

/* Menu déroulant */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    min-width: 200px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
    margin-top: 0.5rem;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.25rem;
    color: #2B3036;
    text-decoration: none;
    transition: background-color 0.2s ease;
    font-size: 0.95rem;
}

.dropdown-menu a:first-child {
    border-radius: 4px 4px 0 0;
}

.dropdown-menu a:last-child {
    border-radius: 0 0 4px 4px;
}

.dropdown-menu a:hover {
    background-color: #fde8e7;
    color: #B80C09;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 3rem;
    order: 2;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.icon-wrapper {
    width: 40px;
    height: 40px;
    background-color: #fde8e7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-icon-nav, .clock-icon {
    width: 20px;
    height: 20px;
    stroke: #B80C09;
    fill: none;
    stroke-width: 2;
}

.nav-text {
    display: flex;
    flex-direction: column;
}

.nav-phone {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2B3036 !important;
    text-decoration: none !important;
}

.nav-phone a {
    color: #2B3036 !important;
    text-decoration: none !important;
}

.nav-label {
    font-size: 0.875rem;
    color: #686D6C;
}

.nav-title {
    font-size: 1rem;
    font-weight: 700;
    color: #2B3036;
}

/* Responsive */
@media (max-width: 992px) {
    .hamburger {
        display: flex;
        order: 3;
    }

    .nav-right {
        order: 2;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 300px;
        background-color: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 2rem 2rem;
        box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
        transition: right 0.3s ease;
        z-index: 1000;
        gap: 0;
        order: 4;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-link > a {
        padding: 1rem 0;
        width: 100%;
    }

    /* Menu déroulant mobile */
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin-top: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown.active .dropdown-menu {
        max-height: 300px;
    }

    .dropdown-menu a {
        padding: 0.75rem 0 0.75rem 1.5rem;
        font-size: 0.9rem;
    }

    .dropdown > a::after {
        content: '▼';
        float: right;
        font-size: 0.7rem;
        transition: transform 0.3s ease;
    }

    .dropdown.active > a::after {
        transform: rotate(180deg);
    }

    .nav-right {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .nav-content {
        flex-wrap: wrap;
    }

    .nav-right {
        width: 100%;
        justify-content: space-between;
        order: 3;
    }

    .logo {
        order: 1;
    }

    .hamburger {
        order: 2;
    }

    .nav-links {
        order: 4;
    }

    .nav-item {
        gap: 0.5rem;
    }

    .icon-wrapper {
        width: 35px;
        height: 35px;
    }

    .phone-icon-nav, .clock-icon {
        width: 18px;
        height: 18px;
    }

    .nav-phone, .nav-title {
        font-size: 0.9rem;
    }

    .nav-label {
        font-size: 0.75rem;
    }

    .logo img {
        height: 40px;
    }
}

@media (max-width: 480px) {
    .nav-right {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

body.menu-open {
    overflow: hidden;
}

/* ----------------- STICKY WHATSAPP BUTTON ----------------- */

.whatsapp-sticky {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
    text-decoration: none;
}

.whatsapp-sticky:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-sticky svg {
    width: 32px;
    height: 32px;
    color: #ffffff;
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.7);
    }
}

.whatsapp-sticky {
    animation: pulse-whatsapp 2s infinite;
}

@media (max-width: 768px) {
    .whatsapp-sticky {
        width: 56px;
        height: 56px;
        bottom: 1.5rem;
        right: 1.5rem;
    }

    .whatsapp-sticky svg {
        width: 28px;
        height: 28px;
    }
}
