.ti-widget {
    margin: 0 auto;
    max-width: 1200px;
}

.ti-reviews-container {
    position: relative;
    overflow: hidden;
}

.ti-review-item {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.ti-profile-img img {
    border-radius: 50%;
    width: 40px;
    height: 40px;
}

.ti-stars {
    display: flex;
    gap: 2px;
    margin: 10px 0;
}

.ti-star {
    width: 17px;
    height: 17px;
}

.ti-review-content {
    font-size: 14px;
    line-height: 1.6;
    margin-top: 10px;
}

.ti-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    z-index: 2;
}

.ti-next, .ti-prev {
    cursor: pointer;
    background: rgba(255,255,255,0.8);
    padding: 10px;
    border-radius: 50%;
}

.ti-footer {
    text-align: center;
    margin-top: 20px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 2rem 2rem;  /* Réduit de 4rem à 2rem */
    max-width: 1680px;
    margin: 0 auto;
    perspective: 1000px;
}

.review-item {
    background: linear-gradient(135deg, #fff 0%, #fff8f3 100%);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 183, 71, 0.1);
    position: relative;
    overflow: hidden;
}

.review-item:hover {
    transform: translateY(-10px) rotate3d(1, 1, 0, 2deg);
    box-shadow: 0 20px 40px rgba(255, 183, 71, 0.15);
    border-color: var(--primary-color);
}

.review-item::before {
    content: '"';
    position: absolute;
    top: -20px;
    right: 20px;
    font-size: 120px;
    color: var(--primary-color);
    opacity: 0.1;
    font-family: 'Georgia', serif;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.review-profile-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.review-initials {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    box-shadow: 0 5px 15px rgba(255, 183, 71, 0.3);
    transition: transform 0.3s ease;
}

.review-item:hover .review-initials {
    transform: scale(1.1) rotate(5deg);
}

.review-author {
    font-weight: 500;
}

.review-date {
    color: #666;
    font-size: 0.9em;
}

.review-content {
    position: relative;
    z-index: 1;
    font-size: 1.1em;
    line-height: 1.6;
    color: #444;
    margin-top: 10px;
}

.review-rating {
    color: #ffc107;
    margin: 10px 0;
}

/* Styles pour le bouton "Lire la suite" */
.read-more-button {
    color: var(--primary-color);
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 500;
    text-decoration: underline;
    padding: 0;
    margin-left: 5px;
    transition: color 0.3s ease;
}

.read-more-button:hover {
    color: var(--secondary-color);
}

/* Styles pour le contenu des avis */
.review-content .full-content {
    display: none;
}

.review-text .short-content {
    display: inline;
}

.review-text .full-content {
    display: none;
}

.review-text.expanded .short-content {
    display: none;
}

.review-text.expanded .full-content {
    display: inline;
}

.review-text.expanded .read-more-button {
    display: none;
}



@media (max-width: 768px) {
    .reviews-grid {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
    }
}

/* Styles pour le lien Google Maps */
.google-maps-reviews {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.google-maps-link {
    display: block;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.google-maps-content {
    background: linear-gradient(135deg, #fff 0%, #fff8f3 100%);
    border: 2px solid rgba(255, 188, 80, 0.2);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.google-maps-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 188, 80, 0.1), transparent);
    transition: left 0.6s ease;
}

.google-maps-link:hover .google-maps-content {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(255, 188, 80, 0.15);
    transform: translateY(-2px);
}

.google-maps-link:hover .google-maps-content::before {
    left: 100%;
}

.google-maps-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.google-maps-link:hover .google-maps-icon {
    transform: scale(1.1) rotate(5deg);
}

.google-maps-text {
    flex: 1;
}

.google-maps-text h3 {
    margin: 0 0 5px 0;
    font-size: 1.2em;
    font-weight: 600;
    color: #333;
    font-family: 'Space Grotesk', sans-serif;
}

.google-maps-text p {
    margin: 0;
    color: #666;
    font-size: 0.95em;
    line-height: 1.4;
}

.google-maps-arrow {
    color: var(--primary-color);
    font-size: 18px;
    transition: all 0.3s ease;
}

.google-maps-link:hover .google-maps-arrow {
    transform: translateX(5px);
    color: var(--secondary-color);
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .google-maps-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }
    
    .google-maps-text h3 {
        font-size: 1.1em;
    }
    
    .google-maps-text p {
        font-size: 0.9em;
    }
    
    .google-maps-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .google-maps-reviews {
        padding: 0 15px;
    }
    
    .google-maps-content {
        padding: 15px;
    }
}
