/* =========================================================
   Nova Vita — Para quem é + Formulário (Venda)
   Prefixo: .nv-venda-contato
   PNG editorial transparente (não foto em coluna)
   ========================================================= */

.nv-venda-contato {
    --nv-vc-bg: #f5f2eb;
    --nv-vc-form-bg: #f7f4ee;
    --nv-vc-title: #252a21;
    --nv-vc-text: #56574f;
    --nv-vc-olive: #4e563a;
    --nv-vc-olive-mid: #62684d;
    --nv-vc-line: rgba(78, 82, 64, .28);
    --nv-vc-container-inset: max(1.25rem, calc((100vw - min(100vw - 2.5rem, var(--container, 1280px))) / 2));

    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--nv-vc-bg);
    color: var(--nv-vc-title);
}

.nv-venda-contato__inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: none;
    min-height: 900px;
    margin: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(470px, 540px);
    align-items: stretch;
    padding-left: clamp(255px, 20vw, 325px);
    padding-right: var(--nv-vc-container-inset);
    box-sizing: border-box;
}

.nv-venda-contato__leaves {
    position: absolute;
    inset: 0 0 0 clamp(255px, 20vw, 325px);
    pointer-events: none;
    z-index: 0;
    opacity: .22;
    overflow: hidden;
}

.nv-venda-contato__leaves .section-leaves--fan {
    position: absolute;
    right: 38%;
    top: 8%;
    width: min(280px, 28vw);
    color: #6a7058;
}

.nv-venda-contato__leaves .section-leaves--sprig {
    position: absolute;
    left: 8%;
    bottom: 6%;
    width: min(160px, 18vw);
    color: #6a7058;
}

/* ========================================================
   PNG VAZADA — camada absoluta (não é coluna do grid)
======================================================== */

.nv-venda-contato__media {
    position: absolute;
    z-index: 2;
    left: 0;
    top: 0;
    bottom: 0;
    width: clamp(300px, 22vw, 380px);
    min-height: 900px;
    overflow: visible;
    margin: 0;
    padding: 0;
    pointer-events: none;
}

.nv-venda-contato__media-image {
    position: absolute;
    left: 0;
    bottom: 0;
    width: auto;
    height: 100%;
    max-width: none;
    display: block;
    object-fit: contain;
    object-position: left bottom;
    transform: none;
    pointer-events: none;
}

/* Película só na silhueta da PNG — nunca no CTA */
.nv-venda-contato__media-overlay {
    position: absolute;
    z-index: 3;
    left: 0;
    bottom: 0;
    height: 100%;
    width: auto;
    aspect-ratio: 1086 / 1448;
    max-width: none;
    margin: 0;
    padding: 0;
    pointer-events: none;
    background-color: var(--nv-vc-film-color, #171912);
    opacity: 0;
    -webkit-mask-image: var(--nv-vc-media-mask);
    mask-image: var(--nv-vc-media-mask);
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-mode: alpha;
    mask-mode: alpha;
}

.nv-venda-contato__media-copy {
    position: absolute;
    z-index: 4;
    left: 28px;
    bottom: 62px;
    color: rgba(255, 255, 255, .95);
}

.nv-venda-contato__media-copy > span {
    display: block;
    width: 1px;
    height: 70px;
    margin-bottom: 18px;
    background: rgba(255, 255, 255, .72);
}

.nv-venda-contato__media-copy p {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: 8px;
    line-height: 1.85;
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* ========================================================
   CONTEÚDO CENTRAL
======================================================== */

.nv-venda-contato__content {
    --nv-vc-title-indent: calc(42px + 22px); /* traço + gap do subheading */

    position: relative;
    z-index: 4;
    padding: 72px 58px 60px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.nv-venda-contato__label {
    display: flex;
    align-items: center;
    gap: 22px;
    margin-bottom: clamp(28px, 4vw, 48px);
}

.nv-venda-contato__label > span {
    width: 55px;
    height: 1px;
    flex-shrink: 0;
    background: #696e59;
}

.nv-venda-contato__label p {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: #5f6451;
}

.nv-venda-contato__title {
    max-width: 720px;
    margin: 0;
    padding-left: var(--nv-vc-title-indent);
    box-sizing: border-box;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(56px, 4.6vw, 76px);
    line-height: .97;
    font-weight: 400;
    letter-spacing: -1.2px;
    text-transform: uppercase;
    color: #272b22;
}

.nv-venda-contato__lead {
    max-width: 620px;
    margin: 28px 0 0;
    padding-left: var(--nv-vc-title-indent);
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
    font-size: 18px;
    line-height: 1.55;
    font-weight: 300;
    color: #55564f;
}

.nv-venda-contato__divider {
    width: calc(100% - var(--nv-vc-title-indent));
    max-width: 34rem;
    height: 1px;
    margin: clamp(2.5rem, 5vw, 4rem) 0 clamp(1.75rem, 3vw, 2.75rem);
    margin-left: var(--nv-vc-title-indent);
    background: rgba(78, 82, 64, .35);
}

.nv-venda-contato__subheading {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    max-width: 34rem;
}

.nv-venda-contato__subheading > span {
    display: block;
    width: 42px;
    height: 1px;
    margin-top: 1.05em;
    flex-shrink: 0;
    background: #666b56;
}

.nv-venda-contato__subheading h3 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    line-height: 1.05;
    font-weight: 400;
    text-transform: uppercase;
    color: #2d3128;
}

.nv-venda-contato__subheading p {
    max-width: 32rem;
    margin: 1.15rem 0 0;
    font-family: "Inter", sans-serif;
    font-size: 1rem;
    line-height: 1.55;
    font-weight: 300;
    color: #5a5b55;
}

/* ========================================================
   FORM WRAPPER
======================================================== */

.nv-venda-contato__form-wrap {
    position: relative;
    z-index: 5;
    align-self: center;
    width: 100%;
    max-width: none;
    margin: 36px 0;
    padding: 26px 38px 24px;
    box-sizing: border-box;
    border: 1px solid rgba(76, 81, 61, .60);
    border-radius: 10px;
    background: rgba(247, 244, 238, .88);
    box-shadow: none;
}

.nv-venda-contato__form-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 1.4rem;
}

.nv-venda-contato__form-brand strong {
    font-family: "Cormorant Garamond", serif;
    font-size: 15px;
    font-weight: 400;
    letter-spacing: 8px;
    color: #515640;
}

.nv-venda-contato__form-brand small {
    margin-top: 3px;
    font-family: "Inter", sans-serif;
    font-size: 6px;
    letter-spacing: 5px;
    color: #686b5e;
}

.nv-venda-contato__form-brand span {
    width: 40px;
    height: 1px;
    margin-top: 12px;
    background: #717564;
}

.nv-venda-contato__form {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
}

.nv-venda-contato__row--2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.15rem;
}

.nv-venda-contato__field {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.nv-venda-contato__field label,
.nv-venda-contato__options legend {
    font-family: "Inter", sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #303229;
}

.nv-venda-contato__field input,
.nv-venda-contato__field textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(75, 79, 64, .28);
    border-radius: 4px;
    background: rgba(255, 255, 255, .45);
    padding: 13px 14px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    color: #34362e;
    outline: none;
    transition: border-color .25s ease, background .25s ease;
}

.nv-venda-contato__field input {
    min-height: 46px;
}

.nv-venda-contato__field textarea {
    resize: vertical;
    min-height: 96px;
}

.nv-venda-contato__field input:focus,
.nv-venda-contato__field textarea:focus {
    border-color: var(--nv-vc-olive-mid);
    background: rgba(255, 255, 255, .7);
}

.nv-venda-contato__field input::placeholder,
.nv-venda-contato__field textarea::placeholder {
    color: rgba(68, 70, 62, .48);
}

.nv-venda-contato__honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.nv-venda-contato__options {
    margin: 0;
    padding: 0;
    border: 0;
}

.nv-venda-contato__options legend {
    margin-bottom: .75rem;
    padding: 0;
}

.nv-venda-contato__options-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem 1.4rem;
}

.nv-venda-contato__options-grid label {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    cursor: pointer;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    color: #484a42;
}

.nv-venda-contato__options-grid input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    margin: 0;
    border: 1px solid #515640;
    border-radius: 50%;
    background: transparent;
    position: relative;
    cursor: pointer;
    flex-shrink: 0;
}

.nv-venda-contato__options-grid input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: #596047;
}

.nv-venda-contato__submit {
    width: 100%;
    min-height: 54px;
    margin-top: .35rem;
    padding: 14px 22px;
    border: 0;
    border-radius: 2px;
    background: var(--nv-vc-olive);
    color: #f6f2e8;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 18px;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.05rem;
    font-weight: 400;
    letter-spacing: .22em;
    text-transform: uppercase;
    transition: background .3s ease, transform .3s ease;
}

.nv-venda-contato__submit:hover {
    background: #424931;
    transform: translateY(-1px);
}

.nv-venda-contato__submit i {
    font-style: normal;
    font-size: 1.25rem;
    letter-spacing: 0;
}

.nv-venda-contato__form-footer {
    margin-top: 1.6rem;
    display: grid;
    grid-template-columns: 1fr 1px 1fr;
    align-items: center;
    gap: 1.5rem;
}

.nv-venda-contato__footer-brand {
    display: flex;
    align-items: center;
    gap: .85rem;
}

.nv-venda-contato__footer-brand > div {
    display: flex;
    flex-direction: column;
}

.nv-venda-contato__footer-brand strong {
    font-family: "Cormorant Garamond", serif;
    font-size: 1.15rem;
    letter-spacing: .28em;
    font-weight: 400;
    color: #4a503c;
}

.nv-venda-contato__footer-brand small {
    margin-top: 3px;
    font-family: "Inter", sans-serif;
    font-size: 6px;
    letter-spacing: 4px;
    color: #717365;
}

.nv-venda-contato__leaf {
    font-family: Georgia, serif;
    font-size: 1.7rem;
    color: #5f654c;
    line-height: 1;
}

.nv-venda-contato__footer-separator {
    width: 1px;
    height: 48px;
    background: rgba(78, 82, 64, .35);
}

.nv-venda-contato__form-footer > p {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: 8px;
    line-height: 1.9;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #6f7165;
}

/* ========================================================
   TABLET
======================================================== */

@media (max-width: 1180px) {
    .nv-venda-contato__inner {
        padding-left: 230px;
        grid-template-columns: minmax(0, 1fr) minmax(410px, 470px);
    }

    .nv-venda-contato__leaves {
        inset: 0 0 0 230px;
    }

    .nv-venda-contato__media {
        width: 290px;
    }

    .nv-venda-contato__media-image {
        height: 100%;
        width: auto;
    }

    .nv-venda-contato__content {
        padding: 56px 36px 48px 28px;
    }

    .nv-venda-contato__form-wrap {
        width: 100%;
        margin: 28px 0;
        padding: 24px 28px;
    }

    .nv-venda-contato__title {
        font-size: clamp(48px, 5vw, 64px);
    }
}

@media (max-width: 900px) {
    .nv-venda-contato__inner {
        display: flex;
        flex-direction: column;
        min-height: auto;
        padding: 0;
    }

    .nv-venda-contato__leaves {
        display: none;
    }

    .nv-venda-contato__media {
        position: relative;
        left: auto;
        top: auto;
        bottom: auto;
        width: 100%;
        height: 480px;
        min-height: 480px;
        overflow: hidden;
    }

    .nv-venda-contato__media-image {
        position: absolute;
        left: 50%;
        bottom: 0;
        height: 100%;
        width: auto;
        max-width: none;
        transform: translateX(-50%);
        object-fit: contain;
        object-position: center bottom;
    }

    .nv-venda-contato__media-copy {
        left: 24px;
        bottom: 28px;
    }

    .nv-venda-contato__content {
        padding: 48px max(1.5rem, var(--nv-vc-container-inset)) 40px;
        --nv-vc-title-indent: calc(36px + 16px);
    }

    .nv-venda-contato__title {
        max-width: none;
        font-size: clamp(40px, 9vw, 52px);
    }

    .nv-venda-contato__divider,
    .nv-venda-contato__subheading {
        max-width: none;
    }

    .nv-venda-contato__subheading > span {
        width: 36px;
    }

    .nv-venda-contato__subheading h3 {
        font-size: clamp(1.85rem, 6vw, 2.4rem);
    }

    .nv-venda-contato__form-wrap {
        width: calc(100% - 2 * var(--nv-vc-container-inset));
        max-width: none;
        margin: 0 auto 40px;
        padding: 28px 22px;
    }
}

@media (max-width: 600px) {
    .nv-venda-contato__media {
        height: 380px;
        min-height: 380px;
    }

    .nv-venda-contato__label p {
        font-size: 9px;
        letter-spacing: 3px;
    }

    .nv-venda-contato__label > span {
        width: 36px;
    }

    .nv-venda-contato__row--2 {
        grid-template-columns: 1fr;
    }

    .nv-venda-contato__options-grid {
        flex-direction: column;
        align-items: flex-start;
        gap: .75rem;
    }

    .nv-venda-contato__submit {
        font-size: .92rem;
        letter-spacing: .12em;
        gap: 12px;
    }

    .nv-venda-contato__form-footer {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.1rem;
    }

    .nv-venda-contato__footer-brand {
        justify-content: center;
    }

    .nv-venda-contato__footer-separator {
        width: 70px;
        height: 1px;
        margin: 0 auto;
    }

    .nv-venda-contato__form-footer > p {
        text-align: center;
    }
}
