html {
    scroll-behavior: smooth;
}

.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.rounded-img {
  border-radius: 1.5rem;
}

.text-brand-blue {
    color: #163F7A;
}

.hero-section .input-group-text {
    color: #0E2F5C;
}

.faq-arrow {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 50%;
    border: 2px solid #163F7A;
    color: #163F7A;
    background-color: #fff;

    display: flex;
    align-items: center;
    justify-content: center;

    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-arrow i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.faq-arrow.active {
    background-color: #163F7A;
    color: var(--bs-warning);
}

.faq-arrow.active i {
    transform: rotate(180deg);
}

.footer-main {
    background-color: #163F7A;
}

.footer-bottom {
    background-color: #0E2F5C;
}

.hero-section {
    background-image: url('../images/background-hero-chevron.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 600px;
    border-radius: 0 0 50px 50px;
    position: relative;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Ajustes no formulário quando inválido */
.form-control.is-invalid,
.form-select.is-invalid,
.form-check-input.is-invalid {
    border-color: #dc3545;
}

.form-control.is-invalid ~ .invalid-feedback,
.form-select.is-invalid ~ .invalid-feedback,
.form-check-input.is-invalid ~ .invalid-feedback {
    display: block;
}

/* Mensagem de feedback do formulário */
#formMessage {
    display: none;
    padding: 1rem;
    border-radius: 0.375rem;
    text-align: center;
}

#formMessage.show {
    display: block;
}

#formMessage.success {
    background-color: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
}

#formMessage.error {
    background-color: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
}

@media (max-width: 991px) {
    .whatsapp-float {
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-float img {
        width: 50px !important;
    }

    .hero-section {
        background-image: url('../images/background-hero-mobile.png');
    }

    #hero .col-lg-7 {
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto;
    }

    #hero .col-lg-5 .bg-white {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}