/* ============================================
   VL Agronegócios — Página de captura de leads
   ============================================ */

:root {
    --green-900: #0f3d1f;
    --green-800: #155a2c;
    --green-700: #1f7a3d;
    --green-600: #2a9d4d;
    --green-50: #eaf5ec;
    --cream: #f7f5ef;
    --ink: #1a1f1a;
    --muted: #6b7770;
    --line: rgba(15, 61, 31, .12);
    --shadow: 0 30px 80px -20px rgba(15, 61, 31, .35), 0 8px 24px -12px rgba(15, 61, 31, .25);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html,
body {
    height: 100%;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--ink);
    background: var(--cream);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

.stage {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
}

/* ---------- LEFT — painel visual ---------- */
.visual {
    position: relative;
    background:
        radial-gradient(120% 80% at 20% 10%, rgba(255, 255, 255, .18), transparent 60%),
        linear-gradient(160deg, var(--green-900) 0%, var(--green-800) 55%, var(--green-700) 100%);
    color: #fff;
    padding: 48px 56px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    isolation: isolate;
}

.visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .07) 1px, transparent 0);
    background-size: 22px 22px;
    mask-image: radial-gradient(ellipse at 30% 40%, #000 30%, transparent 75%);
    z-index: -1;
}

.leaf {
    position: absolute;
    border-radius: 50% 0 50% 50%;
    background: linear-gradient(135deg, #3fbf6a, #1f7a3d);
    filter: blur(.3px);
    opacity: .55;
    z-index: -1;
    animation: float 12s ease-in-out infinite;
}

.leaf.l1 {
    width: 280px;
    height: 280px;
    top: -60px;
    right: -80px;
    transform: rotate(35deg);
}

.leaf.l2 {
    width: 180px;
    height: 180px;
    bottom: -40px;
    left: -40px;
    transform: rotate(-20deg);
    opacity: .35;
    animation-delay: -4s;
}

.leaf.l3 {
    width: 120px;
    height: 120px;
    top: 50%;
    right: 18%;
    transform: rotate(80deg);
    opacity: .25;
    animation-delay: -7s;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(35deg);
    }

    50% {
        transform: translateY(-18px) rotate(40deg);
    }
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    font-family: 'Fraunces', serif;
    letter-spacing: .02em;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, .25);
    display: grid;
    place-items: center;
    backdrop-filter: blur(8px);
    overflow: hidden;
}

.brand-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-name {
    font-size: 18px;
    font-weight: 700;
}

.brand-sub {
    font-size: 11px;
    letter-spacing: .32em;
    opacity: .7;
    text-transform: uppercase;
    margin-top: 2px;
}

.hero {
    max-width: 520px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .18);
    font-size: 12px;
    letter-spacing: .18em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.eyebrow .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #7be08f;
    box-shadow: 0 0 12px #7be08f;
}

h1.hero-title {
    font-family: 'Fraunces', serif;
    font-weight: 500;
    font-size: clamp(38px, 4.2vw, 60px);
    line-height: 1.02;
    letter-spacing: -.02em;
}

h1.hero-title em {
    font-style: italic;
    color: #bff0c8;
    font-weight: 500;
}

.hero-lead {
    margin-top: 22px;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, .78);
    max-width: 440px;
}

.features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 36px;
}

.feat {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    backdrop-filter: blur(6px);
}

.feat-ico {
    flex: 0 0 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #2a9d4d, #0f3d1f);
    display: grid;
    place-items: center;
    color: #eafbe9;
}

.feat-ico svg {
    width: 18px;
    height: 18px;
}

.feat strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.feat span {
    font-size: 12.5px;
    color: rgba(255, 255, 255, .65);
    line-height: 1.5;
}

.visual-foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255, 255, 255, .55);
}

.visual-foot a:hover {
    color: #bff0c8;
}

/* ---------- RIGHT — painel formulário ---------- */
.form-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 56px;
    background:
        radial-gradient(120% 80% at 80% 0%, #fffdf6 0%, var(--cream) 60%);
    position: relative;
}

.card {
    width: 100%;
    max-width: 460px;
    background: #fff;
    border-radius: 24px;
    padding: 44px 40px;
    box-shadow: var(--shadow);
    border: 1px solid var(--line);
    position: relative;
}

.card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 25px;
    padding: 1px;
    background: linear-gradient(160deg, rgba(42, 157, 77, .4), transparent 40%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.card-eyebrow {
    font-size: 11px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--green-700);
    font-weight: 600;
}

.card-title {
    font-family: 'Fraunces', serif;
    font-weight: 600;
    font-size: 34px;
    letter-spacing: -.02em;
    margin-top: 10px;
    color: var(--green-900);
    line-height: 1.05;
}

.card-sub {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14.5px;
    line-height: 1.55;
}

form {
    margin-top: 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.field label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--green-900);
    margin-bottom: 8px;
    letter-spacing: .02em;
}

.field .input {
    position: relative;
}

.field .input svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    color: var(--green-700);
    opacity: .7;
}

.field input {
    width: 100%;
    padding: 14px 14px 14px 42px;
    border: 1.5px solid var(--line);
    border-radius: 12px;
    background: #fafaf5;
    font-family: inherit;
    font-size: 14.5px;
    color: var(--ink);
    transition: .2s border, .2s background, .2s box-shadow;
}

.field input::placeholder {
    color: #a3aea7;
}

.field input:hover {
    border-color: rgba(42, 157, 77, .4);
}

.field input:focus {
    outline: none;
    background: #fff;
    border-color: var(--green-600);
    box-shadow: 0 0 0 4px rgba(42, 157, 77, .12);
}

.submit {
    margin-top: 8px;
    position: relative;
    background: linear-gradient(135deg, var(--green-700), var(--green-900));
    color: #fff;
    border: none;
    padding: 16px 20px;
    border-radius: 12px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .02em;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 12px 30px -10px rgba(15, 61, 31, .5);
    transition: .25s transform, .25s box-shadow, .25s filter;
    overflow: hidden;
}

.submit::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .25) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform .8s;
}

.submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 40px -10px rgba(15, 61, 31, .55);
}

.submit:hover::after {
    transform: translateX(100%);
}

.submit svg {
    width: 18px;
    height: 18px;
    transition: transform .25s;
}

.submit:hover svg {
    transform: translateX(4px);
}

.back {
    text-align: center;
    margin-top: 18px;
    font-size: 13px;
    color: var(--muted);
}

.back a {
    color: var(--green-700);
    font-weight: 600;
    transition: .2s;
}

.back a:hover {
    color: var(--green-900);
}

.trust {
    margin-top: 26px;
    padding-top: 20px;
    border-top: 1px dashed var(--line);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: var(--muted);
}

.trust svg {
    width: 14px;
    height: 14px;
    color: var(--green-700);
}

/* ---------- Mobile ---------- */
@media (max-width: 900px) {
    .stage {
        grid-template-columns: 1fr;
    }

    .visual {
        padding: 40px 28px;
        min-height: auto;
    }

    .features {
        display: none;
    }

    .form-wrap {
        padding: 32px 20px;
    }

    .card {
        padding: 32px 24px;
        border-radius: 20px;
    }

    .card-title {
        font-size: 28px;
    }

    .visual-foot {
        margin-top: 32px;
    }
}