/* realisations.css */

.real-header {
    padding: 80px 5%;
    background: var(--mjd-blue-dark);
    color: white;
    text-align: center;
}

.real-header h1 { font-size: 42px; margin-bottom: 15px; font-weight: 800; }
.real-header p { font-size: 18px; opacity: 0.8; max-width: 700px; margin: 0 auto; }

.section-title-real { text-align: center; margin-bottom: 40px; margin-top: 40px; }
.section-title-real h2 { font-size: 32px; color: var(--mjd-blue-dark); position: relative; display: inline-block; padding-bottom: 10px; }
.section-title-real h2::after { content: ""; position: absolute; bottom: 0; left: 25%; width: 50%; height: 4px; background: var(--mjd-blue-main); border-radius: 2px; }

/* Grille des réalisations */
.portfolio-grid { padding: 60px 5%; max-width: 1200px; margin: 0 auto; }
.project-card { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; background: white; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.05); align-items: center; margin-bottom: 50px; }
.project-card:nth-child(even) { direction: rtl; }
.project-card:nth-child(even) .project-info { direction: ltr; }
.project-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.project-info { padding: 40px; }
.project-category { color: var(--mjd-blue-main); font-weight: 700; font-size: 14px; text-transform: uppercase; margin-bottom: 10px; display: block; }
.project-info h2 { font-size: 28px; color: var(--mjd-blue-dark); margin-bottom: 25px; }

.case-study { margin-bottom: 20px; }
.case-study strong { display: block; color: var(--mjd-blue-dark); font-size: 16px; margin-bottom: 5px; }
.case-study p { color: #666; font-size: 15px; line-height: 1.6; margin: 0; }
.case-study.result { padding: 15px; background: #f0fff4; border-left: 4px solid #38a169; border-radius: 4px; }

/* --- SECTION AVIS CLIENTS DANS REALISATIONS --- */
.reviews-full-section { background: #f8fafc; padding: 80px 5%; border-top: 1px solid #eee; }

.reviews-filter-bar {
    max-width: 1200px;
    margin: 0 auto 40px auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 15px 25px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.reviews-filter-bar select {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    margin-right: 15px;
    font-family: inherit;
    cursor: pointer;
}

.btn-leave-review {
    background: var(--mjd-blue-dark);
    color: white;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
}

.reviews-grid-display {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
}

.full-review-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    border-top: 4px solid var(--mjd-blue-main);
}

.full-review-stars { color: #f1c40f; font-size: 18px; margin-bottom: 15px; }
.full-review-comment { font-size: 15px; line-height: 1.6; color: #444; font-style: italic; margin-bottom: 20px; }
.full-review-meta { border-top: 1px solid #eee; padding-top: 15px; }
.full-review-meta strong { display: block; color: var(--mjd-blue-dark); font-size: 14px; }
.full-review-meta span { color: #888; font-size: 12px; }

@media (max-width: 768px) {
    .project-card { grid-template-columns: 1fr; }
    .project-card:nth-child(even) { direction: ltr; }
    .reviews-filter-bar { flex-direction: column; gap: 15px; }
}