/* ===== DEPOIMENTOS - DESKTOP ===== */
@media (min-width: 769px) {
    .depoimentos {
        padding: 180px 80px;
        text-align: center;
        max-width: 1400px;
        margin: 0 auto;
        background: transparent;
        position: relative;
    }

    .depoimentos::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(67, 55, 39, 0.15), transparent);
    }

    .depoimentos::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(67, 55, 39, 0.15), transparent);
    }

    .titulo-depoimentos {
        font-size: 3.5rem;
        color: #433727;
        margin-bottom: 24px;
        font-weight: 500;
        letter-spacing: -0.04em;
        font-family: "Instrument Serif", serif;
    }

    .avaliacao-texto {
        font-size: 1.3rem;
        color: #5B5B5B;
        margin-bottom: 60px;
        font-weight: 400;
    }

    .avaliacao-texto span {
        color: #DABE99;
        font-weight: 600;
        font-size: 1.5rem;
    }

    .slider-container-depoimentos {
        position: relative;
        overflow: visible;
        width: 100%;
        max-width: 1200px;
        margin: 0 auto;
    }

    .cards-depoimentos {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
        transition: none;
    }

    .card-depoimento {
        background: #FFFFFF;
        border-radius: 0;
        padding: 52px;
        color: #433727;
        box-shadow: 0 10px 45px rgba(67, 55, 39, 0.1),
                    0 4px 16px rgba(67, 55, 39, 0.06);
        transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        border: 2px solid rgba(67, 55, 39, 0.12);
        position: relative;
    }

    .card-depoimento::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: #433727;
        transform: scaleX(0);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .card-depoimento:hover::before {
        transform: scaleX(1);
    }

    .card-depoimento:hover {
        transform: translateY(-12px);
        box-shadow: 0 24px 80px rgba(67, 55, 39, 0.18),
                    0 8px 24px rgba(67, 55, 39, 0.12);
        border-color: rgba(218, 190, 153, 0.3);
    }

    .estrelas {
        color: #DABE99;
        font-size: 1.6rem;
        margin-bottom: 24px;
        letter-spacing: 4px;
    }

    .card-depoimento p {
        font-size: 1.1rem;
        line-height: 1.8;
        margin-bottom: 32px;
        letter-spacing: 0.01em;
        position: relative;
        z-index: 1;
        color: #5B5B5B;
    }

    .autor {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 14px;
    }

    .autor img,
    .autor .autor-avatar {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: #F9F7F4;
        box-shadow: 0 2px 10px rgba(67, 55, 39, 0.1);
        border: 2px solid rgba(67, 55, 39, 0.1);
        transition: transform 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        color: #433727;
        font-size: 1.3rem;
    }

    .autor .autor-avatar {
        background: #433727;
        color: #FFFFFF;
        border-color: #433727;
    }

    .card-depoimento:hover .autor img,
    .card-depoimento:hover .autor .autor-avatar {
        transform: scale(1.1);
    }

    .autor h3 {
        font-size: 1.15rem;
        font-weight: 500;
        letter-spacing: 0.01em;
        color: #433727;
        font-family: "Instrument Serif", serif;
    }

    .dots-depoimentos {
        display: none;
    }
}

/* ===== DEPOIMENTOS - MOBILE ===== */
@media (max-width: 768px) {
.depoimentos {
    padding: 100px 20px;
    text-align: center;
    background: transparent;
}

    .titulo-depoimentos {
        font-size: 2.5rem;
        color: #433727;
        margin-bottom: 16px;
        font-weight: 500;
        font-family: "Instrument Serif", serif;
    }

    .avaliacao-texto {
        font-size: 1.1rem;
        color: #5B5B5B;
        margin-bottom: 40px;
    }

    .avaliacao-texto span {
        color: #DABE99;
        font-weight: 600;
        font-size: 1.3rem;
    }

    .slider-container-depoimentos {
        position: relative;
        overflow: hidden;
        width: 100%;
        max-width: 380px;
        margin: 0 auto;
    }

    .cards-depoimentos {
        display: flex;
        transition: transform 0.4s ease;
        touch-action: pan-y pinch-zoom;
        will-change: transform;
    }

    .card-depoimento {
        flex: 0 0 100%;
        background: #FFFFFF;
        border-radius: 0;
        padding: 32px 24px;
        gap: 10px;
        color: #433727;
        box-shadow: 0 6px 25px rgba(67, 55, 39, 0.12);
        border: 2px solid rgba(67, 55, 39, 0.1);
        min-height: 300px;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .estrelas {
        color: #DABE99;
        font-size: 1.4rem;
        margin-bottom: 20px;
        letter-spacing: 3px;
    }

    .card-depoimento p {
        font-size: 1rem;
        line-height: 1.7;
        margin-bottom: 24px;
        letter-spacing: 0.01em;
        flex-grow: 1;
        color: #5B5B5B;
    }

    .autor {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
    }

    .autor img,
    .autor .autor-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #F9F7F4;
        box-shadow: 0 2px 8px rgba(67, 55, 39, 0.1);
        border: 2px solid rgba(67, 55, 39, 0.1);
        display: flex;
        align-items: center;
        justify-content: center;
        font-weight: 600;
        color: #433727;
        font-size: 1.1rem;
    }

    .autor .autor-avatar {
        background: #433727;
        color: #FFFFFF;
        border-color: #433727;
    }

    .autor h3 {
        font-size: 1rem;
        font-weight: 500;
        letter-spacing: 0.01em;
        color: #433727;
        font-family: "Instrument Serif", serif;
    }

    .dots-depoimentos {
        display: flex;
        justify-content: center;
        margin-top: 24px;
        gap: 10px;
        padding-bottom: 10px;
    }

    .dots-depoimentos .dot {
        width: 10px;
        height: 10px;
        border-radius: 50%;
        background: rgba(67, 55, 39, 0.3);
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .dots-depoimentos .dot:hover {
        background: rgba(67, 55, 39, 0.5);
    }

    .dots-depoimentos .active-depoimento {
        background: #433727;
        transform: scale(1.3);
    }
}

/* ===== DEPOIMENTOS - TABLET ===== */
@media (min-width: 769px) and (max-width: 1024px) {
    .depoimentos {
        padding: 160px 50px;
    }

    .titulo-depoimentos {
        font-size: 3rem;
    }

    .cards-depoimentos {
        grid-template-columns: repeat(2, 1fr);
        gap: 28px;
    }
}

/* ===== DEPOIMENTOS - MOBILE PEQUENO ===== */
@media (max-width: 480px) {
    .depoimentos {
        padding: 80px 15px;
    }

    .titulo-depoimentos {
        font-size: 2rem;
    }

    .avaliacao-texto {
        font-size: 0.95rem;
        padding: 0 15px;
    }

    .slider-container-depoimentos {
        max-width: 100%;
    }

    .card-depoimento {
        padding: 28px 20px;
    }
}
