/* Reset básico */
/* Reset e base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(to right, #e6ecf0, #f4f4f4);
  color: #333;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

  /* Header e Menu */
  #header {

    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 80px;
    background: #f5f5f5;
    z-index: 999;
    position: sticky;
    top: 0;
    left: 0;
  }
  #header img{
    width: 200px;  /* Define a largura do container */
    height: auto; /* Define a altura do container */
  }

  #navbar{
    display: flex;
    align-items: center;
    justify-content: center;
  }
  #navbar li{
    list-style: none;
    padding: 0 20px;
    position: relative;
  }
  #navbar li a {
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    transition: 0.3s ease;
  }
  #navbar li a:hover,
  #navbar li a.active {
    color:  #007BFF;
  }
  #navbar li a.active::after,
  #navbar li a:hover::after{
    content: "";
    width: 30%;
    height: 2px;
    background: #007BFF;
    position: absolute;
    bottom: -4px;
    left: 20px;
  }

  #mobile {
    display: none;
    align-items: center;
  }
  #close{
    display: none;
  }
  #lg-bag {
    display: none;
  }
  /* Intro */
.intro {
  padding: 60px 0;
  text-align: center;
}

.intro h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.card {
  flex: 1;
  min-width: 250px;
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card i {
  font-size: 36px;
  color: #007BFF;
  margin-bottom: 20px;
}

#hero {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80vh;
  padding: 20px;
  background-color: #f5f5f5;
}
.hero-content {
  display: flex;
  align-items: center;
  gap: 50px;
}

.text-box {
  font-size: 3vh;
  max-width: 380px;
}
.h5_normal{
  background-color:  #007BFF;
  color: white;
  padding: 10px 10px;
  border-radius: 5px;
  display: inline-block;
}

.contact-form {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  width: 350px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#hero .contact-form h2{
  font-size: 20px;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.form-status {
  margin-top: 10px;
  font-size: 1rem;
  font-weight: 600;
}


#popup {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease-in-out;
}
.popup-content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
  max-width: 400px;
  width: 80%;
  transform: scale(0.8);
  animation: scaleUp 0.3s ease-in-out forwards;
}
.popup-content h3 {
  margin: 0 0 15px;
}
.popup-content button {
  background:  #007BFF;
  color: #ffbd27;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background 0.3s;
}
.popup-content button:hover {
  background: #00aeff;
}
.loading {
  display: none;
  width: 24px;
  height: 24px;
  border: 3px solid #fff;
  border-top: 3px solid  #007BFF;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: auto;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleUp {
  from { transform: scale(0.8); }
  to { transform: scale(1); }
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/* Seção Contato Simples */
.contact-section {
  background-color: #fff;
  padding: 60px 0;
  text-align: center;
}

.contact-section h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 30px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 1.1rem;
  color: #333;
}

.contact-info-item i {
  font-size: 1.5rem;
  color: #007BFF;
}

  /* PARTE DO LOGIN E PARTE PRINCIPAL */
#hero .normal {
  background-color: #007BFF;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
}
#hero h4{
  padding-bottom: 15px;
}
#hero h1{
  color:  #007BFF;
}


#mensagem-status {
  margin-top: 10px;
  font-size: 0.95rem;
  color: green;
}

/* CARROSEL */
/** Seção de Carrossel de Impressoras */
.carousel-section {
  background: #fff;
  padding: 60px 0;
  text-align: center;
}

.carousel-section h2 {
  font-size: 2.5rem;
  margin-bottom: 40px;
}

.carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 20px;
  scroll-behavior: smooth;
}

.carousel::-webkit-scrollbar {
  height: 10px;
}

.carousel::-webkit-scrollbar-thumb {
  background: #007BFF;
  border-radius: 5px;
}

.carousel-item {
  flex: 0 0 auto;
  width: 280px;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  scroll-snap-align: start;
  transition: transform 0.3s ease;
}

.carousel-item:hover {
  transform: translateY(-5px);
}

.carousel-item img {
    width: 60%; /* reduz o tamanho da imagem */
    max-height: 150px; /* limita a altura */
    object-fit: contain; /* evita distorções */
    margin: 0 auto; /* centraliza */
    display: block;
    border-radius: 10px 10px 0 0;  
}

.carousel-item .info {
  padding: 15px;
  text-align: left;
}

.carousel-item .info h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.carousel-item .info p {
  font-size: 0.95rem;
  color: #666;
}
/* Esconde botão em telas grandes */
.toggle-view-btn {
  display: none;
}
/*POP UP DE SOLICITAÇAO DE INFORMAÇOES*/
.popup-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-box {
  background: white;
  padding: 30px 40px;
  border-radius: 10px;
  max-width: 400px;
  width: 90%;
  position: relative;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  text-align: center;

  /* Habilita rolagem interna */
  max-height: 90vh;
  overflow-y: auto;
}

.popup-box h2 {
  margin-bottom: 20px;
  color: #007BFF;
}

.popup-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.popup-form input {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.popup-form button {
  background-color: #007BFF;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.popup-form button:hover {
  background-color: #005ec4;
}

.close-popup {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 22px;
  color: #555;
  background: none;
  border: none;
  cursor: pointer;
}
.produto-info {
  margin-bottom: 20px;
  text-align: left;
}

.produto-info h3 {
  font-size: 1.3rem;
  color: #222;
  margin-bottom: 5px;
}

.produto-info p {
  font-size: 0.95rem;
  color: #666;
}
.produto-info button{
  background-color: #007BFF;
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 5px;
}
.detalhes-tabela{
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  color: #333;
  margin-top: 10px;
}

.detalhes-tabela td{
  padding: 6px 10px;
  border: 1px solid #ddd;
}

.detalhes-tabela td:first-child{
  font-weight: bold;
  background-color:#f0f0f0;
  width:45%;
}



.quem-somos-section {
  background-color: #fff;
  padding: 60px 0;
}

.quem-somos-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.quem-somos-texto {
  flex: 1;
  min-width: 300px;
}

.quem-somos-texto h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: #007BFF;
}

.quem-somos-texto p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.6;
}

.quem-somos-imagem {
  flex: 1;
  min-width: 300px;
  text-align: center;
}

.quem-somos-imagem img {
  width: 100%;
  max-width: 500px;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Rodapé */
.footer {
  background-color: #222;
  color: white;
  text-align: center;
  padding: 30px 0;
  margin-top: 60px;
}



  /* Responsividade */
  @media (max-width: 768px) {

    .header{
      position: fixed;
    }
    #navbar{
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      justify-content: flex-start;
      position: fixed;
      top: 0;
      right: -300px;
      height: 100vh;
      width: 300px;
      background-color: #E3E6F6;
      box-shadow:0 40px 60px rgba(0, 0, 0, 0.1) ;
      padding: 80px 0 0 10px;
      transition: 0.3s;
    }
    #navbar.active{
      right: 0px;
    }
    #navbar li{
      margin-bottom: 25px;
    }

    #mobile{
      display: flex;
      align-items: center;
    }
    #mobile i{
      color: #1a1a1a;
      font-size: 24px;
      padding-left: 20px;
    }
    #close{
      display: inline;
      position: absolute;
      top: 30px;
      left: 30px;
      color: #222;
      font-size: 24px;
    }
    #lg-bag{
      display: none;
    }
  form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 500px;
    margin: auto;
  }

  input, textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
  }
  .hero {
    height: 70vh; 
    background-position: top 30% right 30%;
    padding: 0 80px;
    flex-wrap: wrap;
   
  }
  #hero .hero-content{
    display: flex;
    justify-content: space-between;
    padding-top: 20px;
    flex-wrap: wrap; 
    align-items: center;
    justify-content: center;
  }


  .toggleView {
    padding: 14px;
    background-color: #be6868;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    align-items: flex-end;
  }

  .footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 30px 0;
    margin-top: 60px;
  }
  .toggle-view-btn {
    display: inline-block;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 1.5rem;
    color: #007BFF;
    margin-bottom: 20px;
  }

  .carousel.vertical {
    flex-direction: column;
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 500px;
    align-items: center;
  }

  .carousel.vertical::-webkit-scrollbar {
    height: 0;
    width: 0;
  }

  .carousel-item img{
    width: 80%;
    margin: 0 auto;
    display: block;
    max-height: 180px;
    object-fit: contain;
    border-top-right-radius: 10px;
    border-top-left-radius: 10px;
  }
}