/* OFICINAS */

.offer-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.offer {
  display: flex;
  gap: 1.8rem;
  align-items: flex-start;
  background-color: var(--surface);
  border: 2px solid var(--border);
  border-left: 8px solid var(--accent);
  border-radius: 24px;
  padding: 2.2rem;
  scroll-margin-top: 100px;
}

.offer .service-icon {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  font-size: 2.2rem;
  margin: 0;
}

.offer h2 {
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
}

.offer p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.check-list {
  list-style: none;
  display: grid;
  gap: 0.4rem;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.check-list i {
  color: var(--accent);
  font-size: 1.4rem;
}

/* COMO FUNCIONA */

.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
  counter-reset: step;
}

.steps li {
  background-color: var(--surface);
  border-radius: 24px;
  padding: 2rem 1.8rem;
  border: 2px solid var(--border);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--accent);
  color: #fff;
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.steps h3 {
  font-size: 1.35rem;
}

.steps p {
  color: var(--text-muted);
}

@media (max-width: 820px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .offer {
    flex-direction: column;
    padding: 1.6rem;
  }
}

/* IDADE / PREÇO / BOTÕES DE CADA OFICINA */

.offer-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.2rem 0 0.8rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  background-color: var(--accent-soft);
  font-weight: 700;
  font-size: 0.9rem;
}

.tag i {
  color: var(--accent);
}

.offer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.4rem;
}

/* OFICINA COM FOTO */

.offer.has-photo {
  align-items: stretch;
}

.offer-photo {
  position: relative;
  flex-shrink: 0;
  width: 280px;
}

.offer-photo img {
  width: 100%;
  height: 100%;
  min-height: 240px;
  object-fit: cover;
  border-radius: 18px;
  display: block;
}

.offer-photo .service-icon {
  position: absolute;
  left: 12px;
  bottom: 12px;
  width: 56px;
  height: 56px;
  font-size: 1.7rem;
  background-color: var(--surface);
  box-shadow: var(--shadow-1);
}

/* INVESTIMENTO */

.price-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 1rem;
}

.price-card {
  position: relative;
  background-color: var(--surface);
  border: 2px solid var(--border);
  border-radius: 24px;
  padding: 1.8rem 1.4rem 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--pink);
  box-shadow: var(--shadow-2);
}

.price-flag {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 0.25em 0.9em;
  border-radius: 999px;
  background-color: var(--pink);
  color: #fff;
  font-family: "Baloo 2", cursive;
  font-weight: 700;
  font-size: 0.85rem;
}

.price-card h3 {
  font-size: 1.2rem;
}

.price-value {
  font-family: "Baloo 2", cursive;
  font-weight: 800;
  font-size: 2.8rem;
  line-height: 1.1;
  color: var(--purple);
  margin: 0.3rem 0;
}

.price-value small {
  font-size: 1.1rem;
  margin-right: 0.2rem;
  vertical-align: 0.9em;
}

.price-detail {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.price-extra {
  margin-top: auto;
  padding-top: 0.8rem;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--orange);
}

.price-bottom {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.included {
  --accent: var(--green);
  background-color: var(--surface);
  border: 2px solid var(--border);
  border-radius: 24px;
  padding: 1.6rem 1.8rem;
}

.included h3 {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 1.25rem;
  margin-bottom: 0.8rem;
}

.included h3 i {
  color: var(--yellow);
  font-size: 1.6rem;
}

.why-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.why-list li {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
}

.why-list i {
  color: var(--yellow);
  font-size: 1.4rem;
  margin-top: 0.15rem;
}

.why-list strong {
  display: block;
  font-family: "Baloo 2", cursive;
  font-size: 1.08rem;
}

.why-list span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

@media (max-width: 960px) {
  .price-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 1.8rem;
  }

  .price-bottom {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .offer-photo {
    width: 100%;
  }

  .offer-photo img {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }
}

@media (max-width: 520px) {
  .price-grid,
  .why-list {
    grid-template-columns: 1fr;
  }
}
