
/* HEADER */

.site-header {
    width: 100%;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;

    width: 100%;
    min-height: 78px;
    padding: 0 32px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;

    background: rgba(47, 38, 38, 0.96);
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}

.logo-link {
    display: flex;
    flex-shrink: 0;
}

.nav-logo {
    width: 58px;
    height: 58px;
    object-fit: cover;
    border-radius: 50%;
}

.site-tagline {
    margin: 0;
    color: var(--light);
    font-size: clamp(0.9rem, 1.4vw, 1.2rem);
    letter-spacing: 0.08em;
    white-space: nowrap;
}

.nav-right {
    display: flex;
    align-items: center;
}

.main-menu {
    display: flex;
    align-items: center;
    gap: 24px;

    list-style: none;
    margin: 0;
    padding: 0;
}

.main-menu > li {
    position: relative;
}

.main-menu a,
.dropdown-btn {
    color: var(--light);
    font-size: 1rem;
    font-family: Arial, sans-serif;

    background: none;
    border: none;
    cursor: pointer;

    padding: 10px 0;
    transition: color 0.2s ease;
}

.main-menu a:hover,
.dropdown-btn:hover {
    color: var(--accent);
}

.nav-contact {
    padding: 10px 18px !important;
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 999px;
}

.nav-contact:hover {
    border-color: var(--accent);
}

/* SOUS-MENUS */

.submenu {
    position: absolute;
    top: calc(100% + 18px);
    left: 0;

    min-width: 180px;
    list-style: none;
    margin: 0;
    padding: 12px;

    background: var(--dark);
    border-radius: 0 0 16px 16px;
    box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);

    display: none;
}

.submenu.show {
    display: block;
}

.submenu li {
    padding: 2px 0;
}

.submenu a {
    display: block;
    padding: 9px 10px;
    border-radius: 9px;
    white-space: nowrap;
}

.submenu a:hover {
    background: rgba(255, 255, 255, 0.08);
}

/* BURGER */

.burger {
    display: none;
    width: 44px;
    height: 44px;
    padding: 6px;

    background: transparent;
    border: none;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 100%;
    height: 3px;
    margin: 6px 0;

    background: white;
    border-radius: 999px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.burger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

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

.burger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* FOOTER */

.site-footer {
    background: var(--dark);
    color: var(--light);
}

.footer-inner {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
    padding: 56px 0;

    display: grid;
    grid-template-columns: 1.4fr repeat(4, 1fr);
    gap: 40px;
}

.footer-brand h2,
.footer-column h3,
.footer-social h3 {
    margin-top: 0;
}

.footer-logo {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 16px;
}

.footer-brand h2 {
    margin-bottom: 10px;
    letter-spacing: 0.14em;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
}

.footer-column,
.footer-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-column h3,
.footer-social h3 {
    font-size: 1rem;
    color: var(--accent);
}

.footer-column a {
    color: rgba(255, 255, 255, 0.78);
    transition: color 0.2s ease, transform 0.2s ease;
}

.footer-column a:hover {
    color: white;
    transform: translateX(4px);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 18px;
}

.social-links img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.social-links a:hover img {
    transform: translateY(-3px) scale(1.08);
}

.footer-btn {
    display: inline-block;
    width: fit-content;
    padding: 12px 20px;

    background: var(--cream);
    color: var(--dark);
    border-radius: 999px;

    font-weight: 700;
    transition: background 0.2s ease, transform 0.2s ease;
}

.footer-btn:hover {
    background: white;
    transform: translateY(-2px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    text-align: center;
    padding: 18px 20px;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
}

/* RESPONSIVE TABLETTE */

@media (max-width: 1050px) {
    .navbar {
        padding: 0 20px;
    }

    .main-menu {
        gap: 15px;
    }

    .main-menu a,
    .dropdown-btn {
        font-size: 0.94rem;
    }

    .site-tagline {
        white-space: normal;
        max-width: 220px;
        line-height: 1.2;
    }

    .footer-inner {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-brand {
        grid-column: span 3;
    }
}

/* RESPONSIVE MOBILE */

@media (max-width: 760px) {
    body {
        padding-top: 70px;
    }

    .navbar {
        min-height: 70px;
        padding: 8px 16px;
    }

    .nav-logo {
        width: 50px;
        height: 50px;
    }

    .site-tagline {
        max-width: 170px;
        font-size: 0.82rem;
        letter-spacing: 0.04em;
    }

    .burger {
        display: block;
        flex-shrink: 0;
    }

    .nav-right {
        position: fixed;
        top: 70px;
        left: 0;

        width: 100%;
        max-height: calc(100vh - 70px);
        overflow-y: auto;

        background: rgba(47, 38, 38, 0.98);
        padding: 18px;

        transform: translateX(100%);
        transition: transform 0.25s ease;
    }

    .nav-right.open {
        transform: translateX(0);
    }

    .main-menu {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        width: 100%;
    }

    .main-menu > li {
        width: 100%;
    }

    .main-menu a,
    .dropdown-btn {
        display: block;
        width: 100%;
        padding: 14px 10px;
        text-align: left;
        font-size: 1.05rem;
    }

    .nav-contact {
        border: none;
        padding: 14px 10px !important;
        border-radius: 0;
    }

    .submenu {
        position: static;
        min-width: 100%;

        margin: 0 0 8px;
        padding: 8px;

        background: rgba(0, 0, 0, 0.18);
        border-radius: 12px;
        box-shadow: none;
    }

    .submenu a {
        padding-left: 22px;
        font-size: 0.96rem;
    }

    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
        padding: 44px 0;
    }

    .footer-brand {
        grid-column: span 2;
    }

    .footer-social {
        grid-column: span 2;
    }
}

/* TRÈS PETITS ÉCRANS */

@media (max-width: 430px) {
    .navbar {
        padding: 8px 12px;
    }

    .nav-left {
        gap: 10px;
    }

    .nav-logo {
        width: 44px;
        height: 44px;
    }

    .site-tagline {
        max-width: 135px;
        font-size: 0.74rem;
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .footer-brand,
    .footer-social {
        grid-column: span 1;
    }

    .footer-inner {
        width: min(100% - 28px, 1200px);
    }
}