@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;500;700&display=swap');

/* GERAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: 'Poppins', sans-serif;
}

body {
  background: #f4f4f4;
  color: #333;
}

html {
  scroll-behavior: smooth;
}

/* HEADER */
.header {
  background: #fff;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
}

.logo img {
  height: 40px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
}

.menu-toggle {
  display: none;
  font-size: 28px;
  cursor: pointer;
  color: #333;
}

.navbar {
  display: flex;
  align-items: center;
  gap: 24px;
}

.navbar a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar a:hover,
.navbar a.active {
  color: #ff8c00;
  font-weight: 700;
}

/* HERO */
.hero {
  padding-top: 110px;
  padding-bottom: 140px;
  text-align: center;
  background: linear-gradient(to right, #ff8c00, #e55e00);
  color: white;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 30px;
  font-weight: 300;
}

.btn {
  background: #fff;
  color: #ff8c00;
  padding: 12px 30px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
}

.btn:hover {
  background: #000;
  color: #fff;
}

/* SECTIONS GERAIS */
section {
  padding: 80px 20px;
}

.container {
  max-width: 1000px;
  margin: auto;
}

h2 {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: #e55e00;
}

/* SOBRE */
.about-section {
  background: #fff;
}

.about-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  text-align: center;
}

/* PROJETOS */
.project-section {
  background: #f9f9f9;
}

.project-gallery {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.project-card {
  flex: 0 0 auto;
  background: none;
  box-shadow: none;
  padding: 0;
  max-width: none;
  border-radius: 0;
}

.project-card img {
  display: block;
  width: auto;
  height: auto;
  max-height: 500px;
  transition: transform 0.3s ease;
  border-radius: 8px;
}

.project-card img:hover {
  transform: scale(1.05);
}

/* AVALIAÇÕES */
.review-section {
  background: #fff;
}

.review {
  background: #fff;
  padding: 20px;
  border-left: 5px solid #ff8c00;
  margin-bottom: 20px;
  border-radius: 5px;
}

.stars {
  color: #ff8c00;
}

/* ENDEREÇO */
.address-section {
  background: #f9f9f9;
}

.address-section p {
  text-align: center;
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.map {
  max-width: 100%;
  overflow: hidden;
  border-radius: 10px;
}

/* CONTATO / WHATSAPP */
.contact-section {
  background: #fff;
  padding: 60px 20px;
  text-align: center;
}

.whatsapp-btn {
  display: inline-block;
  background-color: #25d366;
  color: white;
  padding: 14px 24px;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  text-decoration: none;
  transition: transform 0.3s ease;
  animation: pulse 1.6s infinite;
}

.whatsapp-btn:hover {
  background-color: #1ebe57;
  transform: scale(1.05);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* BOTÃO WHATSAPP FLUTUANTE */
.floating-whatsapp {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;   /* tamanho do botão */
  height: 60px;
  border-radius: 50%;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25d366; /* fundo verde */
  animation: pulse 1.6s infinite;
}

.floating-whatsapp img {
  width: 32px;
  height: 32px;
}

/* FOOTER */
footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 40px 20px 20px;
  margin-top: 80px;
}

footer .footer-logo img {
  height: 50px;
  margin-bottom: 10px;
}

footer p {
  font-size: 14px;
  margin: 5px 0;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .navbar {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background-color: #fff;
    padding: 20px 0;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
  }

  .navbar.active {
    display: flex;
  }

  .navbar a {
    padding: 12px 20px;
    width: 100%;
    font-size: 16px;
    border-bottom: 1px solid #eee;
  }

  .nav-container {
    flex-direction: row;
    justify-content: space-between;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .project-card img {
    max-width: 100%;
    height: auto;
  }

  footer {
    padding: 30px 10px;
  }
}

/* CHAT SIMULADOR */
.cotacao-modal {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.6);
  display: flex; align-items: center; justify-content: center;
  z-index: 9999;
}
.cotacao-container {
  background: #fff; padding: 20px;
  border-radius: 12px; width: 100%; max-width: 420px;
  display: flex; flex-direction: column;
}
.cotacao-header {
  display: flex; justify-content: space-between;
  align-items: center; margin-bottom: 10px;
}
.chat-messages { flex: 1; overflow-y: auto; margin-bottom: 12px; max-height: 300px; }
.chat-messages p { margin: 6px 0; }
.chat-input-area { display: flex; gap: 8px; }
.chat-input-area input { flex: 1; padding: 10px; border: 1px solid #ccc; border-radius: 8px; }
.chat-input-area button, .whatsapp-btn {
  background: #25d366; color: #fff;
  border: none; padding: 10px 14px;
  border-radius: 8px; cursor: pointer;
}

/* BOTÃO SIMULAR ORÇAMENTO */
.botao-cotacao .icon-casa {
  width: 22px;
  height: 22px;
  margin-right: 8px;
}

.botao-cotacao {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(45deg, #ff8c00, #e55e00);
  color: #fff;
  padding: 14px 28px;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  animation: pulse-orange 1.8s infinite;
}

.botao-cotacao:hover {
  background: linear-gradient(45deg, #e55e00, #c94d00);
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

/* Ícone dentro do botão */
.botao-cotacao i {
  width: 22px;
  height: 22px;
}

/* Animação pulse em laranja */
@keyframes pulse-orange {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 140, 0, 0.7);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(255, 140, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 140, 0, 0);
  }
}

