/* ===== NAVBAR ===== */
.logo { max-width: 50%; height: auto; }
.navbar { padding:.5em; background: url(img/vfixlar.png) center center; box-shadow: 0 14px 14px -14px rgba(0,0,0,.75); }
.sticky { position: sticky; top: 0; z-index: 1; }
.hidden { display: none; }
.nav__items { list-style: none; margin: 0; padding: 0; }
.nav__link { color: #eee; text-decoration: none; }
.nav__items .nav__link:hover { color: rgb(252,41,74); }

@media (min-width: 800px) {
  .navbar { display: flex; justify-content: space-between; align-items: center; }
  .nav { display: flex !important; }
  .nav__items { display: flex; flex-direction: row; gap: 20px; }
  .nav__items .nav__link { font-size: 1rem; }
}
@media (max-width: 799px) {
  .nav__items {
    flex-direction: column; text-align: center;
    background: rgb(249,178,51);
    position: fixed; top: 0; left: -100%; width: 100%; height: 100%;
    justify-content: center; transition: left .3s ease;
  }
  #nav:checked ~ .nav .nav__items { left: 0; }
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #f5f5f5;
  color: #333;
}
header {
  position: relative;
  text-align: center;
  color: #fff;
}
header img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  filter: brightness(0.6);
}
header .overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}
header h1 {
  margin: 0;
  font-size: 1.6rem;
}
header p {
  margin-top: 0.5rem;
  font-size: 1rem;
}

section {
  max-width: 900px;
  margin: 1rem auto;
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
section h2 {
  color: #004466;
  margin-top: 0;
  font-size: 1.2rem;
}
.img-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1rem 0;
}
.img-block img {
  width: 100%;
  border-radius: 8px;
  object-fit: cover;
}

.cta {
  text-align: center;
  margin-top: 1.5rem;
}
.cta a {
  background: #ff6600;
  color: #fff;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s;
  display: inline-block;
}
.cta a:hover {
  background: #e65c00;
}

/* Botão flutuante (WhatsApp ou contato) */
.btn-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #25d366;
  color: #fff;
  font-size: 1.2rem;
  padding: 14px 18px;
  border-radius: 50%;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  z-index: 1000;
  transition: transform 0.2s ease-in-out;
}
.btn-float:hover {
  transform: scale(1.1);
  background: #1ebe5d;
}

/* Desktop ajustes */
@media (min-width: 768px) {
  header img {
    height: 320px;
  }
  header h1 {
    font-size: 2rem;
  }
  header p {
    font-size: 1.2rem;
  }
  .img-block {
    flex-direction: row;
  }
  .img-block img {
    width: 32%;
  }
}

/* Mobile-first */
.empresa-info {
  margin: 15px 0;
  padding: 12px;
  background: #f5f5f5;
  border-radius: 8px;
  font-size: 16px;
}

.empresa-info p {
  margin: 6px 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.empresa-info .icon {
  display: inline-block;
  width: 25px;
  text-align: center;
  margin-right: 8px;
  font-size: 18px;
}

.empresa-info a {
  color: #007BFF;
  text-decoration: none;
}

.empresa-info a:hover {
  text-decoration: underline;
}

/* Desktop: colocar os três itens em linha */
@media (min-width: 1024px) {
  .empresa-info {
    display: flex;
    justify-content: space-between;
    font-size: 18px;
    padding: 20px;
  }

  .empresa-info p {
    margin: 0;
    flex: 1;
  }

  .empresa-info .icon {
    width: 30px;
    margin-right: 10px;
    font-size: 20px;
  }
}


.logos-lab {
  display: flex;
  gap: 20px;
  overflow-x: auto;        /* permite scroll horizontal no mobile */
  scroll-snap-type: x mandatory; /* "trava" cada imagem ao fazer scroll */
  padding-bottom: 10px;
}

/* Cada imagem */
.logos-lab img {
  flex: 0 0 auto;          /* impede encolher */
  height: 200px;           /* define altura fixa */
  width: auto;             /* largura proporcional */
  border-radius: 5px;
  scroll-snap-align: start; /* alinhamento no scroll snap */
}

/* Desktop */
@media(min-width: 768px) {
  .logos-lab {
    justify-content: center;
    overflow-x: visible;   /* remove scroll horizontal */
  }
  .logos-lab img {
    height: auto;
    max-height: 250px;
  }
}