/* =========================================================
   Nova Vita — Foto / Frase (Michelle)
   Prefixo: .nv-foto-frase
   ========================================================= */

.nv-foto-frase {
    width: 100%;
    overflow: hidden;
    background: #f5f2eb;
    color: #303428;
}

.nv-foto-frase__inner {
    width: min(1550px, calc(100% - 100px));
    min-height: 900px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 48% 52%;
    gap: 50px;
    padding: 42px 0 50px;
}

.nv-foto-frase__content {
    position: relative;
    padding: 120px 40px 40px 10px;
    display: flex;
    flex-direction: column;
}

.nv-foto-frase__label {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 60px;
}

.nv-foto-frase__label > span {
    width: 70px;
    height: 1px;
    flex: 0 0 auto;
    background: #707462;
}

.nv-foto-frase__label p {
    margin: 0;
    font-family: Inter, system-ui, sans-serif;
    font-size: 11px;
    letter-spacing: 5px;
    font-weight: 400;
    text-transform: uppercase;
    color: #5f6352;
}

.nv-foto-frase__label i {
    flex: 1;
    max-width: 200px;
    height: 1px;
    background: rgba(78, 82, 64, 0.35);
}

.nv-foto-frase__quote {
    max-width: 650px;
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(58px, 4.8vw, 76px);
    font-weight: 400;
    font-style: italic;
    line-height: 1.03;
    letter-spacing: -1px;
    color: #34372d;
}

.nv-foto-frase__author {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: 38px;
}

.nv-foto-frase__author span {
    width: 55px;
    height: 1px;
    background: #656a56;
}

.nv-foto-frase__author p {
    margin: 14px 0 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 30px;
    font-style: italic;
    font-weight: 400;
    color: #45483c;
}

.nv-foto-frase__brand-area {
    margin-top: auto;
    padding-top: 75px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: end;
    gap: 45px;
}

.nv-foto-frase__brand {
    display: flex;
    flex-direction: column;
}

.nv-foto-frase__brand strong {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 46px;
    font-weight: 400;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #414538;
}

.nv-foto-frase__brand small {
    margin-top: 5px;
    font-family: Inter, system-ui, sans-serif;
    font-size: 8px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #76776c;
}

.nv-foto-frase__bottom-copy {
    display: flex;
    align-items: flex-start;
    gap: 26px;
    padding-left: 20px;
    border-left: 1px solid rgba(78, 82, 64, 0.4);
}

.nv-foto-frase__bottom-copy > span {
    display: none;
}

.nv-foto-frase__bottom-copy p {
    margin: 0;
    font-family: Inter, system-ui, sans-serif;
    font-size: 10px;
    line-height: 1.9;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #77786c;
}

.nv-foto-frase__visual {
    position: relative;
    min-height: 850px;
}

.nv-foto-frase__main-image-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 72%;
    height: 92%;
    overflow: hidden;
    border-radius: 0 170px 0 170px;
}

.nv-foto-frase__main-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    box-shadow: none;
    transform-origin: center;
}

.nv-foto-frase__top-copy {
    position: absolute;
    top: 40px;
    right: 0;
    z-index: 4;
    width: 180px;
}

.nv-foto-frase__top-copy p {
    margin: 0;
    font-family: Inter, system-ui, sans-serif;
    font-size: 10px;
    line-height: 2;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #6d6f61;
}

.nv-foto-frase__top-copy span {
    display: block;
    width: 55px;
    height: 1px;
    margin-top: 25px;
    background: #737665;
}

.nv-foto-frase__side-copy {
    position: absolute;
    top: 36%;
    right: 2%;
    z-index: 4;
}

.nv-foto-frase__side-copy p {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 27px;
    line-height: 1.2;
    font-style: italic;
    color: #737363;
}

.nv-foto-frase__side-copy span {
    display: block;
    width: 48px;
    height: 1px;
    margin-top: 25px;
    background: #77796b;
}

.nv-foto-frase__detail-image-wrap {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 3;
    width: 42%;
    height: 36%;
    overflow: hidden;
    border-radius: 28px;
}

.nv-foto-frase__detail-image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 0;
    box-shadow: none;
}

/* Entrada (só com JS) */
.js .nv-foto-frase:not(.nv-foto-frase--visible) .nv-foto-frase__main-image {
    transform: scale(1.02);
}

.js .nv-foto-frase:not(.nv-foto-frase--visible) .nv-foto-frase__label,
.js .nv-foto-frase:not(.nv-foto-frase--visible) .nv-foto-frase__quote,
.js .nv-foto-frase:not(.nv-foto-frase--visible) .nv-foto-frase__author,
.js .nv-foto-frase:not(.nv-foto-frase--visible) .nv-foto-frase__brand-area,
.js .nv-foto-frase:not(.nv-foto-frase--visible) .nv-foto-frase__top-copy,
.js .nv-foto-frase:not(.nv-foto-frase--visible) .nv-foto-frase__side-copy,
.js .nv-foto-frase:not(.nv-foto-frase--visible) .nv-foto-frase__detail-image-wrap {
    opacity: 0;
    transform: translateY(18px);
}

.nv-foto-frase__main-image {
    transition: transform 1.3s ease;
}

.nv-foto-frase__label,
.nv-foto-frase__quote,
.nv-foto-frase__author,
.nv-foto-frase__brand-area,
.nv-foto-frase__top-copy,
.nv-foto-frase__side-copy,
.nv-foto-frase__detail-image-wrap {
    opacity: 1;
    transition: opacity 0.85s ease, transform 0.85s ease;
}

.nv-foto-frase--visible .nv-foto-frase__main-image {
    transform: scale(1);
}

.nv-foto-frase--visible .nv-foto-frase__label,
.nv-foto-frase--visible .nv-foto-frase__quote,
.nv-foto-frase--visible .nv-foto-frase__author,
.nv-foto-frase--visible .nv-foto-frase__brand-area,
.nv-foto-frase--visible .nv-foto-frase__top-copy,
.nv-foto-frase--visible .nv-foto-frase__side-copy,
.nv-foto-frase--visible .nv-foto-frase__detail-image-wrap {
    opacity: 1;
    transform: none;
}

.nv-foto-frase--visible .nv-foto-frase__quote { transition-delay: 0.08s; }
.nv-foto-frase--visible .nv-foto-frase__author { transition-delay: 0.15s; }
.nv-foto-frase--visible .nv-foto-frase__top-copy { transition-delay: 0.12s; }
.nv-foto-frase--visible .nv-foto-frase__detail-image-wrap { transition-delay: 0.22s; }

@media (prefers-reduced-motion: reduce) {
    .js .nv-foto-frase:not(.nv-foto-frase--visible) .nv-foto-frase__main-image,
    .js .nv-foto-frase:not(.nv-foto-frase--visible) .nv-foto-frase__label,
    .js .nv-foto-frase:not(.nv-foto-frase--visible) .nv-foto-frase__quote,
    .js .nv-foto-frase:not(.nv-foto-frase--visible) .nv-foto-frase__author,
    .js .nv-foto-frase:not(.nv-foto-frase--visible) .nv-foto-frase__brand-area,
    .js .nv-foto-frase:not(.nv-foto-frase--visible) .nv-foto-frase__top-copy,
    .js .nv-foto-frase:not(.nv-foto-frase--visible) .nv-foto-frase__side-copy,
    .js .nv-foto-frase:not(.nv-foto-frase--visible) .nv-foto-frase__detail-image-wrap,
    .nv-foto-frase__main-image,
    .nv-foto-frase__label,
    .nv-foto-frase__quote,
    .nv-foto-frase__author,
    .nv-foto-frase__brand-area,
    .nv-foto-frase__top-copy,
    .nv-foto-frase__side-copy,
    .nv-foto-frase__detail-image-wrap {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

@media (max-width: 1180px) {
    .nv-foto-frase__inner {
        width: calc(100% - 60px);
        grid-template-columns: 46% 54%;
    }

    .nv-foto-frase__content {
        padding-top: 95px;
    }

    .nv-foto-frase__quote {
        font-size: 58px;
    }

    .nv-foto-frase__main-image-wrap {
        width: 76%;
    }

    .nv-foto-frase__brand strong {
        font-size: 38px;
    }
}

@media (max-width: 850px) {
    .nv-foto-frase__inner {
        width: 100%;
        display: flex;
        flex-direction: column;
        min-height: auto;
        padding: 50px 22px 40px;
    }

    .nv-foto-frase__content {
        padding: 0;
    }

    .nv-foto-frase__label {
        margin-bottom: 40px;
    }

    .nv-foto-frase__label > span {
        width: 40px;
    }

    .nv-foto-frase__label i {
        display: none;
    }

    .nv-foto-frase__label p {
        font-size: 9px;
        letter-spacing: 3px;
    }

    .nv-foto-frase__quote {
        max-width: none;
        font-size: 46px;
        line-height: 1.03;
    }

    .nv-foto-frase__author p {
        font-size: 27px;
    }

    .nv-foto-frase__brand-area {
        margin-top: 60px;
        padding-top: 0;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .nv-foto-frase__brand strong {
        font-size: 34px;
    }

    .nv-foto-frase__bottom-copy {
        padding-left: 0;
        border-left: none;
    }

    .nv-foto-frase__visual {
        min-height: 660px;
        margin-top: 25px;
    }

    .nv-foto-frase__main-image-wrap {
        width: 82%;
        height: 90%;
        border-radius: 0 100px 0 100px;
    }

    .nv-foto-frase__top-copy {
        top: 20px;
        right: 0;
        width: 125px;
    }

    .nv-foto-frase__top-copy p {
        font-size: 8px;
        letter-spacing: 2.5px;
    }

    .nv-foto-frase__side-copy {
        display: none;
    }

    .nv-foto-frase__detail-image-wrap {
        width: 44%;
        height: 32%;
        border-radius: 18px;
    }
}

@media (max-width: 480px) {
    .nv-foto-frase__quote {
        font-size: 39px;
    }

    .nv-foto-frase__visual {
        min-height: 570px;
    }

    .nv-foto-frase__main-image-wrap {
        width: 84%;
    }

    .nv-foto-frase__detail-image-wrap {
        width: 46%;
        height: 30%;
    }
}
