/********** Template CSS **********/
:root {
    --primary: #F8C02B;
    --secondary: #0D0D0D;
    --light: #ECF4FF;
    --dark: #120F2D;
}

[class^=flaticon-]:before,
[class*=" flaticon-"]:before,
[class^=flaticon-]:after,
[class*=" flaticon-"]:after {
    font-size: inherit;
    margin-left: 0;
}




  .navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus, .navbar-nav .dropdown-item:hover, .navbar-nav .dropdown-item:focus {
        color: #F8C02B; /* Cor amarela ao passar o mouse */
    }
    .nav-contact:hover {
        background-color: #F8C02B; /* Cor de fundo do botão de contato ao passar o mouse */
        color: #000; /* Cor do texto ao passar o mouse */
    }

/* Garante que a row utilize flexbox para alinhar os itens */
.row.g-5 {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centraliza os cards se eles não ocuparem toda a largura da linha */
    align-items: stretch; /* Estica os itens para que todos tenham a mesma altura */
}

/* Define que cada serviço (item do serviço) seja uma caixa flexível para que seu conteúdo interno possa ser alinhado corretamente */
.service-item {
    display: flex;
    flex-direction: column; /* Organiza os itens do card em uma coluna */
    height: 100%; /* Faz com que o card estique para preencher a altura do container */
}

/* Faz com que o conteúdo do serviço (p, h3, etc.) ocupe todo o espaço disponível, exceto para o link "Saiba Mais" */
.service-item .position-relative {
    flex: 1; /* Dá ao conteúdo a habilidade de crescer e ocupar o espaço disponível */
    display: flex; /* Aplica flexbox dentro do item do serviço */
    flex-direction: column; /* Organiza os itens internos em uma coluna */
}

/* Coloca o link "Saiba Mais" na parte de baixo do card */
.service-item .position-relative a {
    margin-top: auto; /* Move o link "Saiba Mais" para baixo */
    align-self: center; /* Centraliza o link "Saiba Mais" no card */
}
h1,
h2,
.font-weight-bold {
    font-weight: 700 !important;
}

h3,
h4,
.font-weight-semi-bold {
    font-weight: 600 !important;
}

h5,
h6,
.font-weight-medium {
    font-weight: 500 !important;
}

.btn {
    font-family: 'Jost', sans-serif;
    font-weight: 600;
    transition: .5s;
}

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


 .client-area-link:hover {
        background-color: #e6c300 !important;/* Um tom mais escuro de amarelo para o hover */
        color: #333 !important;
        scale: 105%;
    }


.btn-primary:hover {
    background: var(--secondary);
    border-color: var(--secondary);
}

.btn-secondary:hover {
    background: var(--primary);
    border-color: var(--primary);
}

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

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

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

.btn-square,
.btn-sm-square,
.btn-lg-square {
    padding-left: 0;
    padding-right: 0;
    text-align: center;
}

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

.navbar-light .navbar-nav .nav-link {
    font-family: 'Jost', sans-serif;
    position: relative;
    margin-left: 30px;
    padding: 30px 0;
    font-size: 20px;
    font-weight: 500;
    color: var(--dark);
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 20px 0;
}

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

@media (min-width: 992px) {
    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 0;
        height: 5px;
        bottom: 0;
        left: 50%;
        background: var(--primary);
        transition: .5s;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        width: 100%;
        left: 0;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }
}

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

.carousel-caption {
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(18, 15, 45, .5);
    z-index: 1;
}

@media (max-width: 576px) {
    .carousel-caption h5 {
        font-size: 14px;
        font-weight: 500 !important;
    }

    .carousel-caption h1 {
        font-size: 30px;
        font-weight: 600 !important;
    }
}

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

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

.whatsapp-button {
    position: fixed; 
    bottom: 20px; 
    right: 20px; 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    background-color: #25D366; 
    color: white; 
    width: 50px; 
    height: 50px; 
    border-radius: 50%; 
    font-size: 30px;
    text-decoration: none; 
    transition: background-color 0.3s; 
    z-index: 1000; 
}

.whatsapp-button:hover {
    color: white !important;
    text-decoration: none !important;
    background-color: #25D366; 
}

@keyframes floatAnimation {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.whatsapp-button {
    animation: floatAnimation 4s ease-in-out infinite; /* Aplicar animação de flutuação com duração aumentada */
}


.carousel-indicators {
    align-items: flex-end;
}

.carousel-indicators [data-bs-target] {
    width: 5px;
    height: 25px;
}

.carousel-indicators .active {
    height: 45px;
}

.hero-header {
    background: linear-gradient(rgba(18, 15, 45, .5), rgba(18, 15, 45, .5)), url(../img/carousel-1.jpg) top right no-repeat;
    background-size: cover;
}

.service-item div {
    z-index: 1;
}

.service-item div::after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    border-radius: 2px 2px 0 0;
    transition: .5s;
    z-index: -1;
}

.service-item div:hover::after {
    width: 100%;
    background: var(--primary);
}

.service-item * {
    transition: .5s;
}

.service-item:hover * {
    color: var(--light) !important;
}

.bg-offer {
    background: linear-gradient(rgba(18, 15, 45, .5), rgba(18, 15, 45, .5)), url(../img/carousel-2.jpg) top right no-repeat;
    background-size: cover;
}

.testimonial-carousel .owl-dots {
    height: 45px;
    margin-top: 5px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 5px;
    height: 25px;
    background: #DDDDDD;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    height: 45px;
    background: var(--primary);
}

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

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

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

.blog-date {
    position: absolute;
    width: 90px;
    height: 65px;
    top: 75px;
    left: -25px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background: var(--secondary);
}

.blog-date::after {
    position: absolute;
    content: "";
    width: 0;
    height: 0;
    top: -25px;
    left: 0;
    border: 13px solid;
    border-color: transparent #D34351 #D34351 transparent;
    z-index: -1;
}



@media screen and (min-width: 320px){
    #logotipo {
    height: 50px;
    }
    .map iframe {
        width: 100% !important;
    }
    
    .carousel-indicators {
        display: none;
    }
    
    .area-cliente {
        margin-left: 0px !important;
    }
    
    .g-5, .gx-5 {
        --bs-gutter-x: 0 !important;
    }
}


@media screen and (min-width: 1020px){
    #logotipo {
    height: 70px;
}

}

@media screen and (max-width: 320px){
    iframe {
        display: none;
    }
    
    .carousel-indicators {
        display: none;
    }
}