
.icon {
  display: flex;
  align-items: flex-start;
}
.icon svg {
  width: 2.188rem;
  margin-left: -0.188em;
}

h1 {
  font-size: 2.35rem;
  text-transform: capitalize;
  padding-bottom: 2rem;
  text-align: center;
}
@media screen and (min-width: 42.5rem) {
  h1 {
    font-size: 3rem;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1418 125" fill="%23FFBB7B"><path d="M1412.29 72.17c-11.04-5.78-20.07-14.33-85.46-25.24-22.37-3.63-44.69-7.56-67.07-11.04-167.11-22.06-181.65-21.24-304.94-30.56C888.78 1.39 822.57 1.1 756.44 0c-46.63-.11-93.27 1.56-139.89 2.5C365.5 13.55 452.86 7.68 277.94 23.15 202.57 33.32 127.38 45.01 52.07 55.69c-11.23 2.41-22.63 4.17-33.71 7.22C6.1 66.33 5.64 66.19 3.89 67.79c-7.99 5.78-2.98 20.14 8.72 17.5 33.99-9.47 32.28-8.57 178.06-29.66 4.26 4.48 7.29 3.38 18.42 3.11 13.19-.32 26.38-.53 39.56-1.12 53.51-3.81 106.88-9.62 160.36-13.95 18.41-1.3 36.8-3.12 55.21-4.7 23.21-1.16 46.43-2.29 69.65-3.4 120.28-2.16 85.46-3.13 234.65-1.52 23.42.99 1.57-.18 125.72 6.9 96.61 8.88 200.92 27.94 295.42 46.12 40.87 7.91 116.67 23.2 156.31 36.78 3.81 1.05 8.28-.27 10.51-3.58 3.17-3.72 2.66-9.7-.78-13.13-3.25-3.12-8.14-3.44-12.18-5.08-17.89-5.85-44.19-12.09-63.67-16.56l26.16 3.28c23.02 3.13 46.28 3.92 69.34 6.75 10.8.96 25.43 1.81 34.34-4.39 2.26-1.54 4.86-2.75 6.21-5.27 2.76-4.59 1.13-11.06-3.59-13.68ZM925.4 23.77c37.64 1.4 153.99 10.85 196.64 14.94 45.95 5.51 91.89 11.03 137.76 17.19 24.25 4.77 74.13 11.21 101.72 18.14-11.87-1.15-23.77-1.97-35.65-3.06-133.46-15.9-266.8-33.02-400.47-47.21Z"></path></svg>');
    background-size: 17.5rem;
    background-repeat: no-repeat;
    background-position: 98% 3.375rem;
    padding-bottom: 3rem;
  }
}

section {
  display: grid;
  place-content: center;
  place-items: center;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 4rem clamp(1rem, 5%, 3rem);
}
section > span {
  display: inline-block;
  margin-bottom: 0.938em;
  text-transform: uppercase;
  letter-spacing: 0.12rem;
  font-size: 0.8rem;
  background: #ffbb7b;
  color: #5c0404;
  font-weight: bold;
  padding: 10px 30px;
  border-radius: 50px;
}

.cards {
  margin-top: 3em;
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  width: 17.5rem;
  cursor: pointer;
}
.card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: end;
  gap: 0.5rem;
}
.card__outer {
  background: #ebecee;
  position: relative;
  height: 23.438rem;
  border-radius: 0.625rem;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
  transition: 0.3s ease-in-out;
}
.card__outer a {
  display: flex;
  align-items: center;
  text-decoration: none;
  text-transform: capitalize;
  font-weight: bold;
}
.card__outer a svg {
  margin-left: 0.375em;
  width: 1.125rem;
}
.card__inner {
  background: #fff;
  position: absolute;
  bottom: 3.75rem;
  right: 1.25rem;
  width: 100%;
  height: 90%;
  border-radius: 0.625rem;
  padding: 1.875rem 2.188rem;
  display: flex;
  flex-direction: column;
}
.card__inner .title {
  text-transform: capitalize;
  font-weight: bold;
  font-size: 1rem;
  display: inline-block;
  margin-top: 0.313em;
  margin-bottom: 0.938em;
}
.card__inner .price {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
}
.card__inner .price--number {
  font-size: 3rem;
  font-weight: 600;
}
.card__inner .price--number:after {
  position: absolute;
  content: "";
  left: 0;
  bottom: -1.563rem;
  display: block;
  color: red;
  background: #f5f5f5;
  height: 0.125rem;
  width: 100%;
}
.card__inner .price--dolar {
  font-size: 1.1rem;
  margin-top: 0.625em;
  font-weight: 500;
}

.card.active .card__outer a {
  color: #fff;
}

.card:nth-child(1).active .card__inner svg {
  color: #6824d6;
}
.card:nth-child(1).active .card__outer {
  background: #6824d6;
  box-shadow: 5px 18px 13px rgba(104, 36, 214, 0.43);
}
.card:nth-child(2).active .card__inner svg {
  color: #fe3258;
}
.card:nth-child(2).active .card__outer {
  background: #fe3258;
  box-shadow: 5px 18px 13px rgba(254, 52, 89, 0.43);
}
.card:nth-child(3).active .card__inner svg {
  color: #4ccda7;
}
.card:nth-child(3).active .card__outer {
  background: #4ccda7;
  box-shadow: 5px 18px 13px rgba(76, 205, 166, 0.43);
}
.card--purple .card__inner svg,
.card--purple .card__inner .title,
.card--purple .card__outer a {
  color: #6824d6;
}
.card--red .card__outer {
  height: 25.313rem;
}
.card--red .card__inner svg,
.card--red .card__inner .title,
.card--red .card__outer a {
  color: #fe3258;
}
.card--green .card__inner svg,
.card--green .card__inner .title,
.card--green .card__outer a {
  color: #4ccda7;
}