/* KONTAK — thème et mise en page */

:root {
  --navy: #0B1F3A;
  --navy-hover: #132a4d;
  --navy-soft: rgba(11,31,58,0.6);
  --gold: #D4AF37;
  --gold-hover: #e2c05a;
  --green: #00A86B;
  --bg-soft: #F7F8FA;
  --border: #ECEEF2;
  --border-strong: #E7EAF0;
  --text-body: #33415C;
  --text-muted: #5B6B85;
  --text-faint: #8FA0BC;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--navy);
  background: var(--white);
}

img { max-width: 100%; display: block; }

::selection { background: var(--gold); color: var(--navy); }

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }

.h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 30px;
  margin: 0;
}

.section-lede {
  color: var(--text-muted);
  font-size: 15.5px;
  margin-top: 8px;
  line-height: 1.5;
}

.page-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 32px;
  margin: 0;
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- NAV ---------- */

.site-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px clamp(20px,4vw,64px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  z-index: 50;
  flex-wrap: wrap;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.brand {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  cursor: pointer;
}

.brand-dot { color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(8px,1.6vw,26px);
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }

.nav-link {
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  color: var(--navy);
}
.nav-link.is-active { color: var(--gold); }

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.nav-login {
  font-weight: 600;
  font-size: 14px;
  color: var(--navy);
  cursor: pointer;
  white-space: nowrap;
}

.btn-pill {
  font-weight: 700;
  font-size: 14px;
  padding: 12px 22px;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  display: inline-block;
  border: none;
  transition: background-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-hover); color: var(--white); box-shadow: 0 8px 20px rgba(11,31,58,0.25); transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-hover); color: var(--navy); box-shadow: 0 8px 20px rgba(212,175,55,0.35); transform: translateY(-1px); }
.btn-outline-light { background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.25); color: var(--white); }
.btn-outline-light:hover { background: rgba(255,255,255,0.16); color: var(--white); }

.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.mobile-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  width: 100%;
  flex-direction: column;
  gap: 4px;
  padding-top: 14px;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu .nav-link {
  padding: 12px 4px;
  border-bottom: 1px solid var(--border);
  font-size: 15px;
}
.mobile-menu .btn-pill { margin-top: 12px; text-align: center; }

@media (max-width: 900px) {
  .nav-links, .nav-desktop-only { display: none; }
  .mobile-toggle { display: flex; }
}

/* ---------- HERO ---------- */

.hero {
  background: linear-gradient(160deg,#0B1F3A 0%,#12294d 100%);
  padding: 88px clamp(20px,4vw,64px) 64px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle,rgba(212,175,55,0.18),transparent 70%);
}
.hero-inner { max-width: 820px; position: relative; }

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212,175,55,0.14);
  border: 1px solid rgba(212,175,55,0.4);
  color: var(--gold);
  font-weight: 700;
  font-size: 12.5px;
  letter-spacing: 0.4px;
  padding: 8px 16px;
  border-radius: 999px;
}

.hero-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: clamp(30px,4.4vw,46px);
  line-height: 1.18;
  letter-spacing: -0.5px;
  color: var(--white);
  margin: 24px 0 0;
}
.hero-title .accent { color: var(--gold); }

.hero-subtitle {
  margin-top: 20px;
  font-size: 17px;
  line-height: 1.6;
  color: #B9C4D6;
  max-width: 600px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 24px;
  margin-top: 56px;
  max-width: 720px;
}
.hero-stat-value {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 28px;
  color: var(--white);
}
.hero-stat-label { font-size: 12.5px; color: var(--text-faint); margin-top: 6px; line-height: 1.4; }

.search-bar {
  background: var(--white);
  border-radius: 20px;
  padding: 20px;
  margin-top: 56px;
  box-shadow: 0 24px 60px rgba(11,31,58,0.35);
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr auto;
  gap: 12px;
  position: relative;
}
.search-input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 12px 14px;
}
.search-input-wrap span { color: var(--text-faint); }
.search-input-wrap input {
  border: none; outline: none; font-size: 14px; width: 100%; font-family: inherit; color: var(--navy);
}
.search-bar select {
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--navy);
  background: var(--white);
}
.search-submit {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  white-space: nowrap;
}
.search-submit:hover { background: var(--navy-hover); }

@media (max-width: 860px) {
  .hero-stats { grid-template-columns: repeat(2,1fr); }
  .search-bar { grid-template-columns: 1fr; }
}

/* ---------- SECTIONS ---------- */

.section {
  padding: 72px clamp(20px,4vw,64px);
}
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy); }
.section-centered { text-align: center; }

.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 20px;
}

/* Sector index list — présentation institutionnelle, sans icônes */
.sector-list {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  column-gap: 48px;
  margin-top: 40px;
  border-top: 1px solid var(--border-strong);
}
.sector-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--border-strong);
  cursor: pointer;
  transition: border-color .15s ease;
}
.sector-row:hover { border-bottom-color: var(--gold); }
.sector-row:hover .sector-label { color: var(--gold); }
.sector-index {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--gold);
  width: 22px;
  flex-shrink: 0;
}
.sector-label { font-weight: 600; font-size: 14.5px; color: var(--navy); transition: color .15s ease; }

.service-icon svg, .young-benefit-icon svg { width: 21px; height: 21px; }

@media (max-width: 860px) { .sector-list { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px) { .sector-list { grid-template-columns: 1fr; } }

/* Listing cards */
.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(340px,1fr));
  gap: 24px;
  margin-top: 40px;
}
.listing-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: var(--white);
  transition: box-shadow .15s ease;
}
.listing-card:hover { box-shadow: 0 16px 40px rgba(11,31,58,0.12); }
.listing-media { height: 170px; position: relative; }
.listing-media img { width: 100%; height: 100%; object-fit: cover; }
.listing-badges {
  position: absolute; top: 12px; left: 12px;
  display: flex; gap: 6px; flex-wrap: wrap; max-width: 90%;
  pointer-events: none;
}
.badge {
  background: rgba(11,31,58,0.85);
  color: var(--gold);
  font-size: 10.5px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  letter-spacing: 0.3px;
}
.listing-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.listing-name { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 17px; color: var(--navy); }
.listing-meta { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.listing-figures {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.listing-figures .label { font-size: 11px; color: var(--text-faint); }
.listing-figures .value { font-weight: 700; font-size: 14px; color: var(--navy); margin-top: 2px; }
.listing-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 8px;
}
.listing-price { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 17px; color: var(--navy); }
.listing-link { color: var(--gold); font-weight: 700; font-size: 13px; }

/* Trust points */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill,minmax(260px,1fr));
  gap: 20px;
  margin-top: 40px;
}
.trust-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.trust-check { color: var(--gold); font-size: 18px; font-weight: 800; flex-shrink: 0; }
.trust-label { color: #E4E9F2; font-size: 14.5px; font-weight: 600; }

/* Process steps */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(160px,1fr));
  gap: 20px;
  margin-top: 44px;
}
.process-step { text-align: center; }
.process-number {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 18px;
  margin: 0 auto;
}
.process-label { font-weight: 700; font-size: 15px; margin-top: 14px; color: var(--navy); }

/* Founder */
.founder-section {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: 56px;
  align-items: center;
}
.founder-photo-wrap {
  position: relative;
  width: 280px; height: 280px;
  margin: 0 auto;
}
.founder-ring { position: absolute; border-radius: 50%; border: 1px solid var(--border); }
.founder-ring.r1 { inset: -24px; }
.founder-ring.r2 { inset: -12px; }
.founder-photo {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.founder-quote-mark {
  position: absolute; bottom: 6px; right: 6px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 800;
}
.founder-name { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 30px; color: var(--navy); }
.founder-title { font-weight: 700; font-size: 16px; color: var(--navy); margin-top: 8px; }
.founder-role { font-weight: 700; font-size: 15px; color: var(--green); margin-top: 6px; }
.founder-quote { font-size: 16px; color: var(--text-body); line-height: 1.75; margin-top: 22px; font-style: italic; }

@media (max-width: 760px) {
  .founder-section { grid-template-columns: 1fr; text-align: center; }
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  gap: 20px;
  margin-top: 40px;
}
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
}
.testimonial-stars { color: var(--gold); font-size: 15px; letter-spacing: 2px; }
.testimonial-quote { font-size: 14.5px; color: var(--text-body); line-height: 1.6; margin-top: 14px; }
.testimonial-name { font-weight: 700; font-size: 13.5px; color: var(--navy); margin-top: 16px; }
.testimonial-role { font-size: 12.5px; color: var(--text-faint); }

/* Partners */
.partners-strip { padding: 48px clamp(20px,4vw,64px); background: var(--white); border-top: 1px solid var(--border); }
.partners-kicker { text-align: center; font-size: 12.5px; font-weight: 700; letter-spacing: 0.5px; color: var(--text-faint); }
.partners-row { display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; margin-top: 20px; }
.partner-name { font-weight: 700; font-size: 16px; color: #B9C4D6; }

/* ---------- SUB-PAGES ---------- */

.subpage { padding: 56px clamp(20px,4vw,64px); }
.subpage-narrow { max-width: 820px; }
.subpage-form { max-width: 560px; }
.subpage-auth { max-width: 420px; margin: 0 auto; }
.subpage-title-block .page-title { }
.subpage-lede { color: var(--text-muted); font-size: 15.5px; margin-top: 8px; }
.subpage-lede.wide { max-width: 640px; }

.filter-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.filter-pill {
  padding: 9px 16px; border-radius: 999px; font-weight: 600; font-size: 13px; cursor: pointer;
  background: var(--bg-soft); color: var(--text-muted); border: 1px solid var(--border);
}
.filter-pill.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }

.property-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(300px,1fr));
  gap: 22px;
  margin-top: 32px;
}
.property-card { border: 1px solid var(--border); border-radius: 20px; overflow: hidden; }
.property-media { height: 160px; }
.property-media img { width: 100%; height: 100%; object-fit: cover; }
.property-body { padding: 20px; }
.property-name { font-weight: 700; font-size: 16px; }
.property-meta { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.property-price { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 18px; color: var(--navy); margin-top: 14px; }

/* Jeunes investisseurs — bénéfices */
.young-benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 20px;
  margin-top: 32px;
}
.young-benefit-card { background: var(--white); border: 1px solid var(--border); border-radius: 16px; padding: 22px; }
.young-benefit-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--navy); color: var(--gold);
  display: flex; align-items: center; justify-content: center; font-size: 19px;
}
.young-benefit-title { font-weight: 700; font-size: 15px; margin-top: 14px; color: var(--navy); }
.young-benefit-desc { font-size: 13.5px; color: var(--text-muted); margin-top: 8px; line-height: 1.5; }

/* Tableau comparatif des investissements */
.invest-table-wrap {
  overflow-x: auto;
  margin-top: 28px;
  border: 1px solid var(--border);
  border-radius: 16px;
}
.invest-table { width: 100%; min-width: 720px; border-collapse: collapse; }
.invest-table th {
  text-align: left;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.4px; text-transform: uppercase;
  color: var(--text-faint);
  background: var(--bg-soft);
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}
.invest-table td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-body);
  vertical-align: top;
}
.invest-table tbody tr:last-child td { border-bottom: none; }
.invest-table tbody tr:hover td { background: var(--bg-soft); }
.invest-row-name { font-weight: 700; color: var(--navy); font-size: 14.5px; }
.invest-row-desc { font-size: 12.5px; color: var(--text-muted); margin-top: 4px; line-height: 1.5; max-width: 300px; }
.ticket-accessible { font-size: 11px; font-weight: 700; color: var(--green); margin-top: 3px; }

.stage-badge {
  display: inline-block;
  font-size: 10.5px; font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.stage-badge.amorcage { background: rgba(212,175,55,0.16); color: #8a6d1f; }
.stage-badge.croissance { background: rgba(11,31,58,0.08); color: var(--navy); }
.stage-badge.expansion { background: rgba(0,168,107,0.12); color: var(--green); }

.invest-cta-box {
  margin-top: 56px;
  background: var(--navy);
  border-radius: 24px;
  padding: 36px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.invest-cta-title { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 20px; color: var(--white); max-width: 440px; }
.invest-cta-sub { font-size: 13.5px; color: #B9C4D6; margin-top: 8px; }

.invest-row-btn { padding: 9px 18px !important; font-size: 13px !important; white-space: nowrap; }
.invest-rate-note { font-size: 10.5px; color: var(--text-faint); margin-top: 3px; }

.entrepreneur-banner {
  margin-top: 32px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.entrepreneur-banner-title { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 17px; color: var(--navy); }
.entrepreneur-banner-sub { font-size: 13.5px; color: var(--text-muted); margin-top: 6px; max-width: 480px; }

.pending-project-list { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.pending-project-card {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  border: 1px dashed var(--border-strong);
  border-radius: 14px;
  padding: 16px 20px;
  background: var(--bg-soft);
}
.pending-badge {
  flex-shrink: 0;
  background: rgba(212,175,55,0.16); color: #8a6d1f;
  font-size: 11px; font-weight: 700;
  padding: 6px 12px; border-radius: 999px;
  white-space: nowrap;
}

.form-hint { font-size: 12.5px; color: var(--text-faint); margin: 6px 0 0; }

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.chip { background: var(--bg-soft); border: 1px solid var(--border); border-radius: 999px; padding: 9px 16px; font-size: 13.5px; font-weight: 600; }
.chip.is-toggle { cursor: pointer; }
.chip.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }

.stat-mini-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; margin-top: 40px; }
.stat-mini-value { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 26px; color: var(--navy); }
.stat-mini-label { font-size: 12.5px; color: var(--text-muted); margin-top: 6px; }

@media (max-width: 620px) {
  .stat-mini-grid { grid-template-columns: repeat(2,1fr); }
}

.service-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(260px,1fr)); gap: 20px; margin-top: 32px; }
.service-card { border: 1px solid var(--border); border-radius: 16px; padding: 22px; }
.service-icon { width: 44px; height: 44px; border-radius: 12px; background: var(--navy); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 19px; }
.service-title { font-weight: 700; font-size: 15.5px; margin-top: 16px; }
.service-desc { font-size: 13.5px; color: var(--text-muted); margin-top: 8px; line-height: 1.5; }

.blog-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(280px,1fr)); gap: 22px; margin-top: 32px; }
.blog-card { border: 1px solid var(--border); border-radius: 16px; overflow: hidden; }
.blog-media { height: 140px; }
.blog-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-body { padding: 18px; }
.blog-date { font-size: 11.5px; color: var(--text-faint); font-weight: 700; }
.blog-title { font-weight: 700; font-size: 15px; margin-top: 8px; line-height: 1.4; }

.faq-list { display: flex; flex-direction: column; gap: 12px; margin-top: 32px; }
.faq-item { border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; cursor: pointer; }
.faq-question { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 15px; gap: 12px; }
.faq-icon { color: var(--gold); font-size: 18px; flex-shrink: 0; }
.faq-answer { font-size: 14px; color: var(--text-muted); margin-top: 12px; line-height: 1.6; }

/* Forms */
.form-stack { display: flex; flex-direction: column; gap: 16px; margin-top: 28px; }
.form-stack input, .form-stack select, .form-stack textarea {
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  padding: 13px 14px;
  font-size: 14px;
  font-family: inherit;
  color: var(--navy);
  width: 100%;
  background: var(--white);
}
.form-stack textarea { resize: vertical; }
.form-submit {
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 15px;
  padding: 15px;
  border-radius: 999px;
  text-align: center;
  cursor: pointer;
  border: none;
}
.form-submit:hover { background: var(--navy-hover); }
.form-submit.is-disabled, .form-submit[disabled] { background: #B9C4D6; cursor: not-allowed; }
.form-error { background: #FDEDEC; border: 1px solid #F3B9B2; color: #A6362B; border-radius: 10px; padding: 12px 14px; font-size: 13.5px; font-weight: 600; }
.approval-gate { background: var(--bg-soft); border-radius: 14px; padding: 24px; margin-top: 28px; font-size: 14.5px; color: var(--text-body); line-height: 1.6; text-align: center; }
.approval-gate .link { color: var(--gold); font-weight: 700; cursor: pointer; }
.form-note { text-align: center; font-size: 13.5px; color: var(--text-muted); }
.form-note .link { color: var(--gold); font-weight: 700; cursor: pointer; }
.form-success { background: rgba(0,168,107,0.1); border: 1px solid rgba(0,168,107,0.35); color: var(--green); border-radius: 10px; padding: 14px 16px; font-size: 14px; font-weight: 600; }
.form-success .link { color: var(--navy); text-decoration: underline; cursor: pointer; }

/* Abonnements (page Tarifs + paiement) */
.subscription-banner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--bg-soft); border-radius: 14px; padding: 16px 20px; margin-top: 24px; font-size: 14px; color: var(--navy);
}
.subscription-banner .link { color: var(--gold); font-weight: 700; cursor: pointer; }
.subscription-banner .form-error { margin-top: 10px; width: 100%; }

.pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 32px; align-items: stretch; }
.pricing-card {
  position: relative; border: 1px solid var(--border); border-radius: 18px; padding: 28px 24px;
  display: flex; flex-direction: column; background: var(--white);
}
.pricing-card.is-featured { border-color: var(--gold); border-width: 2px; box-shadow: 0 12px 30px rgba(212,175,55,0.18); }
.pricing-ribbon {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--gold); color: var(--navy); font-size: 11px; font-weight: 800; letter-spacing: .03em;
  text-transform: uppercase; padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.pricing-name { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 700; font-size: 17px; color: var(--navy); }
.pricing-price { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 32px; color: var(--navy); margin-top: 10px; }
.pricing-period { font-family: 'Inter', sans-serif; font-weight: 500; font-size: 14px; color: var(--text-muted); margin-left: 4px; }
.pricing-features { list-style: none; margin: 20px 0 24px; padding: 0; flex: 1; }
.pricing-features li {
  font-size: 13.5px; color: var(--text-body); padding: 8px 0 8px 22px; position: relative; line-height: 1.4;
  border-top: 1px solid var(--border);
}
.pricing-features li:first-child { border-top: none; }
.pricing-features li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }

.payment-panel { max-width: 440px; margin-top: 32px; border: 1px solid var(--border); border-radius: 16px; padding: 24px; }
.payment-panel #cardHolderName {
  border: 1px solid var(--border-strong); border-radius: 10px; padding: 13px 14px; font-size: 14px; font-family: inherit;
  color: var(--navy); width: 100%; margin-bottom: 14px; background: var(--white);
}
.stripe-field { margin-bottom: 14px; }
.stripe-field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--text-muted); margin-bottom: 6px; }
.stripe-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.stripe-element-mount { border: 1px solid var(--border-strong); border-radius: 10px; padding: 13px 14px; background: var(--white); }
.payment-panel .form-submit { margin-top: 6px; width: 100%; }
.payment-panel .link { display: block; text-align: center; margin-top: 12px; color: var(--text-muted); cursor: pointer; }

@media (max-width: 900px) {
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-card.is-featured { order: -1; }
}
@media (max-width: 560px) {
  .stripe-field-row { grid-template-columns: 1fr; }
}

/* Admin dashboard */
.admin-empty { color: var(--text-muted); font-size: 14px; padding: 24px 0; text-align: center; }
.admin-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px;
  border: 1px solid var(--border); border-radius: 14px; padding: 18px 20px; margin-bottom: 14px;
}
.admin-row-name { font-weight: 700; font-size: 15px; color: var(--navy); }
.admin-tag { background: var(--navy); color: var(--white); font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 999px; margin-left: 6px; vertical-align: middle; }
.admin-row-meta { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.admin-status-badge { display: inline-block; font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 4px 11px; margin-top: 8px; }
.admin-status-badge.is-pending { background: #FCF3D9; color: #8A6D1D; }
.admin-status-badge.is-approved { background: rgba(0,168,107,0.12); color: var(--green); }
.admin-status-badge.is-refused { background: #FDEDEC; color: #A6362B; }
.admin-row-form { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.admin-row-form select, .admin-row-form input {
  border: 1px solid var(--border-strong); border-radius: 8px; padding: 9px 10px; font-size: 13px; font-family: inherit; color: var(--navy);
}
.admin-row-btn { padding: 9px 16px; font-size: 13px; border-radius: 8px; }
.form-confirm { background: var(--bg-soft); border-radius: 14px; padding: 24px; margin-top: 28px; font-weight: 600; color: var(--navy); }

/* Tableau de bord utilisateur */
.verified-badge-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 8px; }
.verified-badge { background: rgba(0,168,107,0.12); color: var(--green); font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 6px 13px; }
.parcours-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(260px,1fr)); gap: 18px; margin-top: 24px; }
.parcours-card { border: 1px solid var(--border); border-radius: 16px; padding: 20px; }
.parcours-card-title { font-weight: 700; font-size: 16px; color: var(--navy); }
.parcours-card-desc { font-size: 13.5px; color: var(--text-muted); margin-top: 10px; }
.parcours-start-btn { display: inline-block; margin-top: 14px; padding: 10px 18px; font-size: 13.5px; border-radius: 999px; cursor: pointer; }
.dossier-row { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); }
.dossier-row:first-of-type { margin-top: 0; padding-top: 0; border-top: none; }
.dossier-sublabel { font-weight: 700; font-size: 14px; color: var(--navy); margin-bottom: 4px; }
.dossier-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 10px; }
.dossier-actions .link { color: var(--gold); font-weight: 700; font-size: 13px; cursor: pointer; }
.dossier-upload-label { font-size: 13px; color: var(--text-muted); cursor: pointer; text-decoration: underline; }
.dossier-upload-input { display: none; }
.dashboard-notifications { margin-top: 40px; }
.notification-row { border: 1px solid var(--border); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; cursor: pointer; }
.notification-row.is-unread { background: var(--bg-soft); border-color: var(--border-strong); }
.notification-title { font-weight: 700; font-size: 14px; color: var(--navy); }
.notification-message { font-size: 13.5px; color: var(--text-body); margin-top: 4px; line-height: 1.5; }
.notification-date { font-size: 11.5px; color: var(--text-faint); margin-top: 6px; }

/* Confidentialité (4 formulaires de parcours) */
.confidentialite-block { background: var(--bg-soft); border-radius: 14px; padding: 20px; margin-top: 28px; }
.confidentialite-text { font-size: 12.5px; color: var(--text-muted); line-height: 1.6; margin-bottom: 14px; }

/* Vendeur : médias + inventaire des actifs */
.seller-extras { margin-top: 4px; }
.seller-extras .dossier-upload-label { display: block; margin-top: 8px; }
.asset-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(200px,1fr)); gap: 10px; margin-top: 12px; }
.asset-card { border: 1px solid var(--border); border-radius: 10px; padding: 12px 14px; }
.asset-name { font-weight: 700; font-size: 13.5px; color: var(--navy); }
.asset-meta { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.asset-card .link { color: var(--gold); font-weight: 700; font-size: 12px; cursor: pointer; margin-top: 8px; display: inline-block; }
.asset-add-form { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; max-width: 360px; }
.asset-add-form input, .asset-add-form select {
  border: 1px solid var(--border-strong); border-radius: 8px; padding: 10px 12px; font-size: 13px; font-family: inherit; color: var(--navy);
}

.form-section-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  margin-top: 32px;
}
.form-section-title.first { margin-top: 0; }
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}
.form-grid-2 .full { grid-column: 1 / -1; }
@media (max-width: 620px) {
  .form-grid-2 { grid-template-columns: 1fr; }
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 24px;
  cursor: pointer;
}
.checkbox-box {
  width: 20px; height: 20px;
  border-radius: 6px;
  border: 1.5px solid var(--navy);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 13px;
  background: transparent;
}
.checkbox-box.is-checked { background: var(--navy); }
.checkbox-text { font-size: 13.5px; color: var(--text-muted); line-height: 1.5; }

.type-toggle-row { display: flex; gap: 10px; }
.type-toggle {
  flex: 1; text-align: center; padding: 10px; border-radius: 10px;
  font-weight: 600; font-size: 13.5px; cursor: pointer;
  background: var(--bg-soft); color: var(--text-muted); border: 1px solid var(--border);
}
.type-toggle.is-active { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ---------- FOOTER ---------- */

.site-footer {
  background: var(--navy);
  padding: 56px clamp(20px,4vw,64px) 32px;
  color: #B9C4D6;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4,1fr);
  gap: 32px;
}
.footer-brand { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 20px; color: var(--white); }
.footer-tagline { font-size: 13.5px; margin-top: 12px; line-height: 1.6; max-width: 260px; }
.footer-col-title { font-weight: 700; font-size: 13.5px; color: var(--white); }
.footer-col-links { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.footer-link { font-size: 13.5px; cursor: pointer; color: #B9C4D6; }
.footer-link:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 40px;
  padding-top: 20px;
  font-size: 12.5px;
  text-align: center;
  color: var(--text-faint);
}

@media (max-width: 820px) {
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 500px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- MODAL ---------- */

.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(11,31,58,0.6);
  display: flex; align-items: center; justify-content: center;
  z-index: 100;
  padding: 24px;
}
.modal-overlay[hidden] { display: none; }
.modal-card {
  position: relative;
  background: var(--white);
  border-radius: 24px;
  max-width: 560px;
  width: 100%;
  max-height: 85vh;
  overflow: auto;
  animation: fadeIn .18s ease;
}
.modal-media { height: 180px; position: relative; }
.modal-media img { width: 100%; height: 100%; object-fit: cover; }
.modal-close {
  position: absolute; top: 14px; right: 14px;
  background: rgba(11,31,58,0.85);
  color: var(--white);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
}
.modal-body { padding: 32px; }
.modal-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.modal-name { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 22px; color: var(--navy); margin-top: 14px; }
.modal-meta { font-size: 13.5px; color: var(--text-muted); margin-top: 4px; }
.modal-figures {
  display: grid; grid-template-columns: repeat(2,1fr); gap: 14px;
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--border);
}
.modal-figures .label { font-size: 11.5px; color: var(--text-faint); }
.modal-figures .value { font-weight: 700; font-size: 15px; margin-top: 3px; }
.modal-price-box { background: var(--bg-soft); border-radius: 14px; padding: 16px 20px; margin-top: 20px; }
.modal-price-label { font-size: 11.5px; color: var(--text-faint); font-weight: 700; }
.modal-price-value { font-weight: 800; font-size: 20px; color: var(--navy); margin-top: 4px; }
.modal-cta {
  background: var(--navy); color: var(--white); font-weight: 700; font-size: 15px;
  padding: 16px; border-radius: 999px; text-align: center; margin-top: 22px; cursor: pointer;
}
.modal-cta:hover { background: var(--navy-hover); }

/* ---------- WIZARD ACCÈS ACHETEUR ---------- */

.modal-card.is-wizard { max-width: 720px; }

.wizard-body { padding: 32px; max-height: 62vh; overflow-y: auto; }

.wizard-progress-head { margin-bottom: 28px; }
.wizard-progress-top { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; font-weight: 700; color: var(--navy); }
.wizard-progress-pct { color: var(--gold); }
.wizard-progress-bar { height: 6px; background: var(--border); border-radius: 999px; overflow: hidden; margin-top: 10px; }
.wizard-progress-fill { height: 100%; background: var(--gold); border-radius: 999px; transition: width .2s ease; }

.wizard-steps-row { display: flex; justify-content: space-between; gap: 4px; margin-top: 22px; overflow-x: auto; }
.wizard-step { display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; min-width: 64px; }
.wizard-step-icon {
  width: 38px; height: 38px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-soft); color: var(--text-faint); border: 1px solid var(--border);
  flex-shrink: 0;
}
.wizard-step-icon svg { width: 17px; height: 17px; }
.wizard-step.is-active .wizard-step-icon { background: var(--navy); color: var(--gold); border-color: var(--navy); }
.wizard-step.is-done .wizard-step-icon { background: var(--navy); color: var(--white); border-color: var(--navy); }
.wizard-step-label { font-size: 10.5px; font-weight: 600; text-align: center; color: var(--text-faint); max-width: 82px; line-height: 1.3; }
.wizard-step.is-active .wizard-step-label { color: var(--navy); }

.wizard-title-row { display: flex; gap: 14px; align-items: flex-start; }
.wizard-title-icon { color: var(--gold); flex-shrink: 0; }
.wizard-title-icon svg { width: 24px; height: 24px; }
.wizard-title { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; font-size: 18px; color: var(--navy); }
.wizard-subtitle { font-size: 13.5px; color: var(--text-muted); margin-top: 4px; }

.wizard-warning {
  display: flex; gap: 12px;
  background: rgba(212,175,55,0.1); border: 1px solid rgba(212,175,55,0.35); border-radius: 12px;
  padding: 16px 18px; margin-top: 20px; font-size: 13px; color: var(--navy); line-height: 1.5;
}
.wizard-warning svg { width: 18px; height: 18px; color: var(--gold); flex-shrink: 0; margin-top: 1px; }

.wizard-clause { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--border); }
.wizard-clause:last-of-type { border-bottom: none; }
.wizard-clause-num {
  flex-shrink: 0; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(0,168,107,0.12); color: var(--green);
  font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.wizard-clause-title { font-weight: 700; font-size: 12.5px; letter-spacing: 0.4px; text-transform: uppercase; color: var(--navy); }
.wizard-clause-text { font-size: 13.5px; color: var(--text-body); line-height: 1.6; margin-top: 6px; }

.image-drop {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  border: 1.5px dashed var(--border-strong); border-radius: 14px;
  padding: 22px; text-align: center; cursor: pointer;
  color: var(--text-muted); font-size: 13.5px; font-weight: 600;
  margin-top: 14px; transition: border-color .15s ease, color .15s ease;
}
.image-drop svg { width: 18px; height: 18px; }
.image-drop:hover { border-color: var(--gold); color: var(--navy); }
.image-thumb-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(76px,1fr)); gap: 10px; margin-top: 16px; }
.image-thumb { position: relative; border-radius: 10px; overflow: hidden; aspect-ratio: 1; border: 1px solid var(--border); }
.image-thumb img { width: 100%; height: 100%; object-fit: cover; }
.image-thumb-remove {
  position: absolute; top: 4px; right: 4px; width: 20px; height: 20px;
  background: rgba(11,31,58,.85); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; font-size: 11px; cursor: pointer;
}

.wizard-recap { border: 1px solid var(--border); border-radius: 14px; margin-top: 20px; overflow: hidden; }
.wizard-recap-row { display: flex; justify-content: space-between; gap: 16px; padding: 13px 18px; font-size: 13.5px; border-bottom: 1px solid var(--border); }
.wizard-recap-row:last-child { border-bottom: none; }
.wizard-recap-row span { color: var(--text-muted); }
.wizard-recap-row strong { color: var(--navy); font-weight: 700; text-align: right; }

.wizard-footer { display: flex; justify-content: space-between; align-items: center; padding: 20px 32px; border-top: 1px solid var(--border); }

.btn-outline-navy { background: transparent; border: 1.5px solid var(--border-strong); color: var(--navy); }
.btn-outline-navy:hover { border-color: var(--navy); }

.btn-pill.is-disabled { background: #B9C4D6 !important; color: #fff !important; box-shadow: none !important; transform: none !important; cursor: not-allowed; }

@media (max-width: 620px) {
  .wizard-step-label { display: none; }
}
