:root {
    --bg-dark: #0a0714;
    --card-bg: rgba(24, 18, 40, 0.55);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-main: #ffffff;
    --text-muted: #b8b0c9;
    --purple: #7c3aed;
    --blue: #4338ca;
    --pink: #ec4899;
    --orange: #f97316;
    --gradient-brand: linear-gradient(90deg, var(--pink) 0%, var(--orange) 100%);
    --gradient-cta: linear-gradient(90deg, #f97316 0%, #ec4899 55%, #a855f7 100%);
    --input-bg: rgba(255, 255, 255, 0.04);
    --input-border: rgba(255, 255, 255, 0.12);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    position: relative;
}

/* ---------- Blobs de fundo (SVG waves) ---------- */
.bg-blob {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    filter: blur(0px);
}
.blob-top-left {
    top: -120px;
    left: -220px;
    width: 700px;
    opacity: 0.9;
}
.blob-bottom {
    bottom: -180px;
    left: 0;
    width: 100%;
    min-width: 1400px;
}
.blob-right-mid {
    top: 30%;
    right: -260px;
    width: 600px;
    opacity: 0.85;
}

/* ---------- Header ---------- */
header {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    padding: 28px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
header nav {
    display: flex;
    align-items: center;
    gap: 40px;
}
header a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
}
header .divider {
    width: 1px;
    height: 20px;
    background: rgba(255, 255, 255, 0.15);
}
.btn-inscreva {
    border: 1.5px solid transparent;
    background: linear-gradient(var(--bg-dark), var(--bg-dark)) padding-box,
                var(--gradient-brand) border-box;
    color: var(--text-main);
    padding: 10px 26px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: transform 0.2s ease;
}
.btn-inscreva:hover { transform: translateY(-1px); }

/* ---------- Hero ---------- */
main.hero {
    position: relative;
    z-index: 5;
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    max-width: 1240px;
    margin: 0 auto;
    padding: 90px 32px 140px;
    align-items: start;
}

.hero-left { padding-top: 40px; }

.eyebrow {
    letter-spacing: 0.35em;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.logo-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}
.logo-row .logo-text {
    font-size: 4.2rem;
    font-weight: 900;
    letter-spacing: -0.02em;
    line-height: 1;
}
.logo-plus {
    width: 56px;
    height: 56px;
}

h1.headline {
    font-size: 2.9rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 24px;
    max-width: 480px;
}
h1.headline .accent {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-sub {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 420px;
    margin-bottom: 40px;
}

.plus-marker {
    font-size: 1.6rem;
    color: var(--text-muted);
    opacity: 0.6;
}

/* ---------- Form Card ---------- */
.form-card {
    position: relative;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 40px 40px 36px;
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

.form-card h2 {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 8px;
}
.form-card h2 .accent {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.form-card .form-intro {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 28px;
}

.field { margin-bottom: 20px; }
.field label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #d8d2e6;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.field label .req { color: var(--pink); }
.field .field-hint {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin: -4px 0 10px;
    line-height: 1.4;
}

.field input[type="text"],
.field input[type="number"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
    width: 100%;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 10px;
    padding: 13px 16px;
    color: var(--text-main);
    font-size: 16px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.field input::placeholder, .field textarea::placeholder { color: #756e8a; }
.field input:focus, .field select:focus, .field textarea:focus {
    border-color: var(--pink);
    background: rgba(255, 255, 255, 0.06);
}
.field textarea { resize: vertical; min-height: 100px; }

.field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1L7 7L13 1' stroke='%23b8b0c9' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
}

.char-count {
    text-align: right;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Checkbox termos */
.terms-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 24px 0 22px;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.terms-row input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: var(--pink);
    flex-shrink: 0;
}
.terms-row a {
    color: #d8a8e8;
    text-decoration: underline;
}

.whatsapp-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(37, 211, 102, 0.08);
    border: 1px solid rgba(37, 211, 102, 0.3);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
}
.whatsapp-note svg { flex-shrink: 0; margin-top: 1px; }
.whatsapp-note p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.5;
    color: #d7f5e3;
}
.whatsapp-note strong { color: #ffffff; }

.btn-submit {
    width: 100%;
    border: none;
    border-radius: 12px;
    padding: 16px;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    color: #ffffff;
    background: var(--gradient-cta);
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(236, 72, 153, 0.3);
}
.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.form-error {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.4);
    color: #fca5a5;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    margin-bottom: 20px;
}
.form-success {
    background: rgba(34, 197, 94, 0.12);
    border: 1px solid rgba(34, 197, 94, 0.4);
    color: #86efac;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.85rem;
    margin-bottom: 20px;
}

/* ---------- Footer ---------- */
footer {
    position: relative;
    z-index: 5;
    padding: 60px 32px 70px;
    text-align: center;
}
footer .footer-plus { font-size: 1.4rem; margin-bottom: 18px; opacity: 0.85; }
footer .footer-tag {
    font-size: 1.6rem;
    font-weight: 800;
    line-height: 1.4;
    margin: 0;
}
footer .footer-tag .accent {
    background: var(--gradient-brand);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- Responsivo ---------- */

/* Tablet */
@media (max-width: 960px) {
    main.hero {
        grid-template-columns: 1fr;
        padding: 60px 24px 90px;
        gap: 48px;
    }
    .hero-left { padding-top: 0; text-align: left; }
    .logo-row .logo-text { font-size: 3.4rem; }
    .logo-plus { width: 46px; height: 46px; }
    h1.headline { font-size: 2.3rem; max-width: 100%; }
    .hero-sub { max-width: 100%; }
    header { gap: 24px; padding: 20px; }
    .form-card { padding: 32px 28px; max-width: 560px; margin: 0 auto; width: 100%; }
    .blob-right-mid { top: 10%; right: -320px; width: 520px; opacity: 0.6; }
}

/* Mobile grande / phablets */
@media (max-width: 640px) {
    body { overflow-x: hidden; }

    header {
        gap: 14px;
        padding: 16px 14px;
        flex-wrap: wrap;
        row-gap: 10px;
    }
    header nav { gap: 14px; }
    header a { font-size: 0.72rem; letter-spacing: 0.04em; }
    header .divider { height: 16px; }
    .btn-inscreva {
        padding: 9px 18px;
        font-size: 0.72rem;
        order: 3;
        width: 100%;
        text-align: center;
    }

    main.hero {
        padding: 40px 18px 70px;
        gap: 36px;
    }

    .eyebrow { font-size: 0.68rem; letter-spacing: 0.28em; }
    .logo-row { gap: 10px; margin-bottom: 20px; }
    .logo-row .logo-text { font-size: 2.5rem; }
    .logo-plus { width: 36px; height: 36px; }

    h1.headline { font-size: 1.85rem; margin-bottom: 16px; }
    .hero-sub { font-size: 0.95rem; margin-bottom: 28px; }
    .plus-marker { display: none; }

    .blob-top-left { width: 460px; top: -100px; left: -180px; }
    .blob-right-mid { width: 360px; top: 6%; right: -220px; opacity: 0.5; }
    .blob-bottom { min-width: 900px; bottom: -140px; }

    .form-card {
        border-radius: 18px;
        padding: 26px 18px;
        box-shadow: 0 16px 50px rgba(0, 0, 0, 0.4);
    }
    .form-card h2 { font-size: 1.3rem; }
    .form-card .form-intro { font-size: 0.88rem; margin-bottom: 22px; }

    .field { margin-bottom: 16px; }
    .field label { font-size: 0.68rem; }
    .field .field-hint { font-size: 0.78rem; }
    .field input, .field select, .field textarea { padding: 12px 14px; }
    .field textarea { min-height: 88px; }

    .whatsapp-note { padding: 12px 14px; }
    .whatsapp-note p { font-size: 0.8rem; }

    .terms-row { font-size: 0.8rem; margin: 20px 0 18px; }

    .btn-submit { padding: 15px; font-size: 0.92rem; }

    footer { padding: 44px 20px 56px; }
    footer .footer-tag { font-size: 1.2rem; }
}

/* Mobile pequeno */
@media (max-width: 380px) {
    .logo-row .logo-text { font-size: 2.1rem; }
    h1.headline { font-size: 1.6rem; }
    .form-card { padding: 22px 14px; }
    header a { font-size: 0.66rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    * { transition: none !important; animation: none !important; }
}
