/* ==========================================================================
   Oversales — Design system (neuf, épuré, moderne)
   Une seule feuille de style pour tout le site.
   ========================================================================== */

:root {
  /* Couleurs */
  --ink: #0B1020;          /* texte principal, presque noir bleuté */
  --ink-soft: #3A4256;     /* texte secondaire */
  --muted: #6B7384;        /* texte discret */
  --bg: #FFFFFF;
  --bg-alt: #F7F8FB;       /* sections alternées */
  --line: #E7EAF1;         /* filets / bordures */
  --accent: #4F46E5;       /* indigo — couleur de marque */
  --accent-press: #4338CA;
  --accent-soft: #EEF0FE;  /* fond léger accent */
  --cyan: #06B6D4;         /* touche dégradé */
  --ok: #16A34A;
  --warn: #B45309;

  /* Typo */
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Rayons & ombres */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(11,16,32,.06), 0 1px 3px rgba(11,16,32,.05);
  --shadow-md: 0 10px 30px rgba(11,16,32,.08);
  --shadow-lg: 0 24px 60px rgba(11,16,32,.12);

  /* Largeur */
  --max: 1120px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.2; color: var(--ink); letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2rem, 5vw, 3.25rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1rem; color: var(--ink-soft); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.center { text-align: center; }
.lead { font-size: 1.2rem; color: var(--ink-soft); max-width: 640px; }
.eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: 1rem; padding: 14px 24px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer; transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(79,70,229,.28); }
.btn-primary:hover { background: var(--accent-press); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { color: var(--ink); border-color: #cfd5e4; }
.btn-light { background: rgba(255,255,255,.12); color:#fff; border-color: rgba(255,255,255,.3); }
.btn-light:hover { background: rgba(255,255,255,.2); color:#fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { font-weight: 800; font-size: 1.25rem; letter-spacing: -.02em; color: var(--ink); display: inline-flex; align-items: center; gap: 10px; }
.brand:hover { text-decoration: none; }
.brand .dot { width: 11px; height: 11px; border-radius: 50%; background: linear-gradient(135deg, var(--accent), var(--cyan)); box-shadow: 0 0 0 4px var(--accent-soft); }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink-soft); font-weight: 600; font-size: .96rem; }
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--ink); }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding: 96px 0 84px; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 85% -10%, rgba(6,182,212,.16), transparent 60%),
    radial-gradient(55% 65% at 5% 0%, rgba(79,70,229,.16), transparent 55%);
}
.hero h1 { max-width: 14ch; }
.hero .lead { margin: 18px 0 32px; font-size: 1.28rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.proof-bar { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 28px; color: var(--muted); font-weight: 600; font-size: .95rem; }
.proof-bar strong { color: var(--ink); }

/* ---------- Cartes / grilles ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; box-shadow: var(--shadow-sm); transition: box-shadow .2s ease, transform .1s ease;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card .num { font-size: .85rem; font-weight: 800; color: var(--accent); background: var(--accent-soft); width: 34px; height: 34px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; }

/* Liste avantages */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { position: relative; padding-left: 34px; color: var(--ink-soft); }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 800;
}

/* Étapes méthode */
.steps { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(4, 1fr); }
.step { background:#fff; border:1px solid var(--line); border-radius: var(--r-md); padding: 24px; box-shadow: var(--shadow-sm); }
.step::before { counter-increment: step; content: "0" counter(step); font-weight: 800; color: var(--accent); font-size: 1.1rem; }
.step h3 { margin: 10px 0 6px; }

/* Tableau comparatif */
.compare { width: 100%; border-collapse: collapse; background:#fff; border:1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.compare th, .compare td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.compare thead th { background: var(--bg-alt); font-size: .92rem; }
.compare th.col-os { background: var(--accent-soft); color: var(--accent); }
.compare td.col-os { background: #FBFBFF; font-weight: 700; color: var(--ink); }
.compare tr:last-child td { border-bottom: 0; }

/* CTA bandeau */
.cta-band { background: linear-gradient(135deg, #11163a, #0B1020); color:#fff; border-radius: var(--r-lg); padding: 56px 48px; text-align: center; box-shadow: var(--shadow-lg); }
.cta-band h2 { color:#fff; }
.cta-band p { color: rgba(255,255,255,.78); max-width: 560px; margin: 0 auto 26px; }

/* FAQ */
.faq details { border:1px solid var(--line); border-radius: var(--r-md); background:#fff; padding: 4px 22px; margin-bottom: 12px; box-shadow: var(--shadow-sm); }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; color: var(--ink); display:flex; justify-content: space-between; align-items:center; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 1.4rem; font-weight: 600; }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding-bottom: 18px; margin: 0; }

/* Deux portes (silos) */
.door { background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-sm); display:flex; flex-direction: column; }
.door .tag { font-size:.78rem; font-weight:700; letter-spacing:.06em; text-transform:uppercase; color: var(--cyan); margin-bottom: 12px; }
.door h3 { font-size: 1.4rem; }
.door .btn { margin-top: auto; align-self: flex-start; }

/* Formulaire */
.form { background:#fff; border:1px solid var(--line); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow-md); max-width: 620px; margin: 0 auto; }
.field { margin-bottom: 18px; }
.field label { display:block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 14px; border:1px solid var(--line); border-radius: var(--r-sm);
  font-family: inherit; font-size: 1rem; color: var(--ink); background:#fff; transition: border .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { outline:none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.field textarea { min-height: 120px; resize: vertical; }
.form .btn { width: 100%; }
.form .hint { font-size: .85rem; color: var(--muted); margin-top: 14px; text-align:center; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 56px 0 32px; }
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer a:hover { color:#fff; }
.footer-grid { display:flex; flex-wrap:wrap; justify-content: space-between; gap: 32px; margin-bottom: 32px; }
.footer-brand { font-weight: 800; color:#fff; font-size: 1.2rem; }
.footer-col h4 { color:#fff; font-size:.9rem; text-transform:uppercase; letter-spacing:.06em; margin: 0 0 12px; }
.footer-col ul { list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.12); padding-top: 22px; font-size:.88rem; display:flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

/* ---------- Utilitaires ---------- */
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.stack > * + * { margin-top: 16px; }
.maxw-720 { max-width: 720px; }
.maxw-820 { max-width: 820px; margin-left:auto; margin-right:auto; }

/* ---------- Icônes (Tabler) ---------- */
.ic { width:48px; height:48px; border-radius:12px; background:var(--accent-soft); color:var(--accent); display:inline-flex; align-items:center; justify-content:center; font-size:1.4rem; margin-bottom:14px; }
.ic-sm { width:44px; height:44px; flex:none; border-radius:10px; background:var(--accent-soft); color:var(--accent); display:inline-flex; align-items:center; justify-content:center; font-size:1.25rem; }

/* ---------- Échelle de maturité ---------- */
.lvl { font-size:.8rem; font-weight:800; letter-spacing:.04em; color:var(--muted); text-transform:uppercase; }

/* ---------- Parcours de vente ---------- */
.journey { display:flex; flex-direction:column; gap:12px; }
.jrow { display:flex; gap:16px; align-items:flex-start; background:#fff; border:1px solid var(--line); border-radius:var(--r-md); padding:18px 20px; box-shadow:var(--shadow-sm); }
.jrow .jbody { flex:1; }
.jrow .jhead { display:flex; justify-content:space-between; align-items:baseline; gap:12px; }
.jrow h3 { margin:0; }
.jnum { font-size:.85rem; font-weight:800; color:var(--muted); }
.chips { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.chip { font-size:.83rem; color:var(--ink-soft); background:var(--bg-alt); border:1px solid var(--line); padding:5px 11px; border-radius:999px; }

/* ---------- Bloc sécurité ---------- */
.sec { display:flex; gap:18px; align-items:flex-start; }

/* ---------- L'expert ---------- */
.expert { display:flex; gap:28px; align-items:center; }
.expert .photo { width:160px; height:160px; flex:none; border-radius:var(--r-lg); background:var(--bg-alt); border:1px dashed var(--line); display:flex; align-items:center; justify-content:center; color:var(--muted); font-size:.85rem; text-align:center; padding:10px; }

/* ---------- Responsive ---------- */
@media (max-width: 700px) { .expert { flex-direction:column; align-items:flex-start; } .sec { flex-direction:column; } }

@media (max-width: 900px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .nav-links { display: none; }
  .menu-toggle { display: block; }
  .nav.open .nav-links { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; background:#fff; border-bottom:1px solid var(--line); padding: 18px 24px; gap: 18px; box-shadow: var(--shadow-md); }
  .nav.open .nav-links a { font-size: 1.05rem; }
  .cta-band { padding: 40px 24px; }
  .section { padding: 60px 0; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
  .proof-bar { gap: 16px; }
  .compare { font-size: .9rem; }
  .compare th, .compare td { padding: 12px 12px; }
}
