/********** Template CSS **********/
:root {
    --primary: #00142A;
    --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-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: #000;
    font-size: 15px;
    text-transform: uppercase;
    outline: none;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: #000;
}

@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 #000;
    }
}

.navbar-light .navbar-brand,
.navbar-light a.btn {
    height: 75px;
}

.navbar-light .navbar-nav .nav-link {
    color: #000;
    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 {
    padding: 80px 0;
    text-align: center;
    background-image: url('img/'); /* Adicione uma imagem de fundo relacionada a baterias */
    background-size: cover;
    background-position: center;
    position: relative;
}

.carousel-control-prev,
.carousel-control-next {
    width: 10%;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3rem;
    height: 3rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item {
        position: relative;
        min-height: 450px;
    }
    
    #header-carousel .carousel-item img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.page-header {
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}

.page-header-inner {
    background: rgba(0, 0, 0, .7);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: var(--light);
}


/*** Facts ***/
.fact {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-bg-1.webp);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
}


/*** Service ***/
.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;
}


/*** Booking ***/
.booking {
    background: linear-gradient(rgba(0, 0, 0, .7), rgba(0, 0, 0, .7)), url(../img/carousel-bg-2.webp) 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);
}


/*** Team ***/
.team-item .team-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    transform: scale(0);
    transition: .5s;
}

.team-item:hover .team-overlay {
    transform: scale(1);
}

.team-item .team-overlay .btn {
    color: var(--primary);
    background: #FFFFFF;
}

.team-item .team-overlay .btn:hover {
    color: #FFFFFF;
    background: var(--secondary)
}


/*** Testimonial ***/
.testimonial-carousel .owl-item .testimonial-text,
.testimonial-carousel .owl-item.center .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;
}

.testimonial-carousel .owl-dots {
    margin-top: 24px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.testimonial-carousel .owl-dot {
    position: relative;
    display: inline-block;
    margin: 0 5px;
    width: 15px;
    height: 15px;
    border: 1px solid #CCCCCC;
    transition: .5s;
}

.testimonial-carousel .owl-dot.active {
    background: var(--primary);
    border-color: var(--primary);
}


/*** Footer ***/
.footer {
    background: linear-gradient(rgba(0, 0, 0, .9), rgba(0, 0, 0, .9)), url(../img/carousel-bg-1.webp) 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;
    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;
}


.floating-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
  }
  
  .floating-buttons a {
    width: 60px;
    height: 60px;
    background-color: #25D366; /* Verde do WhatsApp */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    border-radius: 50%; /* Isso faz os botões ficarem redondos */
    text-decoration: none;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .floating-buttons a.instagram-btn {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); /* Gradiente do Instagram */
  }
  
  .floating-buttons a:hover {
    transform: scale(1.1);
    box-shadow: 4px 4px 15px rgba(0, 0, 0, 0.3);
  }
  
.logo{
    margin-top: 7px;
    margin-bottom: 7px;
  }

.carousel-caption {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    position: absolute;
    width: 100%;
    text-align: center;
}

.btn-whatsapp {
    background-color: #ffea00; /* Amarelo */
    color: #000; /* Texto preto */
    font-weight: bold;
    border-radius: 10px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.btn-whatsapp i {
    margin-right: 10px;
}

.bg-primary {
    background: url("/img/orcamento.webp") no-repeat center center;
    background-size: cover;
    position: relative;
}

.bg-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Efeito de escurecimento */
}

.bg-primary h1,
.bg-primary form {
    position: relative;
    z-index: 1;
}

.booking {
    background: url('/img/orcamento.webp') no-repeat center center;
    background-size: cover;
    position: relative;
    padding: 80px 0; /* Ajuste o espaçamento conforme necessário */
}

.booking::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Deixa a imagem escurecida para melhor leitura */
    z-index: 1;
}

.booking .container {
    position: relative;
    z-index: 2;
}

/* Estilos para a seção de depoimentos */
.testimonial-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.testimonial {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centraliza o conteúdo verticalmente */
    align-items: center; /* Centraliza o conteúdo horizontalmente */
    text-align: center; /* Garante que o texto fique alinhado */
    width: 300px; /* Define um tamanho fixo para os quadrados */
    height: 300px; /* Mantém o formato quadrado */
    padding: 20px;
    background: #fff;
    border-radius: 10px; /* Borda arredondada opcional */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    margin: auto; /* Evita que ocupe a tela toda */
}



.testimonial:hover {
    transform: translateY(-5px);
}

.author-image {
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 50%;
    margin: 0 auto;
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial blockquote {
    font-style: italic;
    color: #555;
    font-size: 16px;
    line-height: 1.5;
    margin: 20px 0;
}



/* Estilos do carousel */
.js-carousel-2 .owl-stage-outer {
    padding: 20px 0;
}

.owl-carousel .owl-nav button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    font-size: 24px;
    color: #333;
}

.owl-carousel .owl-nav .owl-prev {
    left: -30px;
}

.owl-carousel .owl-nav .owl-next {
    right: -30px;
}

.owl-carousel .owl-dots {
    text-align: center;
    margin-top: 15px;
}

.owl-carousel .owl-dots .owl-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 5px;
    border-radius: 50%;
    background: #ccc;
    transition: background 0.3s;
}

.owl-carousel .owl-dots .owl-dot.active {
    background: #007bff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f9f9f9;
}

.testimonial-section {
    padding: 50px 20px;
    text-align: center;
    background-color: #fff;
}

.heading {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}

.owl-carousel .testimonial {
    background: #383737;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px #383737;
}

.testimonial img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 15px;
}

blockquote {
    font-size: 16px;
    font-style: italic;
    color: #fff;
    margin-bottom: 10px;
    flex-grow: 1; /* Faz o bloco expandir igualmente */
}


.bg-image {
    height: 300px;
    background-size: cover;
    background-position: center;
    position: relative;
}

.overlay {
    background-color: rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: #f9f9f9;
}

.testimonial-section {
    padding: 50px 20px;
    text-align: center;
    background-color: #fff;
}

.heading {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
}


.author-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin: 0 auto 15px;
}

blockquote {
    font-size: 16px;
    font-style: italic;
    color: #fff;
    margin-bottom: 10px;
}

.testimonial p {
    font-size: 14px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px; /* Garante espaçamento consistente */
    font-weight: bold;
}




/* Ajustes gerais para responsividade */
html {
    font-size: 100%;
}

body {
    overflow-x: hidden;
}

.container {
    max-width: 100%;
    padding: 0 15px;
}

/* Centralizar corretamente o texto inicial */
.carousel-caption {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 20px;
}

/* Melhorando o ajuste da navbar em telas menores */
@media (max-width: 991.98px) {
    .navbar-light .navbar-nav .nav-link {
        padding: 10px 15px;
        text-align: center;
    }
    .navbar-light .navbar-nav {
        border-top: 1px solid #000;
    }
    .navbar-brand img {
        max-width: 80%;
    }
}

/* Ajustando o header para dispositivos móveis */
@media (max-width: 768px) {
    #header-carousel .carousel-item {
        min-height: 380px;
    }
    .carousel-caption h1 {
        font-size: 2.7rem;
    }
}

/* Ajustes específicos para telas muito pequenas */
@media (max-width: 480px) {
    .carousel-caption h1 {
        font-size: 2.3rem;
    }
    .btn-whatsapp {
        font-size: 16px;
        padding: 8px 15px;
    }
    .floating-buttons a {
        width: 50px;
        height: 50px;
        font-size: 22px;
    }
}



/* Melhorando a seção de orçamento em telas pequenas */
.booking {
    padding: 50px 15px;
}

/* Tornando botões e elementos mais acessíveis */
.btn {
    padding: 10px 20px;
    font-size: 1rem;
    text-align: center;
}

@media (max-width: 600px) {
    .btn {
        display: flex; /* Habilita o Flexbox */
        justify-content: center; /* Centraliza os itens horizontalmente */
        /* E, se você tiver outros elementos, você pode usar 'align-items: center;' para vertical */
    }
}

/* ===========================
   SANCAR HERO (NOVA SESSÃO)
   =========================== */
.sancar-hero-wrap {
  width: 100%;
  margin-bottom: 3rem; /* substitui mb-5 */
}

/* Container carousel geral (mantém compatibilidade com bootstrap) */
.sancar-carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Inner e slide */
.sancar-carousel-inner {
  width: 100%;
}

.sancar-slide {
  width: 100%;
  display: block;
}

/* Fundo do hero controlado por CSS */
.sancar-hero-bg {
  position: relative;
  background-image: url('/img/banner.webp'); /* imagem desktop */
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  height: 650px; /* ajuste conforme preferir */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Overlay escuro para legibilidade */
.sancar-hero-bg::before {
  content: "";
  position: absolute;
  inset: 0; /* top:0; right:0; bottom:0; left:0; */
  background: rgba(0,0,0,0.45);
  z-index: 1;
}

/* Conteúdo do hero */
.sancar-hero-content {
  position: relative;
  z-index: 2;
  color: #ffffff;
  text-align: center;
  padding: 0 20px;
  max-width: 1100px; /* limita largura do texto */
}

/* Títulos */
.sancar-title {
  font-size: 3.2rem; /* similar ao display-3 */
  line-height: 1.02;
  margin-bottom: 0.75rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.5px;
}

/* Subtítulo (usando h2 pra hierarquia mas estilizado) */
.sancar-subtitle {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: #ffffff;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

/* Palavra em destaque (mantive amarelo FFEA00) */
.sancar-highlight {
  color: #FFEA00;
  font-weight: 700;
}

/* Hashtag / link Instagram */
.sancar-hashtag {
  margin-top: 10px;
  margin-bottom: 18px;
  font-size: 1rem;
}
.sancar-hashtag a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
}

/* Botão CTA (WhatsApp) */
.sancar-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: #ffea00; /* cor whatsapp padrão - se quiser manter a anterior troque aqui */
  color: #ffffff;
  padding: 12px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
}
.sancar-cta i { font-size: 1.15rem; }

/* Hover */
.sancar-cta:hover,
.sancar-cta:focus {
  transform: translateY(-2px);
  text-decoration: none;
  opacity: 0.95;
}

/* Responsividade: telas menores */
@media (max-width: 992px) {
  .sancar-hero-bg { height: 670px; }
  .sancar-title { font-size: 2.6rem; }
  .sancar-subtitle { font-size: 1.05rem; }
}

@media (max-width: 768px) {
  /* Troca a imagem para versão mobile — evite nomes com espaços */
  .sancar-hero-bg {
    background-image: url('/img/banner-mobile.webp'); /* imagem mobile */
    height: 620px;
    background-position: center top;
  }

  .sancar-title {
    font-size: 2.0rem;
    line-height: 1.05;
  }

  .sancar-subtitle {
    font-size: 0.98rem;
    padding: 0 10px;
  }

  .sancar-cta {
    padding: 10px 16px;
    font-size: 0.95rem;
  }
}

/* Pequenas correções para evitar conflito com classes bootstrap antigas */
.sancar-carousel .carousel-control-prev,
.sancar-carousel .carousel-control-next { display: none; }

