.tarifs-main {
  background: #101010;
  color: #fff;
}

.tarifs-intro,
.tarifs-packages,
.tarifs-extras,
.tarifs-notes,
.tarifs-cta {
  padding: clamp(4.5rem, 8vw, 8rem) max(5vw, calc((100vw - 1680px) / 2));
}

.tarifs-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(2rem, 8vw, 9rem);
  align-items: end;
  border-top: 1px solid #2b2b2b;
  background: #171717;
  color: #fff;
}

.tarifs-kicker {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.4rem;
  font-weight: 600;
}

.tarifs-kicker::before {
  width: 3px;
  height: 1.5rem;
  background: #ff4d24;
  content: "";
}

.tarifs-intro h2,
.tarifs-extras h2,
.tarifs-cta h2 {
  max-width: 14ch;
  margin: 0;
  font-family: var(--font-family--heading);
  font-size: clamp(2.6rem, 5.5vw, 5.8rem);
  font-weight: 400;
  line-height: 0.98;
}

.tarifs-intro-copy {
  max-width: 48rem;
  color: #c8c8c8;
  font-size: clamp(1.05rem, 1.5vw, 1.35rem);
  line-height: 1.65;
}

.tarifs-packages {
  background: #101010;
}

.tarifs-section-heading {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2rem, 5vw, 4.5rem);
}

.tarifs-section-heading h2 {
  margin: 0;
  font-family: var(--font-family--heading);
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 400;
  line-height: 0.9;
}

.tarifs-section-heading p {
  max-width: 38rem;
  margin: 0;
  color: #c6c6c6;
  line-height: 1.6;
}

.tarifs-package-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.tarifs-package {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  border: 1px solid #383838;
  background: #050505;
}

.tarifs-package--signature {
  border-color: #ff4d24;
}

.tarifs-package-head {
  display: grid;
  grid-template-columns: 1fr auto;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  min-height: 9rem;
  padding: 2rem;
  border-bottom: 1px solid #383838;
}

.tarifs-duration {
  grid-column: 1 / -1;
  color: #b8b8b8;
  font-size: 0.9rem;
}

.tarifs-package-name {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

.tarifs-package-name::before {
  width: 0.7rem;
  height: 0.7rem;
  background: #ff4d24;
  content: "";
}

.tarifs-price {
  font-family: var(--font-family--heading);
  font-size: clamp(2.3rem, 4vw, 4rem);
  line-height: 1;
  white-space: nowrap;
}

.tarifs-package-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tarifs-package-list li {
  position: relative;
  min-height: 5.8rem;
  padding: 1.7rem 2rem 1.7rem 4.5rem;
  border-bottom: 1px solid #282828;
  line-height: 1.45;
}

.tarifs-package-list li::before {
  position: absolute;
  top: 50%;
  left: 2rem;
  width: 1rem;
  height: 0.6rem;
  border-bottom: 2px solid #ff4d24;
  border-left: 2px solid #ff4d24;
  content: "";
  transform: translateY(-65%) rotate(-45deg);
}

.tarifs-package-action {
  margin-top: auto;
  padding: 1.5rem 2rem;
  background: #ff4d24;
  color: #000;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease;
}

.tarifs-package-action:hover {
  background: #fff;
  color: #000;
}

.tarifs-extras {
  background: #f4f4f2;
  color: #111;
}

.tarifs-extras-head {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: end;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.tarifs-extras-head p {
  max-width: 38rem;
  margin: 0;
  line-height: 1.6;
}

.tarifs-extra-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid #bcbcbc;
  border-left: 1px solid #bcbcbc;
}

.tarifs-extra {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  min-height: 11rem;
  padding: 2rem;
  border-right: 1px solid #bcbcbc;
  border-bottom: 1px solid #bcbcbc;
}

.tarifs-extra h3 {
  margin: 0 0 0.75rem;
  font-family: var(--font-family--heading);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 400;
}

.tarifs-extra p {
  max-width: 32rem;
  margin: 0;
  line-height: 1.5;
}

.tarifs-extra-price {
  color: #ff4d24;
  font-family: var(--font-family--heading);
  font-size: clamp(1.8rem, 3vw, 3rem);
  white-space: nowrap;
}

.tarifs-notes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding-top: 0;
  background: #2c2c2c;
}

.tarifs-note {
  padding: 2.25rem;
  background: #151515;
}

.tarifs-note strong {
  display: block;
  margin-bottom: 0.8rem;
  color: #ff4d24;
  font-family: var(--font-family--heading);
  font-size: 1.5rem;
  font-weight: 400;
}

.tarifs-note p {
  margin: 0;
  color: #c8c8c8;
  line-height: 1.55;
}

.tarifs-cta {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: center;
  background: #ff4d24;
  color: #000;
}

.tarifs-cta a {
  display: inline-flex;
  min-width: 16rem;
  justify-content: center;
  padding: 1.25rem 1.6rem;
  background: #000;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

.tarifs-reveal {
  animation: tarifs-enter 650ms both;
}

@keyframes tarifs-enter {
  from {
    opacity: 0;
    transform: translateY(2rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991px) {
  .tarifs-intro,
  .tarifs-package-grid,
  .tarifs-notes {
    grid-template-columns: 1fr;
  }

  .tarifs-section-heading,
  .tarifs-extras-head,
  .tarifs-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 767px) {
  .tarifs-intro,
  .tarifs-packages,
  .tarifs-extras,
  .tarifs-notes,
  .tarifs-cta {
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .tarifs-extra-grid {
    grid-template-columns: 1fr;
  }

  .tarifs-package-head,
  .tarifs-extra {
    align-items: flex-start;
    grid-template-columns: 1fr;
  }

  .tarifs-package-head {
    flex-direction: column;
  }

  .tarifs-cta a {
    width: 100%;
  }
}
