/* =========================
   Design tokens (sobres)
========================= */
:root{
  --bg:#f6f8fb;
  --surface:#ffffff;
  --text:#0f172a;
  --muted:#475569;
  --border:#e2e8f0;

  --primary:#2563eb;
  --primary-700:#1d4ed8;

  --shadow:0 10px 30px rgba(15,23,42,.08);
  --shadow-soft:0 6px 18px rgba(15,23,42,.06);
  --radius:16px;

  --container:1120px;
  --radius-sm:12px;
  --ring:0 0 0 4px rgba(37,99,235,.12);
}

/* =========================
   Base
========================= */
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Arial;
  background:var(--bg);
  color:var(--text);
  line-height:1.5;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
a:hover{text-decoration:underline}

.container{
  max-width:var(--container);
  margin:0 auto;
  padding:0 20px;
}

.section{padding:64px 0}
.section--alt{
  background:linear-gradient(180deg,rgba(255,255,255,.7),rgba(255,255,255,.25));
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
}

/* =========================
   Header
========================= */
.header{
  position:sticky;
  top:0;
  z-index:10;
  background:rgba(246,248,251,.85);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}

.header__inner{
  height:150px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.brand__logo{
  width:600px;
  height:210px;
  border-radius:0;
  box-shadow:none;
}

.brand__name{
  font-weight:800;
  letter-spacing:-.02em;
}

.nav{
  display:flex;
  gap:18px;
  color:var(--muted);
  font-weight:600;
}

/* ✅ MODIF MINIMALE : centre le texte dans les items nav (même sur 2 lignes) */
.nav a{
  padding:8px;
  border-radius:10px;

  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  line-height:1.1;
}

.nav a:hover{
  text-decoration:none;
  background:rgba(15,23,42,.04);
}

.header__cta{display:flex;gap:10px}

/* =========================
   Typography
========================= */
.eyebrow{
  color:var(--muted);
  font-weight:700;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.08em;
  margin-bottom:12px;
}

.h1{
  font-size:clamp(32px,4vw,48px);
  line-height:1.05;
  margin-bottom:14px;
}

.h2{
  font-size:clamp(24px,2.6vw,32px);
  margin-bottom:10px;
}

.lead{
  color:var(--muted);
  font-size:16px;
  max-width:60ch;
  margin-bottom:18px;
}

/* ✅ AJOUT : subtext (tu l’utilises partout) */
.subtext{
  margin:0 0 18px 0;
  color:var(--muted);
  font-size:16px;
  line-height:1.6;
  max-width:70ch;
}

/* ✅ AJOUT : caption + hint (tu les utilises dans le HTML) */
.caption{
  margin:10px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
}

.hint{
  margin:12px 0 0;
  color:var(--muted);
  font-size:13px;
  line-height:1.5;
}

/* =========================
   Buttons
========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid var(--border);
  font-weight:800;
  background:#fff;

  /* ✅ empêche le texte de passer sur 2 lignes */
  white-space: nowrap;
}


.btn--primary{
  background:var(--primary);
  color:#fff;
  border-color:transparent;
}

.btn--secondary{background:#fff}
.btn--ghost{background:transparent}

/* Accessibilité clavier (safe) */
.btn:focus-visible{
  outline:none;
  box-shadow:var(--ring);
}

/* ✅ AJOUT : hover léger (safe) */
.btn:hover{
  text-decoration:none;
  filter:brightness(.99);
}

/* =========================
   Hero
========================= */
.hero{padding:56px 0 10px}

.hero__grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:28px;
  align-items:center;
}

/* ✅ AJOUT : layout des actions (tu l’utilises) */
.hero__actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

.bullets{
  margin-top:18px;
  padding-left:18px;
  color:var(--muted);
}

/* =========================
   ✅ Trustbar (tu l’utilises)
========================= */
.trustbar{
  margin-top:18px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:10px;
}

.trustbar__item{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:14px;
  padding:12px 12px;
  box-shadow:var(--shadow-soft);
}

.trustbar__title{
  display:block;
  font-weight:900;
  font-size:12px;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--muted);
  margin-bottom:4px;
}

.trustbar__text{
  display:block;
  font-weight:800;
  color:var(--text);
  font-size:14px;
}

@media (max-width: 980px){
  .trustbar{
    grid-template-columns: 1fr;
  }
}

/* =========================
   Mock
========================= */
.mock{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
  box-shadow:var(--shadow);
}

.mock__topbar{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-bottom:1px solid var(--border);
  font-weight:700;
}
.mock__topbar span{
  width:10px;
  height:10px;
  border-radius:999px;
  background:#e2e8f0;
}

/* =====================================================
   ✅ navigation minimaliste flèches + dots (SCOPÉ)
===================================================== */
.mock__nav{
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
}

.mock__arrow{
  width:32px;
  height:32px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#fff;
  cursor:pointer;
  display:grid;
  place-items:center;
  line-height:1;
  font-size:18px;
  padding:0;
  user-select:none;
}

.mock__arrow:hover{
  background:rgba(15,23,42,.04);
}

.mock__arrow:focus-visible{
  outline:none;
  box-shadow:var(--ring);
}

.mock__dots{
  display:flex;
  align-items:center;
  gap:6px;
}

.mock__dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:#cbd5e1;
  border:none;
  cursor:pointer;
  padding:0;
}

.mock__dot:hover{
  filter:brightness(.95);
}

.mock__dot:focus-visible{
  outline:none;
  box-shadow:var(--ring);
}

.mock__dot.is-active{
  background:var(--primary);
}

/* Mobile: garde la nav compacte */
@media (max-width: 520px){
  .mock__nav{gap:8px}
  .mock__arrow{width:30px;height:30px;font-size:16px}
  .mock__dot{width:8px;height:8px}
}

/* =========================
   Cards
========================= */
.cards{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:14px;
}

.card{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow-soft); /* ✅ safe : rend plus “pro” sans casser */
}

/* centrage titres */
.cards .card > h3{
  text-align:center;
  margin-top:0;
  margin-bottom:12px;
}

/* ✅ Responsive cards (safe) */
@media (max-width: 980px){
  .cards{
    grid-template-columns: 1fr;
  }
}

/* =========================
   ✅ KPI GRID (NOUVEAU PRO)
========================= */
.kpi-grid{
  margin-top:18px;
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:14px;
}

.kpi{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:16px;
  box-shadow:var(--shadow-soft);
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.kpi:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(15,23,42,.14);
}

.kpi__label{
  margin:0 0 8px 0;
  font-weight:900;
  font-size:13px;
  letter-spacing:.02em;
  text-transform:uppercase;
  color:var(--muted);
}

.kpi__value{
  margin:0;
  font-size:16px;
  line-height:1.3;
  color:var(--text);
  font-weight:800;
}

@media (max-width: 980px){
  .kpi-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* ✅ Hero grid en 1 colonne sur tablette (sinon ça compresse) */
  .hero__grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px){
  .kpi-grid{
    grid-template-columns: 1fr;
  }
}

/* =========================
   ✅ PRICING (Tarifs)
========================= */
.pricing{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:16px;
  margin-top:20px;
}

.price-card{
  position:relative;
  border:1px solid var(--border);
  background:var(--surface);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow-soft);
}

.price-card__title{
  margin:0 0 8px 0;
}

.price-card__lead{
  margin:0 0 12px 0;
  color:var(--muted);
}

.price-card__price{
  margin:0 0 6px 0;
  font-size:28px;
  line-height:1.1;
}

.price-card__price span{
  font-size:14px;
  color:var(--muted);
  margin-left:6px;
}

.price-card__tag{
  margin:0 0 12px 0;
  color:var(--muted);
}

.price-card__list{
  margin:0 0 14px 18px;
  padding:0;
  color:var(--muted);
}

.price-card__cta{
  width:100%;
  text-align:center;
}

.price-card--featured{
  border-color:var(--primary);
  box-shadow:var(--shadow);
}

.price-card__badge{
  position:absolute;
  top:12px;
  right:12px;
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  background:var(--primary);
  color:#fff;
  font-weight:800;
}

.pricing__footnote{
  margin-top:14px;
  border:1px dashed #cbd5e1;
  border-radius:12px;
  padding:12px 14px;
  background:#f8fafc;
  color:var(--muted);
}

.pricing__summary{
  margin-top:14px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:center;
  justify-content:space-between;
  border:1px solid var(--border);
  border-radius:12px;
  padding:12px 14px;
  background:var(--surface);
  color:var(--muted);
}

.pricing__summary strong{
  color:var(--text);
  white-space:nowrap;
}

@media (max-width: 980px){
  .pricing{
    grid-template-columns: 1fr;
  }
}

/* =========================
   ✅ Contact form (pro)
========================= */
.form{
  max-width: 760px;
  margin: 18px auto 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.form__row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field{
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.field label{
  font-weight: 800;
  color: var(--text);
  font-size: 13px;
}

.field input,
.field textarea{
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 12px;
  font: inherit;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: box-shadow .15s ease, border-color .15s ease, background .15s ease;
}

.field textarea{
  resize: vertical;
  min-height: 140px;
}

.field input::placeholder,
.field textarea::placeholder{
  color: #94a3b8;
}

.field input:focus,
.field textarea:focus{
  border-color: var(--primary);
  box-shadow: var(--ring);
}

.form__actions{
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
  margin-top: 6px;
}

.form__actions .btn{
  min-width: 160px;
}

/* Mobile */
@media (max-width: 720px){
  .form{
    padding: 16px;
  }
  .form__row{
    grid-template-columns: 1fr;
  }
  .form__actions{
    flex-direction: column;
    align-items: stretch;
  }
  .form__actions .btn{
    width: 100%;
  }
}

/* =========================
   ✅ WORKFLOW (Option A)
========================= */
.workflow{
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.workflow__card{
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 18px 18px 56px;
  box-shadow: var(--shadow-soft);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.workflow__card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: rgba(15,23,42,.14);
}

.workflow__card:focus-within{
  box-shadow: var(--shadow), var(--ring);
  border-color: rgba(37,99,235,.35);
}

.workflow__badge{
  position: absolute;
  left: 16px;
  top: 16px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 900;
  font-size: 13px;
  color: var(--text);
  background: rgba(37,99,235,.10);
  border: 1px solid rgba(37,99,235,.25);
}

.workflow__title{
  margin: 0 0 8px 0;
  font-size: 16px;
  line-height: 1.25;
  color: var(--text);
}

.workflow__text{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 980px){
  .workflow{
    grid-template-columns: 1fr;
  }
}

/* =========================
   Footer
========================= */
.footer{
  padding:24px 0;
  border-top:1px solid var(--border);
}

/* =====================================================
   ✅ MULTI DOSSIERS (centré + CTA dessous) — SCOPÉ
   IMPORTANT : ne touche qu’au HTML du bloc .multi
===================================================== */
#indicateurs .multi{
  max-width: 920px;
  margin: 0 auto;
  text-align: center;
}

#indicateurs .multi .subtext{
  margin-left: auto;
  margin-right: auto;
}

#indicateurs .multi__bullets{
  display: inline-block;
  text-align: left;
  margin: 10px auto 0;
  padding-left: 18px;
}

#indicateurs .multi__kpis{
  margin-top: 18px;
}

@media (min-width: 981px){
  #indicateurs .multi__kpis{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

#indicateurs .multi__cta{
  margin: 18px auto 0;
  max-width: 720px;
  text-align: center;
}

#indicateurs .multi__ctaTitle{
  margin: 0 0 8px 0;
}

#indicateurs .multi__actions{
  justify-content: center;
}
