/**
 * Styles pour le bloc Témoignages
 * Basé sur le design Figma
 */

.block-temoignages {
    background-color: #f6f6f1;
    padding: 200px 0 120px 0;
    box-sizing: border-box;
    width: 100%;
    position: relative;
}

@media (max-width: 1200px) {
    .block-temoignages .underline svg {
        width: 100%;
    }
}

.block-temoignages__container {
    margin: 0 auto;
    padding: 0 20px;
}

.block-temoignages__content {
    display: flex;
    gap: 57px;
    align-items: flex-start;
    justify-content: space-between;
    position: relative;
}

/* Section gauche - Header */
.block-temoignages__header {
    flex: 0 0 auto;
    padding-left: 154px;
    padding-right: 50px;
    padding-bottom: 11px;
    z-index: 2;
    position: relative;
}

.block-temoignages__title {
    font-family: 'Figtree', sans-serif;
    font-weight: 700;
    font-size: 90px;
    line-height: 1;
    text-transform: uppercase;
    color: #1d1d1b;
    margin: 0 0 20px 0;
    width: 662px;
}

.block-temoignages__decoration {
    height: 0;
    width: 100%;
    position: relative;
    margin: 20px 0;
}

.block-temoignages__decoration svg {
    position: absolute;
    top: -0.5px;
    bottom: -0.5px;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
}

.block-temoignages__description {
    font-family: 'Figtree', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.2;
    color: #1d1d1b;
    width: 524px;
    margin-bottom: 30px;
}

/* Navigation */
.block-temoignages__navigation {
    margin-top: 30px;
}

.block-temoignages__nav-buttons {
    display: flex;
    gap: 25px;
    align-items: center;
}

.block-temoignages__nav-btn {
    background-color: #ffe04b;
    border: none;
    border-radius: 60px;
    width: 68px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 30px 18px;
}

.block-temoignages__nav-btn:hover {
    background-color: #f0d800;
    transform: scale(1.05);
}

/* .block-temoignages__nav-btn--prev {
    transform: rotate(180deg);
} */

/* .block-temoignages__nav-btn--prev:hover {
    transform: rotate(180deg) scale(1.05);
} */

.block-temoignages__nav-btn svg {
    width: 22.167px;
    height: 22.167px;
}

/* Section droite - Slider */
.block-temoignages__right {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 1;
    position: relative;
    overflow: hidden;
}

.block-temoignages__slider {
    width: 100%;
}

.block-temoignages__testimonial {
    background-color: #ffffff;
    border-radius: 25px;
    width: 390px;
    flex-shrink: 0;
    margin-right: 20px;
}

.block-temoignages__testimonial-content {
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.block-temoignages__testimonial-header {
    display: flex;
    gap: 20px;
    align-items: center;
    width: 100%;
}

.block-temoignages__testimonial-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.block-temoignages__testimonial-title {
    font-family: 'Figtree', sans-serif;
    font-weight: 700;
    font-size: 35px;
    line-height: 1;
    text-transform: uppercase;
    color: #000000;
    margin: 0;
    min-width: 100%;
}

.block-temoignages__testimonial-meta {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.block-temoignages__testimonial-author,
.block-temoignages__testimonial-job {
    background-color: #f6f6f1;
    padding: 6px 10px;
    border-radius: 8px;
    font-family: 'Figtree', sans-serif;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.2;
    text-transform: uppercase;
    color: #1d1d1b;
    letter-spacing: 1px;
    white-space: nowrap;
}

.block-temoignages__testimonial-text {
    font-family: 'Figtree', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.2;
    color: #000000;
    width: 100%;
}

/* Styles Owl Carousel */
.block-temoignages__slider.owl-carousel {
    overflow: visible;
}

.block-temoignages__slider .owl-stage {
    display: flex;
    align-items: center;
}

.block-temoignages__slider .owl-item {
    display: flex;
    align-items: stretch;
}

.block-temoignages__slider .owl-item:last-child {
    margin-right: 0;
}

/* Message si aucun contenu */
.block-temoignages__no-content {
    text-align: center;
    color: #666;
    font-style: italic;
}

/* Responsive */
@media (max-width: 1200px) {
    .block-temoignages__content {
        flex-direction: column;
        gap: 40px;
    }

    .block-temoignages__header {
        padding-left: 20px;
        padding-right: 20px;
        text-align: center;
        margin: 0 auto;
        width: 100%;
        overflow: hidden;

    }

    .block-temoignages__nav-buttons {
        justify-content: center;
    }

    .block-temoignages__title {
        width: 100%;
        font-size: 60px;
    }

    .block-temoignages__description {
        width: 100%;
    }

    .block-temoignages__testimonials {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .block-temoignages {
        padding: 100px 0 60px 0;
    }

    .block-temoignages__title {
        font-size: 40px;
    }

    .block-temoignages__testimonial {
        width: 100%;
        max-width: 350px;
    }

    .block-temoignages__nav-buttons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .block-temoignages__title {
        font-size: 32px;
    }

    .block-temoignages__testimonial-title {
        font-size: 24px;
    }

    .block-temoignages__testimonial-meta {
        flex-direction: column;
        gap: 5px;
    }
}