/* --- HERO SECTION --- */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    backdrop-filter: blur(3px);
}

/* --- TOP BAR --- */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 5%;
    width: 100%;
    z-index: 10;
}

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    background-color: black;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.login-btn {
    text-decoration: none;
    color: white;
    font-weight: 600;
    border: 2px solid white;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.login-btn:hover {
    background: white;
    color: #333;
}
.nav-user-pill { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid #ddd; padding: 5px 15px 5px 5px; border-radius: 30px; text-decoration: none; color: #333; font-weight: 600; font-size: 0.9rem; }
.nav-avatar-mini { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
/* --- CONTENU --- */
.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 5%;
    flex-grow: 1;
    padding-bottom: 60px;
    z-index: 2;
}

.text-content {
    max-width: 800px;
    margin-bottom: 50px;
}

h1 {
    font-size: 3.5rem;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
    font-weight: 600;
}

.subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    max-width: 600px;
    line-height: 1.6;
}

.cta-pill {
    display: inline-flex;
    align-items: center;
    background-color: #fff;
    color: #000;
    padding: 12px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s;
}

.cta-pill:hover {
    transform: scale(1.05);
}

.icon-arrow {
    margin-left: 10px;
    background: #000;
    color: white;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* --- BARRE DE RECHERCHE (4 champs) --- */
.search-container {
    background: white;
    border-radius: 50px;
    padding: 10px 15px;
    max-width: 1050px; /* Élargi pour accueillir le 4ème champ */
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

.search-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.search-item {
    display: flex;
    flex-direction: column;
    padding: 0 15px; /* Un peu moins de padding latéral */
    flex: 1;
}

.search-item label {
    font-size: 0.75rem; /* Label un peu plus petit */
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-item input,
.search-item select {
    border: none;
    background: transparent;
    font-size: 0.9rem;
    color: #555;
    outline: none;
    width: 100%;
    font-family: inherit;
    cursor: pointer;
}

/* Style spécifique pour les inputs date pour qu'ils s'alignent bien */
input[type="date"] {
    text-transform: uppercase;
}

.divider {
    width: 1px;
    height: 35px;
    background-color: #e0e0e0;
}

.search-btn {
    background-color: #000;
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    font-size: 1rem;
    transition: background 0.3s;
    margin-left: 10px;
}

.search-btn:hover {
    background-color: #292929;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    h1 {
        font-size: 2.5rem;
    }

    .search-container {
        border-radius: 20px;
        padding: 20px;
        margin-top: 20px;
        max-width: 100%; /* Pleine largeur sur mobile */
    }

    .search-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }

    .divider {
        display: none;
    }

    .search-item {
        padding: 10px 0;
        border-bottom: 1px solid #eee;
    }
    .search-item:last-of-type {
        border-bottom: none;
    }

    .search-btn {
        width: 100%;
        margin-top: 10px;
        margin-left: 0;
    }
}

.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-right-group {
    display: flex;
    align-items: center;
    gap: 15px;
}
.nav-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #ffffff;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, background-color 0.2s;
}

.nav-icon-btn:hover {
    background-color: #f2f2f2;
}

.nav-bot-link {
    height: 45px;
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: #ffffff;
    color: #000;
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.2s;
    border: 1px solid transparent;
}

.nav-bot-link:hover {
    background-color: #bbdefb;
    border-color: #90caf9;
}

.bot-emoji { font-size: 1.2rem; }
