* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

body {
  background: #f5f7fa;
  color: #333;
}

.container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header {
  background: #fff;
  position: fixed;
  width: 100%;
  top: 0;
  box-shadow: 0 4px 10px rgba(0,0,0,.05);
  z-index: 10;
  padding: 15px;
}

.logo {
  color: #007bff;
}

.menu a {
  margin: 0 10px;
  text-decoration: none;
  color: #555;
}

.menu a:hover {
  color: #007bff;
}

.btn-whatsapp {
  background: #25d366;
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
}

.hero {
  height: 100vh;
  background: url("images/hero-bg.png") center/cover no-repeat;
}

.hero-overlay {
  height: 100%;
  background: rgba(0,0,0,.55);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 20px;
}

.hero h2 {
  color: #fff;
  font-size: 42px;
  max-width: 800px;
}

.hero p {
  color: #ddd;
  margin: 20px 0;
}

.btn-primary {
  background: #007bff;
  color: #fff;
  padding: 15px 30px;
  border-radius: 10px;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.services, .flow, .gallery {
  padding: 100px 20px;
  text-align: center;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(220px,1fr));
  gap: 30px;
  margin-top: 40px;
}

.card {
  background: #fff;
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,.05);
  transition: transform .3s;
  cursor: pointer;
}

.card:hover {
  transform: translateY(-10px);
}
.card img {
  width: 100%;
  height: 180px;          /* controla o tamanho visual */
  object-fit: contain;   /* NÃO corta a imagem */
  margin-bottom: 15px;
}


.model-card.active {
  border: 2px solid #007bff;
}

.hidden {
  display: none;
}

.flow form {
  max-width: 500px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.flow input {
  padding: 14px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.gallery {
  background: #eef2f6;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(250px,1fr));
  gap: 20px;
  margin-top: 40px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 15px;
  transition: transform .4s;
}

.gallery-grid img:hover {
  transform: scale(1.08);
}

.footer {
  background: #0f172a;
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

.footer span {
  font-size: 14px;
  color: #aaa;
}

@media (max-width: 768px) {
  .menu {
    display: none;
  }

  .hero h2 {
    font-size: 30px;
  }
}
/* Botão pequeno dentro do card */
.card-button {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 18px;
  background: #007bff;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  border-radius: 50px; /* bem arredondado */
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Hover elegante */
.card-button:hover {
  background: #0056b3;
  transform: scale(1.05);
}

/* Card específico de serviço */
.card.service-card {
  padding: 25px;
}

/* Ajusta imagem pra não parecer botão gigante */
.card.service-card img {
  height: 160px;
}
