/**
 * WS Booster - Temoignages Circulaires
 */

.ws-circ {
    display: grid;
    grid-template-columns: minmax(280px, 400px) 1fr;
    gap: 40px;
    padding: 40px;
    background: #f7f7fa;
    border-radius: 16px;
    align-items: center;
    /* Empeche les images portrait/grand format de bave hors de la section */
    overflow: hidden;
}

.ws-circ__images {
    position: relative;
    aspect-ratio: 1 / 1;
    perspective: 1000px;
    /* Fallback si aspect-ratio non supporte */
    width: 100%;
}

.ws-circ__img-wrap {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
    opacity: 0;
    transform: scale(0.92) rotate(var(--ws-circ-rot, 0deg));
    transition: opacity 0.5s cubic-bezier(0.65, 0, 0.35, 1), transform 0.5s cubic-bezier(0.65, 0, 0.35, 1);
}

.ws-circ__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ws-circ__img-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
}

.ws-circ__img-wrap.is-active {
    opacity: 1;
    transform: scale(1) rotate(0deg);
    z-index: 3;
}

.ws-circ__img-wrap.is-prev {
    opacity: 0.55;
    transform: scale(0.88) rotate(-6deg) translateX(-6%);
    z-index: 1;
}

.ws-circ__img-wrap.is-next {
    opacity: 0.55;
    transform: scale(0.88) rotate(6deg) translateX(6%);
    z-index: 2;
}

.ws-circ__content {
    min-width: 0;
}

.ws-circ__slide {
    display: none;
}

.ws-circ__slide.is-active {
    display: block;
    animation: ws-circ-fade 0.35s ease-out;
}

@keyframes ws-circ-fade {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}

.ws-circ__quote {
    margin: 0 0 24px;
    padding: 0;
    font-size: 20px;
    line-height: 1.55;
    color: #171717;
    border: none;
    font-style: italic;
}

.ws-circ__quote::before {
    content: "\201C";
    font-size: 60px;
    line-height: 0;
    vertical-align: -0.4em;
    opacity: 0.25;
    margin-right: 4px;
}

.ws-circ__name {
    font-size: 22px;
    font-weight: 700;
    color: #0a0a0a;
    margin-bottom: 2px;
}

.ws-circ__designation {
    font-size: 16px;
    color: #454545;
}

.ws-circ__arrows {
    display: flex;
    gap: 10px;
    margin-top: 28px;
}

.ws-circ__arrow {
    width: 42px;
    height: 42px;
    border: none;
    border-radius: 50%;
    background: #141414;
    color: #f1f1f7;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease, transform 0.15s ease;
}

.ws-circ__arrow:hover {
    transform: translateY(-2px);
    background: #00A6FB;
}

@media (max-width: 800px) {
    .ws-circ {
        grid-template-columns: 1fr;
        padding: 28px;
        text-align: center;
    }
    .ws-circ__arrows {
        justify-content: center;
    }
    .ws-circ__quote::before {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ws-circ__img,
    .ws-circ__slide {
        transition: none;
        animation: none;
    }
}

/* === Etoiles de notation === */
.ws-circ__stars {
    display: inline-flex;
    gap: 3px;
    margin-bottom: 12px;
}

.ws-circ__star {
    color: #d1d5db;
    line-height: 0;
    display: inline-flex;
}

.ws-circ__star.is-filled {
    color: #fbbf24;
}

.ws-circ__star svg {
    display: block;
}
