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

:root {
  --blue: #3155a7;
  --blue-light: #56aae3;
  --orange: #f7941e;
  --text: #414d4d;
  --gray-light: #ededed;
  --gray-bg: #f7f8fc;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Rubik', Arial, sans-serif;
  font-weight: 300;
  color: var(--text);
  font-size: 17px;
  line-height: 1.6;
}

h1, h2, h3 { font-family: 'Poppins', sans-serif; font-weight: 700; }
a { text-decoration: none; color: inherit; }

/* ─── NAV ─── */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: #fff;
  border-bottom: 1px solid var(--gray-light);
  padding: 12px 15%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
}
.nav-logo img { height: 56px; width: auto; display: block; }

.btn-primary {
  background: var(--orange);
  color: #fff;
  border: 2px solid var(--orange);
  border-radius: 50px;
  padding: 14px 32px;
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-block;
}
.btn-primary:hover { background: transparent; color: var(--orange); }

/* ─── HERO ─── */
.hero {
  background: linear-gradient(135deg, #f0f4fb 0%, #fff 100%);
  padding: 70px 6% 80px;
  border-bottom: 1px solid var(--gray-light);
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 50px;
  align-items: start;
}
#devis { scroll-margin-top: 80px; }
.hero-form {
  background: #fff;
  border-radius: 14px;
  padding: 28px 26px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}
.form-title {
  font-family: 'Poppins', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 4px;
}
.form-subtitle {
  font-size: 13px;
  color: #888;
  margin-bottom: 18px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #c5d5f0;
  border-radius: 50px;
  padding: 7px 18px;
  font-size: 13px;
  font-weight: 400;
  margin-bottom: 28px;
  color: var(--blue);
  box-shadow: 0 2px 8px rgba(49,85,167,0.08);
}
.hero h1 {
  font-size: 52px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--blue);
}
.hero h1 span { color: var(--orange); font-size: 32px; font-weight: 600; display: block; margin-top: 8px; }
.hero-subtitle {
  font-size: 16px;
  font-weight: 300;
  color: #666;
  margin-bottom: 28px;
  line-height: 1.7;
}
.hero-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.hero-check {
  background: #fff;
  border: 1px solid var(--gray-light);
  border-radius: 50px;
  padding: 7px 16px;
  font-size: 13px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 7px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.hero-check svg { color: var(--orange); flex-shrink: 0; }
.hero-stats {
  display: flex;
  gap: 20px;
  margin: 8px 0 32px;
  flex-wrap: nowrap;
}
.hero-stat { flex: 1 1 0; min-width: 0; }
.hero-stat-label {
  font-size: 12px;
  font-weight: 400;
  color: var(--text);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.hero-stat-line {
  width: 40px;
  height: 3px;
  background: var(--orange);
  border-radius: 2px;
  margin-bottom: 10px;
}
.hero-stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  white-space: nowrap;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-hero-outline {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
  border-radius: 50px;
  padding: 16px 32px;
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-hero-outline:hover { background: var(--blue); color: #fff; }

/* ─── BÉNÉFICES ─── */
.benefits {
  background: #fff;
  padding: 80px 6%;
}
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--orange);
  margin-bottom: 10px;
}
.section-header h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.25;
}
.section-header p {
  font-size: 16px;
  color: #777;
  margin-top: 12px;
  max-width: 580px;
  margin-left: auto;
  margin-right: auto;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 52px 48px;
}
.benefit-item { text-align: center; padding: 32px 24px; display: flex; flex-direction: column; align-items: center; }
.benefit-icon {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 110px;
}
.benefit-icon svg { width: auto; height: 100%; max-width: 140px; display: block; }
.benefit-line { display: none; }
.benefit-item h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 10px;
  font-family: 'Poppins', sans-serif;
}
.benefit-item p {
  font-size: 14px;
  font-weight: 300;
  color: #777;
  line-height: 1.6;
}
.benefit-item.featured {
  background: var(--orange);
  border-radius: 14px;
  box-shadow: 0 12px 32px rgba(247, 148, 30, 0.28);
}
.benefit-item.featured h3 { color: var(--blue); }
.benefit-item.featured p { color: #fff; }

/* ─── SECTEURS ─── */
.sectors {
  background: #fff;
  border-bottom: 1px solid var(--gray-light);
  padding: 20px 6%;
}
.sectors-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.sectors-label {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #aaa;
  margin-right: 4px;
  white-space: nowrap;
}
.sector-pill {
  background: var(--gray-bg);
  border: 1px solid var(--gray-light);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  cursor: default;
}

/* ─── CONSEIL FRISE ─── */
.conseil { background: var(--gray-bg); padding: 80px 6%; }
.conseil-frise {
  position: relative;
  padding-left: 52px;
  margin-top: 48px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}
.conseil-frise::before {
  content: '';
  position: absolute;
  left: 15px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(to bottom, var(--orange) 0%, var(--blue) 50%, #bbb 100%);
}
.conseil-item {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 28px 32px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(0,0,0,.06);
}
.conseil-item::before {
  content: '';
  position: absolute;
  left: -44px;
  top: 30px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--orange);
  box-shadow: 0 0 0 4px rgba(255,107,36,.12);
}
.conseil-item.recommande::before { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(0,62,104,.1); }
.conseil-item.complementaire::before { border-color: #aaa; box-shadow: 0 0 0 4px rgba(170,170,170,.15); }
.conseil-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}
.conseil-badge.obligatoire { background: #fff3ee; color: var(--orange); }
.conseil-badge.recommande  { background: #eef3f8; color: var(--blue); }
.conseil-badge.complementaire { background: #f2f2f2; color: #666; }
.conseil-item h3 { font-size: 17px; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.conseil-item p  { font-size: 14px; color: #555; line-height: 1.7; margin-bottom: 14px; }
.conseil-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.conseil-tags span {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 20px;
  background: var(--gray-bg);
  color: #444;
}

/* ─── COMMENT ÇA MARCHE ─── */
.how {
  background: #fff;
  padding: 80px 6%;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.steps-grid::before {
  content: "";
  position: absolute;
  top: 32px;
  left: calc(12.5% + 12px);
  right: calc(12.5% + 12px);
  height: 2px;
  background: var(--gray-light);
}
.step-card { text-align: center; position: relative; z-index: 1; }
.step-num {
  width: 64px;
  height: 64px;
  background: var(--blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Poppins', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin: 0 auto 20px;
}
.step-card h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 8px;
  font-family: 'Poppins', sans-serif;
}
.step-card p { font-size: 13px; color: #777; line-height: 1.6; }

/* ─── FINANCEMENT ─── */
.financing { background: var(--gray-bg); padding: 60px 6%; }
.financing-box {
  max-width: 900px;
  margin: 0 auto;
  border: 2px solid var(--blue);
  border-radius: 14px;
  padding: 40px 44px;
  display: flex;
  gap: 36px;
  align-items: center;
  background: #fff;
}
.financing-icon-wrap {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #fff;
}
.financing-content h2 {
  font-size: 24px;
  color: var(--blue);
  margin-bottom: 10px;
}
.financing-content p { font-size: 15px; color: #777; margin-bottom: 18px; }
.financing-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.fin-badge {
  background: var(--gray-bg);
  border: 1px solid var(--gray-light);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
}

/* ─── PREUVES SOCIALES ─── */
.social-proof { background: #fff; padding: 80px 6%; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 60px;
}
.stat-card {
  text-align: center;
  padding: 28px 20px;
  border: 1px solid var(--gray-light);
  border-radius: 12px;
}
.stat-number {
  font-family: 'Poppins', sans-serif;
  font-size: 40px;
  font-weight: 700;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-number span { color: var(--orange); }
.stat-label { font-size: 14px; color: #777; }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testi-card {
  background: var(--gray-bg);
  border: 1px solid var(--gray-light);
  border-radius: 12px;
  padding: 26px;
}
.testi-stars { color: var(--orange); font-size: 16px; margin-bottom: 12px; letter-spacing: 2px; }
.testi-text { font-size: 14px; color: var(--text); line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 10px; }
.testi-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}
.testi-name { font-size: 13px; font-weight: 500; color: var(--text); }
.testi-role { font-size: 12px; color: #aaa; }

/* ─── FAQ ─── */
.faq { background: var(--gray-bg); padding: 80px 6%; }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: #fff;
  border-radius: 8px;
  margin-bottom: 10px;
  overflow: hidden;
  border: 1px solid var(--gray-light);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 24px;
  text-align: left;
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.2s;
}
.faq-question:hover { color: var(--blue); }
.faq-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
  font-size: 18px;
  font-weight: 300;
  line-height: 1;
  transition: transform 0.25s, background 0.2s;
}
.faq-item.open .faq-icon {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
  padding: 0 24px 20px;
  font-size: 14px;
  color: #777;
  line-height: 1.7;
}
.faq-item.open .faq-answer { display: block; }

/* ─── CTA FINAL ─── */
.cta-final {
  background: var(--blue);
  color: #fff;
  padding: 80px 6%;
  text-align: center;
}
.cta-final h2 { font-size: 34px; margin-bottom: 14px; line-height: 1.25; }
.cta-final h2 strong { color: var(--orange); }
.cta-final p { font-size: 16px; color: #bde3fc; max-width: 540px; margin: 0 auto 36px; }
.cta-buttons { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.btn-cta-white {
  background: #fff;
  color: var(--blue);
  border: 2px solid #fff;
  border-radius: 50px;
  padding: 16px 36px;
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-cta-white:hover { background: transparent; color: #fff; }
.btn-cta-phone {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: 50px;
  padding: 16px 36px;
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.btn-cta-phone:hover { border-color: #fff; }
.cta-trust { font-size: 13px; color: rgba(255,255,255,0.5); display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }

/* ─── FOOTER ─── */
.footer {
  background: #0e1f45;
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 24px 6%;
  font-size: 13px;
}
.footer a { color: rgba(255,255,255,0.4); }

/* ─── MODAL ─── */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal.open { display: flex; }
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 31, 69, 0.65);
  backdrop-filter: blur(3px);
}
.modal-box {
  position: relative;
  background: #fff;
  border-radius: 16px;
  padding: 36px 32px;
  max-width: 460px;
  width: 100%;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
  z-index: 1;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 22px;
  color: #aaa;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--text); }
.modal-title {
  font-family: 'Poppins', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 4px;
}
.modal-subtitle {
  font-size: 13px;
  color: #888;
  margin-bottom: 22px;
}
.form-group { margin-bottom: 12px; }
.form-group label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 5px;
}
.form-group select,
.form-group input {
  width: 100%;
  border: 1.5px solid #ddd;
  border-radius: 8px;
  padding: 11px 14px;
  font-family: 'Rubik', sans-serif;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s;
  appearance: none;
  -webkit-appearance: none;
}
.form-group select:focus,
.form-group input:focus { outline: none; border-color: var(--blue); }
.form-select-wrap { position: relative; }
.form-select-wrap::after {
  content: "▾";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
  pointer-events: none;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.btn-submit {
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 50px;
  padding: 14px 32px;
  font-family: 'Rubik', sans-serif;
  font-size: 15px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: all 0.2s;
  width: 100%;
  margin-top: 6px;
}
.btn-submit:hover { background: #e0840f; }
.form-trust {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #bbb;
  justify-content: center;
  margin-top: 10px;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 1200px) {
  .nav { padding: 12px 6%; }
}
@media (max-width: 1024px) {
  .nav { gap: 24px; padding: 12px 5%; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); gap: 40px 36px; }
  .conseil-frise { padding-left: 44px; }
}
@media (max-width: 900px) {
  .hero { padding: 50px 5% 60px; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; }
  .hero h1 { font-size: 38px; }
  .hero h1 span { font-size: 22px; }
  .hero-stats { gap: 14px; }
  .hero-stat-number { font-size: 24px; }
  .hero-stat-label { font-size: 11px; }
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .financing-box { flex-direction: column; text-align: center; padding: 28px 24px; gap: 20px; }
  .section-header h2 { font-size: 26px; }
}
@media (max-width: 600px) {
  .nav { padding: 10px 16px; gap: 12px; }
  .nav-logo img { height: 38px; }
  .btn-primary {
    padding: 9px 16px;
    font-size: 12px;
    letter-spacing: 0.03em;
    border-width: 1.5px;
  }
  .hero { padding: 36px 5% 48px; }
  .hero h1 { font-size: 28px; }
  .hero h1 span { font-size: 17px; }
  .hero-subtitle { font-size: 15px; }
  .hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 4px 0 28px;
  }
  .hero-stat {
    background: #fff;
    border: 1px solid var(--gray-light);
    border-radius: 12px;
    padding: 16px 12px;
    box-shadow: 0 3px 14px rgba(49,85,167,0.07);
    text-align: center;
  }
  .hero-stat-number { font-size: 26px; }
  .hero-stat-label { font-size: 10px; white-space: normal; margin-bottom: 6px; }
  .hero-stat-line { width: 28px; margin: 0 auto 8px; }
  .hero-badge { font-size: 11px; padding: 6px 14px; }
  .hero-checks { gap: 8px; margin-bottom: 24px; }
  .hero-check { font-size: 12px; padding: 6px 12px; }
  .hero-form { padding: 22px 18px; }
  .form-title { font-size: 20px; }
  .sectors { padding: 16px 5%; }
  .sectors-inner { gap: 6px; }
  .sector-pill { font-size: 12px; padding: 5px 12px; }
  .benefits { padding: 56px 5%; }
  .benefits-grid { grid-template-columns: 1fr; gap: 28px; }
  .benefit-item { padding: 20px 16px; }
  .benefit-icon { height: 90px; }
  .section-header { margin-bottom: 36px; }
  .section-header h2 { font-size: 22px; }
  .section-header p { font-size: 14px; }
  .how, .financing, .social-proof, .faq { padding: 56px 5%; }
  .steps-grid { grid-template-columns: 1fr; gap: 28px; }
  .step-num { width: 52px; height: 52px; font-size: 18px; margin-bottom: 14px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stat-card { padding: 20px 12px; }
  .stat-number { font-size: 30px; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .financing-box { padding: 24px 18px; }
  .financing-content h2 { font-size: 20px; }
  .conseil { padding: 56px 5%; }
  .conseil-frise { padding-left: 36px; margin-top: 32px; }
  .conseil-frise::before { left: 10px; }
  .conseil-item { padding: 20px 18px; }
  .conseil-item::before { left: -32px; width: 14px; height: 14px; top: 24px; }
  .faq-question { padding: 16px 18px; font-size: 14px; }
  .faq-answer { padding: 0 18px 16px; font-size: 13px; }
  .form-row { grid-template-columns: 1fr; }
  .modal-box { padding: 24px 18px; }
  .modal-title { font-size: 16px; }
  .cta-final { padding: 56px 5%; }
  .cta-final h2 { font-size: 24px; }
  .cta-final p { font-size: 15px; }
  .cta-buttons { gap: 12px; }
  .btn-cta-white, .btn-cta-phone { padding: 14px 24px; font-size: 14px; width: 100%; justify-content: center; }
  .footer { padding: 20px 5%; font-size: 12px; }
}
@media (max-width: 380px) {
  .btn-primary { padding: 8px 12px; font-size: 11px; }
  .nav-logo img { height: 34px; }
  .hero h1 { font-size: 24px; }
}
