/* HEADER COMME L'ACCUEIL */

.topbar {
    background: #ffffff;
    border-bottom: 1px solid #d9d9d9;
}

.container {
    width: min(1200px, 92%);
    margin: 0 auto;
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
}

.logo img {
    width: 78px;
    height: 78px;
    object-fit: contain;
    display: block;
}

.logo-content {
    display: flex;
    flex-direction: column;
}

.logo-subtitle {
    font-family: 'Nunito', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    color: #666666;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.logo-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: 0.03em;
    line-height: 1.1;
}

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

.nav a {
    text-decoration: none;
    color: #666666;
    font-size: 1rem;
    font-weight: 500;
    font-family: 'Nunito', sans-serif;
    transition: color 0.2s ease, background 0.3s ease;
}

.nav a:hover,
.nav a.active {
    color: #2f5233;
}

.nav a.client-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 50px;
    padding: 0 30px;
    background: #2F5233;
    color: #ffffff !important;
    border-radius: 6px;
    font-weight: 700;
    white-space: nowrap;
}

.nav a.client-btn:hover {
    background: #234019;
    color: #ffffff !important;
}

.client-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #fdfdfd;
    padding: 0.3rem 0.5rem 0.3rem 1.2rem;
    border-radius: 50px;
    border: 1px solid #eee;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.client-greeting {
    font-size: 0.95rem;
    font-weight: 600;
    color: #1a1a1a;
    font-family: 'Cormorant Garamond', serif;
}

.client-btn-logout {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: #f5f5f5;
    color: #666;
    border-radius: 50%;
    transition: all 0.2s ease;
    text-decoration: none;
}

.client-btn-logout:hover {
    background: #ff4d4f;
    color: white;
}

@media (max-width: 900px) {
    .topbar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 0.8rem 0;
    }

    .nav {
        gap: 1rem;
        flex-wrap: wrap;
    }

    .logo img {
        width: 62px;
        height: 62px;
    }

    .logo-text {
        font-size: 1.5rem;
    }

    .logo-subtitle {
        font-size: 0.68rem;
    }

    .nav a.client-btn {
        height: 46px;
        padding: 0 22px;
        font-size: 0.95rem;
    }
}

/* COMMUN HERO SECTION (LIKE HOME) */
.hero-home {
    position: relative;
    height: 700px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hero-content-wrap {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
}

.hero-content {
    text-align: center;
    max-width: 900px;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    color: white;
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 300;
    line-height: 1.1;
}

.hero-content h1 span {
    color: #F5EFE3;
}

.hero-content p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0 auto 2.5rem;
    max-width: 700px;
    line-height: 1.8;
    font-size: 1.25rem;
}

@media (max-width: 768px) {
    .hero-home {
        height: auto;
        min-height: 600px;
    }

    .hero-content-wrap {
        padding: 4rem 1rem;
    }

    .hero-content p {
        font-size: 1.05rem;
    }
}