/* =============================================================================
   DRIMBOT — Page Tarifs
   Formules, grille dégressive, exemple de devis.
   ============================================================================= */

/* ---------------------------------------------------------------------------
   Cartes formules
--------------------------------------------------------------------------- */
.plan {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.plan__head { margin-bottom: 1.1rem; }
.plan__name { margin-bottom: .15em; }
.plan__for {
  font-size: .85rem;
  color: var(--ink-2);
  min-height: 2.6em;
}
.plan__price-row {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  padding: 1rem 0 1.1rem;
  border-top: 1px solid var(--line);
  border-bottom: 1px dashed var(--line);
  margin-bottom: 1.2rem;
}
.plan__from {
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.plan__price {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  letter-spacing: -.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.plan__price .ht { font-size: .5em; font-weight: 700; color: var(--ink-3); margin-left: .15em; }
.plan .check-list { flex: 1; margin-bottom: 1.5rem; }
.plan .check-list li { font-size: .9rem; color: var(--ink-2); }

.plan--popular {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), var(--shadow-card);
}
.plan__badge {
  position: absolute;
  top: -13px;
  left: 50%;
  translate: -50% 0;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-mono);
  font-size: .66rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: .45em 1em;
  border-radius: var(--r-pill);
  white-space: nowrap;
}

/* ---------------------------------------------------------------------------
   Tableau des options — lignes de catégorie
--------------------------------------------------------------------------- */
.table-cat td {
  background: var(--paper-deep);
  font-family: var(--font-mono);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-2);
  padding-block: .6rem;
}
.table-cat td .dot { color: var(--accent); margin-right: .5em; }
.cell-incl { color: var(--ok); font-weight: 600; }

/* ---------------------------------------------------------------------------
   Exemple de devis
--------------------------------------------------------------------------- */
.devis-sheet {
  max-width: 640px;
  margin-inline: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-pop);
  padding: clamp(1.5rem, 4vw, 2.5rem);
  position: relative;
}
.devis-sheet__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding-bottom: 1.1rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--line);
}
.devis-sheet__ref {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.devis-sheet .cfg-line--total .price { font-size: 1.05rem; }
.devis-deposit {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  background: var(--accent-tint);
  border: 1px solid color-mix(in srgb, var(--accent) 30%, var(--line));
  border-radius: var(--r-md);
  padding: .9rem 1.2rem;
  margin-top: 1.1rem;
  font-size: .92rem;
}

/* ---------------------------------------------------------------------------
   Bandeau CTA final
--------------------------------------------------------------------------- */
.tarifs-cta__stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 3.5rem);
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgb(255 255 255 / .1);
}
