/* Section Avis Simplifiée */
.reviews {
    background: #f8f9fa;
    padding: 80px 0;
}

.reviews-simple {
    max-width: 800px;
    margin: 0 auto;
}

.google-widget {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    overflow: hidden;
}

.google-header {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 25px;
    background: #f8f9fa;
    border-bottom: 1px solid #eee;
}

.google-header img {
    border-radius: 8px;
}

.google-header h3 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.rating {
    margin-top: 5px;
}

.stars {
    color: #ffc107;
    font-size: 16px;
}

.score {
    font-weight: bold;
    color: #333;
    margin-left: 8px;
}

.based-on {
    color: #666;
    font-size: 14px;
    display: block;
    margin-top: 2px;
}

.reviews-grid {
    padding: 25px;
    display: grid;
    gap: 20px;
}

.review-item {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #2c5530;
}

.review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.review-meta strong {
    color: #333;
}

.review-text {
    margin: 0 0 10px 0;
    color: #555;
    line-height: 1.5;
    font-style: italic;
}

.review-date {
    color: #888;
    font-size: 12px;
}

.review-actions {
    padding: 20px 25px;
    background: #f8f9fa;
    border-top: 1px solid #eee;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.review-cta {
    background: linear-gradient(135deg, #2c5530, #4a7c59);
    color: white;
    padding: 40px;
    border-radius: 12px;
    margin-top: 40px;
    text-align: center;
}

.cta-content h3 {
    margin: 0 0 10px 0;
    color: white;
}

.cta-content p {
    margin: 0 0 20px 0;
    opacity: 0.9;
}

/* Responsive */
@media (max-width: 768px) {
    .review-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .review-actions {
        flex-direction: column;
    }
    
    .review-actions .btn {
        text-align: center;
    }
}

/* Ajoutez ceci à votre fichier avis.css */
.reviews-dynamic {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 30px;
    margin-bottom: 40px;
}

.google-header-dynamic {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.google-header-dynamic img {
    margin-right: 15px;
}

.google-header-dynamic h3 {
    margin: 0 0 5px 0;
    font-size: 1.4rem;
    color: #333;
}

.rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.stars {
    display: flex;
    align-items: center;
    margin-right: 10px;
}

.stars i {
    color: #ffc107;
    margin-right: 2px;
}

.score {
    font-weight: bold;
    margin-left: 8px;
    color: #333;
}

.based-on {
    color: #666;
    font-size: 0.9rem;
}

.loading-spinner {
    text-align: center;
    padding: 40px;
    color: #666;
}

.loading-spinner i {
    font-size: 2rem;
    margin-bottom: 15px;
    color: #2c5530;
}

.review-item {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.3s ease;
}

.review-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.review-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.review-meta strong {
    color: #333;
}

.review-text {
    color: #555;
    line-height: 1.5;
    margin-bottom: 10px;
}

.review-date {
    color: #888;
    font-size: 0.85rem;
}

.review-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

/* Responsive */
@media (max-width: 768px) {
    .review-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .review-meta .stars {
        margin-top: 5px;
    }
    
    .review-actions {
        flex-direction: column;
    }
    
    .review-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* Styles mobile-first pour les avis */
.reviews-mobile {
    background: white;
    border-radius: 16px;
    padding: 20px;
    margin: 0 auto;
    max-width: 100%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.reviews-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f0f0f0;
}

.rating-summary {
    display: flex;
    align-items: center;
    gap: 12px;
}

.stars-large {
    display: flex;
    gap: 2px;
}

.stars-large i {
    color: #FFB800;
    font-size: 1.4rem;
}

.rating-score {
    display: flex;
    flex-direction: column;
}

.rating-score .score {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    line-height: 1.2;
}

.rating-score .based-on {
    font-size: 0.85rem;
    color: #666;
}

.google-logo {
    width: 32px;
    height: 32px;
}

/* Carousel mobile */
.reviews-carousel {
    position: relative;
    margin: 0 -10px 24px -10px;
}

.carousel-container {
    overflow: hidden;
    padding: 0 10px;
}

.carousel-track {
    display: flex;
    transition: transform 0.3s ease;
    gap: 16px;
}

.review-card {
    flex: 0 0 calc(100vw - 60px);
    max-width: 400px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e9ecef;
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.reviewer-name {
    font-weight: 600;
    color: #333;
    font-size: 0.95rem;
}

.review-stars {
    display: flex;
    gap: 1px;
}

.review-stars i {
    color: #FFB800;
    font-size: 0.9rem;
}

.review-text {
    color: #555;
    line-height: 1.5;
    font-size: 0.9rem;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-date {
    color: #888;
    font-size: 0.8rem;
}

/* Navigation du carousel */
.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
}

.carousel-prev,
.carousel-next {
    background: #2c5530;
    border: none;
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-prev:hover,
.carousel-next:hover {
    background: #1e3a23;
    transform: scale(1.05);
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: #2c5530;
    transform: scale(1.2);
}

/* Boutons d'action mobile */
.reviews-actions-mobile {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.btn-review-mobile,
.btn-outline-mobile {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 20px;
    border-radius: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn-review-mobile {
    background: linear-gradient(135deg, #4285f4, #34a853);
    color: white;
}

.btn-review-mobile:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.3);
}

.btn-outline-mobile {
    background: white;
    color: #4285f4;
    border: 2px solid #4285f4;
}

.btn-outline-mobile:hover {
    background: #4285f4;
    color: white;
    transform: translateY(-2px);
}

/* Responsive pour tablettes */
@media (min-width: 768px) {
    .reviews-mobile {
        padding: 30px;
        max-width: 600px;
    }
    
    .review-card {
        flex: 0 0 calc(50% - 8px);
    }
    
    .reviews-actions-mobile {
        flex-direction: row;
        justify-content: center;
    }
    
    .btn-review-mobile,
    .btn-outline-mobile {
        flex: 1;
        max-width: 200px;
    }
}

/* Responsive pour desktop */
@media (min-width: 1024px) {
    .reviews-mobile {
        max-width: 800px;
    }
    
    .review-card {
        flex: 0 0 calc(33.333% - 11px);
    }
}

/* États de chargement */
.loading-skeleton {
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.skeleton-review {
    background: #f0f0f0;
    border-radius: 12px;
    padding: 20px;
    min-height: 180px;
}