/* ============================================================
   Pricing — Tableau comparatif "bande condensée"
   Source: docs/Pricing-page/ (Claude Design)
   Accent aligné sur le thème projet (#2a9d8f) au lieu du #22d3a0
   d'origine — cohérence avec .pld-root (nav).
   Tout est scopé sous .pl-stage (fonctionne hors .pld-root, ex.
   navbar app pour user connecté).
   ============================================================ */

.pl-stage {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  background: #07090b;
  color: #e8eef0;
  font-family: var(--font-geist), -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  padding: 8px 12px 12px;
}
.pl-stage *,
.pl-stage *::before,
.pl-stage *::after {
  box-sizing: border-box;
}
.pl-atmos {
  position: absolute;
  top: -40px;
  left: -40px;
  right: -40px;
  height: 340px;
  pointer-events: none;
  background:
    radial-gradient(60% 70% at 30% 0%, rgba(42, 157, 143, 0.08), transparent 60%),
    radial-gradient(40% 60% at 92% 0%, rgba(42, 157, 143, 0.05), transparent 70%);
}
.pl-stage > *:not(.pl-atmos) {
  position: relative;
  z-index: 1;
}

/* ---------- header ---------- */
.pl-head {
  max-width: 640px;
  margin: 0 auto 32px;
  text-align: center;
}
.pl-head.left {
  margin-left: 4px;
  text-align: left;
}
.pl-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-jetbrains-mono), monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6a7479;
  margin-bottom: 14px;
}
.pl-eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #2a9d8f;
  box-shadow: 0 0 8px #2a9d8f;
}
.pl-h2 {
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-weight: 500;
  margin: 0;
  text-wrap: balance;
}
.pl-h2 em {
  font-family: var(--font-instrument-serif), serif;
  font-style: italic;
  font-weight: 400;
  color: #2a9d8f;
  letter-spacing: -0.01em;
}
.pl-sub {
  margin: 14px auto 0;
  font-size: 15px;
  color: #aab4b9;
  max-width: 480px;
}
.pl-head.left .pl-sub {
  margin-left: 0;
}

/* ---------- buttons ---------- */
.pl-btn {
  width: fit-content;
  margin-inline: auto;
  padding: 13px 22px;
  border-radius: 10px;
  font-family: var(--font-geist), sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}
.pl-btn.primary {
  background: #2a9d8f;
  color: #04130d;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 8px 24px -8px rgba(42, 157, 143, 0.55);
}
.pl-btn.primary:hover {
  transform: translateY(-1px);
}
.pl-btn.ghost {
  background: transparent;
  color: #e8eef0;
  border-color: #1c2329;
}
.pl-btn.ghost:hover {
  border-color: #2a343b;
  background: #0e1318;
}
.pl-btn.sm {
  padding: 9px 12px;
  font-size: 13px;
}
.pl-btn:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.pl-ic-on {
  display: inline-block;
  color: #2a9d8f;
}
.pl-t-num {
  font-family: var(--font-jetbrains-mono), monospace;
  color: #e8eef0;
  font-size: 14px;
}
.pl-t-ico {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-right: 6px;
  vertical-align: -1px;
  background-color: #6a7479;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.pl-t-ico--hh {
  -webkit-mask-image: url("/images/icons/shared/hh.svg");
  mask-image: url("/images/icons/shared/hh.svg");
}
.pl-t-ico--analyse {
  -webkit-mask-image: url("/images/icons/shared/analyse.svg");
  mask-image: url("/images/icons/shared/analyse.svg");
}
.pl-t-ico--range {
  -webkit-mask-image: url("/images/icons/shared/range.svg");
  mask-image: url("/images/icons/shared/range.svg");
}
.pl-t-dash {
  color: #3a4248;
  font-size: 16px;
}

/* ---------- bande condensée ---------- */
.pl-bc-wrap {
  max-width: 900px;
  margin: 0 auto;
}
.pl-bc {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  table-layout: fixed;
}
.pl-bc col {
  width: 18.66%;
}
.pl-bc col:first-child {
  width: 44%;
}
.pl-b-bandcol {
  background: rgba(42, 157, 143, 0.04);
}
.pl-bc-corner {
  width: 44%;
}

.pl-bc-ph {
  text-align: center;
  padding: 16px 10px 14px;
  vertical-align: bottom;
  position: relative;
  border-bottom: 1px solid #1c2329;
}
.pl-bc-ph.pop {
  background: rgba(42, 157, 143, 0.08);
  border-radius: 12px 12px 0 0;
  box-shadow:
    inset 1px 0 0 rgba(42, 157, 143, 0.22),
    inset -1px 0 0 rgba(42, 157, 143, 0.22),
    inset 0 1px 0 rgba(42, 157, 143, 0.22);
}
.pl-b-badge {
  display: block;
  font-family: var(--font-jetbrains-mono), monospace;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #2a9d8f;
  margin-bottom: 5px;
}
.pl-b-pname {
  font-size: 16px;
  font-weight: 600;
  display: block;
}
.pl-b-price {
  display: block;
  margin-top: 4px;
}
.pl-b-price .v {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.pl-b-price .p {
  font-size: 11px;
  color: #6a7479;
  margin-left: 3px;
}

.pl-bc-row td {
  padding: 7px 12px;
  border-top: 1px solid #14191d;
}
.pl-bc-row.grp-start td {
  border-top-color: #222a30;
}
.pl-bc-row.grp-gap td {
  padding-top: 16px;
}
.pl-bc-name {
  vertical-align: bottom;
}
.pl-bc-glabel {
  display: block;
  font-family: var(--font-jetbrains-mono), monospace;
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6a7479;
  margin-bottom: 5px;
}
.pl-bc-rn {
  color: #aab4b9;
  font-size: 13.5px;
}
.pl-bc-note {
  display: block;
  margin-top: 3px;
  font-size: 11px;
  font-style: italic;
  color: #6a7479;
}
.pl-bc-approx {
  display: block;
  margin-top: 3px;
  font-family: var(--font-jetbrains-mono), monospace;
  font-size: 10px;
  letter-spacing: 0.02em;
  color: #6a7479;
}
/* ---------- tooltip ---------- */
.pl-tip {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 6px;
  vertical-align: -2px;
  cursor: help;
  color: #6a7479;
  transition: color 0.15s ease;
}
.pl-tip:hover,
.pl-tip:focus-visible {
  color: #2a9d8f;
  outline: none;
}
.pl-tip-box {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  width: max-content;
  max-width: 260px;
  padding: 9px 11px;
  background: #101418;
  border: 1px solid #1c2329;
  border-radius: 8px;
  box-shadow: 0 8px 24px -8px rgba(0, 0, 0, 0.7);
  color: #aab4b9;
  font-family: var(--font-geist), sans-serif;
  font-size: 12px;
  font-style: normal;
  line-height: 1.45;
  letter-spacing: 0;
  text-transform: none;
  text-align: left;
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  transform: translateY(2px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  z-index: 20;
  pointer-events: none;
}
.pl-tip:hover .pl-tip-box,
.pl-tip:focus-visible .pl-tip-box {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.pl-bc-cell {
  text-align: center;
  vertical-align: middle;
}
.pl-bc-cell .pl-ic-on {
  vertical-align: -2px;
}
.pl-b-band {
  background: rgba(42, 157, 143, 0.06);
}

.pl-bc-cta td {
  position: sticky;
  /* dégage le SlimFooter légal global (fixed, bottom:0, ~35px) */
  bottom: 44px;
  z-index: 2;
  padding: 14px 10px;
  text-align: center;
  vertical-align: top;
  border-top: 1px solid #1c2329;
  background: #07090b;
}
.pl-bc-cta .pl-b-band {
  /* tint opaque (sinon le contenu scrollé transparaît sous le sticky) */
  background: linear-gradient(rgba(42, 157, 143, 0.06), rgba(42, 157, 143, 0.06)), #07090b;
  border-top: none;
  border-radius: 0 0 12px 12px;
  box-shadow:
    inset 1px 0 0 rgba(42, 157, 143, 0.22),
    inset -1px 0 0 rgba(42, 157, 143, 0.22),
    inset 0 -1px 0 rgba(42, 157, 143, 0.22);
}

/* ---------- mobile : cartes empilées (remplace le tableau) ---------- */
.pl-cards {
  display: none;
}
.pl-card {
  position: relative;
  background: #0b0e11;
  border: 1px solid #1c2329;
  border-radius: 14px;
  padding: 18px 16px;
}
.pl-card.pop {
  border-color: rgba(42, 157, 143, 0.4);
  background: linear-gradient(rgba(42, 157, 143, 0.05), rgba(42, 157, 143, 0.05)), #0b0e11;
}
.pl-card .pl-b-badge {
  margin-bottom: 8px;
}
.pl-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid #1c2329;
}
.pl-card-cta {
  margin: 14px 0 4px;
}
.pl-card-cta .pl-btn {
  width: 100%;
  margin: 0;
}
.pl-card-group {
  margin-top: 14px;
}
.pl-card-group .pl-bc-glabel {
  margin-bottom: 8px;
}
.pl-card-rows {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pl-card-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 0;
  border-top: 1px solid #14191d;
}
.pl-card-row:first-child {
  border-top: none;
}
.pl-card-rn {
  display: flex;
  flex-direction: column;
  color: #aab4b9;
  font-size: 13.5px;
}
.pl-card-rn-name {
  display: inline-flex;
  align-items: center;
}
.pl-card-val {
  flex-shrink: 0;
  text-align: right;
}

@media (max-width: 720px) {
  .pl-bc-wrap {
    display: none;
  }
  .pl-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
  }
}

