/* ---------------------------------------------------
   Klaro — design system
   Serif éditorial + papier chaud + un seul accent.
   Pas de dégradés, pas de cartes flottantes génériques.
--------------------------------------------------- */

:root {
  --bg: #f5f0e6;
  --bg-alt: #ece3d1;
  --ink: #1c1913;
  --ink-soft: #5c564a;
  --accent: #bf4626;
  --accent-dark: #8f3218;
  --line: #d4c8ac;
  --white: #fffdf9;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Work 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.55;
  -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.1;
  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; 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: 14ch;
  margin-bottom: 28px;
}

.hero__lede {
  font-size: 1.15rem;
  max-width: 52ch;
  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 numérotées ---------- */

.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(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card {
  background: var(--bg);
  padding: 36px;
}
.service-card h3 { font-size: 1.3rem; 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: 20ch; }
.cta-band p { color: #c9c2b3; 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 (pages intérieures) ---------- */

.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: 18ch; }
.page-hero__lede { font-size: 1.05rem; max-width: 54ch; margin-top: 18px; }

/* ---------- Tarifs ---------- */

.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: #c9c2b3; }
.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: #c9c2b3; }
.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: #3a352b; }

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

.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; }
}
