/* Reset básico */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: Arial, sans-serif;
  color: #fff;
  background: none;
}

/* Cabeçalho fixo */
.header {
  background-color: #000;
  padding: 0.5rem 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  color: #fff;
}

.header .container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex; justify-content: space-between; align-items: center;
}

.logo-img {
  height: 60px; width: auto;
  filter: drop-shadow(2px 2px 5px rgba(0,0,0,0.4));
  transition: transform 0.3s ease;
}
.logo-img:hover { transform: scale(1.05); }

/* Menu */
.nav-list { list-style: none; display: flex; gap: 1.5rem; }
.nav-list li a {
  color: #fff; text-decoration: none;
  padding: 0.5rem 1rem; border-radius: 4px; font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
}
.nav-list li a:hover, .nav-list li a:focus {
  background-color: #000; color: #fff;
}

.menu-toggle {
  display: none; background: none; border: none;
  color: #fff; font-size: 2.2rem; cursor: pointer;
  order: 2;
}

/* Main e fundo slideshow */
.main-content {
  position: relative;
  margin-top: 90px;
}

.bg-slideshow {
  position: absolute; inset: 0; z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
.bg-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; background-repeat: no-repeat;
  opacity: 0; transition: opacity 1.2s ease-in-out;
  transform: scale(1.02);
}
.bg-slide.active { opacity: 1; }

/* Seções */
.section {
  position: relative; z-index: 1;
  padding: 3rem 1rem;
  background: rgba(0,0,0,0.5);
  border-radius: 8px;
  margin: 1rem auto;
  max-width: 1100px;
}

h2 { margin-bottom: 1rem; color: #fff; }

/* Grid dos serviços */
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.card {
  border-radius: 8px; overflow: hidden; position: relative; height: 250px;
}
.card-bg {
  background-size: cover; background-position: center; display: flex; align-items: flex-end;
}
.card-overlay {
  background: rgba(0,0,0,0.6); color: #fff; padding: 1rem; width: 100%; height: 100%;
  transition: background 0.3s ease;
}
.card-overlay h3 { margin-bottom: 0.5rem; }
.card-overlay ul { margin-left: 1rem; }
.card-overlay li { margin-bottom: 0.4rem; }
.card:hover .card-overlay { background: rgba(0,0,0,0.8); }

/* Contato */
.contato-list { list-style: none; padding-left: 0; font-size: 1.1rem; color: #fff; }
.contato-list li { margin-bottom: 0.8rem; }
.contato-list a {
  color: #fff; text-decoration: underline; font-weight: 600;
}
.contato-list a:hover, .contato-list a:focus { color: #ffd700; }

/* Empresa info centralizada (SEDE e CNPJ) */
.empresa-info {
  text-align: center;
  margin-top: 1.5rem;
  color: #fff;
  font-size: 0.95rem;
}

/* Rodapé */
.footer {
  background-color: #000;
  color: #fff; text-align: center; padding: 1rem 0; margin-top: 2rem;
}

/* Responsividade */
@media (max-width: 1024px) { .grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 768px) {
  .grid { grid-template-columns: 1fr; }
  .menu-toggle { display: block; }
  .header .container { justify-content: space-between; }

  /* Menu mobile com transição suave */
  .nav-list {
    flex-direction: column; background-color: #000;
    position: fixed; top: 60px; right: 0; width: 75%; height: calc(100vh - 60px);
    padding-top: 2rem; z-index: 1200; overflow-y: auto;
    box-shadow: -2px 0 5px rgba(0,0,0,0.15);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }
  .nav-list.show { transform: translateX(0); }
  body.menu-open { overflow: hidden; }

  .nav-list li a { font-size: 1.2rem; padding: 1rem; }
  .logo-img { height: 50px; }
}
