/* =============================================================
   VENTE.CSS — styles propres à /vente
   Réutilise les variables et classes de style.css (--navy, --primary,
   --khaki, --bg, --muted, --border, .avantages-section, .fg/.fi,
   .contact-form-card, .btn-soumettre, .section-tag, .hero-checklist,
   .banner247-*). N'y duplique rien : uniquement ce qui est spécifique
   à cette page.
============================================================= */

/* ── HERO ── */
.vente-hero {
  padding: 140px 5% 60px;
  max-width: 1280px;
  margin: 0 auto;
}
.vente-hero-inner { margin: 0 auto; }
.vente-hero-left { max-width: 720px; }
.vente-tag { margin-bottom: 18px; display: inline-block; }
.vente-h1 {
  font-size: 48px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 18px;
}
.vente-lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 24px;
}
.vente-checklist { margin-bottom: 28px; }
.vente-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.vente-btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}

/* ── FORMULAIRE D'ESTIMATION (bas de page) ── */
.vente-form-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 5% 70px;
}
.vente-form-card-wrap { max-width: 640px; margin: 0 auto; }
.vente-form-card-wrap .contact-form-card { padding: 36px; }

.vente-optional { font-weight: 400; color: var(--muted); font-size: 13px; }

.vente-disclaimer {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  margin: 4px 0 4px;
}

/* Honeypot antispam — invisible pour un humain, piège pour les robots */
.vente-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Consentement */
.vente-consent { margin-top: 4px; }
.vente-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--navy);
  cursor: pointer;
}
.vente-consent-label input[type="checkbox"] {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  flex-shrink: 0;
}

/* Select — même look que .fi input, qui ne stylait que <input> */
.fi select {
  flex: 1;
  min-width: 0;
  width: 100%;
  border: none;
  outline: none;
  padding: 14px 0;
  font-size: 15px;
  font-family: 'Outfit', sans-serif;
  color: var(--navy);
  background: transparent;
  cursor: pointer;
}

/* Succès / erreur formulaire */
.vente-form-success { text-align: center; padding: 24px 0; }
.vente-success-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: #cbeff2;
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin: 0 auto 14px;
}
.vente-form-success h3 { color: var(--navy); font-size: 19px; margin-bottom: 6px; }
.vente-form-success p { color: var(--muted); font-size: 14px; }

.vente-form-error {
  background: #fff5f5;
  border: 1px solid #fed7d7;
  border-radius: 10px;
  padding: 12px 16px;
  color: #c53030;
  font-size: 13px;
  margin-bottom: 16px;
  line-height: 1.5;
}

/* ── PRÉSENTATION DU SERVICE ── */
.vente-presentation {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 5% 60px;
}
.vente-presentation-inner { max-width: 820px; }
.vente-h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 18px;
}
.vente-presentation-text {
  font-size: 16px;
  color: var(--muted);
  line-height: 1.75;
}

/* ── POURQUOI (réutilise .avantages-section / .avantage-col) ── */
.vente-pourquoi-grid {
  grid-template-columns: repeat(3, 1fr);
}

/* ── COMMENT ÇA MARCHE ── */
.vente-steps-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 60px 5%;
  text-align: center;
}
.vente-steps-title { text-align: center; margin: 0 auto 44px; }
.vente-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: left;
}
.vente-step {
  background: var(--bg);
  border-radius: 20px;
  padding: 28px 26px;
  position: relative;
}
.vente-step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.vente-step-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.vente-step-text {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
}

/* ── BIENS À VENDRE (réutilise .listings-grid / .listing-card de style.css) ── */
.vente-listings-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 5% 70px;
  text-align: center;
}
.vente-listings-title { text-align: center; margin: 0 auto 36px; }
.vente-no-listings {
  max-width: 560px;
  margin: 0 auto;
  background: var(--bg);
  border-radius: 16px;
  padding: 32px 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ── FAQ ── */
.vente-faq-section {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 5% 80px;
  text-align: center;
}
.vente-faq-title { text-align: center; margin: 0 auto 36px; }
.vente-faq-list { text-align: left; }
.vente-faq-item {
  border: 1px solid var(--border);
  border-radius: 14px;
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
}
.vente-faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  text-align: left;
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
}
.vente-faq-icon {
  flex-shrink: 0;
  font-size: 20px;
  color: var(--primary);
  transition: transform 0.2s;
}
.vente-faq-item.open .vente-faq-icon { transform: rotate(45deg); }
.vente-faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.vente-faq-item.open .vente-faq-body { max-height: 240px; }
.vente-faq-body p {
  padding: 0 22px 20px;
  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.7;
}

/* =============================================================
   RESPONSIVE
============================================================= */
@media (max-width: 1024px) {
  .vente-hero-left { max-width: 100%; }
  .vente-h1 { font-size: 40px; }
  .vente-pourquoi-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
  .vente-steps-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .vente-hero { padding: 96px 5% 40px; }
  .vente-h1 { font-size: 32px; }
  .vente-lead { max-width: 100%; }
  .vente-form-card-wrap .contact-form-card { padding: 26px 22px 30px; }
  .vente-pourquoi-grid { grid-template-columns: 1fr; gap: 36px; }
  .vente-steps-grid { grid-template-columns: 1fr; }
  .vente-h2, .vente-steps-title, .vente-faq-title { font-size: 28px; }
}
