/* Avis Google section - cartes modernes, sobre, sans-serif */

.avis-google {
    padding: 6rem 1.5rem;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.avis-google::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(166, 124, 82, 0.1) 0%, rgba(166, 124, 82, 0) 70%);
    z-index: 1;
}

.avis-google-title {
    font-family: 'Rubik', 'Inter', sans-serif;
    color: #1e1e1e;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    animation: fadeIn 1s ease-out;
    z-index: 2;
}

.avis-google-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, #a67c52, #e8d8c3);
    margin: 0.8rem auto 0;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(166, 124, 82, 0.2);
}

.avis-google-note-global {
    text-align: center;
    font-family: 'Rubik', 'Inter', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: #333;
    background-color: #fdf6f0;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(166, 124, 82, 0.1);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
    animation: fadeIn 1.2s ease-out;
}

.avis-google-nom {
    font-weight: 600;
    color: #1e1e1e;
}

.avis-google-note {
    display: inline-block;
    margin: 0 0.5rem;
}

.avis-google-note strong {
    color: #a67c52;
    font-weight: 700;
    font-size: 1.3rem;
}

.avis-google-total {
    color: #666;
    font-size: 1rem;
}

.avis-google-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.2rem;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.avis-google-item {
    background-color: #fff;
    border-radius: 10px;
    padding: 1.8rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    border-left: 3px solid #a67c52;
    animation: fadeInUp 1.4s ease-out;
}

.avis-google-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(166, 124, 82, 0.15);
}

.avis-google-item::before {
    content: '"';
    position: absolute;
    top: 10px;
    left: 15px;
    font-family: Georgia, serif;
    font-size: 5rem;
    line-height: 0;
    color: rgba(166, 124, 82, 0.1);
    z-index: 0;
}

.avis-google-auteur {
    font-family: 'Rubik', 'Inter', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #1e1e1e;
    position: relative;
}

.review-stars { color: #f5b50a; font-size: 1rem; letter-spacing: 1px; }
.avis-google-item .avis-google-note { font-family: 'Rubik', 'Inter', sans-serif; font-size: 0.95rem; margin-bottom: 1rem; color: #333; }

.avis-google-texte {
    font-family: 'Rubik', 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 1.2rem;
    position: relative;
    font-style: italic;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
}

.avis-google-date {
    font-size: 0.92rem;
    color: #888;
    text-align: right;
    margin-top: 0.5rem;
}

.avis-google-empty {
    text-align: center;
    padding: 2rem;
    background-color: #fdf6f0;
    border-radius: 10px;
    font-family: 'Rubik', 'Inter', sans-serif;
    color: #666;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.avis-google-btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: #a67c52;
    color: #ffffff;
    font-family: 'Rubik', 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 30px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(166, 124, 82, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.avis-google-provider { text-align: center; color: #666; font-family: 'Rubik','Inter',sans-serif; font-size: 0.95rem; margin-top: 0.6rem; display: block; width: 100%; margin-left: auto; margin-right: auto; }

.avis-google-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.7s ease;
    z-index: -1;
}

.avis-google-btn:hover {
    background-color: #8a6642;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    color: #ffffff;
}

.avis-google-btn:hover::before {
    left: 120%;
}

.avis-google-btn:active {
    transform: translateY(1px);
    box-shadow: 0 2px 8px rgba(166, 124, 82, 0.3);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Media Queries */
@media (max-width: 992px) {
    .avis-google {
        padding: 5rem 1.5rem;
    }
    
    .avis-google-title {
        font-size: 2.8rem;
    }
    
    .avis-google-note-global {
        font-size: 1.1rem;
        padding: 1.2rem;
    }
}

@media (max-width: 768px) {
    .avis-google {
        padding: 4rem 1.5rem;
    }
    
    .avis-google-title {
        font-size: 2.5rem;
    }
    
    .avis-google-list { grid-template-columns: 1fr; max-width: 700px; }
}

@media (max-width: 576px) {
    .avis-google {
        padding: 3.5rem 1rem;
    }
    
    .avis-google-title {
        font-size: 2.2rem;
    }
    
    .avis-google-note-global {
        font-size: 1rem;
        padding: 1rem;
    }
    
    .avis-google-note strong {
        font-size: 1.2rem;
    }
    
    .avis-google-item {
        padding: 1.5rem;
    }
    
    .avis-google-auteur {
        font-size: 1rem;
    }
    
    .avis-google-texte {
        font-size: 0.95rem;
        -webkit-line-clamp: 4;
        line-clamp: 4;
    }
}
