/* Three main offers, using the site’s ivory, black and amber palette. */
.pricing-page {
  --t-paper: #f5f2eb;
  --t-card: #fffdf8;
  --t-ink: #1c1d1c;
  --t-muted: #545650;
  --t-line: #d4d0c7;
  --t-amber: #ff9d00;
  --t-amber-deep: #815509;
  background: var(--t-paper);
  color: var(--t-ink);
}

.pricing-page .t-wrap {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}

.pricing-page :is(.t-hero, .t-offers, .t-hosting, .t-contact) :where(h1, h2, p) {
  margin: 0;
}

.pricing-page :is(.t-hero, .t-offers, .t-contact) :where(h1, h2) {
  font-family: Oswald, "Arial Narrow", Arial, sans-serif;
  font-weight: 400;
  letter-spacing: 0;
}

.pricing-page :is(.t-offers, .t-hosting, .t-contact) :is(a, summary):focus-visible {
  outline: 3px solid var(--t-amber);
  outline-offset: 4px;
}

.pricing-page .t-hero {
  padding-block: clamp(27px, 4vw, 48px);
  background:
    radial-gradient(75% 150% at 94% 0%, #44351c 0%, transparent 63%),
    #101111;
  color: #f8f5ee;
}

.pricing-page .t-hero .t-eyebrow {
  margin-bottom: 12px;
  color: var(--t-amber);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.pricing-page .t-hero h1 {
  max-width: 23ch;
  color: #fbf8f1;
  font-size: clamp(2.4rem, 5.4vw, 4.1rem);
  line-height: 1.06;
  text-wrap: balance;
}

.pricing-page .t-hero .t-intro {
  max-width: 66ch;
  margin-top: 17px;
  color: #dedbd2;
  font-size: 1rem;
  line-height: 1.6;
}

.pricing-page .t-offers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 25px);
  padding-top: clamp(24px, 4vw, 44px);
}

.pricing-page :is(.t-offer, #options, #donnees, #hebergement, .t-offer h2) {
  scroll-margin-top: 130px;
}

.pricing-page .t-offer {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--t-line);
  border-radius: 9px;
  background: var(--t-card);
}

.pricing-page .t-offer .t-card-image {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8;
  object-fit: cover;
  background: #e4ded4;
}

.pricing-page .t-card-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 14px;
  padding: clamp(17px, 2vw, 25px);
}

.pricing-page .t-card-content h2 {
  color: var(--t-ink);
  font-size: clamp(1.6rem, 2.4vw, 2.05rem);
  line-height: 1.1;
}

.pricing-page .t-card-description {
  display: grid;
  gap: 14px;
}

.pricing-page :is(.t-price, .t-card-description > p) {
  color: var(--t-muted);
  font-size: .9375rem;
  line-height: 1.57;
}

.pricing-page .t-card-content .t-price {
  display: grid;
  gap: 4px;
  color: var(--t-amber-deep);
}

.pricing-page .t-price span {
  font-size: .8rem;
  font-weight: 700;
}

.pricing-page .t-price strong {
  font: 400 clamp(2.2rem, 3.7vw, 3.2rem)/1 Oswald, "Arial Narrow", Arial, sans-serif;
  white-space: nowrap;
}

.pricing-page .t-card-content .t-renewal {
  padding: 9px 11px;
  border-inline-start: 2px solid var(--t-amber);
  background: #f5ecdc;
  color: #4d402a;
  font-size: .83rem;
  font-weight: 700;
}

.pricing-page .t-card-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  margin-top: auto;
  padding-top: 9px;
  border-top: 1px solid var(--t-line);
  color: var(--t-ink);
  font-weight: 700;
  text-decoration: none;
}

.pricing-page .t-card-cta::after {
  content: "→";
  color: var(--t-amber-deep);
  font-size: 1.25rem;
}

.pricing-page .t-card-cta:is(:hover, :focus-visible) {
  color: var(--t-amber-deep);
}

.pricing-page .t-hosting {
  max-width: 77ch;
  margin-top: 12px;
  color: var(--t-muted);
  font-size: .875rem;
  line-height: 1.55;
}

.pricing-page .t-hosting summary {
  display: list-item;
  width: fit-content;
  padding: 11px 0;
  cursor: pointer;
}

.pricing-page .t-hosting p {
  margin-top: 2px;
}

.pricing-page .t-contact {
  margin-top: clamp(34px, 5vw, 57px);
  padding-block: clamp(30px, 4.5vw, 53px);
  background: #171918;
  color: #f8f5ee;
}

.pricing-page .t-contact .t-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(22px, 5vw, 65px);
}

.pricing-page .t-contact h2 {
  color: #fffaf0;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  line-height: 1.1;
}

.pricing-page .t-contact p {
  max-width: 68ch;
  margin-top: 13px;
  color: #d9d6cd;
  line-height: 1.62;
}

.pricing-page .t-contact-cta {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 19px;
  border-radius: 4px;
  background: var(--t-amber);
  color: #181812;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
}

.pricing-page .t-contact-cta:is(:hover, :focus-visible) {
  background: #ffb431;
  color: #181812;
}

@media (min-width: 761px) {
  @supports (grid-template-rows: subgrid) {
    /* Share the image, heading, price label, amount, description and CTA rows. */
    .pricing-page .t-offer {
      display: grid;
      grid-row: span 6;
      grid-template-rows: subgrid;
      row-gap: 0;
    }

    .pricing-page .t-card-content {
      display: grid;
      grid-row: span 5;
      grid-template-rows: subgrid;
    }

    .pricing-page .t-card-content .t-price {
      grid-row: span 2;
      grid-template-rows: subgrid;
    }

    .pricing-page .t-card-cta {
      margin-top: 0;
    }
  }
}

@media (max-width: 760px) {
  .pricing-page .t-wrap {
    width: calc(100% - 36px);
  }

  .pricing-page .t-offers {
    grid-template-columns: minmax(0, 1fr);
  }

  .pricing-page .t-contact .t-wrap {
    align-items: start;
    flex-direction: column;
  }
}
