body {
  font-family: Arial, sans-serif;
  background-color: #f7faff;
  margin: 0;
  padding: 0;
  color: #2c2c2c;
  font-size: 1.1rem;
}

header {
  position: relative;
  background: url('https://midia.market/wp-content/uploads/2023/11/iStock-1443560890-1-1.jpg') center/cover no-repeat;
  height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 900;
  font-size: 2.5rem;
  text-align: center;
  padding: 0 20px;
  z-index: 1;
}

header::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.45);
  z-index: 0;
  pointer-events: none;
}

header span {
  position: relative;
  z-index: 2;
}

main {
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

h2 {
  color: #0a3572;
  font-size: 2.2rem;
  border-bottom: 3px solid #ff6d00;
  padding-bottom: 8px;
  margin-bottom: 28px;
}

ul {
  list-style: disc inside;
  color: #bf360c;
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 40px;
}

.course-level {
  margin-bottom: 50px;
}

.course-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  align-items: flex-start;
}

.course {
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 5px 18px rgba(255, 109, 0, 0.15);
  min-width: 280px;
  max-width: 340px;
  flex: 1 1 320px;
}

.course img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 14px;
  border: 3px solid #ff6d00;
}

.offer-group {
  flex: 2 1 400px;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 2px solid #ff6d00;
  background: #fff5e6;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(255, 109, 0, 0.15);
}

.offer-group h4 {
  color: #ff6d00;
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 1.2rem;
  border-bottom: 2px solid #ff6d00;
  padding-bottom: 6px;
}

.offers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.offers-additional {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.offer {
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 3px 10px rgba(255, 109, 0, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.offer:hover {
  box-shadow: 0 12px 28px rgba(255, 109, 0, 0.2);
  transform: translateY(-4px);
}

.offer img {
  width: 100%;
  height: 110px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 10px;
  border: 2px solid #ff6d00;
}

h3 {
  color: #d84315;
  font-weight: 700;
  font-size: 1.3rem;
  margin: 8px 0 14px;
  text-transform: uppercase;
  letter-spacing: 1.1px;
}

p.description,
.offer p {
  color: #6d2e00;
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 10px;
  line-height: 1.5;
  text-align: center;
}

span.price {
  color: #ff3d00;
  font-weight: 900;
  font-size: 1.3rem;
  text-align: center;
  display: block;
  margin-bottom: 11px;
  letter-spacing: 0.9px;
}

a.button {
  display: block;
  text-align: center;
  background: linear-gradient(45deg, #ff6d00, #ff3d00);
  color: white;
  padding: 13px 0;
  border-radius: 10px;
  font-weight: 900;
  font-size: 1.1rem;
  text-decoration: none;
  box-shadow: 0 6px 16px rgba(255, 93, 0, 0.85);
  user-select: none;
  transition: background 0.35s ease, transform 0.3s ease;
  margin-top: auto;
}

a.button:hover {
  background: linear-gradient(45deg, #ff3d00, #d83100);
  transform: scale(1.05);
  box-shadow: 0 10px 26px rgba(217, 49, 0, 0.9);
}

a.button:active {
  transform: scale(0.98);
  box-shadow: 0 6px 10px rgba(200, 46, 0, 0.7);
}

.section-dark {
  background: #fff8e1;
  padding: 30px 20px 40px;
  border-radius: 12px;
  box-shadow: 0 6px 22px rgba(255, 156, 0, 0.2);
  margin-top: 60px;
}

/* Responsividade */
@media (max-width: 900px) {
  .course-wrapper { flex-direction: column; }
  .offers, .offers-additional { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  header { font-size: 1.18rem; height: 150px; }
  .course-wrapper { flex-direction: column; }
  .offers, .offers-additional { grid-template-columns: 1fr; }
  .course img, .offer img { height: 90px; }
}
