/* =========================================================
   Liberty Paramotors - Newsletter
   Componente independente do formulario de WhatsApp
   ========================================================= */

.newsletter-section {
    padding: 72px 0;
    background:
        linear-gradient(
            135deg,
            #071b2d 0%,
            #0b2435 58%,
            #103929 100%
        );
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.newsletter-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(
            circle at 10% 20%,
            rgba(0, 145, 70, 0.18),
            transparent 34%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(255, 205, 0, 0.10),
            transparent 30%
        );
    pointer-events: none;
}

.newsletter-shell {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 54px;
    align-items: center;
}

.newsletter-copy {
    max-width: 560px;
}

.newsletter-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    font-size: 0.78rem;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: #ffd43b;
}

.newsletter-kicker::before {
    content: "";
    width: 30px;
    height: 2px;
    background: #ffd43b;
    border-radius: 99px;
}

.newsletter-copy h2 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
}

.newsletter-copy p {
    margin: 0;
    max-width: 520px;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.04rem;
    line-height: 1.75;
}

.newsletter-form {
    background: #ffffff;
    color: #14202b;
    padding: 30px;
    border-radius: 22px;
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.newsletter-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.newsletter-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.newsletter-field label {
    font-size: 0.88rem;
    line-height: 1.3;
    font-weight: 750;
    color: #172532;
}

.newsletter-field input[type="text"],
.newsletter-field input[type="email"] {
    width: 100%;
    min-height: 50px;
    padding: 0 15px;
    border: 1px solid #d6dde3;
    border-radius: 12px;
    background: #ffffff;
    color: #15232e;
    font: inherit;
    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.newsletter-field input::placeholder {
    color: #7e8a94;
}

.newsletter-field input:focus {
    border-color: #08783f;
    box-shadow: 0 0 0 3px rgba(8, 120, 63, 0.13);
}

.newsletter-consent {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 20px 0;
    cursor: pointer;
    color: #394854;
    font-size: 0.87rem;
    line-height: 1.55;
}

.newsletter-consent input {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    margin: 2px 0 0;
    accent-color: #08783f;
}

.newsletter-submit {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 12px;
    padding: 12px 20px;
    background: #08783f;
    color: #ffffff;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    transition:
        transform 0.18s ease,
        background 0.18s ease,
        opacity 0.18s ease;
}

.newsletter-submit:hover:not(:disabled) {
    background: #066735;
    transform: translateY(-1px);
}

.newsletter-submit:focus-visible {
    outline: 3px solid rgba(255, 205, 0, 0.55);
    outline-offset: 3px;
}

.newsletter-submit:disabled {
    cursor: wait;
    opacity: 0.68;
}

.newsletter-status {
    min-height: 24px;
    margin: 14px 0 0;
    font-size: 0.9rem;
    line-height: 1.45;
}

.newsletter-status.is-success {
    color: #08783f;
    font-weight: 700;
}

.newsletter-status.is-error {
    color: #b42318;
    font-weight: 700;
}

/*
   Honeypot:
   permanece no HTML para bots, mas fora da area visual.
*/
.newsletter-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

@media (max-width: 880px) {
    .newsletter-section {
        padding: 58px 0;
    }

    .newsletter-shell {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .newsletter-copy {
        max-width: 680px;
    }
}

@media (max-width: 620px) {
    .newsletter-section {
        padding: 48px 0;
    }

    .newsletter-form {
        padding: 22px 18px;
        border-radius: 17px;
    }

    .newsletter-fields {
        grid-template-columns: 1fr;
    }

    .newsletter-copy h2 {
        font-size: clamp(1.85rem, 10vw, 2.5rem);
    }
}
