/* =========================================================================
   Nebula Software Design — feuille de style unique
   Direction « Atelier » : papier chaud, encre, terre cuite.
   Filets fins, sections numérotées, aucune ombre, aucun angle arrondi.
   ========================================================================= */

/* ── Polices auto-hébergées (aucune requête vers un service tiers) ──────── */

@font-face {
  font-family: 'Instrument Serif';
  src: url('/fonts/instrument-serif-400.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('/fonts/instrument-serif-400-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Karla';
  src: url('/fonts/karla-variable.woff2') format('woff2-variations');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

/* ── Jetons ─────────────────────────────────────────────────────────────── */

:root {
  --paper: #f7f4ee;
  --paper-alt: #efeae0;
  --ink: #1a1714;
  --ink-soft: #4a443c;
  --muted: #5c554b;
  --muted-2: #6b6258;
  --faint: #8b8175;
  --faintest: #a89e90;
  --rule: #ddd6c9;
  --rule-alt: #ddd2bf;
  --rule-strong: #c4bbab;
  --accent: #b3421d;
  --accent-dark: #8a3115;
  --accent-light: #e08a5f;

  --display: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  --sans: 'Karla', 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 96px);
  --wrap: 1248px;
  --section-y: clamp(56px, 8vw, 104px);
}

/* ── Base ───────────────────────────────────────────────────────────────── */

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
html.nav-open { overflow: hidden; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { margin: 0; font-weight: 400; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img, svg { max-width: 100%; }
address { font-style: normal; }
[hidden] { display: none !important; }

a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-dark); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 12px 20px; font-size: 14px;
}
.skip:focus { left: 0; color: var(--paper); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }

/* ── Éléments partagés ──────────────────────────────────────────────────── */

.eyebrow {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0;
}
.eyebrow--rule { display: flex; align-items: center; gap: 14px; color: var(--muted-2); }
.eyebrow--rule::before { content: ''; width: 34px; height: 1px; background: var(--accent); flex: none; }

.btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  padding: 15px 26px;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: #000; color: var(--paper); }
.btn--outline { border-color: var(--ink); color: var(--ink); padding: 11px 21px; font-size: 13px; }
.btn--outline:hover { background: var(--ink); color: var(--paper); }
.btn--invert { background: var(--paper); color: var(--ink); font-weight: 600; }
.btn--invert:hover { background: #fff; color: var(--ink); }

.link-underline {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 14px; color: var(--ink);
  border-bottom: 1px solid var(--rule-strong); padding-bottom: 3px;
}
.link-underline:hover { color: var(--accent); border-color: var(--accent); }

.more { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; color: var(--accent); }
.arrow { flex: none; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { border: 1px solid var(--rule); padding: 8px 15px; font-size: 13px; color: var(--muted); }

.ticks { display: flex; flex-direction: column; gap: 10px; }
.ticks li { position: relative; padding-left: 22px; font-size: 15px; line-height: 1.7; color: var(--muted); }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 11px;
  width: 9px; height: 1px; background: var(--accent);
}

/* ── En-tête ────────────────────────────────────────────────────────────── */

.site-header { border-bottom: 1px solid var(--rule); background: var(--paper); }
.site-header__inner {
  max-width: var(--wrap); margin: 0 auto; padding: 22px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}

.wordmark { display: block; flex: none; line-height: 0; }
.wordmark img { display: block; width: 152px; height: auto; }
.wordmark:hover { opacity: 0.78; }
.wordmark--footer img { width: 168px; }
@media (max-width: 560px) { .wordmark img { width: 132px; } }

.site-nav__list { display: flex; align-items: center; gap: 32px; }
.site-nav a { font-size: 14px; color: var(--ink); }
.site-nav a:hover { color: var(--accent); }
.site-nav a[aria-current='page'] { border-bottom: 1px solid var(--accent); padding-bottom: 2px; }

.site-header__end { display: flex; align-items: center; gap: 20px; flex: none; }

.langs { display: flex; align-items: center; gap: 7px; font-size: 12px; letter-spacing: 0.08em; }
.langs__item { color: var(--faintest); }
.langs__item.is-current { color: var(--ink); font-weight: 600; }
.langs__sep { color: var(--rule); }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--rule-strong);
  width: 44px; height: 44px; padding: 0; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle__box { display: flex; flex-direction: column; gap: 5px; width: 18px; }
.nav-toggle__box span { display: block; height: 1px; background: var(--ink); }

.mobile-nav { border-top: 1px solid var(--rule); padding: 8px var(--gutter) 24px; }
.mobile-nav a {
  display: block; padding: 14px 0; font-size: 17px; color: var(--ink);
  border-bottom: 1px solid var(--rule);
}
.mobile-nav__cta { color: var(--accent) !important; }

/* ── Héros ──────────────────────────────────────────────────────────────── */

.hero { padding-block: clamp(48px, 7vw, 92px) clamp(44px, 6vw, 76px); }
.hero__inner {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: end;
}
.hero__lead { grid-column: span 8; }
.hero__aside { grid-column: span 4; display: flex; flex-direction: column; gap: 30px; padding-bottom: 12px; }

.hero__title {
  font-family: var(--display);
  font-size: clamp(44px, 6.4vw, 92px);
  line-height: 0.98;
  letter-spacing: -0.015em;
  margin-top: 40px;
  text-wrap: pretty;
}
.hero__title em { font-style: italic; color: var(--accent); }
.hero__lede { font-size: 17px; line-height: 1.65; color: var(--ink-soft); }
.hero__actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }

/* ── Bandeau des domaines ───────────────────────────────────────────────── */

.strip { border-block: 1px solid var(--rule); }
.strip__list {
  max-width: var(--wrap); margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.strip__list li {
  padding: 26px 24px; border-right: 1px solid var(--rule);
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted-2);
}
.strip__list li:first-child { padding-left: var(--gutter); }
.strip__list li:last-child { border-right: 0; padding-right: var(--gutter); }

/* ── Sections ───────────────────────────────────────────────────────────── */

.section { padding-block: var(--section-y); }
.section--alt { background: var(--paper-alt); }
.section--tight { padding-top: 0; }
.section--top { padding-top: clamp(36px, 4vw, 56px); }

.sechead {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px;
  margin-bottom: clamp(36px, 5vw, 62px); align-items: start;
}
.sechead .eyebrow { grid-column: span 3; padding-top: 12px; }
.sechead__title {
  grid-column: span 9;
  font-family: var(--display);
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.14;
  letter-spacing: -0.01em;
  max-width: 21ch;
  text-wrap: pretty;
}
.sechead--split { align-items: end; }
.sechead--split .eyebrow { padding-top: 0; padding-bottom: 14px; }
.sechead--split .sechead__title { grid-column: span 6; max-width: none; }
.sechead__link { grid-column: span 3; justify-self: end; margin-bottom: 14px; }

/* ── Triptyque (approche) ───────────────────────────────────────────────── */

.triptych {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--rule);
}
.triptych__item {
  padding: 40px 29px 8px; display: flex; flex-direction: column; gap: 16px;
  border-right: 1px solid var(--rule);
}
.triptych__item:first-child { padding-left: 0; }
.triptych__item:last-child { padding-right: 0; border-right: 0; }
.triptych__item h3 { font-family: var(--display); font-size: 27px; line-height: 1.2; }
.triptych__item p { font-size: 15px; line-height: 1.72; color: var(--muted); }

/* ── Services ───────────────────────────────────────────────────────────── */

.services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.service {
  display: flex; gap: 26px; padding: 34px 29px;
  border-top: 1px solid var(--rule-alt);
}
.service:nth-child(odd) { padding-left: 0; }
.service:nth-child(even) { padding-right: 0; border-left: 1px solid var(--rule-alt); }
.service:nth-last-child(-n + 2) { border-bottom: 1px solid var(--rule-alt); }
.service__num { font-size: 12px; color: var(--faintest); padding-top: 7px; min-width: 22px; }
.service__body { display: flex; flex-direction: column; gap: 11px; }
.service__title { font-size: 21px; font-weight: 600; }
.service__title a { color: var(--ink); }
.service__title a:hover { color: var(--accent); }
.service__body p { font-size: 15px; line-height: 1.7; color: var(--muted); }
.service__body .more { color: var(--accent); }

/* ── Liste de réalisations (accueil) ────────────────────────────────────── */

.projlist { border-top: 1px solid var(--rule); }
.projrow {
  display: grid; grid-template-columns: 168px 300px 1fr 44px; gap: 28px;
  align-items: start; padding: 30px 0; border-bottom: 1px solid var(--rule);
}
.projrow__sector {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--faint); padding-top: 8px;
}
.projrow__title { font-family: var(--display); font-size: 30px; line-height: 1.14; }
.projrow__title a { color: var(--ink); }
.projrow__title a:hover { color: var(--accent); }
.projrow__text { font-size: 15px; line-height: 1.7; color: var(--muted); padding-top: 5px; }
.projrow__arrow { display: flex; justify-content: flex-end; padding-top: 11px; color: var(--accent); }

/* ── Bloc technologies ──────────────────────────────────────────────────── */

.techblock {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px;
  padding-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--rule);
}
.techblock .eyebrow { grid-column: span 3; }
.techblock > div { grid-column: span 9; display: flex; flex-direction: column; gap: 26px; }
.techblock__lede {
  font-family: var(--display); font-size: clamp(22px, 2.3vw, 30px); line-height: 1.42;
}

/* ── Bandeau d'appel à l'action ─────────────────────────────────────────── */

.cta { background: var(--ink); color: var(--paper); padding-block: clamp(56px, 7vw, 96px); }
.cta__inner { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 32px; align-items: center; }
.cta__title {
  grid-column: span 8;
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.1; letter-spacing: -0.01em; color: var(--paper);
  text-wrap: pretty;
}
.cta__aside { grid-column: span 4; display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.cta__text { font-size: 16px; line-height: 1.7; color: #b3aa9d; }

/* ── Titre de page ──────────────────────────────────────────────────────── */

.pagehead { padding-block: clamp(44px, 6vw, 84px) 0; }
.pagehead__title {
  font-family: var(--display);
  font-size: clamp(36px, 5vw, 68px);
  line-height: 1.04; letter-spacing: -0.015em; margin-top: 26px;
  max-width: 18ch; text-wrap: pretty;
}
.pagehead__lede {
  margin-top: 26px; max-width: 62ch; font-size: 17px; line-height: 1.68; color: var(--ink-soft);
}

/* ── Mise en page texte + colonne latérale ──────────────────────────────── */

.prose-layout {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
  gap: clamp(32px, 5vw, 72px); align-items: start;
}
.prose { display: flex; flex-direction: column; gap: 22px; max-width: 68ch; }
.prose p { font-size: 17px; line-height: 1.75; color: var(--ink-soft); }

.deflist { display: flex; flex-direction: column; gap: 16px; margin-top: 14px; }
.deflist__title {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint);
}

.sidebar {
  border-top: 2px solid var(--ink); padding-top: 24px;
  display: flex; flex-direction: column; gap: 22px;
}
.sidebar__title {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint);
}
.sidebar__list { display: flex; flex-direction: column; }
.sidebar__list a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 0; border-bottom: 1px solid var(--rule); color: var(--ink); font-size: 16px;
}
.sidebar__list a:hover { color: var(--accent); }
.sidebar__btn { align-self: flex-start; }

.facts { display: flex; flex-direction: column; margin: 0; }
.facts__row { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.facts dt { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.facts dd { margin: 0; font-size: 15px; color: var(--ink); text-align: right; }

/* ── Valeurs (à propos) ─────────────────────────────────────────────────── */

.values { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--rule-alt); }
.values__item {
  padding: 34px 29px; border-bottom: 1px solid var(--rule-alt);
  display: flex; flex-direction: column; gap: 12px;
}
.values__item:nth-child(odd) { padding-left: 0; }
.values__item:nth-child(even) { padding-right: 0; border-left: 1px solid var(--rule-alt); }
.values__num { font-size: 12px; color: var(--faintest); }
.values__item h3 { font-family: var(--display); font-size: 25px; line-height: 1.2; }
.values__item p { font-size: 15px; line-height: 1.72; color: var(--muted); }

/* ── Réalisations (page) ────────────────────────────────────────────────── */

.projects { border-top: 1px solid var(--rule); }
.project {
  display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 4vw, 56px);
  padding: clamp(32px, 4vw, 48px) 0; border-bottom: 1px solid var(--rule);
  scroll-margin-top: 32px;
}
.project__meta { display: grid; grid-template-columns: auto; gap: 2px; align-content: start; }
.project__label {
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faintest);
  margin-top: 12px;
}
.project__label:first-child { margin-top: 0; }
.project__value { font-size: 15px; color: var(--ink); }
.project__body { display: flex; flex-direction: column; gap: 16px; max-width: 66ch; }
.project__title { font-family: var(--display); font-size: clamp(26px, 3vw, 36px); line-height: 1.12; }
.project__body p { font-size: 16px; line-height: 1.72; color: var(--muted); }
/* ── Contact ────────────────────────────────────────────────────────────── */

.contact {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: clamp(32px, 5vw, 72px); align-items: start;
}
.contact__info, .contact__form {
  border-top: 2px solid var(--ink); padding-top: 24px;
  display: flex; flex-direction: column; gap: 22px;
}
.contact__list { display: flex; flex-direction: column; gap: 24px; }
.contact__list li { display: flex; flex-direction: column; gap: 6px; font-size: 16px; color: var(--ink); }
.contact__label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }

form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; margin: 0; }
.field label { font-size: 13px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted-2); }
.field__opt { text-transform: none; letter-spacing: 0; color: var(--faintest); }
.field input, .field textarea {
  font-family: inherit; font-size: 16px; color: var(--ink);
  background: transparent; border: 1px solid var(--rule-strong); padding: 13px 14px;
  width: 100%; border-radius: 0;
}
.field textarea { resize: vertical; min-height: 150px; }
.field input::placeholder, .field textarea::placeholder { color: var(--faintest); }
.field--check { flex-direction: row; align-items: flex-start; gap: 12px; }
.field--check input { width: 18px; height: 18px; min-width: 18px; margin-top: 3px; padding: 0; }
.field--check label { text-transform: none; letter-spacing: 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.form-note { font-size: 13px; line-height: 1.7; color: var(--faint); }

/* Piège à robots : hors écran, jamais masqué par display:none — certains
   automates ignorent les champs non rendus, celui-ci reste « visible ». */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { font-size: 15px; line-height: 1.7; padding: 14px 16px; border: 1px solid var(--rule-strong); }
.form-status[data-state='error'] { border-color: var(--accent); color: var(--accent-dark); }
.form-status[data-state='sending'] { color: var(--muted); }
.field input[aria-invalid='true'], .field textarea[aria-invalid='true'] { border-color: var(--accent); }
form[data-busy='true'] button[type='submit'] { opacity: 0.55; pointer-events: none; }

/* ── Pages juridiques ───────────────────────────────────────────────────── */

.legal { max-width: 74ch; display: flex; flex-direction: column; gap: 8px; }
.legal__intro { font-size: 17px; line-height: 1.75; color: var(--ink-soft); margin-bottom: 16px; }
.legal__section { display: flex; flex-direction: column; gap: 14px; padding-block: 28px; border-top: 1px solid var(--rule); }
.legal__section h2 { font-family: var(--display); font-size: 26px; line-height: 1.2; }
.legal__section p { font-size: 16px; line-height: 1.75; color: var(--muted); }

.callout { border: 1px solid var(--accent); padding: 26px 28px; display: flex; flex-direction: column; gap: 12px; margin-bottom: 12px; }
.callout h2 { font-family: var(--display); font-size: 24px; line-height: 1.2; color: var(--accent); }
.callout p { font-size: 16px; line-height: 1.75; color: var(--ink-soft); }

.idtable { width: 100%; border-collapse: collapse; }
.idtable th, .idtable td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--rule); font-size: 15px; vertical-align: top; }
.idtable th { font-weight: 400; color: var(--faint); width: 42%; padding-right: 20px; }
.idtable td { color: var(--ink); }

.defs { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.defs div { display: flex; gap: 8px; flex-wrap: wrap; }
.defs dt { font-weight: 600; color: var(--ink); }
.defs dd { margin: 0; font-size: 16px; line-height: 1.75; color: var(--muted); flex: 1 1 60%; }

.notfound { padding-block: clamp(64px, 10vw, 140px); }
.notfound .pagehead__title { margin-top: 20px; }

/* ── Pied de page ───────────────────────────────────────────────────────── */

.site-footer { padding-block: clamp(48px, 6vw, 72px) 40px; border-top: 1px solid var(--rule); }
.site-footer__grid {
  display: grid; grid-template-columns: 4fr 3fr 2fr 3fr; gap: 32px;
  padding-bottom: clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--rule);
}
.site-footer__brand { display: flex; flex-direction: column; gap: 16px; }
.site-footer__brand p { font-size: 14px; line-height: 1.7; color: var(--muted-2); }
.wordmark--footer .wordmark__name { font-size: 25px; }
.site-footer__col { display: flex; flex-direction: column; gap: 13px; }
.site-footer__label { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--faintest); font-weight: 400; }
.site-footer__col address, .site-footer__col p { font-size: 14px; line-height: 1.75; color: var(--ink-soft); }
.site-footer__col a { color: var(--ink-soft); }
.site-footer__col a:hover { color: var(--accent); }
.site-footer__links { display: flex; flex-direction: column; gap: 9px; font-size: 14px; }
.site-footer__base {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding-top: 26px; font-size: 13px; color: var(--faint); flex-wrap: wrap;
}
.site-footer__base p { color: var(--faint); }

/* ── Adaptations ────────────────────────────────────────────────────────── */

@media (max-width: 1080px) {
  .hero__lead { grid-column: span 7; }
  .hero__aside { grid-column: span 5; }
  .projrow { grid-template-columns: 140px 240px 1fr 32px; gap: 20px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
}

@media (max-width: 900px) {
  .site-nav, .site-header__cta { display: none; }
  .nav-toggle { display: inline-flex; }

  .hero__inner { grid-template-columns: 1fr; gap: 36px; }
  .hero__lead, .hero__aside { grid-column: auto; }
  .hero__aside { padding-bottom: 0; }
  .hero__title { margin-top: 28px; }

  .strip__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip__list li { border-bottom: 1px solid var(--rule); padding-inline: var(--gutter); }
  .strip__list li:nth-child(even) { border-right: 0; }
  .strip__list li:nth-last-child(-n + 2) { border-bottom: 0; }

  .sechead { grid-template-columns: 1fr; gap: 16px; }
  .sechead .eyebrow, .sechead__title, .sechead--split .sechead__title { grid-column: auto; padding-top: 0; }
  .sechead__link { grid-column: auto; justify-self: start; margin-bottom: 0; }

  .triptych { grid-template-columns: 1fr; border-top: 0; }
  .triptych__item {
    padding: 28px 0; border-right: 0; border-top: 1px solid var(--rule);
  }

  .services { grid-template-columns: 1fr; }
  .service, .service:nth-child(odd), .service:nth-child(even) {
    padding: 28px 0; border-left: 0; border-bottom: 0;
  }
  .service:last-child { border-bottom: 1px solid var(--rule-alt); }

  .projrow { grid-template-columns: 1fr auto; gap: 6px 16px; }
  .projrow__sector { grid-column: 1; padding-top: 0; }
  .projrow__arrow { grid-column: 2; grid-row: 1 / span 3; align-items: center; padding-top: 0; }
  .projrow__title { grid-column: 1; }
  .projrow__text { grid-column: 1; padding-top: 4px; }

  .techblock { grid-template-columns: 1fr; gap: 20px; }
  .techblock .eyebrow, .techblock > div { grid-column: auto; }

  .cta__inner { grid-template-columns: 1fr; gap: 28px; }
  .cta__title, .cta__aside { grid-column: auto; }

  .prose-layout, .contact { grid-template-columns: 1fr; }

  .values { grid-template-columns: 1fr; }
  .values__item, .values__item:nth-child(odd), .values__item:nth-child(even) {
    padding: 28px 0; border-left: 0;
  }

  .project { grid-template-columns: 1fr; gap: 18px; }
  .project__meta { grid-template-columns: repeat(2, auto); justify-content: start; column-gap: 40px; }
  .project__label { margin-top: 0; }
}

@media (max-width: 560px) {
  .strip__list { grid-template-columns: 1fr; }
  .strip__list li { border-right: 0; border-bottom: 1px solid var(--rule); }
  .strip__list li:last-child { border-bottom: 0; }

  .hero__actions { gap: 16px; }
  .btn { width: 100%; text-align: center; }
  .btn--outline { width: auto; }
  .sidebar__btn, .cta .btn { width: auto; }

  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__base { flex-direction: column; align-items: flex-start; gap: 6px; }

  .idtable th, .idtable td { display: block; width: 100%; }
  .idtable th { border-bottom: 0; padding-bottom: 2px; }
  .idtable td { padding-top: 0; }

  .facts__row { flex-direction: column; gap: 2px; }
  .facts dd { text-align: left; }
}

/* ── Cibles tactiles ────────────────────────────────────────────────────────
   Sur un écran tactile, un lien de 17 px de haut est plus petit que le doigt
   qui le vise, et le WCAG 2.2 demande 24 px au minimum. On agrandit la surface
   cliquable par du remplissage : le texte ne bouge pas d'un pixel, c'est la
   zone qui grandit. Réservé aux largeurs tactiles — une souris vise juste. */

@media (max-width: 900px) {
  .langs { gap: 0; }
  .langs__item { padding: 13px 10px; }
  .langs__sep { display: none; }

  .site-footer__links { gap: 0; }
  .site-footer__links a,
  .site-footer__col p a { display: inline-block; padding: 14px 0; }

  .field--check input { width: 24px; height: 24px; min-width: 24px; margin-top: 0; }
}

/* ── Impression ─────────────────────────────────────────────────────────── */

@media print {
  .site-header, .mobile-nav, .cta, .skip, .nav-toggle { display: none !important; }
  body { background: #fff; color: #000; font-size: 11pt; }
  .wrap { max-width: none; padding-inline: 0; }
  a { color: #000; text-decoration: underline; }
}
