/* ==========================================================================
   Statisthic — Design system (reconstruction hors Manus)
   Palette : violet rééquilibré + corail sur base claire
   Typo    : Montserrat (titres) + Inter (corps) — logo serif italique
   ========================================================================== */

/* ---- Tokens ---- */
:root {
  --white: #ffffff;
  --ink: #0f172a;        /* titres */
  --body: #334155;       /* texte courant */
  --muted: #64748b;      /* texte secondaire */
  --line: #e2e8f0;       /* filets / bordures */
  --line-soft: #eef2f7;
  --surface: #f8fafc;    /* sections alternées */
  --surface-2: #f1f5f9;

  /* Violet = accent (plus dominant) */
  --violet-50: #f5f3ff;
  --violet-100: #ede9fe;
  --violet-200: #ddd6fe;
  --violet-500: #8b5cf6;
  --violet-600: #7c3aed;
  --violet-700: #6d28d9;
  --violet-900: #4c1d95;

  /* Corail = chaleur / CTA / chiffres (repris du logo « hic ») */
  --coral-50: #fff1f0;
  --coral-100: #ffe1de;
  --coral: #f0473e;
  --coral-600: #de392f;
  --coral-700: #bd2f26;

  --ring: var(--violet-600);
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 2px rgba(15,23,42,.06);
  --shadow-sm: 0 2px 8px rgba(15,23,42,.06);
  --shadow: 0 10px 30px -12px rgba(15,23,42,.18);
  --shadow-lg: 0 24px 60px -20px rgba(30,20,90,.28);

  --container: 1200px;
  --header-h: 74px;

  --font-display: "Montserrat", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-serif: Georgia, "Times New Roman", serif;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--white);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--violet-700); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--coral); }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--violet-200); outline-offset: 2px; border-radius: 6px; }

/* ---- Layout ---- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.section { padding: 88px 0; }
.section--alt { background: var(--surface); }
.section--tight { padding: 60px 0; }
.narrow { max-width: 820px; margin-inline: auto; }

/* ---- Typographie ---- */
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.12; letter-spacing: -.01em; }
.display {
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  letter-spacing: -.02em;
  line-height: 1.02;
  color: var(--ink);
}
.h-section {
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
  letter-spacing: -.015em;
  color: var(--ink);
}
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); line-height: 1.65; }
.text-coral { color: var(--coral); }
.text-violet { color: var(--violet-700); }
.grad {
  background: linear-gradient(100deg, var(--violet-600) 0%, var(--coral) 92%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Eyebrow / pill label */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600;
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--violet-700);
  background: var(--violet-50);
  border: 1px solid var(--violet-100);
  padding: 7px 14px; border-radius: var(--radius-pill);
}
.eyebrow--coral { color: var(--coral-700); background: var(--coral-50); border-color: var(--coral-100); }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }

/* Section header block */
.section-head { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.section-head.left { margin-inline: 0; text-align: left; }
.section-head .h-section { margin: 16px 0 14px; }
.section-head p { color: var(--muted); font-size: 1.06rem; }
.rule { width: 54px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, var(--violet-600), var(--coral)); }
.section-head .rule { margin: 0 auto; }
.section-head.left .rule { margin: 0; }

/* ---- Boutons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-body); font-weight: 600; font-size: .98rem;
  padding: 13px 24px; border-radius: var(--radius-sm);
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .18s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--coral); color: #fff; box-shadow: 0 10px 24px -10px rgba(240,71,62,.6); }
.btn-primary:hover { background: var(--coral-600); color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(240,71,62,.65); }
.btn-violet { background: var(--violet-600); color: #fff; box-shadow: 0 10px 24px -10px rgba(124,58,237,.55); }
.btn-violet:hover { background: var(--violet-700); color: #fff; transform: translateY(-2px); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-outline:hover { border-color: var(--violet-500); color: var(--violet-700); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--violet-700); }
.btn-ghost:hover { background: var(--violet-50); color: var(--violet-700); }
.btn-lg { padding: 16px 30px; font-size: 1.04rem; }
.btn-block { width: 100%; }

/* ---- Header / Nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.site-header.scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-xs); }
.nav { display: flex; align-items: center; gap: 18px; height: var(--header-h); }
.brand { display: inline-flex; align-items: baseline; font-size: 1.6rem; line-height: 1; letter-spacing: -.01em; }
.brand .b-statist { font-family: var(--font-serif); font-style: italic; color: var(--ink); font-weight: 400; }
.brand .b-hic { font-family: var(--font-display); font-weight: 800; color: var(--coral); }
.nav-links { display: flex; align-items: center; gap: 2px; margin-left: 14px; }
.nav-links a {
  font-size: .95rem; font-weight: 500; color: var(--body);
  padding: 8px 13px; border-radius: var(--radius-sm); position: relative;
}
.nav-links a:hover { color: var(--violet-700); background: var(--violet-50); }
.nav-links a.active { color: var(--violet-700); background: var(--violet-50); }
.nav-links a.active::after {
  content: ""; position: absolute; left: 13px; right: 13px; bottom: 2px; height: 2px;
  background: var(--coral); border-radius: 2px;
}
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.socials { display: flex; align-items: center; gap: 10px; }
.socials a { color: var(--violet-600); display: inline-flex; }
.socials a:hover { color: var(--coral); transform: translateY(-1px); }
.socials svg { width: 17px; height: 17px; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px; background: none; border: 0;
  color: var(--muted); font-size: .9rem; font-weight: 600; padding: 6px;
}
.lang-btn:hover { color: var(--violet-700); }
.lang-btn svg { width: 16px; height: 16px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ink); padding: 6px; }
.nav-toggle svg { width: 26px; height: 26px; }

/* Mobile drawer */
.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  background: #fff; padding: 22px 24px 40px; overflow-y: auto;
  transform: translateX(100%); transition: transform .28s ease; visibility: hidden;
}
.mobile-menu.open { transform: translateX(0); visibility: visible; }
.mobile-menu a { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--ink); padding: 14px 6px; border-bottom: 1px solid var(--line-soft); }
.mobile-menu a.active { color: var(--coral); }
.mobile-menu .btn { margin-top: 22px; }
.mobile-social { display: flex; gap: 18px; margin-top: 26px; }
.mobile-social a { color: var(--violet-600); }

/* ---- Hero ---- */
.hero { position: relative; padding: 74px 0 84px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 55% at 82% 12%, var(--violet-50) 0%, transparent 60%),
    radial-gradient(40% 40% at 8% 90%, var(--coral-50) 0%, transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.hero h1 { margin: 22px 0 22px; }
.hero .lead { max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.hero-visual { position: relative; }
.hero-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 26px; position: relative; overflow: hidden;
}
.hero-card::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--violet-600), var(--coral));
}

/* Trust strip */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
.trust-row { display: flex; flex-wrap: wrap; gap: 14px 40px; justify-content: center; align-items: center; padding: 20px 0; }
.trust-item { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: .92rem; font-weight: 500; }
.trust-item svg { width: 18px; height: 18px; color: var(--violet-600); }

/* ---- Grilles / cartes ---- */
.grid { display: grid; gap: 22px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-xs);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--violet-200); }
.card h3 { font-size: 1.18rem; font-weight: 700; margin-bottom: 10px; letter-spacing: -.01em; }
.card p { color: var(--body); font-size: .98rem; }

.icon-tile {
  width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--violet-50); color: var(--violet-600); margin-bottom: 18px;
  border: 1px solid var(--violet-100);
}
.icon-tile svg { width: 26px; height: 26px; }
.icon-tile.coral { background: var(--coral-50); color: var(--coral); border-color: var(--coral-100); }

/* Card link */
.card-link { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: var(--violet-700); margin-top: 16px; font-size: .95rem; }
.card-link svg { width: 16px; height: 16px; transition: transform .2s ease; }
.card:hover .card-link svg { transform: translateX(4px); }
.card-link:hover { color: var(--coral); }

/* Feature list with checks */
.check-list li { display: flex; gap: 11px; align-items: flex-start; padding: 7px 0; color: var(--body); }
.check-list li svg { width: 20px; height: 20px; color: var(--coral); flex: none; margin-top: 3px; }

/* ---- Stats ---- */
.stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.stat { text-align: center; padding: 22px 30px; min-width: 170px; }
.stat .num { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 4vw, 3rem); color: var(--coral); line-height: 1; }
.stat .lab { display: block; margin-top: 10px; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.stats-boxed { border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-xs); padding: 14px; }
.stats-boxed .stat + .stat { border-left: 1px solid var(--line); }

/* ---- Steps / process ---- */
.steps { display: grid; gap: 22px; grid-template-columns: repeat(4, 1fr); }
.step { position: relative; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.step .step-num { font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: var(--coral); letter-spacing: .1em; }
.step h3 { font-size: 1.08rem; margin: 14px 0 8px; }
.step p { font-size: .95rem; color: var(--muted); }
.step .step-index { position: absolute; top: 20px; right: 22px; font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--violet-50); line-height: 1; z-index: 0; }
.step > * { position: relative; z-index: 1; }

/* ---- Split feature block ---- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.feature-line { display: flex; align-items: center; gap: 14px; padding: 15px 18px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; margin-bottom: 12px; transition: border-color .2s, transform .2s; }
.feature-line:hover { border-color: var(--violet-200); transform: translateX(4px); }
.feature-line .fi { width: 40px; height: 40px; border-radius: 10px; background: var(--violet-50); color: var(--violet-600); display: grid; place-items: center; flex: none; }
.feature-line .fi svg { width: 20px; height: 20px; }
.feature-line span { font-weight: 600; color: var(--ink); }

/* ---- Badges / filtres (publications) ---- */
.chip {
  display: inline-flex; align-items: center; gap: 7px; font-size: .8rem; font-weight: 600;
  padding: 5px 12px; border-radius: var(--radius-pill);
}
.chip--juridique { background: var(--violet-50); color: var(--violet-700); }
.chip--policier { background: #eff6ff; color: #1d4ed8; }
.chip--social { background: var(--coral-50); color: var(--coral-700); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.filter-btn { border: 1.5px solid var(--line); background: #fff; color: var(--body); font-weight: 600; font-size: .92rem; padding: 9px 20px; border-radius: var(--radius-pill); transition: all .2s ease; }
.filter-btn:hover { border-color: var(--violet-500); color: var(--violet-700); }
.filter-btn.active { background: var(--violet-600); border-color: var(--violet-600); color: #fff; }

/* Publication card */
.pub { display: flex; flex-direction: column; }
.pub .pub-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.pub .pub-date { font-size: .85rem; color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.pub .pub-date svg { width: 15px; height: 15px; }
.pub .pub-icon { color: var(--violet-500); }
.pub h3 { font-size: 1.18rem; margin-bottom: 10px; }
.pub p { font-size: .96rem; color: var(--muted); flex: 1; }
.pub .pub-actions { display: flex; gap: 16px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.pub .pub-actions a { font-size: .9rem; font-weight: 600; display: inline-flex; align-items: center; gap: 6px; }
.pub .pub-actions svg { width: 16px; height: 16px; }

/* ---- CTA band ---- */
.cta-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; padding: 60px 48px; text-align: center; color: #fff;
  background: linear-gradient(120deg, var(--violet-900) 0%, var(--violet-700) 48%, var(--coral-700) 130%); }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 120% at 85% 10%, rgba(255,255,255,.14), transparent 60%); pointer-events: none; }
.cta-band h2 { color: #fff; text-transform: uppercase; font-weight: 800; font-size: clamp(1.5rem, 3vw, 2.2rem); margin-bottom: 14px; position: relative; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 620px; margin: 0 auto 28px; position: relative; }
.cta-band .btn-primary { background: #fff; color: var(--violet-900); box-shadow: 0 12px 30px -10px rgba(0,0,0,.4); }
.cta-band .btn-primary:hover { background: #fff; color: var(--coral-700); }
.cta-band .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.5); }
.cta-band .btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ---- Page hero (inner pages) ---- */
.page-hero { padding: 60px 0 44px; text-align: center; position: relative; background: linear-gradient(180deg, var(--violet-50), #fff); border-bottom: 1px solid var(--line-soft); }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero h1 { margin-bottom: 16px; }
.page-hero p { max-width: 640px; margin: 0 auto; color: var(--muted); font-size: 1.1rem; }
.breadcrumb { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a { color: var(--violet-700); font-weight: 600; }
.breadcrumb svg { width: 15px; height: 15px; }

/* ---- Forms ---- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px; box-shadow: var(--shadow-sm); }
.field { margin-bottom: 18px; }
.field label { display: block; font-weight: 600; color: var(--ink); font-size: .92rem; margin-bottom: 7px; }
.field .req { color: var(--coral); }
.field input, .field textarea, .field select {
  width: 100%; font-family: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: #fff;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--violet-500); box-shadow: 0 0 0 4px var(--violet-50); }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.field .error { font-size: .82rem; color: var(--coral-700); margin-top: 6px; display: none; }
.field.invalid input, .field.invalid textarea { border-color: var(--coral); }
.field.invalid .error { display: block; }
.captcha-row { display: flex; align-items: center; gap: 14px; }
.captcha-box { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: .12em; background: var(--surface-2); border: 1px dashed var(--line); border-radius: var(--radius-sm); padding: 10px 18px; color: var(--ink); user-select: none; }
.captcha-reload { background: none; border: 0; color: var(--violet-700); font-weight: 600; font-size: .88rem; display: inline-flex; align-items: center; gap: 6px; }
.captcha-reload svg { width: 15px; height: 15px; }

.alert { display: flex; gap: 12px; padding: 15px 17px; border-radius: var(--radius-sm); font-size: .92rem; line-height: 1.55; }
.alert svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.alert-warn { background: #fff8eb; border: 1px solid #fde3a7; color: #92610a; }
.alert-warn svg { color: #d97706; }
.alert-secure { background: var(--violet-50); border: 1px solid var(--violet-100); color: var(--violet-900); }
.alert-secure svg { color: var(--violet-600); }
.alert-success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.alert-success svg { color: #059669; }

/* Contact info list */
.info-item { display: flex; gap: 15px; padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.info-item:last-child { border-bottom: 0; }
.info-item .ii { width: 44px; height: 44px; border-radius: 12px; background: var(--violet-50); color: var(--violet-600); display: grid; place-items: center; flex: none; }
.info-item .ii svg { width: 20px; height: 20px; }
.info-item h4 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.info-item .val { color: var(--ink); font-weight: 600; }
.info-item .sub { font-size: .88rem; color: var(--muted); font-weight: 400; }

/* ---- Legal / prose ---- */
.prose { max-width: 820px; margin-inline: auto; }
.prose h2 { font-size: 1.28rem; margin: 34px 0 12px; color: var(--ink); text-transform: none; letter-spacing: -.01em; }
.prose h2:first-child { margin-top: 0; }
.prose p { margin-bottom: 14px; color: var(--body); }
.prose ul { margin: 0 0 14px; padding-left: 4px; }
.prose ul li { position: relative; padding-left: 22px; margin-bottom: 8px; color: var(--body); }
.prose ul li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); }
.prose strong { color: var(--ink); }
.prose .updated { color: var(--muted); font-size: .92rem; margin-bottom: 30px; }

/* Detailed service section */
.svc-detail { border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; box-shadow: var(--shadow-xs); }
.svc-detail-head { display: flex; gap: 18px; align-items: center; padding: 26px 30px; background: var(--violet-50); border-bottom: 1px solid var(--violet-100); }
.svc-detail-head .icon-tile { margin: 0; background: #fff; }
.svc-detail-head h3 { font-size: 1.35rem; }
.svc-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.svc-col { padding: 26px 30px; }
.svc-col + .svc-col { border-left: 1px solid var(--line); }
.svc-col h4 { color: var(--violet-700); font-family: var(--font-display); font-size: .95rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 14px; }

/* Case study */
.case { border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 28px; background: #fff; }
.case .case-client { color: var(--coral-700); font-weight: 600; font-size: .9rem; margin-bottom: 14px; }
.case h4 { font-size: 1.15rem; margin-bottom: 14px; color: var(--ink); }
.case .case-block { margin-bottom: 14px; }
.case .case-block .tag { font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; display: block; margin-bottom: 4px; }
.case .case-block p { font-size: .95rem; color: var(--body); }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: #cbd5e1; position: relative; padding: 62px 0 26px; margin-top: 20px; }
.site-footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--violet-600), var(--coral)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-brand .brand { font-size: 1.7rem; }
.footer-brand .brand .b-statist { color: #fff; }
.footer-brand p { color: #94a3b8; font-size: .95rem; margin-top: 16px; max-width: 34ch; }
.footer-social { display: flex; gap: 14px; margin-top: 20px; }
.footer-social a { color: #cbd5e1; }
.footer-social a:hover { color: var(--coral); }
.footer-social svg { width: 19px; height: 19px; }
.footer-col h4 { font-family: var(--font-body); font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col a { color: #94a3b8; font-size: .95rem; }
.footer-col a:hover { color: #fff; }
.footer-contact li { display: flex; align-items: flex-start; gap: 10px; color: #94a3b8; font-size: .93rem; margin-bottom: 12px; }
.footer-contact svg { width: 17px; height: 17px; color: var(--violet-500); flex: none; margin-top: 3px; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 14px 26px; align-items: center; justify-content: space-between; padding-top: 24px; }
.footer-bottom .copy { color: #94a3b8; font-size: .9rem; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-legal a { color: #94a3b8; font-size: .88rem; }
.footer-legal a:hover { color: #fff; }

/* ---- Cookie banner ---- */
.cookie {
  position: fixed; left: 20px; right: 20px; bottom: 20px; z-index: 60; max-width: 560px; margin-inline: auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 20px 22px; display: none;
}
.cookie.show { display: block; animation: rise .3s ease; }
.cookie p { font-size: .92rem; color: var(--body); margin-bottom: 14px; }
.cookie p a { font-weight: 600; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-actions .btn { padding: 10px 18px; font-size: .9rem; }

/* ---- Reveal on scroll ---- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---- Utilities ---- */
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-0 { margin-bottom: 0; }
.flex { display: flex; }
.gap { gap: 14px; }
.wrap { flex-wrap: wrap; }
.hide { display: none !important; }

/* ---- Responsive ---- */
@media (max-width: 1024px) {
  .nav-links, .socials { display: none; }
  .nav-toggle { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 720px) {
  .section { padding: 60px 0; }
  .grid-2, .grid-3, .grid-4, .steps, .split, .svc-columns { grid-template-columns: 1fr; }
  .svc-col + .svc-col { border-left: 0; border-top: 1px solid var(--line); }
  .stats-boxed .stat + .stat { border-left: 0; border-top: 1px solid var(--line); }
  .cta-band { padding: 44px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .page-hero { padding: 44px 0 34px; }
}

/* ---- Ajustements responsive additionnels ---- */
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr !important; }
}
@media (max-width: 560px) {
  .nav-right .lang-btn, .site-header .nav-right > .btn-primary { display: none; }
  .brand { font-size: 1.4rem; }
  .display { font-size: clamp(2rem, 8vw, 2.6rem); }
}


/* ---- Correctif : empêcher le retour à la ligne des liens de nav (ex. « À propos ») ---- */
.nav-links a { white-space: nowrap; }
@media (max-width: 1160px) {
  .nav { gap: 12px; }
  .nav-links { margin-left: 8px; }
  .nav-links a { padding: 8px 10px; font-size: .9rem; }
  .socials { gap: 8px; }
}