/* Avis — Style sobre et professionnel */

:root {
    --brand: #E53E3E;
    --text-900: #1F2937;
    --text-700: #374151;
    --text-500: #6B7280;
    --border: #E5E7EB;
    --bg: #F9FAFB;
    --card: #FFFFFF;
    --star: #F59E0B;
    --radius-sm: 8px;
    --radius-md: 12px;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.04);
    --shadow-md: 0 6px 16px rgba(0,0,0,.06);
}

* { box-sizing: border-box; }

/* Mise en page globale de la page avis */
.contact-container { min-height: 100vh; background: var(--bg); color: var(--text-900); }
.premium-background { position: fixed; inset: 0; z-index: -1; background: var(--bg); }
.floating-shapes, .shape { display: none !important; }

.contact-content { max-width: 1120px; margin: 0 auto; padding: 48px 24px 80px; }

/* En-tête */
.contact-header { background: transparent; text-align: center; padding: 32px 0 16px; border-bottom: 1px solid var(--border); }
.icon-container { width: 72px; height: 72px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--brand); color: #fff; font-size: 28px; box-shadow: var(--shadow-sm); }
.contact-header h1 { margin: 12px 0 6px; font-weight: 700; letter-spacing: .2px; }
.contact-header p { margin: 0; color: var(--text-500); }
.header-actions { margin-top: 16px; }
.btn-laisser-avis { display: inline-flex; align-items: center; gap: 8px; background: var(--brand); color: #fff; border: 1px solid transparent; border-radius: 10px; padding: 12px 20px; text-decoration: none; font-weight: 600; transition: transform .12s ease, box-shadow .2s ease, background .2s ease; }
.btn-laisser-avis:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); background: #cf3737; color: #fff; }

/* Barre recherche/filtre */
.contact-form-section { margin: 32px auto 0; padding: 0 0; }
.form-container { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm); }
.search-filter-section { display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; }
.search-box { position: relative; }
.search-box i { position: absolute; top: 50%; left: 12px; transform: translateY(-50%); color: var(--text-500); font-size: 14px; }
.search-box input { width: 100%; padding: 12px 16px 12px 44px; border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--text-900); outline: none; transition: border-color .15s ease, box-shadow .15s ease; }
.search-box input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(229, 62, 62, .12); }
.filter-dropdown { display: flex; align-items: center; gap: 8px; }
.filter-dropdown select { padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; background: #fff; color: var(--text-900); outline: none; }
.filter-dropdown select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(229, 62, 62, .12); }
.filter-dropdown button { padding: 12px 16px; border: 1px solid var(--border); border-radius: 10px; background: #111827; color: #fff; font-weight: 600; cursor: pointer; transition: transform .12s ease, box-shadow .2s ease, background .2s ease; display: inline-flex; align-items: center; gap: 6px; }
.filter-dropdown button:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); background: #0b1222; }

/* Liste des avis */
.contact-info-section { margin: 32px auto 0; }
.info-container { display: grid; grid-template-columns: 1fr; gap: 24px; }
.avis-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); padding: 24px; box-shadow: var(--shadow-sm); transition: transform .12s ease, box-shadow .2s ease, border-color .2s ease; }
.avis-card:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); border-color: #e3e6ea; }

.avis-header { display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; margin-bottom: 12px; }
.avis-avatar { width: 48px; height: 48px; border-radius: 50%; background: #111827; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; }
.avis-info h4 { margin: 0; font-size: 1.0625rem; color: var(--text-900); }
.avis-date { margin-top: 2px; font-size: .9rem; color: var(--text-500); }
.rating { display: inline-flex; align-items: center; gap: 2px; }
.rating .star { color: var(--star); }
.rating .star.empty { color: #E5E7EB; }
.rating-value { margin-left: 8px; color: var(--text-500); font-size: .95rem; }

.avis-content { margin-top: 10px; color: var(--text-700); line-height: 1.75; font-size: 1.05rem; }

/* Réponses */
.avis-replies { margin-top: 16px; padding-left: 16px; border-left: 2px solid #D1D5DB; }
.avis-replies h4 { margin: 0 0 8px; font-size: .95rem; color: var(--text-700); font-weight: 600; }
.reply-item { padding: 12px; background: #FAFAFA; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.reply-header { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.reply-avatar { width: 28px; height: 28px; border-radius: 50%; background: #374151; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.reply-author { color: var(--text-900); }
.reply-date { font-size: .8rem; color: var(--text-500); }
.reply-content { color: var(--text-700); line-height: 1.5; }

/* États vides */
.no-avis { text-align: center; padding: 28px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-md); }
.no-avis i { font-size: 28px; color: var(--text-500); }
.no-avis h3 { margin: 8px 0 4px; }
.no-avis p { margin: 0 0 12px; color: var(--text-500); }

/* Responsive */
@media (max-width: 768px) {
    .search-filter-section { grid-template-columns: 1fr; }
    .filter-dropdown { justify-content: flex-start; }
}

