.hero {
    padding: 30px 20px 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-decor img {
    position: sticky;
    opacity: 1;
    animation: hero-star-entry 1.2s ease-out forwards;
}

@keyframes hero-star-entry {
    from {
        opacity: 0;
        transform: translateY(100%) translateX(10%) scale(0.5);
    }
    to {
        opacity: 1;
        transform: translateY(70%) translateX(25%) scale(1);
    }
}

.hero-title {
    font-size: var(--fs-hero);
    font-weight: 500;
    color: var(--color-text);
    max-width: 900px;
    line-height: 1.2;
    margin-bottom: 20px;
    position: relative;
    text-align: center;
}

.hero-title strong {
    font-weight: 600;
}

.hero-subtitle {
    font-size: var(--fs-body);
    margin-bottom: 40px;
    text-align: center;
}

.hero-search-container .navbar-search-form {
    max-width: 850px;
    margin: 0 auto;
    padding: 12px 12px 12px 30px;
    box-shadow: var(--shadow-form);
    background: var(--color-card-bg);
    border-radius: 60px;
    animation: hero-form-fadein 1s ease-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
}

@keyframes hero-form-fadein {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-search-container .search-field {
    font-size: 1.1rem;
    width: 250px;
}

.hero-search-container .btn-search {
    padding: 10px 35px;
    font-size: 1.1rem;
}

/* ── Responsive hero ── */
@media (max-width: 768px) {
    .hero {
        padding: 0 16px 0 16px;
        overflow: hidden;
    }

    .hero-title {
        font-size: var(--fs-hero);
        max-width: 100%;
    }

    @keyframes hero-star-entry {
        from {
            opacity: 0;
            transform: translateY(20%) scale(0.7);
        }
        to {
            opacity: 1;
            transform: translateY(10%) scale(1);
        }
    }

    .hero-search-container .navbar-search-form {
        flex-direction: column;
        border-radius: 20px;
        padding: 14px;
        gap: 20px;
        align-items: stretch;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .hero-search-container .search-input-group {
        background: #f5f5f5;
        width: 95%;
        border-radius: 30px;
        padding: 10px;
    }

    .hero-search-container .search-field {
        width: 100%;
        text-align: center;
    }

    /*!* Libeller l'option placeholder dans les selects *!*/
    /*.hero-search-container .search-field option {*/
    /*    color: #333;*/
    /*    background: #fff;*/
    /*}*/

    /*.hero-search-container .search-divider {*/
    /*    display: none;*/
    /*}*/

    /*.hero-search-container .btn-search {*/
    /*    width: 100%;*/
    /*    border-radius: 12px;*/
    /*    padding: 13px 20px;*/
    /*    font-size: 1rem;*/
    /*}*/
}

/* --- Tablettes (max-width: 1024px) --- */
@media (max-width: 1024px) {
    @keyframes hero-star-entry {
        from {
            transform: translateY(50%) translateX(0) scale(0.5);
        }
        to {
            transform: translateY(30%) translateX(10%) scale(0.8);
        }
    }
}
