/* ============================================================
   SOUNIS — Société de consulting IT
   Design system — éditorial premium
   ============================================================ */

:root {
  --ink:      #16111C;   /* noir-violet principal */
  --violet:   #3B1E5A;   /* violet accent */
  --violet-d: #2A1440;   /* violet profond (sections sombres) */
  --gold:     #A6813E;   /* or / bronze */
  --gold-2:   #8C6A2F;   /* or hover */
  --gold-l:   #D8BE86;   /* or clair */
  --muted:    #4A4351;   /* texte secondaire */
  --grey:     #857E8C;   /* labels mono */
  --line:     #E4DFD6;   /* filets */
  --line-2:   #EFEBE3;   /* filets clairs */
  --cream:    #F5F2EC;   /* fond crème */
  --cream-2:  #EDE6D8;
  --paper:    #FFFFFF;
  --on-dark:  #BEB2CE;   /* texte sur fond violet */
  --on-dark-2:#CFC9D6;
  --max: 1320px;
  --pad: clamp(22px, 4vw, 60px);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--gold-2); }
img { display: block; max-width: 100%; }
input, textarea, select, button { font: inherit; color: inherit; }
::selection { background: var(--cream-2); }

h1, h2, h3 { font-family: "Newsreader", Georgia, serif; font-weight: 300; margin: 0; }
p { margin: 0; }

.serif   { font-family: "Newsreader", Georgia, serif; }
.mono    { font-family: "IBM Plex Mono", ui-monospace, monospace; }
.italic  { font-style: italic; }

.wrap { max-width: var(--max); margin: 0 auto; padding-left: var(--pad); padding-right: var(--pad); }

/* ---------- Kicker (label mono) ---------- */
.kicker {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px; letter-spacing: 0.16em;
  color: var(--grey); text-transform: uppercase;
}
.kicker--gold { color: var(--gold); }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 500; cursor: pointer;
  padding: 17px 30px; border: 1px solid transparent;
  transition: background .28s ease, color .28s ease, border-color .28s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: var(--violet); color: #fff; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { background: var(--cream); color: var(--gold-2); }
.btn--light { background: #fff; color: var(--violet-d); }
.btn--light:hover { background: var(--cream-2); }
.btn-row { display: flex; flex-wrap: wrap; }
.btn-row .btn:not(:first-child) { border-left: 0; }

/* ---------- Top bar ---------- */
.topbar { border-bottom: 1px solid var(--line); background: #fff; }
.topbar__in {
  height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font-family: "IBM Plex Mono", monospace; font-size: 11.5px; letter-spacing: 0.04em; color: var(--grey);
}
.topbar__l, .topbar__r { display: flex; align-items: center; gap: 18px; min-width: 0; }
.topbar__sep { color: #C9C3BA; }
.topbar__phone { color: var(--ink); white-space: nowrap; }
.topbar a { color: var(--grey); }
.topbar a:hover { color: var(--gold-2); }
.topbar__l span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__in {
  height: 82px; display: flex; align-items: center; gap: clamp(24px, 3vw, 56px);
}
.brand { display: flex; align-items: center; cursor: pointer; flex-shrink: 0; }
.brand__logo { height: 48px; width: auto; display: block; transition: opacity .2s; }
.brand:hover .brand__logo { opacity: 0.82; }

.nav { display: flex; align-items: center; gap: clamp(16px, 1.9vw, 34px); margin-left: auto; }
.nav__link {
  font-size: 14.5px; font-weight: 500; cursor: pointer; white-space: nowrap;
  color: var(--ink); background: none; border: 0; padding: 0;
  transition: color .2s;
}
.nav__link:hover { color: var(--gold-2); }
.nav__link.is-active { color: var(--gold); }
.nav__burger {
  display: none; font-family: "IBM Plex Mono", monospace; font-size: 11.5px; letter-spacing: 0.12em;
  color: var(--ink); cursor: pointer; padding: 10px 0; border-bottom: 1px solid var(--ink);
  background: none; border-top: 0; border-left: 0; border-right: 0;
}
.lang { display: flex; align-items: center; gap: 7px; flex-shrink: 0;
  font-family: "IBM Plex Mono", monospace; font-size: 11.5px; letter-spacing: 0.08em; }
.lang span { cursor: pointer; color: var(--grey); padding-bottom: 2px; border-bottom: 1px solid transparent; }
.lang span.is-active { color: var(--ink); border-bottom-color: var(--ink); }
.lang__sep { color: #C9C3BA; border: 0 !important; padding: 0 !important; }

/* mobile menu panel */
.mobile-menu { display: none; border-top: 1px solid var(--line); background: #fff; }
.mobile-menu.is-open { display: block; }
.mobile-menu__in { display: flex; flex-direction: column; padding: 8px var(--pad) 18px; }
.mobile-menu__link {
  font-family: "Newsreader", serif; font-size: 22px; font-weight: 400; color: var(--ink);
  padding: 14px 0; border-bottom: 1px solid var(--line-2); cursor: pointer; background: none;
  border-top: 0; border-left: 0; border-right: 0; text-align: left;
}
.mobile-menu__link:last-child { border-bottom: 0; }
.mobile-menu__link:hover { color: var(--gold-2); }

/* ---------- Sections & pages ---------- */
.page { display: none; }
.page.is-active { display: block; }
main { min-height: 60vh; }

.sec { border-bottom: 1px solid var(--line); }
.sec--cream { background: var(--cream); border-top: 1px solid var(--line); }
.sec--dark  { background: var(--violet-d); color: #fff; }
.pad-y { padding-top: clamp(64px, 7vw, 110px); padding-bottom: clamp(64px, 7vw, 110px); }

/* reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}

/* ---------- Hero ---------- */
.hero { border-bottom: 1px solid var(--line); }
.hero__grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,0.85fr); }
.hero__left {
  padding: clamp(56px,7vw,104px) clamp(28px,4vw,72px) clamp(48px,6vw,88px) 0;
  border-right: 1px solid var(--line);
}
.hero__title {
  font-size: clamp(42px,5.2vw,74px); line-height: 1.02; letter-spacing: -0.02em;
  color: var(--ink); margin-bottom: 28px; max-width: 15ch;
}
.hero__title em { font-style: italic; color: var(--violet); }
.hero__sub { font-size: 18px; line-height: 1.62; color: var(--muted); margin-bottom: 40px; max-width: 46ch; }
.hero__media { min-height: clamp(360px,44vw,620px); position: relative; overflow: hidden; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }

/* ---------- Stats bar ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); }
.stats__cell { padding: 36px 24px 34px; border-right: 1px solid var(--line); }
.stats__cell:first-child { padding-left: 0; }
.stats__cell:last-child  { padding-right: 0; border-right: 0; }
.stats__num { font-family: "Newsreader", serif; font-size: clamp(34px,3.4vw,46px); font-weight: 300;
  letter-spacing: -0.02em; color: var(--ink); line-height: 1; }
.stats__lbl { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.1em;
  color: var(--grey); margin-top: 12px; }

/* ---------- Split section heading ---------- */
.split-head { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.6fr);
  gap: clamp(28px,4vw,72px); margin-bottom: clamp(40px,5vw,64px); }
.split-head .kicker { padding-top: 10px; }
.h2 { font-size: clamp(30px,3.4vw,46px); line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); max-width: 26ch; }

/* ---------- Services list (rows) ---------- */
.srv-list { border-top: 1px solid var(--line); }
.srv-row {
  display: grid; grid-template-columns: minmax(0,72px) minmax(0,1fr) minmax(0,1.35fr) minmax(0,40px);
  gap: clamp(16px,2.5vw,40px); align-items: start;
  padding: clamp(26px,3vw,38px) 0; border-bottom: 1px solid var(--line);
  cursor: pointer; transition: background .26s, padding-left .26s;
}
.srv-row:hover { background: var(--cream); padding-left: 12px; }
.srv-row__no { font-family: "IBM Plex Mono", monospace; font-size: 11.5px; letter-spacing: 0.1em; color: var(--gold); padding-top: 8px; }
.srv-row__t  { font-size: clamp(23px,2.1vw,30px); font-weight: 400; color: var(--ink); line-height: 1.16; letter-spacing: -0.01em; }
.srv-row__d  { font-size: 15.5px; line-height: 1.66; color: var(--muted); max-width: 52ch; }
.srv-row__a  { font-family: "IBM Plex Mono", monospace; font-size: 14px; color: var(--ink); padding-top: 8px; text-align: right; }

/* ---------- Why (media + list) ---------- */
.mediasplit { display: grid; grid-template-columns: minmax(0,0.95fr) minmax(0,1.05fr); }
.mediasplit__media { min-height: clamp(340px,42vw,600px); border-right: 1px solid var(--line); overflow: hidden; }
.mediasplit__media img { width: 100%; height: 100%; object-fit: cover; }
.mediasplit__body { padding: clamp(48px,6vw,88px) 0 clamp(48px,6vw,88px) clamp(28px,4vw,72px); }
.deflist { border-top: 1px solid #DDD7CB; }
.deflist__row { display: grid; grid-template-columns: minmax(0,0.9fr) minmax(0,1.1fr);
  gap: clamp(14px,2vw,32px); padding: 20px 0; border-bottom: 1px solid #DDD7CB; }
.deflist__row:last-child { border-bottom: 0; }
.deflist__t { font-size: 15.5px; font-weight: 600; color: var(--ink); }
.deflist__d { font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ---------- Method (dark) ---------- */
.method__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.55fr); gap: clamp(32px,4vw,72px); }
.method__title { font-size: clamp(28px,3.1vw,42px); line-height: 1.12; letter-spacing: -0.02em; color: #fff; margin-bottom: 22px; max-width: 20ch; }
.method__lead { font-size: 16px; line-height: 1.7; color: var(--on-dark); margin-bottom: 34px; max-width: 40ch; }
.steps { border-top: 1px solid rgba(255,255,255,0.16); }
.step { display: grid; grid-template-columns: minmax(0,86px) minmax(0,1fr); gap: clamp(18px,2.6vw,44px);
  padding: clamp(22px,2.6vw,32px) 0; border-bottom: 1px solid rgba(255,255,255,0.16); }
.step:last-child { border-bottom: 0; }
.step__d { font-family: "IBM Plex Mono", monospace; font-size: 11.5px; letter-spacing: 0.08em; color: var(--gold); padding-top: 8px; }
.step__t { font-family: "Newsreader", serif; font-size: clamp(21px,1.9vw,27px); font-weight: 400; color: #fff; margin-bottom: 8px; line-height: 1.2; }
.step__x { font-size: 15px; line-height: 1.65; color: var(--on-dark); max-width: 58ch; }

/* ---------- Expertise columns ---------- */
.cols3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid var(--line); }
.cols3 > div { padding: 30px clamp(20px,2.5vw,40px); border-right: 1px solid var(--line); }
.cols3 > div:first-child { padding-left: 0; }
.cols3 > div:last-child { padding-right: 0; border-right: 0; }
.taglist { display: flex; flex-direction: column; }
.taglist span { font-size: 15.5px; color: var(--ink); padding: 9px 0; border-bottom: 1px solid var(--line-2); }
.taglist span:last-child { border-bottom: 0; }

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); }
.quote { padding: 0 clamp(28px,4vw,64px) clamp(48px,5vw,76px) 0; border-right: 1px solid var(--line); }
.quote:last-child { padding: 0 0 clamp(48px,5vw,76px) clamp(28px,4vw,64px); border-right: 0; }
.quote__p { font-family: "Newsreader", serif; font-size: clamp(21px,2.1vw,29px); font-weight: 300;
  font-style: italic; line-height: 1.42; color: var(--ink); margin-bottom: 30px; }
.quote__who { display: flex; align-items: center; gap: 14px; }
.quote__ava { width: 48px; height: 48px; flex-shrink: 0; object-fit: cover; border-radius: 2px; }
.quote__name { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.quote__meta { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.08em; color: var(--grey); margin-top: 5px; }

/* ---------- Page hero (interior) ---------- */
.phero { border-bottom: 1px solid var(--line); }
.phero__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.6fr); gap: clamp(28px,4vw,72px);
  padding-top: clamp(48px,5vw,86px); padding-bottom: clamp(40px,4.5vw,70px); }
.phero .kicker { padding-top: 12px; }
.phero__title { font-size: clamp(36px,4.4vw,62px); line-height: 1.04; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 24px; max-width: 22ch; }
.phero__title em { font-style: italic; color: var(--violet); }
.phero__sub { font-size: 17.5px; line-height: 1.62; color: var(--muted); max-width: 52ch; }
.phero--dark { background: var(--violet-d); color: #fff; }
.phero--dark .phero__title { color: #fff; }
.phero--dark .phero__sub { color: var(--on-dark); }
.phero--dark .phero__title em { color: var(--gold-l); }
.phero--dark .kicker { color: var(--gold); }

/* ---------- Services detail rows ---------- */
.svc-detail { display: grid; grid-template-columns: minmax(0,0.85fr) minmax(0,1.15fr);
  gap: clamp(28px,4vw,72px); padding: clamp(40px,4.5vw,64px) 0; border-bottom: 1px solid var(--line); }
.svc-detail__t { font-size: clamp(26px,2.6vw,36px); font-weight: 400; color: var(--ink); margin: 12px 0 16px; line-height: 1.12; letter-spacing: -0.015em; }
.svc-detail__d { font-size: 16px; line-height: 1.68; color: var(--muted); max-width: 44ch; }
.spec { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border-top: 1px solid var(--line); }
.spec > div { padding: 18px clamp(16px,2vw,28px); border-bottom: 1px solid var(--line-2); border-right: 1px solid var(--line-2); }
.spec > div:nth-child(2n) { border-right: 0; padding-right: 0; }
.spec > div:nth-child(2n+1) { padding-left: 0; }
.spec > div:nth-last-child(-n+2) { border-bottom: 0; }
.spec__k { font-family: "IBM Plex Mono", monospace; font-size: 10.5px; letter-spacing: 0.1em; color: var(--grey); margin-bottom: 8px; }
.spec__v { font-size: 15px; line-height: 1.6; color: var(--ink); }

/* ---------- Comparison table ---------- */
.cmp { border-top: 1px solid var(--ink); }
.cmp__row { display: grid; grid-template-columns: minmax(0,1.3fr) repeat(3, minmax(0,1fr)); border-bottom: 1px solid var(--line-2); }
.cmp__row--head { border-bottom: 1px solid var(--line); }
.cmp__row--head > div { font-family: "IBM Plex Mono", monospace; font-size: 10.5px; letter-spacing: 0.1em; color: var(--ink); padding: 16px 20px; }
.cmp__row--head > div:first-child { color: var(--grey); padding-left: 0; }
.cmp__c { padding: 20px; font-size: 15px; color: var(--muted); }
.cmp__c--h { font-weight: 600; color: var(--ink); padding-left: 0; }

/* ---------- Client benefit cards ---------- */
.benefit3 { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-bottom: 1px solid var(--line); }
.benefit3 > div { padding: clamp(32px,3.5vw,52px) clamp(20px,2.5vw,40px); border-right: 1px solid var(--line); }
.benefit3 > div:first-child { padding-left: 0; }
.benefit3 > div:last-child { padding-right: 0; border-right: 0; }
.benefit3 h3 { font-size: 22px; font-weight: 400; margin: 12px 0; color: var(--ink); }
.benefit3 p { font-size: 15px; line-height: 1.65; color: var(--muted); }

/* rows list (profiles / secteurs) */
.rowlist { border-top: 1px solid var(--ink); }
.rowlist__i { display: flex; justify-content: space-between; align-items: baseline; gap: 20px;
  padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.rowlist__i:last-child { border-bottom: 1px solid var(--line); }
.rowlist__l { font-size: 15.5px; color: var(--ink); }
.rowlist__r { font-family: "IBM Plex Mono", monospace; font-size: 11px; color: var(--grey); flex-shrink: 0; }

/* ---------- Talent perks ---------- */
.perks4 { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-bottom: 1px solid var(--line); }
.perks4 > div { padding: clamp(30px,3.2vw,46px) clamp(16px,2vw,32px); border-right: 1px solid var(--line); }
.perks4 > div:first-child { padding-left: 0; }
.perks4 > div:last-child { padding-right: 0; border-right: 0; }
.perks4 h3 { font-size: 21px; font-weight: 400; margin-bottom: 10px; color: var(--ink); }
.perks4 p { font-size: 14.5px; line-height: 1.62; color: var(--muted); }

/* jobs */
.jobs { border-top: 1px solid var(--ink); }
.job {
  display: grid; grid-template-columns: minmax(0,2fr) minmax(0,1fr) minmax(0,1fr) minmax(0,0.7fr) minmax(0,40px);
  gap: clamp(14px,2vw,32px); align-items: center; padding: 22px 0;
  border-bottom: 1px solid var(--line-2); cursor: pointer; transition: background .24s, padding-left .24s;
}
.job:hover { background: var(--cream); padding-left: 12px; }
.job__t { font-family: "Newsreader", serif; font-size: 20px; font-weight: 400; color: var(--ink); }
.job__stack { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.04em; color: var(--grey); margin-top: 6px; }
.job__c { font-size: 14.5px; color: var(--muted); }
.job__type { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.08em; color: var(--gold); }
.job__a { font-family: "IBM Plex Mono", monospace; font-size: 14px; color: var(--ink); text-align: right; }

/* ---------- Case studies ---------- */
.case { display: grid; grid-template-columns: minmax(0,0.85fr) minmax(0,1.15fr);
  gap: clamp(28px,4vw,64px); padding: clamp(44px,5vw,76px) 0; border-bottom: 1px solid var(--line); align-items: start; }
.case--rev { grid-template-columns: minmax(0,1.15fr) minmax(0,0.85fr); }
.case__media { min-height: clamp(260px,30vw,400px); overflow: hidden; background: var(--cream); }
.case__media img { width: 100%; height: 100%; object-fit: cover; }
.case__t { font-size: clamp(24px,2.5vw,34px); font-weight: 400; color: var(--ink); margin: 16px 0; line-height: 1.16; letter-spacing: -0.015em; }
.case__d { font-size: 16px; line-height: 1.68; color: var(--muted); margin-bottom: 30px; max-width: 52ch; }
.case__stats { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid var(--line); }
.case__stats > div { padding: 18px 16px 0; }
.case__stats > div:first-child { padding-left: 0; }
.case__stats > div:last-child { padding-right: 0; }
.case__n { font-family: "Newsreader", serif; font-size: 28px; font-weight: 300; color: var(--ink); }
.case__k { font-family: "IBM Plex Mono", monospace; font-size: 10.5px; letter-spacing: 0.08em; color: var(--grey); margin-top: 8px; }

.sectors { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sectors > div { padding: 26px 0 26px 20px; font-family: "Newsreader", serif; font-size: 19px; color: var(--ink); border-right: 1px solid var(--line-2); }
.sectors > div:first-child { padding-left: 0; }
.sectors > div:last-child { border-right: 0; }

/* ---------- About / team ---------- */
.aboutsplit { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,0.95fr);
  gap: clamp(32px,4vw,72px); padding: clamp(48px,5.5vw,88px) 0; border-bottom: 1px solid var(--line); align-items: start; }
.aboutsplit__media { min-height: clamp(340px,40vw,540px); overflow: hidden; background: var(--cream); }
.aboutsplit__media img { width: 100%; height: 100%; object-fit: cover; }
.commit { border-top: 1px solid var(--ink); }
.commit__i { padding: 22px 0; border-bottom: 1px solid var(--line-2); }
.commit__i:last-child { border-bottom: 1px solid var(--line); }
.commit__t { font-family: "Newsreader", serif; font-size: 21px; font-weight: 400; color: var(--ink); margin-bottom: 8px; }
.commit__d { font-size: 15px; line-height: 1.62; color: var(--muted); }

.team { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: clamp(16px,2vw,28px); }
.team__photo { height: clamp(220px,24vw,300px); overflow: hidden; margin-bottom: 16px; background: var(--cream); }
.team__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); transition: filter .4s; }
.team__card:hover .team__photo img { filter: grayscale(0); }
.team__name { font-family: "Newsreader", serif; font-size: 19px; font-weight: 400; color: var(--ink); }
.team__role { font-family: "IBM Plex Mono", monospace; font-size: 10.5px; letter-spacing: 0.08em; color: var(--grey); margin-top: 6px; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,0.75fr); gap: clamp(40px,5vw,88px);
  padding-top: clamp(48px,5vw,86px); padding-bottom: clamp(64px,7vw,110px); }
.contact__title { font-size: clamp(34px,3.8vw,54px); line-height: 1.06; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 20px; max-width: 18ch; }
.contact__lead { font-size: 17px; line-height: 1.62; color: var(--muted); margin-bottom: clamp(34px,4vw,52px); max-width: 48ch; }
.tabs { display: flex; border: 1px solid var(--line); width: max-content; max-width: 100%; margin-bottom: clamp(30px,3.5vw,44px); flex-wrap: wrap; }
.tab { font-size: 14px; font-weight: 500; padding: 13px 22px; cursor: pointer; background: #fff; color: var(--ink); border: 0; border-left: 1px solid var(--line); }
.tab:first-child { border-left: 0; }
.tab.is-active { background: var(--ink); color: #fff; }
.form { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 28px 32px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: span 2; }
.field label { font-family: "IBM Plex Mono", monospace; font-size: 10.5px; letter-spacing: 0.1em; color: var(--grey); }
.field input, .field textarea {
  padding: 10px 0; border: 0; border-bottom: 1px solid #C9C3BA; font-size: 16px; background: transparent; outline: none;
  transition: border-color .2s;
}
.field textarea { resize: vertical; font-family: "Archivo", sans-serif; }
.field input:focus, .field textarea:focus { border-bottom-color: var(--ink); }
.form__foot { grid-column: span 2; display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 10px; flex-wrap: wrap; }
.form__note { font-family: "IBM Plex Mono", monospace; font-size: 10.5px; line-height: 1.6; letter-spacing: 0.04em; color: var(--grey); max-width: 34ch; }
.contact__aside { border-top: 1px solid var(--ink); height: max-content; }
.contact__aside .ci { padding: 20px 0; border-bottom: 1px solid var(--line-2); }
.contact__aside .ci:last-of-type { border-bottom: 1px solid var(--line); }
.ci__k { font-family: "IBM Plex Mono", monospace; font-size: 10.5px; letter-spacing: 0.1em; color: var(--grey); margin-bottom: 8px; }
.ci__v { font-size: 16px; line-height: 1.6; color: var(--ink); }
.contact__aside p { font-size: 15px; line-height: 1.66; color: var(--muted); margin-top: 24px; }

.form-ok { grid-column: span 2; background: var(--cream); border-left: 3px solid var(--gold);
  padding: 18px 22px; font-size: 15px; color: var(--ink); display: none; }
.form-ok.is-show { display: block; }

/* ---------- CTA band ---------- */
.ctaband { display: flex; align-items: flex-end; justify-content: space-between; gap: clamp(28px,4vw,56px);
  padding-top: clamp(48px,5.5vw,80px); padding-bottom: clamp(48px,5.5vw,80px); flex-wrap: wrap; }
.ctaband__title { font-size: clamp(28px,3.2vw,44px); line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); margin: 12px 0; max-width: 20ch; }
.ctaband__sub { font-size: 16.5px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #fff; }
.footer__news { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px;
  padding: clamp(36px,4vw,56px) 0; border-bottom: 1px solid rgba(255,255,255,0.12); flex-wrap: wrap; }
.footer__news .kicker { color: var(--gold); margin-bottom: 12px; }
.footer__news-t { font-family: "Newsreader", serif; font-size: clamp(22px,2.2vw,30px); font-weight: 300; color: #fff; max-width: 26ch; }
.news-form { display: flex; flex-wrap: wrap; align-items: stretch; }
.news-form input { padding: 15px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,0.35);
  background: transparent; font-size: 15px; color: #fff; outline: none; min-width: 250px; margin-right: 24px; }
.news-form input::placeholder { color: #8A8394; }
.news-form input:focus { border-bottom-color: var(--gold); }
.news-form button { font-family: "IBM Plex Mono", monospace; font-size: 11.5px; letter-spacing: 0.12em;
  color: var(--ink); background: #fff; padding: 15px 26px; cursor: pointer; white-space: nowrap; align-self: center; border: 0; transition: background .2s; }
.news-form button:hover { background: var(--gold-l); }
.footer__cols { display: grid; grid-template-columns: minmax(0,1.5fr) repeat(3, minmax(0,1fr));
  gap: clamp(28px,4vw,56px); padding: clamp(44px,5vw,72px) 0 clamp(30px,3.5vw,44px); }
.footer__brand { display: flex; align-items: center; margin-bottom: 20px; }
.footer__logo { height: 54px; width: auto; display: block; }
.footer__desc { font-size: 15px; line-height: 1.7; color: #9E96A8; max-width: 32ch; }
.footer__col-h { font-family: "IBM Plex Mono", monospace; font-size: 10.5px; letter-spacing: 0.12em; color: #6E6678; margin-bottom: 18px; }
.footer__links { display: flex; flex-direction: column; gap: 11px; }
.footer__links span, .footer__links a { font-size: 15px; color: var(--on-dark-2); cursor: pointer; }
.footer__links span:hover, .footer__links a:hover { color: var(--gold-l); }
.footer__bottom { padding: 20px 0 34px; border-top: 1px solid rgba(255,255,255,0.12);
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  font-family: "IBM Plex Mono", monospace; font-size: 10.5px; letter-spacing: 0.08em; color: #6E6678; }
.footer__legal { display: flex; gap: 26px; }
.footer__legal span { cursor: pointer; }
.footer__legal span:hover { color: var(--on-dark-2); }

/* ============================================================
   COMPOSANTS ENRICHIS
   ============================================================ */

/* ---- Icône éditoriale (trait fin, or) ---- */
.eicon { width: 34px; height: 34px; flex-shrink: 0; color: var(--gold); }
.eicon svg { width: 100%; height: 100%; display: block; }
.eicon--ink { color: var(--ink); }

/* ---- Souligné animé (liens & titres de section) ---- */
.ul-anim { position: relative; display: inline-block; }
.ul-anim::after {
  content: ""; position: absolute; left: 0; bottom: -3px; height: 1px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .4s ease;
}
.ul-anim:hover::after { transform: scaleX(1); }

/* ---- Bande logos clients ---- */
.logos { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.logos__in { display: flex; align-items: center; justify-content: space-between; gap: clamp(20px,3vw,48px);
  padding: clamp(26px,3vw,40px) 0; flex-wrap: wrap; }
.logos__lbl { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: 0.12em; color: var(--grey); flex-shrink: 0; }
.logos__row { display: flex; align-items: center; gap: clamp(24px,3.5vw,54px); flex-wrap: wrap; flex: 1; justify-content: flex-end; }
.logos__row img { height: 26px; width: auto; opacity: 0.42; filter: grayscale(1); transition: opacity .3s; }
.logos__row img:hover { opacity: 0.85; }

/* ---- En-tête de service enrichi (icône + numéro) ---- */
.svc-detail__head { display: flex; align-items: flex-start; gap: 18px; }
.svc-detail__head .eicon { margin-top: 2px; }
.svc-detail__photo { margin-top: 22px; overflow: hidden; height: clamp(160px,18vw,220px); background: var(--cream); }
.svc-detail__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.svc-detail:hover .svc-detail__photo img { transform: scale(1.04); }

/* ---- FAQ accordéon ---- */
.faq { border-top: 1px solid var(--ink); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: clamp(22px,2.6vw,30px) 0; font-family: "Newsreader", serif; font-size: clamp(19px,2vw,25px);
  font-weight: 400; color: var(--ink); transition: color .2s; }
.faq__q:hover { color: var(--gold-2); }
.faq__sign { font-family: "IBM Plex Mono", monospace; font-size: 20px; color: var(--gold); flex-shrink: 0;
  transition: transform .3s ease; line-height: 1; }
.faq__item.is-open .faq__sign { transform: rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .4s ease, opacity .35s ease, padding .4s ease; opacity: 0; }
.faq__item.is-open .faq__a { max-height: 320px; opacity: 1; padding-bottom: clamp(22px,2.6vw,30px); }
.faq__a p { font-size: 16px; line-height: 1.68; color: var(--muted); max-width: 68ch; }

/* ---- Chiffres-clés (bande secondaire) ---- */
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kpis > div { padding: clamp(32px,3.6vw,52px) clamp(20px,2.5vw,40px); border-right: 1px solid var(--line); }
.kpis > div:first-child { padding-left: 0; }
.kpis > div:last-child { padding-right: 0; border-right: 0; }
.kpis__n { font-family: "Newsreader", serif; font-size: clamp(38px,4vw,58px); font-weight: 300; letter-spacing: -0.02em; color: var(--ink); line-height: 1; }
.kpis__l { font-size: 15px; line-height: 1.55; color: var(--muted); margin-top: 14px; max-width: 30ch; }
.kpis--dark { border-color: rgba(255,255,255,0.14); }
.kpis--dark > div { border-color: rgba(255,255,255,0.14); }
.kpis--dark .kpis__n { color: #fff; }
.kpis--dark .kpis__l { color: var(--on-dark); }

/* ---- CTA intermédiaire (inline, discret) ---- */
.cta-inline { display: flex; align-items: center; justify-content: space-between; gap: clamp(24px,4vw,48px);
  padding: clamp(30px,3.5vw,44px) clamp(28px,4vw,48px); background: var(--ink); color: #fff; flex-wrap: wrap; }
.cta-inline__t { font-family: "Newsreader", serif; font-size: clamp(21px,2.2vw,30px); font-weight: 300; color: #fff; max-width: 30ch; }
.cta-inline .btn--light { flex-shrink: 0; }

/* ---- Cartes bénéfices avec icône (hover lift) ---- */
.icard { transition: transform .3s ease; }
.icard:hover { transform: translateY(-4px); }
.icard .eicon { margin-bottom: 18px; }

/* ---- Chronologie (timeline verticale) ---- */
.timeline { border-left: 1px solid var(--line); margin-left: 6px; }
.timeline__i { position: relative; padding: 0 0 clamp(30px,3.5vw,44px) clamp(28px,3vw,40px); }
.timeline__i:last-child { padding-bottom: 0; }
.timeline__i::before { content: ""; position: absolute; left: -5px; top: 6px; width: 9px; height: 9px;
  background: var(--gold); border-radius: 50%; }
.timeline__y { font-family: "IBM Plex Mono", monospace; font-size: 11.5px; letter-spacing: 0.1em; color: var(--gold); margin-bottom: 8px; }
.timeline__t { font-family: "Newsreader", serif; font-size: clamp(20px,2vw,26px); font-weight: 400; color: var(--ink); margin-bottom: 8px; }
.timeline__d { font-size: 15.5px; line-height: 1.64; color: var(--muted); max-width: 52ch; }

/* ---- Valeurs (grille icônes) ---- */
.values { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: clamp(28px,3.5vw,52px); }
.values__i .eicon { margin-bottom: 16px; }
.values__t { font-family: "Newsreader", serif; font-size: 21px; font-weight: 400; color: var(--ink); margin-bottom: 8px; }
.values__d { font-size: 15px; line-height: 1.64; color: var(--muted); }

/* ---- Consultant testimonial (dark quote card) ---- */
.tquote { background: var(--cream); padding: clamp(32px,4vw,56px); }
.tquote__p { font-family: "Newsreader", serif; font-size: clamp(20px,2.1vw,28px); font-weight: 300; font-style: italic;
  line-height: 1.44; color: var(--ink); margin-bottom: 26px; }
.tquote__who { display: flex; align-items: center; gap: 14px; }
.tquote__ava { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
.tquote__name { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.tquote__meta { font-family: "IBM Plex Mono", monospace; font-size: 10.5px; letter-spacing: 0.08em; color: var(--grey); margin-top: 4px; }

/* reveal helper: stagger */
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .stats { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stats__cell:nth-child(2) { border-right: 0; padding-right: 0; }
  .stats__cell:nth-child(3) { padding-left: 0; border-bottom: 1px solid var(--line); }
  .cols3 { grid-template-columns: 1fr; }
  .cols3 > div { border-right: 0; border-bottom: 1px solid var(--line); padding: 26px 0; }
  .cols3 > div:last-child { border-bottom: 0; }
  .team { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .perks4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .benefit3 { grid-template-columns: 1fr; }
  .benefit3 > div { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 0; }
  .benefit3 > div:last-child { border-bottom: 0; }
}

@media (max-width: 860px) {
  .nav__link, .lang { display: none; }
  .nav .btn--primary { display: none; }   /* CTA repris dans le menu mobile */
  .nav__burger { display: inline-block; }
  .header__in { justify-content: space-between; }
  .nav { margin-left: auto; }
  .hero__grid, .mediasplit, .method__grid, .split-head,
  .phero__grid, .svc-detail, .case, .case--rev, .aboutsplit,
  .contact, .quotes, .hero__media { grid-template-columns: 1fr; }
  .hero__left { border-right: 0; padding: clamp(40px,8vw,64px) 0; }
  .hero__media { min-height: 320px; }
  .mediasplit__media, .method__grid > div:first-child { border-right: 0; }
  .mediasplit__body { padding: 40px 0; }
  .quote { border-right: 0; padding: 0 0 40px; }
  .srv-row { grid-template-columns: 40px 1fr; }
  .srv-row__d { grid-column: 1 / -1; }
  .srv-row__a { display: none; }
  .spec { grid-template-columns: 1fr; }
  .spec > div { border-right: 0 !important; padding-left: 0 !important; padding-right: 0 !important; }
  .cmp__row { grid-template-columns: 1.4fr repeat(3, 1fr); font-size: 13px; }
  .cmp__c { padding: 14px 8px; font-size: 13px; }
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .sectors > div { border-right: 0; }
  .job { grid-template-columns: 1fr auto; }
  .job__c, .job__a { display: none; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .topbar { display: none; }
  .kpis, .values { grid-template-columns: 1fr; }
  .kpis > div { border-right: 0; border-bottom: 1px solid var(--line); padding: 28px 0; }
  .kpis > div:last-child { border-bottom: 0; }
  .logos__in { flex-direction: column; align-items: flex-start; }
  .logos__row { justify-content: flex-start; }
  .cta-inline, .cta-inline__t { text-align: left; }
  .svc-detail__head { gap: 14px; }
}

@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; }
  .stats__cell { border-right: 0 !important; padding: 24px 0 !important; border-bottom: 1px solid var(--line); }
  .team, .perks4, .footer__cols { grid-template-columns: 1fr; }
  .form, .form__foot { grid-template-columns: 1fr; }
  .field--full, .form__foot, .form-ok { grid-column: span 1; }
  .case__stats { grid-template-columns: 1fr; gap: 12px; }
  .case__stats > div { padding: 12px 0 0; }
  .cta-inline { flex-direction: column; align-items: flex-start; }
}
