/* ═══════════════════════════════════════════════════════════
   Groupe Bisanett
   Bleu #0B6FB4 hérité du logo Bisanett · marine #0A1C2E ·
   vert #3F9A52 réservé à la transmission d'entreprise.
   Display : Schibsted Grotesk · Texte : Instrument Sans ·
   Accent : Newsreader italique, deux apparitions seulement.
   ═══════════════════════════════════════════════════════════ */

/* Polices auto-hébergées (sous-ensembles latin + latin-ext).
   Aucune requête vers Google : aucune adresse IP de visiteur ne quitte le serveur. */
/* Instrument Sans — latin-ext */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(assets/fonts/instrument-sans-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Instrument Sans — latin */
@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 600;
  font-stretch: 100%;
  font-display: swap;
  src: url(assets/fonts/instrument-sans-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Newsreader — latin-ext */
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url(assets/fonts/newsreader-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Newsreader — latin */
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url(assets/fonts/newsreader-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Schibsted Grotesk — latin-ext */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(assets/fonts/schibsted-grotesk-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Schibsted Grotesk — latin */
@font-face {
  font-family: 'Schibsted Grotesk';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(assets/fonts/schibsted-grotesk-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Jetons — thème clair ---------- */
:root {
  --paper:      #FFFFFF;
  --tint:       #F1F6FA;
  --tint-2:     #E4EEF6;
  --ink:        #0B1C2E;
  --ink-2:      #34495E;
  --muted:      #5E768C;
  --line:       #DCE6EE;
  --line-2:     #C6D6E3;

  --blue:       #0B6FB4;
  --blue-dark:  #085A94;
  --blue-soft:  #E7F1F9;
  --blue-light: #5FC0EC;
  --green:      #3F9A52;

  --marine:     #0A1C2E;
  --marine-2:   #10293F;
  --marine-3:   #17364F;
  --on-marine:  #E4EEF6;
  --on-marine-2:#9BB2C6;

  --focus:      #5FC0EC;
  --r:          3px;
  --shell:      1240px;
  --gutter:     clamp(1.125rem, 4.5vw, 4rem);

  --lift:   0 1px 2px rgba(11,28,46,.05), 0 10px 28px -16px rgba(11,28,46,.28);
  --lift-2: 0 2px 6px rgba(11,28,46,.07), 0 26px 50px -28px rgba(11,28,46,.40);

  --display: "Schibsted Grotesk", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body:    "Instrument Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --accent:  "Newsreader", Georgia, "Times New Roman", serif;
}

/* ---------- Jetons — thème sombre (système) ---------- */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper:    #07131F;
    --tint:     #0C1E2F;
    --tint-2:   #13293C;
    --ink:      #E7F0F7;
    --ink-2:    #B7C9D8;
    --muted:    #8099AF;
    --line:     #1B3448;
    --line-2:   #244059;

    --blue:       #3EA3E0;
    --blue-dark:  #63BEEE;
    --blue-soft:  #112B41;
    --green:      #59B96C;

    --marine:     #040D17;
    --marine-2:   #0B1E2E;
    --marine-3:   #163049;

    --lift:   0 1px 2px rgba(0,0,0,.45), 0 10px 28px -16px rgba(0,0,0,.75);
    --lift-2: 0 2px 6px rgba(0,0,0,.5), 0 26px 50px -28px rgba(0,0,0,.85);
  }
}

/* ---------- Jetons — thème sombre (choix explicite) ---------- */
:root[data-theme="dark"] {
  --paper:    #07131F;
  --tint:     #0C1E2F;
  --tint-2:   #13293C;
  --ink:      #E7F0F7;
  --ink-2:    #B7C9D8;
  --muted:    #8099AF;
  --line:     #1B3448;
  --line-2:   #244059;

  --blue:       #3EA3E0;
  --blue-dark:  #63BEEE;
  --blue-soft:  #112B41;
  --green:      #59B96C;

  --marine:     #040D17;
  --marine-2:   #0B1E2E;
  --marine-3:   #163049;

  --lift:   0 1px 2px rgba(0,0,0,.45), 0 10px 28px -16px rgba(0,0,0,.75);
  --lift-2: 0 2px 6px rgba(0,0,0,.5), 0 26px 50px -28px rgba(0,0,0,.85);
}

/* ───────── Base ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
svg { max-width: 100%; }
a { color: inherit; }

:where(a, button, input, select, textarea):focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 120;
  background: var(--blue); color: #fff; padding: .8rem 1.25rem; font-weight: 600;
}
.skip:focus { left: 0; }

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ───────── Typographie ───────── */
.kicker {
  font-family: var(--body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 1.125rem;
}
.kicker--light { color: var(--blue-light); }
.kicker--green { color: var(--green); }

.h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.6vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -.028em;
  text-wrap: balance;
  margin: 0;
  max-width: 17ch;
}
.h2--wide { max-width: 24ch; }

.prose p { margin: 0 0 1.125rem; max-width: 60ch; color: var(--ink-2); }
.prose p:last-child { margin-bottom: 0; }

.headgroup { max-width: 720px; margin-bottom: clamp(2.25rem, 4.5vw, 3.5rem); }
.headgroup__intro { margin: 1.25rem 0 0; color: var(--muted); max-width: 58ch; }
.headgroup--light .headgroup__intro { color: var(--on-marine-2); }
.headgroup--light .h2 { color: #fff; }

.section { padding-block: clamp(3.75rem, 8.5vw, 7.5rem); }
/* l'en-tête est fixe : les ancres s'arrêtent sous lui */
section[id] { scroll-margin-top: calc(84px + env(safe-area-inset-top, 0px)); }
.section--tint { background: var(--tint); }
.section--marine { background: var(--marine); color: var(--on-marine); }

/* ───────── Boutons ───────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: #fff;
  border: 1px solid var(--blue);
  border-radius: var(--r);
  padding: .9rem 1.6rem;
  font-family: var(--body);
  font-size: .9375rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { background: var(--blue-dark); border-color: var(--blue-dark); box-shadow: var(--lift); }
.btn:active { transform: translateY(1px); }

.btn--light { background: #fff; color: var(--marine); border-color: #fff; }
.btn--light:hover { background: var(--blue-soft); border-color: var(--blue-soft); color: var(--marine); }

.btn--outline {
  background: rgba(255,255,255,.06);
  color: #fff;
  border-color: rgba(255,255,255,.42);
  backdrop-filter: blur(6px);
}
.btn--outline:hover { background: rgba(255,255,255,.16); border-color: #fff; }

.btn--wide { width: 100%; }

.arrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
}
.arrow span { transition: transform .25s ease; }
.arrow:hover span { transform: translateX(5px); }
.arrow--green { color: var(--green); }

/* ───────── Puce de canton ───────── */
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  padding: .22rem .5rem;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: var(--paper);
  color: var(--blue);
  font-size: .6875rem;
  font-weight: 700;
  letter-spacing: .1em;
}
.chip--solid { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ───────── Logotype ───────── */
.lockup { display: inline-flex; align-items: center; gap: .625rem; text-decoration: none; }
.lockup__mark { width: 30px; height: 30px; flex: none; }
.lockup__text { display: grid; line-height: 1; }
.lockup__kicker {
  font-size: .5625rem;
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
  opacity: .72;
  margin-bottom: 4px;
}
.lockup__word {
  font-family: var(--display);
  font-size: 1.3125rem;
  font-weight: 800;
  letter-spacing: -.022em;
}
.lockup__word i { font-style: normal; }

/* ───────── En-tête ───────── */
.masthead {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 90;
  padding-top: env(safe-area-inset-top, 0px);
  transition: background .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.masthead__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 78px;
}

/* état par-dessus le hero */
.masthead .lockup { color: #fff; }
.masthead .lockup__word b { color: #fff; }
.masthead .lockup__word i { color: var(--blue-light); }
.masthead .nav a { color: rgba(255,255,255,.88); }
.masthead .burger { color: #fff; border-color: rgba(255,255,255,.4); }

/* état après défilement */
.masthead.is-solid {
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--line);
  box-shadow: 0 1px 0 rgba(11,28,46,.03);
}
.masthead.is-solid .lockup { color: var(--ink); }
.masthead.is-solid .lockup__word b { color: var(--ink); }
.masthead.is-solid .lockup__word i { color: var(--blue); }
.masthead.is-solid .nav a { color: var(--ink-2); }
.masthead.is-solid .nav a:hover { color: var(--blue); }
.masthead.is-solid .nav__cta { color: #fff; }
.masthead.is-solid .burger { color: var(--ink); border-color: var(--line-2); }

.nav { display: flex; align-items: center; gap: 1.75rem; margin-left: auto; }
.nav a {
  font-size: .9375rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s ease, opacity .2s ease;
}
.nav a:hover { opacity: .75; }
.nav__cta {
  background: var(--blue);
  color: #fff !important;
  border-radius: var(--r);
  padding: .6rem 1.15rem;
  font-weight: 600;
}
.nav__cta:hover { background: var(--blue-dark); opacity: 1 !important; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 40px;
  margin-left: auto;
  background: none;
  border: 1px solid;
  border-radius: var(--r);
  cursor: pointer;
}
.burger span {
  display: block; width: 18px; height: 1.5px; margin-inline: auto;
  background: currentColor; transition: transform .25s ease;
}
.burger[aria-expanded="true"] span:first-child { transform: translateY(3.25px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-3.25px) rotate(-45deg); }

@media (max-width: 960px) {
  .burger { display: flex; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin-left: 0;
    padding: .25rem var(--gutter) 1.5rem;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--lift);
  }
  .nav:not(.is-open) { display: none; }
  .masthead .nav a,
  .masthead.is-solid .nav a { color: var(--ink-2); }
  .nav a { padding: .95rem 0; border-bottom: 1px solid var(--line); }
  .nav__cta { margin-top: 1.125rem; text-align: center; justify-content: center; border-bottom: 0; }
}

/* ───────── Hero ───────── */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(580px, 84vh, 860px);
  background: var(--marine);
  overflow: hidden;
  isolation: isolate;
}
.hero__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 58%;
  z-index: -2;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(104deg,
      rgba(7,20,34,.95) 0%,
      rgba(7,20,34,.88) 32%,
      rgba(7,20,34,.52) 62%,
      rgba(7,20,34,.34) 100%),
    linear-gradient(to bottom, rgba(7,20,34,.55) 0%, rgba(7,20,34,0) 28%, rgba(7,20,34,.72) 100%);
}

.hero__content {
  padding-top: clamp(8rem, 18vh, 11rem);
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}
.hero__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2.35rem, 6vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: -.038em;
  color: #fff;
  margin: 0 0 1.5rem;
  max-width: 16ch;
  text-wrap: balance;
}
.hero__title em {
  font-family: var(--accent);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.012em;
  color: var(--blue-light);
}
.hero__lede {
  margin: 0 0 2.25rem;
  max-width: 54ch;
  font-size: clamp(1rem, 1.35vw, 1.1875rem);
  color: rgba(228,238,246,.86);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ruban des trois implantations */
.ruban {
  border-top: 1px solid rgba(255,255,255,.16);
  background: rgba(7,20,34,.42);
  backdrop-filter: blur(14px);
}
.ruban__grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.ruban__item {
  display: grid;
  gap: .3rem;
  padding: 1.35rem 1.5rem 1.35rem 0;
  border-left: 1px solid rgba(255,255,255,.14);
  padding-left: 1.5rem;
}
.ruban__item:first-child { border-left: 0; padding-left: 0; }
.ruban .chip {
  justify-self: start;
  background: transparent;
  border-color: rgba(255,255,255,.34);
  color: #fff;
  margin-bottom: .3rem;
}
.ruban__city {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -.015em;
  color: #fff;
}
.ruban__firm { font-size: .8125rem; color: rgba(228,238,246,.62); }

@media (max-width: 680px) {
  .ruban__grid { grid-template-columns: 1fr; }
  .ruban__item {
    grid-template-columns: 2.75rem 1fr;
    column-gap: .875rem;
    border-left: 0;
    padding: .9rem 0;
    border-top: 1px solid rgba(255,255,255,.12);
  }
  .ruban__item:first-child { border-top: 0; }
  .ruban .chip { grid-row: span 2; align-self: center; margin-bottom: 0; }
}

/* ───────── Chiffres ───────── */
.stats { background: var(--paper); border-bottom: 1px solid var(--line); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding-block: clamp(2.25rem, 4.5vw, 3.5rem);
}
.stat { padding-right: 1.5rem; position: relative; }
.stat + .stat { padding-left: 1.75rem; }
.stat + .stat::before {
  content: "";
  position: absolute; left: 0; top: .35rem; bottom: .35rem;
  width: 1px; background: var(--line);
}
.stat__value {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2.5rem, 4.6vw, 3.6rem);
  line-height: 1;
  letter-spacing: -.05em;
  color: var(--blue);
  margin: 0 0 .55rem;
  font-variant-numeric: tabular-nums;
}
.stat__value span {
  font-size: .27em;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-left: .3rem;
}
.stat__label { margin: 0; font-size: .875rem; color: var(--muted); max-width: 20ch; }

@media (max-width: 860px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); row-gap: 2rem; }
  .stat:nth-child(odd) { padding-left: 0; }
  .stat:nth-child(odd)::before { display: none; }
}
@media (max-width: 420px) {
  .stats__grid { grid-template-columns: 1fr; }
  .stat, .stat + .stat { padding-left: 0; }
  .stat + .stat::before { display: none; }
}

/* ───────── Éditorial « Le groupe » ───────── */
.editorial {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.editorial__text { padding-top: .5rem; }

.quote {
  margin: 2.25rem 0 0;
  padding-left: 1.5rem;
  border-left: 2px solid var(--blue);
}
.quote p {
  margin: 0;
  font-family: var(--accent);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  line-height: 1.38;
  letter-spacing: -.01em;
  color: var(--ink);
  max-width: 38ch;
}

.editorial__figure { margin: 0; }
.frame {
  overflow: hidden;
  border-radius: var(--r);
  background: var(--tint-2);
  box-shadow: var(--lift-2);
}
.frame img { width: 100%; }
.editorial__figure figcaption {
  margin-top: .875rem;
  font-size: .8125rem;
  color: var(--muted);
  max-width: 34ch;
}

@media (max-width: 900px) {
  .editorial { grid-template-columns: 1fr; }
  .editorial__figure { max-width: 460px; }
}

/* ───────── Prestations ───────── */
.tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.125rem, 2.4vw, 2rem);
}
.tile {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: box-shadow .3s ease, border-color .3s ease, transform .3s ease;
}
.tile:hover { box-shadow: var(--lift-2); border-color: var(--line-2); transform: translateY(-3px); }
.tile__media { overflow: hidden; aspect-ratio: 4 / 3; background: var(--tint-2); }
.tile__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s cubic-bezier(.2,.7,.2,1);
}
.tile:hover .tile__media img { transform: scale(1.05); }
.tile__body { padding: clamp(1.25rem, 2.4vw, 1.75rem); }
.tile__body h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1875rem;
  letter-spacing: -.02em;
  margin: 0 0 .5rem;
}
.tile__body p { margin: 0; font-size: .9375rem; color: var(--muted); }

@media (max-width: 720px) { .tiles { grid-template-columns: 1fr; } }

.more {
  list-style: none;
  margin: clamp(1.125rem, 2.4vw, 2rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.125rem, 2.4vw, 2rem);
}
.more li { border-top: 2px solid var(--blue); padding-top: 1rem; }
.more h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -.015em;
  margin: 0 0 .35rem;
}
.more p { margin: 0; font-size: .875rem; color: var(--muted); }

@media (max-width: 900px) { .more { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .more { grid-template-columns: 1fr; } }

/* ───────── Bande pleine largeur ───────── */
.band {
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(280px, 38vw, 440px);
  background: var(--marine);
  overflow: hidden;
  isolation: isolate;
}
.band__photo {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 42%;
  z-index: -2;
}
.band__scrim {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(94deg, rgba(7,20,34,.93) 0%, rgba(7,20,34,.78) 48%, rgba(7,20,34,.42) 100%);
}
.band__content { padding-block: clamp(2.5rem, 5vw, 4rem); }
.band__text {
  margin: 0;
  max-width: 24ch;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.9vw, 2.3rem);
  line-height: 1.16;
  letter-spacing: -.028em;
  color: #fff;
  text-wrap: balance;
}

/* ───────── Nos sociétés ───────── */
.firms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.125rem, 2.2vw, 1.75rem);
}
.firm {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(1.25rem, 2.2vw, 1.75rem);
  transition: box-shadow .3s ease, border-color .3s ease, transform .3s ease;
}
.firm:hover { box-shadow: var(--lift-2); border-color: var(--line-2); transform: translateY(-3px); }

.firm__logo {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
}
.firm__logo > img { max-height: 52px; width: auto; object-fit: contain; }

.wordmark { display: flex; align-items: center; gap: .5rem; }
.wordmark img { width: 40px; flex: none; }
.wordmark__text {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.0625rem;
  letter-spacing: -.028em;
  color: #124E80;
  line-height: 1.1;
}
.wordmark__text i { font-style: normal; color: #2E9BD6; }

.firm__head { display: flex; align-items: center; gap: .625rem; margin-bottom: .625rem; }
.firm__city { font-size: .8125rem; font-weight: 600; letter-spacing: .04em; color: var(--muted); text-transform: uppercase; }

.firm__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3125rem;
  letter-spacing: -.025em;
  line-height: 1.16;
  margin: 0 0 .625rem;
}
.firm__text { margin: 0 0 1.25rem; font-size: .9375rem; color: var(--muted); }

.lines { margin: 0 0 1.5rem; display: grid; gap: .75rem; }
.lines > div { display: grid; gap: .1rem; }
.lines dt {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.lines dd { margin: 0; font-size: .9375rem; overflow-wrap: anywhere; }
.lines dd a { color: var(--blue); text-decoration: none; }
.lines dd a:hover { text-decoration: underline; }

.firm .arrow { margin-top: auto; align-self: flex-start; }

@media (max-width: 980px) { .firms { grid-template-columns: 1fr; } }

/* ───────── Secteurs ───────── */
.sectors-layout {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.sectors {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 clamp(1.5rem, 3vw, 2.5rem);
}
.sectors li {
  padding: .95rem 0;
  border-bottom: 1px solid var(--line-2);
  font-family: var(--display);
  font-weight: 500;
  font-size: 1.0625rem;
  letter-spacing: -.015em;
}
@media (max-width: 900px) { .sectors-layout { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .sectors { grid-template-columns: 1fr; } }

/* ───────── Étapes ───────── */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.steps li { border-top: 1px solid var(--line-2); padding-top: 1.25rem; }
.steps__num {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: .8125rem;
  letter-spacing: .1em;
  color: var(--blue);
  margin-bottom: .875rem;
  font-variant-numeric: tabular-nums;
}
.steps h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.0625rem;
  letter-spacing: -.02em;
  line-height: 1.24;
  margin: 0 0 .5rem;
  text-wrap: balance;
}
.steps p { margin: 0; font-size: .9375rem; color: var(--muted); }

@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

/* ───────── Carrières + transmission ───────── */
.duo {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 900px) { .duo { grid-template-columns: 1fr; } }

.duo__main .prose { margin-top: 1.25rem; }

.roles { list-style: none; margin: 1.75rem 0 2rem; padding: 0; }
.roles li {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: .75rem;
  padding: .875rem 0;
  border-bottom: 1px solid var(--line-2);
}
.roles li span { font-weight: 500; }
.roles li em {
  font-style: normal;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .1em;
  color: var(--muted);
}

.offer {
  background: var(--marine);
  color: var(--on-marine);
  border-radius: var(--r);
  border-top: 3px solid var(--green);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  box-shadow: var(--lift-2);
}
.offer__title {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3125rem;
  line-height: 1.2;
  letter-spacing: -.025em;
  color: #fff;
  margin: 0 0 .875rem;
  text-wrap: balance;
}
.offer p { margin: 0 0 1.5rem; font-size: .9375rem; color: var(--on-marine-2); }

/* ───────── Contact ───────── */
.contact {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }

.field { display: grid; gap: .45rem; margin-bottom: 1.125rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.125rem; }
@media (max-width: 480px) { .field-row { grid-template-columns: 1fr; } }

.field label {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--on-marine-2);
}
.field .opt { text-transform: none; letter-spacing: 0; font-weight: 400; opacity: .7; }

.field input,
.field select,
.field textarea {
  width: 100%;
  font-family: var(--body);
  font-size: 1rem;
  color: #fff;
  background: var(--marine-2);
  border: 1px solid var(--marine-3);
  border-radius: var(--r);
  padding: .8rem .95rem;
  transition: border-color .2s ease, background .2s ease;
}
.field textarea { resize: vertical; min-height: 7.5rem; }
.field input::placeholder,
.field textarea::placeholder { color: rgba(155,178,198,.7); }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--blue-light); background: #142F46; }
.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: #E07E6C; }

.formnote { margin: 1rem 0 0; font-size: .875rem; color: var(--on-marine-2); min-height: 1.4em; }
.formnote a { color: var(--blue-light); }
.formnote.is-error { color: #F2A697; }

.formlegal { margin: .25rem 0 0; font-size: .8125rem; color: var(--on-marine-2); }
.formlegal a { color: var(--on-marine); }

.btn:disabled { opacity: .6; cursor: progress; transform: none; box-shadow: none; }

/* champ piège anti-spam : hors écran, jamais visible ni atteignable */
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.contact__label {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--on-marine-2);
  margin: 0 0 1rem;
}
.sitelist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--marine-3); }
.sitelist li {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 1rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--marine-3);
}
.sitelist .chip { background: transparent; border-color: var(--marine-3); color: var(--blue-light); align-self: start; }
.sitelist__name { margin: 0 0 .15rem; font-weight: 600; color: #fff; }
.sitelist__meta { margin: 0 0 .4rem; font-size: .875rem; color: var(--on-marine-2); }
.sitelist li a {
  display: block;
  font-size: .875rem;
  color: var(--blue-light);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.sitelist li a:hover { text-decoration: underline; }
.contact__hours { margin: 1rem 0 0; font-size: .875rem; color: var(--on-marine-2); }

/* ───────── Pied de page ───────── */
.footer { background: var(--tint); border-top: 1px solid var(--line); }
.footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr);
  gap: clamp(2rem, 5vw, 4rem);
  padding-block: clamp(2.75rem, 5vw, 4.25rem);
}
@media (max-width: 820px) { .footer__top { grid-template-columns: 1fr; } }

.lockup--dark { color: var(--ink); }
.lockup--dark .lockup__word b { color: var(--ink); }
.lockup--dark .lockup__word i { color: var(--blue); }
.footer__tag { margin: 1rem 0 0; font-size: .875rem; color: var(--muted); max-width: 32ch; }

.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
@media (max-width: 560px) { .footer__cols { grid-template-columns: 1fr 1fr; } }
.footer__cols h2 {
  font-size: .6875rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 .875rem;
}
.footer__cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.footer__cols li { font-size: .9375rem; color: var(--ink-2); }
.footer__cols a { color: var(--ink-2); text-decoration: none; }
.footer__cols a:hover { color: var(--blue); }

.footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem;
  padding-block: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: .8125rem;
  color: var(--muted);
}
.footer__base p { margin: 0; }
.footer__base a { color: var(--muted); }

/* ───────── Pages légales ───────── */
.legal {
  padding-top: calc(78px + env(safe-area-inset-top, 0px) + clamp(2.5rem, 6vw, 4.5rem));
  padding-bottom: clamp(3.5rem, 8vw, 6rem);
}
.legal__inner { max-width: 760px; }
.legal__title {
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  line-height: 1.05;
  letter-spacing: -.035em;
  margin: 0 0 .75rem;
  text-wrap: balance;
}
.legal__updated { margin: 0 0 clamp(2rem, 4vw, 3rem); font-size: .875rem; color: var(--muted); }
.legal h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.3125rem;
  letter-spacing: -.02em;
  margin: 2.5rem 0 .75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.legal p, .legal li { color: var(--ink-2); max-width: 64ch; }
.legal p { margin: 0 0 1rem; }
.legal ul { margin: 0 0 1rem; padding-left: 1.25rem; }
.legal li { margin-bottom: .35rem; }
.legal a { color: var(--blue); }
.legal address { font-style: normal; color: var(--ink-2); line-height: 1.7; margin: 0 0 1rem; }
.legal__back { display: inline-flex; margin-top: 2.5rem; }
.legal__back:hover span { transform: translateX(-5px); }

/* donnée manquante à fournir par le client — volontairement voyante */
.todo {
  background: #FFE36E;
  color: #3A2E00;
  padding: .05rem .35rem;
  border-radius: 2px;
  font-weight: 600;
}

/* ───────── Mouvement réduit ───────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
