body {
    background: #f4f6fb;
}

.container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.hero-supernova {
    background-image: url("/img/topo-leads.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    width: 100%;
    min-height: 380px;
}

.form-wrapper {
    margin-top: -110px;
    position: relative;
    z-index: 10;
    padding-bottom: 32px;
}

.card-leads {
    border: none;
    border-radius: 18px;
    box-shadow: 0 12px 44px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    background: #fff;
}

.title-leads {
    font-weight: 900;
    color: #3b1b89;
    letter-spacing: -0.02em;
}

.subtitle-leads {
    color: rgba(0, 0, 0, 0.6);
}

.divider {
    height: 1px;
    background: rgba(0, 0, 0, 0.08);
    margin: 22px 0;
}

.form-label {
    font-weight: 800;
}

/* Cards com ícones */
.leads-features {
    margin-bottom: 26px;
}

.feature-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
}

.feature-icon {
    background: #7a2cff;
    color: #fff;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 42px;
}

.feature-body {
    padding: 18px;
    text-align: center;
}

.feature-title {
    color: #7a2cff;
    font-weight: 900;
    font-size: 1.05rem;
    margin-bottom: 6px;
}

.feature-text {
    font-size: 0.95rem;
    color: #333;
}

/* Mobile tuning (igual teu print) */
@media (max-width: 576px) {
    .hero-supernova {
        min-height: 210px;
        background-position: top center;
    }

    .form-wrapper {
        margin-top: -60px;
        padding-left: 14px;
        padding-right: 14px;
    }

    .card-leads {
        border-radius: 22px;
    }

    .feature-icon {
        height: 72px;
    }

    .feature-icon i {
        font-size: 34px;
    }
}

@media (min-width: 577px) and (max-width: 991px) {
    .hero-supernova {
        min-height: 280px;
    }

    .form-wrapper {
        margin-top: -110px;
    }
}

/* Rodapé institucional */
.footer-institucional {
    background: #ffffff;
    margin-top: 64px;
    padding: 32px 0 28px 0;
    border-top: 4px solid #0d6efd;
    /* linha azul */
}

.footer-label {
    font-weight: 700;
    color: #000;
    font-size: 0.95rem;
}

.footer-logo {
    max-height: 42px;
    width: auto;
}

.footer-logo-lg {
    max-height: 48px;
}

.footer-divider {
    width: 1px;
    height: 36px;
    background: rgba(0, 0, 0, 0.25);
}

/* Mobile */
@media (max-width: 576px) {
    .footer-institucional {
        padding: 24px 0;
    }

    .footer-divider {
        display: none;
    }

    .footer-logo,
    .footer-logo-lg {
        max-height: 36px;
    }

    .footer-label {
        font-size: 0.9rem;
    }
}

/* Botão roxo estilo Supernova (igual ao print) */
.btn-supernova {
    background: #7a2cff;
    border: 0;
    color: #fff;
    font-weight: 900;
    font-size: 1.05rem;
    letter-spacing: 0.2px;

    padding: 16px 22px;
    border-radius: 18px;

    box-shadow: 0 10px 22px rgba(122, 44, 255, 0.25);
    transition:
        transform 0.12s ease,
        box-shadow 0.18s ease,
        filter 0.18s ease;
}

.btn-supernova:hover {
    filter: brightness(1.03);
    box-shadow: 0 14px 28px rgba(122, 44, 255, 0.32);
}

.btn-supernova:active {
    transform: translateY(1px);
    box-shadow: 0 8px 18px rgba(122, 44, 255, 0.22);
}

/* Estado loading/disabled */
.btn-supernova[disabled],
.btn-supernova.disabled {
    opacity: 0.85;
    cursor: not-allowed;
    transform: none;
}

/* Spinner (sem depender de libs) */
.btn-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #fff;
    border-radius: 50%;
    display: inline-block;
    animation: spin 0.8s linear infinite;
    vertical-align: -3px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Ícones nos labels (sutil e institucional) */
.label-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.label-with-icon .label-icon {
    color: #7a2cff;
    font-size: 15px;
    /* discreto */
    line-height: 1;
    transform: translateY(-1px);
}

/* Ajuste no mobile para ficar mais “clean” */
@media (max-width: 576px) {
    .label-with-icon .label-icon {
        font-size: 14px;
    }
}

/* Select2 com cara de Bootstrap 5 (form-select) */
.select2-container {
    width: 100% !important;
}

/* Caixa principal */
.select2-container--default .select2-selection--single {
    height: calc(2.375rem + 2px);
    /* mesma altura do form-select BS5 */
    padding: 0.375rem 2.25rem 0.375rem 0.75rem;
    /* espaço interno igual */
    border: 1px solid #ced4da;
    border-radius: 0.375rem;
    background-color: #fff;
    display: flex;
    align-items: center;
}

/* Texto selecionado */
.select2-container--default
    .select2-selection--single
    .select2-selection__rendered {
    color: #212529;
    line-height: 1.5;
    padding-left: 0;
}

/* ===== Fix visual Select2 (igual Bootstrap) ===== */

/* Seta */
.select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    height: 100% !important;
    right: 0.75rem !important;
    top: 0 !important;
    width: 20px !important;
}

/* Placeholder */
.select2-container--default
    .select2-selection--single
    .select2-selection__placeholder {
    color: #6c757d !important;
}

/* Foco roxo (igual seus campos) */
.select2-container--default.select2-container--focus
    .select2-selection--single {
    border-color: #7a2cff !important;
    box-shadow: 0 0 0 0.25rem rgba(122, 44, 255, 0.18) !important;
}

/* Dropdown */
.select2-dropdown {
    border: 1px solid #ced4da !important;
    border-radius: 0.5rem !important;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
}

.select2-container--default.select2-container--disabled
    .select2-selection--single {
    background-color: #eee;
    cursor: default;
    height: 40px !important;
}

.select2-container--default.select2-container--focus
    .select2-selection--single {
    border-color: #7a2cff !important;
    box-shadow: 0 0 0 0.25rem rgba(122, 44, 255, 0.18) !important;
    height: 40px !important;
}
.select2-container--default .select2-selection--single {
    background-color: #fff;
    border: 1px solid #aaa;
    border-radius: 4px;
    height: 40px !important;
}
