/* =========================================================
   Nova Vita — Uma Diferença que Não se Ensina
   Prefixo: .nv-tempo
   ========================================================= */

.nv-tempo {
    width: 100%;
    overflow: hidden;
    background: #f5f2eb;
    color: #242820;
}

.nv-tempo__grid {
    width: min(1600px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 46% 54%;
    grid-template-rows: auto auto;
}

.nv-tempo__content {
    padding: 62px 70px 38px 6%;
}

.nv-tempo__label {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: 42px;
}

.nv-tempo__label > span {
    width: 55px;
    height: 1px;
    flex: 0 0 auto;
    background: #666c55;
}

.nv-tempo__label p {
    margin: 0;
    font-family: Inter, system-ui, sans-serif;
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #60664f;
}

.nv-tempo__title {
    margin: 0;
    max-width: 650px;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: clamp(58px, 4.7vw, 76px);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: -1.2px;
    color: #242820;
}

.nv-tempo__text {
    max-width: 640px;
    margin-top: 30px;
    font-family: Inter, system-ui, sans-serif;
    font-size: 17px;
    font-weight: 300;
    line-height: 1.5;
    color: #4f514a;
}

.nv-tempo__text p {
    margin: 0 0 21px;
}

.nv-tempo__text p:last-child {
    margin-bottom: 0;
}

.nv-tempo__small-line {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-top: 40px;
}

.nv-tempo__small-line > span {
    width: 60px;
    height: 1px;
    flex: 0 0 auto;
    background: #717463;
}

.nv-tempo__small-line p {
    margin: 0;
    font-family: Inter, system-ui, sans-serif;
    font-size: 8px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #737568;
}

.nv-tempo__hero {
    position: relative;
    min-height: 620px;
    overflow: hidden;
}

.nv-tempo__hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 0;
    box-shadow: none;
    transform-origin: center;
}

.nv-tempo__hero-quote {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    width: 275px;
    min-height: 375px;
    box-sizing: border-box;
    padding: 54px 42px 40px;
    background: #60674d;
    color: #f7f4ed;
    border-radius: 0;
    box-shadow: none;
}

.nv-tempo__hero-quote-line {
    display: block;
    width: 1px;
    height: 70px;
    margin: -54px 0 32px 20px;
    background: rgba(255, 255, 255, 0.75);
}

.nv-tempo__hero-quote p {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 27px;
    font-style: italic;
    line-height: 1.25;
}

.nv-tempo__hero-quote i {
    display: block;
    width: 45px;
    height: 1px;
    margin-top: 28px;
    background: rgba(255, 255, 255, 0.75);
}

.nv-tempo__nature {
    position: relative;
    min-height: 360px;
    overflow: hidden;
}

.nv-tempo__nature-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 0;
    box-shadow: none;
    transform-origin: center;
}

.nv-tempo__nature::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(26, 31, 20, 0.1),
        rgba(26, 31, 20, 0.42)
    );
    pointer-events: none;
}

.nv-tempo__nature-message {
    position: absolute;
    z-index: 2;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    color: #f4efe6;
    text-shadow: 0 1px 12px rgba(20, 22, 16, 0.3);
}

.nv-tempo__nature-message p {
    margin: 0;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 30px;
    font-style: italic;
    line-height: 1.2;
}

.nv-tempo__nature-message span {
    display: block;
    width: 45px;
    height: 1px;
    margin-top: 30px;
    background: rgba(255, 255, 255, 0.85);
}

.nv-tempo__metrics {
    padding: 38px 45px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 360px;
}

.nv-tempo__metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.nv-tempo__metric {
    min-height: 180px;
    padding: 0 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nv-tempo__metric:not(:last-child) {
    border-right: 1px solid rgba(78, 82, 64, 0.23);
}

.nv-tempo__metric strong {
    display: block;
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 58px;
    line-height: 1;
    font-weight: 400;
    color: #5e644b;
}

.nv-tempo__metric-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 6px;
    color: #5e644b;
}

.nv-tempo__metric-icon svg {
    width: 100%;
    height: 100%;
    display: block;
}

.nv-tempo__metric h3 {
    margin: 12px 0 0;
    font-family: Inter, system-ui, sans-serif;
    font-size: 10px;
    font-weight: 400;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #5f6350;
}

.nv-tempo__metric p {
    margin: 14px 0 0;
    font-family: Inter, system-ui, sans-serif;
    font-size: 13px;
    line-height: 1.5;
    font-weight: 300;
    color: #65665f;
}

.nv-tempo__footer {
    margin-top: 34px;
    padding-top: 30px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    border-top: 1px solid rgba(78, 82, 64, 0.24);
}

.nv-tempo__footer-brand {
    display: flex;
    flex-direction: column;
}

.nv-tempo__footer-brand strong {
    font-family: "Cormorant Garamond", Georgia, serif;
    font-size: 27px;
    font-weight: 400;
    letter-spacing: 7px;
    text-transform: uppercase;
    color: #4c503f;
}

.nv-tempo__footer-brand small {
    margin-top: 4px;
    font-family: Inter, system-ui, sans-serif;
    font-size: 7px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #84847a;
}

.nv-tempo__footer-side {
    display: flex;
    align-items: center;
    gap: 18px;
}

.nv-tempo__footer-side span {
    width: 60px;
    height: 1px;
    flex: 0 0 auto;
    background: #777969;
}

.nv-tempo__footer-side p {
    margin: 0;
    font-family: Inter, system-ui, sans-serif;
    font-size: 8px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #77786d;
}

/* Entrada (só com JS) */
.js .nv-tempo:not(.nv-tempo--visible) .nv-tempo__hero-image,
.js .nv-tempo:not(.nv-tempo--visible) .nv-tempo__nature-image {
    transform: scale(1.03);
}

.js .nv-tempo:not(.nv-tempo--visible) .nv-tempo__label,
.js .nv-tempo:not(.nv-tempo--visible) .nv-tempo__title,
.js .nv-tempo:not(.nv-tempo--visible) .nv-tempo__text,
.js .nv-tempo:not(.nv-tempo--visible) .nv-tempo__small-line,
.js .nv-tempo:not(.nv-tempo--visible) .nv-tempo__hero-quote,
.js .nv-tempo:not(.nv-tempo--visible) .nv-tempo__metric {
    opacity: 0;
    transform: translateY(18px);
}

.js .nv-tempo:not(.nv-tempo--visible) .nv-tempo__nature-message {
    opacity: 0;
    transform: translateY(calc(-50% + 18px));
}

.nv-tempo__hero-image,
.nv-tempo__nature-image {
    transition: transform 1.3s ease;
}

.nv-tempo__label,
.nv-tempo__title,
.nv-tempo__text,
.nv-tempo__small-line,
.nv-tempo__hero-quote,
.nv-tempo__nature-message,
.nv-tempo__metric {
    opacity: 1;
    transition: opacity 0.85s ease, transform 0.85s ease;
}

.nv-tempo--visible .nv-tempo__hero-image,
.nv-tempo--visible .nv-tempo__nature-image {
    transform: scale(1);
}

.nv-tempo--visible .nv-tempo__label,
.nv-tempo--visible .nv-tempo__title,
.nv-tempo--visible .nv-tempo__text,
.nv-tempo--visible .nv-tempo__small-line,
.nv-tempo--visible .nv-tempo__hero-quote,
.nv-tempo--visible .nv-tempo__metric {
    opacity: 1;
    transform: none;
}

.nv-tempo--visible .nv-tempo__nature-message {
    opacity: 1;
    transform: translateY(-50%);
}

.nv-tempo--visible .nv-tempo__title { transition-delay: 0.08s; }
.nv-tempo--visible .nv-tempo__text { transition-delay: 0.15s; }
.nv-tempo--visible .nv-tempo__hero-quote { transition-delay: 0.18s; }
.nv-tempo--visible .nv-tempo__nature-message { transition-delay: 0.22s; }
.nv-tempo--visible .nv-tempo__metric:nth-child(1) { transition-delay: 0.1s; }
.nv-tempo--visible .nv-tempo__metric:nth-child(2) { transition-delay: 0.16s; }
.nv-tempo--visible .nv-tempo__metric:nth-child(3) { transition-delay: 0.22s; }
.nv-tempo--visible .nv-tempo__metric:nth-child(4) { transition-delay: 0.28s; }

@media (prefers-reduced-motion: reduce) {
    .js .nv-tempo:not(.nv-tempo--visible) .nv-tempo__hero-image,
    .js .nv-tempo:not(.nv-tempo--visible) .nv-tempo__nature-image,
    .js .nv-tempo:not(.nv-tempo--visible) .nv-tempo__label,
    .js .nv-tempo:not(.nv-tempo--visible) .nv-tempo__title,
    .js .nv-tempo:not(.nv-tempo--visible) .nv-tempo__text,
    .js .nv-tempo:not(.nv-tempo--visible) .nv-tempo__small-line,
    .js .nv-tempo:not(.nv-tempo--visible) .nv-tempo__hero-quote,
    .js .nv-tempo:not(.nv-tempo--visible) .nv-tempo__metric,
    .nv-tempo__hero-image,
    .nv-tempo__nature-image,
    .nv-tempo__label,
    .nv-tempo__title,
    .nv-tempo__text,
    .nv-tempo__small-line,
    .nv-tempo__hero-quote,
    .nv-tempo__metric {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .js .nv-tempo:not(.nv-tempo--visible) .nv-tempo__nature-message,
    .nv-tempo__nature-message {
        opacity: 1;
        transform: translateY(-50%);
        transition: none;
    }
}

@media (max-width: 1100px) {
    .nv-tempo__grid {
        grid-template-columns: 1fr 1fr;
    }

    .nv-tempo__content {
        padding-left: 40px;
        padding-right: 40px;
    }

    .nv-tempo__title {
        font-size: 58px;
    }

    .nv-tempo__hero-quote {
        width: 230px;
    }

    .nv-tempo__metrics-grid {
        grid-template-columns: repeat(2, 1fr);
        row-gap: 35px;
    }

    .nv-tempo__metric:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 800px) {
    .nv-tempo__grid {
        display: flex;
        flex-direction: column;
    }

    .nv-tempo__content {
        padding: 50px 24px 40px;
    }

    .nv-tempo__label {
        margin-bottom: 35px;
    }

    .nv-tempo__label > span {
        width: 38px;
    }

    .nv-tempo__label p {
        font-size: 9px;
        letter-spacing: 3px;
    }

    .nv-tempo__title {
        font-size: 46px;
        line-height: 0.98;
    }

    .nv-tempo__text {
        font-size: 16px;
    }

    .nv-tempo__hero {
        min-height: 540px;
    }

    .nv-tempo__hero-quote {
        width: 205px;
        min-height: auto;
        padding: 42px 28px 30px;
    }

    .nv-tempo__hero-quote p {
        font-size: 23px;
    }

    .nv-tempo__nature {
        min-height: 320px;
    }

    .nv-tempo__nature-message {
        right: 25px;
    }

    .nv-tempo__nature-message p {
        font-size: 26px;
    }

    .nv-tempo__metrics {
        padding: 35px 24px 30px;
        min-height: 0;
    }

    .nv-tempo__metrics-grid {
        grid-template-columns: 1fr 1fr;
    }

    .nv-tempo__metric {
        padding: 25px 20px;
    }

    .nv-tempo__metric:nth-child(2) {
        border-right: none;
    }

    .nv-tempo__metric:nth-child(-n+2) {
        border-bottom: 1px solid rgba(78, 82, 64, 0.2);
    }

    .nv-tempo__footer {
        flex-direction: column;
        align-items: center;
        gap: 22px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nv-tempo__title {
        font-size: 40px;
    }

    .nv-tempo__hero {
        min-height: 460px;
    }

    .nv-tempo__hero-quote {
        width: 175px;
        padding: 35px 22px 25px;
    }

    .nv-tempo__hero-quote p {
        font-size: 20px;
    }

    .nv-tempo__metrics-grid {
        grid-template-columns: 1fr;
    }

    .nv-tempo__metric {
        border-right: none !important;
        border-bottom: 1px solid rgba(78, 82, 64, 0.18);
    }

    .nv-tempo__metric:last-child {
        border-bottom: none;
    }
}
