/* =========================================================
   AFKAR'S DIGITAL — style.css
   Charte : ajuster les variables ci-dessous pour rebrander
   ========================================================= */
:root {
  --ink: #0c0a1c;            /* encre — texte fort, fonds sombres */
  --ink-soft: #565368;       /* texte secondaire */
  --paper: #fafafc;          /* fond principal */
  --mist: #efedfb;           /* brume lavande — surfaces claires */
  --primary: #3b2fd4;        /* cobalt Afkar's */
  --primary-deep: #241c96;   /* cobalt nuit — hover, dégradés */
  --spark: #ffc53d;          /* étincelle — L'accent (à doser) */
  --line: #e4e2f0;
  --radius: 14px;
  --font-display: 'Archivo', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, monospace;
  --container: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--spark); color: var(--ink); }

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-stretch: 115%;
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

/* ---------- Étincelle (signature) ---------- */
.spark {
  display: inline-block;
  width: 0.62em; height: 0.62em;
  vertical-align: baseline;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23ffc53d" d="M12 0l2.6 9.4L24 12l-9.4 2.6L12 24l-2.6-9.4L0 12l9.4-2.6z"/></svg>') center/contain no-repeat;
  animation: spark-spin 14s linear infinite;
}
@keyframes spark-spin { to { transform: rotate(360deg); } }

/* ---------- Eyebrow (mono) ---------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--primary);
  margin-bottom: 16px;
}
.eyebrow::before {
  content: '';
  width: 12px; height: 12px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%233b2fd4" d="M12 0l2.6 9.4L24 12l-9.4 2.6L12 24l-2.6-9.4L0 12l9.4-2.6z"/></svg>') center/contain no-repeat;
}

.section { padding: 100px 0; }
.section-alt { background: var(--mist); }
.section-title { font-size: clamp(30px, 4.4vw, 48px); font-weight: 850; margin-bottom: 18px; }
.section-sub { color: var(--ink-soft); max-width: 620px; margin-bottom: 40px; font-size: 17.5px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-stretch: 108%;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 8px 22px rgba(59,47,212,.28); }
.btn-primary:hover { background: var(--primary-deep); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(36,28,150,.34); }
.btn-ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-spark { background: var(--spark); color: var(--ink); }
.btn-spark:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255,197,61,.45); }
.btn-lg { padding: 16px 34px; font-size: 16px; }
.btn:focus-visible, a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--spark);
  outline-offset: 2px;
}

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(250,250,252,.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.logo img { height: 38px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav > a:not(.btn) {
  font-weight: 500; font-size: 15px; color: var(--ink);
  position: relative;
}
.main-nav > a:not(.btn)::after {
  content: ''; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 2px; background: var(--spark);
  transform: scaleX(0); transform-origin: left; transition: transform .2s ease;
}
.main-nav > a:not(.btn):hover::after { transform: scaleX(1); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .2s; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  padding: 110px 0 70px;
  overflow: hidden;
}
.hero-ghost {
  position: absolute;
  top: 46%; right: -2%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(180px, 30vw, 420px);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(59,47,212,.12);
  user-select: none;
  pointer-events: none;
  white-space: nowrap;
}
.hero .container { position: relative; }
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 26px;
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
}
.hero-eyebrow .spark { width: 13px; height: 13px; }
.hero h1 {
  font-size: clamp(44px, 7.6vw, 92px);
  font-weight: 900;
  max-width: 13ch;
  margin-bottom: 26px;
}
.hero h1 .spark { width: .5em; height: .5em; margin-left: .06em; }
.hero h1 em { font-style: normal; color: var(--primary); }
.hero-sub {
  font-size: 19px;
  color: var(--ink-soft);
  max-width: 560px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; }
.hero-assure {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--ink-soft);
  letter-spacing: .02em;
}
.hero-assure b { color: var(--ink); font-weight: 500; }

/* Bande clients */
.client-strip {
  margin-top: 64px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex; align-items: center; gap: 12px 34px; flex-wrap: wrap;
}
.client-strip .label {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.client-strip .client {
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 800;
  font-size: 17px;
  color: var(--ink);
  opacity: .5;
  transition: opacity .2s;
}
.client-strip .client:hover { opacity: 1; }

/* =========================================================
   MARQUEE
   ========================================================= */
.marquee {
  background: var(--ink);
  color: var(--spark);
  overflow: hidden;
  padding: 15px 0;
  border-top: 1px solid var(--ink);
}
.marquee-track {
  display: inline-flex;
  gap: 44px;
  white-space: nowrap;
  animation: marquee 28s linear infinite;
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.marquee-track span::before { content: '✳ '; }
@keyframes marquee { to { transform: translateX(-33.33%); } }

/* =========================================================
   POURQUOI AFKAR'S
   ========================================================= */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.why-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(12,10,28,.08); }
.why-card .spark { width: 18px; height: 18px; margin-bottom: 18px; display: block; }
.why-card h3 { font-size: 21px; font-weight: 800; margin-bottom: 12px; }
.why-card p { color: var(--ink-soft); font-size: 15.5px; }

/* =========================================================
   SERVICES
   ========================================================= */
.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.service-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 38px 34px;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 20px 50px rgba(59,47,212,.13);
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 44px;
  padding: 0 14px;
  border-radius: 10px;
  background: var(--mist);
  color: var(--primary);
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 22px;
}
.service-icon[data-icon="code"]::before     { content: '</>'; }
.service-icon[data-icon="growth"]::before   { content: '+ROI↑'; }
.service-icon[data-icon="brand"]::before    { content: '✳ID'; }
.service-icon[data-icon="compass"]::before  { content: '→PLAN'; }
.service-card h3 { font-size: 24px; font-weight: 800; margin-bottom: 12px; }
.service-card > p { color: var(--ink-soft); font-size: 15.5px; margin-bottom: 20px; }
.service-points {
  list-style: none;
  margin-bottom: 24px;
  display: grid;
  gap: 8px;
}
.service-points li {
  font-size: 14.5px;
  color: var(--ink);
  padding-left: 22px;
  position: relative;
}
.service-points li::before {
  content: '';
  position: absolute; left: 0; top: .42em;
  width: 11px; height: 11px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23ffc53d" d="M12 0l2.6 9.4L24 12l-9.4 2.6L12 24l-2.6-9.4L0 12l9.4-2.6z"/></svg>') center/contain no-repeat;
}
.service-link {
  font-family: var(--font-display);
  font-stretch: 108%;
  font-weight: 700;
  font-size: 15px;
  color: var(--primary);
}
.service-card:hover .service-link { text-decoration: underline; text-underline-offset: 4px; }

/* =========================================================
   BANDE SOMBRE — PROCESS + STATS
   ========================================================= */
.dark-band {
  background: var(--ink);
  color: #fff;
  padding: 100px 0;
}
.dark-band .eyebrow { color: var(--spark); }
.dark-band .eyebrow::before {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23ffc53d" d="M12 0l2.6 9.4L24 12l-9.4 2.6L12 24l-2.6-9.4L0 12l9.4-2.6z"/></svg>');
}
.dark-band .section-title { color: #fff; }
.dark-band .section-sub { color: rgba(255,255,255,.65); }
.process-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
  margin-top: 10px;
}
.process-steps li {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color .2s ease, background .2s ease;
}
.process-steps li:hover { border-color: var(--spark); background: rgba(255,255,255,.03); }
.process-steps li span {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--spark);
  letter-spacing: .1em;
}
.process-steps h3 { font-size: 18.5px; font-weight: 800; margin: 12px 0 10px; color: #fff; }
.process-steps p { font-size: 14.5px; color: rgba(255,255,255,.6); }

.stats-row {
  margin-top: 70px;
  padding-top: 50px;
  border-top: 1px solid rgba(255,255,255,.14);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.stat-value {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(38px, 5vw, 56px);
  color: var(--spark);
  line-height: 1;
  margin-bottom: 10px;
}
.stat-label { color: rgba(255,255,255,.65); font-size: 15px; }

/* =========================================================
   RÉFÉRENCES
   ========================================================= */
.refs-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 40px; flex-wrap: wrap; }
.refs-head .section-title { margin-bottom: 0; }
.refs-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ref-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease;
}
.ref-card:hover { transform: translateY(-5px); box-shadow: 0 20px 50px rgba(12,10,28,.1); }
.ref-card img, .ref-placeholder { aspect-ratio: 16/10; width: 100%; object-fit: cover; }
.ref-placeholder {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
}
.ref-placeholder span {
  font-family: var(--font-display); font-weight: 900; font-size: 64px; color: rgba(255,255,255,.9);
}
.ref-body { padding: 22px 24px 26px; }
.ref-cat {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--primary);
}
.ref-body h3 { font-size: 20px; font-weight: 800; margin-top: 8px; }
.refs-filters, .filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.refs-filters button, .filter-bar .filter-btn {
  font-family: var(--font-mono);
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  cursor: pointer;
  transition: .18s;
}
.refs-filters button:hover, .filter-bar .filter-btn:hover { border-color: var(--primary); color: var(--primary); }
.refs-filters button.active, .filter-bar .filter-btn.active { background: var(--ink); border-color: var(--ink); color: var(--spark); }

/* =========================================================
   FAQ
   ========================================================= */
.faq-list { max-width: 760px; }
.faq-list details {
  border-bottom: 1px solid var(--line);
}
.faq-list summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 4px;
  font-family: var(--font-display);
  font-stretch: 110%;
  font-weight: 700;
  font-size: 18px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: '+';
  font-family: var(--font-mono);
  font-size: 22px;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform .2s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 4px 26px; color: var(--ink-soft); max-width: 64ch; }

/* =========================================================
   CTA FINAL
   ========================================================= */
.cta-band {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  color: #fff;
  text-align: center;
  padding: 110px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '✳';
  position: absolute;
  top: -60px; right: -30px;
  font-size: 340px;
  line-height: 1;
  color: rgba(255,255,255,.06);
  pointer-events: none;
}
.cta-band h2 { font-size: clamp(30px, 4.6vw, 52px); font-weight: 900; max-width: 20ch; margin: 0 auto 18px; }
.cta-band p { color: rgba(255,255,255,.78); max-width: 520px; margin: 0 auto 36px; font-size: 17.5px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-band .btn-ghost { border-color: rgba(255,255,255,.6); color: #fff; }
.cta-band .btn-ghost:hover { background: #fff; color: var(--primary); border-color: #fff; }
.cta-note {
  margin-top: 22px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: rgba(255,255,255,.6);
}

/* =========================================================
   PAGES INTERNES
   ========================================================= */
.page-head { padding: 90px 0 30px; }
.page-head h1 { font-size: clamp(34px, 5.4vw, 60px); font-weight: 900; margin-bottom: 16px; }
.content-narrow { max-width: 780px; }
.rich-content h2 {
  font-size: 26px; font-weight: 800; margin: 40px 0 14px;
  display: flex; align-items: center; gap: 12px;
}
.rich-content h2::before {
  content: '';
  width: 14px; height: 14px; flex-shrink: 0;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23ffc53d" d="M12 0l2.6 9.4L24 12l-9.4 2.6L12 24l-2.6-9.4L0 12l9.4-2.6z"/></svg>') center/contain no-repeat;
}
.rich-content p { margin-bottom: 16px; color: var(--ink-soft); }
.rich-content ul { margin: 0 0 20px 2px; list-style: none; display: grid; gap: 10px; }
.rich-content ul li {
  padding-left: 26px; position: relative; color: var(--ink);
}
.rich-content ul li::before {
  content: '';
  position: absolute; left: 0; top: .4em;
  width: 12px; height: 12px;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%233b2fd4" d="M12 0l2.6 9.4L24 12l-9.4 2.6L12 24l-2.6-9.4L0 12l9.4-2.6z"/></svg>') center/contain no-repeat;
}
.rich-content strong { color: var(--ink); }
.content-cta { margin-top: 48px; display: flex; gap: 14px; flex-wrap: wrap; }

/* =========================================================
   CONTACT
   ========================================================= */
.contact { padding-top: 40px; }
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 60px; align-items: start; }

.contact-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 38px 34px; }
.form-row { margin-bottom: 20px; }
.form-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row label {
  display: block;
  font-weight: 600;
  font-size: 14.5px;
  margin-bottom: 8px;
}
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15.5px;
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  transition: border-color .18s ease, box-shadow .18s ease;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59,47,212,.14);
}
.hp-field { position: absolute !important; left: -9999px !important; }
.form-feedback { margin-top: 16px; font-weight: 600; font-size: 15px; }
.form-feedback.ok { color: #157347; }
.form-feedback.err { color: #c02942; }

.next-steps { list-style: none; counter-reset: ns; display: grid; gap: 0; margin-bottom: 36px; }
.next-steps li {
  counter-increment: ns;
  position: relative;
  padding: 0 0 26px 52px;
}
.next-steps li::before {
  content: counter(ns, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  background: #fff;
}
.next-steps li:not(:last-child)::after {
  content: '';
  position: absolute; left: 17px; top: 40px; bottom: 4px;
  width: 1.5px; background: var(--line);
}
.next-steps h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 4px; }
.next-steps p { font-size: 14.5px; color: var(--ink-soft); }

.contact-lines { display: grid; gap: 4px; margin-bottom: 28px; }
.contact-line {
  display: flex; flex-direction: column; gap: 2px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left .18s ease;
}
.contact-line:hover { padding-left: 6px; }
.contact-line strong {
  font-family: var(--font-mono);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink-soft);
  font-weight: 500;
}
.contact-line span { font-weight: 600; font-size: 16px; color: var(--ink); }

.wa-inline {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25d366; color: #fff;
  font-family: var(--font-display); font-stretch: 108%; font-weight: 700; font-size: 15px;
  padding: 13px 24px; border-radius: 999px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.wa-inline:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(37,211,102,.4); }

/* WhatsApp flottant */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 70;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px rgba(0,0,0,.22);
  transition: transform .18s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-brand img { height: 40px; width: auto; margin-bottom: 18px; }
.footer-brand p { font-size: 14.5px; max-width: 300px; color: rgba(255,255,255,.55); }
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--spark);
  margin-bottom: 18px;
  font-weight: 500;
}
.footer-col a { display: block; padding: 5px 0; font-size: 14.5px; color: rgba(255,255,255,.75); transition: color .15s; }
.footer-col a:hover { color: var(--spark); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding: 22px 24px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12.5px;
  color: rgba(255,255,255,.45);
}

/* =========================================================
   REVEAL AU SCROLL
   ========================================================= */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 980px) {
  .why-grid, .refs-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-ghost { opacity: .6; }
}
@media (max-width: 700px) {
  .section { padding: 70px 0; }
  .dark-band { padding: 70px 0; }
  .hero { padding: 70px 0 50px; }
  .services-grid, .why-grid, .refs-grid, .process-steps, .stats-row { grid-template-columns: 1fr; }
  .form-2col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .main-nav {
    position: fixed; inset: 74px 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 26px;
    gap: 18px;
    display: none;
  }
  .main-nav.open { display: flex; }
  .nav-toggle { display: block; }
  .hero-ghost { display: none; }
}

/* =========================================================
   ACCESSIBILITÉ — mouvement réduit
   ========================================================= */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .spark, .marquee-track { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { transition-duration: .01ms !important; }
}
