/* Reset básico */
body, h1, h2, h3, p, ul {
  margin: 0;
  padding: 0;
}
body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f8f9fb;
  color: #333;
  line-height: 1.6;
}

/* Cabeçalho (assumindo que está no includes/header.php) */
header {
  background: #2c3e50;
  padding: 20px;
  color: white;
}
header h1 {
  margin: 0;
}
nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
}
nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

/* Banner */
.banner {
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  position: relative;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  box-shadow: inset 0 0 0 1000px rgba(0,0,0,0.4); /* sombreado escuro para melhor contraste */
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.banner-content h1 {
  font-size: 2.8rem;
  font-weight: 700;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
  max-width: 100%;
  margin: 0 auto;
}
@media (max-width: 600px) {
  .banner {
    height: 250px;
  }
  .banner-content h1 {
    font-size: 1.8rem;
  }
}


/* Serviços */
.servicos {
  padding: 40px 20px;
  text-align: center;
}
.servicos-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  margin-top: 30px;
}
.servico {
  background: white;
  border-radius: 15px;
  padding: 20px;
  width: 300px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  transition: 0.3s;
}
.servico:hover {
  transform: translateY(-5px);
}
.servico img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
}
.servico h3 {
  margin: 15px 0 10px;
  font-size: 1.2rem;
}
.servico strong {
  display: block;
  margin-top: 10px;
  color: #27ae60;
  font-weight: bold;
}

/* Depoimentos */
.depoimentos {
  background: #eef3f7;
  padding: 40px 20px;
  text-align: center;
}
.btn-depoimento {
  background: #2980b9;
  color: white;
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1rem;
  margin-bottom: 20px;
  cursor: pointer;
}
.btn-depoimento:hover {
  background: #2471a3;
}

/* Modal */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.4);
}
.modal-content {
  background: white;
  margin: 10% auto;
  padding: 25px;
  border-radius: 10px;
  width: 90%;
  max-width: 500px;
  position: relative;
}
.modal-content input, .modal-content textarea, .modal-content select {
  width: 100%;
  margin-top: 10px;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
}
.modal-content button {
  background: #27ae60;
  color: white;
  padding: 10px;
  border: none;
  margin-top: 15px;
  border-radius: 8px;
  cursor: pointer;
}
.modal-content .close {
  position: absolute;
  top: 10px; right: 15px;
  font-size: 24px;
  cursor: pointer;
}

/* Carrossel de depoimentos */
.carrossel-depoimentos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 30px;
  flex-wrap: nowrap;
}
.slide-container {
  width: 90%;
  max-width: 1000px;
  overflow: hidden;
}
.slide {
  display: none;
  justify-content: center;
  gap: 20px;
  transition: all 0.3s ease;
}
.comentario-slide {
  background: white;
  padding: 20px;
  border-radius: 15px;
  width: 100%;
  max-width: 280px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  text-align: center;
  position: relative;
}
.avatar {
  width: 50px;
  height: 50px;
  background: #3498db;
  color: white;
  font-weight: bold;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 10px;
  font-size: 20px;
}
.estrelas {
  color: #f1c40f;
  margin-bottom: 10px;
}
.comentario-slide p {
  font-size: 0.95rem;
  color: #555;
}
.carrossel-depoimentos button {
  background: #3498db;
  color: white;
  border: none;
  padding: 12px;
  font-size: 18px;
  border-radius: 50%;
  cursor: pointer;
}
.carrossel-depoimentos button:hover {
  background: #2980b9;
}

/* Rodapé */
footer {
  background: #2c3e50;
  color: white;
  text-align: center;
  padding: 25px;
  margin-top: 40px;
}

/* Responsivo */
@media (max-width: 900px) {
  .slide {
    flex-direction: column;
    align-items: center;
  }
  .comentario-slide {
    max-width: 90%;
  }
  .servicos-container {
    flex-direction: column;
    align-items: center;
  }
}
.rating-stars {
  display: flex;
  justify-content: center;
  font-size: 2rem;
  gap: 5px;
  margin: 10px 0;
}
.estrela {
  color: #ccc;
  cursor: pointer;
  transition: 0.3s;
}
.estrela.selecionada {
  color: gold;
}
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  padding-top: 60px;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.5);
}
.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 20px;
  max-width: 500px;
  border-radius: 10px;
  position: relative;
}
.modal .close {
  position: absolute;
  top: 10px; right: 20px;
  font-size: 24px;
  cursor: pointer;
}
.carrossel-depoimentos {
  text-align: center;
  margin-top: 20px;
}
.slide-container {
  overflow: hidden;
}
.slide {
  display: none;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.comentario-slide {
  background: #f9f9f9;
  border-radius: 10px;
  padding: 15px;
  width: 250px;
  box-shadow: 0 0 5px rgba(0,0,0,0.1);
}
.avatar {
  width: 40px;
  height: 40px;
  background: #ddd;
  border-radius: 50%;
  line-height: 40px;
  font-weight: bold;
  font-size: 18px;
  margin: 0 auto 10px;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  background-color: #222;
  color: white;
}

.logo img {
  height: 55px;
  width: auto;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
}

nav ul li a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

nav ul li a:hover {
  color: #ddd;
}
.btn-depoimento {
  background: #007bff;
  border: none;
  color: white;
  padding: 10px;
  font-size: 20px;
  border-radius: 50%;
  cursor: pointer;
}

.btn-depoimento:hover {
  background: #0056b3;
}
.menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu ul li {
  display: inline-block;
  position: relative;
}

.menu ul li a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
}

.menu ul li .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #f9f9f9;
  min-width: 180px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 999;
}

.menu ul li .dropdown li {
  display: block;
}

.menu ul li .dropdown li a {
  padding: 10px 15px;
  color: #333;
}

.menu ul li.submenu:hover .dropdown {
  display: block;
}
.modal-content label i {
  margin-right: 6px;
  color: #555;
}

.modal-content h2 i {
  margin-right: 8px;
  color: #007bff;
}

.modal-content button i {
  margin-right: 6px;
}
.faixa-promocao {
  background-color: #ff5050;
  color: white;
  text-align: center;
  padding: 5px 10px;
  font-weight: bold;
  border-radius: 5px 5px 0 0;
  margin-bottom: 10px;
  font-size: 14px;
}
.servico {
  position: relative;
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 10px;
  background: #fff;
}

.servico img {
  width: 100%;
  border-radius: 10px;
}

.ribbon-wrapper {
  position: absolute;
  top: 10px;
  right: -30px;
  width: 120px;
  height: 120px;
  overflow: hidden;
  z-index: 10;
}

.ribbon {
  position: absolute;
  display: block;
  width: 160px;
  padding: 5px 0;
  background-color: #e53935;
  color: #fff;
  text-align: center;
  font-weight: bold;
  transform: rotate(45deg);
  top: 30px;
  right: -35px;
  box-shadow: 0 0 3px rgba(0,0,0,0.3);
  font-size: 14px;
}

