/* =========================================================
   Nexatis Furniture : page « Créer un compte Dropshipping »
   Reconstruit le 04/11/2026 (base de mise en page).
   Les réglages fins (polices, couleurs) restent dans nx-site.css.
   ========================================================= */

.ds-page {
  --ds-navy: #1F2A44;
  --ds-ink: #1B2236;
  --ds-muted: #4A5470;
  --ds-gold: #B8923F;
  --ds-gold-dark: #8F6D22;
  --ds-sand: #E6CF9B;
  --ds-cream: #FBF6E8;
  --ds-bg: #F6F4EE;
  --ds-line: #E6E1D4;
  --ds-field: #D9D5C8;
  background: var(--ds-bg);
  color: var(--ds-ink);
  padding-bottom: 72px;
  font-family: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}
.ds-page *, .ds-page *::before, .ds-page *::after { box-sizing: border-box; }

/* ---------- Bandeau ---------- */
.ds-hero {
  background-color: var(--ds-navy);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 64px 24px 112px;
}
.ds-hero-content { max-width: 1180px; margin: 0 auto; }
.ds-hero h1 { color: #fff; margin: 0 0 14px; line-height: 1.1; }
.ds-hero-text { max-width: 640px; margin: 0 0 30px; }
.ds-hero-features { display: flex; flex-wrap: wrap; gap: 18px 36px; }
.ds-hero-feature { display: flex; align-items: center; gap: 12px; line-height: 1.3; font-weight: 600; }
.ds-feature-icon {
  flex: none; width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--ds-sand); color: var(--ds-sand);
  display: inline-flex; align-items: center; justify-content: center; font-size: 18px;
  background: rgba(255, 255, 255, .06);
}

/* ---------- Grille : avantages + formulaire ---------- */
.ds-main {
  position: relative;
  max-width: 1180px;
  margin: -64px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

/* Colonne avantages */
.ds-benefits {
  position: sticky; top: 24px;
  display: flex; flex-direction: column; gap: 18px;
  background: #fff; border: 1px solid var(--ds-line); border-radius: 16px;
  padding: 24px; box-shadow: 0 10px 30px rgba(31, 42, 68, .08);
}
.ds-help {
  background: var(--ds-navy); color: #fff; border-radius: 12px; padding: 18px 20px;
}
.ds-help h3, .ds-help strong { color: #fff; margin: 0 0 4px; font-size: 17px; }
.ds-help p { color: #D8DDEA; margin: 0 0 12px; font-size: 14px; }
.ds-help-btn {
  display: inline-block; background: var(--ds-gold); color: var(--ds-navy) !important;
  padding: 10px 20px; border-radius: 999px; font-weight: 700; text-decoration: none !important;
}
.ds-help-btn:hover { filter: brightness(1.05); }
.ds-benefits-title { display: flex; align-items: center; gap: 12px; margin-top: 4px; }
.ds-benefits-title h2 { margin: 0; font-size: 21px; line-height: 1.25; color: inherit; }
.ds-benefits-main-icon {
  flex: none; width: 42px; height: 42px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; font-size: 18px;
}
.ds-benefit { display: flex; gap: 12px; align-items: flex-start; }
.ds-benefit-icon {
  flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--ds-cream);
  display: inline-flex; align-items: center; justify-content: center; font-size: 16px;
}
.ds-benefit-content h3 { margin: 0 0 2px; font-size: 15.5px; font-weight: 700; color: var(--ds-navy); }
.ds-benefit-content p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--ds-muted); }
.ds-security {
  display: flex; gap: 12px; align-items: flex-start;
  border: 1px solid var(--ds-sand); border-radius: 12px; padding: 14px 16px;
  font-size: 14px; line-height: 1.45; color: var(--ds-muted);
}
.ds-security strong { color: var(--ds-navy); }
.ds-security p { margin: 0; }
.ds-security-icon { flex: none; font-size: 18px; line-height: 1.2; color: var(--ds-gold-dark); }

/* Carte formulaire */
.ds-form-card {
  background: #fff; border: 1px solid var(--ds-line); border-radius: 16px;
  padding: 36px 40px; box-shadow: 0 10px 30px rgba(31, 42, 68, .08);
}
.ds-form-card form { margin: 0; }
.ds-section { padding: 0 0 26px; margin: 0 0 26px; border-bottom: 1px solid var(--ds-line); }
.ds-section:last-of-type { border-bottom: 0; margin-bottom: 8px; padding-bottom: 0; }
.ds-section-title { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; }
.ds-section-title h2 { margin: 0; font-size: inherit; font-weight: inherit; color: inherit; }
.ds-section-number {
  flex: none; width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center; font-size: 15px;
}

.ds-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.ds-field { margin: 0 0 16px; min-width: 0; }
.ds-field > label { display: block; margin: 0 0 6px; }
.ds-required { margin-left: 2px; }

.ds-input-wrap { position: relative; }
.ds-input-icon {
  position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
  pointer-events: none; font-size: 15px; line-height: 1; z-index: 1;
}
.ds-input-wrap input,
.ds-input-wrap select,
.ds-input-wrap textarea {
  width: 100%; height: 48px; margin: 0;
  padding: 0 14px 0 42px;
  border: 1px solid var(--ds-field); border-radius: 10px;
  background: #fff; color: var(--ds-ink); font-size: 15px;
  transition: border-color .15s, box-shadow .15s;
}
.ds-input-wrap select { appearance: auto; }
.ds-input-wrap input:focus,
.ds-input-wrap select:focus,
.ds-input-wrap textarea:focus {
  outline: none; border-color: var(--ds-gold);
  box-shadow: 0 0 0 3px rgba(184, 146, 63, .18);
}
.ds-input-wrap input::placeholder { color: #9AA1B2; }

.ds-check { font-size: 13.5px; margin-top: 6px; line-height: 1.4; }
.ds-notice {
  background: var(--ds-cream); border: 1px solid var(--ds-sand); border-radius: 10px;
  padding: 12px 14px; margin: 0 0 16px; font-size: 14px; line-height: 1.5; color: var(--ds-ink);
}

/* Origine de l'entreprise (France / UE / hors UE) */
.ds-origin-opt {
  display: flex; align-items: center; gap: 10px; margin: 0;
  border: 1px solid var(--ds-field); border-radius: 10px; padding: 12px 14px;
  background: #fff; cursor: pointer; font-weight: 600; color: var(--ds-navy); line-height: 1.3;
}
.ds-origin-opt:has(input:checked) { border-color: var(--ds-gold); background: var(--ds-cream); box-shadow: 0 0 0 2px rgba(184, 146, 63, .18); }
.ds-origin-opt input { accent-color: var(--ds-gold); margin: 0; flex: none; }

/* Cases à cocher */
.ds-checkbox { margin: 0 0 12px; }
.ds-checkbox label { display: flex; gap: 10px; align-items: flex-start; margin: 0; cursor: pointer; line-height: 1.45; font-weight: 400; }
.ds-checkbox input[type="checkbox"] { flex: none; margin: 2px 0 0; }

/* Dépôt du justificatif : le style complet est dans nx-site.css */
.ds-drop { border: 2px dashed var(--ds-sand); border-radius: 12px; padding: 24px; background: #FDFBF6; cursor: pointer; text-align: center; }

/* Bouton d'envoi */
.ds-submit { margin-top: 10px; }
.ds-submit button {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  width: 100%; min-height: 54px; border: 0; border-radius: 12px;
  font-size: 17px; font-weight: 700; letter-spacing: .2px;
}
.ds-submit-arrow { display: inline-block; transition: transform .15s; }
.ds-submit button:hover .ds-submit-arrow { transform: translateX(3px); }

/* ---------- Tablette et mobile ---------- */
@media (max-width: 991px) {
  .ds-main { grid-template-columns: 1fr; margin-top: -48px; }
  .ds-benefits { position: static; order: 2; }
  .ds-form-card { order: 1; }
}
@media (max-width: 640px) {
  .ds-hero { padding: 40px 16px 80px; }
  .ds-hero-features { gap: 12px 20px; }
  .ds-feature-icon { width: 38px; height: 38px; font-size: 15px; }
  .ds-main { padding: 0 12px; gap: 18px; }
  .ds-form-card { padding: 24px 18px; border-radius: 14px; }
  .ds-benefits { padding: 18px; }
  .ds-row { grid-template-columns: 1fr; }
  .ds-origin { grid-template-columns: 1fr !important; }
}
