:root {
  --bg: #f4f6f8;
  --ink: #1c2530;
  --ink-soft: #3a4654;
  --muted: #6b7783;
  --border: #dde3e9;
  --primary: #d9642a;
  --primary-dark: #b64f1d;
  --accent: #2c5f8a;
  --card: #ffffff;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

h1, h2, h3 { line-height: 1.2; }
a { color: inherit; }

/* ---- Boutons ---- */
.btn {
  display: inline-block;
  border: none;
  border-radius: 10px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.05s ease, background 0.15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 8px 14px; font-size: 14px; }
.btn-lg { padding: 14px 24px; font-size: 16px; }
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--border); }
.btn-ghost:hover { background: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.5); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); }

/* ---- Nav ---- */
.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 28px;
  max-width: 1100px;
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo { width: 40px; height: 40px; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-size: 21px; font-weight: 800; color: var(--ink); }
.brand-name span { color: var(--primary); }
.brand-tagline { font-size: 11px; color: var(--muted); font-weight: 600; letter-spacing: 0.3px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; }
.nav-links a { text-decoration: none; color: var(--ink-soft); font-size: 15px; }
.nav-links a:hover { color: var(--primary); }

/* ---- Menu deroulant ---- */
.menu-wrap { position: relative; }
.menu-btn {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.menu-btn:hover { background: #f3f6f9; }
.menu-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  min-width: 210px;
  padding: 6px;
  z-index: 500;
  display: flex;
  flex-direction: column;
}
.menu-dropdown.hidden { display: none; }
.menu-item {
  display: block;
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  border-radius: 6px;
  text-decoration: none;
}
.menu-item:hover { background: #f3f6f9; color: var(--primary-dark); }
.menu-sep { height: 1px; background: var(--border); margin: 6px 4px; }

/* ---- Hero ---- */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 28px 60px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  background: #eef1f4;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 13px;
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.hero h1 { font-size: 44px; margin: 0 0 16px; letter-spacing: -1px; font-weight: 600; }
.hero h1 .hl { color: var(--primary); }
.lead { font-size: 18px; color: var(--ink-soft); margin: 0 0 24px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* Demo visuelle */
.hero-visual { display: flex; justify-content: center; }
.demo-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  width: 100%;
  max-width: 340px;
  box-shadow: 0 8px 24px rgba(28,37,48,0.08);
}
.demo-photo {
  background: linear-gradient(135deg, #eef2f6, #dde6ee);
  border-radius: 12px;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.demo-photo-emoji { font-size: 40px; }
.demo-photo-label { font-size: 12px; color: var(--muted); }
.demo-arrow { text-align: center; font-size: 13px; color: var(--primary); font-weight: 700; margin: 12px 0; }
.demo-devis { border: 1px solid var(--border); border-radius: 12px; padding: 14px; }
.demo-devis-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.demo-badge { background: var(--accent); color: #fff; font-size: 11px; padding: 2px 9px; border-radius: 999px; }
.demo-line { display: flex; justify-content: space-between; font-size: 13px; padding: 6px 0; border-bottom: 1px solid var(--border); color: var(--ink-soft); }
.demo-total { display: flex; justify-content: space-between; font-weight: 800; margin-top: 10px; }
.demo-total span:last-child { color: var(--primary); }

/* ---- Bande accroche ---- */
.band {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 44px 28px;
}
.band-quote { font-size: 24px; font-weight: 700; max-width: 780px; margin: 0 auto 8px; }
.band-sub { color: #b9c2cc; margin: 0; font-size: 16px; }

/* ---- Sections ---- */
.section { max-width: 1100px; margin: 0 auto; padding: 64px 28px; }
.section-alt { background: #fff; max-width: none; }
.section-alt > * { max-width: 1100px; margin-left: auto; margin-right: auto; }
.section-title { text-align: center; font-size: 30px; margin: 0 0 8px; font-weight: 600; letter-spacing: -0.4px; }
.section-lead { text-align: center; color: var(--muted); font-size: 17px; margin: 0 auto 40px; max-width: 620px; }

/* Etapes */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 22px;
  position: relative;
}
.step-num {
  width: 34px; height: 34px;
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800;
  margin-bottom: 14px;
}
.step h3 { margin: 0 0 8px; font-size: 19px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 15px; }

/* Exemples */
.examples { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.example-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 22px;
}
.example-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.example-emoji { font-size: 34px; }
.example-head h3 { margin: 0; font-size: 18px; }
.example-meta { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.example-lines div { display: flex; justify-content: space-between; font-size: 14px; padding: 8px 0; border-bottom: 1px solid var(--border); color: var(--ink-soft); }
.example-total { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 6px; }
.example-total strong { font-size: 22px; color: var(--primary); }
.examples-note { text-align: center; color: var(--muted); font-size: 13px; margin-top: 28px; }

/* Benefices */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.benefit { text-align: center; padding: 10px; }
.benefit-icon { font-size: 40px; display: block; margin-bottom: 12px; }
.benefit h3 { margin: 0 0 8px; font-size: 18px; }
.benefit p { margin: 0; color: var(--ink-soft); font-size: 14px; }

/* Metiers */
.metiers { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.metier {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 600;
  font-size: 15px;
}

/* FAQ */
.faq { max-width: 760px; margin: 0 auto; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 4px 18px;
  margin-bottom: 12px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  padding: 14px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--primary); font-size: 22px; font-weight: 700; margin-left: 12px; }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin: 0 0 16px; color: var(--ink-soft); font-size: 15px; }

/* Contact */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 30px; max-width: 900px; margin: 0 auto; }
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-card { display: flex; gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--border); border-radius: 12px; padding: 16px 18px; }
.contact-icon { font-size: 26px; }
.contact-card h3 { margin: 0 0 2px; font-size: 15px; }
.contact-card a { color: var(--primary); text-decoration: none; font-weight: 600; }
.contact-card p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.contact-form { background: var(--card); border: 1px solid var(--border); border-radius: 14px; padding: 22px; }
.contact-form label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
.contact-form input, .contact-form textarea {
  width: 100%;
  margin-top: 5px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
}
.contact-form .btn { width: 100%; }

/* Footer logo */
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 8px; }
.footer-logo { width: 28px; height: 28px; }
.footer-tagline { color: var(--primary); font-weight: 700; margin: 6px 0 !important; }

/* Tarifs */
.hidden { display: none; }
.pricing-offer { text-align: center; color: var(--primary-dark); font-weight: 600; margin: 0 0 20px; }
.billing-toggle {
  display: flex;
  width: max-content;
  margin: 0 auto 34px;
  background: #e6ebf0;
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
}
.billing-opt {
  border: none;
  background: transparent;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  font-size: 14px;
  color: var(--muted);
  font-weight: 700;
}
.billing-opt.active { background: #fff; color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,0.12); }
.save-badge { background: var(--primary); color: #fff; font-size: 11px; padding: 1px 8px; border-radius: 999px; margin-left: 4px; }

.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pricing-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.pricing-card.popular { border-color: var(--primary); }
.popular-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 999px;
}
.pricing-card h3 { margin: 0 0 12px; font-size: 19px; }
.price { margin-bottom: 16px; min-height: 42px; }
.price strong { font-size: 32px; color: var(--ink); }
.price small { color: var(--muted); font-size: 14px; }
.features { list-style: none; padding: 0; margin: 0 0 20px; font-size: 14px; text-align: left; flex: 1; }
.features li { padding: 7px 0 7px 24px; position: relative; border-bottom: 1px solid var(--border); }
.features li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.pricing-card .btn { width: 100%; text-align: center; }
.pricing-unit { text-align: center; margin: 24px 0 0; color: var(--muted); font-size: 15px; }
.custom-banner {
  margin-top: 26px;
  padding: 22px 24px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}
.custom-banner h3 { margin: 0 0 4px; font-size: 20px; font-weight: 600; }
.custom-banner p { margin: 0; color: #c3ccd4; font-size: 15px; }
.custom-banner .btn { white-space: nowrap; }
.custom-estimator-banner { flex-direction: column; align-items: stretch; text-align: left; }
.custom-estimator-banner .estimator { display: flex; flex-wrap: wrap; gap: 16px; align-items: flex-end; margin: 4px 0; }
.estimator label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: #c3ccd4; }
.estimator input { width: 140px; box-sizing: border-box; padding: 10px 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,0.22); background: rgba(255,255,255,0.08); color: #fff; font-size: 15px; }
.estimator input::placeholder { color: #8a97a3; }
.estimator-result { flex: 1; min-width: 200px; font-weight: 700; font-size: 15px; color: #fff; }
.custom-estimator-banner .btn { align-self: flex-start; }

/* CTA final */
.cta-final {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 64px 28px;
}
.cta-final h2 { font-size: 32px; margin: 0 0 10px; font-weight: 600; letter-spacing: -0.4px; }
.cta-final p { font-size: 18px; margin: 0 0 26px; }
.cta-final .btn { margin: 6px; }

/* Mentions legales */
.nav-back { margin-left: auto; }
.legal { max-width: 760px; margin: 0 auto; padding: 40px 28px 60px; }
.legal h1 { font-size: 30px; margin: 0 0 6px; }
.legal-updated { color: var(--muted); font-size: 14px; margin: 0 0 32px; }
.legal section { margin-bottom: 28px; }
.legal h2 { font-size: 18px; margin: 0 0 8px; }
.legal p { color: var(--ink-soft); font-size: 15px; margin: 0; }
.legal-note { margin-top: 36px; font-size: 13px; color: var(--muted); font-style: italic; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--primary); }
.footer-links { margin-top: 14px; }
.footer-links a { color: var(--ink-soft); text-decoration: underline; font-size: 14px; font-weight: 600; }
.footer-links a:hover { color: var(--primary); }

/* Footer */
.footer { text-align: center; padding: 40px 28px; color: var(--muted); }
.footer-brand { font-size: 20px; font-weight: 800; color: var(--ink); }
.footer-brand span { color: var(--primary); }
.footer p { margin: 6px 0; font-size: 14px; }
.footer-legal { font-size: 12px; }
.footer-cols {
  display: flex;
  flex-wrap: wrap;
  gap: 56px;
  justify-content: center;
  max-width: 640px;
  margin: 0 auto 32px;
  text-align: left;
}
.footer-col h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 0.6px; color: var(--muted); margin: 0 0 12px; }
.footer-col a { display: block; color: var(--ink-soft); text-decoration: none; font-size: 14px; margin-bottom: 9px; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; }
.footer-bottom .footer-brand { margin-bottom: 8px; }

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .hero { grid-template-columns: 1fr; padding-top: 20px; }
  .hero h1 { font-size: 34px; }
  .steps, .examples { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr 1fr; }
  .pricing-grid { grid-template-columns: 1fr 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav .btn-primary { margin-left: auto; }
}
@media (max-width: 480px) {
  .benefits, .pricing-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 28px; }
}
