/* Cabinet Formalis — Refonte 2026
   Palette terre & sauge — accessible, humain, lisible */

@import url("https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;1,6..72,400;1,6..72,500&family=Inter:wght@400;500;600;700&display=swap");

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

:root {
  --bg: #F7F2E9;
  --bg-alt: #EFE7D8;
  --paper: #FFFDF8;
  --ink: #1F2D2E;
  --ink-2: #2F3F40;
  --muted: #5F6E70;
  --soft: #8A9697;
  --border: #E2D7C2;
  --border-strong: #C9BBA0;

  --brand: #2F5D4F;          /* sauge profonde */
  --brand-d: #1F4438;
  --brand-l: #D9E4DC;
  --brand-xl: #EDF3EE;

  --accent: #C8553D;         /* terracotta */
  --accent-d: #A8442F;
  --accent-l: #F2D9CE;

  --sand: #E8DECE;
  --warn: #B07A1F;
  --warn-bg: #FBF1DA;

  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(31,45,46,.04), 0 2px 6px rgba(31,45,46,.04);
  --shadow-md: 0 6px 24px rgba(31,45,46,.08);
  --shadow-lg: 0 18px 48px rgba(31,45,46,.12);

  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-serif: "Newsreader", "Iowan Old Style", Georgia, serif;
}

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

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  padding-bottom: 80px; /* place pour la barre mobile sticky */
}

@media (min-width: 880px) { body { padding-bottom: 0; } }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

::selection { background: var(--accent); color: #fff; }

/* ----- Layout ----- */
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.wrap-narrow { max-width: 880px; margin: 0 auto; padding: 0 24px; }

section { padding: 88px 0; }
@media (max-width: 700px) { section { padding: 64px 0; } }

/* ----- Typographie ----- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.h-display { font-size: clamp(40px, 6.5vw, 78px); line-height: 1.02; letter-spacing: -0.02em; }
.h-1 { font-size: clamp(32px, 4.5vw, 52px); line-height: 1.08; letter-spacing: -0.015em; }
.h-2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; }
.h-3 { font-size: clamp(20px, 2.4vw, 26px); line-height: 1.25; }
em.serif-i { font-style: italic; font-family: var(--font-serif); }

.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand);
}
.kicker::before {
  content: ""; width: 22px; height: 1px; background: var(--brand);
}

.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--muted); line-height: 1.65; max-width: 60ch; }
.tiny { font-size: 13px; color: var(--muted); letter-spacing: 0.04em; }

/* ----- Boutons ----- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  font-weight: 600; font-size: 15px;
  font-family: var(--font-sans);
  text-decoration: none;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease;
  border: 1.5px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: #fff; border-color: var(--accent); box-shadow: 0 4px 14px rgba(200,85,61,.25); }
.btn-primary:hover { background: var(--accent-d); border-color: var(--accent-d); transform: translateY(-1px); box-shadow: 0 6px 18px rgba(200,85,61,.35); }
.btn-ink { background: var(--ink); color: #FBF7EE; border-color: var(--ink); }
.btn-ink:hover { background: var(--brand-d); border-color: var(--brand-d); transform: translateY(-1px); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--bg); }
.btn-ghost { color: var(--ink); border-color: var(--border-strong); background: var(--paper); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-sm { padding: 10px 16px; font-size: 13px; }

/* ----- Top bar / Header ----- */
.topbar {
  background: var(--ink);
  color: rgba(255,253,248,.82);
  font-size: 13px;
}
.topbar-inner {
  display: flex; gap: 22px; align-items: center; justify-content: space-between;
  padding: 8px 24px;
  max-width: 1180px; margin: 0 auto;
  flex-wrap: wrap;
}
.topbar a { color: #FBF7EE; text-decoration: none; }
.topbar a:hover { color: var(--accent-l); }
.topbar .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); display: inline-block; }
.topbar-tag { display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 700px) { .topbar { display: none; } }

header.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247,242,233,.94);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand-mark {
  width: 42px; height: 42px;
  background: var(--ink); color: var(--bg);
  border-radius: 12px;
  display: grid; place-items: center;
  font-family: var(--font-serif); font-size: 22px; font-style: italic; font-weight: 500;
  position: relative;
}
.brand-mark::after {
  content: ""; position: absolute; right: -3px; bottom: -3px;
  width: 12px; height: 12px; background: var(--accent); border-radius: 4px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-serif); font-size: 20px; font-weight: 500; }
.brand-sub { font-size: 11px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; margin-top: 2px; }

.nav-links { display: flex; gap: 4px; align-items: center; }
.nav-links a {
  font-size: 14px; color: var(--ink-2);
  padding: 8px 12px; border-radius: 8px;
  font-weight: 500;
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover { background: var(--brand-l); color: var(--brand-d); }
.nav-links a.active { color: var(--brand-d); background: var(--brand-l); }

.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-tel {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px;
  color: var(--ink);
  padding: 10px 18px; border-radius: var(--r-pill);
  border: 1.5px solid var(--ink);
}
.nav-tel:hover { background: var(--ink); color: var(--bg); }
.nav-tel svg { width: 16px; height: 16px; }

.nav-burger { display: none; background: none; border: 1px solid var(--border-strong); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; color: var(--ink); }
.nav-burger svg { width: 22px; height: 22px; }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-burger { display: inline-flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: absolute; top: 76px; left: 0; right: 0;
    background: var(--bg); border-bottom: 1px solid var(--border);
    padding: 12px 24px 20px; gap: 2px;
    box-shadow: var(--shadow-md);
  }
  .nav-links.open a { padding: 12px 14px; font-size: 16px; }
}
@media (max-width: 600px) {
  .nav { height: 68px; }
  .brand-sub { display: none; }
}

/* ----- Mobile sticky call bar ----- */
.mobile-callbar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 60;
  background: var(--ink);
  display: grid; grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(255,255,255,.08);
}
.mobile-callbar a {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 12px;
  font-size: 14px; font-weight: 600;
  color: #FBF7EE;
}
.mobile-callbar a + a { border-left: 1px solid rgba(255,255,255,.1); }
.mobile-callbar a.cb-primary { background: var(--accent); color: #fff; }
.mobile-callbar svg { width: 18px; height: 18px; }
@media (min-width: 880px) { .mobile-callbar { display: none; } }

/* ----- Hero ----- */
.hero {
  padding: 80px 0 60px;
  position: relative; overflow: hidden;
}
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 60px; align-items: center;
}
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--brand-xl); border: 1px solid var(--brand-l);
  color: var(--brand-d);
  padding: 7px 14px;
  border-radius: var(--r-pill);
  font-size: 13px; font-weight: 500;
  margin-bottom: 22px;
}
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }

.hero h1 { margin-bottom: 22px; }
.hero h1 em { color: var(--accent); font-family: var(--font-serif); font-style: italic; }
.hero p.lead { margin-bottom: 32px; }

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }

.hero-trust {
  display: flex; gap: 28px; flex-wrap: wrap;
  padding-top: 24px; border-top: 1px solid var(--border);
}
.hero-trust .item { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
.hero-trust .item svg { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; }

.hero-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-md);
}
.hero-card::before {
  content: ""; position: absolute; top: -14px; right: 32px;
  width: 60px; height: 28px;
  background: var(--accent); border-radius: 14px;
}
.hero-card-title { font-family: var(--font-serif); font-size: 22px; margin-bottom: 6px; }
.hero-card-sub { font-size: 14px; color: var(--muted); margin-bottom: 22px; }

.hc-row { display: flex; align-items: flex-start; gap: 14px; padding: 14px 0; border-top: 1px solid var(--border); }
.hc-row:first-of-type { border-top: none; padding-top: 0; }
.hc-num {
  width: 28px; height: 28px; flex-shrink: 0;
  border-radius: 50%; background: var(--brand-l); color: var(--brand-d);
  display: grid; place-items: center;
  font-family: var(--font-serif); font-weight: 600; font-size: 14px;
}
.hc-text strong { display: block; font-size: 15px; color: var(--ink); margin-bottom: 2px; font-weight: 600; }
.hc-text span { font-size: 13px; color: var(--muted); line-height: 1.55; }

/* ----- Banner SAP ----- */
.sap-banner {
  background: var(--ink); color: var(--bg);
  padding: 20px 0;
}
.sap-banner-inner {
  display: flex; gap: 20px; align-items: center; justify-content: space-between;
  flex-wrap: wrap;
}
.sap-banner .sap-tag {
  font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent-l); font-weight: 600;
}
.sap-banner .sap-text {
  font-family: var(--font-serif); font-size: 20px; font-style: italic; max-width: 720px;
}
.sap-banner .sap-cta { color: var(--accent-l); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; }
.sap-banner .sap-cta:hover { color: #fff; }

/* ----- Sections ----- */
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head.center { margin: 0 auto 56px; text-align: center; }
.section-head .kicker { margin-bottom: 14px; }
.section-head h2 { margin-bottom: 16px; }
.section-head .lead { font-size: 18px; }
.section-head.center .lead { margin: 0 auto; }

/* ----- Service cards ----- */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 880px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .services { grid-template-columns: 1fr; } }

.svc-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  display: flex; flex-direction: column;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
  position: relative;
  overflow: hidden;
}
.svc-card:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: var(--shadow-md); }
.svc-card .icon {
  width: 48px; height: 48px;
  background: var(--brand-l);
  color: var(--brand-d);
  border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.svc-card .icon svg { width: 24px; height: 24px; }
.svc-card.accent .icon { background: var(--accent-l); color: var(--accent-d); }
.svc-card.sand .icon { background: var(--sand); color: var(--ink); }
.svc-card h3 { font-size: 22px; margin-bottom: 8px; font-family: var(--font-serif); font-weight: 500; }
.svc-card p { font-size: 14.5px; color: var(--muted); line-height: 1.6; margin-bottom: 18px; }
.svc-card .svc-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 16px; border-top: 1px dashed var(--border); }
.svc-card .price { font-family: var(--font-serif); font-size: 17px; color: var(--ink); }
.svc-card .price em { font-style: normal; font-size: 12px; color: var(--muted); margin-left: 4px; }
.svc-card .arrow { color: var(--brand); display: flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 600; }

/* ----- Method ----- */
.method { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
@media (max-width: 880px) { .method { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .method { grid-template-columns: 1fr; } }
.step {
  background: var(--paper); border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 24px;
  position: relative;
}
.step-num {
  font-family: var(--font-serif); font-size: 36px; font-style: italic;
  color: var(--accent); margin-bottom: 12px;
  line-height: 1;
}
.step h3 { font-size: 18px; margin-bottom: 8px; font-family: var(--font-sans); font-weight: 600; }
.step p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ----- For who ----- */
.who-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (max-width: 700px) { .who-grid { grid-template-columns: 1fr; } }
.who-card {
  background: var(--paper);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: var(--r-md);
  padding: 22px 24px;
  display: flex; gap: 16px; align-items: flex-start;
}
.who-card.alt { border-left-color: var(--accent); }
.who-card .who-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: var(--brand-xl); color: var(--brand-d);
  border-radius: 10px;
  display: grid; place-items: center;
}
.who-card.alt .who-icon { background: var(--accent-l); color: var(--accent-d); }
.who-card svg { width: 20px; height: 20px; }
.who-card h4 { font-family: var(--font-sans); font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.who-card p { font-size: 14px; color: var(--muted); line-height: 1.55; }

/* ----- Quote / testimonials ----- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 880px) { .quotes { grid-template-columns: 1fr; } }
.quote {
  background: var(--paper); border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px 26px;
  position: relative;
}
.quote::before {
  content: "\201C";
  font-family: var(--font-serif); font-size: 80px;
  color: var(--brand-l);
  position: absolute; top: -10px; left: 18px; line-height: 1;
}
.quote p {
  font-family: var(--font-serif); font-size: 19px; font-style: italic;
  color: var(--ink); line-height: 1.5;
  margin-bottom: 20px; padding-top: 6px;
}
.quote .author { display: flex; align-items: center; gap: 12px; }
.quote .av {
  width: 42px; height: 42px; border-radius: 50%; background: var(--brand-l); color: var(--brand-d);
  display: grid; place-items: center; font-weight: 600; font-family: var(--font-serif); font-size: 16px;
}
.quote .a-name { font-size: 14px; font-weight: 600; color: var(--ink); }
.quote .a-meta { font-size: 12px; color: var(--muted); }

/* ----- Zone d'intervention ----- */
.zone-wrap { background: var(--bg-alt); }
.zones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
@media (max-width: 700px) { .zones { grid-template-columns: repeat(2, 1fr); } }
.zone {
  background: var(--paper); border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 18px;
  display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--ink);
  transition: border-color .2s ease, transform .2s ease;
}
.zone:hover { border-color: var(--brand); transform: translateY(-2px); }
.zone svg { width: 18px; height: 18px; color: var(--brand); flex-shrink: 0; }
.zone-name { font-weight: 600; font-size: 15px; line-height: 1.2; }
.zone-code { font-size: 12px; color: var(--muted); margin-top: 2px; }

/* ----- FAQ ----- */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-family: var(--font-serif); font-size: 21px; font-weight: 500;
  color: var(--ink);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; font-family: var(--font-sans); font-size: 26px; color: var(--accent);
  flex-shrink: 0; transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-body {
  padding-top: 14px; font-size: 16px; color: var(--ink-2); line-height: 1.7; max-width: 70ch;
}
.faq-body p + p { margin-top: 10px; }

/* ----- CTA section ----- */
.cta-band {
  background: var(--brand-d);
  color: #FBF7EE;
  padding: 80px 0;
  position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle at center, rgba(200,85,61,.18), transparent 70%);
  top: -150px; right: -100px;
}
.cta-band-inner { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; align-items: center; }
@media (max-width: 880px) { .cta-band-inner { grid-template-columns: 1fr; } }
.cta-band h2 { color: #FBF7EE; }
.cta-band h2 em { color: #F5C9B8; font-style: italic; }
.cta-band p { color: rgba(251,247,238,.78); margin-top: 14px; max-width: 50ch; }
.cta-band .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 26px; }
.cta-band .btn-ink { background: var(--bg); color: var(--ink); border-color: var(--bg); }
.cta-band .btn-ink:hover { background: var(--accent); color: #fff; border-color: var(--accent); }
.cta-band .btn-outline { color: #FBF7EE; border-color: rgba(255,255,255,.4); }
.cta-band .btn-outline:hover { background: #FBF7EE; color: var(--ink); }

.cta-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--r-lg);
  padding: 28px;
  backdrop-filter: blur(4px);
}
.cta-card .row {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 0; border-top: 1px solid rgba(255,255,255,.12);
  font-size: 14.5px;
}
.cta-card .row:first-of-type { border-top: none; padding-top: 0; }
.cta-card .row svg { width: 20px; height: 20px; color: #F5C9B8; flex-shrink: 0; }
.cta-card .row strong { display: block; font-size: 15px; color: #fff; margin-bottom: 2px; }
.cta-card .row span { color: rgba(251,247,238,.7); font-size: 13px; }

/* ----- Footer ----- */
footer {
  background: var(--ink);
  color: rgba(251,247,238,.72);
  padding: 64px 0 28px;
}
.foot-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 500px) { .foot-grid { grid-template-columns: 1fr; } }

.foot-brand .brand-name { color: #FBF7EE; }
.foot-brand .brand-sub { color: rgba(251,247,238,.5); }
.foot-brand p { font-size: 14px; line-height: 1.65; margin-top: 14px; max-width: 36ch; }
.foot-col h4 {
  color: #FBF7EE; font-family: var(--font-sans); font-size: 12px;
  font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 16px;
}
.foot-col a { display: block; padding: 5px 0; font-size: 14px; color: rgba(251,247,238,.7); }
.foot-col a:hover { color: var(--accent-l); }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  font-size: 12px; color: rgba(251,247,238,.4);
}
.foot-bottom a { color: rgba(251,247,238,.55); }
.foot-bottom a:hover { color: #FBF7EE; }

/* ----- Page hero (inner pages) ----- */
.page-hero {
  padding: 60px 0 50px;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}
.breadcrumb { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { margin: 0 8px; color: var(--soft); }
.page-hero h1 { margin-bottom: 16px; }
.page-hero .lead { font-size: 18px; }
.page-hero-grid {
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 50px; align-items: end;
}
@media (max-width: 880px) { .page-hero-grid { grid-template-columns: 1fr; } }

/* ----- Article content / Service pages ----- */
.content-grid {
  display: grid; grid-template-columns: 1fr 320px; gap: 48px;
  padding: 72px 0;
  align-items: start;
}
@media (max-width: 980px) { .content-grid { grid-template-columns: 1fr; } }

.article :is(h2, h3) { font-family: var(--font-serif); font-weight: 500; color: var(--ink); }
.article h2 {
  font-size: clamp(24px, 3vw, 32px); margin: 44px 0 18px; line-height: 1.2;
  position: relative; padding-left: 18px;
}
.article h2::before {
  content: ""; position: absolute; left: 0; top: 10px;
  width: 4px; height: calc(100% - 16px); background: var(--accent); border-radius: 2px;
}
.article h2:first-child { margin-top: 0; }
.article h3 { font-size: clamp(19px, 2vw, 22px); margin: 28px 0 12px; }
.article p { font-size: 16.5px; color: var(--ink-2); line-height: 1.75; margin-bottom: 14px; }
.article ul, .article ol { margin: 12px 0 18px 26px; }
.article li { font-size: 16px; color: var(--ink-2); line-height: 1.7; margin-bottom: 8px; }
.article strong { color: var(--ink); font-weight: 600; }
.article a { color: var(--brand); text-decoration: underline; text-underline-offset: 3px; }

/* Boxes inside articles */
.info-box, .tip-box, .warn-box {
  border-radius: var(--r-md);
  padding: 18px 22px;
  font-size: 15px; line-height: 1.65;
  margin: 22px 0;
  display: flex; gap: 14px; align-items: flex-start;
}
.info-box { background: var(--brand-xl); border: 1px solid var(--brand-l); color: #1F4438; }
.tip-box { background: var(--accent-l); border: 1px solid #E8B6A4; color: #6E2A1A; }
.warn-box { background: var(--warn-bg); border: 1px solid #E5C77A; color: #7A5500; }
.info-box svg, .tip-box svg, .warn-box svg { width: 22px; height: 22px; flex-shrink: 0; margin-top: 2px; }

.article table {
  width: 100%; border-collapse: collapse;
  margin: 22px 0; font-size: 15px;
  background: var(--paper);
  border-radius: var(--r-md); overflow: hidden;
  border: 1px solid var(--border);
}
.article table th {
  background: var(--ink); color: #FBF7EE;
  padding: 12px 16px; text-align: left;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em;
}
.article table td {
  padding: 12px 16px; border-top: 1px solid var(--border); color: var(--ink-2);
}
.article table tr:nth-child(even) td { background: var(--bg); }

.aide-card {
  background: var(--paper); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 22px 24px; margin: 14px 0;
}
.aide-card-head {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  margin-bottom: 10px; flex-wrap: wrap;
}
.aide-name { font-family: var(--font-serif); font-size: 21px; font-weight: 500; color: var(--ink); }
.aide-amount { font-family: var(--font-serif); font-size: 24px; font-style: italic; color: var(--accent); }
.aide-desc { font-size: 15px; color: var(--ink-2); line-height: 1.65; }
.aide-cond {
  margin-top: 12px; padding-top: 12px; border-top: 1px dashed var(--border);
  font-size: 13.5px; color: var(--brand-d); font-weight: 500;
}

/* Sidebar */
.sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 14px; }
@media (max-width: 980px) { .sidebar { position: static; } }

.side-cta {
  background: var(--ink); color: #FBF7EE;
  border-radius: var(--r-lg); padding: 26px;
}
.side-cta h3 { font-family: var(--font-serif); font-size: 22px; color: #fff; margin-bottom: 6px; }
.side-cta p { font-size: 14px; color: rgba(251,247,238,.7); margin-bottom: 18px; }
.side-cta .tel { display: block; font-family: var(--font-serif); font-size: 26px; color: #F5C9B8; margin-bottom: 14px; }
.side-cta .btn { width: 100%; justify-content: center; }

.side-nav {
  background: var(--paper); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 22px;
}
.side-nav h4 {
  font-family: var(--font-sans); font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.14em; color: var(--muted);
  margin-bottom: 14px;
}
.side-nav a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; font-size: 14.5px; color: var(--ink-2);
  border-top: 1px solid var(--border);
}
.side-nav a:first-of-type { border-top: none; }
.side-nav a:hover { color: var(--brand); }
.side-nav a::after { content: "→"; color: var(--brand); opacity: 0; transition: opacity .15s ease; }
.side-nav a:hover::after { opacity: 1; }
.side-nav a.active { color: var(--brand-d); font-weight: 600; }
.side-nav a.active::after { opacity: 1; }

/* ----- Forms ----- */
.form-card {
  background: var(--paper); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 32px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field label {
  font-size: 13px; font-weight: 500; color: var(--ink-2);
}
.field label .req { color: var(--accent); margin-left: 2px; }
.field input, .field select, .field textarea {
  font-family: var(--font-sans); font-size: 15px;
  padding: 12px 14px;
  background: var(--bg);
  border: 1.5px solid var(--border); border-radius: var(--r-sm);
  color: var(--ink); outline: none;
  transition: border-color .2s ease, background .2s ease;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand); background: #fff;
}
.field textarea { min-height: 120px; resize: vertical; }
.field-check {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 13px; color: var(--muted); line-height: 1.5;
}
.field-check input { width: auto; }

/* Contact cards */
.contact-tiles { display: grid; gap: 12px; }
.contact-tile {
  background: var(--paper); border: 1px solid var(--border);
  border-radius: var(--r-md); padding: 18px 20px;
  display: flex; gap: 16px; align-items: center;
  text-decoration: none; color: var(--ink);
  transition: border-color .2s ease, transform .2s ease;
}
.contact-tile:hover { border-color: var(--brand); transform: translateX(2px); }
.contact-tile .ct-icon {
  width: 44px; height: 44px; flex-shrink: 0;
  background: var(--brand-xl); color: var(--brand-d);
  border-radius: 12px; display: grid; place-items: center;
}
.contact-tile svg { width: 20px; height: 20px; }
.contact-tile .ct-label { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.contact-tile .ct-value { font-size: 17px; font-weight: 600; color: var(--ink); margin-top: 2px; }

/* Tarif cards */
.tarif-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 880px) { .tarif-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tarif-grid { grid-template-columns: 1fr; } }
.tarif-card {
  background: var(--paper); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px;
  display: flex; flex-direction: column;
  position: relative;
}
.tarif-card.featured { background: var(--ink); border-color: var(--brand-d); color: #FBF7EE; }
.tarif-card .icon {
  width: 44px; height: 44px; border-radius: 12px; margin-bottom: 16px;
  background: var(--brand-l); color: var(--brand-d);
  display: grid; place-items: center;
}
.tarif-card .icon svg { width: 22px; height: 22px; }
.tarif-card.featured .icon { background: rgba(255,255,255,.1); color: var(--accent-l); }
.tarif-name { font-family: var(--font-serif); font-size: 22px; font-weight: 500; margin-bottom: 8px; }
.tarif-price { font-family: var(--font-serif); font-size: 36px; font-weight: 500; color: var(--accent); line-height: 1.1; }
.tarif-price small { font-size: 14px; font-weight: 400; color: var(--muted); font-family: var(--font-sans); }
.tarif-card.featured .tarif-price { color: #F5C9B8; }
.tarif-card.featured small { color: rgba(251,247,238,.55); }
.tarif-after {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 6px;
  font-size: 12px; font-weight: 600; color: var(--brand-d);
  background: var(--brand-xl); padding: 4px 10px; border-radius: var(--r-pill);
}
.tarif-card.featured .tarif-after { background: rgba(245,201,184,.15); color: #F5C9B8; }
.tarif-desc { font-size: 14px; color: var(--muted); margin: 14px 0; line-height: 1.6; }
.tarif-card.featured .tarif-desc { color: rgba(251,247,238,.7); }
.tarif-feat { list-style: none; padding-top: 14px; border-top: 1px solid var(--border); margin-top: auto; }
.tarif-card.featured .tarif-feat { border-top-color: rgba(255,255,255,.1); }
.tarif-feat li {
  font-size: 13.5px; color: var(--ink-2); padding: 6px 0;
  display: flex; align-items: flex-start; gap: 8px;
}
.tarif-card.featured .tarif-feat li { color: rgba(251,247,238,.8); }
.tarif-feat li::before {
  content: ""; flex-shrink: 0; margin-top: 7px;
  width: 6px; height: 6px; border-radius: 50%; background: var(--brand);
}
.tarif-card.featured .tarif-feat li::before { background: var(--accent); }

/* Blog cards */
.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 880px) { .blog-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .blog-grid { grid-template-columns: 1fr; } }
.blog-card {
  background: var(--paper); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.blog-card:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: var(--shadow-md); }
.blog-thumb {
  aspect-ratio: 16/9;
  background: var(--brand-xl);
  display: grid; place-items: center;
  position: relative;
  color: var(--brand-d);
}
.blog-thumb.alt { background: var(--accent-l); color: var(--accent-d); }
.blog-thumb.sand { background: var(--sand); color: var(--ink); }
.blog-thumb svg { width: 56px; height: 56px; }
.blog-body { padding: 22px 24px; flex: 1; display: flex; flex-direction: column; }
.blog-cat { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand); font-weight: 600; }
.blog-card h3 { font-family: var(--font-serif); font-size: 21px; font-weight: 500; margin: 8px 0 8px; line-height: 1.25; }
.blog-card p { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; }
.blog-link { margin-top: auto; color: var(--brand); font-size: 14px; font-weight: 600; }

/* Utility */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
@media (max-width: 880px) { .grid-2 { grid-template-columns: 1fr; } }
.center { text-align: center; }
.muted { color: var(--muted); }
.divider { height: 1px; background: var(--border); margin: 48px 0; }
.bg-alt { background: var(--bg-alt); }
.bg-paper { background: var(--paper); }

/* SR-only */
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
