/*
Theme: Despachante Digital Flow
Versão: 3.4.0
*/

/* ======================================
GERAL
====================================== */

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #2b2b2b;
    line-height: 1.6;
    background: #ffffff;
}

.container {
    max-width: 1140px;
}

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

/* ======================================
HERO
====================================== */

.hero-section h1 {
    font-weight: 700;
}

.hero-section .lead {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

/* ======================================
SERVIÇOS
====================================== */

.services-grid .service-card {
    border: 1px solid var(--services-card-border, #e5e5e5);
    border-radius: 16px;
    transition: all 0.25s ease;
    background: #ffffff;
}

.service-card--lift:hover {
    transform: translateY(-6px);
}

.service-card--glow:hover {
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.service-card--zoom-icon:hover .service-icon-box i {
    transform: scale(1.15);
}

.service-icon-box {
    width: 70px;
    height: 70px;
    background: var(--services-icon-bg, #f5f5f5);
    border: 2px solid var(--services-icon-border, #e5e5e5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon-box i {
    font-size: 26px;
    color: var(--services-icon-color, #333);
    transition: transform 0.25s ease;
}

.service-icon-box--circle {
    border-radius: 50%;
}

.service-icon-box--rounded-square {
    border-radius: 14px;
}

/* ======================================
FAQ
====================================== */

.faq-section .container,
#faq .container {
    max-width: 1140px;
}

/* ======================================
FORMULÁRIO
====================================== */

.custom-input {
    border-radius: 10px;
    height: 46px;
}

/* Igualar largura visual do formulário com a área da FAQ */
.pre-analise-section .container,
#pre-analise .container,
.section-pre-analise .container {
    max-width: 1140px;
}

.pre-analise-section .card,
#pre-analise .card,
.section-pre-analise .card,
#formPreAnalise,
.form-pre-analise-wrapper {
    width: 100%;
}

.pre-analise-section .card,
#pre-analise .card,
.section-pre-analise .card {
    max-width: 1060px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(15, 34, 56, 0.06);
    border: 1px solid rgba(15, 34, 56, 0.06);
}

.pre-analise-section .card-body,
#pre-analise .card-body,
.section-pre-analise .card-body {
    padding: 48px 52px;
}

.documents-checklist__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 15px;
}

.document-item {
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 15px;
    background: #ffffff;
}

.document-item__label {
    font-weight: 600;
}

.upload-container {
    background: #fafafa;
}

/* ======================================
FOOTER PREMIUM
====================================== */

footer.footer-cta {
    position: relative;
    overflow: hidden;
    padding-top: 110px !important;
    padding-bottom: 95px !important;
    background:
        radial-gradient(circle at top center, rgba(66, 153, 225, 0.12), transparent 32%),
        linear-gradient(135deg, #0f2238 0%, #132a43 50%, #10263d 100%) !important;
    color: #ffffff;
}

footer.footer-cta::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 28px 28px;
    opacity: 0.18;
    pointer-events: none;
}

footer.footer-cta > .container {
    position: relative;
    z-index: 2;
}

footer.footer-cta .row.justify-content-center.text-center.mb-5 {
    margin-bottom: 70px !important;
}

footer.footer-cta h2.h1,
footer.footer-cta .h1 {
    font-size: clamp(2rem, 4vw, 3.3rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 22px !important;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.22);
}

footer.footer-cta .lead {
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.18rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.90);
    margin-bottom: 30px !important;
}

footer.footer-cta .btn.btn-success {
    border: none;
    border-radius: 999px;
    padding: 18px 42px !important;
    font-size: 1.08rem;
    font-weight: 700;
    background: linear-gradient(135deg, #22c55e 0%, #2fb24b 100%);
    box-shadow: 0 14px 40px rgba(34, 197, 94, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

footer.footer-cta .btn.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 45px rgba(34, 197, 94, 0.34);
    filter: brightness(1.02);
}

footer.footer-cta .footer-content-row {
    margin-top: 30px;
    align-items: flex-start;
}

footer.footer-cta .footer-content-row > div {
    margin-bottom: 30px;
}

footer.footer-cta h5 {
    font-size: 1.95rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
    margin-bottom: 24px !important;
}

footer.footer-cta .footer-contact-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 1.05rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.94);
    margin-bottom: 10px !important;
}

footer.footer-cta .footer-contact-list li i {
    width: 20px;
    margin-top: 6px;
    color: #ffffff;
    opacity: 0.95;
}

footer.footer-cta .footer-link {
    color: #ffffff;
    text-decoration: none;
}

footer.footer-cta .footer-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* ======================================
REDES SOCIAIS
====================================== */

footer.footer-cta .footer-socials {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

footer.footer-cta .footer-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    transition: all 0.25s ease;
    font-size: 20px;
    text-decoration: none;
}

footer.footer-cta .footer-socials--icon .footer-social-link {
    width: auto;
    height: auto;
}

footer.footer-cta .footer-socials--circle .footer-social-link,
footer.footer-cta .footer-socials--square .footer-social-link {
    width: 52px;
    height: 52px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
    backdrop-filter: blur(8px);
}

footer.footer-cta .footer-socials--circle .footer-social-link {
    border-radius: 50%;
}

footer.footer-cta .footer-socials--square .footer-social-link {
    border-radius: 14px;
}

footer.footer-cta .footer-social-link:hover {
    color: #ffffff;
    background: rgba(255,255,255,0.16);
    transform: translateY(-3px);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.18);
}

/* ======================================
FORMAS DE PAGAMENTO
====================================== */

footer.footer-cta .footer-payment-block {
    padding-top: 2px;
}

footer.footer-cta .footer-payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

footer.footer-cta .footer-payment-item {
    min-width: 124px;
    min-height: 118px;
    padding: 18px;
    border-radius: 18px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.10);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.22s ease;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.03);
}

footer.footer-cta .footer-payment-item:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

footer.footer-cta .footer-payment-icon {
    font-size: 29px;
    line-height: 1;
    margin-bottom: 12px;
    color: #ffffff;
}

footer.footer-cta .footer-payment-label {
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    text-align: center;
}

footer.footer-cta .footer-payment-text {
    margin-top: 18px;
    margin-bottom: 10px;
    font-size: 0.98rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.86);
}

footer.footer-cta .footer-payment-installments {
    font-size: 0.93rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.74);
}

/* ======================================
COPYRIGHT
====================================== */

footer.footer-cta .footer-copy-wrap {
    margin-top: 60px !important;
    padding-top: 24px !important;
    border-top: 1px solid rgba(255,255,255,0.10);
    text-align: center;
}

footer.footer-cta .footer-copy-wrap small {
    font-size: 1rem;
    color: rgba(255,255,255,0.82);
}

/* ======================================
BOTÃO WHATSAPP FLUTUANTE
====================================== */

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, #25d366 0%, #1fb858 100%);
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(0,0,0,0.24);
    transition: all 0.2s ease;
}

.whatsapp-float i {
    font-size: 22px;
    line-height: 1;
}

.whatsapp-float:hover {
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(0,0,0,0.28);
}

/* ======================================
RESPONSIVO
====================================== */

@media (max-width: 991px) {
    footer.footer-cta {
        padding-top: 90px !important;
        padding-bottom: 80px !important;
    }

    footer.footer-cta .row.justify-content-center.text-center.mb-5 {
        margin-bottom: 50px !important;
    }

    footer.footer-cta h5 {
        font-size: 1.7rem;
    }

    footer.footer-cta .footer-payment-item {
        min-width: 112px;
        min-height: 110px;
    }

    .pre-analise-section .card,
    #pre-analise .card,
    .section-pre-analise .card {
        max-width: 100%;
    }

    .pre-analise-section .card-body,
    #pre-analise .card-body,
    .section-pre-analise .card-body {
        padding: 38px 32px;
    }
}

@media (max-width: 767px) {
    footer.footer-cta {
        padding-top: 72px !important;
        padding-bottom: 72px !important;
    }

    footer.footer-cta .lead {
        font-size: 1.04rem;
    }

    footer.footer-cta .footer-payment-methods {
        gap: 12px;
    }

    footer.footer-cta .footer-payment-item {
        min-width: 104px;
        min-height: 104px;
        padding: 16px 14px;
    }

    footer.footer-cta .footer-copy-wrap {
        margin-top: 40px !important;
    }

    .pre-analise-section .card-body,
    #pre-analise .card-body,
    .section-pre-analise .card-body {
        padding: 30px 22px;
    }
}

@media (max-width: 576px) {
    footer.footer-cta {
        padding-top: 64px !important;
        padding-bottom: 64px !important;
    }

    footer.footer-cta .btn.btn-success {
        width: 100%;
        padding: 16px 24px !important;
    }

    footer.footer-cta .footer-payment-item {
        min-width: calc(50% - 7px);
    }

    .whatsapp-float span {
        display: none;
    }

    .whatsapp-float {
        width: 58px;
        height: 58px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

    .pre-analise-section .card-body,
    #pre-analise .card-body,
    .section-pre-analise .card-body {
        padding: 26px 18px;
    }
}