/* ============================================
   ESTILOS EXISTENTES (MANTIDOS E OTIMIZADOS)
   ============================================ */

.contact-card {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: none;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

/* Efeito hover para contact-card */
.contact-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.10);
}

/* Linha decorativa no hover */
.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #163C94, #1d4ed8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-card:hover::before {
    opacity: 1;
}


/* Container dos cards de contato */
.canal-contato-cards {
    margin-bottom: 0.5rem;
}

.canal-contato-cards .col {
    display: flex;
}

.canal-contato-cards .contact-card {
    width: 100%;
}

/* ============================================
   ÍCONES
   ============================================ */

.contact-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin: 0 auto 1.25rem auto;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.contact-card:hover .contact-icon {
    transform: scale(1.05);
}

/* Títulos e textos */
.contact-card h5 {
    font-weight: 700;
    color: #183b93;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: #6c757d;
    font-size: 0.92rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

/* Links */
.contact-link {
    text-decoration: none;
    font-weight: 600;
    color: #1d4ed8;
    transition: color 0.2s ease;
    display: inline-block;
}

.contact-link:hover {
    color: #163ea9;
    text-decoration: underline;
}

.contact-link i {
    transition: transform 0.2s ease;
}

.contact-link:hover i {
    transform: translateX(4px);
}

/* Botões */
.btn-whatsapp {
    background: #25D366;
    color: #ffffff;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-whatsapp:hover {
    background: #20b95b;
    color: #ffffff;
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.35);
}

.btn-blue {
    background: #1d4ed8;
    color: #ffffff;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    width: 100%;
}

.btn-blue:hover {
    background: #163ea9;
    color: #ffffff;
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(29, 78, 216, 0.35);
}

/* ============================================
   RESPONSIVIDADE
   ============================================ */

/* Tablets e telas médias (768px - 1199px) */
@media (max-width: 1199px) {
    .canal-contato .contact-card {
        padding: 25px;
        min-height: 220px;
    }

    .contact-icon {
        width: 64px;
        height: 64px;
        font-size: 28px;
    }

    .contact-card h5 {
        font-size: 1rem;
    }

    .contact-card p {
        font-size: 0.85rem;
    }

    .btn-whatsapp,
    .btn-blue {
        font-size: 0.85rem;
        padding: 0.5rem 1rem;
    }
}

/* Tablets pequenos e mobile grande (576px - 767px) */
@media (max-width: 767px) {
    .canal-contato {
        padding: 1rem 0.75rem;
    }

    .canal-contato .contact-card {
        padding: 20px;
        min-height: auto;
        border-radius: 14px;
    }

    .contact-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
        margin-bottom: 0.75rem;
    }

    .contact-card h5 {
        font-size: 0.95rem;
    }

    .contact-card p {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }

    .contact-link {
        font-size: 0.85rem;
    }

    .btn-whatsapp,
    .btn-blue {
        font-size: 0.8rem;
        padding: 0.4rem 0.75rem;
    }

    .contato-form-faq {
        max-width: 100%;
    }

    .form-card,
    .faq-card {
        padding: 1.25rem;
    }

    .section-title {
        font-size: 1.5rem;
        padding: 0 0.5rem;
    }
}

/* Mobile pequeno (até 575px) */
@media (max-width: 575px) {
    .canal-contato .contact-card {
        padding: 16px;
        border-radius: 12px;
    }

    .contact-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
        margin-bottom: 0.65rem;
    }

    .contact-card h5 {
        font-size: 0.85rem;
        margin-bottom: 0.35rem;
    }

    .contact-card p {
        font-size: 0.75rem;
        margin-bottom: 0.65rem;
        line-height: 1.4;
    }

    .contact-link {
        font-size: 0.8rem;
    }

    .btn-whatsapp,
    .btn-blue {
        font-size: 0.75rem;
        padding: 0.35rem 0.65rem;
        border-radius: 30px;
    }

    .section-title {
        font-size: 1.35rem;
    }

    .form-card,
    .faq-card {
        padding: 1rem;
        border-radius: 14px;
    }

    .form-card h3,
    .faq-card h3 {
        font-size: 1.25rem;
    }

    .accordion-button {
        font-size: 0.9rem;
        padding: 0.85rem 1rem;
    }
}

/* Telas muito grandes (acima de 1400px) */
@media (min-width: 1400px) {
    .canal-contato .contact-card {
        padding: 35px;
        min-height: 280px;
    }

    .contact-icon {
        width: 80px;
        height: 80px;
        font-size: 36px;
    }

    .contact-card h5 {
        font-size: 1.25rem;
    }

    .contact-card p {
        font-size: 1rem;
    }
}

/* ============================================
   ACESSIBILIDADE
   ============================================ */

/* Redução de movimento para quem prefere */
@media (prefers-reduced-motion: reduce) {
    .contact-card,
    .contact-card:hover,
    .contact-card::before,
    .contact-icon,
    .contact-link i,
    .btn-whatsapp,
    .btn-blue,
    .card {
        transition: none !important;
        transform: none !important;
    }

    .contact-card:hover {
        transform: none !important;
    }
}

/* Foco visível para navegação por teclado */
.contact-link:focus-visible,
.btn-whatsapp:focus-visible,
.btn-blue:focus-visible,
.card:focus-visible {
    outline: 3px solid #1d4ed8;
    outline-offset: 3px;
}

/* ============================================
   FORMULÁRIO E FAQ
   ============================================ */

.form-card,
.faq-card {
    border: none;
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    padding: 2rem;
    background: #ffffff;
    transition: box-shadow 0.3s ease;
    width: 100%;
}

.contato-form-faq {
    width: 100%;
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
}

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

/* Accordion personalizado */
.accordion-button:not(.collapsed) {
    background: #edf3ff;
    color: #163C94;
    box-shadow: none;
}

.accordion-button:focus {
    box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.2);
    border-color: #1d4ed8;
}

.accordion-button:hover {
    background: #f0f4ff;
}

/* Features */
.feature {
    border-radius: 16px;
    background: #ffffff;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.04);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

.feature i {
    font-size: 34px;
    color: #1d4ed8;
}

/* ============================================
   UTILITÁRIOS GERAIS
   ============================================ */

body {
    background: #f8f9fc;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    color: #163C94;
}

.text-primary {
    color: #163C94 !important;
}

.bg-success-subtle {
    background: #d4edda !important;
}

.bg-primary-subtle {
    background: #d6e4ff !important;
}

.text-success {
    color: #25D366 !important;
}

.border {
    border-color: #e9ecef !important;
}

/* Correção para o container dos cards */
.container-fluid.border.canal-contato {
    padding: 1.5rem;
    border-radius: 18px;
    background: #ffffff;
    max-width: 100%;
    overflow-x: hidden;
}