/* Styles Frontend pour Renova Avis */

.renova-avis-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
    font-family: inherit;
    box-sizing: border-box;
}

.renova-avis-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.renova-avis-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8f9fa;
    border: 1px solid #e2e8f0;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 10px;
}

.renova-avis-main-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 6px 0;
}

.renova-avis-sub-title {
    font-size: 15px;
    color: #718096;
    margin: 0;
}

.renova-score-box {
    background: #ffffff;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
}

.renova-score-number {
    font-size: 32px;
    font-weight: 800;
    color: #e4584b;
    line-height: 1;
}

.renova-score-stars .renova-stars-rating {
    margin-bottom: 4px;
}

.renova-score-count {
    font-size: 12px;
    color: #718096;
    display: block;
}

/* Étoiles */
.renova-stars-rating {
    color: #ffb800;
    font-size: 16px;
    letter-spacing: 2px;
    line-height: 1;
}

.star-empty {
    color: #e2e8f0;
}

/* Track & Cards */
.renova-avis-track-wrapper {
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

.renova-avis-grid .renova-avis-track {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.renova-avis-slider .renova-avis-track {
    display: flex;
    gap: 25px;
    transition: transform 0.4s ease-in-out;
}

.renova-avis-card {
    background: #ffffff;
    border: 1px solid #eef2f6;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    flex: 0 0 calc(33.333% - 17px);
    min-width: 290px;
    box-sizing: border-box;
}

.renova-avis-grid .renova-avis-card {
    flex: initial;
    min-width: 0;
}

.renova-avis-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.07);
    border-color: #e2e8f0;
}

.renova-avis-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    position: relative;
}

.renova-avis-avatar-wrap {
    position: relative;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
}

.renova-avis-avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.renova-avis-avatar-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #e4584b;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.renova-google-verified-icon {
    position: absolute;
    bottom: -2px;
    right: -2px;
    background: #ffffff;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.renova-avis-user-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.renova-avis-author {
    font-size: 15px;
    font-weight: 700;
    color: #2d3748;
}

.renova-avis-date {
    font-size: 12px;
    color: #a0aec0;
}

.renova-google-logo-badge {
    opacity: 0.85;
}

.renova-avis-stars-row {
    margin-bottom: 12px;
}

.renova-avis-body {
    flex-grow: 1;
}

.renova-avis-text {
    font-size: 14px;
    line-height: 1.6;
    color: #4a5568;
    margin: 0;
}

/* Controls */
.renova-avis-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
}

.renova-avis-arrow {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4a5568;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.renova-avis-arrow:hover {
    background: #e4584b;
    color: #ffffff;
    border-color: #e4584b;
}

.renova-avis-dots {
    display: flex;
    gap: 6px;
}

.renova-avis-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e0;
    cursor: pointer;
    transition: all 0.2s ease;
}

.renova-avis-dot.active {
    background: #e4584b;
    width: 24px;
    border-radius: 10px;
}

@media (max-width: 992px) {
    .renova-avis-card {
        flex: 0 0 calc(50% - 13px);
    }
}

@media (max-width: 600px) {
    .renova-avis-card {
        flex: 0 0 100%;
    }
    .renova-avis-header {
        flex-direction: column;
        align-items: flex-start;
    }
}
