/* --- STYLES DES BADGES --- */
.premium-google-badge {
    background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(191, 140, 76, 0.2);
    border-radius: 8px; padding: 15px 25px; display: inline-flex; align-items: center; gap: 20px; 
    backdrop-filter: blur(5px); transition: all 0.3s ease; cursor: pointer; text-decoration: none; color: #fff; box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    font-family: 'Montserrat', sans-serif;
}
.premium-google-badge:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.08); border-color: rgba(191, 140, 76, 0.6); color: #fff;}
.badge-left { display: flex; flex-direction: column; align-items: flex-start; }
.badge-rating-row { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.badge-score { font-size: 1.4rem; font-weight: 700; line-height: 1; }
.badge-stars { display: flex; gap: 2px; }
.badge-stars svg, .card-stars svg { width: 18px; height: 18px; fill: #fbbc04; }
.badge-text { font-size: 0.85rem; color: #a0a0a0; }
.badge-text strong { color: #fff; font-weight: 600; }
.badge-icon-google { width: 45px; height: 45px; background: #fff; border-radius: 6px; display: flex; align-items: center; justify-content: center; }
.badge-icon-google svg { width: 25px; height: 25px; }

/* Badge Footer */
.footer-google-badge { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; color: #e0e0e0; text-decoration: none; transition: all 0.2s ease; font-family: 'Montserrat', sans-serif; }
.footer-google-badge:hover { color: #fff; opacity: 0.8; }
.footer-badge-stars { color: #fbbc04; font-size: 1.2rem; line-height: 1; letter-spacing: 2px; }
.footer-icon-google { width: 30px; height: 30px; background: white; border-radius: 4px; display: flex; align-items: center; justify-content: center; margin-left: 5px; }

/* --- STYLES DES CARTES D'AVIS --- */
.review-card {
    background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 12px; 
    padding: 25px; display: flex; flex-direction: column; gap: 15px; transition: transform 0.3s ease, border-color 0.3s ease; text-align: left; height: 100%;
    font-family: 'Montserrat', sans-serif;
}
.review-card:hover { transform: translateY(-5px); border-color: rgba(191, 140, 76, 0.5); box-shadow: 0 10px 20px rgba(0,0,0,0.2)}
.card-header { display: flex; justify-content: space-between; align-items: flex-start; }
.card-stars { display: flex; gap: 3px; margin-bottom: 8px; }
.card-time { color: #9aa0a6; font-size: 0.85rem; margin-bottom: 0; }
.card-text { color: #e8eaed; font-size: 0.95rem; line-height: 1.5; flex-grow: 1; margin: 0; }
.read-more { color: #8ab4f8; text-decoration: none; font-weight: 500; font-size: 0.9rem;}
.read-more:hover { text-decoration: underline; color: #8ab4f8; }
.card-author { color: #fff; font-weight: 600; font-size: 0.95rem; margin-top: 10px; }

/* --- SECTION GRILLE --- */
.grid-section-container { width: 100%; max-width: 1100px; margin: 0 auto; font-family: 'Montserrat', sans-serif;}
.grid-top-header { display: flex; flex-direction: column; align-items: center; margin-bottom: 30px; }
.grid-top-rating { display: flex; align-items: center; gap: 15px; margin-bottom: 10px;}
.grid-top-rating span { font-size: 1.8rem; font-weight: 700; color: #fff;}
.grid-top-stars { display: flex; gap: 4px; }
.grid-top-stars svg { width: 22px; height: 22px; fill: #fbbc04; }
.grid-subtitle { display: flex; align-items: center; gap: 10px; font-size: 1rem; color: #fff; cursor: pointer; text-decoration: none; transition: 0.2s;}
.grid-subtitle:hover { color: #bf8c4c; }
.grid-subtitle strong { font-weight: 600; }
.google-reviews-pill { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 1.1rem; }
.google-icon-small { width: 26px; height: 26px; background: #fff; border-radius: 4px; display: flex; align-items: center; justify-content: center; }

.custom-reviews-flex-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.flex-card-wrapper { flex: 0 0 calc(33.333% - 14px); min-width: 300px; display: flex; }
.flex-card-wrapper .review-card { width: 100%; }

.bottom-actions { margin-top: 40px; text-align: center; }
.load-more-btn {
    background-color: transparent; color: #bf8c4c; border: 2px solid #bf8c4c; padding: 12px 30px; font-size: 1rem;
    font-weight: 600; border-radius: 50px; cursor: pointer; transition: all 0.3s; display: inline-flex;
    align-items: center; gap: 10px; text-decoration: none;
}
.load-more-btn:hover { background-color: #bf8c4c; color: #000; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(191, 140, 76, 0.3); }

/* Error styling */
.review-error-message { color: #bf8c4c; font-size: 0.9rem; margin-top: 10px; text-align: center; }

/* Responsive Mobile & Tablette */
@media (max-width: 991px) { 
    .flex-card-wrapper { flex: 0 0 calc(50% - 10px); } 
}
@media (max-width: 767px) {
    .custom-reviews-flex-grid { 
        flex-wrap: nowrap; 
        justify-content: flex-start; 
        overflow-x: auto; 
        scroll-snap-type: x mandatory; 
        padding: 10px 0 30px 0; 
        gap: 15px;
        -webkit-overflow-scrolling: touch;
    }
    .flex-card-wrapper { flex: 0 0 85%; scroll-snap-align: center; min-width: auto; }
    .custom-reviews-flex-grid::-webkit-scrollbar { 
        height: 4px;
    }
    .custom-reviews-flex-grid::-webkit-scrollbar-track {
        background: rgba(255,255,255,0.05);
    }
    .custom-reviews-flex-grid::-webkit-scrollbar-thumb {
        background: #bf8c4c;
        border-radius: 10px;
    }
}
