/* =============================================
   PAGES DE SERVICES — EasyLife Juridique
   Styles partagés entre les 4 templates
   ============================================= */

/* ── Wizard Création d'entreprise ────────────── */

/* Section wrapper */
.ejw-section {
  padding: 80px 24px;
  background: var(--gray-50);
  scroll-margin-top: 80px;
}

.ejw-outer {
  max-width: 820px;
  margin: 0 auto;
}

/* Notices globales */
.ejw-global-notice {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 22px;
  border-radius: var(--radius-md);
  margin-bottom: 28px;
  font-size: 14px;
  line-height: 1.6;
}
.ejw-global-notice span:first-child { font-size: 22px; flex-shrink: 0; }
.ejw-notice-success { background: #d4edda; border: 1px solid #c3e6cb; color: #155724; }
.ejw-notice-error   { background: #f8d7da; border: 1px solid #f5c6cb; color: #721c24; }
.ejw-notice-error a { color: #721c24; font-weight: 700; }

/* Coquille principale */
.ejw-shell {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* ── Barre de progression ── */
.ejw-progress-wrap {
  padding: 24px 32px 0;
}

.ejw-progress-track {
  height: 4px;
  background: var(--gray-200);
  border-radius: 100px;
  overflow: hidden;
  margin-bottom: 14px;
}

.ejw-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--navy), var(--gold));
  border-radius: 100px;
  transition: width .4s cubic-bezier(.4,0,.2,1);
}

.ejw-step-dots {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
}

.ejw-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--gray-200);
  transition: var(--transition);
}
.ejw-dot-active { background: var(--navy); transform: scale(1.3); }
.ejw-dot-done   { background: var(--gold-dark); }

/* ── Compteur étape ── */
.ejw-step-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 32px 0;
}

.ejw-step-counter {
  font-size: 12px;
  font-weight: 600;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: .6px;
}

.ejw-step-tag {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  background: rgba(26,58,92,.07);
  padding: 3px 10px;
  border-radius: 100px;
}

/* ── Viewport & étapes ── */
.ejw-viewport {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}

.ejw-step {
  display: none;
  padding: 36px 48px 20px;
  animation-duration: .35s;
  animation-fill-mode: both;
  animation-timing-function: cubic-bezier(.4,0,.2,1);
}

.ejw-step.ejw-active            { display: block; }
.ejw-step.ejw-slide-in-fwd      { animation-name: ejwSlideInFwd; }
.ejw-step.ejw-slide-in-bwd      { animation-name: ejwSlideInBwd; }

@keyframes ejwSlideInFwd {
  from { opacity: 0; transform: translateX(32px); }
  to   { opacity: 1; transform: translateX(0); }
}
@keyframes ejwSlideInBwd {
  from { opacity: 0; transform: translateX(-32px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Icône & question */
.ejw-step-icon {
  font-size: 40px;
  margin-bottom: 12px;
  display: block;
}

.ejw-question {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 8px;
}

.ejw-hint {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.65;
  margin-bottom: 28px;
}

.ejw-hint strong { color: var(--navy); }

/* Message d'erreur par étape */
.ejw-step-error {
  display: none;
  color: #dc3545;
  font-size: 13px;
  font-weight: 600;
  margin-top: 12px;
  padding: 10px 14px;
  background: rgba(220,53,69,.07);
  border-left: 3px solid #dc3545;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* ── Étape 1 : cartes forme juridique ── */
.ejw-formes-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.ejw-forme-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 22px 14px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ejw-forme-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26,58,92,.03);
  opacity: 0;
  transition: opacity .2s;
}

.ejw-forme-card:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); }
.ejw-forme-card:hover::after { opacity: 1; }

.ejw-forme-card.ejw-forme-selected {
  border-color: var(--navy);
  background: rgba(26,58,92,.04);
  box-shadow: 0 0 0 3px rgba(26,58,92,.12);
}

.ejw-forme-card.ejw-forme-selected::before {
  content: '✓';
  position: absolute;
  top: 8px; right: 10px;
  width: 20px; height: 20px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ejw-forme-icon { font-size: 30px; }
.ejw-forme-name { font-family: var(--font-heading); font-size: 16px; font-weight: 700; color: var(--navy); }
.ejw-forme-desc { font-size: 11px; color: var(--gray-600); line-height: 1.4; }
.ejw-forme-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  background: rgba(255,204,68,.2);
  padding: 3px 10px;
  border-radius: 100px;
  margin-top: 2px;
}
.ejw-forme-tag { font-size: 10px; color: var(--gray-600); text-transform: uppercase; letter-spacing: .5px; }

/* ── Étapes 2, 3, 5 : champs texte ── */
.ejw-input-wrap {
  position: relative;
  margin-bottom: 16px;
}

.ejw-input {
  width: 100%;
  padding: 16px 48px 16px 20px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 17px;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.ejw-input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(26,58,92,.08);
}

.ejw-input::placeholder { color: var(--gray-400); }

.ejw-input-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  pointer-events: none;
}

.ejw-input-suffix {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  color: var(--gray-600);
  font-size: 16px;
}

.ejw-textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--gray-50);
  resize: vertical;
  min-height: 90px;
  transition: var(--transition);
  margin-top: 8px;
}
.ejw-textarea:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(26,58,92,.08); background: var(--white); }
.ejw-textarea::placeholder { color: var(--gray-400); }

/* ── Étape 4 : capital chips ── */
.ejw-capital-chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.ejw-chip {
  padding: 10px 18px;
  border: 2px solid var(--gray-200);
  border-radius: 100px;
  background: var(--white);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: var(--transition);
}

.ejw-chip:hover { border-color: var(--gold); }

.ejw-chip.ejw-chip-selected {
  border-color: var(--navy);
  background: var(--navy);
  color: var(--white);
}

.ejw-capital-custom-wrap { margin-top: 8px; }

.ejw-step-skip {
  margin-top: 16px;
  text-align: center;
}

.ejw-skip-btn {
  background: none;
  border: none;
  color: var(--gray-600);
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
  transition: var(--transition);
}
.ejw-skip-btn:hover { color: var(--navy); }

/* ── Étape 5 : grille coordonnées ── */
.ejw-coords-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.ejw-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ejw-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.ejw-req { color: #dc3545; }

.ejw-coords-grid .ejw-input { font-size: 15px; padding: 13px 16px; }

/* ── Étape 6 : récapitulatif ── */
.ejw-recap {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 28px;
}

.ejw-recap-grid {
  display: flex;
  flex-direction: column;
}

.ejw-recap-row {
  display: grid;
  grid-template-columns: 28px 160px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 20px;
  border-bottom: 1px solid var(--gray-200);
  transition: background .15s;
}
.ejw-recap-row:last-child { border-bottom: none; }
.ejw-recap-row:hover { background: var(--white); }

.ejw-recap-ico { font-size: 16px; text-align: center; padding-top: 1px; }
.ejw-recap-key { font-size: 13px; font-weight: 600; color: var(--gray-600); }
.ejw-recap-val { font-size: 14px; font-weight: 600; color: var(--navy); line-height: 1.4; word-break: break-word; }

/* Bouton de soumission */
.ejw-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-size: 17px;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition);
  margin-bottom: 16px;
}

.ejw-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(26,58,92,.35);
}

.ejw-submit-btn:disabled { opacity: .7; cursor: not-allowed; transform: none; }

.ejw-submit-icon { font-size: 20px; }

/* Spinner */
.ejw-spinner {
  display: inline-block;
  width: 18px; height: 18px;
  border: 3px solid rgba(255,255,255,.3);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: ejwSpin .7s linear infinite;
  flex-shrink: 0;
}
@keyframes ejwSpin { to { transform: rotate(360deg); } }

.ejw-submit-trust {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--gray-600);
}

/* ── Barre de navigation ── */
.ejw-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 48px 32px;
  border-top: 1px solid var(--gray-100);
  background: var(--white);
}

.ejw-btn-back {
  background: none;
  border: none;
  color: var(--gray-600);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.ejw-btn-back:hover { color: var(--navy); background: var(--gray-100); }

.ejw-btn-continue {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition);
  margin: 0 auto;
}
.ejw-btn-continue:hover { background: var(--navy-light); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(26,58,92,.3); }

.ejw-arrow { display: inline-block; transition: transform .2s; }
.ejw-btn-continue:hover .ejw-arrow { transform: translateX(4px); }

/* ── Responsive wizard ── */
@media (max-width: 640px) {
  .ejw-step { padding: 28px 24px 16px; }
  .ejw-nav  { padding: 16px 24px 24px; }
  .ejw-progress-wrap, .ejw-step-meta { padding-left: 24px; padding-right: 24px; }
  .ejw-formes-grid  { grid-template-columns: 1fr 1fr; gap: 10px; }
  .ejw-coords-grid  { grid-template-columns: 1fr; }
  .ejw-recap-row    { grid-template-columns: 24px 1fr; }
  .ejw-recap-key    { display: none; }
  .ejw-capital-chips { gap: 8px; }
  .ejw-btn-continue { padding: 13px 24px; font-size: 14px; }
}

/* ── Ancien formulaire (compatibilité) ─────── */
.ej-form-section {
  padding: 80px 24px;
  background: var(--gray-50);
  scroll-margin-top: 80px;
}

.ej-form-wrap {
  max-width: 860px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

/* En-tête du formulaire */
.ej-form-header {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  padding: 40px 48px;
  position: relative;
  overflow: hidden;
}

.ej-form-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 80% 50%, rgba(255,204,68,.1) 0%, transparent 60%);
}

.ej-form-header-content { position: relative; z-index: 1; }

.ej-form-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,204,68,.15);
  border: 1px solid rgba(255,204,68,.3);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 14px;
}

.ej-form-header-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.ej-form-header-sub {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  line-height: 1.6;
}

.ej-form-header-kpis {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.ej-form-kpi {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: rgba(255,255,255,.7);
}

.ej-form-kpi .ico { color: var(--gold); }

/* Corps du formulaire */
.ej-form-body {
  padding: 40px 48px;
}

/* Notices succès / erreur */
.ej-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  margin-bottom: 28px;
  font-size: 14px;
  line-height: 1.55;
}

.ej-notice-success {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
}

.ej-notice-error {
  background: #f8d7da;
  border: 1px solid #f5c6cb;
  color: #721c24;
}

.ej-notice-icon { font-size: 20px; flex-shrink: 0; }

/* Choix forme juridique */
.ej-form-formes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 4px;
}

.ej-forme-label {
  cursor: pointer;
  position: relative;
}

.ej-forme-label input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}

.ej-forme-card {
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 16px 12px;
  text-align: center;
  transition: var(--transition);
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.ej-forme-card-icon { font-size: 24px; }

.ej-forme-card-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.ej-forme-card-price {
  font-size: 11px;
  color: var(--gray-600);
}

.ej-forme-label input:checked + .ej-forme-card {
  border-color: var(--navy);
  background: rgba(26,58,92,.04);
  box-shadow: 0 0 0 3px rgba(26,58,92,.1);
}

.ej-forme-label input:checked + .ej-forme-card .ej-forme-card-name {
  color: var(--navy);
}

.ej-forme-label:hover .ej-forme-card {
  border-color: var(--gold);
}

/* Champs du formulaire */
.ej-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.ej-form-row.full { grid-template-columns: 1fr; }

.ej-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 0;
}

.ej-form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 4px;
}

.ej-form-label .req {
  color: #dc3545;
  font-size: 14px;
  line-height: 1;
}

.ej-form-label .opt {
  font-size: 11px;
  font-weight: 400;
  color: var(--gray-600);
  margin-left: 4px;
}

.ej-form-input,
.ej-form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  transition: var(--transition);
  appearance: none;
  -webkit-appearance: none;
}

.ej-form-input:focus,
.ej-form-textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(26,58,92,.08);
}

.ej-form-input::placeholder,
.ej-form-textarea::placeholder { color: var(--gray-400); }

.ej-form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

/* Champ capital (caché pour auto-entrepreneur) */
.ej-capital-group {
  transition: opacity .25s ease, max-height .3s ease;
  overflow: hidden;
}

.ej-capital-group.hidden {
  opacity: 0;
  max-height: 0;
  pointer-events: none;
}

.ej-capital-group.visible {
  opacity: 1;
  max-height: 120px;
}

/* Séparateur section */
.ej-form-sep {
  margin: 28px 0 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.ej-form-sep-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: .8px;
  white-space: nowrap;
}

.ej-form-sep-line {
  flex: 1;
  height: 1px;
  background: var(--gray-200);
}

/* Pied du formulaire */
.ej-form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-100);
  flex-wrap: wrap;
}

.ej-form-trust {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ej-form-trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--gray-600);
}

.ej-form-trust-item .ico { color: var(--navy); }

.ej-form-submit {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 36px;
  background: var(--navy);
  color: var(--white);
  border: none;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.ej-form-submit:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26,58,92,.3);
}

.ej-form-submit:active { transform: translateY(0); }

.ej-form-submit .arrow { transition: transform .2s ease; }
.ej-form-submit:hover .arrow { transform: translateX(4px); }

/* Responsive formulaire */
@media (max-width: 640px) {
  .ej-form-header,
  .ej-form-body { padding: 28px 24px; }
  .ej-form-formes { grid-template-columns: repeat(2, 1fr); }
  .ej-form-row { grid-template-columns: 1fr; }
  .ej-form-footer { flex-direction: column; align-items: stretch; }
  .ej-form-submit { justify-content: center; width: 100%; }
}

/* ── Hero service ─────────────────────────────── */
.ejs-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  padding: 140px 24px 80px;
  position: relative;
  overflow: hidden;
}

.ejs-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom right, transparent 49%, var(--white) 50%);
}

.ejs-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 70% at 80% 50%, rgba(255,204,68,.07) 0%, transparent 60%);
}

.ejs-hero-inner {
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ejs-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 13px;
}

.ejs-breadcrumb a { color: rgba(255,255,255,.55); transition: var(--transition); }
.ejs-breadcrumb a:hover { color: var(--gold); }
.ejs-breadcrumb .sep { color: rgba(255,255,255,.3); }
.ejs-breadcrumb .current { color: var(--gold); font-weight: 500; }

.ejs-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,204,68,.12);
  border: 1px solid rgba(255,204,68,.25);
  color: var(--gold);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .6px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.ejs-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 16px;
}

.ejs-hero-title em { font-style: normal; color: var(--gold); }

.ejs-hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,.7);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 40px;
}

.ejs-hero-kpis {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.ejs-kpi {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ejs-kpi-icon {
  width: 38px; height: 38px;
  background: rgba(255,204,68,.12);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.ejs-kpi-value {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.ejs-kpi-label {
  font-size: 11px;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.ejs-cta-group {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.ejs-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.ejs-btn-primary {
  background: var(--gold);
  color: var(--navy);
}

.ejs-btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255,204,68,.4);
}

.ejs-btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,.35);
}

.ejs-btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.08);
}

/* ── Sections communes ────────────────────────── */
.ejs-section {
  padding: 80px 24px;
}

.ejs-section-alt { background: var(--gray-50); }

.ejs-container {
  max-width: 1240px;
  margin: 0 auto;
}

.ejs-section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 56px;
}

.ejs-chip {
  display: inline-block;
  background: rgba(26,58,92,.07);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 5px 14px;
  border-radius: 100px;
  border: 1px solid rgba(26,58,92,.1);
  margin-bottom: 14px;
}

.ejs-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 14px;
}

.ejs-title em { font-style: normal; color: var(--gold-dark); }

.ejs-desc {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* ── Ce qui est inclus ────────────────────────── */
.ejs-includes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.ejs-include-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  transition: var(--transition);
}

.ejs-include-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.ejs-include-check {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 2px;
}

.ejs-include-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.ejs-include-desc {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.5;
}

/* ── Processus étapes ─────────────────────────── */
.ejs-steps-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.ejs-steps-list::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 28px;
  bottom: 28px;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold) 0%, rgba(255,204,68,.2) 100%);
}

.ejs-step-row {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 20px 0;
  position: relative;
}

.ejs-step-num {
  width: 56px; height: 56px;
  background: var(--white);
  border: 3px solid var(--gold);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.ejs-step-content {
  padding-top: 10px;
  flex: 1;
}

.ejs-step-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.ejs-step-desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.65;
}

.ejs-step-badge {
  display: inline-block;
  background: rgba(26,58,92,.06);
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  margin-top: 8px;
}

/* ── Tarifs ───────────────────────────────────── */
.ejs-pricing-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.ejs-price-card {
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 36px;
  position: relative;
  overflow: hidden;
}

.ejs-price-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--navy), var(--gold));
}

.ejs-price-card-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 20px;
}

.ejs-price-amount {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.ejs-price-from {
  font-size: 13px;
  color: var(--gray-600);
}

.ejs-price-num {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}

.ejs-price-unit {
  font-size: 16px;
  color: var(--gray-600);
  font-weight: 400;
}

.ejs-price-note {
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 28px;
}

.ejs-price-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
}

.ejs-price-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
}

.ejs-price-features li::before {
  content: '✓';
  color: var(--navy);
  font-weight: 700;
  flex-shrink: 0;
}

.ejs-price-cta {
  width: 100%;
  justify-content: center;
  padding: 15px;
  font-size: 15px;
  border-radius: var(--radius-md);
}

/* Carte infos complémentaires */
.ejs-info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.ejs-info-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.ejs-info-card-icon {
  font-size: 24px;
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
}

.ejs-info-card-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.ejs-info-card-text {
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.55;
}

/* ── FAQ ──────────────────────────────────────── */
.ejs-faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ejs-faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.ejs-faq-item.open {
  border-color: var(--navy);
  box-shadow: var(--shadow-sm);
}

.ejs-faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  cursor: pointer;
  user-select: none;
  gap: 16px;
}

.ejs-faq-q-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}

.ejs-faq-icon {
  width: 28px; height: 28px;
  background: var(--gray-100);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px;
  color: var(--navy);
  flex-shrink: 0;
  transition: var(--transition);
}

.ejs-faq-item.open .ejs-faq-icon {
  background: var(--navy);
  color: var(--white);
  transform: rotate(45deg);
}

.ejs-faq-a {
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease, padding .2s ease;
}

.ejs-faq-item.open .ejs-faq-a {
  max-height: 400px;
  padding: 0 24px 20px;
}

.ejs-faq-a p {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

.ejs-faq-a a { color: var(--navy); text-decoration: underline; }

/* ── CTA final ────────────────────────────────── */
.ejs-cta-section {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 80px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ejs-cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(255,204,68,.07) 0%, transparent 60%);
}

.ejs-cta-inner {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.ejs-cta-title {
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
  line-height: 1.2;
}

.ejs-cta-title em { font-style: normal; color: var(--gold); }

.ejs-cta-sub {
  color: rgba(255,255,255,.65);
  font-size: 16px;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* ── Trust bar ────────────────────────────────── */
.ejs-trust-bar {
  background: var(--navy-dark);
  padding: 16px 24px;
}

.ejs-trust-bar-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.ejs-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.6);
  white-space: nowrap;
}

.ejs-trust-item .ico { color: var(--gold); font-size: 16px; }

/* ── Responsive ───────────────────────────────── */
@media (max-width: 1024px) {
  .ejs-includes-grid { grid-template-columns: repeat(2, 1fr); }
  .ejs-pricing-wrap { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}

@media (max-width: 640px) {
  .ejs-hero { padding: 110px 20px 60px; }
  .ejs-hero-kpis { gap: 16px; }
  .ejs-includes-grid { grid-template-columns: 1fr; }
  .ejs-cta-group { flex-direction: column; }
  .ejs-steps-list::before { display: none; }
  .ejs-section { padding: 56px 20px; }
}
