/* public-forms.css — form.ejs (lead público) */
    :root {
        --brand: #0098DA;
        --brand-lt: #e0f4fd;
        --brand-dk: #006fa3;
        --accent: #ff6b35;
        --surface: #fff;
        --surface-2: #f8fafc;
        --surface-3: #f1f5f9;
        --border: #e2e8f0;
        --text-900: #0f172a;
        --text-700: #334155;
        --text-500: #64748b;
        --text-300: #94a3b8;
        --wpp: #25d366;
        --wpp-dk: #1ebc5a;
        --r-xl: 20px;
        --r-lg: 14px;
        --r-md: 10px;
        --r-sm: 6px;
        --sh-sm: 0 1px 3px rgba(0, 0, 0, .07), 0 1px 2px rgba(0, 0, 0, .05);
        --sh-md: 0 4px 16px rgba(0, 0, 0, .08), 0 2px 6px rgba(0, 0, 0, .05);
        --sh-lg: 0 12px 40px rgba(0, 0, 0, .10), 0 4px 12px rgba(0, 0, 0, .06);
        --sh-br: 0 8px 30px rgba(15, 111, 255, .22);
        --t: .22s cubic-bezier(.4, 0, .2, 1);
        --sp-sm: 16px;
        --sp-md: 32px;
        --sp-lg: 60px;
    }

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

    html {
        scroll-behavior: smooth
    }

    body {
        font-family: 'DM Sans', system-ui, sans-serif;
        color: var(--text-700);
        /* Fundo com gradiente sutil igual ao hero do lp */
        background: linear-gradient(135deg, #f0f7ff 0%, #fff 55%, #fff8f5 100%);
        min-height: 100vh;
        -webkit-font-smoothing: antialiased;
        overflow-x: hidden;
    }

    /* Esferas decorativas de fundo */
    body::before {
        content: '';
        position: fixed;
        pointer-events: none;
        width: 700px;
        height: 700px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(15, 111, 255, .07) 0%, transparent 68%);
        top: -250px;
        right: -200px;
        z-index: 0;
    }

    body::after {
        content: '';
        position: fixed;
        pointer-events: none;
        width: 500px;
        height: 500px;
        border-radius: 50%;
        background: radial-gradient(circle, rgba(255, 107, 53, .05) 0%, transparent 68%);
        bottom: -150px;
        left: -150px;
        z-index: 0;
    }

    img {
        max-width: 100%;
        height: auto;
        display: block
    }

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

    /* ═══ PAGE WRAPPER ══════════════════════════════════════════════ */
    .page-wrap {
        position: relative;
        z-index: 1;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: var(--sp-lg) 16px var(--sp-md);
    }

    /* ═══ FORM CARD ═════════════════════════════════════════════════ */
    .form-card {
        width: 100%;
        max-width: 560px;
        background: var(--surface);
        border-radius: var(--r-xl);
        border: 1px solid var(--border);
        box-shadow: var(--sh-lg);
        overflow: hidden;
        position: relative;
        /* Entrada animada */
        animation: fadeUp .6s ease both;
    }

    /* Barra de gradiente no topo — marca registrada do sistema */
    .form-card::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: linear-gradient(90deg, var(--brand), #818cf8, var(--accent));
    }

    /* Cabeçalho */
    .form-card-header {
        padding: 32px 36px 24px;
        text-align: center;
        border-bottom: 1px solid var(--border);
        background: var(--surface-2);
    }

    .form-logo {
        height: 72px;
        object-fit: contain;
        margin: 0 auto 20px;
        display: block;
    }

    .form-card-title {
        font-family: 'Bricolage Grotesque', 'Sora', sans-serif;
        font-size: clamp(1.1rem, 2.5vw, 1.4rem);
        font-weight: 700;
        color: var(--text-900);
        line-height: 1.3;
    }

    /* Corpo */
    .form-card-body {
        padding: 28px 36px 36px
    }

    /* ═══ CAMPOS ════════════════════════════════════════════════════ */
    .field-label {
        display: block;
        font-size: .78rem;
        font-weight: 700;
        color: var(--text-500);
        text-transform: uppercase;
        letter-spacing: .06em;
        margin-bottom: 6px;
    }

    .field-label i {
        margin-right: 6px;
        opacity: .7
    }

    .form-control,
    .form-select {
        width: 100%;
        padding: 12px 16px !important;
        border: 1.5px solid var(--border) !important;
        border-radius: var(--r-md) !important;
        font-size: .95rem !important;
        color: var(--text-900) !important;
        background: var(--surface-2) !important;
        font-family: inherit !important;
        transition: border-color var(--t), box-shadow var(--t), background var(--t) !important;
        appearance: none;
    }

    .form-control:focus,
    .form-select:focus {
        border-color: var(--brand) !important;
        background: var(--surface) !important;
        box-shadow: 0 0 0 3px rgba(15, 111, 255, .12) !important;
        outline: none !important;
    }

    .form-control::placeholder {
        color: var(--text-300)
    }

    /* Select com seta custom */
    .select-wrap {
        position: relative
    }

    .select-wrap::after {
        content: '\f107';
        font-family: 'Font Awesome 5 Free';
        font-weight: 900;
        position: absolute;
        right: 14px;
        top: 50%;
        transform: translateY(-50%);
        color: var(--text-500);
        pointer-events: none;
        font-size: .85rem;
    }

    .select-wrap .form-select {
        padding-right: 38px !important
    }

    /* Date inputs */
    input[type="date"].form-control {
        cursor: pointer
    }

    input[type="date"].form-control::-webkit-calendar-picker-indicator {
        opacity: .5;
        cursor: pointer;
    }

    /* intl-tel-input override */
    .iti {
        width: 100%
    }

    .iti__flag-container {
        z-index: 10
    }

    .iti input,
    .iti input[type=tel] {
        width: 100%;
        padding: 12px 16px 12px 58px !important;
        border: 1.5px solid var(--border) !important;
        border-radius: var(--r-md) !important;
        font-size: .95rem !important;
        color: var(--text-900) !important;
        background: var(--surface-2) !important;
        font-family: inherit !important;
    }

    .iti input:focus {
        border-color: var(--brand) !important;
        background: var(--surface) !important;
        box-shadow: 0 0 0 3px rgba(15, 111, 255, .12) !important;
        outline: none !important;
    }

    .iti--separate-dial-code .iti__selected-flag {
        background: var(--surface-3) !important;
        border-right: 1.5px solid var(--border);
        border-radius: var(--r-md) 0 0 var(--r-md);
    }

    .iti__dropdown-content,
    .iti__country-list {
        border: 1px solid var(--border) !important;
        border-radius: var(--r-md) !important;
        box-shadow: var(--sh-md) !important;
        font-size: .9rem !important;
    }

    .iti__country.iti__highlight {
        background: var(--brand-lt) !important
    }

    /* Estado de validação */
    .form-control.is-valid,
    .iti input.is-valid {
        border-color: #16a34a !important;
        background: var(--surface) !important
    }

    .form-control.is-invalid,
    .iti input.is-invalid {
        border-color: #dc2626 !important;
        background: #fff8f8 !important
    }

    /* ═══ SEPARADOR DE SEÇÃO ════════════════════════════════════════ */
    .field-section {
        display: flex;
        align-items: center;
        gap: 12px;
        margin: 24px 0 16px;
    }

    .field-section-label {
        font-size: .72rem;
        font-weight: 700;
        letter-spacing: .1em;
        text-transform: uppercase;
        color: var(--brand);
        background: var(--brand-lt);
        padding: 4px 12px;
        border-radius: 100px;
        white-space: nowrap;
    }

    .field-section-line {
        flex: 1;
        height: 1px;
        background: var(--border)
    }

    /* ═══ DATE ROW ══════════════════════════════════════════════════ */
    .date-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px
    }

    .people-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px
    }

    /* ═══ BOTÃO ENVIAR ══════════════════════════════════════════════ */
    .btn-submit {
        width: 100%;
        padding: 15px;
        background: var(--brand);
        color: #fff;
        border: none;
        border-radius: var(--r-lg);
        font-family: 'Bricolage Grotesque', 'Sora', sans-serif;
        font-weight: 800;
        font-size: 1.05rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        transition: background var(--t), transform var(--t), box-shadow var(--t);
        box-shadow: var(--sh-br);
        margin-top: 8px;
    }

    .btn-submit:hover {
        background: var(--brand-dk);
        transform: translateY(-2px);
        box-shadow: 0 12px 40px rgba(15, 111, 255, .32);
    }

    .btn-submit:disabled {
        opacity: .65;
        cursor: not-allowed;
        transform: none
    }

    /* ═══ MODAL SUCESSO ═════════════════════════════════════════════ */
    .modal-content {
        border-radius: var(--r-xl) !important;
        border: 1px solid var(--border) !important;
        overflow: hidden;
        box-shadow: var(--sh-lg);
    }

    .modal-header {
        background: var(--surface-2);
        border-bottom: 1px solid var(--border);
        padding: 20px 24px
    }

    .modal-body {
        padding: 36px 24px 20px;
        text-align: center
    }

    .modal-footer {
        border-top: 1px solid var(--border);
        padding: 16px 24px
    }

    .mok-icon {
        font-size: 3.5rem;
        color: #16a34a;
        display: block;
        margin-bottom: 14px
    }

    .mok-title {
        font-family: 'Bricolage Grotesque', 'Sora', sans-serif;
        font-size: 1.4rem;
        font-weight: 800;
        color: var(--text-900);
        margin-bottom: 6px
    }

    .mok-sub {
        font-size: .9rem;
        color: var(--text-500)
    }

    .btn-mclose {
        width: 100%;
        padding: 12px;
        border-radius: var(--r-md);
        background: var(--wpp);
        color: #fff;
        border: none;
        font-weight: 700;
        font-size: .95rem;
        cursor: pointer;
        transition: all var(--t);
        box-shadow: 0 4px 16px rgba(37, 211, 102, .25);
    }

    .btn-mclose:hover {
        background: var(--wpp-dk)
    }

    /* ═══ FOOTER ════════════════════════════════════════════════════ */
    .form-footer {
        width: 100%;
        max-width: 560px;
        margin-top: var(--sp-md);
        padding: var(--sp-md) 0 var(--sp-sm);
        text-align: center;
        position: relative;
        z-index: 1;
    }

    .foot-slabel {
        font-size: .72rem;
        font-weight: 700;
        letter-spacing: .1em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, .45);
        margin-bottom: 12px
    }

    .srow {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        justify-content: center
    }

    .sbtn {
        width: 38px;
        height: 38px;
        border-radius: 50%;
        background: rgba(255, 255, 255, .12);
        color: rgba(255, 255, 255, .8);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: .9rem;
        cursor: pointer;
        border: none;
        transition: all var(--t);
    }

    .sbtn:hover {
        background: rgba(255, 255, 255, .25);
        color: #fff;
        transform: translateY(-2px)
    }

    .foot-div {
        height: 1px;
        background: rgba(255, 255, 255, .12);
        margin: var(--sp-sm) 0 12px
    }

    .foot-copy {
        font-size: .8rem;
        color: rgba(255, 255, 255, .4)
    }

    .foot-copy a {
        color: rgba(255, 255, 255, .6);
        text-decoration: none
    }

    .foot-copy a:hover {
        color: #fff
    }

    /* ═══ ANIMAÇÃO ══════════════════════════════════════════════════ */
    @keyframes fadeUp {
        from {
            opacity: 0;
            transform: translateY(24px)
        }

        to {
            opacity: 1;
            transform: translateY(0)
        }
    }

    /* ═══ RESPONSIVE ════════════════════════════════════════════════ */
    @media(max-width:576px) {
        .page-wrap {
            padding: var(--sp-md) 12px var(--sp-sm)
        }

        .form-card-header,
        .form-card-body {
            padding-left: 20px;
            padding-right: 20px
        }

        .form-card-header {
            padding-top: 24px
        }

        .date-row,
        .people-row {
            grid-template-columns: 1fr
        }
