/* ---------------------------------------------------
   PracticeGrowth — design system
   Serif éditorial + vert profond + fond papier froid.
   Identité distincte du site sœur (webservices).
--------------------------------------------------- */

:root {
  --bg: #f4f3ee;
  --bg-alt: #e9e7dd;
  --ink: #16201c;
  --ink-soft: #565f58;
  --accent: #1f5f4f;
  --accent-dark: #143f34;
  --line: #cdd0c3;
  --white: #fffefb;

  --font-display: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-body: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

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

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

a { color: inherit; text-decoration: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
}

p { margin: 0 0 1em; color: var(--ink-soft); }
img { max-width: 100%; display: block; }

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

.site-header {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 18px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo__mark { border-radius: 8px; flex-shrink: 0; }
.logo__text { display: flex; flex-direction: column; line-height: 1.2; }
.logo__name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; }
.logo__tag { font-size: 0.72rem; color: var(--ink-soft); text-transform: uppercase; letter-spacing: 0.06em; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { font-size: 0.92rem; font-weight: 500; }
.nav a:hover { color: var(--accent); }
.nav__cta { border: 1.5px solid var(--ink); padding: 8px 16px; }
.nav__cta:hover { background: var(--ink); color: var(--bg); }

.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 32px; height: 32px; background: none; border: none; cursor: pointer;
}
.nav-toggle span { width: 100%; height: 2px; background: var(--ink); }

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

.hero { padding: 88px 0 72px; border-bottom: 1px solid var(--line); }
.hero__eyebrow {
  font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent); font-weight: 600; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); max-width: 16ch; margin-bottom: 28px; }
.hero__lede { font-size: 1.15rem; max-width: 54ch; margin-bottom: 32px; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block; padding: 13px 26px; font-family: var(--font-body);
  font-weight: 600; font-size: 0.95rem; border: 1.5px solid var(--ink);
  background: var(--ink); color: var(--bg); cursor: pointer;
}
.btn:hover { background: var(--accent); border-color: var(--accent); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }

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

.section { padding: 72px 0; border-bottom: 1px solid var(--line); }
.section--alt { background: var(--bg-alt); }
.section__head { max-width: 620px; margin-bottom: 48px; }
.section__kicker {
  font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent); font-weight: 600; margin-bottom: 10px;
}
.section h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }

.numbered-list { display: grid; gap: 0; }
.numbered-item {
  display: grid; grid-template-columns: 90px 1fr; gap: 24px;
  padding: 32px 0; border-top: 1px solid var(--line);
}
.numbered-item:last-child { border-bottom: 1px solid var(--line); }
.numbered-item__num { font-family: var(--font-display); font-size: 2.2rem; color: var(--accent); opacity: 0.55; }
.numbered-item h3 { font-size: 1.25rem; margin-bottom: 8px; }
.numbered-item p { margin: 0; max-width: 58ch; }

/* ---------- Services grid ---------- */

.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.service-card { background: var(--bg); padding: 36px; }
.service-card h3 { font-size: 1.2rem; margin-bottom: 12px; }
.service-card p { margin-bottom: 18px; }
.service-card a { font-weight: 600; color: var(--accent); }
.service-card a:hover { text-decoration: underline; }

/* ---------- CTA band ---------- */

.cta-band { padding: 64px 0; background: var(--ink); color: var(--bg); text-align: left; }
.cta-band h2 { color: var(--white); margin-bottom: 16px; max-width: 22ch; }
.cta-band p { color: #b9c2bc; max-width: 50ch; margin-bottom: 28px; }
.cta-band .btn { background: var(--accent); border-color: var(--accent); color: var(--white); }
.cta-band .btn:hover { background: var(--white); border-color: var(--white); color: var(--ink); }

/* ---------- Page header ---------- */

.page-hero { padding: 56px 0 48px; border-bottom: 1px solid var(--line); }
.page-hero__eyebrow {
  font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--accent); font-weight: 600; margin-bottom: 14px;
}
.page-hero h1 { font-size: clamp(2rem, 4vw, 2.8rem); max-width: 20ch; }
.page-hero__lede { font-size: 1.05rem; max-width: 56ch; margin-top: 18px; }

/* ---------- Blog ---------- */

.article-list { max-width: 720px; }
.article-card {
  display: block;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.article-list .article-card:last-child { border-bottom: 1px solid var(--line); }
.article-card__meta {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 10px;
}
.article-card h2 { font-size: 1.4rem; margin-bottom: 10px; }
.article-card p { margin: 0; max-width: 60ch; }
.article-card:hover h2 { color: var(--accent); }

.article-body {
  max-width: 680px;
  font-size: 1.08rem;
  line-height: 1.7;
}
.article-body p { color: var(--ink); margin-bottom: 1.3em; }
.article-body h2 {
  font-size: 1.5rem;
  margin: 2.2em 0 0.7em;
}
.article-body h3 {
  font-size: 1.2rem;
  margin: 1.8em 0 0.6em;
}
.article-body ul, .article-body ol { padding-left: 1.3em; margin-bottom: 1.3em; color: var(--ink); }
.article-body li { margin-bottom: 0.5em; }
.article-body strong { color: var(--ink); }
.article-body blockquote {
  margin: 1.8em 0;
  padding: 4px 0 4px 24px;
  border-left: 3px solid var(--accent);
  font-style: italic;
  color: var(--ink-soft);
}
.article-back { display: inline-block; margin-top: 40px; font-weight: 600; color: var(--accent); }
.article-back:hover { text-decoration: underline; }

/* ---------- Pricing ---------- */

.pricing-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line);
}
.pricing-card { background: var(--bg); padding: 32px; }
.pricing-card.is-featured { background: var(--ink); color: var(--bg); }
.pricing-card.is-featured p, .pricing-card.is-featured li { color: #b9c2bc; }
.pricing-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.pricing-card .price { font-family: var(--font-display); font-size: 2rem; margin: 12px 0; }
.pricing-card .price span { font-size: 0.9rem; font-family: var(--font-body); color: var(--ink-soft); }
.pricing-card.is-featured .price span { color: #b9c2bc; }
.pricing-card ul { list-style: none; padding: 0; margin: 20px 0; }
.pricing-card li { padding: 7px 0; border-top: 1px solid var(--line); font-size: 0.92rem; }
.pricing-card.is-featured li { border-top-color: #2c3b35; }

/* ---------- Form ---------- */

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-grid--full { grid-column: 1 / -1; }
label { display: block; font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border: 1.5px solid var(--line);
  background: var(--white); font-family: var(--font-body); font-size: 0.95rem; color: var(--ink);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--accent); }
.field { margin-bottom: 20px; }
.honeypot { position: absolute; left: -9999px; opacity: 0; }

.alert { padding: 16px 20px; margin-bottom: 24px; border: 1.5px solid var(--ink); }
.alert--success { border-color: var(--accent); }
.alert--error { border-color: #a33; }

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

.site-footer { padding-top: 56px; }
.site-footer__inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.site-footer__col { display: flex; flex-direction: column; gap: 8px; }
.site-footer__col a { color: var(--ink-soft); font-size: 0.92rem; }
.site-footer__col a:hover { color: var(--accent); }
.site-footer__heading { font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.site-footer__bottom { border-top: 1px solid var(--line); padding: 20px 24px; font-size: 0.82rem; color: var(--ink-soft); }

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

@media (max-width: 860px) {
  .nav {
    position: fixed; top: 68px; left: 0; right: 0; background: var(--bg);
    border-bottom: 1px solid var(--line); flex-direction: column; align-items: flex-start;
    padding: 20px 24px; gap: 18px; display: none;
  }
  .nav.is-open { display: flex; }
  .nav-toggle { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .numbered-item { grid-template-columns: 56px 1fr; }
}
