/* =========================================================================
   PAGE PRIX
   Feuille autonome : la page n a ni scrollytelling ni calage, elle se lit.
   ========================================================================= */
.px-body { background: var(--bg); }
.px-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 32px;
}

/* ------------------------------------------------------------------ hero */
.px-hero {
  padding: calc(var(--nav-h) + 90px) 0 50px;
  text-align: center;
  background:
    radial-gradient(60% 60% at 50% 0%, var(--accent-soft) 0%, transparent 70%),
    var(--bg);
}
.px-hero .eyebrow { justify-content: center; }
.px-h1 {
  font-family: var(--f-display);
  font-size: clamp(38px, 5.2vw, 68px);
  line-height: 1.03;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin: 18px 0 0;
}
.px-h1 em { color: var(--accent); font-style: normal; }
.px-lede {
  max-width: 640px;
  margin: 22px auto 0;
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--mute);
}
.px-lede--left { margin-left: 0; text-align: left; }
.px-h2 {
  font-family: var(--f-display);
  font-size: clamp(28px, 3.4vw, 44px);
  line-height: 1.06;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 14px;
}

/* --------------------------------------------------------------- cartes */
.px-plans { padding: 40px 0 20px; }
.px-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  align-items: start;
}
.px-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-l);
  background: var(--bg-card);
  box-shadow: var(--shadow-s);
}
.px-card--pop {
  border-color: var(--accent);
  border-width: 2px;
  box-shadow: var(--shadow-m);
}
.px-card__tag {
  position: absolute;
  top: -12px; left: 26px;
  padding: 4px 12px;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.px-card__name {
  font-family: var(--f-display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0;
}
.px-card__for {
  margin: 6px 0 0;
  font-size: 12.5px;
  line-height: 1.45;
  color: var(--mute);
  min-height: 36px;
}
.px-card__price {
  margin-top: 18px;
  font-family: var(--f-display);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}
.px-card__price small { font-size: 14px; font-weight: 500; color: var(--mute); }
.px-card__engage { margin-top: 6px; font-size: 11.5px; color: var(--mute-2); }
.px-card__cta { margin-top: 18px; justify-content: center; }
.px-card__list {
  list-style: none;
  margin: 20px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.px-card__list li {
  position: relative;
  padding-left: 20px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-2);
}
.px-card__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
  font-size: 12px;
}
.px-card__list .px-opt { color: var(--mute); }
.px-card__list .px-opt::before { content: "○"; color: var(--mute-2); font-weight: 400; }

.px-note {
  margin: 26px 0 0;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  background: var(--bg-soft);
  font-size: 13px;
  line-height: 1.55;
  color: var(--mute);
}
.px-note strong { color: var(--ink); }

/* ------------------------------------------------------------- comparatif */
.px-compare { padding: 80px 0 20px; }
.px-table-wrap { overflow-x: auto; margin-top: 26px; }
.px-table {
  width: 100%;
  min-width: 780px;
  border-collapse: collapse;
  font-size: 13.5px;
}
.px-table thead th {
  position: sticky;
  top: var(--nav-h);
  z-index: 2;
  padding: 16px 14px;
  background: var(--bg);
  border-bottom: 2px solid var(--line-2);
  font-family: var(--f-display);
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  color: var(--ink);
}
.px-table thead th span {
  display: block;
  font-family: var(--f-body);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--mute);
  margin-top: 2px;
}
.px-table thead th:first-child { text-align: left; }
.px-th-lab {
  font-size: 10.5px !important;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mute-2) !important;
}
.px-grp__h th {
  padding: 26px 14px 8px;
  text-align: left;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-dark);
  border-bottom: 1px solid var(--line);
}
.px-table tbody tr:not(.px-grp__h) th {
  padding: 12px 14px;
  text-align: left;
  font-weight: 500;
  color: var(--ink-2);
  border-bottom: 1px solid var(--line);
}
.px-table tbody td {
  padding: 12px 14px;
  text-align: center;
  border-bottom: 1px solid var(--line);
  color: var(--ink-2);
}
.px-table tbody tr:hover th,
.px-table tbody tr:hover td { background: var(--accent-ghost); }
.px-table td.is-pop, .px-table th.is-pop { background: var(--accent-soft); }
.px-table tbody tr:hover td.is-pop { background: var(--accent-soft-2); }
.px-oui { color: var(--ok); font-weight: 700; }
.px-non {
  color: var(--mute);
  font-size: 12.5px;
}
.px-val { font-size: 12.5px; }

/* ---------------------------------------------------------------- modules */
.px-modules { padding: 80px 0 0; }
.px-mods {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  border: 1px solid var(--line);
  border-radius: var(--r-m);
  overflow: hidden;
  background: var(--line);
}
.px-mods li {
  background: var(--bg-card);
  padding: 16px 18px;
}
.px-mods strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 3px;
}
.px-mods span { font-size: 12px; line-height: 1.45; color: var(--mute); }

/* -------------------------------------------------------------- faq / cta */
.px-faq { padding: 80px 0 0; }
.px-faq .faq { margin-top: 26px; }
.px-cta { padding: 90px 0 100px; text-align: center; }
.px-cta__btns { display: flex; gap: 12px; justify-content: center; margin-top: 26px; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 1100px) {
  .px-grid { grid-template-columns: repeat(2, 1fr); }
  .px-mods { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .px-wrap { padding: 0 20px; }
  .px-hero { padding-top: calc(var(--nav-h) + 50px); }
  .px-grid { grid-template-columns: 1fr; }
  .px-mods { grid-template-columns: 1fr; }
  .px-compare, .px-modules, .px-faq { padding-top: 60px; }
  .px-table thead th { position: static; }
  .px-cta__btns { flex-direction: column; }
}

/* Le logo de l accueil est un element anime pilote par wireframe.js, qui n est
   pas charge ici : sur cette page il lui faut une image bien reelle. */
.nav__logo--fixe img {
  display: block;
  width: 88px;
  height: auto;
}
