* {
  margin: 0%;
  padding: 0%;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}
html, body {
  width: 100%;
  overflow-x: hidden; /* sem scroll horizontal */
}

body {
  line-height: 1.6;
  background: #f9f9f9;
  color: #333;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

/* ---- Header ---- */
header {
  background: #111;
  color: #fff;
  padding: 1rem 0;
  overflow: hidden;
  width: 100%;
}

header h1 {
  width: 40%;
  float: left;
}

nav {
  list-style: none;
  float: right;
}

nav li {
  display: inline;
}

nav li a {
  color: #fff;
  text-decoration: none;
}

ul {
  display: flex;
  width: 60%;
}

li {
  margin-left: 10%;
}

/* ---- Hero Section ---- */
.hero {
  background-image: url('fotos/fundo.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 20px;
  color: white;
  text-align: center;
  position: relative;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero .btn {
  background: #ff6600;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
  margin-top: 20px;
  display: inline-block;
  border-radius: 4px;
}

.servicos, .sobre, .depoimentos, .contato {
  padding: 60px 0;
}

.sobre {
  background: black;
  color:#f9f9f9;
}

.cards {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  background: #fff;
  padding: 20px;
  border-radius: 8px;
  flex: 1 1 calc(33% - 40px);
  min-width: 280px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.card img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 10px;
}

.contato form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contato input, .contato textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
  font-size: 1rem;
  resize: vertical;
}

.contato button {
  padding: 10px;
  background: #ff6600;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.contato button:hover {
  background: #e65500;
}

.contato-content {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  overflow-x: hidden;
  max-width: 100%;
}

#form-contato {
  flex: 1 1 300px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mapa {
  flex: 1 1 300px;
  min-height: 200px;
  width: 100%;
  position: relative;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

#mapa-case {
  width: 100% !important;
  height: 100%;
  border: none;
  display: block;
  max-width: 100%;
}

/* ---- Botões Flutuantes ---- */
.botoes-contato-flutuante {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  pointer-events: auto;
}

.telefone-fixo img,
.whatsapp-fixo img {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  padding: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
  animation: pulse 2s infinite;
  cursor: pointer;
  display: block;
  background-color: #25d366;
}

.telefone-fixo img {
  background-color: #007BFF;
}

.whatsapp-fixo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.whatsapp-msg {
  background: #25d366;
  color: white;
  padding: 10px 15px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 500;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1s ease-out;
  white-space: nowrap;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

footer {
  background: #111;
  color: #fff;
  text-align: center;
  padding: 20px 0;
  width: 100%;
}

footer p {
  font-size: 20px;
}

.whatsapp {
  background-color: #25D366;
}

/* ---- Endereço ---- */
.endereco-box {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  background-color: #f7f7f7;
  padding: 15px 20px;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.icone-mapa {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  margin-top: 5px;
}

.endereco-titulo {
  font-weight: 600;
  font-size: 1.1rem;
  color: #222;
  margin-bottom: 5px;
}

.endereco-texto {
  margin: 0;
  color: #444;
  line-height: 1.5;
}

.endereco-link {
  display: inline-block;
  margin-top: 8px;
  color: #007BFF;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s;
}

.endereco-link:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* ---- Responsividade ---- */
@media (max-width: 780px) {
  .container {
    display: flex;
    flex-direction: column;
  }

  header h1 {
    width: 100%;
    float: none;
  }

  nav {
    float: none;
    margin-top: 10px;
  }

  nav ul {
    width: 100%;
    justify-content: space-around;
  }

  li {
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  .container {
    display: flex;
    flex-direction: column;
  }

  header h1 {
    width: 100%;
    float: none;
  }

  nav {
    float: none;
    margin-top: 10px;
  }

  nav ul {
    width: 100%;
    justify-content: space-around;
  }

  li {
    margin-left: 0;
  }
}

@media (max-width: 375px) {
  .container {
    display: flex;
    flex-direction: column;
  }

  header h1 {
    width: 100%;
    float: none;
  }

  .telefone-fixo img,
  .whatsapp-fixo img {
    width: 45px;
    height: 45px;
    padding: 8px;
    margin: 0;
  }

  .botoes-contato-flutuante {
    bottom: 3%;
    right: 3%;
    gap: 10px;
  }
}
