/* =========================================================
   Nova Vita — Depoimentos (Michelle)
   Prefixo: .nv-depoimentos
   ========================================================= */

.nv-depoimentos {
    width: 100%;
    overflow: hidden;
    background: #f5f2eb;
    color: #2c3026;
}

.nv-depoimentos__layout {
    width: min(1600px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(220px, 28%) minmax(0, 1fr);
    min-height: 640px;
}

.nv-depoimentos__side {
    position: relative;
    min-height: 640px;
    overflow: hidden;
}

.nv-depoimentos__side-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 0;
    box-shadow: none;
}

.nv-depoimentos__side-caption {
    position: absolute;
    left: 36px;
    bottom: 56px;
    z-index: 2;
    max-width: 220px;
    color: #f4efe6;
    text-shadow: 0 1px 12px rgba(20, 22, 16, 0.35);
}

.nv-depoimentos__side-caption p {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 26px;
    font-style: italic;
    line-height: 1.2;
}

.nv-depoimentos__main {
    padding: 56px 6% 42px 5%;
    display: flex;
    flex-direction: column;
}

.nv-depoimentos__label {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
}

.nv-depoimentos__label > span {
    width: 42px;
    height: 1px;
    flex: 0 0 auto;
    background: #69705b;
}

.nv-depoimentos__label p {
    margin: 0;
    font-family: Inter, system-ui, sans-serif;
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #5f654f;
}

.nv-depoimentos__title {
    margin: 0 0 42px;
    max-width: 820px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(42px, 4vw, 64px);
    font-weight: 400;
    line-height: 0.98;
    letter-spacing: -0.8px;
    color: #2c3026;
}

.nv-depoimentos__viewport {
    overflow: hidden;
    width: 100%;
}

.nv-depoimentos__track {
    display: flex;
    gap: 0;
    transition: transform 0.55s ease;
    will-change: transform;
}

.nv-depoimentos__card {
    flex: 0 0 33.333%;
    box-sizing: border-box;
    padding: 0 28px 8px 0;
    max-width: 33.333%;
}

.nv-depoimentos__card-head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 22px;
}

.nv-depoimentos__avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    flex: 0 0 auto;
    background: #e4dfd4;
    display: grid;
    place-items: center;
}

.nv-depoimentos__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nv-depoimentos__avatar span {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 28px;
    color: #5e644b;
}

.nv-depoimentos__card-rule {
    display: block;
    width: 1px;
    height: 54px;
    background: #61674b;
}

.nv-depoimentos__quote {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 22px;
    font-style: italic;
    line-height: 1.35;
    color: #55564f;
}

.nv-depoimentos__meta {
    margin-top: 22px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nv-depoimentos__meta strong {
    font-family: Inter, system-ui, sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: #2c3026;
}

.nv-depoimentos__meta span {
    font-family: Inter, system-ui, sans-serif;
    font-size: 10px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #7a7b70;
}

.nv-depoimentos__nav {
    margin-top: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 22px;
    position: relative;
}

.nv-depoimentos__dots {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nv-depoimentos__dot {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(97, 103, 75, 0.28);
    cursor: pointer;
}

.nv-depoimentos__dot.is-active {
    background: #61674b;
}

.nv-depoimentos__next {
    position: absolute;
    right: 0;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 50%;
    background: #61674b;
    color: #f7f4ec;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.nv-depoimentos__next svg {
    width: 18px;
    height: 18px;
}

.nv-depoimentos__footer {
    margin-top: auto;
    padding-top: 40px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}

.nv-depoimentos__footer-side {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nv-depoimentos__footer-side span {
    width: 48px;
    height: 1px;
    flex: 0 0 auto;
    background: #747665;
}

.nv-depoimentos__footer-side p {
    margin: 0;
    font-family: Inter, system-ui, sans-serif;
    font-size: 8px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #737467;
}

.nv-depoimentos__footer-side--right {
    justify-content: flex-end;
}

.nv-depoimentos__footer-side--line span {
    width: 70px;
}

.nv-depoimentos__footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.nv-depoimentos__footer-brand strong {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 24px;
    font-weight: 400;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #45493c;
}

.nv-depoimentos__footer-brand small {
    margin-top: 4px;
    font-family: Inter, system-ui, sans-serif;
    font-size: 7px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #8a897c;
}

.js .nv-depoimentos:not(.nv-depoimentos--visible) .nv-depoimentos__label,
.js .nv-depoimentos:not(.nv-depoimentos--visible) .nv-depoimentos__title,
.js .nv-depoimentos:not(.nv-depoimentos--visible) .nv-depoimentos__card,
.js .nv-depoimentos:not(.nv-depoimentos--visible) .nv-depoimentos__side-caption {
    opacity: 0;
    transform: translateY(16px);
}

.nv-depoimentos__label,
.nv-depoimentos__title,
.nv-depoimentos__card,
.nv-depoimentos__side-caption {
    opacity: 1;
    transition: opacity 0.85s ease, transform 0.85s ease;
}

.nv-depoimentos--visible .nv-depoimentos__label,
.nv-depoimentos--visible .nv-depoimentos__title,
.nv-depoimentos--visible .nv-depoimentos__card,
.nv-depoimentos--visible .nv-depoimentos__side-caption {
    opacity: 1;
    transform: none;
}

.nv-depoimentos--visible .nv-depoimentos__title { transition-delay: 0.08s; }
.nv-depoimentos--visible .nv-depoimentos__card:nth-child(1) { transition-delay: 0.12s; }
.nv-depoimentos--visible .nv-depoimentos__card:nth-child(2) { transition-delay: 0.18s; }
.nv-depoimentos--visible .nv-depoimentos__card:nth-child(3) { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
    .js .nv-depoimentos:not(.nv-depoimentos--visible) .nv-depoimentos__label,
    .js .nv-depoimentos:not(.nv-depoimentos--visible) .nv-depoimentos__title,
    .js .nv-depoimentos:not(.nv-depoimentos--visible) .nv-depoimentos__card,
    .js .nv-depoimentos:not(.nv-depoimentos--visible) .nv-depoimentos__side-caption,
    .nv-depoimentos__label,
    .nv-depoimentos__title,
    .nv-depoimentos__card,
    .nv-depoimentos__side-caption,
    .nv-depoimentos__track {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 1100px) {
    .nv-depoimentos__layout {
        grid-template-columns: minmax(180px, 32%) minmax(0, 1fr);
    }

    .nv-depoimentos__card {
        flex-basis: 50%;
        max-width: 50%;
    }

    .nv-depoimentos__title {
        font-size: 48px;
    }
}

@media (max-width: 800px) {
    .nv-depoimentos__layout {
        display: flex;
        flex-direction: column;
    }

    .nv-depoimentos__side {
        min-height: 360px;
    }

    .nv-depoimentos__side-caption {
        left: 24px;
        bottom: 36px;
    }

    .nv-depoimentos__main {
        padding: 42px 24px 36px;
    }

    .nv-depoimentos__title {
        font-size: 40px;
        margin-bottom: 32px;
    }

    .nv-depoimentos__card {
        flex-basis: 100%;
        max-width: 100%;
        padding-right: 0;
        padding-bottom: 28px;
    }

    .nv-depoimentos__quote {
        font-size: 20px;
    }

    .nv-depoimentos__footer {
        grid-template-columns: 1fr;
        gap: 18px;
        text-align: center;
        margin-top: 28px;
    }

    .nv-depoimentos__footer-side,
    .nv-depoimentos__footer-side--right {
        justify-content: center;
    }

    .nv-depoimentos__next {
        position: static;
    }
}
