/* ============================================================
   SHARPER — sharper.media
   Charte : Manrope · indigo #1E029B · coral #E6483F
   ============================================================ */

:root {
  --indigo: #1E029B;
  --indigo-deep: #150170;
  --coral: #E6483F;
  --ink: #1B1733;
  --muted: #5D5878;
  --paper: #FFFFFF;
  --wash: #F6F5FB;
  --line: #E4E1F0;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  font-family: "Manrope", -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1060px; margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { color: var(--indigo); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
h1 { font-size: clamp(2.15rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); margin-bottom: 14px; }
h3 { font-size: 1.125rem; letter-spacing: -0.01em; }

p { max-width: 66ch; }
a { color: var(--indigo); }

.eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 14px;
}

/* ---------- Header ---------- */

.site-header { border-bottom: 1px solid var(--line); background: var(--paper); }
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 18px;
}
.wordmark {
  font-size: 1.45rem; font-weight: 800; letter-spacing: -0.03em;
  color: var(--indigo); text-decoration: none;
}
.wordmark span { color: var(--coral); }
.site-nav { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.site-nav a {
  text-decoration: none; color: var(--ink);
  font-size: 0.95rem; font-weight: 600;
}
.site-nav a:hover { color: var(--indigo); }
.lang-switch { font-size: 0.85rem; color: var(--muted); font-weight: 600; }
.lang-switch a { color: var(--muted); text-decoration: none; }
.lang-switch a:hover { color: var(--indigo); }
.lang-switch .active { color: var(--indigo); }

/* ---------- Boutons ---------- */

.btn {
  display: inline-block; padding: 13px 26px; border-radius: 6px;
  font-weight: 700; font-size: 0.98rem; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  font-family: inherit;
}
.btn-primary { background: var(--coral); color: #fff; }
.btn-primary:hover { background: #cf3a32; }
.btn-ghost { border-color: var(--indigo); color: var(--indigo); background: transparent; }
.btn-ghost:hover { background: var(--indigo); color: #fff; }
.btn-light { background: #fff; color: var(--indigo); }
.btn-light:hover { background: var(--wash); }

/* ---------- Hero ---------- */

.hero { padding: 84px 0 64px; }
.hero .sub { font-size: 1.15rem; color: var(--muted); margin: 20px 0 30px; max-width: 60ch; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }

/* Signature : rail de funnel */
.funnel {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  margin-top: 44px; font-weight: 700; font-size: 0.92rem;
  color: var(--muted); letter-spacing: 0.01em;
}
.funnel span::after {
  content: "\2192"; /* → */
  margin-left: 10px; color: var(--line); font-weight: 400;
}
.funnel span:last-child::after { content: none; }
.funnel .ftd {
  background: var(--coral); color: #fff;
  padding: 4px 14px; border-radius: 100px;
}

/* ---------- Sections ---------- */

.section { padding: 78px 0; }
.section.wash { background: var(--wash); }
.section-head { margin-bottom: 40px; }
.section-head p { color: var(--muted); }

.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.card {
  border: 1px solid var(--line); border-radius: 8px;
  padding: 30px 28px; background: var(--paper);
}
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.98rem; color: var(--muted); }

a.card { display: block; text-decoration: none; }
a.card:hover { border-color: var(--indigo); }
a.card .card-link { display: inline-block; margin-top: 16px; font-weight: 700; color: var(--coral); font-size: 0.95rem; }

/* Étapes 01–04 (vraie séquence) */
.step .step-n {
  display: block; font-weight: 800; color: var(--coral);
  font-size: 0.9rem; letter-spacing: 0.08em; margin-bottom: 10px;
}

/* ---------- Logos clients ---------- */

.logo-strip {
  display: flex; align-items: center; justify-content: space-between;
  gap: 34px; flex-wrap: wrap; margin-top: 34px;
}
.logo-strip img {
  height: 32px; width: auto;
  filter: grayscale(1); opacity: 0.7;
}
.logo-strip img:hover { filter: none; opacity: 1; }

/* ---------- Listes de marchés / KPIs ---------- */

.chip-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0; }
.chip {
  border: 1px solid var(--line); border-radius: 100px;
  padding: 6px 16px; font-size: 0.9rem; font-weight: 700; color: var(--indigo);
  background: var(--paper);
}

/* ---------- Bloc texte long ---------- */

.prose p { color: var(--ink); margin-bottom: 16px; }
.prose p:last-child { margin-bottom: 0; }

/* ---------- Formulaire ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact-aside p { color: var(--muted); margin-bottom: 18px; }
.contact-aside .email { font-size: 1.15rem; font-weight: 800; }

form .field { margin-bottom: 16px; }
form label {
  display: block; font-size: 0.85rem; font-weight: 700;
  margin-bottom: 6px; color: var(--ink);
}
form input, form select, form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 6px; font-family: inherit; font-size: 0.98rem;
  color: var(--ink); background: var(--paper);
}
form input:focus, form select:focus, form textarea:focus {
  outline: 2px solid var(--indigo); outline-offset: 0; border-color: var(--indigo);
}
form textarea { min-height: 120px; resize: vertical; }

/* ---------- Bandeau CTA (pages verticales) ---------- */

.band { background: var(--indigo); color: #fff; padding: 66px 0; }
.band h2 { color: #fff; }
.band p { color: #CBC5EE; margin: 12px 0 26px; }
.band a.mail { color: #fff; font-weight: 800; text-decoration: none; border-bottom: 2px solid var(--coral); }

/* ---------- Footer ---------- */

.site-footer { background: var(--indigo-deep); color: #B9B3E4; padding: 52px 0 40px; font-size: 0.92rem; }
.site-footer .container { display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.site-footer .wordmark { color: #fff; }
.site-footer a { color: #DDD9F5; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.footer-col p { margin-bottom: 6px; }
.footer-legal { margin-top: 26px; font-size: 0.85rem; color: #8C85C4; }

/* ---------- Focus visible (clavier) ---------- */

a:focus-visible, button:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--coral); outline-offset: 2px;
}

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 30px; }
}

@media (max-width: 640px) {
  .hero { padding: 56px 0 44px; }
  .section { padding: 56px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .logo-strip { justify-content: flex-start; gap: 26px; }
  .logo-strip img { height: 26px; }
  .site-nav { gap: 16px; }
}
