.navbar {
    position: relative;
    background: #fbfcfe; /* blanc cassé */
    padding: 14px 0;
    z-index: 1000;
    overflow: hidden;
}

/* Ombre légère */
.navbar.shadow-sm {
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

/* ============================= */
/* LOGO */
/* ============================= */

.navbar-brand img {
    max-height: 55px;
}

/* ============================= */
/* LIENS NAV */
/* ============================= */

.navbar-nav .nav-link {
    font-weight: 600;
    color: #0b1f33; /* encre foncée */
    padding: 8px 14px;
    border-radius: 12px;
    transition: all 0.25s ease;
}

/* Hover soft */
.navbar-nav .nav-link:hover {
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
}

/* ============================= */
/* BURGER AVEC CADRE */
/* ============================= */

.navbar-toggler {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: 10px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

/* Icône */
.navbar-toggler-icon {
    width: 20px;
    height: 20px;
}

/* Hover */
.navbar-toggler:hover {
    background: #f1f5f9;
    border-color: rgba(37, 99, 235, 0.35);
}

/* Focus propre */
.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

/* Active (quand menu ouvert) */
.navbar-toggler[aria-expanded="true"] {
    background: #eef2ff;
    border-color: #2563eb;
}


/* ============================= */
/* OFFCANVAS MOBILE */
/* ============================= */

.offcanvas-start {
    width: 280px;
    border-radius: 0 28px 28px 0;
    background: #fbfcfe; /* blanc cassé */
}

/* Décor offcanvas */
.offcanvas::before {
    content: "";
    position: absolute;
    top: -120px;
    right: -120px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: #2563eb;
    opacity: 0.05;
    z-index: 0;
}

/* Header */
.offcanvas-header {
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    position: relative;
    z-index: 1;
}

/* Body */
.offcanvas-body {
    position: relative;
    z-index: 1;
}

/* Liens mobile */
.offcanvas-body .nav-link {
    font-weight: 600;
    color: #0b1f33;
    padding: 12px 14px;
    border-radius: 14px;
    transition: all 0.25s ease;
}

.offcanvas-body .nav-link:hover {
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
}

/* ============================= */
/* RESPONSIVE */
/* ============================= */

@media (max-width: 991px) {
    .navbar::after {
        display: none;
    }
}
