/* ═══════════════════════════════════════
   RENECT — Styles Inscription Artisan
   ═══════════════════════════════════════ */

/* ── LAYOUT ── */
.inscription-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  min-height: calc(100vh - 68px);
  padding-top: 68px;
}

.inscription-main {
  padding: 56px 64px;
  margin: 0 auto;
}

.inscription-sidebar {
  background: linear-gradient(180deg, #0f172a, #1e293b);
  background: var(--dark);
  padding: 48px 32px;
  position: sticky;
  top: 68px;
  height: calc(100vh - 68px);
  overflow-y: auto;
}

/* ── HEADER ── */
.inscription-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(184,130,10,0.08);
  border: 1px solid rgba(184,130,10,0.2);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inscription-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 12px;
}

.inscription-sub {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 40px;
  max-width: 520px;
}

/* ── PROGRESS ── */
.inscription-progress {
  display: flex;
  gap: 6px;
  margin-bottom: 40px;
}

.prog-step {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  transition: background 0.4s ease;
}
.prog-step.done   { background: var(--success); }
.prog-step.active { background: var(--gold); }

/* ── ÉTAPES ── */
.etape { display: none; animation: fadeIn 0.3s ease; }
.etape.active { display: block; }

.etape-eyebrow {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.etape-title {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}

.etape-sub {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 28px;
}

/* ── FORM CARD ── */

.form-input, .form-select, .form-textarea {
  background: #fafafa;
  border: 1px solid #e5e5e5;
}

.form-input:focus {
  background: white;
}

.form-card {
  background: white;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 20px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.04);
}

.form-card-title {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── MÉTIER GRID ── */

.metier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
}
.metier-btn {
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 16px 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  background: white;
}
.metier-btn:hover {
  border-color: var(--gold);
  background: #FFFBF5;
  transform: translateY(-2px);
}

.metier-btn.selected {
  border-color: var(--gold);
  background: #FFFBF5;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}


.metier-btn .mi { font-size: 1.5rem; margin-bottom: 6px; display: block; }
.metier-btn .ml { font-size: 0.75rem; font-weight: 600; color: var(--text); }
.metier-btn .ms { font-size: 0.65rem; color: var(--muted); margin-top: 2px; }

/* ── CERTIFICATIONS ── */
.cert-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cert-tag {
  padding: 8px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  color: var(--muted);
  background: white;
}
.cert-tag:hover   { border-color: var(--gold); color: var(--gold); }
.cert-tag.selected {
  border-color: var(--gold);
  background: rgba(184,130,10,0.08);
  color: var(--gold);
}

/* ── ZONE TAGS ── */
.zone-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.zone-tag {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(184,130,10,0.08);
  border: 1px solid rgba(184,130,10,0.25);
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
}

.zone-tag-remove {
  cursor: pointer;
  opacity: 0.6;
  font-size: 0.7rem;
  transition: opacity 0.2s;
  background: none;
  border: none;
  color: var(--gold);
  padding: 0;
  line-height: 1;
}
.zone-tag-remove:hover { opacity: 1; }

/* ── DOCUMENT UPLOAD ── */
.doc-list { display: flex; flex-direction: column; gap: 10px; }

.doc-item {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1.5px dashed var(--border);
  border-radius: 10px;
  padding: 14px 16px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
}
.doc-item:hover { border-color: var(--gold); background: #FFFBF5; }
.doc-item.uploaded { border-style: solid; border-color: var(--success); background: #F0FDF4; }
.doc-item.required-missing { border-color: var(--error); background: #FFF5F5; }

.doc-item input[type="file"] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}

.doc-icon { font-size: 1.5rem; flex-shrink: 0; }
.doc-info { flex: 1; }
.doc-name { font-size: 0.84rem; font-weight: 600; margin-bottom: 2px; }
.doc-status { font-size: 0.72rem; }
.doc-status.required { color: var(--error); }
.doc-status.optional { color: var(--muted); }
.doc-status.uploaded { color: var(--success); font-weight: 600; }

.doc-action {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--gold);
  flex-shrink: 0;
}

/* ── TARIF CARD ── */
.tarif-card {
  background: var(--dark);
  border: 1px solid rgba(184,130,10,0.3);
  border-radius: var(--radius);
  padding: 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
}

.tarif-ribbon {
  position: absolute;
  top: 20px;
  right: -28px;
  background: var(--gold);
  color: white;
  font-size: 0.58rem;
  font-weight: 700;
  padding: 4px 40px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(35deg);
}

.tarif-label {
  font-size: 0.7rem;
  font-weight: 700;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}

.tarif-old {
  font-size: 1rem;
  color: rgba(255,255,255,0.3);
  text-decoration: line-through;
  margin-bottom: 4px;
}

.tarif-price {
  font-family: 'Fraunces', serif;
  font-size: 3.2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.tarif-price sup { font-size: 1.4rem; vertical-align: super; }
.tarif-price span { font-size: 1rem; color: rgba(255,255,255,0.4); font-family: 'DM Sans', sans-serif; font-weight: 400; }

.tarif-duration {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.35);
  margin-bottom: 24px;
}

.tarif-features {
  list-style: none;
  text-align: left;
  margin-bottom: 28px;
}

.tarif-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.7);
  padding: 9px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.tarif-features li:last-child { border-bottom: none; }
.tarif-features li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

/* ── SIDEBAR ── */
.sidebar-section { margin-bottom: 32px; }

.sidebar-title {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 16px;
}

.sidebar-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.sidebar-step:last-child { border-bottom: none; }

.sidebar-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
}
.sidebar-step-num.active { background: var(--gold); color: white; }
.sidebar-step-num.done   { background: var(--success); color: white; }

.sidebar-step-content h5 {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255,255,255,0.7);
  margin-bottom: 2px;
}
.sidebar-step-content p {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.28);
  line-height: 1.4;
}

.sidebar-guarantee {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 12px;
  padding: 20px;
}

.sidebar-guarantee-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
.sidebar-guarantee-item:last-child { margin-bottom: 0; }

.sg-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(184,130,10,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.sg-text { font-size: 0.75rem; color: rgba(255,255,255,0.35); line-height: 1.5; }
.sg-text strong { color: rgba(255,255,255,0.65); display: block; margin-bottom: 1px; }

/* ── BOUTONS ROW ── */
.btn-row { display: flex; gap: 12px; margin-top: 24px; }

.btn-next-i {
  flex: 1;
  padding: 15px;
  background: var(--dark);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}
.btn-next-i:hover { background: var(--charcoal); transform: translateY(-1px); }

.btn-prev-i {
  padding: 15px 22px;
  background: white;
  color: var(--text);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}
.btn-prev-i:hover { border-color: var(--gold); color: var(--gold); }

.btn-submit-i {
  flex: 1;
  padding: 15px;
  background: var(--gold);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition);
}
.btn-submit-i:hover { background: var(--gold2); transform: translateY(-1px); }

/* ── SUCCESS ── */
.success-inscription {
  display: none;
  text-align: center;
  padding: 80px 32px;
  max-width: 560px;
  margin: 0 auto;
  animation: fadeIn 0.5s ease;
}
.success-inscription.show { display: block; }

.si-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #D1FAE5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 24px;
}

.si-title {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.si-ref {
  display: inline-block;
  background: #F5F2ED;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 20px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 16px;
  font-family: monospace;
}

.si-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 32px auto 0;
  max-width: 520px;
}

.si-step {
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 14px;
  text-align: center;
}

.si-step-num {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--gold);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  margin: 0 auto 10px;
}

.si-step-title { font-size: 0.8rem; font-weight: 600; margin-bottom: 4px; }
.si-step-desc  { font-size: 0.7rem; color: var(--muted); line-height: 1.4; }

/* ── CGU ── */
.cgu-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 20px;
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 14px;
}
.cgu-check { width: 20px; height: 20px; accent-color: var(--gold); flex-shrink: 0; margin-top: 2px; cursor: pointer; }
.cgu-text { font-size: 0.78rem; color: var(--muted); line-height: 1.55; }
.cgu-text a { color: var(--gold); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .inscription-layout { grid-template-columns: 1fr; }
  .inscription-sidebar { display: none; }
  .inscription-main { padding: 40px 24px 60px; max-width: 100%; }
  .metier-grid { grid-template-columns: repeat(2, 1fr); }
  .si-steps { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .metier-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .inscription-main {
    padding: 24px 16px 40px;
  }

  .form-card {
    padding: 20px;
  }

  .btn-row {
    flex-direction: column;
  }

  .btn-prev-i {
    width: 100%;
  }

  .btn-next-i {
    width: 100%;
  }
}
@media (max-width: 768px) {
  .btn-row {
    position: sticky;
    bottom: 0;
    background: white;
    padding: 12px;
    border-top: 1px solid #eee;
    margin-top: 20px;
  }
}

/* ═══════════════════════════════════════
   RENECT — Page Inscription par étapes
   (anciennement <style> inline de inscription.html)
   ═══════════════════════════════════════ */

/* ── LAYOUT (variante .insc-*) ── */
.insc-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  min-height: calc(100vh - var(--nav-h, 70px));
  padding-top: var(--nav-h, 70px);
}
.insc-main { padding: 48px 56px 80px; max-width: 780px; }
.insc-sidebar {
  background: var(--dark);
  padding: 40px 28px;
  position: sticky;
  top: var(--nav-h, 70px);
  height: calc(100vh - var(--nav-h, 70px));
  overflow-y: auto;
}

/* ── HEADER ── */
.insc-eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(184,130,10,0.08);
  border: 1px solid rgba(184,130,10,0.2);
  color: var(--gold);
  font-size: 0.68rem; font-weight: 700;
  padding: 4px 12px; border-radius: 100px;
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 18px;
}
.insc-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.7rem, 3vw, 2.2rem);
  font-weight: 900; line-height: 1.1;
  letter-spacing: -0.025em; margin-bottom: 10px;
}
.insc-sub { font-size: 0.88rem; color: var(--muted); line-height: 1.7; margin-bottom: 32px; max-width: 540px; }

/* ── PROGRESS (variante .prog-bar) ── */
.prog-bar { display: flex; gap: 5px; margin-bottom: 36px; }

/* ── ÉTAPES (utilise déjà .etape/.etape-eyebrow/.etape-title/.etape-sub définis plus haut) ── */
@keyframes fadeIn { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }

/* ── FORMULAIRES (champs génériques utilisés par insc-main) ── */
.form-group  { margin-bottom: 18px; }
.form-label  { display: block; font-size: 0.8rem; font-weight: 600; margin-bottom: 7px; color: var(--text); }
.form-label .req { color: var(--gold); }
.form-label .opt { font-weight: 400; color: var(--muted); font-size: 0.7rem; margin-left: 4px; }
.form-input, .form-select, .form-textarea {
  width: 100%; border: 1.5px solid #e5e5e5; border-radius: 9px; padding: 11px 14px;
  font-size: 0.85rem; color: var(--text); background: #fafafa; outline: none;
  transition: all 0.2s; font-family: 'DM Sans', sans-serif;
}
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184,130,10,0.1); background: #fff; }
.form-input.error { border-color: var(--error); box-shadow: 0 0 0 3px rgba(220,38,38,0.08); }
.form-textarea { min-height: 100px; resize: vertical; line-height: 1.6; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-hint { font-size: 0.7rem; color: var(--muted); margin-top: 5px; line-height: 1.5; }
.form-error { font-size: 0.72rem; color: var(--error); margin-top: 5px; display: none; align-items: center; gap: 4px; }
.form-error.show { display: flex; }

/* ── KBIS UPLOAD ── */
.kbis-upload { border: 2px dashed var(--border); border-radius: 10px; padding: 20px; text-align: center; cursor: pointer; transition: all 0.2s; background: #fafafa; position: relative; }
.kbis-upload:hover { border-color: var(--gold); background: rgba(184,130,10,0.03); }
.kbis-upload.uploaded { border-style: solid; border-color: var(--success); background: #F0FDF4; }
.kbis-upload.missing  { border-color: var(--error); background: #FFF5F5; }
.kbis-upload input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.kbis-icon  { font-size: 1.8rem; margin-bottom: 8px; }
.kbis-label { font-size: 0.85rem; font-weight: 600; margin-bottom: 4px; }
.kbis-sub   { font-size: 0.72rem; color: var(--muted); }
.kbis-ok    { font-size: 0.78rem; font-weight: 700; color: var(--success); margin-top: 6px; }

/* ── CERTIFICATIONS (variante checkbox grid) ── */
.cert-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cert-check { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; background: #fafafa; border: 1.5px solid #e5e5e5; border-radius: 9px; cursor: pointer; transition: all 0.2s; }
.cert-check:hover { border-color: var(--gold); background: rgba(184,130,10,0.03); }
.cert-check input[type="checkbox"] { accent-color: var(--gold); width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; cursor: pointer; }
.cert-check-text { flex: 1; }
.cert-check-label { font-size: 0.82rem; font-weight: 600; cursor: pointer; display: block; }
.cert-check-sub   { font-size: 0.68rem; color: var(--muted); margin-top: 2px; line-height: 1.4; }

/* ── UPLOAD DOCS OPTIONNELS (variante .doc-upload-item) ── */
.doc-upload-item { display: flex; align-items: center; gap: 12px; border: 1.5px dashed #e5e5e5; border-radius: 9px; padding: 12px 14px; cursor: pointer; transition: all 0.2s; position: relative; margin-bottom: 8px; }
.doc-upload-item:hover { border-color: var(--gold); background: rgba(184,130,10,0.02); }
.doc-upload-item.uploaded { border-style: solid; border-color: var(--success); background: #F0FDF4; }
.doc-upload-item input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.doc-icon  { font-size: 1.3rem; flex-shrink: 0; }
.doc-info  { flex: 1; }
.doc-name  { font-size: 0.82rem; font-weight: 600; margin-bottom: 2px; }
.doc-state { font-size: 0.7rem; color: var(--muted); }
.doc-state.ok { color: var(--success); font-weight: 700; }
.doc-action { font-size: 0.7rem; font-weight: 600; color: var(--gold); flex-shrink: 0; }

/* ── ZONE TAGS (ajouts variante insc : input + bouton + suggestions) ── */
.zone-wrap { display: flex; gap: 8px; margin-bottom: 10px; }
.zone-wrap input { flex: 1; }
.zone-wrap button { padding: 11px 18px; background: var(--dark); color: #fff; border: none; border-radius: 9px; font-weight: 600; cursor: pointer; font-family: 'DM Sans', sans-serif; font-size: 0.82rem; white-space: nowrap; transition: all 0.2s; }
.zone-wrap button:hover { background: var(--charcoal); }
.zone-tag button { background: none; border: none; color: var(--gold); cursor: pointer; font-size: 0.7rem; padding: 0; line-height: 1; }
.zone-suggestions { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.zone-sug { padding: 5px 12px; border: 1.5px solid var(--border); border-radius: 100px; font-size: 0.73rem; font-weight: 600; cursor: pointer; background: #fff; color: var(--muted); transition: all 0.2s; font-family: 'DM Sans', sans-serif; }
.zone-sug:hover { border-color: var(--gold); color: var(--gold); }

/* ── COMMISSION BOX ── */
.commission-box { background: var(--dark); border: 1px solid rgba(184,130,10,0.3); border-radius: 14px; padding: 28px; color: #fff; margin-bottom: 18px; }
.commission-box h3 { font-family: 'Fraunces', serif; font-size: 1.2rem; font-weight: 700; color: var(--gold); margin-bottom: 14px; }

/* ── BLOC CGU MODALES (fond sombre) ── */
.cgu-block { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.cgu-row-dark {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(184,130,10,.25);
  border-radius: 10px;
  transition: border-color .2s;
}
.cgu-row-dark.checked { border-color: var(--success, #16A34A); background: rgba(22,163,74,.08); }
.cgu-row-dark input[type="checkbox"] { accent-color: var(--gold); width: 17px; height: 17px; flex-shrink: 0; cursor: pointer; }
.cgu-row-label-dark { flex: 1; font-size: .78rem; line-height: 1.5; cursor: pointer; }
.cgu-row-label-dark strong { display: block; font-size: .82rem; font-weight: 700; color: rgba(255,255,255,.85); margin-bottom: 2px; }
.cgu-row-label-dark span { color: rgba(255,255,255,.45); }
.cgu-btn-lire-dark {
  padding: 6px 13px;
  border: 1.5px solid var(--gold);
  background: transparent;
  color: var(--gold);
  border-radius: 20px;
  font-size: .7rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
  transition: all .2s;
  flex-shrink: 0;
}
.cgu-btn-lire-dark:hover { background: var(--gold); color: #1A1612; }
.cgu-btn-lire-dark.lu { border-color: var(--success, #16A34A); color: var(--success, #16A34A); }
.cgu-btn-lire-dark.lu:hover { background: var(--success, #16A34A); color: #fff; }
.consent-error { font-size: 0.72rem; color: #FCA5A5; margin-top: 8px; display: none; }
.consent-error.show { display: block; }

/* ── MODALES CGU ── */
.cgu-modal-overlay {
  display: none; position: fixed; inset: 0;
  background: rgba(0,0,0,.6); z-index: 9999;
  padding: 20px 16px; overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.cgu-modal-overlay.open { display: flex; align-items: flex-start; justify-content: center; }
.cgu-modal {
  background: #fff; border-radius: 18px; width: 100%; max-width: 640px;
  margin: auto; box-shadow: 0 24px 80px rgba(0,0,0,.25);
  display: flex; flex-direction: column; max-height: 88vh; overflow: hidden;
}
.cgu-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px 14px; border-bottom: 1px solid #F0EDE8; flex-shrink: 0;
}
.cgu-modal-head h3 { font-size: 1rem; font-weight: 700; color: #1A1612; margin: 0; }
.cgu-modal-close {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid #E5E0D8; background: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: .85rem; color: #6B645C; flex-shrink: 0; transition: all .2s;
}
.cgu-modal-close:hover 
{ border-color: var(--gold); color: var(--gold); }
.cgu-modal-body { overflow-y: auto; padding: 20px 22px; flex: 1; -webkit-overflow-scrolling: touch; }
.cgu-modal-body h4 { font-size: .78rem; font-weight: 700; color: #1A1612; margin: 16px 0 5px; text-transform: uppercase; letter-spacing: .06em; }
.cgu-modal-body h4:first-child { margin-top: 0; }
.cgu-modal-body p, .cgu-modal-body li { font-size: .8rem; color: #6B645C; line-height: 1.75; margin-bottom: 6px; }
.cgu-modal-body ul { padding-left: 16px; margin-bottom: 8px; }
.cgu-modal-body strong { color: #1A1612; }
.cgu-highlight { background: #FFFBF0; border: 1px solid rgba(184,130,10,.25); border-left: 3px solid var(--gold); border-radius: 6px; padding: 9px 13px; font-size: .78rem; color: #78450A; margin: 10px 0; line-height: 1.6; }
.cgu-modal-foot { padding: 14px 22px 18px; border-top: 1px solid #F0EDE8; flex-shrink: 0; }
.cgu-modal-accept { width: 100%; padding: 12px; background: #2F6B4F; color: #fff; border: none; border-radius: 10px; font-size: .86rem; font-weight: 700; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: all .2s; }
.cgu-modal-accept:hover { opacity: .9; transform: translateY(-1px); }

/* ── RÉCAP ── */
.recap-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 20px; margin-bottom: 18px; }
.recap-card-title { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px solid var(--border); }
.recap-row { display: flex; justify-content: space-between; align-items: flex-start; font-size: 0.8rem; padding: 7px 0; border-bottom: 1px solid #F5F2ED; }
.recap-row:last-child { border-bottom: none; }
.recap-label { color: var(--muted); flex-shrink: 0; margin-right: 16px; }
.recap-value { font-weight: 600; text-align: right; }

/* ── BOUTONS (variante .btn-next / .btn-prev / .btn-submit utilisés par insc-main) ── */
.btn-next { flex: 1; padding: 14px; background: var(--dark); color: #fff; border: none; border-radius: 10px; font-size: 0.9rem; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.2s; font-family: 'DM Sans', sans-serif; }
.btn-next:hover { background: var(--charcoal); transform: translateY(-1px); }
.btn-prev { padding: 14px 22px; background: #fff; color: var(--text); border: 1.5px solid var(--border); border-radius: 10px; font-size: 0.86rem; font-weight: 500; cursor: pointer; transition: all 0.2s; font-family: 'DM Sans', sans-serif; }
.btn-prev:hover { border-color: var(--gold); color: var(--gold); }
.btn-submit { flex: 1; padding: 14px; background: var(--gold); color: #fff; border: none; border-radius: 10px; font-size: 0.92rem; font-weight: 700; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: all 0.2s; font-family: 'DM Sans', sans-serif; }
.btn-submit:hover { background: var(--gold2); transform: translateY(-1px); }
.btn-submit:disabled { opacity: .5; cursor: not-allowed; transform: none; }

/* ── SIDEBAR (variante .sb-*) ── */
.sb-section-title { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.25); margin-bottom: 14px; }
.sb-step { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,0.05); }
.sb-step:last-child { border-bottom: none; }
.sb-step-num { width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; font-size: 0.68rem; font-weight: 700; color: rgba(255,255,255,0.28); flex-shrink: 0; }
.sb-step-num.active { background: var(--gold); color: #fff; }
.sb-step-num.done   { background: var(--success); color: #fff; }
.sb-step-content h5 { font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.7); margin-bottom: 2px; }
.sb-step-content p  { font-size: 0.7rem; color: rgba(255,255,255,0.28); line-height: 1.4; }
.sb-guarantees { margin-top: 28px; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06); border-radius: 12px; padding: 18px; }
.sb-guarantee-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; }
.sb-guarantee-item:last-child { margin-bottom: 0; }
.sb-g-icon { width: 28px; height: 28px; border-radius: 6px; background: rgba(184,130,10,0.1); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; flex-shrink: 0; }
.sb-g-text { font-size: 0.73rem; color: rgba(255,255,255,0.35); line-height: 1.5; }
.sb-g-text strong { color: rgba(255,255,255,0.65); display: block; margin-bottom: 1px; }

/* ── PAGE SUCCÈS (variante .success-page) ── */
.success-page { display: none; text-align: center; padding: 80px 32px; max-width: 560px; margin: 0 auto; animation: fadeIn 0.5s ease; }
.success-page.show { display: block; }
.success-icon { width: 76px; height: 76px; border-radius: 50%; background: #D1FAE5; display: flex; align-items: center; justify-content: center; font-size: 2.2rem; margin: 0 auto 22px; }
.success-title { font-family: 'Fraunces', serif; font-size: 1.9rem; font-weight: 700; margin-bottom: 10px; }
.success-ref { display: inline-block; background: #F5F2ED; border: 1px solid var(--border); border-radius: 8px; padding: 7px 18px; font-size: 0.84rem; font-weight: 700; color: var(--gold); margin-bottom: 14px; font-family: monospace; }
.success-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 28px auto 0; max-width: 520px; }
.success-step { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 16px 12px; text-align: center; }
.ss-num { width: 28px; height: 28px; border-radius: 50%; background: var(--gold); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 700; margin: 0 auto 8px; }
.ss-title { font-size: 0.78rem; font-weight: 600; margin-bottom: 4px; }
.ss-desc  { font-size: 0.68rem; color: var(--muted); line-height: 1.4; }

/* ── RESPONSIVE (variante .insc-*) ── */
@media (max-width: 960px) {
  .insc-layout { grid-template-columns: 1fr; }
  .insc-sidebar { display: none; }
  .insc-main { padding: 36px 20px 60px; }
  .cert-grid, .form-row { grid-template-columns: 1fr; }
}
