/********** Template CSS **********/
:root {
    --primary: #002060;   /* Azul Marinho Principal (Elegante e corporativo) */
    --secondary: #0070C0; /* Azul Royal/Aceso (Perfeito para o botão "Faça seu orçamento") */
    --light: #F4F7FA;     /* Branco levemente azulado para fundos limpos */
    --dark: #1C2434;      /* Cinza-escuro azulado para textos legíveis e rodapé */
}
/* ==========================================================
   FORÇAR DE VEZ O AZUL CORPORATIVO NO LINK DE CONTATO
   ========================================================== */

/* Cor padrão para o link Contato e todos os outros links do menu */
.navbar-light .navbar-nav .nav-link,
.navbar-light .navbar-nav a.nav-link,
.navbar-nav .nav-item.nav-link {
    color: #002060 !important; /* Azul Escuro Marinho */
}

/* Cor quando passa o mouse OU quando o link ganha o foco/estado ativo do template */
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus,
.navbar-light .navbar-nav .nav-link.active,
.navbar-nav .nav-item.nav-link:hover,
.navbar-nav .nav-item.nav-link.active {
    color: #0070C0 !important; /* Azul Vivo Acesdo */
    background: transparent !important; /* Remove qualquer fundo residual */
}
/* ==========================================================
   SEÇÃO DE PROJETOS E EXPERIÊNCIA AUTOMOTIVA
   ========================================================== */
.grid-projetos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.card-projeto {
    background-color: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #e1e8ed;
}

.card-projeto:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.imagem-container {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.imagem-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.card-projeto:hover .imagem-container img {
    transform: scale(1.08);
}

.conteudo-card {
    padding: 20px;
}

.codigo-projeto {
    display: inline-block;
    background-color: #e6f0fa;
    color: #002060; /* Usando o azul escuro padrão da Arton */
    font-size: 0.8rem;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.nome-carro {
    font-size: 1.3rem;
    color: #1a252f;
    margin-bottom: 8px;
    font-weight: 600;
}

.descricao-tecnica {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}
/* ==========================================================
   FORÇAR PADRÃO AZUL DA ARTON ROBOTICS NO MENU DE NAVEGAÇÃO
   ========================================================== */
.navbar-light .navbar-nav .nav-link {
    color: #002060 !important; /* Cor padrão para todos os links (Azul Marinho) */
}
/* ==========================================================
   AJUSTE DE ALTURA DA NAVBAR E REDIMENSIONAMENTO DO LOGO
   ========================================================== */

/* 1. Remove qualquer altura fixa da barra e adiciona espaçamento em cima e embaixo */
.navbar {
    height: auto !important;
    min-height: 120px; /* Garante uma altura mínima robusta para a barra branca */
    padding-top: 10px !important;
    padding-bottom: 10px !important;
}

/* 2. Permite que o link do bloco do logo acompanhe a nova altura */
.navbar-brand {
    display: flex;
    align-items: center;
    height: 100% !important;
    padding: 0 !important;
}

/* 3. Força o logo a aceitar o novo tamanho sem travas do template */
.navbar-brand img {
    max-height: 110px !important; /* Altura máxima permitida para o logo */
    width: auto !important;        /* Mantém a proporção perfeita do desenho */
}

/* 4. Alinha os links do menu verticalmente com o novo centro da barra */
.navbar-nav .nav-link {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #0070C0 !important; /* Cor ao passar o mouse ou página ativa (Azul Vivo) */
}
/* ==========================================
   FORÇAR COR AZUL NO ITEM ATIVO DO MENU (NAV-LINK)
   ========================================== */
.navbar-light .navbar-nav .nav-link.active {
    color: #0070C0 !important; /* Aplica o azul aceso de destaque */
}

.navbar-light .navbar-nav .nav-link:hover {
    color: #002060 !important; /* Azul marinho corporativo ao passar o mouse */
}
/* ==========================================
   FORÇAR O PADRÃO AZUL NOS ÍCONES DO SITE
   ========================================== */

/* 1. Ícones do Topo (Redes Sociais) e pequenos ícones de contato */
.fa-facebook-f, .fa-whatsapp, .fa-linkedin-in, .fa-instagram,
.fa-map-marker-alt, .fa-clock, .fa-phone-alt {
    color: var(--secondary) !important; /* Aplica o azul aceso estilo Azul Linhas Aéreas */
}

/* Efeito de passar o mouse nas redes sociais do topo */
.btn-sm-square:hover i {
    color: var(--primary) !important; /* Muda para o azul marinho no hover */
}

/* 2. Ícones Maiores das Seções (Vantagens, Serviços e Recursos) */
.fa-user-check, .fa-check, .fa-drafting-compass, .fa-headphones, .fa-users {
    color: var(--secondary) !important; /* Transforma o laranja/marrom em azul de destaque */
}

/* Garante que os ícones dentro de caixas cinzas ou brancas conversem bem com o novo design */
.bg-light i, .bg-white i {
    color: var(--secondary) !important;
}
/* Procure por este bloco no seu css/style.css e garanta que ele esteja exatamente assim: */
.btn.btn-primary {
    background-color: var(--secondary) !important; /* Força o azul royal */
    border-color: var(--secondary) !important;
    color: #FFFFFF !important;
}

.btn.btn-primary:hover {
    background-color: var(--primary) !important; /* Força o azul marinho no hover */
    border-color: var(--primary) !important;
}
/*** pagina Obrigado ***/

.main {
    display: flex;
    color: var(--light);
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #002060;
    flex-direction: column;
}

.text {
    font-size: 45px;
    color: var(--light);
    margin-bottom: 30px;
}
.paragrafo {
    color: var(--light);
    margin-bottom: 50px;
}
.voltar,
.voltar:hover {
    color: var(--light);
    padding: 15px 55px;
    background: var(--light);
    text-decoration: none;
    color: #002060;
    font-size: 18px;
    transition: all 0.5s;
    border-radius: 16px;
}


/*** Fim pagina Obrigado ***/

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

.fw-bold {
    font-weight: 700 !important;
}

.fw-black {
    font-weight: 900 !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;
    transition: .5s;
}

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

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

.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;
}

/*** 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;
    font-weight: 500;
    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 (Carrossel Ajustado) ***/
/* Configuração para Computadores e Telas Grandes */


.header-carousel .owl-carousel-item {
    position: relative;
    max-height: 450px;
    overflow: hidden;
    background: #002060; /* Fundo escuro caso a imagem não ocupe toda a largura */
}

.header-carousel .owl-carousel-item img {
    width: 100%;
    height: 450px;
    object-fit: contain; /* Ajusta a imagem inteira dentro do espaço, sem zoom e sem cortes */
    object-position: center;
}

/* Configuração Responsiva para Celulares e Tablets */
@media (max-width: 768px) {
    .header-carousel .owl-carousel-item {
        min-height: 320px; /* Reduzido de 500px para 320px (padrão mobile) */
        max-height: 350px;
    }
    
    .header-carousel .owl-carousel-item img {
        height: 320px; /* Ajusta a imagem no celular */
        object-fit: cover;
    }

    /* Ajuste dos textos para caberem na nova altura menor */
    .header-carousel .owl-carousel-item h5,
    .header-carousel .owl-carousel-item p {
        font-size: 13px !important;
        font-weight: 400 !important;
        margin-bottom: 10px !important;
    }

    .header-carousel .owl-carousel-item h1 {
        font-size: 22px !important; /* Reduzido para não quebrar muitas linhas */
        font-weight: 600;
        margin-bottom: 15px !important;
    }
    
    /* Esconde os botões extras no celular se o espaço ficar muito apertado */
    .header-carousel .owl-carousel-item .btn {
        padding: 6px 15px !important;
        font-size: 13px;
    }
}

/* Setas de Navegação (Prev/Next) */
.header-carousel .owl-nav {
    position: absolute;
    width: 200px;
    height: 45px;
    bottom: 20px; /* Subiu um pouco para alinhar com o novo tamanho */
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
}

.header-carousel .owl-nav .owl-prev,
.header-carousel .owl-nav .owl-next {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    background: rgba(0, 0, 0, 0.3); /* Um fundo sutil para dar leitura sobre a foto */
    border: 1px solid #FFFFFF;
    font-size: 20px;
    transition: .5s;
}

.header-carousel .owl-nav .owl-prev:hover,
.header-carousel .owl-nav .owl-next:hover {
    background: var(--primary);
    border-color: var(--primary);
}

/* Pontinhos de Navegação (Dots) */
.header-carousel .owl-dots {
    position: absolute;
    height: 45px;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 12px;
    height: 12px;
    background: transparent;
    border: 1px solid #FFFFFF;
    transition: .5s;
}

.header-carousel .owl-dot::after {
    position: absolute;
    content: "";
    width: 4px;
    height: 4px;
    top: 3px;
    left: 3px;
    background: transparent;
    border: 1px solid #FFFFFF;
}

.header-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}

/* Bônus: Correção do caminho da imagem que estava quebrado (url(../imgimg\khi-robo.jpg)) */
.page-header {
    background: linear-gradient(rgba(53, 53, 53, .7), rgba(53, 53, 53, .7)), url(../img/khi-robo.jpg) center center no-repeat;
    background-size: cover;
}

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


/*** Section Title ***/
.section-title h1 {
    position: relative;
    display: inline-block;
    padding: 0 60px;
}

.section-title.text-start h1 {
    padding-left: 0;
}

.section-title h1::before,
.section-title h1::after {
    position: absolute;
    content: "";
    width: 45px;
    height: 5px;
    bottom: 0;
    background: var(--dark);
}

.section-title h1::before {
    left: 0;
}

.section-title h1::after {
    right: 0;
}

.section-title.text-start h1::before {
    display: none;
}


/*** About ***/
@media (min-width: 992px) {
    .container.about {
        max-width: 100% !important;
    }

    .about-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .about-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .about-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


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

.service-item:hover img {
    transform: scale(1.1);
}


/*** Feature ***/
@media (min-width: 992px) {
    .container.feature {
        max-width: 100% !important;
    }

    .feature-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .feature-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .feature-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Project Portfolio ***/
#portfolio-flters li {
    display: inline-block;
    font-weight: 500;
    color: var(--dark);
    cursor: pointer;
    transition: .5s;
    border-bottom: 2px solid transparent;
}

#portfolio-flters li:hover,
#portfolio-flters li.active {
    color: var(--primary);
    border-color: var(--primary);
}

.portfolio-item img {
    transition: .5s;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

.portfolio-item .portfolio-overlay {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 0;
    height: 0;
    bottom: 0;
    left: 50%;
    background: rgba(53, 53, 53, .7);
    transition: .5s;
}

.portfolio-item:hover .portfolio-overlay {
    width: 100%;
    height: 100%;
    left: 0;
}

.portfolio-item .portfolio-overlay .btn {
    opacity: 0;
}

.portfolio-item:hover .portfolio-overlay .btn {
    opacity: 1;
}


/*** Quote ***/
@media (min-width: 992px) {
    .container.quote {
        max-width: 100% !important;
    }

    .quote-text  {
        padding-right: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .quote-text  {
        padding-right: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .quote-text  {
        padding-right: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*** Team ***/
.team-item img {
    transition: .5s;
}

.team-item:hover img {
    transform: scale(1.1);
}

.team-item .team-social {
    position: absolute;
    width: 38px;
    top: 50%;
    left: -38px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    transition: .5s;
}

.team-item .team-social .btn {
    color: var(--primary);
    background: #FFFFFF;
}

.team-item .team-social .btn:hover {
    color: #FFFFFF;
    background: var(--primary);
}

.team-item:hover .team-social {
    left: 0;
}


/*** Testimonial ***/
.testimonial-carousel::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

.testimonial-carousel::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%);
    z-index: 1;
}

@media (min-width: 768px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 200px;
    }
}

@media (min-width: 992px) {
    .testimonial-carousel::before,
    .testimonial-carousel::after {
        width: 300px;
    }
}

.testimonial-carousel .owl-item .testimonial-text {
    border: 5px solid var(--light);
    transform: scale(.8);
    transition: .5s;
}

.testimonial-carousel .owl-item.center .testimonial-text {
    transform: scale(1);
}

.testimonial-carousel .owl-nav {
    position: absolute;
    width: 350px;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: space-between;
    opacity: 0;
    transition: .5s;
    z-index: 1;
}

.testimonial-carousel:hover .owl-nav {
    width: 300px;
    opacity: 1;
}

.testimonial-carousel .owl-nav .owl-prev,
.testimonial-carousel .owl-nav .owl-next {
    position: relative;
    color: var(--primary);
    font-size: 45px;
    transition: .5s;
}

.testimonial-carousel .owl-nav .owl-prev:hover,
.testimonial-carousel .owl-nav .owl-next:hover {
    color: var(--dark);
}


/*** Contact ***/
@media (min-width: 992px) {
    .container.contact {
        max-width: 100% !important;
    }

    .contact-text  {
        padding-left: calc(((100% - 960px) / 2) + .75rem);
    }
}

@media (min-width: 1200px) {
    .contact-text  {
        padding-left: calc(((100% - 1140px) / 2) + .75rem);
    }
}

@media (min-width: 1400px) {
    .contact-text  {
        padding-left: calc(((100% - 1320px) / 2) + .75rem);
    }
}


/*whatsapp link*/

.whatsappLink {
    position: fixed;
    cursor: pointer;
    width: 60px;
    height: 60px;
    bottom: 570px;
    right: 23px;
    background-color: #25d366;
    color: #FFFFFF;
    border-radius: 50px;
    text-align: center;
    font-size: 36px;
    box-shadow: 1px 1px 2px #888;
    z-index: 1000;
}

.icon {
    margin-top: 4px;
    color: #FFFFFF;
    width: 31px;
    text-align: center;
}

/*** Footer ***/
.footer {
    background: linear-gradient(rgba(53, 53, 53, .7), rgba(53, 53, 53, .7)), url(../img/footer.jpg) center center no-repeat;
    background-size: cover;
}

.footer .btn.btn-social {
    margin-right: 5px;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    border: 1px solid #FFFFFF;
    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 {
    color: var(--primary);
    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 .copyright a:hover {
    color: var(--primary);
}