/* Explain: App-specific component classes with playful and refined styles. */
.btn-playful {
    background-color: var(--primary-color) !important;
    color: white !important;
    border: none !important;
    border-radius: 9999px !important;
    box-shadow: 0 4px 12px rgba(230, 0, 122, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    font-family: var(--font-heading) !important;
    font-size: 1.5rem !important;
    letter-spacing: 0.05em !important;
    padding: 0.75rem 2.5rem !important;
    font-weight: normal !important;
}
.btn-playful:hover {
    background-color: var(--primary-hover) !important;
    transform: translateY(-3px) scale(1.05) !important;
    box-shadow: 0 6px 16px rgba(230, 0, 122, 0.4) !important;
}

.card-playful {
    background-color: white;
    border: 3px solid transparent;
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px rgba(46, 0, 75, 0.08);
    transition: all 0.3s ease;
}
.card-playful:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(46, 0, 75, 0.12);
    border-color: var(--accent-color);
}

.playful-pattern {
    background-image: radial-gradient(var(--accent-color) 2px, transparent 2px);
    background-size: 40px 40px;
    opacity: 0.15;
}

/* Formulaire */
#quoteForm input, #quoteForm textarea {
    border: 2px solid var(--border-color) !important;
    border-radius: 1rem !important;
    box-shadow: none !important;
    font-family: var(--font-body) !important;
    color: var(--text-color) !important;
    transition: all 0.3s !important;
    background-color: var(--surface-color) !important;
    padding: 1rem 1.25rem !important;
}
#quoteForm input:focus, #quoteForm textarea:focus {
    outline: none !important;
    border-color: var(--secondary-color) !important;
    background-color: white !important;
    box-shadow: 0 0 0 4px rgba(0, 180, 230, 0.15) !important;
}

/* Animations d'apparition à l'arrivée / au défilement */
.reveal,
.reveal-left,
.reveal-right {
    opacity: 0;
    transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1),
                transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}
.reveal {
    transform: translateY(48px);
}
.reveal-left {
    transform: translateX(-56px);
}
.reveal-right {
    transform: translateX(56px);
}
.reveal-visible {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

/* Décalages en cascade */
.reveal-delay-1 { transition-delay: 0.12s; }
.reveal-delay-2 { transition-delay: 0.24s; }
.reveal-delay-3 { transition-delay: 0.36s; }

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .reveal-left,
    .reveal-right {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}

/* Avis : commentaire replié sur quelques lignes */
.review-comment {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.review-comment.review-expanded {
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    overflow: visible;
}