/* ================================================================
   VENDREMONCENTREDEFORMATION.COM — Design System
   Style : premium, confidentiel, M&A sectoriel
================================================================ */

:root {
  --navy: #0F1B2D;
  --navy-light: #1A2D45;
  --navy-mid: #243B55;
  --gold: #C9922A;
  --gold-light: #E8B84B;
  --gold-bg: #FDF6E3;
  --cream: #F8F5F0;
  --white: #FFFFFF;
  --gray-100: #F5F5F5;
  --gray-200: #E8E8E8;
  --gray-400: #9CA3AF;
  --gray-600: #4B5563;
  --gray-800: #1F2937;
  --text: #1A1A2E;
  --text-light: #6B7280;
  --accent: #1A7F64;
  --accent-bg: #ECFDF5;
  --danger: #DC2626;

  --font: 'Inter', system-ui, sans-serif;
  --font-serif: 'Georgia', 'Times New Roman', serif;
  --radius: 8px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --shadow: 0 4px 20px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.15);
  --shadow-gold: 0 4px 20px rgba(201,146,42,.2);
  --transition: all .2s ease;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ─── TYPOGRAPHY ─── */
h1 { font-size: clamp(2rem, 4vw, 3.25rem); font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; }
h3 { font-size: 1.25rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 600; }
p { line-height: 1.7; color: var(--gray-600); }
a { text-decoration: none; color: inherit; }

.serif { font-family: var(--font-serif); }
.gold { color: var(--gold); }
.navy { color: var(--navy); }

/* ─── NAV ─── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(15,27,45,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  padding: 0 5%;
  height: 72px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  font-size: 1rem; font-weight: 800; color: var(--white);
  display: flex; align-items: center; gap: 10px;
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 0.875rem; font-weight: 500; color: rgba(255,255,255,.75); transition: var(--transition); }
.nav-links a:hover { color: var(--gold-light); }
.nav-cta { background: var(--gold); color: var(--navy) !important; font-weight: 700 !important; padding: 9px 22px; border-radius: var(--radius); transition: var(--transition) !important; }
.nav-cta:hover { background: var(--gold-light) !important; box-shadow: var(--shadow-gold); }
.nav-burger { display: none; background: none; border: none; cursor: pointer; }

/* ─── HERO ─── */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1A3A5C 100%);
  display: flex; align-items: center;
  padding: 100px 5% 60px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,146,42,.15) 0%, transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute; bottom: -100px; left: 10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(26,127,100,.1) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-content { max-width: 680px; position: relative; z-index: 2; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,146,42,.15); border: 1px solid rgba(201,146,42,.3);
  color: var(--gold-light); font-size: 0.75rem; font-weight: 700;
  padding: 6px 14px; border-radius: 20px; margin-bottom: 24px;
  text-transform: uppercase; letter-spacing: .06em;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero h1 em { color: var(--gold-light); font-style: normal; }
.hero-sub { font-size: 1.125rem; color: rgba(255,255,255,.75); margin-bottom: 36px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-trust {
  display: flex; align-items: center; gap: 20px; margin-top: 48px;
  padding-top: 32px; border-top: 1px solid rgba(255,255,255,.1);
  flex-wrap: wrap;
}
.hero-trust-item { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.6); font-size: 0.8125rem; }
.hero-trust-item strong { color: var(--white); }

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: var(--radius); font-size: 0.9375rem;
  font-weight: 700; cursor: pointer; border: none; transition: var(--transition);
  white-space: nowrap;
}
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); box-shadow: var(--shadow-gold); transform: translateY(-1px); }
.btn-outline-white { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,.4); }
.btn-outline-white:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-light); }
.btn-outline-navy { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: var(--white); }
.btn-lg { padding: 16px 36px; font-size: 1rem; border-radius: var(--radius-lg); }
.btn-sm { padding: 8px 18px; font-size: 0.8125rem; }
.btn-full { width: 100%; justify-content: center; }

/* ─── SECTIONS ─── */
section { padding: 80px 5%; }
.section-label {
  font-size: 0.6875rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em;
  color: var(--gold); margin-bottom: 10px; display: block;
}
.section-title { margin-bottom: 14px; color: var(--navy); }
.section-sub { font-size: 1.0625rem; color: var(--gray-600); max-width: 560px; }
.section-header { margin-bottom: 56px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* ─── GRIDS ─── */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media(max-width:900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media(max-width:640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ─── CARDS ─── */
.card {
  background: var(--white); border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg); padding: 28px;
  transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow); border-color: var(--gray-400); transform: translateY(-2px); }
.card-gold { background: linear-gradient(135deg, var(--gold-bg), #FFF8E6); border-color: rgba(201,146,42,.2); }
.card-navy { background: var(--navy); color: var(--white); border: none; }
.card-navy p { color: rgba(255,255,255,.7); }
.card-icon { width: 48px; height: 48px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.25rem; margin-bottom: 16px; }
.card-icon.gold { background: rgba(201,146,42,.12); }
.card-icon.navy { background: rgba(255,255,255,.12); }
.card-icon.green { background: var(--accent-bg); }

/* ─── PROCESS STEPS ─── */
.process-step { display: flex; gap: 20px; align-items: flex-start; }
.step-num {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: var(--gold); color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 800;
}
.step-line { width: 2px; height: 40px; background: var(--gray-200); margin: 8px auto; }

/* ─── STATS STRIP ─── */
.stats-strip {
  background: var(--navy);
  padding: 48px 5%;
  display: flex; justify-content: center; gap: 60px; flex-wrap: wrap;
}
.stat-item { text-align: center; }
.stat-num { font-size: 2.5rem; font-weight: 900; color: var(--gold-light); display: block; line-height: 1; }
.stat-label { font-size: 0.8125rem; color: rgba(255,255,255,.6); margin-top: 6px; }

/* ─── TESTIMONIAL ─── */
.testimonial {
  background: var(--cream); border-radius: var(--radius-xl);
  padding: 36px; border-left: 4px solid var(--gold);
}
.testimonial-text { font-size: 1.0625rem; color: var(--gray-800); font-style: italic; margin-bottom: 16px; line-height: 1.8; }
.testimonial-author { font-size: 0.875rem; font-weight: 700; color: var(--navy); }
.testimonial-role { font-size: 0.8125rem; color: var(--text-light); }

/* ─── FORM ─── */
.form-group { margin-bottom: 18px; }
.form-label { display: block; font-size: 0.8125rem; font-weight: 600; margin-bottom: 6px; color: var(--navy); }
.form-input {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--gray-200);
  border-radius: var(--radius); font-size: 0.9375rem; font-family: var(--font);
  background: var(--white); color: var(--text); transition: var(--transition);
}
.form-input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,146,42,.12); }
select.form-input { cursor: pointer; }
textarea.form-input { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media(max-width:600px) { .form-row { grid-template-columns: 1fr; } }

/* ─── CONFIDENTIALITE BADGE ─── */
.confid-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-bg); color: var(--accent);
  border: 1px solid rgba(26,127,100,.2); border-radius: 20px;
  font-size: 0.6875rem; font-weight: 700; padding: 4px 12px;
}

/* ─── HERO FORM CARD ─── */
.hero-form-card {
  background: var(--white); border-radius: var(--radius-xl);
  padding: 32px; box-shadow: var(--shadow-lg);
  max-width: 460px;
}
.hero-form-card h3 { font-size: 1.125rem; margin-bottom: 4px; color: var(--navy); }
.hero-form-card p { font-size: 0.8125rem; margin-bottom: 20px; }

/* ─── CHECKLIST ─── */
.checklist { list-style: none; }
.checklist li { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; font-size: 0.9375rem; color: var(--gray-600); }
.checklist li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; margin-top: 1px; }

/* ─── FOOTER ─── */
footer {
  background: var(--navy); color: rgba(255,255,255,.6);
  padding: 48px 5% 28px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.footer-logo { font-size: 1rem; font-weight: 800; color: var(--white); margin-bottom: 12px; }
.footer-logo span { color: var(--gold); }
.footer-col h5 { color: var(--white); font-size: 0.8125rem; font-weight: 700; margin-bottom: 14px; text-transform: uppercase; letter-spacing: .06em; }
.footer-col a { display: block; font-size: 0.8125rem; color: rgba(255,255,255,.55); margin-bottom: 8px; transition: var(--transition); }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); padding-top: 20px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 0.75rem; }
@media(max-width:768px) { .footer-grid { grid-template-columns: 1fr; } nav .nav-links { display: none; } .nav-burger { display: block; } }

/* ─── UTILS ─── */
.container { max-width: 1140px; margin: 0 auto; }
.text-center { text-align: center; }
.mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; } .mt-8 { margin-top: 32px; } .mt-12 { margin-top: 48px; }
.mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; }
.bg-cream { background: var(--cream); }
.bg-navy { background: var(--navy); }
.bg-gray { background: var(--gray-100); }

/* ─── DIVIDER ─── */
.divider { width: 60px; height: 3px; background: var(--gold); border-radius: 2px; margin: 16px 0 28px; }
.divider.center { margin: 16px auto 28px; }

/* ─── TAG ─── */
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 20px; font-size: 0.6875rem; font-weight: 600; }
.tag-gold { background: rgba(201,146,42,.12); color: var(--gold); }
.tag-green { background: var(--accent-bg); color: var(--accent); }
.tag-navy { background: rgba(15,27,45,.08); color: var(--navy); }

/* ─── HIGHLIGHT BOX ─── */
.highlight-box {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--white); border-radius: var(--radius-xl);
  padding: 40px 48px;
}
.highlight-box h2 { color: var(--white); }
.highlight-box p { color: rgba(255,255,255,.75); }

/* ═══════════════════════════════════════
   MOBILE FIXES — responsive grids
   ═══════════════════════════════════════ */
@media(max-width: 768px) {

  /* Processus : 2 colonnes → 1 colonne */
  .process-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  /* Pourquoi VMC : 3 colonnes → 1 colonne */
  .why-grid {
    grid-template-columns: 1fr !important;
  }

  /* Reprises 1€ : 3 colonnes → 1 colonne */
  .reprises-grid {
    grid-template-columns: 1fr !important;
  }

  /* Témoignages : 3 colonnes → 1 colonne */
  .testi-grid {
    grid-template-columns: 1fr !important;
  }

  /* Annonces grille : 3 → 1 colonne */
  #home-annonces-grid {
    grid-template-columns: 1fr !important;
  }

  /* Hero : flex en colonne sur mobile */
  section.hero > div,
  .hero > div {
    flex-direction: column !important;
    gap: 32px !important;
  }

  /* Hero form card : pleine largeur */
  .hero-form-card {
    width: 100% !important;
    min-width: unset !important;
  }

  /* Texte hero : padding réduit */
  .hero-content {
    min-width: unset !important;
  }

  /* Cards : text-align left sur mobile */
  .card {
    text-align: left !important;
  }

  /* Padding sections réduit */
  section {
    padding-left: 4% !important;
    padding-right: 4% !important;
  }

  /* Titre section "Pourquoi" : pas de débordement */
  h2 {
    word-break: break-word;
  }
}
