/* =========================================================
   base.css — reset, typo, shared primitives
   ========================================================= */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: var(--lh);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button, input, select, textarea { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: 0; }

h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--lh-tight);
  letter-spacing: -.02em;
  color: inherit;
}

p { margin: 0 0 1rem; }

::selection { background: var(--emerald-100); color: var(--forest-950); }

input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--r-xs);
  min-height: 50px;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--white);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
textarea { min-height: 108px; resize: vertical; padding-top: 14px; }
input::placeholder, textarea::placeholder { color: var(--muted-soft); }
input:hover, select:hover, textarea:hover { border-color: var(--line-strong); }
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--emerald-600);
  box-shadow: var(--ring);
}
button:focus-visible, a:focus-visible {
  outline: none;
  box-shadow: var(--ring);
  border-radius: var(--r-xs);
}

.container { width: min(var(--max), calc(100% - 64px)); margin: 0 auto; }
.hidden, [hidden] { display: none !important; }

/* --- Demo strip --- */
.demo-strip {
  padding: 7px 16px;
  background: var(--forest-950);
  color: #c7d9cf;
  text-align: center;
  font-size: .74rem;
  font-weight: 500;
  letter-spacing: .02em;
}
.demo-strip::before { content: "◆"; margin-right: 8px; color: var(--gold-400); font-size: .58rem; vertical-align: middle; }

/* --- Brand lockup (composé HTML/CSS depuis mark.svg) --- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.05;
}
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; }
.brand-name { font-size: 1rem; }
.brand-tag {
  margin-top: 1px;
  font-family: var(--font-sans);
  font-size: .66rem;
  font-weight: 500;
  letter-spacing: .09em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Eyebrow / kicker */
.eyebrow, .section-kicker, .service-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .08em;
}
.service-kicker { display: flex; color: var(--emerald-600); }
.service-kicker span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(210, 165, 74, .2);
}

.lead { font-size: clamp(1.05rem, 1.5vw, 1.18rem); line-height: 1.5; color: var(--ink-soft); }
.muted { color: var(--muted); }
