/* Offres : Pack Lancement, options à la carte, abonnements Sérénité, parrainage. Complète studio.css (accueil). */
.pack { display: grid; gap: 28px; margin-bottom: 36px; padding: clamp(24px, 4vw, 40px); border: 1px solid var(--accent); border-radius: var(--radius-lg); background: var(--surface); box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow); }
.pack h3 { margin-top: 12px; font-size: clamp(1.8rem, 3.4vw, 2.5rem); }
.pack-lead { margin-top: 10px; color: var(--muted); max-width: 48ch; }
.pack-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin: 18px 0 22px; }
.pack-price strong { font: 700 clamp(2.6rem, 5vw, 3.6rem)/1 var(--font-display); letter-spacing: -.04em; }
.pack-price span { color: var(--muted); font-size: .95rem; } .pack-price s { text-decoration-thickness: 1px; }
.pack-list { display: grid; gap: 0; align-content: start; list-style: none; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg); overflow: hidden; }
.pack-list li { display: grid; grid-template-columns: 22px 1fr auto; gap: 10px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); font-weight: 500; }
.pack-list li:last-child { border-bottom: 0; } .pack-list .icon { width: 18px; height: 18px; color: var(--accent); }
.pack-list em { font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; }
.pack-list .pack-total { grid-template-columns: 1fr auto; background: var(--surface-2); font-weight: 700; } .pack-list .pack-total em { color: var(--ink); }

.opts { margin-top: 36px; }
.opts-head { margin-bottom: 18px; } .opts-head h3 { font-size: 1.35rem; }
.opts-grid { display: grid; gap: 14px; list-style: none; }
.opts-grid li { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; align-items: baseline; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.opts-grid p { grid-column: 1 / -1; font-size: .92rem; }
.opt-price { font: 700 1.2rem/1 var(--font-display); letter-spacing: -.02em; color: var(--accent); }

.serenite { margin-top: 16px; }
.section-sub { max-width: 64ch; margin-bottom: 26px; } .section-sub h3 { margin-top: 12px; font-size: clamp(1.5rem, 2.6vw, 1.9rem); } .section-sub p { margin-top: 10px; color: var(--muted); }
.plans { display: grid; gap: 18px; }
.plan { position: relative; display: flex; flex-direction: column; gap: 6px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.plan.featured { border-color: var(--accent); box-shadow: 0 0 0 4px var(--accent-soft), var(--shadow-sm); }
.plan h4 { margin-top: 10px; font: 700 1.3rem/1.2 var(--font-display); letter-spacing: -.02em; }
.plan-price { display: flex; align-items: baseline; gap: 4px; margin-top: 4px; } .plan-price strong { font: 700 2.3rem/1 var(--font-display); letter-spacing: -.04em; } .plan-price span { color: var(--muted); }
.plan-year { color: var(--accent); font-weight: 600; font-size: .9rem; }
.plan .check-list { margin-top: 14px; }

.referral { display: grid; gap: 20px; align-items: center; margin-top: 36px; padding: 28px 34px; border: 1px dashed var(--accent); border-radius: var(--radius-lg); background: var(--accent-soft); }
.referral h3 { margin-top: 10px; font-size: 1.35rem; } .referral p { margin-top: 8px; color: var(--muted); max-width: 62ch; }

.estimate .choice[hidden], .estimate [data-hide-for][hidden] { display: none; }

@media (min-width: 760px) {
  .opts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .referral { grid-template-columns: 1fr auto; gap: 48px; }
}
@media (min-width: 960px) {
  .pack { grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
  .opts-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } .opts-grid li { grid-template-columns: 1fr; } .opt-price { order: -1; }
}
.pricing-label { margin-top: 56px; } .section-head + .pricing-label { margin-top: 0; }
.plan .badge { align-self: flex-start; }

/* ---------- Estimateur ---------- */
.estimate.est { margin-top: 56px; padding: clamp(20px, 4vw, 44px); background: var(--surface); box-shadow: var(--shadow-sm); }
.est .estimate-head h3 { font-size: clamp(1.5rem, 3vw, 1.9rem); } .est .estimate-head .muted { margin-top: 8px; }
.est-layout { display: grid; gap: 28px; margin-top: 28px; min-width: 0; }
.est-steps { display: grid; gap: 28px; min-width: 0; }
.est fieldset { min-width: 0; margin: 0; padding: 0; border: 0; display: block; }
.est [hidden] { display: none !important; }
.est legend { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; padding: 0; font: 600 1rem/1.3 var(--font); color: var(--ink); text-transform: none; letter-spacing: 0; }
.est legend small { color: var(--muted); font-weight: 500; }
.est legend i { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font: 700 .8rem/1 var(--font); font-style: normal; }
.est .est-sub { margin-top: -10px; padding: 16px; border: 1px dashed var(--line-strong); border-radius: 14px; }
.est .est-sub legend { margin-bottom: 10px; font-size: .92rem; }

.est .choice > span { padding: 14px 16px; border-radius: 14px; background: var(--bg); }
.est-cards { display: grid; gap: 12px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.est-card > span { position: relative; display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 2px 10px; min-height: 92px; }
.est-card strong { font-size: 1.02rem; } .est-card b { font: 700 1.15rem/1 var(--font-display); letter-spacing: -.02em; white-space: nowrap; }
.est-card small { grid-column: 1 / -1; align-self: end; }
.est-tag { position: absolute; top: -10px; left: 14px; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font: 600 .68rem/1.4 var(--font); font-style: normal; letter-spacing: .04em; text-transform: uppercase; }

.seg { display: grid; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); gap: 8px; }
.seg .choice > span { display: grid; place-items: center; min-height: 46px; padding: 10px 12px; text-align: center; font-weight: 600; font-size: .9rem; line-height: 1.25; }

.est-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.est-chip > span { display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: .92rem; }
.est-chip b { color: var(--accent); font-weight: 700; white-space: nowrap; }

.est-plans { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.est-plan > span { gap: 4px; min-height: 76px; align-content: center; }
.est .est-bill { margin-top: 12px; }
.est .estimate-hint { margin-top: 12px; }
.est-ref > span { display: grid; gap: 2px; }

.est-sum { padding: 26px; align-self: start; min-width: 0; }
.est-sum .btn { width: 100%; justify-content: center; }
.est-reassure { margin-top: 12px; text-align: center; color: var(--muted); font-size: .85rem; }
.est .estimate-lines li { align-items: baseline; } .est .estimate-lines li span:first-child { min-width: 0; overflow-wrap: anywhere; }

@media (min-width: 560px) { .est-plans { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1040px) {
  .est-layout { grid-template-columns: minmax(0, 1.55fr) minmax(300px, 1fr); gap: 40px; align-items: start; }
  .est-sum { position: sticky; top: 96px; }
  .est-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 480px) { .est-cards { grid-template-columns: 1fr; } .est-card > span { min-height: 0; } .seg { grid-template-columns: 1fr; } }
.est .estimate-total { font-size: clamp(1.7rem, 7.2vw, 2.6rem); white-space: nowrap; }
@media (min-width: 1040px) { .est .estimate-total { font-size: clamp(2rem, 3vw, 2.6rem); } }
