.lmm-form-card {
    --lmm-surface: #ffffff;
    --lmm-ink: #13202a;
    --lmm-copy: #526571;
    --lmm-blue: #074e70;
    --lmm-blue-strong: #063f5b;
    --lmm-yellow: #f4e653;
    --lmm-line: #cbd7dd;
    --lmm-field: #fbfcfd;
    --lmm-soft: #eef4f6;
    width: 100%;
    max-width: 920px;
    margin: 0 auto;
    overflow: hidden;
    color: var(--lmm-ink);
    background: var(--lmm-surface);
    border-radius: 20px;
    box-shadow: 0 22px 55px rgba(2, 21, 31, .14);
    font-family: Inter, Arial, sans-serif;
}

.lmm-form-card *,
.lmm-form-card *::before,
.lmm-form-card *::after {
    box-sizing: border-box;
}

.lmm-form-header {
    position: relative;
    display: flex;
    min-height: 290px;
    align-items: center;
    justify-content: center;
    padding: 36px 42px;
    overflow: hidden;
    color: #fff;
    background: #06131d;
    text-align: center;
}

.lmm-form-header-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    object-position: center;
    opacity: .82;
}

.lmm-form-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(2, 12, 19, .94), rgba(2, 12, 19, .7) 52%, rgba(2, 12, 19, .34));
}

.lmm-form-header-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

.lmm-form-logo {
    display: block;
    width: 150px;
    max-width: 45%;
    max-height: 54px;
    height: auto;
    margin: 0 auto 18px;
    object-fit: contain;
    object-position: center;
}

.lmm-kicker {
    margin: 0 0 10px;
    color: var(--lmm-yellow);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.lmm-form-header h2 {
    margin: 0 0 10px;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 400;
    line-height: 1.04;
}

.lmm-form-header-content > p:last-child {
    max-width: 660px;
    margin: 0 auto;
    color: rgba(255, 255, 255, .88);
    font-size: 16px;
    line-height: 1.55;
}

.lmm-form {
    padding: 40px 42px 42px;
}

.lmm-form-intro {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: end;
    margin-bottom: 30px;
}

.lmm-form-intro h3 {
    margin: 0 0 6px;
    color: var(--lmm-ink);
    font-size: 24px;
    font-weight: 700;
}

.lmm-form-intro p {
    max-width: 560px;
    margin: 0;
    color: var(--lmm-copy);
    font-size: 14px;
    line-height: 1.55;
}

.lmm-required-note {
    flex: none;
    color: var(--lmm-copy);
    font-size: 12px;
}

.lmm-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 24px;
}

.lmm-full {
    grid-column: 1 / -1;
}

.lmm-field label {
    display: block;
    margin: 0 0 8px;
    color: var(--lmm-ink);
    font-size: 14px;
    font-weight: 700;
}

.lmm-field label span {
    font-weight: 400;
}

.lmm-field input,
.lmm-field select,
.lmm-field textarea {
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 13px 15px;
    color: var(--lmm-ink);
    background: var(--lmm-field);
    border: 1px solid var(--lmm-line);
    border-radius: 8px;
    box-shadow: none;
    font: inherit;
    line-height: 1.4;
}

/*
 * Os navegadores móveis, sobretudo o Safari no iPhone, podem ignorar o
 * min-height e o padding vertical dos campos select nativos. Uma altura
 * explícita e uma seta própria mantêm o texto centrado e sem cortes.
 */
.lmm-field select {
    display: block;
    height: 56px;
    min-height: 56px;
    padding: 0 46px 0 15px;
    overflow: hidden;
    font-size: 16px;
    line-height: normal;
    text-overflow: ellipsis;
    white-space: nowrap;
    -webkit-appearance: none;
    appearance: none;
    background-color: var(--lmm-field);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%2313202a' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 12px 8px;
}

.lmm-field textarea {
    min-height: 120px;
    resize: vertical;
}

.lmm-field input:focus,
.lmm-field select:focus,
.lmm-field textarea:focus {
    outline: 3px solid rgba(7, 78, 112, .14);
    border-color: var(--lmm-blue);
}

.lmm-field input::placeholder,
.lmm-field textarea::placeholder {
    color: var(--lmm-copy);
    opacity: .72;
}

.lmm-field-help {
    margin: 7px 0 0;
    color: var(--lmm-copy);
    font-size: 12px;
    line-height: 1.45;
}

.lmm-company-fields[hidden] {
    display: none;
}

.lmm-company-fields {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 24px;
    padding: 20px;
    background: var(--lmm-soft);
    border-left: 3px solid var(--lmm-yellow);
    border-radius: 8px;
}

.lmm-divider {
    height: 1px;
    margin: 32px 0 26px;
    background: var(--lmm-line);
}

.lmm-consents {
    display: grid;
    gap: 16px;
}

.lmm-consent {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    margin: 0;
    color: var(--lmm-copy);
    font-size: 13px;
    line-height: 1.55;
    cursor: pointer;
}

.lmm-consent input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--lmm-blue);
}

.lmm-consent a {
    color: var(--lmm-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.lmm-turnstile-wrap {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
    min-height: 65px;
}

.lmm-submit-area {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 26px;
    align-items: center;
    margin-top: 22px;
    padding: 20px;
    background: var(--lmm-soft);
    border-radius: 10px;
}

.lmm-confirm-note {
    display: flex;
    gap: 11px;
    align-items: flex-start;
    margin: 0;
    color: var(--lmm-copy);
    font-size: 13px;
    line-height: 1.5;
}

.lmm-confirm-note > span:first-child {
    flex: none;
    color: var(--lmm-blue);
    font-size: 18px;
    line-height: 1.2;
}

.lmm-submit {
    min-height: 54px;
    padding: 0 28px;
    color: #fff;
    background: var(--lmm-blue-strong);
    border: 0;
    border-radius: 8px;
    box-shadow: none;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .03em;
    cursor: pointer;
}

.lmm-submit:hover {
    color: #fff;
    filter: brightness(1.08);
}

.lmm-submit:disabled {
    cursor: wait;
    opacity: .65;
}

.lmm-form-status {
    min-height: 20px;
    margin: 14px 0 0;
    color: var(--lmm-blue);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.lmm-form-status.lmm-error {
    color: #a12b2b;
}

.lmm-form-status.lmm-success {
    color: #1f7147;
}

.lmm-config-warning,
.lmm-turnstile-note {
    margin: 10px 0 0;
    color: var(--lmm-copy);
    font-size: 11px;
    text-align: center;
}

.lmm-config-warning {
    color: #a12b2b;
    font-size: 13px;
    font-weight: 700;
}

.lmm-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.lmm-confirmation-banner {
    display: grid;
    gap: 3px;
    padding: 17px 24px;
    border-bottom: 1px solid;
    font-size: 14px;
}

.lmm-confirmation-banner strong {
    font-size: 16px;
}

.lmm-confirmation-banner.lmm-success {
    color: #14593a;
    background: #e9f7ef;
    border-color: #b5dfc8;
}

.lmm-confirmation-banner.lmm-error {
    color: #8d2424;
    background: #fff0f0;
    border-color: #e9baba;
}

@media (max-width: 680px) {
    .lmm-form-card {
        border-radius: 14px;
    }

    .lmm-form-header {
        min-height: 310px;
        padding: 28px 24px;
    }

    .lmm-form-header::after {
        background: linear-gradient(0deg, rgba(2, 12, 19, .96), rgba(2, 12, 19, .66) 72%, rgba(2, 12, 19, .34));
    }

    .lmm-form-logo {
        width: 132px;
    }

    .lmm-form {
        padding: 30px 22px 28px;
    }

    .lmm-field select {
        height: 58px;
        min-height: 58px;
    }

    .lmm-form-intro {
        display: block;
    }

    .lmm-required-note {
        display: block;
        margin-top: 12px;
    }

    .lmm-grid,
    .lmm-company-fields {
        grid-template-columns: 1fr;
    }

    .lmm-submit-area {
        grid-template-columns: 1fr;
    }

    .lmm-submit {
        width: 100%;
    }

    .lmm-turnstile-wrap {
        justify-content: center;
    }
}

@media (max-width: 360px) {
    .lmm-form {
        padding-right: 16px;
        padding-left: 16px;
    }

    .lmm-turnstile-wrap {
        transform: scale(.9);
        transform-origin: center top;
        margin-bottom: -6px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lmm-form-card *,
    .lmm-form-card *::before,
    .lmm-form-card *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}
