/* ============================================
   CORREÇÕES DA PÁGINA CONTATO
   ============================================ */

/* ============================================
   CAMPOS DE FORMULÁRIO - MELHORAR VISIBILIDADE
   ============================================ */

.form-control,
.form-select {
    background-color: #ffffff !important;
    color: #2a2f3a !important;
    border: 2px solid #1a4789 !important;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    background-color: #ffffff !important;
    border-color: #0d2249 !important;
    color: #2a2f3a !important;
    box-shadow: 0 0 0 4px rgba(26, 71, 137, 0.15) !important;
}

.form-control::placeholder {
    color: #8b8f98;
    opacity: 0.8;
}

.form-floating > label {
    color: #2a2f3a !important;
    font-weight: 600;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
    color: #1a4789 !important;
}

/* ============================================
   CARDS COM ÍCONES - REMOVER RETÂNGULOS FEIOS
   ============================================ */

.icon-circle {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a4789, #2d5fa3) !important;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 12px rgba(26, 71, 137, 0.2);
}

.icon-circle i {
    color: #ffffff;
    font-size: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hover-card {
    transition: all 0.3s ease;
    cursor: pointer;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15) !important;
}

.hover-card .card-body {
    padding: 2rem;
}

.hover-card h3 {
    color: #0d2249;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hover-card p {
    color: #5a5f6b;
    font-size: 1rem;
    line-height: 1.6;
}

/* ============================================
   BOTÕES DO FORMULÁRIO
   ============================================ */

.btn-primary {
    background-color: #1a4789;
    border-color: #1a4789;
    color: #ffffff;
    font-weight: 600;
    font-size: 1.05rem;
    padding: 0.75rem 1.5rem;
}

.btn-primary:hover {
    background-color: #0d2249;
    border-color: #0d2249;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 34, 73, 0.3);
}

/* ============================================
   CHECKBOXES E RADIO BUTTONS
   ============================================ */

.form-check-input {
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.3rem;
    border: 2px solid #1a4789;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: #1a4789;
    border-color: #1a4789;
}

.form-check-input:focus {
    border-color: #1a4789;
    box-shadow: 0 0 0 4px rgba(26, 71, 137, 0.15);
}

.form-check-label {
    color: #2a2f3a;
    font-weight: 500;
    cursor: pointer;
    margin-left: 0.5rem;
}

.form-check-label a {
    color: #1a4789;
    font-weight: 600;
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
    color: #0d2249;
}

/* ============================================
   ACCORDION (FAQ)
   ============================================ */

.accordion-button {
    background-color: #ffffff;
    color: #0d2249;
    font-weight: 600;
    border: 1px solid #e9ecf0;
}

.accordion-button:not(.collapsed) {
    background-color: #f0f4ff;
    color: #1a4789;
    box-shadow: inset 0 -1px 0 rgba(26, 71, 137, 0.1);
}

.accordion-button:focus {
    border-color: #1a4789;
    box-shadow: 0 0 0 4px rgba(26, 71, 137, 0.15);
}

.accordion-body {
    color: #3a4150;
    line-height: 1.8;
    font-size: 1.05rem;
}

/* ============================================
   SEÇÃO NEWSLETTER
   ============================================ */

#newsletter {
    background: linear-gradient(135deg, #1a4789, #2d5fa3);
}

#newsletter h2 {
    color: #ffffff;
    font-weight: 800;
}

#newsletter p {
    color: rgba(255, 255, 255, 0.95);
}

#newsletter-form input {
    background-color: #ffffff;
    color: #2a2f3a;
    border: none;
}

#newsletter-form input::placeholder {
    color: #8b8f98;
}

#newsletter-form input:focus {
    background-color: #ffffff;
    color: #2a2f3a;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.25);
}

#newsletter-form .btn-light {
    background-color: #ffffff;
    color: #1a4789;
    font-weight: 700;
    border: none;
}

#newsletter-form .btn-light:hover {
    background-color: #f8f9fb;
    color: #0d2249;
}

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

.hero-small {
    background: linear-gradient(135deg, #1a4789, #2d5fa3);
    padding: 4rem 2rem;
}

.hero-small h1 {
    color: #ffffff;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hero-small h2,
.hero-small p {
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

/* ============================================
   MAP SECTION
   ============================================ */

.map-placeholder {
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.map-placeholder img {
    width: 100%;
    height: auto;
    display: block;
}

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

@media (max-width: 768px) {
    .icon-circle {
        width: 70px;
        height: 70px;
        margin-bottom: 1rem;
    }

    .icon-circle i {
        font-size: 2rem;
    }

    .form-control,
    .form-select {
        font-size: 1rem;
        padding: 0.65rem 0.875rem;
    }

    .btn-primary {
        font-size: 1rem;
        padding: 0.65rem 1.25rem;
    }

    #newsletter-form {
        flex-direction: column;
    }

    #newsletter-form input,
    #newsletter-form .btn-light {
        width: 100%;
    }
}
