/********** Template CSS **********/
:root {
    --primary: #D81324;
    --secondary: #0B2154;
    --light: #F2F2F2;
    --dark: #111111;
}

.fw-medium {
    font-weight: 600 !important;
}

.back-to-top {
    position: fixed;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}


/*** Button ***/
.btn {
    font-weight: 500;
    text-transform: uppercase;
    transition: .5s;
}

.btn.btn-primary,
.btn.btn-secondary {
    color: #FFFFFF;
}

.btn-square {
    width: 38px;
    height: 38px;
}

.btn-square-3x {
    border-radius: 30px;
    border: 2px solid #ff1212;
}

.btn-sm-square {
    width: 32px;
    height: 32px;
}

.btn-lg-square {
    width: 48px;
    height: 48px;
}

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 2px;
}


/*** Navbar ***/
.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

.navbar-light .navbar-nav .nav-link {
    margin-right: 30px;
    padding: 25px 0;
    color: #FFFFFF;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--primary);
}

@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link {
        margin-right: 0;
        padding: 10px 0;
    }

    .navbar-light .navbar-nav {
        border-top: 1px solid #EEEEEE;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--dark);
    font-weight: 500;
}

.navbar-light.sticky-top {
    top: -100px;
    transition: .5s;
}

@media (min-width: 992px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        border: none;
        margin-top: 0;
        top: 150%;
        opacity: 0;
        visibility: hidden;
        transition: .5s;
    }

    .navbar .nav-item:hover .dropdown-menu {
        top: 100%;
        visibility: visible;
        transition: .5s;
        opacity: 1;
    }
}


/*** Header ***/
.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, .0);
    z-index: 1;
}

.carousel-control-prev,
.carousel-control-next {
    width: 5%;
}

.fundo-carrosel {
    height: 100vh;
    background-image: url('../img/background/carrosel-background.jpg');
    background-size: cover;
    background-position: center;
}

@media (max-width: 991px) {
    #header-carousel .fundo-carrosel {
        background-image: url('../img/background/carrosel-Mobile.png');
    }
}

.fundo-grid {
    width: 100%;
    max-width: 100%;
    height: auto;
    background-image: url('../img/background/produtos_brackground.png');
    background-size: cover;
    background-position: center;
}

.fundo-bg-produtos {
    width: 100%;
    max-width: 100%;
    height: 160px;
    background-color: #253140;
    background-size: cover;
    background-position: center;
    border-radius: 15px;
}

.fundo-atendemos {
    width: 100%;
    max-width: 100%;
    height: auto;
    background-image: url('../img/background/QAbackground.jpg');
    background-size: cover;
    background-position: center;
}

.imagem-atendemos {
    width: 150px;
    height: 150px;
}

.imagem-atendemos-2 {
    width: 200px;
    height: 170px;
}

.imagem-atendemos-3 {
    width: 230px;
    height: 100px;
    margin: 44px 0px;
}

@media (max-width: 991px) {
    .imagem-atendemos-3 {
        width: 200px;
        height: 100px;
    }
}
.fundo-mapa {
    width: 100%;
    max-width: 100%;
    height: auto;
    background-image: url('../img/background/fundo-contato.png');
    background-size: cover;
    background-position: center;
}

.fundo-segmentos {
    width: 100%;
    max-width: 100%;
    height: auto;
    background-image: url('../img/sobre-img/background/bg-segmentos.jpg');
    background-size: cover;
    background-position: center;
}

.fundo-sobre {
    width: 100%;
    max-width: 100%;
    height: auto;
    background-image: url('../img/sobre-img/background/bg-main.jpg');
    background-size: cover;
    background-position: center;
}

.fundo-produtos {
    width: 100%;
    max-width: 100%;
    height: auto;
    background-image: url('../img/produtos-img/background/bg-produto-banner.jpg');
    background-size: cover;
    background-position: center;
}



.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 7rem;
    height: 7rem;
    color: #D81324;
}

.page-header {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header-inner {
    background: rgba(0, 0, 0, .0);
    height: 95vh;
}

@media screen and (max-device-width: 768px) and (orientation: portrait) {
    .fundo-produtos {
        height: 40vh;
        background-image: url('../img/produtos-img/background/bg-produto-banner.jpg');
        background-size: cover;
        background-position: center;
    }

    .page-header-inner {
        background: rgba(0, 0, 0, .0);
        height: 40vh;
    }

    .text-produtos {
        line-height: 1.5;
        font-size: 30px;
        text-align: center;
    }
}

.highlight {
    background-color: #253140;
    font-weight: bold;
}

.breadcrumb-item+.breadcrumb-item::before {
    color: var(--light);
}


/*** GRID ***/
.fact {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.0)), url(../img/background/fundo-grid.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}


/*** SERVIÇOS ***/
.service .nav .nav-link {
    background: var(--light);
    transition: .5s;
}

.service .nav .nav-link.active {
    background: var(--primary);
}

.service .nav .nav-link.active h4 {
    color: #FFFFFF !important;
}


/*** PARCEIROS ***/
.booking {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/background/carousel-bg-2.jpg) center center no-repeat;
    background-size: cover;
}

.bootstrap-datetimepicker-widget.bottom {
    top: auto !important;
}

.bootstrap-datetimepicker-widget .table * {
    border-bottom-width: 0px;
}

.bootstrap-datetimepicker-widget .table th {
    font-weight: 500;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    padding: 10px;
    border-radius: 2px;
}

.bootstrap-datetimepicker-widget table td.active,
.bootstrap-datetimepicker-widget table td.active:hover {
    background: var(--primary);
}

.bootstrap-datetimepicker-widget table td.today::before {
    border-bottom-color: var(--primary);
}


/*** ATENDEMOS ***/
.team-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.team-item .bg-light {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.team-item img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/*** Clientes e Parceiros ***/

.fundo-imagem {
    background-image: url('../img/background/fundo-parceiros.png');
    background-size: 210px;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 8px;
}

.cliente-item {
    margin: auto;
    width: 250px;
    height: 250px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fundo-cliente {
    background: linear-gradient(rgba(0, 0, 0, 0.0), rgba(0, 0, 0, 0.5)), url(../img/background/fundo-grid.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    max-width: 100%;
    height: auto;
}

.parceiros-carousel .owl-item .parceiros-text,
.parceiros-carousel .owl-item.center .parceiros-text * {
    transition: .5s;
}

.parceiros-carousel .owl-item.center .parceiros-text {
    background: var(--primary) !important;
}

.parceiros-carousel .owl-item.center .parceiros-text * {
    color: #FFFFFF !important;
}

.atendemos-item-2 {
    flex: 0 1 220px;
    margin: 20px;
    padding: 20px;
    border: 2px solid #dee2e6;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    background-color: #ffffff;
}

.atendemos-item-produtos {
    width: 320px;
    height: 320px;
    margin: 20px;
    padding: 50px;
    border: 2px solid #dee2e6;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border-radius: 30px;
    background-color: #ffffff;
}

.atendemos-item-1 {
    width: 420px;
    height: 300px;
    margin: 20px;
    padding: 50px;
    border: 2px solid #dee2e6;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    border-radius: 30px;
    background-color: #ffffff;
}

.owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.owl-nav i {
    font-size: 50px;
    color: #9a9a9a;
    transition: color 0.3s;
}

.owl-nav i:hover {
    color: #ff1212;
}

.owl-nav button {
    background: none;
    border: none;
    cursor: pointer;
}

@media (min-width: 768px) and (max-width: 991px) {

    .parceiros-carousel {
        width: 100vw;
        margin: auto;
        padding: 0 15px;
    }

    .owl-nav {
        display: flex;
        justify-content: center;
        justify-content: space-between;
        padding-bottom: 350px;
    }
}

/*** Footer ***/

.custom-row {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

.custom-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #f8f9fa;
    height: 100%;
    min-height: 150px;
    flex: 1 1 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
}

@media (max-width: 1200px) {
    .custom-card {
        flex: 1 1 100%;
        max-width: 100%;
    }
}

.footer {
    background-image: url(../img/background/fundo-footer.png);
    background-size: cover;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #FFFFFF;
    border-radius: 35px;
    transition: .3s;
}

.footer .btn.btn-social:hover {
    color: var(--primary);
}

.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    padding: 0;
    text-align: left;
    color: #FFFFFF;
    font-size: 15px;
    font-weight: normal;
    text-transform: capitalize;
    transition: .3s;
}

.footer .btn.btn-link::before {
    position: relative;
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}

.footer .btn.btn-link:hover {
    letter-spacing: 1px;
    box-shadow: none;
}

.footer .copyright {
    padding: 25px 0;
    font-size: 15px;
    border-top: 1px solid rgba(256, 256, 256, .1);
}

.footer .copyright a {
    color: var(--light);
}

.footer .footer-menu a {
    margin-right: 15px;
    padding-right: 15px;
    border-right: 1px solid rgba(255, 255, 255, .3);
}

.footer .footer-menu a:last-child {
    margin-right: 0;
    padding-right: 0;
    border-right: none;
}

.text-footer {
    font-family: sans-serif;
    color: white;
    font-size: 12px;
    text-align: center;
}


.contact-form {
    color: #ffffff;
}

.contact-form h3 {
    font-size: 1.5em;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
}

/* Campos do formulário */
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 15px;
    background: #ffffff;
    border-radius: 5px;
    border: none;
    color: #333333;
    font-size: 1em;
    box-sizing: border-box;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #333333;
    opacity: 0.7;
}

.contact-form textarea {
    resize: none;
    height: 120px;
}

.text-danger {
    color: #ff4d4d; 
    font-size: 0.9em;
    margin-bottom: 10px;
}

.contact-form .main-button {
    background-color: #d6181b;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    padding: 12px 0;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 1em;
    cursor: pointer;
    width: 100%;
    transition: background 0.3s ease;
}

.contact-form .main-button:hover {
    background-color: #a91515; 
}

.sucesso-mensagem {
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 10px;
    text-align: center;
}

.sucesso-mensagem h3 {
    color: #1c2d3f;
    margin-bottom: 10px;
}

.sucesso-mensagem p {
    color: #05D46E;
    font-weight: bold;
}
