 .banner-zone-cherche {
            background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
            color: #ffffff;
            padding: 35px 20px;
            text-align: center;
            border-bottom: 4px solid #f59e0b;
        }
        .banner-zone-cherche h1 {
            margin: 0 0 10px 0;
            font-size: 2.2rem;
            font-weight: 900;
            color: #ffffff;
        }
        .banner-zone-cherche p {
            margin: 0 0 20px 0;
            color: #94a3b8;
            font-size: 1.05rem;
            max-width: 650px;
            margin-left: auto;
            margin-right: auto;
        }
        .btn-banner-post {
            background-color: #f59e0b;
            color: #0f172a;
            text-decoration: none;
            padding: 10px 22px;
            border-radius: 25px;
            font-weight: 800;
            font-size: 0.95rem;
            display: inline-block;
            transition: all 0.15s ease;
            box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
        }
        .btn-banner-post:hover {
            background-color: #d97706;
            color: #ffffff;
            transform: translateY(-2px);
        }

        .barre-filtres-cherche {
            max-width: 1000px;
            margin: -25px auto 30px auto;
            background: #ffffff;
            border: 1px solid #cbd5e1;
            border-radius: 12px;
            padding: 12px 18px;
            box-shadow: 0 8px 20px rgba(0,0,0,0.08);
            display: flex;
            gap: 12px;
            align-items: center;
            flex-wrap: wrap;
        }
        .barre-filtres-cherche input,
        .barre-filtres-cherche select {
            padding: 8px 12px;
            border: 1px solid #cbd5e1;
            border-radius: 6px;
            font-size: 0.9rem;
            outline: none;
            flex: 1;
            min-width: 140px;
        }
        .btn-filtre-submit {
            background-color: #0f172a;
            color: #ffffff;
            border: none;
            padding: 9px 18px;
            border-radius: 6px;
            font-weight: bold;
            font-size: 0.9rem;
            cursor: pointer;
            transition: background 0.15s ease;
        }
        .btn-filtre-submit:hover { background-color: #1e293b; }

        /* CONTENEUR DU FLUX COMPACT */
        .flux-compact-container {
            max-width: 1000px;
            margin: 0 auto 50px auto;
            padding: 0 15px;
            display: flex;
            flex-direction: column;
            gap: 10px;
        }

        /* LIGNE DE DEMANDE COMPACTE */
        .ligne-demande-card {
            background: #ffffff;
            border: 1px solid #cbd5e1;
            border-left: 5px solid #f59e0b;
            border-radius: 6px;
            transition: all 0.15s ease;
            overflow: hidden;
            box-shadow: 0 2px 5px rgba(0,0,0,0.02);
        }
        .ligne-demande-card:hover {
            border-color: #94a3b8;
            border-left-color: #d97706;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        }

        .ligne-entete-bar {
            padding: 12px 18px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 15px;
            cursor: pointer;
            background-color: #ffffff;
        }

        .ligne-infos-principales {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-grow: 1;
            flex-wrap: wrap;
        }

        .badge-cat-compact {
            background: #f1f5f9;
            color: #475569;
            font-size: 0.75rem;
            font-weight: 700;
            padding: 3px 8px;
            border-radius: 4px;
            white-space: nowrap;
            border: 1px solid #e2e8f0;
        }

        .titre-ligne-compact {
            font-size: 0.98rem;
            font-weight: bold;
            color: #0f172a;
            margin: 0;
        }

        .ligne-meta-droite {
            display: flex;
            align-items: center;
            gap: 15px;
            flex-shrink: 0;
            font-size: 0.85rem;
        }

        .badge-ville-compact {
            color: #0284c7;
            font-weight: 600;
        }

        .badge-budget-compact {
            color: #16a34a;
            font-weight: 800;
            background: #f0fdf4;
            padding: 3px 8px;
            border-radius: 4px;
            border: 1px solid #bbf7d0;
        }

        .btn-toggle-deplier {
            background: #f8fafc;
            border: 1px solid #cbd5e1;
            color: #334155;
            padding: 4px 10px;
            border-radius: 4px;
            font-size: 0.8rem;
            font-weight: bold;
            cursor: pointer;
            transition: background 0.15s;
        }
        .btn-toggle-deplier:hover {
            background: #e2e8f0;
        }

        /* CONTENU DÉPLIABLE (ACCORDÉON) */
        .ligne-details-contenu {
            display: none;
            padding: 20px;
            background-color: #f8fafc;
            border-top: 1px dashed #cbd5e1;
        }
        .ligne-details-contenu.ouvert {
            display: block;
        }

        .grille-details-interne {
            display: grid;
            grid-template-columns: 120px 1fr auto;
            gap: 20px;
            align-items: center;
        }

        .vignette-apercu-ligne {
            width: 120px;
            height: 120px;
            background: #ffffff;
            border: 1px solid #cbd5e1;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }
        .vignette-apercu-ligne img {
            max-width: 100%;
            max-height: 120px;
            object-fit: contain;
        }

        .texte-description-detail {
            font-size: 0.9rem;
            color: #334155;
            line-height: 1.5;
            white-space: pre-line;
            margin-bottom: 10px;
        }

        .meta-auteur-Ligne {
            font-size: 0.82rem;
            color: #64748b;
            display: flex;
            gap: 12px;
        }

        .btn-repondre-compact {
            background-color: #16a34a;
            color: #ffffff;
            text-decoration: none;
            padding: 10px 16px;
            border-radius: 6px;
            font-size: 0.88rem;
            font-weight: bold;
            white-space: nowrap;
            transition: background 0.15s ease;
            box-shadow: 0 2px 5px rgba(0,0,0,0.05);
            display: inline-block;
            text-align: center;
        }
        .btn-repondre-compact:hover { background-color: #15803d; }

        @media (max-width: 768px) {
            .ligne-entete-bar { flex-direction: column; align-items: flex-start; gap: 8px; }
            .ligne-meta-droite { width: 100%; justify-content: space-between; border-top: 1px solid #f1f5f9; padding-top: 6px; }
            .grille-details-interne { grid-template-columns: 1fr; }
            .vignette-apercu-ligne { width: 100%; height: 180px; }
            .btn-repondre-compact { width: 100%; }
        }


/* CORRECTIONS SPÉCIALES MOBILE - ZONE CHERCHE */
@media (max-width: 768px) {
    /* 1. Sécurité et marges pour occuper toute la largeur avec une petite marge propre (10px) */
    .barre-filtres-cherche,
    .flux-compact-container {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 6px !important;
        padding-right: 6px !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* 2. Organisation de la barre de filtres pour qu'elle respire sur cellulaire */
    .barre-filtres-cherche {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        margin-top: -15px;
        border-radius: 0 0 8px 8px;
        border-left: none;
        border-right: none;
    }

    .barre-filtres-cherche input,
    .barre-filtres-cherche select,
    .btn-filtre-submit {
        width: 100% !important;
        box-sizing: border-box;
    }

    /* 3. Ajustement de l'entête des cartes "Je Cherche" pour éviter l'écrasement */
    .ligne-entete-bar {
        padding: 10px;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .ligne-infos-principales {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    /* 4. Alignement propre des métadonnées (ville, budget) sur mobile */
    .ligne-meta-droite {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-top: 1px solid #f1f5f9;
        padding-top: 6px;
    }
}
