/* ===== RESET BÁSICO ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Arial', sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
  background-color: #f9f9f9;
}

/* ===== HEADER ===== */
header.topo {
  position: relative;
  text-align: center;
}

header.topo .capa {
  width: 100%;
  height: 70vh;
  object-fit: cover;
}

header.topo .texto-topo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
}

header.topo h1 {
  font-size: 3rem;
  margin-bottom: 10px;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}

header.topo p {
  font-size: 1.5rem;
  margin-bottom: 20px;
  text-shadow: 1px 1px 4px rgba(0,0,0,0.7);
}

header.topo .botao {
  background-color: #ff6f00;
  color: #fff;
  padding: 12px 25px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  transition: all 0.3s ease;
}

header.topo .botao:hover {
  background-color: #e65c00;
}

/* ===== SEÇÕES ===== */
section {
  padding: 60px 20px;
  max-width: 1200px;
  margin: auto;
}

h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
  color: #222;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: #444;
}

/* ===== SOBRE ===== */
.sobre p {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.sobre ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 20px;
}

.sobre ul li {
  margin-bottom: 10px;
}

/* ===== CARDS DE SERVIÇOS ===== */
.cards {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.card {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  flex: 1 1 calc(33% - 20px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.card h3 {
  padding: 15px 0;
}

/* ===== GALERIA ===== */
.grid-galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  margin-bottom: 40px;
}

.grid-galeria img {
  width: 100%;
  border-radius: 10px;
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: pointer;
}

.grid-galeria img:hover {
  transform: scale(1.05);
  filter: brightness(0.9);
}

/* ===== FORMULÁRIO ===== */
.formulario form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: auto;
}

.formulario input,
.formulario textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.formulario button {
  padding: 12px;
  background-color: #ff6f00;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.formulario button:hover {
  background-color: #e65c00;
}

/* ===== FOOTER ===== */
footer {
  background-color: #222;
  color: #fff;
  text-align: center;
  padding: 25px 20px;
}

footer a {
  color: #ff6f00;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* ===== RESPONSIVIDADE ===== */
@media(max-width: 1024px) {
  .cards {
    flex-direction: row;
    flex-wrap: wrap;
  }
}

@media(max-width: 768px) {
  header.topo h1 {
    font-size: 2.2rem;
  }

  header.topo p {
    font-size: 1.2rem;
  }

  .cards {
    flex-direction: column;
  }
}

@media(max-width: 480px) {
  header.topo .botao {
    padding: 10px 18px;
  }

  section {
    padding: 40px 15px;
  }
}