:root {
  --blue: #2f5bb7;
  --blue2: #1f4f86;
  --orange: #f4651f;
  --copper: #c2703f;
  --gold: #d9a441;
  --ink: #16203a;
  --muted: #5b6781;
  --bg: #f7f8fb;
  --card: #ffffff;
  --line: #e7ebf3;
  font-family: 'Segoe UI', system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--bg); line-height: 1.55; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 22px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; }
.muted { color: var(--muted); }

header.nav {
  position: sticky; top: 0; z-index: 20;
  backdrop-filter: saturate(160%) blur(10px);
  background: rgba(247, 248, 251, 0.82);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.brand .logo {
  width: 32px; height: 32px; border-radius: 9px;
  background: linear-gradient(135deg, var(--blue), var(--blue2));
  display: grid; place-items: center; color: #fff; font-size: 18px;
}
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--muted); font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; border-radius: 12px; font-weight: 700; font-size: 15px;
  border: none; cursor: pointer;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-blue { background: var(--blue); color: #fff; }
.btn-ghost { background: #fff; color: var(--blue); border: 1.5px solid var(--line); }
.btn-lg { padding: 15px 24px; font-size: 17px; border-radius: 14px; }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }

.hero { position: relative; overflow: hidden; padding: 70px 0 40px; }
.hero::before {
  content: ''; position: absolute; inset: -30% -10% auto -10%; height: 620px;
  background:
    radial-gradient(60% 60% at 20% 10%, rgba(47, 91, 183, 0.14), transparent 70%),
    radial-gradient(50% 50% at 90% 0%, rgba(244, 101, 31, 0.14), transparent 70%);
  z-index: 0;
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line);
  color: var(--blue); font-weight: 700; font-size: 13px; padding: 7px 13px; border-radius: 999px;
}
.hero h1 { font-size: 52px; margin: 18px 0 14px; }
.hero h1 .grad {
  background: linear-gradient(90deg, var(--blue), var(--orange));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead { font-size: 19px; color: var(--muted); max-width: 540px; }
.stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; align-items: center; }
.store {
  display: inline-flex; align-items: center; gap: 11px; background: var(--ink); color: #fff;
  padding: 11px 18px; border-radius: 14px; min-width: 180px;
}
.store small { display: block; font-size: 11px; opacity: 0.8; line-height: 1; }
.store strong { font-size: 18px; line-height: 1.15; }
.store svg { width: 26px; height: 26px; flex: none; }
.store-note { font-size: 12px; color: var(--muted); margin-top: 10px; }

.phone {
  position: relative; width: 280px; margin: 0 auto;
  border-radius: 38px; padding: 10px; background: #0e1424;
  box-shadow: 0 30px 70px rgba(20, 32, 58, 0.28);
}
.phone img { width: 100%; display: block; border-radius: 28px; }
.phone::after {
  content: ''; position: absolute; top: 16px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 7px; border-radius: 99px; background: rgba(255,255,255,0.25);
}

section { padding: 64px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 42px; }
.section-head .pill { margin-bottom: 14px; }
.section-head h2 { font-size: 36px; margin: 0 0 12px; }
.section-head p { font-size: 18px; color: var(--muted); margin: 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px; }
.feature .ico {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  font-size: 22px; margin-bottom: 14px;
  background: linear-gradient(135deg, rgba(47,91,183,0.12), rgba(244,101,31,0.12));
}
.feature h3 { font-size: 18px; margin: 0 0 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split.alt { direction: rtl; }
.split.alt > * { direction: ltr; }
.split h2 { font-size: 32px; margin: 0 0 14px; }
.split p { color: var(--muted); font-size: 17px; }
.split ul { padding: 0; margin: 18px 0 0; list-style: none; }
.split li { padding: 8px 0 8px 30px; position: relative; font-weight: 600; }
.split li::before { content: '✓'; position: absolute; left: 0; color: var(--orange); font-weight: 800; }
.split .phone { width: 250px; }

.assoc { background: linear-gradient(135deg, var(--blue), var(--blue2)); color: #fff; border-radius: 26px; padding: 48px; }
.assoc h2 { font-size: 32px; margin: 0 0 12px; }
.assoc p { color: rgba(255,255,255,0.85); font-size: 18px; max-width: 640px; }
.assoc .grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 28px; }
.assoc .mini { background: rgba(255,255,255,0.1); border-radius: 16px; padding: 18px; }
.assoc .mini b { font-size: 16px; }
.assoc .mini p { font-size: 14px; margin: 6px 0 0; color: rgba(255,255,255,0.82); }

.cta { text-align: center; }
.cta h2 { font-size: 38px; margin: 0 0 10px; }
.cta .stores { justify-content: center; }

footer { border-top: 1px solid var(--line); padding: 34px 0; color: var(--muted); font-size: 14px; }
.foot-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }
.foot-links a:hover { color: var(--ink); }

/* Pages internes (aider, contact) */
.page-hero { padding: 56px 0 10px; text-align: center; }
.page-hero h1 { font-size: 40px; margin: 14px 0 12px; }
.page-hero p { font-size: 18px; color: var(--muted); max-width: 640px; margin: 0 auto; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.panel h3 { margin: 0 0 8px; font-size: 19px; }
.panel p { color: var(--muted); margin: 0; }

.form { max-width: 620px; margin: 0 auto; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 28px; }
.form .field { margin-bottom: 16px; }
.form label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 7px; }
.form input, .form textarea, .form select {
  width: 100%; padding: 13px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font-size: 16px; font-family: inherit; color: var(--ink); background: #fff;
}
.form textarea { min-height: 130px; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form .ok { background: #e8f5ee; color: #1f8a4c; border-radius: 12px; padding: 16px; text-align: center; font-weight: 600; }
.form .err { background: #fdeaea; color: #b4234a; border-radius: 12px; padding: 12px; text-align: center; margin-top: 12px; }
/* Champ-piège anti-bot : invisible pour les humains. */
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

@media (max-width: 860px) {
  .hero-grid, .split, .features, .cards, .form .row { grid-template-columns: 1fr; }
  .split.alt { direction: ltr; }
  .hero h1 { font-size: 38px; }
  .page-hero h1 { font-size: 30px; }
  .assoc .grid3 { grid-template-columns: 1fr; }
  .assoc { padding: 30px; }
  .phone { order: -1; }
}
