:root {
  --bg: #f7f8fc;
  --bg-tint: #eef1fb;
  --bg-dark: #0e1330;
  --surface: #ffffff;
  --ink: #161a2e;
  --ink-soft: #515a78;
  --line: #e2e6f3;
  --brand: #4f46e5;
  --brand-2: #7c6cf6;
  --accent: #14b8a6;
  --accent-soft: #d8f6f1;
  --warn-bg: #fff7e6;
  --warn-line: #ffe0a3;
  --warn-ink: #8a5b00;
  --radius: 18px;
  --radius-sm: 11px;
  --shadow-sm: 0 4px 14px rgba(20, 26, 46, 0.06);
  --shadow: 0 22px 50px rgba(36, 31, 99, 0.13);
  --maxw: 1160px;
  --head: "Plus Jakarta Sans", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--head); line-height: 1.15; margin: 0; letter-spacing: -0.02em; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--brand); color: #fff; padding: 10px 16px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 13px 24px; border-radius: 999px;
  font-family: var(--head); font-weight: 600; font-size: 0.97rem;
  cursor: pointer; border: 1.5px solid transparent;
  transition: transform 0.14s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn-primary { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 10px 22px rgba(79, 70, 229, 0.28); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(79, 70, 229, 0.36); }
.btn-outline { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand); }
.btn-soft { background: var(--bg-tint); color: var(--brand); }
.btn-soft:hover { background: #e2e6fb; }
.btn-block { width: 100%; }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 248, 252, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 11px; }
.brand-logo {
  display: grid; place-items: center; width: 40px; height: 40px;
  border-radius: 12px; background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff; font-family: var(--head); font-weight: 800; font-size: 0.95rem;
}
.brand-name { font-family: var(--head); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.01em; }
.brand-name strong { color: var(--brand); }
.menu { display: flex; align-items: center; gap: 28px; }
.menu a { color: var(--ink-soft); font-weight: 500; font-size: 0.96rem; transition: color 0.15s; }
.menu a:hover, .menu a.active { color: var(--ink); }
.menu .cta-link {
  background: var(--ink); color: #fff; padding: 9px 18px; border-radius: 999px; font-weight: 600;
}
.menu .cta-link:hover { background: var(--brand); color: #fff; }
.menu .cta-link.active { color: #fff; }
.burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero */
.hero { position: relative; overflow: hidden; padding: 70px 0 0; }
.hero::before {
  content: ""; position: absolute; top: -260px; right: -180px; width: 620px; height: 620px;
  background: radial-gradient(circle, rgba(124, 108, 246, 0.20), transparent 62%); pointer-events: none;
}
.hero::after {
  content: ""; position: absolute; bottom: 60px; left: -160px; width: 420px; height: 420px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.16), transparent 65%); pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 54px; align-items: center; padding-bottom: 56px; }
.tagline { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 0.85rem; color: var(--brand); background: var(--bg-tint); padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; }
.tagline .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(20,184,166,0.18); }
.hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 800; }
.grad { background: linear-gradient(120deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.subtitle { font-size: 1.16rem; color: var(--ink-soft); margin: 22px 0 30px; max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 34px; margin: 40px 0 0; padding: 0; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats dt { font-family: var(--head); font-weight: 800; font-size: 1.7rem; color: var(--ink); }
.hero-stats dd { margin: 0; color: var(--ink-soft); font-size: 0.88rem; max-width: 130px; }

/* Hero panel */
.hero-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.panel-head { margin-bottom: 14px; }
.panel-tag { font-family: var(--head); font-weight: 700; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--ink-soft); }
.panel-row { position: relative; border-radius: var(--radius-sm); padding: 16px; display: flex; flex-direction: column; gap: 4px; }
.panel-row .lbl { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.panel-row p { font-size: 0.96rem; font-weight: 500; }
.panel-row .time { position: absolute; top: 16px; right: 16px; font-family: var(--head); font-weight: 800; }
.panel-row.before { background: #fdeef0; color: #b4313f; }
.panel-row.before .time { color: #b4313f; }
.panel-row.after { background: var(--accent-soft); color: #0f766e; }
.panel-row.after .time { color: #0f766e; }
.panel-arrow { text-align: center; font-size: 0.82rem; color: var(--ink-soft); padding: 10px 0; font-weight: 500; }
.panel-foot { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--line); font-size: 0.9rem; color: var(--ink-soft); }

/* Marquee */
.marquee { overflow: hidden; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); padding: 14px 0; }
.marquee-track { display: flex; gap: 26px; white-space: nowrap; width: max-content; animation: scroll 26s linear infinite; font-family: var(--head); font-weight: 600; color: var(--ink-soft); }
.marquee-track span { font-size: 0.98rem; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* Sections */
.section { padding: 84px 0; }
.section-tinted { background: var(--bg-tint); }
.section-dark { background: var(--bg-dark); color: #e7e9f7; }
.sec-head { max-width: 645px; margin: 0 auto 50px; text-align: center; }
.kicker { display: inline-block; font-family: var(--head); font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--brand); margin-bottom: 12px; }
.kicker.light { color: var(--accent); }
.sec-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 800; }
.sec-head p { color: var(--ink-soft); font-size: 1.08rem; margin-top: 14px; }

/* Problèmes */
.problem-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.problem { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm); transition: transform 0.16s ease, box-shadow 0.2s ease; }
.problem:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.problem-ico { font-size: 1.9rem; }
.problem h3 { font-size: 1.16rem; margin: 12px 0 8px; }
.problem p { color: var(--ink-soft); font-size: 0.95rem; }
.problem em { display: block; margin-top: auto; padding-top: 14px; color: var(--accent); font-style: normal; font-weight: 600; }

/* Méthode / steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.step { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; box-shadow: var(--shadow-sm); }
.step-num { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-family: var(--head); font-weight: 800; font-size: 1.1rem; margin-bottom: 16px; }
.step h3 { font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 0.94rem; }
.step:not(:last-child)::after { content: "→"; position: absolute; top: 44px; right: -16px; color: var(--line); font-size: 1.3rem; z-index: 2; }

/* Offres */
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.offer-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 26px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.offer-card.featured { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-8px); }
.ribbon { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; font-family: var(--head); font-weight: 700; font-size: 0.78rem; padding: 6px 16px; border-radius: 999px; white-space: nowrap; }
.offer-name { font-size: 1.28rem; }
.offer-tag { color: var(--ink-soft); font-size: 0.88rem; margin-top: 4px; }
.offer-price { font-family: var(--head); font-weight: 800; font-size: 2.1rem; margin: 18px 0 6px; color: var(--ink); }
.offer-price span { font-size: 0.9rem; font-weight: 600; color: var(--ink-soft); }
.offer-desc { color: var(--ink-soft); margin-bottom: 18px; }
.ticks { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.ticks li { position: relative; padding-left: 28px; font-size: 0.94rem; color: var(--ink-soft); }
.ticks li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 19px; height: 19px; display: grid; place-items: center; background: var(--accent-soft); color: #0f766e; border-radius: 50%; font-size: 0.7rem; font-weight: 800; }
.offer-card .btn { margin-top: auto; }
.price-star { color: var(--brand); font-size: 0.9rem; font-weight: 700; margin-left: 2px; top: -0.7em; }
.offers-disclaimer { text-align: center; color: var(--ink-soft); font-size: 0.8rem; margin-top: 28px; }
.offers-foot { text-align: center; color: var(--ink-soft); font-size: 0.94rem; margin-top: 10px; }

/* Démo */
.demo-inner { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 46px; align-items: center; }
.demo-copy h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 6px 0 16px; color: #fff; }
.demo-copy p { color: #b9bfe0; }
.ticks.light li { color: #cdd2ec; }
.ticks.light li::before { background: rgba(20,184,166,0.22); color: #5eead4; }
.demo-window { background: #0a0e24; border: 1px solid #232a52; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.win-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #11173a; border-bottom: 1px solid #232a52; }
.win-bar span { width: 11px; height: 11px; border-radius: 50%; background: #3a4068; }
.win-bar span:nth-child(1) { background: #ff5f57; }
.win-bar span:nth-child(2) { background: #febc2e; }
.win-bar span:nth-child(3) { background: #28c840; }
.win-bar em { margin-left: 10px; font-style: normal; font-size: 0.82rem; color: #7e87b8; font-family: var(--head); }
.demo-window iframe { width: 100%; height: 560px; border: none; display: block; background: #0f172a; }

/* À propos */
.about-inner { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; }
.about-media { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: linear-gradient(135deg, var(--brand), var(--accent)); aspect-ratio: 4 / 3; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-fallback { position: absolute; inset: 0; display: none; place-items: center; font-family: var(--head); font-weight: 800; font-size: 3.4rem; color: rgba(255,255,255,0.95); letter-spacing: -0.02em; }
.about-fallback span { font-weight: 600; opacity: 0.75; }
.about-media.no-img img { display: none; }
.about-media.no-img .about-fallback { display: grid; }
.about-copy h2 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: 16px; }
.about-copy p { color: var(--ink-soft); margin-bottom: 18px; }
.about-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.about-list li { position: relative; padding-left: 28px; color: var(--ink-soft); }
.about-list li::before { content: "→"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
.about-list strong { color: var(--ink); }

/* Zone d'intervention (bandeau pleine largeur) */
.local-section { position: relative; overflow: hidden; }
.local-section::before { content: ""; position: absolute; top: -160px; right: -120px; width: 480px; height: 480px; background: radial-gradient(circle, rgba(20, 184, 166, 0.16), transparent 65%); pointer-events: none; }
.local-section .container { position: relative; }
.kicker.on-dark { color: var(--accent); }
.local-head { max-width: 680px; }
.local-head h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.3rem); }
.local-head p { color: #c2c8e6; margin-top: 14px; }
.local-head strong { color: #fff; }
.local-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 36px 0 30px; }
.local-card { background: rgba(255, 255, 255, 0.06); border: 1px solid #283357; border-radius: var(--radius-sm); padding: 24px; }
.local-ico { font-size: 1.6rem; }
.local-card h3 { color: #fff; font-size: 1.08rem; margin: 12px 0 6px; }
.local-card p { color: #aab2d6; font-size: 0.92rem; }
.local-label { text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.74rem; font-weight: 700; color: var(--accent); margin-bottom: 12px; }
.local-towns { display: flex; flex-wrap: wrap; gap: 10px; }
.local-towns span { background: rgba(255, 255, 255, 0.07); border: 1px solid #2f3b60; padding: 7px 14px; border-radius: 999px; font-size: 0.88rem; font-weight: 600; color: #dfe3f5; }

/* Confidentialité */
.privacy { display: flex; gap: 24px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--accent); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow-sm); }
.privacy-ico { font-size: 2rem; }
.privacy h2 { font-size: 1.5rem; margin-bottom: 12px; }
.privacy p { color: var(--ink-soft); margin-bottom: 10px; }
.privacy .fine { font-size: 0.88rem; opacity: 0.9; }

/* Contact */
.contact-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.contact-left { padding: 44px; background: linear-gradient(160deg, var(--bg-tint), #fff); }
.contact-left h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 14px; }
.contact-left > p { color: var(--ink-soft); margin-bottom: 28px; }
.contact-direct { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact-direct li { display: flex; flex-direction: column; }
.contact-direct li span:first-child { font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--ink-soft); }
.contact-direct a { color: var(--brand); font-weight: 600; }
.contact-form { padding: 44px; }
.field { display: flex; flex-direction: column; margin-bottom: 18px; }
.field label { font-size: 0.84rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 7px; }
.field input, .field textarea { font-family: var(--body); font-size: 0.96rem; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--bg); color: var(--ink); resize: vertical; transition: border-color 0.15s, box-shadow 0.15s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(79,70,229,0.14); background: #fff; }
.form-feedback { text-align: center; font-size: 0.9rem; margin-top: 14px; min-height: 1.2em; }
.form-feedback.ok { color: #0f766e; }
.form-feedback.err { color: #b4313f; }

/* Footer */
.footer { background: var(--bg-dark); color: #c2c8e6; padding: 52px 0 28px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
.footer-brand { max-width: 360px; }
.footer-brand .brand-logo { margin-bottom: 12px; }
.footer-brand p { color: #9aa1c8; font-size: 0.93rem; margin-top: 4px; }
.footer-nav { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-nav a { color: #c2c8e6; font-size: 0.94rem; }
.footer-nav a:hover { color: #fff; }
.footer-legal { color: #7e85ad; font-size: 0.82rem; margin-top: 32px; padding-top: 22px; border-top: 1px solid #232a52; }

/* Responsive */
@media (max-width: 980px) {
  .hero-inner, .demo-inner, .about-inner { grid-template-columns: 1fr; }
  .hero-panel { order: -1; }
  .about-media { order: -1; max-width: 460px; }
  .problem-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .local-grid { grid-template-columns: 1fr; }
  .offer-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
  .offer-card.featured { transform: none; }
  .step:not(:last-child)::after { display: none; }
  .contact-card { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .menu { position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--surface); border-bottom: 1px solid var(--line); padding: 8px 24px 18px; display: none; box-shadow: var(--shadow-sm); }
  .menu.open { display: flex; }
  .menu a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .menu .cta-link { margin-top: 12px; text-align: center; }
  .burger { display: flex; }
  .problem-grid, .steps { grid-template-columns: 1fr; }
  .hero-stats { gap: 24px; }
  .contact-left, .contact-form { padding: 30px; }
  .privacy { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; }
  .marquee-track { animation: none; }
}
