/* ── Conteneur ── */
.avis-clients-wrap {
    max-width: 520px;
    margin: 2rem auto;
    padding: 2rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.avis-clients-titre {
    text-align: center;
    margin: 0 0 1.5rem;
    font-size: 1.4rem;
    color: #1a1a1a;
}

/* ── Étoiles ── */
.avis-clients-etoiles {
    display: flex;
    flex-direction: row-reverse;
    justify-content: center;
    gap: 4px;
    margin-bottom: 1.5rem;
}

.avis-clients-etoiles input[type="radio"] {
    display: none;
}

.avis-clients-etoiles label {
    font-size: 2.6rem;
    color: #d1d5db;
    cursor: pointer;
    transition: color 0.15s, transform 0.1s;
    line-height: 1;
}

/* Étoile survolée et toutes celles après (direction RTL via flex-reverse) */
.avis-clients-etoiles label:hover,
.avis-clients-etoiles label:hover ~ label,
.avis-clients-etoiles input[type="radio"]:checked ~ label {
    color: #f59e0b;
}

.avis-clients-etoiles label:hover {
    transform: scale(1.15);
}

/* ── Champs ── */
.avis-clients-champs {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.avis-clients-champs label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.2rem;
}

.avis-clients-champs input,
.avis-clients-champs textarea {
    width: 100%;
    padding: 0.625rem 0.875rem;
    border: 1.5px solid #d1d5db;
    border-radius: 8px;
    font-size: 0.95rem;
    color: #111827;
    background: #f9fafb;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
    resize: vertical;
}

.avis-clients-champs input:focus,
.avis-clients-champs textarea:focus {
    outline: none;
    border-color: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.15);
    background: #ffffff;
}

/* ── Message d'erreur ── */
.avis-clients-message {
    min-height: 1.2rem;
    font-size: 0.875rem;
    color: #dc2626;
    margin-bottom: 0.75rem;
    text-align: center;
}

/* ── Bouton ── */
.avis-clients-btn {
    display: block;
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: #f59e0b;
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, transform 0.1s;
    letter-spacing: 0.02em;
}

.avis-clients-btn:hover {
    background: #d97706;
}

.avis-clients-btn:active {
    transform: scale(0.98);
}

.avis-clients-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}
