/* ═══════════════════════════════════════════════════════════════
   Pages Solutions — style inspiré de Stripe
   (dégradé en biais, typographie bleu nuit, maquettes d'interface en HTML)
   Utilisé par : les vues solutions/*.blade.php et pricing/index.blade.php (via solutions.partials.styles)
   ═══════════════════════════════════════════════════════════════ */

.stp {
  --stp-navy: #0a2540;
  --stp-slate: #425466;
  --stp-muted: #6b7c93;
  --stp-brand: #5533ff;
  --stp-brand-dark: #3d1fe0;
  --stp-cyan: #00d4ff;
  --stp-bg-soft: #f6f9fc;
  --stp-line: #e3e8ee;
  color: var(--stp-slate);
}

.stp h1,
.stp h2,
.stp h3 {
  color: var(--stp-navy);
  letter-spacing: -0.02em;
}

.stp-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.stp-section {
  position: relative;
  padding: 96px 0;
}

.stp-section--soft {
  background: var(--stp-bg-soft);
}

.stp-eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--stp-brand);
}

.stp-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0 0 16px;
}

.stp-lead {
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--stp-slate);
  max-width: 560px;
}

.stp-center {
  text-align: center;
}

.stp-center .stp-lead {
  margin-left: auto;
  margin-right: auto;
}

/* Boutons en pastille, comme Stripe */
.stp-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.stp-btn:hover {
  text-decoration: none;
}

.stp-btn--primary {
  background: var(--stp-navy);
  color: #fff;
}

.stp-btn--primary:hover {
  background: #1a3a5c;
  color: #fff;
}

.stp-btn--brand {
  background: var(--stp-brand);
  color: #fff;
}

.stp-btn--brand:hover {
  background: var(--stp-brand-dark);
  color: #fff;
}

.stp-btn--light {
  background: #fff;
  color: var(--stp-navy);
}

.stp-btn--light:hover {
  color: var(--stp-brand);
}

.stp-link {
  font-weight: 600;
  color: var(--stp-brand);
  text-decoration: none;
}

.stp-link:hover {
  color: var(--stp-navy);
  text-decoration: none;
}

/* ── En-tête : dégradé animé coupé en biais ──────────────────── */
.stp-hero {
  position: relative;
  padding: 150px 0 150px;
  overflow: hidden;
}

.stp-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, #2a12a8, #5533ff 30%, #8a4dff 50%, #00b4d8 75%, #5533ff 100%);
  background-size: 300% 300%;
  animation: stp-gradient 18s ease infinite;
  /* biais : bas à gauche (sous le texte), remonte à droite (les maquettes débordent sur le blanc) */
  clip-path: polygon(0 0, 100% 0, 100% 58%, 0 100%);
}

@keyframes stp-gradient {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@media (prefers-reduced-motion: reduce) {
  .stp-hero-gradient {
    animation: none;
  }
}

.stp-hero .stp-container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
}

.stp-hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 20px;
}

.stp-hero .stp-lead {
  color: rgba(255, 255, 255, 0.92);
}

.stp-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 28px;
}

.stp-hero .stp-hero-actions .stp-link {
  color: #fff;
}

.stp-hero .stp-hero-actions .stp-link:hover {
  color: rgba(255, 255, 255, 0.8);
}

.stp-operators {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}

.stp-operators span {
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
}

/* Maquettes empilées à droite de l'en-tête */
.stp-mockups {
  position: relative;
  min-height: 480px;
}

.stp-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 30px 60px -12px rgba(50, 50, 93, 0.25), 0 18px 36px -18px rgba(0, 0, 0, 0.3);
}

.stp-phone {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 20px;
  width: 270px;
  padding: 14px;
  border-radius: 28px;
}

.stp-phone-photo {
  height: 120px;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffb86b, #ff6a88 55%, #8a4dff);
  display: flex;
  align-items: flex-end;
  padding: 12px;
  color: #fff;
  font-weight: 700;
}

.stp-phone-body {
  padding: 12px 4px 4px;
}

.stp-phone-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--stp-navy);
}

.stp-chips {
  display: flex;
  gap: 6px;
  margin: 10px 0;
}

.stp-chips span {
  padding: 5px 11px;
  border: 2px solid var(--stp-line);
  border-radius: 9px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--stp-navy);
}

.stp-chips span.is-active {
  border-color: var(--stp-brand);
  background: #f3f0ff;
  color: var(--stp-brand);
}

.stp-field {
  padding: 9px 11px;
  margin-bottom: 8px;
  border: 1px solid var(--stp-line);
  border-radius: 9px;
  font-size: 0.8rem;
  color: var(--stp-muted);
}

.stp-pay-btn {
  padding: 11px;
  border-radius: 10px;
  background: var(--stp-brand);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  text-align: center;
}

.stp-toast {
  position: absolute;
  z-index: 3;
  right: 0;
  top: 0;
  width: 290px;
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.stp-toast-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--stp-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.stp-toast strong {
  display: block;
  font-size: 0.85rem;
  color: var(--stp-navy);
}

.stp-toast span {
  font-size: 0.8rem;
  color: var(--stp-slate);
}

.stp-toast-actions {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.stp-toast-actions em {
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 7px;
  background: var(--stp-brand);
  color: #fff;
}

.stp-toast-actions em.is-ghost {
  background: var(--stp-bg-soft);
  color: var(--stp-slate);
}

.stp-balance {
  position: absolute;
  z-index: 1;
  right: 10px;
  bottom: -40px;
  width: 300px;
  padding: 18px;
}

.stp-balance small {
  color: var(--stp-muted);
  font-size: 0.78rem;
}

.stp-balance-amount {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--stp-navy);
}

.stp-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 60px;
  margin: 12px 0 10px;
}

.stp-bars i {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(180deg, var(--stp-cyan), var(--stp-brand));
}

.stp-balance-line {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--stp-slate);
}

.stp-balance-line b {
  color: #0d9f6e;
}

/* ── Grilles de fonctionnalités (trait coloré à gauche du titre) ── */
.stp-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 32px;
  margin-top: 56px;
}

.stp-feature {
  display: block;
  color: var(--stp-slate);
  text-decoration: none;
}

a.stp-feature:hover {
  color: var(--stp-slate);
  text-decoration: none;
}

.stp-feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 10px;
  background: #fff;
  color: var(--stp-brand);
  box-shadow: 0 6px 16px -6px rgba(50, 50, 93, 0.25);
}

.stp-feature h3 {
  position: relative;
  margin: 0 0 8px;
  padding-left: 16px;
  font-size: 1.05rem;
  font-weight: 700;
}

.stp-feature h3::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  bottom: 2px;
  width: 2px;
  background: var(--stp-brand);
}

.stp-feature p {
  margin: 0 0 10px;
  padding-left: 16px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.stp-feature .stp-link {
  padding-left: 16px;
  font-size: 0.92rem;
}

a.stp-feature:hover .stp-link {
  color: var(--stp-navy);
}

/* ── Deux colonnes texte / maquette ─────────────────────────────── */
.stp-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.stp-split--reverse > :first-child {
  order: 2;
}

/* Étapes numérotées */
.stp-steps {
  list-style: none;
  padding: 0;
  margin: 28px 0;
  counter-reset: stp-step;
}

.stp-steps li {
  position: relative;
  padding: 0 0 24px 52px;
  counter-increment: stp-step;
}

.stp-steps li::before {
  content: counter(stp-step);
  position: absolute;
  left: 0;
  top: -2px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid var(--stp-brand);
  color: var(--stp-brand);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
}

.stp-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 36px;
  bottom: 2px;
  width: 2px;
  background: var(--stp-line);
}

.stp-steps strong {
  display: block;
  color: var(--stp-navy);
}

/* Maquette : conversation WhatsApp avec lien de paiement */
.stp-chat {
  max-width: 380px;
  margin: 0 auto;
  padding: 20px 16px;
  border-radius: 22px;
  background: #e9ddd2;
  background-image: radial-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px);
  background-size: 14px 14px;
}

.stp-bubble {
  max-width: 85%;
  margin-bottom: 10px;
  padding: 9px 12px;
  border-radius: 12px;
  font-size: 0.88rem;
  line-height: 1.4;
  color: #1f2c34;
  background: #fff;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}

.stp-bubble--me {
  margin-left: auto;
  background: #d9fdd3;
}

.stp-bubble small {
  display: block;
  margin-top: 3px;
  text-align: right;
  font-size: 0.7rem;
  color: #667781;
}

.stp-link-preview {
  margin: 6px 0;
  border-radius: 8px;
  overflow: hidden;
  background: #f0f2f5;
}

.stp-link-preview-img {
  height: 90px;
  background: linear-gradient(135deg, #ffb86b, #ff6a88 55%, #8a4dff);
}

.stp-link-preview div:last-child {
  padding: 8px 10px;
  font-size: 0.8rem;
}

.stp-link-preview b {
  display: block;
  color: #1f2c34;
}

.stp-paid {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: #0d9f6e;
}

/* Maquette : tableau de bord marchand */
.stp-dashboard {
  padding: 22px;
}

.stp-dashboard-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.stp-dashboard-head small {
  color: var(--stp-muted);
}

.stp-dashboard-head .stp-balance-amount {
  font-size: 1.6rem;
}

.stp-export {
  display: flex;
  gap: 6px;
}

.stp-export span {
  padding: 4px 9px;
  border: 1px solid var(--stp-line);
  border-radius: 7px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--stp-slate);
}

.stp-sparkline {
  width: 100%;
  height: 70px;
  margin-bottom: 12px;
}

.stp-table {
  width: 100%;
  font-size: 0.82rem;
  border-collapse: collapse;
}

.stp-table td {
  padding: 9px 4px;
  border-top: 1px solid var(--stp-line);
  color: var(--stp-slate);
}

.stp-table td:last-child {
  text-align: right;
  font-weight: 700;
  color: var(--stp-navy);
}

.stp-status {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
}

.stp-status--ok {
  background: #d7f7e9;
  color: #0d7a54;
}

.stp-status--wait {
  background: #fdf1d7;
  color: #9a6400;
}

/* Liste à coches */
.stp-checks {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
}

.stp-checks li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 16px;
  line-height: 1.55;
}

.stp-checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--stp-brand) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 11px no-repeat;
}

.stp-checks strong {
  color: var(--stp-navy);
}

/* ── Section développeurs : fond bleu nuit ─────────────────────── */
.stp-dark {
  background: var(--stp-navy);
  color: #adbdcc;
}

.stp-dark h2,
.stp-dark h3,
.stp-dark .stp-checks strong {
  color: #fff;
}

.stp-dark .stp-lead {
  color: #adbdcc;
}

.stp-dark .stp-eyebrow {
  color: var(--stp-cyan);
}

.stp-dark .stp-checks li::before {
  background-color: var(--stp-cyan);
}

.stp-dark .stp-link {
  color: var(--stp-cyan);
}

.stp-code-window {
  border-radius: 12px;
  background: #1a2c44;
  box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.stp-code-window + .stp-code-window {
  margin-top: 16px;
}

.stp-code-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  background: #13233a;
  font-size: 0.75rem;
  color: #8898aa;
}

.stp-code-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3c4f69;
}

.stp-code-bar span {
  margin-left: 8px;
}

.stp-code {
  margin: 0;
  padding: 16px 18px;
  font-size: 0.8rem;
  line-height: 1.65;
  color: #d8e1ec;
  white-space: pre;
  overflow-x: auto;
}

.stp-code .c { color: #6b7f99; }
.stp-code .k { color: #c792ea; }
.stp-code .s { color: #7fdbca; }
.stp-code .n { color: #f78c6c; }

/* ── Tarifs ─────────────────────────────────────────────────────── */
.stp-pricing {
  padding: 36px;
  text-align: center;
}

.stp-pricing-big {
  font-size: 3.4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--stp-navy);
}

.stp-pricing-plus {
  margin: 10px 0 4px;
  font-weight: 600;
  color: var(--stp-navy);
}

.stp-pricing small {
  color: var(--stp-muted);
}

/* ── Appel à l'action final (2 colonnes, comme Stripe) ──────────── */
.stp-cta {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.stp-cta-links {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
}

.stp-cta-links h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 12px 0 6px;
}

.stp-cta-links p {
  font-size: 0.92rem;
  margin: 0 0 8px;
}

/* ── Responsive ─────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  .stp-section {
    padding: 72px 0;
  }

  .stp-hero {
    padding: 120px 0 56px;
  }

  .stp-hero {
    padding-bottom: 90px;
  }

  .stp-hero-gradient {
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
  }

  .stp-hero .stp-container,
  .stp-split,
  .stp-cta {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }

  .stp-split--reverse > :first-child {
    order: 0;
  }

  .stp-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .stp-mockups {
    min-height: 0;
    display: flex;
    justify-content: center;
  }

  .stp-phone {
    position: relative;
    top: 0;
  }

  .stp-toast,
  .stp-balance {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .stp-container {
    padding: 0 16px;
  }

  .stp-section {
    padding: 56px 0;
  }

  .stp-features,
  .stp-cta-links {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .stp-pricing-big {
    font-size: 2.6rem;
  }

  .stp-dashboard {
    padding: 16px;
  }
}


/* ═══════════════  Compléments pour les autres pages Solutions  ═══════════════ */

/* Photo réelle (TPE) avec ombre portée */
.stp-hero-photo {
  display: flex;
  justify-content: center;
}

.stp-hero-photo img {
  max-height: 480px;
  width: auto;
  max-width: 100%;
  filter: drop-shadow(0 30px 40px rgba(10, 37, 64, 0.35));
}

.stp-photo {
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 32px rgba(10, 37, 64, 0.2));
}

/* Formulaire « Demande de paiement » du tableau de bord */
.stp-form-card {
  position: absolute;
  z-index: 2;
  left: 0;
  top: 40px;
  width: 300px;
  padding: 20px;
}

.stp-form-card h4 {
  margin: 0 0 14px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--stp-navy);
}

.stp-form-card label {
  display: block;
  margin-bottom: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--stp-muted);
}

.stp-form-card .stp-field {
  color: var(--stp-navy);
}

/* Notification posée dans le flux (pas superposée), visible aussi sur mobile */
.stp-toast.stp-toast--static {
  position: relative;
  inset: auto;
  display: flex;
  margin: 0 auto;
}

/* La notification reste visible sur la page Notifications */
.stp-toast--keep {
  top: 190px;
}

/* Carte « vos canaux d'encaissement » avec interrupteurs */
.stp-settings {
  position: relative;
  max-width: 400px;
  margin: 0 auto;
  padding: 6px 22px;
}

.stp-settings-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid var(--stp-line);
  font-weight: 600;
  color: var(--stp-navy);
}

.stp-settings-row:last-child {
  border-bottom: 0;
}

.stp-settings-row small {
  display: block;
  font-weight: 400;
  color: var(--stp-muted);
}

.stp-switch {
  flex-shrink: 0;
  position: relative;
  width: 38px;
  height: 22px;
  border-radius: 999px;
  background: var(--stp-brand);
}

.stp-switch::after {
  content: "";
  position: absolute;
  right: 3px;
  top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
}

/* Profils de clients (« Vous vendez sur les réseaux sociaux »…) */
.stp-segments {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 48px;
}

.stp-segment {
  display: flex;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--stp-line);
  border-radius: 16px;
  background: #fff;
  color: var(--stp-slate);
  text-decoration: none;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.stp-segment:hover {
  color: var(--stp-slate);
  text-decoration: none;
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -18px rgba(50, 50, 93, 0.35);
}

.stp-segment h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 14px 0 8px;
}

.stp-segment p {
  flex: 1;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Étapes horizontales (traitement d'une fraude) */
.stp-timeline {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 48px;
  counter-reset: stp-tl;
}

.stp-timeline > div {
  position: relative;
  padding-top: 52px;
  counter-increment: stp-tl;
}

.stp-timeline > div::before {
  content: counter(stp-tl);
  position: absolute;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--stp-brand);
  color: #fff;
  font-weight: 700;
}

.stp-timeline > div:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 17px;
  left: 48px;
  right: -16px;
  height: 2px;
  background: var(--stp-line);
}

.stp-timeline h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 6px;
}

/* Page de paiement en grand (page « Page de paiement ») */
.stp-phone--lg {
  position: relative;
  top: 0;
  width: 300px;
  margin: 0 auto;
}

.stp-phone-hero {
  height: 150px;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.65)), linear-gradient(135deg, #ffb86b, #ff6a88 55%, #8a4dff);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 12px;
  color: #fff;
}

.stp-phone-hero small {
  font-size: 0.72rem;
  opacity: 0.85;
}

.stp-phone-hero b {
  font-size: 1rem;
}

.stp-row {
  display: flex;
  gap: 8px;
  align-items: flex-end;
}

.stp-row .stp-field {
  flex: 1;
  margin-bottom: 0;
}

.stp-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--stp-line);
  border-radius: 9px;
  overflow: hidden;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--stp-navy);
}

.stp-qty span {
  padding: 8px 10px;
}

.stp-qty span:first-child,
.stp-qty span:last-child {
  background: var(--stp-bg-soft);
}

.stp-promo {
  margin: 10px 0 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--stp-brand);
}

.stp-phone-footer {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--stp-line);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--stp-navy);
}

.stp-phone-footer .stp-pay-btn {
  margin-top: 8px;
}

@media (max-width: 991.98px) {
  .stp-segments,
  .stp-timeline {
    grid-template-columns: minmax(0, 1fr);
  }

  .stp-timeline > div::after {
    display: none;
  }

  /* Maquettes empilées sur mobile au lieu d'être superposées */
  .stp-mockups--stack {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .stp-mockups--stack .stp-card {
    position: relative;
    display: block;
    top: auto;
    right: auto;
    left: auto;
    bottom: auto;
    width: 100%;
    max-width: 320px;
  }

  .stp-mockups--stack .stp-toast {
    display: flex;
  }
}


/* ═══════════════  Page Tarifs (pricing/index.blade.php)  ═══════════════ */

/* Carte de l'offre Standard dans l'en-tête */
.stp-plan {
  position: relative;
  z-index: 2;
  max-width: 420px;
  width: 100%;
  margin-left: auto;
  padding: 32px;
}

.stp-plan-name {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--stp-brand);
}

.stp-plan-price {
  margin: 10px 0 2px;
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--stp-navy);
}

.stp-plan-plus {
  font-weight: 600;
  color: var(--stp-navy);
}

.stp-plan-note {
  margin: 6px 0 20px;
  font-size: 0.88rem;
  color: var(--stp-muted);
}

.stp-plan .stp-checks {
  margin: 0 0 24px;
  padding-top: 20px;
  border-top: 1px solid var(--stp-line);
}

.stp-plan .stp-checks li {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.stp-plan .stp-btn {
  width: 100%;
  justify-content: center;
}

/* Simulateur « combien vais-je recevoir » */
.stp-calc {
  padding: 28px;
}

.stp-calc label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--stp-navy);
}

.stp-calc-input {
  display: flex;
  align-items: center;
  border: 2px solid var(--stp-line);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.stp-calc-input:focus-within {
  border-color: var(--stp-brand);
}

.stp-calc-input input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: 0;
  outline: none;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--stp-navy);
}

.stp-calc-input span {
  padding: 0 14px;
  font-weight: 700;
  color: var(--stp-muted);
}

.stp-calc-rows {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.stp-calc-rows li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--stp-line);
  font-size: 0.95rem;
}

.stp-calc-rows li b {
  color: var(--stp-navy);
  white-space: nowrap;
}

.stp-calc-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 16px;
  padding: 16px;
  border-radius: 12px;
  background: #ecfdf5;
}

.stp-calc-total span {
  font-weight: 700;
  color: #0d7a54;
}

.stp-calc-total b {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0d7a54;
  white-space: nowrap;
}

/* « Tout est inclus » : groupes de fonctionnalités */
.stp-included {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px 32px;
  margin-top: 48px;
}

.stp-included h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 700;
}

.stp-included .stp-feature-icon {
  margin-bottom: 0;
}

.stp-included .stp-checks {
  margin: 0;
}

.stp-included .stp-checks li {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

@media (max-width: 991.98px) {
  .stp-plan {
    margin: 0 auto;
  }

  .stp-included {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .stp-plan {
    padding: 24px;
  }

  .stp-plan-price {
    font-size: 2.6rem;
  }

  .stp-calc {
    padding: 20px;
  }

  .stp-included {
    grid-template-columns: minmax(0, 1fr);
  }
}
