:root {
  --primary: #0a2540;
  --accent: #c9a050;
  --whatsapp: #25d366; /* Verde Oficial do WhatsApp */
  --text: #333;
  --light: #f4f7f9;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--text);
  line-height: 1.6;
  scroll-behavior: smooth;
  padding-bottom: 50px; /* Espaço para não cobrir footer no mobile */
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background: #fff;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
}

.logo span {
  color: var(--accent);
}

.nav-links {
  display: flex;
  list-style: none;
  align-items: center;
}

.nav-links li {
  margin-left: 15px;
}

.nav-links a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
}

/* Botão Destacado no Menu */
.btn-nav-cta {
  background: var(--whatsapp);
  color: white !important;
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  transition: 0.3s;
}
.btn-nav-cta:hover {
  background: #1ebe57;
}

/* Hero Section */
.hero {
  /* Mude a URL da imagem abaixo para uma foto real do seu trabalho depois */
  background:
    linear-gradient(rgba(10, 37, 64, 0.85), rgba(10, 37, 64, 0.85)),
    url("https://images.unsplash.com/photo-1589939705384-5185137a7f0f?auto=format&fit=crop&q=80")
      center/cover;
  height: 85vh;
  display: flex;
  align-items: center;
  color: #fff;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-family: "Montserrat", sans-serif;
}

/* Botão Grande WhatsApp Hero */
.btn-whatsapp-hero {
  background: var(--whatsapp);
  color: #fff;
  padding: 18px 35px;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 25px;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-hero:hover {
  transform: translateY(-3px);
  background: #1ebe57;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Services */
.services {
  padding: 80px 0;
  background: var(--light);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2rem;
  color: var(--primary);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.service-card {
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-bottom: 4px solid var(--accent);
  transition: 0.3s;
}

.service-card:hover {
  transform: translateY(-5px);
}

.service-card h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

.btn-secondary {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid var(--primary);
  color: var(--primary);
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: 0.3s;
}
.btn-secondary:hover {
  background: var(--primary);
  color: #fff;
}

/* Contact Form */
.contact {
  padding: 60px 0;
  text-align: center;
  background: #fff;
}

form {
  max-width: 500px;
  margin: 30px auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

input,
select {
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #f9f9f9;
}

.btn-submit {
  background: var(--primary);
  color: #fff;
  border: none;
  padding: 15px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 5px;
  font-size: 1rem;
}

footer {
  background: var(--primary);
  color: #fff;
  text-align: center;
  padding: 30px 0;
  margin-bottom: 0;
}

/* --- BOTÃO FLUTUANTE WHATSAPP --- */
.float-whatsapp {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  background-color: var(--whatsapp);
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  animation: pulse 2s infinite;
}

.float-whatsapp:hover {
  background-color: #1ebe57;
}

/* Animação de Pulso para chamar atenção */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Responsivo Mobile */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2rem;
  }
  .nav-links {
    display: none;
  } /* Simplificado para mobile, idealmente usaria menu sanduíche */
  .btn-nav-cta {
    display: none;
  } /* Esconde o botão do topo no mobile pra focar no Hero */
  .logo {
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }
  .float-whatsapp {
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
  }
}
