/* =========================================================================
   1Backlink.fr - feuille de style unique (site statique, zero framework)
   Marque Linkuma : violet #7C3AED, prune #3c0f3e, DM Sans.
   ========================================================================= */

:root {
  --violet: #7C3AED;
  --violet-600: #6d28d9;
  --violet-700: #5b21b6;
  --prune: #3c0f3e;
  --prune-soft: #4a1a4d;
  --ink: #1e1b2e;
  --muted: #6b6580;
  --line: #ece8f3;
  --bg: #ffffff;
  --bg-soft: #faf9fc;
  --bg-violet: #f4effe;
  --white: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(30, 27, 46, .04), 0 8px 30px rgba(60, 15, 62, .06);
  --shadow-lg: 0 20px 60px rgba(60, 15, 62, .14);
  --wrap: 1120px;
  --font: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { 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.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--violet-600); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { line-height: 1.2; color: var(--ink); font-weight: 700; letter-spacing: -.02em; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.3rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.section { padding: 74px 0; }
.section-soft { background: var(--bg-soft); }
.center { text-align: center; }
.eyebrow {
  display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--violet); margin-bottom: 14px;
}
.lead { font-size: 1.16rem; color: var(--muted); max-width: 640px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---- Boutons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 1rem;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary { background: var(--violet); color: #fff; box-shadow: 0 8px 22px rgba(124, 58, 237, .32); }
.btn-primary:hover { background: var(--violet-600); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--violet); color: var(--violet); }
.btn-light { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.28); }
.btn-light:hover { background: rgba(255,255,255,.24); }

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; color: var(--prune); letter-spacing: -.03em; }
.brand:hover { text-decoration: none; }
.brand .dot { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, var(--violet), var(--prune)); display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: .95rem; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 600; font-size: .98rem; }
.nav-links a:hover { color: var(--violet); text-decoration: none; }
.nav-right { display: flex; align-items: center; gap: 16px; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---- Hero ---- */
.hero { position: relative; overflow: hidden; padding: 90px 0 80px; background: radial-gradient(1000px 500px at 80% -10%, #efe6ff 0%, transparent 60%), radial-gradient(700px 400px at 0% 110%, #fbeafd 0%, transparent 55%), var(--bg); }
.hero h1 { max-width: 15ch; }
.hero .lead { margin-top: 8px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 36px; color: var(--muted); font-weight: 600; font-size: .95rem; }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges b { color: var(--ink); }

/* ---- Grilles / cartes ---- */
.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card .ic { font-size: 1.7rem; margin-bottom: 12px; display: block; }
.card h3 { margin: 0 0 8px; }
.card p { color: var(--muted); margin: 0; }

/* étapes numérotées */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 4px; }
.step .num { width: 44px; height: 44px; border-radius: 12px; background: var(--bg-violet); color: var(--violet-700); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 14px; font-size: 1.15rem; }

/* témoignages */
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.quote p { font-style: italic; color: var(--ink); }
.quote .who { margin-top: 14px; font-style: normal; }
.quote .who b { display: block; color: var(--ink); }
.quote .who span { color: var(--muted); font-size: .9rem; }
.stars { color: #f6a609; letter-spacing: 2px; margin-bottom: 8px; }

/* bandeau CTA */
.cta-band { background: linear-gradient(135deg, var(--prune), var(--violet-700)); color: #fff; border-radius: 22px; padding: 54px 40px; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; margin: 10px auto 26px; }

/* ---- Articles (blog) ---- */
.post-card { display: flex; flex-direction: column; height: 100%; }
.post-card .meta { font-size: .84rem; color: var(--violet); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.post-card h3 { margin: 10px 0; }
.post-card h3 a { color: var(--ink); }
.post-card h3 a:hover { color: var(--violet); text-decoration: none; }
.post-card .excerpt { color: var(--muted); flex: 1; }
.post-card .more { margin-top: 14px; font-weight: 700; }

/* ---- Corps d'article ---- */
.article { max-width: 760px; margin: 0 auto; }
.article-head { padding: 60px 0 30px; background: var(--bg-soft); border-bottom: 1px solid var(--line); }
.article-head .meta { color: var(--violet); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; }
.article-body { padding: 50px 0 20px; font-size: 1.06rem; }
.article-body h2 { margin: 40px 0 14px; }
.article-body h3 { margin: 34px 0 10px; color: var(--prune); }
.article-body h4 { margin: 28px 0 8px; font-size: 1.08rem; }
.article-body ul { padding-left: 0; list-style: none; margin: 0 0 1.4rem; }
.article-body li { position: relative; padding-left: 30px; margin-bottom: 12px; color: #35304a; }
.article-body li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--violet); }
.article-body a { font-weight: 600; }
.author { display: flex; gap: 14px; align-items: center; margin: 40px 0 0; padding: 22px; background: var(--bg-violet); border-radius: var(--radius); }
.author .av { width: 52px; height: 52px; border-radius: 50%; background: linear-gradient(135deg, var(--violet), var(--prune)); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.2rem; flex: none; }
.author b { display: block; }
.author span { color: var(--muted); font-size: .92rem; }

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.info-row { display: flex; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.info-row .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--bg-violet); color: var(--violet-700); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex: none; }
.info-row b { display: block; }
.info-row span { color: var(--muted); }

/* ---- Footer ---- */
.site-footer { background: var(--prune); color: #e9e0ec; padding: 60px 0 26px; margin-top: 20px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.site-footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; margin: 0 0 16px; }
.site-footer a { color: #d7c8db; display: block; margin-bottom: 10px; font-size: .96rem; }
.site-footer a:hover { color: #fff; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .about { color: #cbb8cf; max-width: 34ch; font-size: .96rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: #b79cbc; font-size: .88rem; }

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column;
    align-items: stretch; gap: 0; padding: 8px 22px 18px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow); display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav-right .btn { display: none; }
  .section { padding: 52px 0; }
  .cta-band { padding: 40px 22px; }
}
