/* --- Mise en page Home --- */

.home-hero {
    position: relative;
    width: 100%;
    height: 500px;
    background-image: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.3)), url('/assets/images/bandeau.webp');
    background-size: cover;
    background-position: center;
    padding: 80px 10%;
    margin-bottom: 10px;
}

.hero-main-title {
    font-family: 'Poppins', sans-serif;
    color: white;
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.hero-sub-title {
    color: white;
    font-size: 1.4rem;
    font-weight: 600;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

/* La Box de recherche */
.search-card {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    width: 90%;
    max-width: 850px;
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    text-align: center;
    z-index: 5;
}

.search-card-title {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.search-row {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.search-field {
    position: relative;
    flex: 1;
}

.search-field input {
    width: 100%;
    padding: 12px 12px 12px 40px;
    background-color: var(--hover-grey-color); /* Gris clair */
    border: none;
    border-radius: 4px;
}

.search-field i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
}

.search-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.search-link-advanced {
    font-size: 0.8rem;
    color: #666;
    text-decoration: underline;
}

/* Section Présentation */
.home-intro {
    padding-top: 120px;
}

/* Grille de logos */
.logo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

.logo-box {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.logo-box img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}

/* Mobile */
@media (max-width: 768px) {
    .search-row { flex-direction: column; }
    .logo-grid { grid-template-columns: repeat(2, 1fr); }
    .home-hero { margin-bottom: 250px; }
}