/* =============================================
   SENI ESTIMATION — Design System
   Palette: identique à ecosystemeimmo.fr
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@700;800&display=swap');

:root {
  --primary-900: #0D2240;
  --primary-800: #1A3C6E;
  --primary-700: #1E4D8C;
  --primary-600: #2C5F9E;
  --primary-500: #3B75BF;
  --primary-400: #5B8FD0;
  --primary-300: #8AB0E0;
  --primary-100: #E8F0FB;
  --primary-50:  #F0F5FD;

  --accent-600: #D97706;
  --accent-500: #F59E0B;
  --accent-400: #FBBF24;
  --accent-100: #FEF3C7;

  --success-600: #059669;
  --success-500: #10B981;
  --success-100: #D1FAE5;

  --neutral-900: #111827;
  --neutral-800: #1F2937;
  --neutral-700: #374151;
  --neutral-600: #4B5563;
  --neutral-500: #6B7280;
  --neutral-400: #9CA3AF;
  --neutral-300: #D1D5DB;
  --neutral-200: #E5E7EB;
  --neutral-100: #F3F4F6;
  --neutral-50:  #F9FAFB;
  --white: #FFFFFF;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  --shadow-sm: 0 1px 3px rgba(0,0,0,.08);
  --shadow: 0 4px 12px rgba(0,0,0,.10);
  --shadow-md: 0 8px 24px rgba(0,0,0,.12);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.14);

  --container: 1200px;
  --gutter: 24px;
}

/* =============================================
   Reset & Base
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-sans);
  color: var(--neutral-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, textarea, select { font-family: inherit; }

/* =============================================
   Typography
   ============================================= */
.display-xl {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.02em;
  color: var(--neutral-900);
}
.display-lg {
  font-family: var(--font-display);
  font-size: clamp(1.875rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -.015em;
  color: var(--neutral-900);
}
.heading-xl { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 700; line-height: 1.25; color: var(--neutral-900); }
.heading-lg { font-size: clamp(1.25rem, 2.5vw, 1.625rem); font-weight: 600; line-height: 1.3; color: var(--neutral-900); }
.section-tag {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--primary-600);
}
.lead-text { font-size: clamp(1rem, 2vw, 1.125rem); color: var(--neutral-600); line-height: 1.7; }

/* =============================================
   Layout
   ============================================= */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-lg { padding: 120px 0; }

.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); gap: var(--gutter); }
.grid-3 { grid-template-columns: repeat(3, 1fr); gap: var(--gutter); }
.grid-4 { grid-template-columns: repeat(4, 1fr); gap: var(--gutter); }

@media (max-width: 960px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .section-lg { padding: 72px 0; }
}

/* =============================================
   Navigation
   ============================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--neutral-200);
  padding: 0 var(--gutter);
}
.navbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-800);
}
.navbar-logo .logo-mark {
  width: 36px;
  height: 36px;
  background: var(--primary-700);
  color: var(--white);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .875rem;
  font-weight: 800;
  font-family: var(--font-sans);
  letter-spacing: -.03em;
}
.navbar-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.navbar-nav a {
  font-size: .9375rem;
  font-weight: 500;
  color: var(--neutral-700);
  transition: color .15s;
}
.navbar-nav a:hover, .navbar-nav a.active { color: var(--primary-700); }
.navbar-cta { display: flex; align-items: center; gap: 12px; }
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--neutral-700);
  border-radius: 2px;
  transition: all .2s;
}

@media (max-width: 768px) {
  .navbar-nav, .navbar-cta { display: none; }
  .burger { display: flex; }
  .navbar-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--neutral-200);
    padding: 20px var(--gutter);
    gap: 20px;
    z-index: 99;
  }
  .navbar-cta.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: auto;
  }
}

/* =============================================
   Buttons
   ============================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-size: .9375rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary-700);
  color: var(--white);
  border-color: var(--primary-700);
}
.btn-primary:hover { background: var(--primary-800); border-color: var(--primary-800); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary {
  background: var(--white);
  color: var(--primary-700);
  border-color: var(--primary-300);
}
.btn-secondary:hover { border-color: var(--primary-700); background: var(--primary-50); }
.btn-accent {
  background: var(--accent-500);
  color: var(--white);
  border-color: var(--accent-500);
}
.btn-accent:hover { background: var(--accent-600); border-color: var(--accent-600); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--neutral-700); border-color: transparent; }
.btn-ghost:hover { background: var(--neutral-100); }
.btn-lg { padding: 16px 32px; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 8px 16px; font-size: .875rem; }
.btn-full { width: 100%; }

/* =============================================
   Cards / Blocks
   ============================================= */
.card {
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .2s, transform .2s;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card-featured {
  border-color: var(--primary-600);
  border-width: 2px;
  position: relative;
  overflow: hidden;
}
.card-featured-badge {
  background: var(--primary-700);
  color: var(--white);
  text-align: center;
  padding: 6px 0;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: -32px -32px 24px;
}

/* =============================================
   Hero
   ============================================= */
.hero {
  background: linear-gradient(145deg, var(--primary-900) 0%, var(--primary-700) 100%);
  color: var(--white);
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(59,117,191,.3) 0%, transparent 70%);
  pointer-events: none;
}
.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: .8125rem;
  font-weight: 600;
  color: var(--accent-400);
  margin-bottom: 24px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.025em;
  color: var(--white);
  margin-bottom: 20px;
}
.hero h1 span { color: var(--accent-400); }
.hero p {
  font-size: clamp(1rem, 2vw, 1.175rem);
  color: rgba(255,255,255,.8);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.7;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,.15);
}
.hero-stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}
.hero-stat-label { font-size: .875rem; color: rgba(255,255,255,.65); margin-top: 4px; }

/* =============================================
   Section Backgrounds
   ============================================= */
.bg-light { background: var(--neutral-50); }
.bg-primary { background: var(--primary-900); color: var(--white); }
.bg-primary-soft { background: var(--primary-50); }
.bg-accent-soft { background: var(--accent-100); }

/* =============================================
   Steps / Process
   ============================================= */
.step-number {
  width: 48px;
  height: 48px;
  background: var(--primary-700);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.125rem;
  font-weight: 800;
  font-family: var(--font-display);
  flex-shrink: 0;
}
.step-connector {
  width: 2px;
  flex: 1;
  background: var(--primary-100);
  margin: 4px auto;
}

/* =============================================
   Pricing
   ============================================= */
.price-amount {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-800);
  line-height: 1;
}
.price-amount .currency { font-size: 1.25rem; vertical-align: top; margin-top: .4em; }
.price-period { font-size: .875rem; font-weight: 500; color: var(--neutral-500); }
.price-setup { font-size: .875rem; color: var(--neutral-500); margin-top: 4px; }
.feature-list { display: flex; flex-direction: column; gap: 12px; margin: 24px 0; }
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .9375rem;
  color: var(--neutral-700);
}
.feature-icon {
  width: 20px;
  height: 20px;
  background: var(--success-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-icon::after { content: '✓'; font-size: .7rem; font-weight: 700; color: var(--success-600); }

/* =============================================
   Badges & Tags
   ============================================= */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
}
.badge-primary { background: var(--primary-100); color: var(--primary-700); }
.badge-accent { background: var(--accent-100); color: var(--accent-600); }
.badge-success { background: var(--success-100); color: var(--success-600); }
.badge-neutral { background: var(--neutral-100); color: var(--neutral-600); }

/* =============================================
   Forms
   ============================================= */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: .875rem; font-weight: 600; color: var(--neutral-700); }
.form-input, .form-select, .form-textarea {
  padding: 12px 16px;
  border: 1.5px solid var(--neutral-300);
  border-radius: var(--radius);
  font-size: .9375rem;
  color: var(--neutral-900);
  background: var(--white);
  transition: border-color .15s, box-shadow .15s;
  width: 100%;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--primary-500);
  box-shadow: 0 0 0 3px rgba(59,117,191,.15);
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-hint { font-size: .8125rem; color: var(--neutral-500); }

/* =============================================
   FAQ Accordion
   ============================================= */
.faq-item {
  border-bottom: 1px solid var(--neutral-200);
}
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  color: var(--neutral-900);
  gap: 16px;
}
.faq-question:hover { color: var(--primary-700); }
.faq-chevron {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--primary-100);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: .75rem;
  color: var(--primary-700);
  transition: transform .2s;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
  font-size: .9375rem;
  color: var(--neutral-600);
  line-height: 1.7;
}
.faq-answer-inner { padding-bottom: 20px; }
.faq-item.open .faq-answer { max-height: 300px; }

/* =============================================
   Testimonials
   ============================================= */
.testimonial {
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
}
.testimonial-stars { color: var(--accent-500); font-size: 1rem; margin-bottom: 14px; }
.testimonial-text { font-size: .9375rem; color: var(--neutral-700); line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary-700);
  font-size: .875rem;
  flex-shrink: 0;
}
.testimonial-name { font-size: .9375rem; font-weight: 600; color: var(--neutral-900); }
.testimonial-role { font-size: .8125rem; color: var(--neutral-500); }

/* =============================================
   CTA Banner
   ============================================= */
.cta-banner {
  background: linear-gradient(135deg, var(--primary-800), var(--primary-600));
  border-radius: var(--radius-xl);
  padding: 64px 48px;
  text-align: center;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -5%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255,255,255,.08) 0%, transparent 70%);
}

/* =============================================
   Footer
   ============================================= */
.footer {
  background: var(--neutral-900);
  color: var(--neutral-400);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand { max-width: 280px; }
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer-brand-name .logo-mark {
  width: 32px;
  height: 32px;
  background: var(--primary-600);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 800;
  font-family: var(--font-sans);
  color: var(--white);
}
.footer-desc { font-size: .9rem; line-height: 1.7; margin-bottom: 20px; }
.footer-heading { font-size: .875rem; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 16px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .9rem; transition: color .15s; }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .875rem;
}
.footer-bottom a { color: var(--neutral-400); transition: color .15s; }
.footer-bottom a:hover { color: var(--white); }

@media (max-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; max-width: 100%; }
  .cta-banner { padding: 40px 24px; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* =============================================
   Urgency / Social proof elements
   ============================================= */
.urgency-bar {
  background: var(--accent-500);
  color: var(--white);
  text-align: center;
  padding: 10px var(--gutter);
  font-size: .875rem;
  font-weight: 600;
}
.city-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--neutral-200);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: .8125rem;
  font-weight: 500;
  color: var(--neutral-700);
  box-shadow: var(--shadow-sm);
}
.city-pill.taken { color: var(--neutral-400); text-decoration: line-through; }
.city-pill.available::before { content: '●'; color: var(--success-500); margin-right: 4px; }
.city-pill.taken::before { content: '●'; color: var(--neutral-400); margin-right: 4px; }

/* =============================================
   Icon boxes
   ============================================= */
.icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 16px;
}
.icon-box-primary { background: var(--primary-100); }
.icon-box-accent { background: var(--accent-100); }
.icon-box-success { background: var(--success-100); }

/* =============================================
   Page hero (inner pages)
   ============================================= */
.page-hero {
  background: var(--primary-50);
  border-bottom: 1px solid var(--neutral-200);
  padding: 56px 0;
  text-align: center;
}
.page-hero .section-tag { margin-bottom: 12px; }

/* =============================================
   Misc utilities
   ============================================= */
.text-center { text-align: center; }
.text-primary { color: var(--primary-700); }
.text-accent { color: var(--accent-600); }
.text-success { color: var(--success-600); }
.text-muted { color: var(--neutral-500); }
.mb-4 { margin-bottom: 4px; }
.mb-8 { margin-bottom: 8px; }
.mb-12 { margin-bottom: 12px; }
.mb-16 { margin-bottom: 16px; }
.mb-20 { margin-bottom: 20px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.mb-48 { margin-bottom: 48px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.mt-auto { margin-top: auto; }
.divider { border: none; border-top: 1px solid var(--neutral-200); margin: 40px 0; }
.highlight { color: var(--primary-700); }
.highlight-accent { color: var(--accent-600); }
