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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #fdf6ec, #fae5d3);
  color: #444;
  line-height: 1.8;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 2rem;
}

.sobre {
  background: #fff;
  padding: 3rem 2rem;
  border-radius: 20px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeIn 1s ease-in;
}

.sobre:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.sobre h2 {
  color: #d35400;
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
  font-family: "Georgia", serif;
  letter-spacing: 2px;
}

.sobre h2::after {
  content: "";
  display: block;
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #e67e22, #d35400);
  margin: 0.5rem auto 0;
  border-radius: 3px;
}

.sobre p {
  margin-bottom: 1.5rem;
  text-align: justify;
  font-size: 1.1rem;
  color: #444;
  line-height: 1.9;
}

.img-sobre {
  text-align: center;
  margin: 2rem 0;
}

.img-sobre img {
  max-width: 100%;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s ease, filter 0.3s ease;
}

.img-sobre img:hover {
  transform: scale(1.05);
  filter: brightness(1.05);
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, #ca6f1e, #a04000);
  padding: 1rem 2rem;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

header h2 a {
  color: #fff;
  text-decoration: none;
  font-family: "Georgia", serif;
  font-size: 1.8rem;
}

header nav a {
  color: #fff;
  text-decoration: none;
  margin: 0 0.7rem;
  font-weight: bold;
  transition: color 0.3s ease;
}

header nav a:hover {
  color: #ffe6cc;
}

.hero {
  height: 85vh;
  background: url("../img/hero.jpg") center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
  animation: fadeIn 1.2s ease;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.hero-text {
  position: relative;
  z-index: 1;
  max-width: 650px;
  animation: slideUp 1.5s ease;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 2rem;
}

.btn {
  background: linear-gradient(90deg, #e59866, #ca6f1e);
  color: #fff;
  padding: 1rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
  background: linear-gradient(90deg, #d17b38, #8e3a0f);
}

.sobre h2,
.destaques h2 {
  color: #ca6f1e;
}

.destaques h2 {
  text-align: center;
  color: #d35400;
  margin-bottom: 2.5rem;
  font-size: 2rem;
  letter-spacing: 1px;
}

.grid {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  max-width: 300px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
}

.card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
}

.card h3 {
  margin: 1rem 0 0.5rem;
  color: #a04000;
  font-size: 1.3rem;
}

.card p {
  padding: 0 1rem 1.5rem;
  font-size: 1rem;
  color: #555;
}

footer {
  text-align: center;
  background: linear-gradient(90deg, #a04000, #ca6f1e);
  color: #fff;
  padding: 1.5rem;
  margin-top: 3rem;
  font-size: 0.95rem;
  box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.15);
}

footer a {
  color: #ffe6cc;
  font-weight: bold;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .grid {
    flex-direction: column;
    align-items: center;
  }

  header {
    flex-direction: column;
  }

  header nav {
    margin-top: 0.5rem;
  }
}
