/* ==============================
   Variáveis Globais
   ============================== */
   :root {
    --primary-color: #ca3b40 !important;
    --secondary-color: #0c0c0c !important;
    --text-color: #555 !important;
    --hover-color: #ddd !important;
    --white: #fff !important;
    --black: #000 !important;
    --transition-speed: 0.3s ease !important;
}

/* ==============================
   Estilos Gerais
   ============================== */
body {
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    line-height: 26px;
    color: var(--text-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.uppercase {
    text-transform: uppercase;
}

/* ==============================
   Botões e Links
   ============================== */
.btn-danger,
.text-danger,
.border-danger {
    color: var(--primary-color);
}

.bg-danger {
    background: var(--primary-color);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--primary-color);
}

/* ==============================
   Navbar
   ============================== */
nav .nav-item {
    color: var(--white);
    list-style-type: none;
}

.navbar-collapse>.nav-item {
    font-weight: bold;
}

nav .menu-item a {
    text-transform: uppercase;
    font-weight: bold;
    color: var(--white);
    padding: 0 10px;
    display: inline-block;
}

nav .menu-item a:hover {
    color: var(--primary-color);
}

/* ==============================
   Footer
   ============================== */
.footer-column-title {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

footer a {
    color: var(--hover-color);
    font-size: 14px;
    font-weight: bold;
}

footer a:hover {
    color: var(--black);
}

.footer-social-icons a {
    color: var(--hover-color);
    font-size: 1.5rem;
    transition: color var(--transition-speed);
}

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

footer li {
    list-style: none;
}

.menu-footer-menu {
    display: inline-block;
}

footer .menu-item a {
    padding: 0 10px;
    display: inline-block;
}

/* ==============================
   Section
   ============================== */
section a {
    color: var(--text-color);
    font-weight: normal;
}

section a:hover {
    color: var(--primary-color);
    font-weight: bold;
    letter-spacing: -0.025rem;
}

.search-block {
    margin-left: 15px;
}

.search-field {
    padding: 0;
}

.search-close {
    top: 0;
    right: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 21px;
    color: var(--primary-color);
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}
/* ==============================
   Banner
   ============================== */
   .slides-container {
    display: flex;
    height: 550px;
    width: 100%; /* corrigido: antes era 100vw */
    overflow-x: hidden;
    overflow-y: hidden;
    scroll-behavior: smooth;
    touch-action: pan-y;
    margin: 0;
    padding: 0;
    position: relative;
    top: 0;
  }
  
  /* Cada slide ocupa 100% da largura da viewport */
  .slide {
    height: 550px;
    width: 100%; /* corrigido */
    min-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* alinha o conteúdo no topo */
    align-items: center;
    flex-shrink: 0;
    position: relative;
    gap: 1rem;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover; /* preenche toda a área corretamente */
    margin: 0;
    padding-top: 6rem; /* ajusta conforme altura do menu fixo (ou 0 se não for fixo) */
  }
  
  /* Textos animados */
  .slide h1,
  .slide h2,
  .slide p {
    position: relative;
    opacity: 0;
    pointer-events: none;
    width: 100%;
    text-align: center;
    margin: 0;
    color: white;
  }
  
  .slide h1 {
    transform: translateY(-100px);
    margin-bottom: 0.5rem;
    font-size: 3em;
    font-weight: 700;
    text-transform: uppercase;
  }
  
  .slide h2 {
    transform: translateX(100px);
    margin-bottom: 0.5rem;
    font-size: 2em;
    font-weight: 400;
    text-transform: uppercase;
  }
  
  .slide p {
    transform: translateY(50px);
    max-width: 600px;
    padding: 0 20px;
    font-size: 1.2em;
    font-weight: 400;
  }
  
  /* ==============================
     Navegação e setas
     ============================== */
  .navigation {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
  }
  
  .arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    font-size: 2rem;
    color: var(--white);
    background-color: transparent;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color var(--transition-speed);
  }
  
  .arrow.left { left: 20px; }
  .arrow.right { right: 20px; }
  
  .arrow:hover {
    background-color: rgba(0, 0, 0, 0.6);
  }
  
  .bullet {
    width: 15px;
    height: 5px;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    transition: background-color var(--transition-speed);
  }
  
  .bullet.active {
    background-color: rgba(255, 255, 255, 1);
  }
  
  /* ==============================
     Responsividade
     ============================== */
  @media (max-width: 992px) {
    .slides-container,
    .slide {
      height: 400px;
    }
    .slide h1 { font-size: 2em; }
    .slide h2 { font-size: 1.5em; }
    .slide p  { font-size: 1em; }
  }
  
  @media (max-width: 576px) {
    .slides-container,
    .slide {
      height: 350px;
    }
    .slide h1 { font-size: 1.6em; }
    .slide h2 { font-size: 1.2em; }
    .slide p  { font-size: 0.9em; }
  }
  
  /* ==============================
     Fontes e Botões
     ============================== */
  .slide {
    font-family: 'Roboto', sans-serif;
  }
  
  .slide button {
    font-family: 'Roboto', sans-serif;
    font-size: 1em;
    font-weight: 700;
    padding: 10px 20px;
    background-color: red;
    color: white;
    border: none;
    cursor: pointer;
  }
  
  .slide button:hover {
    background-color: darkred;
  }
  
  /* ==============================
     Ajustes gerais
     ============================== */
  html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* previne deslocamento horizontal */
    background-color: #000; /* remove flashes brancos no redimensionamento */
  }
  
  * {
    z-index: 1;
  }

/* ==============================
   Botão de Orçamento
   ============================== */
.btn-orcamento {
    background-color: var(--primary-color) !important;
    color: var(--white) !important;
    border-radius: 5px !important;
    padding: 10px 20px !important;
    transition: all var(--transition-speed) !important;
}

.btn-orcamento:hover {
    background-color: var(--secondary-color) !important;
    color: var(--primary-color) !important;
    transform: scale(1.05) !important;
}