/* =========================================================
   Nova Vita — Contato editorial (Modelo 2)
   Prefixo: .nv-contact
   ========================================================= */

.nv-contact {
    --nv-ct-bg: #f5f2eb;
    --nv-ct-title: #282c23;
    --nv-ct-text: #56574f;
    --nv-ct-olive: #535b3d;
    --nv-ct-olive-mid: #62684d;
    --nv-ct-line: rgba(78, 82, 64, .24);
    --nv-ct-form-bg: #f7f4ee;
    --nv-ct-btn: #525a3d;

    width: 100%;
    overflow-x: hidden;
    background: var(--nv-ct-bg);
    color: var(--nv-ct-title);
}

.nv-contact__layout {
    width: 100%;
    min-height: 950px;
    margin: 0;
    max-width: none;
    display: grid;
    grid-template-columns: 295px minmax(0, 1fr) minmax(430px, 500px);
    align-items: stretch;
    box-sizing: border-box;
}

/* ---------- Imagem colada em X=0 ---------- */

.nv-contact__visual {
    position: relative;
    min-height: 950px;
    overflow: hidden;
    margin: 0;
    padding: 0;
}

.nv-contact__visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.02);
    transition: transform 1.2s ease;
}

.nv-contact.is-ready .nv-contact__visual img {
    transform: scale(1);
}

.nv-contact__visual-copy {
    position: absolute;
    left: 48px;
    bottom: 70px;
    z-index: 2;
    color: #fff;
    pointer-events: none;
}

.nv-contact__visual-copy::before {
    content: "";
    display: block;
    width: 1px;
    height: 100px;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, .75);
}

.nv-contact__visual-copy p {
    margin: 0;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    line-height: 1.8;
    letter-spacing: 5px;
    text-transform: uppercase;
}

/* ---------- Conteúdo central ---------- */

.nv-contact__content {
    padding: 48px 60px 40px 70px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.nv-contact__eyebrow {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 45px;
}

.nv-contact__eyebrow::after {
    content: "";
    height: 1px;
    flex: 1;
    max-width: 480px;
    background: rgba(78, 82, 64, .30);
}

.nv-contact__eyebrow span {
    font-family: "Inter", sans-serif;
    font-size: 11px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #6a6c60;
    white-space: nowrap;
}

.nv-contact__main-title {
    margin: 0;
    max-width: none;
    width: 100%;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(58px, 4.9vw, 82px);
    line-height: .96;
    font-weight: 400;
    color: #282c23;
    text-transform: uppercase;
}

.nv-contact__intro {
    max-width: 720px;
    margin: 24px 0 0;
    font-family: "Inter", sans-serif;
    font-size: 17px;
    line-height: 1.55;
    font-weight: 300;
    color: #585951;
}

/* ---------- Grid 01–04 ---------- */

.nv-contact__info-grid {
    margin-top: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid rgba(78, 82, 64, .22);
    border-bottom: 1px solid rgba(78, 82, 64, .22);
}

.nv-contact__info-item .nv-contact__social-links {
    margin-top: 18px;
}

.nv-contact__info-item {
    padding: 28px 28px 30px 0;
}

.nv-contact__info-item:nth-child(even) {
    padding-left: 32px;
    border-left: 1px solid rgba(78, 82, 64, .22);
}

.nv-contact__info-item:nth-child(n + 3) {
    border-top: 1px solid rgba(78, 82, 64, .22);
}

.nv-contact__info-mark {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 16px;
}

.nv-contact__info-mark > span {
    width: 45px;
    height: 1px;
    background: #727665;
}

.nv-contact__info-icon {
    display: inline-flex;
    flex-shrink: 0;
    color: #535b3d;
}

.nv-contact__info-icon svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.4;
}

.nv-contact__info-icon .nv-contact__icon--whatsapp,
.nv-contact__info-icon svg.nv-contact__icon--whatsapp {
    stroke: none;
}

.nv-contact__info-icon .nv-contact__icon--whatsapp path,
.nv-contact__info-icon svg.nv-contact__icon--whatsapp path {
    fill: currentColor;
    stroke: none;
}

.nv-contact__info-item h3 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: 31px;
    line-height: 1.05;
    font-weight: 400;
    color: #303329;
    text-transform: uppercase;
}

.nv-contact__info-item p {
    margin: 15px 0 0;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 300;
    color: #585950;
    white-space: pre-line;
}

.nv-contact__text-button {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-top: 18px;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #39402d;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color .25s ease, color .25s ease;
}

.nv-contact__text-button:hover {
    border-bottom-color: rgba(57, 64, 45, .45);
    color: #2a3120;
}

/* ---------- Formulário ---------- */

.nv-contact__form-panel {
    align-self: center;
    margin: 36px 28px 36px 0;
    padding: 28px 32px;
    border: 1px solid rgba(78, 82, 64, .45);
    border-radius: 8px;
    background: rgba(247, 244, 238, .80);
    box-sizing: border-box;
    width: calc(100% - 28px);
    max-width: 100%;
}

.nv-contact__form-eyebrow {
    margin: 0 0 18px;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #6a6c60;
}

.nv-contact__form-title {
    margin: 0 0 26px;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(34px, 2.8vw, 42px);
    line-height: 1.02;
    font-weight: 400;
    color: #282c23;
    text-transform: uppercase;
}

.nv-contact__form {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.05rem;
}

.nv-contact__field {
    display: flex;
    flex-direction: column;
    gap: .45rem;
}

.nv-contact__field label,
.nv-contact__reasons legend {
    font-family: "Inter", sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: #303229;
}

.nv-contact__field input,
.nv-contact__field textarea {
    width: 100%;
    box-sizing: border-box;
    height: 44px;
    border: 1px solid rgba(78, 82, 64, .26);
    background: rgba(255, 255, 255, .35);
    border-radius: 3px;
    padding: 0 14px;
    font-family: "Inter", sans-serif;
    font-size: 14px;
    color: #34362e;
    outline: none;
}

.nv-contact__field textarea {
    height: auto;
    min-height: 95px;
    padding: 12px 14px;
    resize: vertical;
}

.nv-contact__field input:focus,
.nv-contact__field textarea:focus {
    border-color: var(--nv-ct-olive-mid);
    background: rgba(255, 255, 255, .55);
}

.nv-contact__honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.nv-contact__reasons {
    margin: 0;
    padding: 0;
    border: 0;
}

.nv-contact__reasons legend {
    margin-bottom: .75rem;
    padding: 0;
}

.nv-contact__reasons-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .7rem 1rem;
}

.nv-contact__reasons-list label {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    cursor: pointer;
    font-family: "Inter", sans-serif;
    font-size: 13px;
    color: #484a42;
}

.nv-contact__reasons-list input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    min-width: 16px;
    min-height: 16px;
    margin: 0;
    border: 1px solid #515640;
    border-radius: 50%;
    background: transparent;
    position: relative;
    flex-shrink: 0;
    cursor: pointer;
}

.nv-contact__reasons-list input[type="radio"]:checked::after {
    content: "";
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: #596047;
}

.nv-contact__submit {
    width: 100%;
    margin-top: 12px;
    min-height: 52px;
    border: 0;
    border-radius: 2px;
    background: var(--nv-ct-btn);
    color: #f5f2eb;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    cursor: pointer;
    transition: background .25s ease, transform .25s ease;
}

.nv-contact__submit:hover {
    background: #424931;
    transform: translateY(-1px);
}

.nv-contact__submit i {
    font-style: normal;
    letter-spacing: 0;
}

/* ---------- Redes (ícones) + CTA full-width ---------- */

.nv-contact__social-links {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nv-contact__social-links a {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(78, 82, 64, .35);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #39402d;
    text-decoration: none;
    transition: border-color .25s ease, color .25s ease;
}

.nv-contact__social-links a:hover {
    border-color: var(--nv-ct-olive);
    color: var(--nv-ct-olive);
}

.nv-contact__social-links svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
}

.nv-contact__final-cta {
    margin-top: 8px;
    padding: 28px 0 8px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;
    width: 100%;
    box-sizing: border-box;
}

.nv-contact__final-cta-copy {
    flex: 1;
    min-width: 0;
}

.nv-contact__final-cta-copy h3 {
    margin: 0;
    max-width: none;
    font-family: "Cormorant Garamond", serif;
    font-size: 31px;
    line-height: 1.05;
    font-weight: 400;
    color: #303329;
    text-transform: uppercase;
}

.nv-contact__final-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-shrink: 0;
    min-height: 48px;
    padding: 0 22px;
    background: #525a3d;
    color: #f5f2eb;
    text-decoration: none;
    font-family: "Inter", sans-serif;
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: background .25s ease, transform .25s ease;
}

.nv-contact__final-btn:hover {
    background: #424931;
    transform: translateY(-1px);
}

/* ---------- Animações leves ---------- */

.nv-contact [data-nv-ct-animate] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity .7s ease, transform .7s ease;
}

.nv-contact.is-ready [data-nv-ct-animate].is-in {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- Tablet ---------- */

@media (max-width: 1200px) {
    .nv-contact__layout {
        grid-template-columns: 240px minmax(0, 1fr);
        min-height: auto;
    }

    .nv-contact__visual {
        min-height: 100%;
        grid-row: 1 / span 2;
    }

    .nv-contact__content {
        padding: 40px 36px 28px 40px;
    }

    .nv-contact__form-panel {
        grid-column: 2;
        width: auto;
        margin: 0 28px 36px 40px;
    }

    .nv-contact__main-title {
        font-size: clamp(48px, 6vw, 68px);
    }

    .nv-contact__final-cta {
        flex-wrap: wrap;
        align-items: flex-end;
        gap: 24px;
    }
}

/* ---------- Mobile ---------- */

@media (max-width: 900px) {
    .nv-contact__layout {
        display: flex;
        flex-direction: column;
    }

    .nv-contact__visual {
        width: 100%;
        height: 420px;
        min-height: 420px;
        order: 1;
    }

    .nv-contact__content {
        order: 2;
        padding: 36px 1.35rem 24px;
    }

    .nv-contact__form-panel {
        order: 3;
        margin: 0 1.35rem 32px;
        width: auto;
        padding: 24px 20px;
    }

    .nv-contact__info-grid {
        grid-template-columns: 1fr;
    }

    .nv-contact__info-item,
    .nv-contact__info-item:nth-child(even) {
        padding: 24px 0;
        border-left: 0;
    }

    .nv-contact__info-item:nth-child(n + 2) {
        border-top: 1px solid rgba(78, 82, 64, .22);
    }

    .nv-contact__visual-copy {
        left: 28px;
        bottom: 36px;
    }

    .nv-contact__eyebrow {
        margin-bottom: 28px;
    }

    .nv-contact__main-title {
        font-size: clamp(42px, 10vw, 56px);
    }

    .nv-contact__info-item h3,
    .nv-contact__final-cta-copy h3 {
        font-size: 26px;
    }

    .nv-contact__final-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .nv-contact__reasons-list {
        grid-template-columns: 1fr 1fr;
        gap: .65rem .75rem;
    }

    .nv-contact__reasons-list label {
        font-size: 12px;
        align-items: flex-start;
    }

    .nv-contact__submit {
        letter-spacing: 2px;
        gap: 12px;
    }
}
