/* ===== RÉINITIALISATION ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #FFFCF6;
}

/* ===== FONTS ===== */
@font-face {
    font-family: 'Barbra';
    src: url('../fonts/barbra-font/Barbra-Regular.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter/Inter-VariableFont_opsz\,wght.ttf') format('truetype');
    font-display: swap;
}

/* ===== HEADER ===== */
.site-header {
    width: 100%;
    background-color: #49252F;
    padding: 40px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    margin-bottom: 20px;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

.site-header .logo img {
    height: 120px;
    width: auto;
    border-radius: 60%;
}

/* Menu classique */
.main-nav .nav-list {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-nav .nav-item a {
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: #FFFCF6;
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav .nav-item a:hover {
    color: #EBD3BB; 
}

/* ===== MENU BURGER ===== */
.burger {
    display: none; 
    position: relative;
    flex-direction: column;
    justify-content: space-around;
    width: 40px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 2000;
}

.burger span {
    width: 100%;
    height: 3px;
    background-color: #FFFCF6;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-cross {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
}

/* Quand le menu est ouvert */
.burger.open span {
    display: none; /* masquer les 3 barres */
}

.burger.open .burger-cross {
    display: block; /* afficher la croix */
}

/* ===== FOOTER ===== */
.site-footer {
    width: 100%;
    background-color: #49252F;
    color: #FFFCF6;
    padding: 30px 0;
    margin-top: 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    flex-wrap: wrap;
}

.footer-left, .footer-right, .footer-center {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.footer-left a, .footer-right a {
    color: #FFFCF6;
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    font-size: 1rem;
}

.footer-left a:hover, .footer-right a:hover {
    color: #EBD3BB; 
}

.footer-center .logo img {
    height: 100px;
    width: auto;
    border-radius: 60%;
}

.footer-right .linkedin img {
    height: 50px; 
    width: auto;
}

/* ===== MEDIA QUERIES ===== */

/* Tablette */
@media screen and (max-width: 1024px) {
    .main-nav {
        position: absolute;
        top: 100%;
        right: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        background-color: #49252F;
        transition: max-height 0.3s ease;
    }

    .main-nav.nav-active {
        max-height: 300px; 
        padding: 20px 0;
    }

    .main-nav .nav-list {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .burger {
        display: flex;
    }

    .header-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0 20px;
    }

    .site-header .logo img {
        height: 90px;
    }

    .main-nav .nav-item a {
        font-size: 1rem;
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .footer-left {
        align-items: center;
    }

    .footer-left a, .footer-right a {
        font-size: 0.95rem;
    }

    .footer-center .logo img {
        height: 80px;
    }

    .footer-right .linkedin img {
        height: 40px;
    }
}

/* Mobile */
@media screen and (max-width: 768px) {
    .site-header {
        padding: 20px 0;
    }

    .site-header .logo img {
        height: 70px;
    }

    .main-nav .nav-list {
        gap: 10px;
    }

    .main-nav .nav-item a {
        font-size: 0.9rem;
    }

    .footer-container {
        padding: 0 10px;
    }

    .footer-left, .footer-right, .footer-center {
        gap: 10px;
    }

    .footer-center .logo img {
        height: 60px;
    }

    .footer-right .linkedin img {
        height: 30px;
    }
}