/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", Arial, sans-serif;
  }

  html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 80px; /* Ajuste conforme a altura do header */
}

  /* Fonte geral para textos */
body {
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
}

/* Títulos sofisticados */
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Ajuste para seções específicas */
.trabalhos h2,
.servicos h2,
.contato h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: #0d47a1;
}

.sobre {
  background-color: #1a1a1a; /* fundo cinza escuro sóbrio */
  color: #f5f5f5; /* texto quase branco */
  padding: 60px 20px;
  text-align: center;
  font-family: 'Georgia', serif; /* fonte clássica e séria */
  max-width: 900px;
  margin: 40px auto;
  border-radius: 8px;
}

.sobre h2 {
  font-family: 'Georgia', serif;
  font-weight: 600;
  font-size: 2.8rem;
  margin-bottom: 20px;
  color: #e9c999; /* dourado suave, para destaque discreto */
}

.sobre p {
  font-size: 1.2rem;
  line-height: 1.6;
  color: #ddd;
  max-width: 700px;
  margin: 0 auto;
}



/* Subtítulos dentro de cards/serviços */
.servico-item h3,
.card-contato h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

/* Botões mais sofisticados */
.hero .btn,
.whatsapp-button,
.card-contato {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  letter-spacing: 0.3px;
}

  
  .container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
  }

  header {
    background: #021b42; /* Azul escuro */
    color: #fff;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
  }
  
    /* Container Header */
.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    height: 60px;
    width: auto;
    border-radius: 3%;
}

 
  
 /* Menu padrão (desktop) */
nav {
  display: block; /* Sempre visível no desktop */
  position: static; /* Dentro do header */
  width: auto;
  background: none;
  backdrop-filter: none;
  border-radius: 0;
  overflow: visible;
  transition: none;
}

nav ul {
  display: flex; /* Itens na horizontal */
  flex-direction: row;
  gap: 20px; /* Espaço entre os links */
  margin: 0;
  padding: 0;
  list-style: none;
}

nav ul li {
  list-style: none;
  margin: 0;
  padding: 0;
  background: none; /* Sem fundo */
  border-radius: 0;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  padding: 10px 15px;
  display: block;
  transition: background 0.3s;
}

nav ul li a:hover {
  background: rgba(255, 255, 255, 0);
  border-radius: 5px;
}
  
  /* Botão menu hamburguer (escondido no desktop) */
.menu-toggle {
  display: none;
  cursor: pointer;
  font-size: 1.8rem;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  transition: background 0.3s;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.030);
}


  /* Botão WhatsApp fixo */
.whatsapp-button {
  position: fixed;
  bottom: 80px;
  right: 20px;
  background: #f1f3f1; /* Cor oficial WhatsApp */  
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  z-index: 9999;
  transition: 0.3s;
}

.whatsapp-button img {
  width: 40px;
  height: 40px;
  display: block;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}
  
  
 .hero {
    position: relative;
    height: 80vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    overflow: hidden;

    /* Imagem de fundo com overlay preto */
    background: 
      linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3)),
      url('img/predial.webp') center/cover no-repeat;
}

.hero.scrolled {
    background: 
      linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
      url('img/predial.PNG') center/cover no-repeat;
}

  
  /* Conteúdo centralizado */
  .hero-content {
    max-width: 700px;
    padding: 20px;
    animation: fadeInUp 1.2s ease forwards;
    opacity: 0;
  }

  .logo-box {
  background: rgba(255, 255, 255, 0.7); /* Fundo branco com transparência */
  padding: 2px;
  border-radius: 8px;
  display: inline-block;
  
  
}

  
  .hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
  }
  
  .hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: #f1f1f1;
  }
  
  /* Botão destaque */
  .hero .btn {
    background: #ff9800;
    color: #fff;
    padding: 15px 35px;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s;
  }
  
  .hero .btn:hover {
    background: #e68900;
  }

  @keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

  
  .trabalhos {
  padding: 60px 0;
  text-align: center;
  background: #fff;
}

.trabalhos h2 {
  margin-bottom: 30px;
  font-size: 2rem;
  color: #0d47a1;
}

/* Container do carrossel */
.carousel {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: auto;
  overflow: hidden;
}

/* Faixa de slides */
.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
  cursor: grab;
  user-select: none;
}

.carousel-track:active {
  cursor: grabbing;
}

/* Slide */
.carousel-track img {
  width: calc(100% / 3 - 10px); /* Desktop padrão */
  height: 300px;
  object-fit: cover;
  margin: 0 5px;
  border-radius: 8px;
  flex-shrink: 0;
}

/* Bolinhas */
.carousel-indicators {
  text-align: center;
  margin-top: 10px;
}

.carousel-indicators span {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background: #ccc;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.3s;
}

.carousel-indicators .active {
  background: #0d47a1;
}

 
  /* SOBRE */
  .sobre {
    background: #0d47a1; /* Azul escuro */
    color: white;
    padding: 60px 20px;
    text-align: center;
  }
  
  /* SERVIÇOS */
.servicos {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
}

.servicos h2 {
  color: #0d47a1;
  margin-bottom: 15px;
  font-size: 2rem;
}

.servicos p {
  margin-bottom: 40px;
  color: #555;
}

.servicos-lista {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.servico-item {
  background: #f5f5f5;
  padding: 25px;
  border-radius: 12px;
  transition: 0.3s;
}

.servico-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.servico-item i {
  font-size: 2rem;
  color: #ff9800;
  margin-bottom: 15px;
}

.servico-item h3 {
  color: #0d47a1;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.contato {
  background: #e0e0e0;
  padding: 60px 20px;
  text-align: center;
}

.contato h2 {
  color: #0d47a1;
  margin-bottom: 10px;
}

.contato p {
  color: #555;
  margin-bottom: 40px;
}

/* Cards de contato */
.contato-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 25px;
}

.card-contato {
  background: white;
  border-radius: 15px;
  padding: 30px 20px;
  text-decoration: none;
  color: #333;
  transition: 0.3s;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card-contato i {
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.card-contato h3 {
  margin-bottom: 8px;
  font-size: 1.2rem;
  color: #0d47a1;
}

.card-contato p {
  font-size: 0.95rem;
  color: #555;
}

/* Hover efeito */
.card-contato:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Cores dos ícones */
.whatsapp i {
  color: #25D366;
}
.instagram i {
  background: linear-gradient(45deg,#f58529,#dd2a7b,#8134af,#515bd4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.telefone i {
  color: #0d47a1;
}

footer {
  background: #021b42; /* Azul escuro */
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;
}

.footer-container {
  max-width: 800px;
  margin: 0 auto;
}

.footer-logo {
  max-width: 150px;
  margin-bottom: 1rem;
  border-radius: 12px; /* Bordas arredondadas */
  box-shadow: 0 4px 12px rgba(0,0,0,0.2); /* Sombra sutil */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.footer-address {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.footer-contact a {
  color: #25D366; /* Cor do WhatsApp */
  font-size: 1rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 0.8rem;
  transition: color 0.3s;
}

.footer-contact a:hover {
  color: #1da851;
}

.footer-copy {
  font-size: 0.85rem;
  color: #ccc;
  margin-top: 1rem;
}

  
  /* -------------------------
   RESPONSIVIDADE
------------------------- */

/* =========================
   1️⃣  DESKTOP / PADRÃO
========================= */
@media (min-width: 1025px) {
  /* Menu sempre visível no desktop */
  nav {
    display: block;
  }

  .menu-toggle {
    display: none; /* Não mostrar botão hamburguer */
  }

  .carousel-track img {
    width: 300px;
    height: 220px; /* Altura maior como você pediu */
  }
}

/* =========================
   2️⃣  TABLET (769px a 1024px)
========================= */
@media (max-width: 1024px) and (min-width: 769px) {
  .menu-toggle {
    display: none; /* Não mostrar botão hamburguer */
  }

  nav {
    display: block;
  }

  /* Carousel: 2 slides visíveis */
  .carousel-track img {
    width: calc(50% - 10px);
    height: 200px;
  }
}

/* =========================
   3️⃣  CELULAR (até 768px)
========================= */
@media (max-width: 768px) {

  section {
    scroll-margin-top: 60px;
  }

   header {
        padding: 0.5rem 0; /* Reduz altura */
    }

    .logo {
        height: 45px; /* Reduz tamanho da logo no mobile */
    }


  /* Mostra botão hamburguer no celular */
  .menu-toggle {
    display: block;
    font-size: 2rem;
    cursor: pointer;
  }

  /* Esconde menu padrão */
 nav {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    width: 220px;
    border-radius: 0 0 0 15px;

    /* Fundo semi-transparente com efeito vidro */
    background: rgba(2, 28, 67, 0.731);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    /* Animação de entrada */
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
  }

  nav.active {
    display: block;
    opacity: 10;
    transform: translateY(0);
  }

  nav ul {
    display: flex;
    flex-direction: column;
    text-align: right;
    padding: 5px;
  }

  nav ul li {
    margin: 0;
    padding:3px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.089);
    transition: background 0.3s;
  }

  nav ul li:hover {
    background: rgba(255, 255, 255, 0.15);
  }


  /* Hero menor em celular */
  .hero h2 {
    font-size: 1.8rem;
  }

  .hero p {
    font-size: 1rem;
  }

  /* Carousel: 1 slide por vez */
  .carousel-track img {
    width: 100%;
    height: 300px;
    margin: 0 2px;
  }
}

