.pj-template-page {
  margin: 0;
  background: #f5f5f5;
  min-height: 100vh;
}

.pj-special-header {
  background: #ffffff;
  border-bottom: 5px solid #e7e7e7;
  position: sticky;
  top: 0;
  z-index: 50;
}

.pj-special-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pj-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pj-brand-logo {
  width: 160px;
  height: auto;
}

.pj-brand-pass-logo {
  width: 92px;
  height: auto;
}

.pj-brand-sep {
  font-weight: 800;
  color: #ff6600;
}

.pj-brand-pass {
  font-weight: 700;
  color: #1c1c1c;
}

.pj-whatsapp {
  display: inline-flex;
  flex-direction: column;
  text-align: right;
  text-decoration: none;
  color: #1c1c1c;
}

.pj-whatsapp span {
  font-size: 12px;
}

.pj-whatsapp strong {
  font-size: 15px;
  color: #2f39ff;
}

.pj-page-main {
  padding: 24px 0 40px;
}

.pj-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 16px;
}

.pj-card {
  background: #ffffff;
  border: 1px solid #ececec;
  border-bottom: 9px solid #d9dde3;
  border-radius: 24px;
  box-shadow: none;
  padding: 24px;
}

.pj-header h2 {
  margin: 0;
  font-size: 30px;
  color: #111111;
}

.pj-header p {
  margin-top: 10px;
  color: #4f4f4f;
}

.pj-message {
  margin: 16px 0;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 14px;
}

.pj-message.error {
  background: #ffe9ea;
  color: #9b1b2d;
  border: 1px solid #ffcfd3;
}

.pj-message.info {
  background: #eaf4ff;
  color: #114a88;
  border: 1px solid #d4e8ff;
}

.pj-form .pj-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.pj-stepper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 12px 0 18px;
}

.pj-step-dot {
  border: 1px solid #d7e3f1;
  border-radius: 12px;
  padding: 8px;
  text-align: center;
  background: #f7fbff;
  color: #6a7e97;
}

.pj-step-dot span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #dce8f7;
  color: #0e3e68;
  font-weight: 700;
}

.pj-step-dot small {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 700;
}

.pj-step-dot.active {
  border-color: #2f39ff;
  background: #eef0ff;
}

.pj-step-dot.done {
  border-color: #2c9661;
}

.pj-step-dot.done span {
  background: #2c9661;
  color: #fff;
}

.pj-step {
  display: none;
}

.pj-step.active {
  display: block;
}

.pj-step h3 {
  margin: 8px 0 12px;
  color: #111111;
}

.pj-niveau-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.pj-niveau-card {
  position: relative;
  border: 1px solid #d2deed;
  border-radius: 12px;
  background: #fff;
  padding: 12px;
  cursor: pointer;
}

.pj-niveau-card input {
  position: absolute;
  opacity: 0;
}

.pj-niveau-card span {
  display: block;
  font-weight: 700;
  color: #174164;
}

.pj-niveau-card:has(input:checked) {
  border-color: #2f39ff;
  box-shadow: none;
  background: #f0f2ff;
}

.pj-niveau-card.selected {
  border-color: #2f39ff;
  box-shadow: none;
  background: #f0f2ff;
}

.pj-filieres-zone {
  margin-top: 14px;
}

.pj-form label {
  display: block;
  font-size: 13px;
  color: #1c3550;
  font-weight: 600;
}

.pj-form input,
.pj-form select {
  width: 100%;
  margin-top: 6px;
  border: 1px solid #cfdae8;
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 15px;
}

.pj-form input[readonly] {
  background: #f5f8fd;
  color: #4d6280;
}

.pj-actions {
  margin-top: 18px;
}

.pj-actions.split {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.pj-actions button,
.pj-offer-btn {
  background: linear-gradient(253.58deg, #5572ff 1.55%, #484dfb 95.8%);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0px 5px #2b3aff;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pj-actions button:hover,
.pj-offer-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0px 7px #2b3aff;
}

.pj-actions button:active,
.pj-offer-btn:active {
  transform: translateY(0px);
  box-shadow: 0px 3px #2b3aff;
}

.pj-actions button.secondary {
  background: #ffffff;
  color: #1c1c1c;
  border: 2px solid #dbdbdb;
  box-shadow: 0px 4px #cfd3d8;
}

.pj-actions button:disabled,
.pj-offer-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.pj-offers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 16px;
}

.pj-offer-card {
  border: 1px solid #ececec;
  border-bottom: 9px solid #d9dde3;
  border-radius: 24px;
  padding: 18px;
  background: #ffffff;
  box-shadow: none;
}

.pj-offer-card h3 {
  margin: 0 0 8px;
  color: #111111;
  font-size: 20px;
}

.pj-discount {
  color: #ff6600;
  font-weight: 700;
  margin-bottom: 12px;
}

.pj-prices p {
  margin: 0 0 6px;
  color: #355372;
}

@media (max-width: 800px) {
  .pj-special-header-inner {
    gap: 10px;
  }

  .pj-brand-logo {
    width: 120px;
  }

  .pj-brand-pass-logo {
    width: 74px;
  }

  .pj-whatsapp strong {
    font-size: 13px;
  }

  .pj-form .pj-grid,
  .pj-offers-grid,
  .pj-niveau-cards {
    grid-template-columns: 1fr;
  }

  .pj-header h2 {
    font-size: 24px;
  }
}
