/* ========================= */
/* RESET BÁSICO */
/* ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Georgia', serif;
  background: url('images/1.jpg') no-repeat center center/cover;
  background-color: #0e0b0a;
  min-height: 100vh;
  color: #d8c1ba;
  line-height: 1.5;
  position: relative;
  z-index: 0;
}

/* Overlay escuro */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: -1;
}

/* ========================= */
/* SEÇÕES GERAIS */
/* ========================= */
section {
  display: block;
  width: 100%;
  padding: 80px 5%;
  margin: 0 auto;
}

/* Classe utilitária para fundo escuro */
.dark-section {
  background-color: #0e0b0a;
  color: #d8c1ba;
}

/* Containers padrão */
.sobre-container,
.responsavel-container,
.servicos-container,
.tecnologia-container,
.eletrica-container,
.diversas-container,
.cta-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

/* ========================= */
/* NAVBAR */
/* ========================= */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 5%;
  display: flex;
  justify-content: center;
  transition: background 0.3s, box-shadow 0.3s;
  z-index: 1000;
  background: transparent;
}

.navbar.scrolled {
  background: #1a1615;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.nav-container {
  max-width: 1200px;
  width: 100%;
  display: flex;
  justify-content: center; /* Centraliza os links */
  align-items: center;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex: 1;
}

.nav-links a {
  color: #d8c1ba;
  text-decoration: none;
  font-weight: 200;
  transition: color 0.3s, border-bottom 0.3s;
  padding: 5px;
}

.nav-links a:hover {
  color: #fff;
  border-bottom: 2px solid #fff;
}

/* Menu hambúrguer (mobile) */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.menu-toggle span {
  width: 25px;
  height: 3px;
  background: #d8c1ba;
  border-radius: 3px;
}

/* ========================= */
/* HERO */
/* ========================= */
.hero {
  position: relative;
  width: 100%;
  height: 100vh; /* ocupa tela cheia */
  background: url('images/1.jpg') no-repeat center center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* Seção esquerda do Hero */
.left-section {
  flex: 1;
}

.logo-img {
  max-width: 400px;
  margin-bottom: 40px;
}

.subtitle {
  font-size: 20px;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.text {
  font-size: 40px;
  line-height: 1.6;
  text-align: center;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8); /* sombra preta suave */
}

/* Seção direita do Hero */
.right-section {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.btn {
  display: inline-block;
  text-align: center;
  padding: 15px 25px;
  border: 1px solid #d8c1ba;
  border-radius: 40px;
  background: rgba(0,0,0,0.4);
  color: #d8c1ba;
  text-decoration: none;
  font-size: 18px;
  transition: all 0.3s ease;
}

.btn:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
  transform: scale(1.05);
}

.btn:active {
  transform: scale(0.95);
  background: rgba(255,255,255,0.2);
}

/* ========================= */
/* SOBRE */
/* ========================= */
.sobre {
  background-color: #0e0b0a;
  color: #d8c1ba;
  padding: 80px 5%;
}

.sobre-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.sobre-texto {
  flex: 1;
  order: 1; /* texto sempre à esquerda */
}

.sobre-texto h1 {
  font-size: 28px;
  margin-bottom: 20px;
}

.sobre-texto p {
  margin-bottom: 15px;
  font-size: 18px;
  line-height: 1.6;
}

.sobre-imagem {
  flex: 1;
  order: 2; /* imagem sempre à direita */
  display: flex;
  justify-content: center;
}

.sobre-imagem img {
  max-width: 100%;
  border-radius: 20px;
  object-fit: cover;
  max-height: 500px;
}
/* ========================= */
/* RESPONSAVEL */
/* ========================= */
.responsavel {
  background-color: #0e0b0a;
  color: #d8c1ba;
  padding: 80px 5%;
}

.responsavel-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.responsavel-texto {
  flex: 1;
  order: 2; 
}

.responsavel-texto h1 {
  font-size: 28px;
  margin-bottom: 20px;
}

.responsavel-texto p {
  margin-bottom: 15px;
  font-size: 18px;
  line-height: 1.6;
}

.responsavel-imagem {
  flex: 1;
  order: 1; 
  display: flex;
  justify-content: center;
}

.responsavel-imagem img {
  max-width: 100%;
  border-radius: 20px;
  object-fit: cover;
   max-height: 500px;
}
/* ========================= */
/* servicos */
/* ========================= */
.servicos {
  background-color: #0e0b0a;
  color: #d8c1ba;
  padding: 80px 5%;
}

.servicos-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.servicos-texto {
  flex: 1;
  order: 2; 
}

.servicos-texto h1 {
  font-size: 28px;
  margin-bottom: 20px;
}

.servicos-texto p {
  margin-bottom: 15px;
  font-size: 18px;
  line-height: 1.6;
}

.servicos-imagem {
  flex: 1;
  order: 1; 
  display: flex;
  justify-content: center;
}

.servicos-imagem img {
  max-width: 100%;
  border-radius: 20px;
  object-fit: cover;
   max-height: 500px;
}
/* ========================= */
/* GRID DE IMAGENS */
/* ========================= */
.tecnologia-imagens,
.eletrica-imagens,
.diversas-imagens {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.tecnologia-imagens img,
.eletrica-imagens img,
.diversas-imagens img {
  width: 100%;
  border-radius: 20px;
  object-fit: cover;
}

/* ========================= */
/* RESPONSIVIDADE */
/* ========================= */

/* Navbar e menu */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }
  .nav-container {
    justify-content: space-between; /* volta o botão hambúrguer p/ direita */
  }
  .nav-links {
    position: absolute;
    top: 60px;
    right: 5%;
    background: #1a1615;
    flex-direction: column;
    gap: 15px;
    padding: 20px;
    border-radius: 10px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  .nav-links.active {
    max-height: 300px;
  }
}

/* Hero */
@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  .logo-img {
    max-width: 300px;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .logo-img {
    max-width: 220px;
  }
  .text {
    font-size: 18px;
  }
  .btn {
    font-size: 16px;
    padding: 12px 20px;
  }
  .sobre-texto h1 {
    font-size: 24px;
  }
  .sobre-texto p {
    font-size: 16px;
  }
  .sobre-imagem img {
    max-width: 90%;
  }
}
.sobre,
.responsavel,
.servicos,
.tecnologia,
.eletrica,
.diversas,
.cta,
.footer {
  background-color: #0e0b0a;
  color: #d8c1ba;
}
/* ========================= */
/* TECNOLOGIA, ELÉTRICA E INSTALAÇÕES */
/* ========================= */
.tecnologia,
.eletrica,
.diversas {
background-color: #0e0b0a;
color: #d8c1ba;
padding: 80px 5%;
text-align: center;
}


.tecnologia-title,
.eletrica-title,
.diversas-title {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
text-align: center;
width: 100%;
margin-bottom: 40px;
}


.tecnologia-title h1,
.eletrica-title h1,
.diversas-title h1 {
font-size: 32px;
color: #fff;
}


.tecnologia-cards,
.eletrica-cards,
.diversas-cards {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: 30px;
max-width: 1200px;
margin: 0 auto;
}


.card {
background: #1a1615;
border-radius: 20px;
padding: 20px;
text-align: center;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
transition: transform 0.3s ease;
display: flex;
flex-direction: column;
justify-content: space-between;
}


.card:hover {
transform: translateY(-5px);
}


.card h3 {
font-size: 20px;
margin-bottom: 10px;
color: #ebebeb;
}


.card p {
font-size: 16px;
line-height: 1.5;
margin-bottom: 15px;
}


.card img {
width: 100%;
height: 200px;
object-fit: cover;
border-radius: 15px;
}

/*------- CTA -----*/


.cta {
  background-color: #0e0b0a;
  color: #d8c1ba;
  padding: 80px 5%;
}

.cta-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.cta-texto {
  flex: 1;
  order: 1; 
}

.cta-texto h1 {
  font-size: 28px;
  margin-bottom: 20px;
  text-align: center;
}

.cta-texto em {
  margin-bottom: 15px;
  font-size: 32px;
  line-height: 1.6;
  text-align: center;
  text-decoration: underline;
}
.cta-imagem {
  flex: 1;
  order: 2; /* imagem sempre à direita */
  display: flex;
  justify-content: center;
}
.footer-modern {
  background: #1a1615;
  color: #d8c1ba;
  padding: 60px 5%;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.footer-column {
  padding: 0 20px;
}

/* Barra entre colunas */
.footer-column:not(:first-child) {
  border-left: 3px solid #444; /* cor da barra */
}

.footer-column h4 {
  font-size: 18px;
  margin-bottom: 15px;
  color: #fff;
}

.footer-column p, 
.footer-column a {
  font-size: 16px;
  color: #d8c1ba;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  margin-top: 40px;
  font-size: 14px;
  color: #aaa;
}

@media (max-width: 600px) {
  .footer-modern {
    padding: 40px 5%;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  /* Remove barras no mobile */
  .footer-column:not(:first-child) {
    border-left: none;
  }
}

