/**
 * Feuille de style du composant AvisSection
 * Fichier : public/css/avis-section.css
 * 
 */

:root {
    --avis-ink: #121a2b;
    --avis-muted: #4a5366;
    --avis-light-muted: #555f6d;
    --avis-accent: #e8743b;
    --avis-card-bg: #ffffff;
    --avis-card-border: rgba(18, 26, 43, 0.08);
    --avis-card-border-hover: rgba(232, 116, 59, 0.35);
    --avis-radius: 20px;
    --avis-shadow: 0 4px 20px rgba(18, 26, 43, 0.04);
    --avis-shadow-hover: 0 12px 30px rgba(18, 26, 43, 0.08);
}

.avis-section {
    width: 100%;
    background-color: #ffffff;
    padding-top: clamp(56px, 9vw, 112px);
    padding-bottom: clamp(56px, 9vw, 112px);
    font-family: 'Figtree', system-ui, -apple-system, sans-serif;
    color: var(--avis-ink);
}

.avis-section .custom-container {
    width: 100%;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
    padding-left: clamp(16px, 4vw, 40px);
    padding-right: clamp(16px, 4vw, 40px);
}

/* En-tête */
.avis-header {
    border-bottom: 1px solid rgba(18, 26, 43, 0.06);
    padding-bottom: 1.5rem;
}

.avis-header-left {
    max-width: 680px;
}

.avis-header .eyebrow-text {
    color: var(--avis-accent);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.avis-header .section-title {
    font-family: 'Bricolage Grotesque', system-ui, sans-serif;
    font-size: clamp(30px, 4.4vw, 46px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    color: var(--avis-ink);
}

/* Badge note globale */
.avis-header .rating-badge {
    background: #fdf8f4;
    border: 1px solid rgba(232, 116, 59, 0.2);
    border-radius: 9999px;
    padding: 8px 18px;
    white-space: nowrap;
}

.avis-header .rating-badge strong {
    font-family: 'Bricolage Grotesque', system-ui, sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: var(--avis-ink);
    line-height: 1;
}

.avis-header .rating-badge .rating-count {
    font-size: 14px;
    color: var(--avis-muted);
    font-weight: 500;
}

/* Cartes d'avis */
.review-card {
    background-color: var(--avis-card-bg);
    border: 1px solid var(--avis-card-border);
    border-radius: var(--avis-radius);
    padding: 28px 24px;
    box-shadow: var(--avis-shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    height: 100%;
}

.review-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--avis-shadow-hover);
    border-color: var(--avis-card-border-hover);
}

/* Étoiles SVG */
.rating-stars .star-icon {
    width: 18px;
    height: 18px;
    display: inline-block;
}

.rating-stars .star-filled {
    fill: var(--avis-accent);
    color: var(--avis-accent);
}

.rating-stars .star-outline {
    stroke: #d0d5dd;
}

/* Citation / Témoignage */
.review-card .quote-text {
    font-size: 15.5px;
    line-height: 1.62;
    color: var(--avis-muted);
    font-style: normal;
    font-weight: 400;
}

/* Pied de carte / Auteur */
.card-footer-wrap {
    border-top: 1px solid rgba(18, 26, 43, 0.06);
}

.review-card .author-name {
    font-family: 'Bricolage Grotesque', system-ui, sans-serif;
    font-size: 15px;
    font-weight: 700;
    color: var(--avis-ink);
}

.review-card .author-role {
    font-size: 14px;
    color: var(--avis-light-muted);
    font-weight: 400;
}