/* ====================================================
   MailProtect Collectivités — styles dédiés (F-29)
   ==================================================== */

/* Hero */
.hero-collectivites {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 5rem 6rem;
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #0e7490 100%);
  color: #fff;
}
.hero-badge {
  display: inline-block;
  padding: 0.35rem 1rem;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 999px;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: #7dd3fc;
}
.hero-collectivites h1 {
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero-subtitle { font-size: 1.1rem; color: #cbd5e1; max-width: 540px; margin-bottom: 1.5rem; }
.hero-price {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 2rem;
}
.price-from { font-size: 1rem; color: #94a3b8; }
.price-amount { font-size: 2.5rem; font-weight: 800; color: #38bdf8; }
.price-per { font-size: 1rem; color: #94a3b8; }
.hero-ctas { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-lg { padding: 0.75rem 2rem; font-size: 1.05rem; border-radius: 8px; text-decoration: none; }
.btn-primary { background: #0284c7; color: #fff; border: none; cursor: pointer; }
.btn-primary:hover { background: #0369a1; }
.btn-outline { border: 1px solid rgba(255,255,255,0.5); color: #fff; background: transparent; }
.btn-outline:hover { background: rgba(255,255,255,0.1); }

/* Stats card hero */
.stats-card {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 2rem;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.stat { display: flex; flex-direction: column; }
.stat-number { font-size: 2rem; font-weight: 800; color: #38bdf8; }
.stat-label { font-size: 0.85rem; color: #94a3b8; }

/* How it works */
.how-it-works { padding: 4rem 6rem; text-align: center; background: #f8fafc; }
.how-it-works h2 { font-size: 2rem; margin-bottom: 2rem; }
.steps { display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.step {
  background: #fff;
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  max-width: 240px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.step-number {
  width: 36px; height: 36px;
  background: #0284c7; color: #fff;
  border-radius: 50%; font-weight: 700;
  display: inline-flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.step-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.step h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.step p { font-size: 0.9rem; color: #64748b; line-height: 1.5; }
.step-arrow { font-size: 1.5rem; color: #94a3b8; }

/* Pricing */
.pricing-section { padding: 4rem 6rem; text-align: center; }
.section-subtitle { color: #64748b; margin-bottom: 2.5rem; }
.pricing-tiers { display: flex; gap: 1.5rem; justify-content: center; flex-wrap: wrap; margin-bottom: 3rem; }
.tier {
  background: #fff;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.5rem 2rem;
  min-width: 200px;
  position: relative;
}
.tier-featured { border-color: #0284c7; }
.tier-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: #0284c7; color: #fff;
  padding: 0.2rem 0.9rem; border-radius: 999px; font-size: 0.78rem; white-space: nowrap;
}
.tier-label { font-size: 0.85rem; color: #64748b; margin-bottom: 0.5rem; }
.tier-rate { font-size: 1.8rem; font-weight: 800; color: #0f172a; }
.tier-rate span { font-size: 0.85rem; font-weight: 400; color: #64748b; }
.tier-example { font-size: 0.8rem; color: #94a3b8; margin-top: 0.5rem; }

/* Calculator */
.calculator {
  max-width: 480px; margin: 0 auto;
  background: #f8fafc; border-radius: 12px; padding: 2rem;
  border: 1px solid #e2e8f0;
}
.calculator h3 { margin-bottom: 1.5rem; }
.calc-input { margin-bottom: 1rem; }
.calc-input label { display: block; font-size: 0.9rem; margin-bottom: 0.4rem; font-weight: 500; }
.calc-input input {
  width: 100%; padding: 0.7rem 1rem;
  border: 1px solid #cbd5e1; border-radius: 8px; font-size: 1rem;
}
.calc-result { margin-top: 1.5rem; }
.calc-price { font-size: 1.1rem; margin-bottom: 0.5rem; }
.calc-detail { font-size: 0.85rem; color: #64748b; margin-bottom: 1rem; }
.btn-full { width: 100%; text-align: center; }

/* Testimonials */
.testimonials { padding: 4rem 6rem; background: #f8fafc; text-align: center; }
.testimonials h2 { margin-bottom: 2rem; }
.testimonials-grid { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; }
.testimonial {
  background: #fff; border-radius: 12px; padding: 2rem;
  max-width: 380px; text-align: left;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.testimonial-placeholder { border-left: 4px solid #0284c7; }
.testimonial-avatar { font-size: 2.5rem; margin-bottom: 1rem; }
.testimonial blockquote { font-size: 0.95rem; color: #1e293b; font-style: italic; margin-bottom: 0.75rem; }
.testimonial cite { font-size: 0.8rem; color: #64748b; }

/* Map preview */
.map-preview { padding: 4rem 6rem; text-align: center; }
.map-preview h2 { margin-bottom: 0.5rem; }
.map-embed-preview { position: relative; margin-top: 2rem; border-radius: 12px; overflow: hidden; max-width: 800px; margin: 1.5rem auto 0; }
.map-iframe-preview { width: 100%; height: 400px; border: none; pointer-events: none; }
.map-overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(15,23,42,0.9), transparent);
  padding: 2rem; text-align: center;
}

/* Demo form */
.demo-form { padding: 4rem 6rem; max-width: 700px; margin: 0 auto; }
.demo-form h2 { margin-bottom: 0.5rem; }
.contact-form { margin-top: 2rem; }
.form-row { display: flex; gap: 1rem; }
.form-group { flex: 1; margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 500; margin-bottom: 0.4rem; }
.form-group input, .form-group select {
  width: 100%; padding: 0.7rem 1rem;
  border: 1px solid #cbd5e1; border-radius: 8px; font-size: 1rem;
}
.form-note { font-size: 0.78rem; color: #94a3b8; margin-top: 1rem; text-align: center; }

/* Footer minimal */
.footer-minimal { padding: 2rem; text-align: center; background: #0f172a; color: #94a3b8; }
.footer-links { display: flex; gap: 1.5rem; justify-content: center; margin-bottom: 0.75rem; }
.footer-links a { color: #94a3b8; text-decoration: none; font-size: 0.85rem; }
.footer-copyright { font-size: 0.78rem; }

/* Responsive */
@media (max-width: 768px) {
  .hero-collectivites { flex-direction: column; padding: 3rem 1.5rem; }
  .hero-collectivites h1 { font-size: 1.8rem; }
  .how-it-works, .pricing-section, .testimonials, .map-preview, .demo-form { padding: 3rem 1.5rem; }
  .steps { flex-direction: column; align-items: stretch; }
  .step-arrow { transform: rotate(90deg); }
  .form-row { flex-direction: column; }
}
