/* Redjam Bundles — styles propres à la page d'accueil.
   Les jetons de couleur et l'en-tête vivent dans site.css. */

/* --- hero --------------------------------------------------------------- */

.hero {
  background:
    radial-gradient(120% 90% at 15% 0%, #8D1F33 0%, var(--berry-deep) 62%);
  color: var(--cream);
  padding-block: clamp(3.5rem, 8vw, 6rem) clamp(4rem, 9vw, 7rem);
}

.hero__grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
}
@media (min-width: 60rem) {
  .hero__grid { grid-template-columns: 1fr minmax(21rem, 25rem); }
}

.hero__copy { display: grid; gap: 1.5rem; justify-items: start; }
.hero__eyebrow { color: var(--gold); }

.hero h1 {
  font-size: clamp(2.5rem, 5.8vw, 3.8rem);
  max-width: 13ch;
}
/* The one word the whole page turns on. */
.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero__lead {
  font-size: 1.15rem;
  max-width: var(--measure);
  color: #F3DCDF;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }

.hero__note {
  font-size: .92rem;
  color: #DDBFC5;
}

/* --- the working widget ------------------------------------------------- */

.demo {
  background: var(--cream);
  color: #24141A;
  border-radius: 14px;
  padding: 1.35rem 1.35rem 1.5rem;
  box-shadow: 0 24px 60px -24px rgba(0,0,0,.55);
}

.demo__product {
  display: flex;
  gap: .9rem;
  align-items: center;
  padding-bottom: 1.05rem;
  margin-bottom: 1.05rem;
  border-bottom: 1px solid #E7D6CC;
}
.demo__thumb {
  width: 46px; height: 46px; flex: none;
  border-radius: 9px;
  background: linear-gradient(140deg, #D9C3B4, #B99A88);
}
.demo__name { font-weight: 600; line-height: 1.25; }
.demo__price { font-size: .9rem; color: #7A6259; font-variant-numeric: tabular-nums; }

.tiers { display: grid; gap: .6rem; }

.tier {
  position: relative;
  display: flex;
  align-items: center;
  gap: .8rem;
  width: 100%;
  text-align: left;
  font: inherit;
  color: inherit;
  background: #fff;
  border: 2px solid #E7D6CC;
  border-radius: 11px;
  padding: .8rem .9rem;
  cursor: pointer;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.tier:hover { border-color: #D3B3A4; }
.tier[aria-checked="true"] {
  border-color: var(--berry);
  box-shadow: 0 0 0 3px rgba(192,52,74,.12);
}

.tier__radio {
  flex: none;
  width: 17px; height: 17px;
  border-radius: 50%;
  border: 2px solid #D3B3A4;
  display: grid;
  place-items: center;
}
.tier[aria-checked="true"] .tier__radio { border-color: var(--berry); }
.tier__radio::after {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--berry);
  transform: scale(0);
  transition: transform .15s ease;
}
.tier[aria-checked="true"] .tier__radio::after { transform: scale(1); }

.tier__body { flex: 1 1 auto; min-width: 0; }
.tier__label { display: block; font-weight: 600; font-size: .98rem; }
.tier__unit { display: block; font-size: .82rem; color: #7A6259; font-variant-numeric: tabular-nums; }

.tier__prices { flex: none; text-align: right; }
.tier__total { display: block; font-weight: 700; font-variant-numeric: tabular-nums; }
.tier__was {
  display: block;
  font-size: .82rem;
  color: #7A6259;
  text-decoration: line-through;
  font-variant-numeric: tabular-nums;
}

.tier__badge {
  position: absolute;
  top: -9px; right: 12px;
  background: var(--gold);
  color: #4A1019;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .02em;
  padding: .15em .55em;
  border-radius: 999px;
}

.demo__cta {
  margin-top: 1.05rem;
  width: 100%;
  background: var(--berry);
  color: #fff;
  border: 0;
  border-radius: 11px;
  padding: .85rem;
  font: 600 1rem var(--body);
  cursor: pointer;
}
.demo__cta:hover { background: #A82B3F; }

.demo__caption {
  margin-top: .8rem;
  font-size: .8rem;
  color: #7A6259;
  text-align: center;
}

@media (prefers-reduced-motion: no-preference) {
  .tier { animation: rise .5s cubic-bezier(.2,.7,.3,1) backwards; }
  .tier:nth-child(1) { animation-delay: .12s; }
  .tier:nth-child(2) { animation-delay: .20s; }
  .tier:nth-child(3) { animation-delay: .28s; }
  @keyframes rise {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
  }
}

/* --- generic section ---------------------------------------------------- */

.section { padding-block: var(--step); }
.section--sunk { background: var(--surface-sunk); }

.section__head { display: grid; gap: .9rem; margin-bottom: clamp(2.25rem, 5vw, 3.25rem); }
.section__head .eyebrow { color: var(--berry); }
.section__head h2 { font-size: clamp(1.85rem, 3.6vw, 2.6rem); max-width: 21ch; }
.section__head p { max-width: var(--measure); color: var(--ink-soft); }

/* --- offer types -------------------------------------------------------- */

.kinds { display: grid; gap: 1.25rem; }
@media (min-width: 52rem) { .kinds { grid-template-columns: repeat(3, 1fr); } }

.kind {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 1.5rem;
  display: grid;
  gap: 1rem;
  align-content: start;
  box-shadow: var(--shadow);
}
.kind h3 { font-size: 1.2rem; }
.kind p { color: var(--ink-soft); font-size: .97rem; }

/* A miniature of the ladder itself, so the type of offer is legible at a
   glance rather than described in prose. */
.ladder { display: grid; gap: .3rem; }
.rung {
  display: flex;
  align-items: center;
  gap: .55rem;
  font-size: .87rem;
  font-variant-numeric: tabular-nums;
}
.rung__bar {
  height: 9px;
  border-radius: 999px;
  background: var(--berry-soft);
  flex: 1 1 auto;
  position: relative;
  overflow: hidden;
}
.rung__bar span {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--berry);
  border-radius: 999px;
}
.rung--best .rung__bar span { background: var(--gold); }
.rung__val { flex: none; color: var(--ink-soft); min-width: 3.4rem; text-align: right; }
.rung--best .rung__val { color: var(--ink); font-weight: 600; }

/* --- differences -------------------------------------------------------- */

.points { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: 14px; overflow: hidden; }
@media (min-width: 52rem) { .points { grid-template-columns: 1fr 1fr; } }

.point { background: var(--surface); padding: 1.6rem; display: grid; gap: .55rem; align-content: start; }
.point h3 { font-size: 1.1rem; }
.point p { color: var(--ink-soft); font-size: .97rem; }

/* --- pricing ------------------------------------------------------------ */

.plans { display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 52rem) { .plans { grid-template-columns: repeat(3, 1fr); } }

.plan {
  background: var(--surface);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 1.6rem;
  display: grid;
  gap: 1rem;
  align-content: start;
}
.plan--lead {
  border-color: var(--berry);
  box-shadow: 0 0 0 3px rgba(192,52,74,.1), var(--shadow);
}
.plan__name { font-family: var(--display); font-weight: 600; font-size: 1.05rem; }
.plan__price { font-family: var(--display); font-weight: 800; font-size: 2.3rem; line-height: 1; font-variant-numeric: tabular-nums; }
.plan__period { font-size: .9rem; color: var(--ink-soft); }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; font-size: .95rem; }
.plan li { display: flex; gap: .55rem; align-items: baseline; }
.plan li::before { content: "—"; color: var(--berry); flex: none; }

.plans__note { margin-top: 1.5rem; font-size: .95rem; color: var(--ink-soft); max-width: var(--measure); }

/* --- faq ---------------------------------------------------------------- */

.faq { max-width: 46rem; display: grid; gap: 0; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq details:first-child { border-top: 1px solid var(--rule); }
.faq summary {
  cursor: pointer;
  padding: 1.05rem 2rem 1.05rem 0;
  font-weight: 600;
  font-size: 1.05rem;
  list-style: none;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: .25rem; top: 50%;
  transform: translateY(-50%);
  font-family: var(--display);
  color: var(--berry);
  font-size: 1.3rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 1.15rem; color: var(--ink-soft); max-width: var(--measure); }

/* --- closing ------------------------------------------------------------ */

.closing {
  background: var(--berry-deep);
  color: var(--cream);
  padding-block: var(--step);
  text-align: center;
}
.closing h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-inline: auto; max-width: 16ch; }
.closing p { margin: 1rem auto 1.75rem; max-width: 34rem; color: #F0D5D9; }

/* --- footer ------------------------------------------------------------- */

.foot { padding-block: 2.75rem; font-size: .92rem; color: var(--ink-soft); }
.foot__inner { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; }
.foot a { color: var(--ink-soft); }
.foot__links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
