/* ===== NAVBAR ===== */

.navbar {
    position: sticky;
    top: 20px;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
    border-radius: 50px;
    width: min(95%, 1500px);
    margin: 20px auto;
    padding: 0;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 90px;
    padding: 0 2rem;
    gap: 2rem;
    position: relative;
}

.logo-link {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo {
    display: block;
    width: 170px;
    height: auto;
    max-width: 100%;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    list-style: none;
    gap: 1rem;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
}

.nav-menu li {
    flex-shrink: 0;
}

.nav-menu a {
    display: block;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.7rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-menu a:hover {
    background: #C19A6B;
    color: white;
}

/* ===== BURGER ===== */

.burger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 42px;
    height: 42px;
    padding: 0;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
}

.burger span {
    display: block;
    width: 26px;
    height: 3px;
    background: #333;
    border-radius: 3px;
    transition: 0.3s ease;
}

/* ===== FOOTER ===== */

.footer {
    background: #3d3d3d;
    color: white;
    padding: 2rem 1rem;
}

.footer-container {
    width: min(90%, 1200px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    align-items: start;
}

.footer-gauche,
.footer-centre,
.footer-droite {
    min-width: 0;
}

.footer-gauche p,
.footer-centre p {
    margin: 0 0 0.5rem 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.footer-centre {
    text-align: center;
}

.footer-centre a {
    color: white;
    text-decoration: none;
    font-size: 0.95rem;
}

.footer-centre a:hover {
    text-decoration: underline;
}

.map-responsive {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 12px;
    min-height: 250px;
}

.map-responsive iframe {
    width: 100%;
    height: 250px;
    border: 0;
    display: block;
}

/* ===== TABLETTE ===== */

@media (max-width: 1100px) {
    .navbar {
        width: min(96%, 1200px);
        border-radius: 40px;
    }

    .nav-container {
        min-height: 80px;
        padding: 0 1.5rem;
        gap: 1rem;
    }

    .logo {
        width: 140px;
    }

    .nav-menu {
        gap: 0.5rem;
    }

    .nav-menu a {
        font-size: 0.95rem;
        padding: 0.65rem 0.8rem;
    }

    .footer-container {
        grid-template-columns: 1fr 1fr;
    }

    .footer-droite {
        grid-column: 1 / -1;
    }

    .map-responsive iframe {
        height: 300px;
    }
}

/* ===== MOBILE ===== */

@media (max-width: 768px) {
    .navbar {
        position: relative;
        top: 0;
        width: calc(100% - 1.5rem);
        margin: 1rem auto;
        border-radius: 24px;
        overflow: visible;
    }

    .nav-container {
        min-height: 72px;
        padding: 0.8rem 1rem;
        gap: 0;
    }

    .logo {
        width: 115px;
    }

    .burger {
        display: flex;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: calc(100% + 10px);
        left: 50%;
        transform: translateX(-50%);
        width: calc(100% - 2rem);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        border-radius: 20px;
        box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
        padding: 1rem;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        text-align: center;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu a {
        width: 100%;
        text-align: center;
        font-size: 0.95rem;
        padding: 0.85rem 1rem;
    }

    .footer {
        padding: 2rem 1rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.5rem;
    }

    .footer-centre {
        text-align: center;
    }

    .map-responsive iframe {
        height: 220px;
    }
}

/* ===== TRÈS PETITS ÉCRANS ===== */

@media (max-width: 480px) {
    .nav-container {
        min-height: 68px;
        padding: 0.7rem 0.9rem;
    }

    .logo {
        width: 100px;
    }

    .burger {
        width: 38px;
        height: 38px;
    }

    .burger span {
        width: 22px;
    }

    .nav-menu {
        width: calc(100% - 1rem);
        padding: 0.8rem;
    }

    .nav-menu a {
        font-size: 0.9rem;
        padding: 0.8rem;
    }

    .footer-gauche p,
    .footer-centre a {
        font-size: 0.9rem;
    }

    .map-responsive iframe {
        height: 200px;
    }
}