/* bitLabs — feuille de style du site.
   Mise en page : grands titres courts façon « Titre. Sous-titre. », grilles de cartes,
   bandes sombres pour rythmer, et le motif « piste + nœud » du logo comme fil conducteur. */

@font-face {
  font-family: 'IBM Plex Sans';
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url('../fonts/ibm-plex-sans-latin-var.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-latin-400.woff2') format('woff2');
}
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/ibm-plex-mono-latin-500.woff2') format('woff2');
}

:root {
  /* Couleurs de la charte bitLabs */
  --paper: #FAF7F2;
  --cream: #F3EDE4;
  --sand: #E4DCCF;
  --white: #FFFFFF;
  --ink: #0F1A14;
  --ink-soft: #3B4741;
  --ink-faint: #616C66;
  --copper: #B85F1E;
  --copper-ink: #9A4D15;
  --orange: #E08A3C;
  --night: #0F1A14;
  --night-2: #17251D;
  --night-3: #1F3027;
  --night-line: #2A3B31;
  --on-night: #F3EDE4;
  --on-night-soft: #B4BEB8;
  --todo-bg: #FCE7C4;
  --todo-ink: #6E3A0C;
  --error: #A3261B;
  --success: #1E6B43;

  --font-sans: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

  --fs-hero: clamp(2.6rem, 6.2vw, 4.75rem);
  --fs-h1: clamp(2.2rem, 4.6vw, 3.5rem);
  --fs-h2: clamp(1.85rem, 3.4vw, 2.75rem);
  --fs-h3: 1.25rem;
  --fs-lead: clamp(1.1rem, 1.5vw, 1.3rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-mono: 0.78rem;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;

  --container: 1200px;
  --header-h: 72px;
  --section-y: clamp(64px, 9vw, 120px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; font-weight: 650; line-height: 1.12; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--copper-ink); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--orange); color: var(--ink); }
address { font-style: normal; }

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * 24px);
  margin-inline: auto;
  padding-left: max(24px, env(safe-area-inset-left, 0px));
  padding-right: max(24px, env(safe-area-inset-right, 0px));
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  padding: 10px 16px; border-radius: var(--r-sm);
  background: var(--ink); color: var(--on-night); text-decoration: none;
}
.skip-link:focus { top: 12px; }

.todo {
  font-family: var(--font-mono); font-size: 0.85em;
  padding: 0.05em 0.4em; border-radius: 4px;
  background: var(--todo-bg); color: var(--todo-ink);
}

/* Libellé de section : nœud + piste, repris du logo */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono); font-size: var(--fs-mono); font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--copper-ink);
}
.eyebrow::before {
  content: '';
  width: 26px; height: 10px; flex: none;
  background:
    radial-gradient(circle at 5px 5px, transparent 2.4px, currentColor 2.5px, currentColor 4.2px, transparent 4.3px),
    linear-gradient(currentColor, currentColor) 9px 50% / 17px 1.6px no-repeat;
}
.on-dark .eyebrow, .eyebrow.on-dark { color: var(--orange); }

/* Boutons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border: 1.5px solid transparent; border-radius: 10px;
  font: inherit; font-size: 1rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background-color 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--ink); color: var(--on-night); }
.btn-primary:hover { background: #24342B; color: var(--on-night); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--on-night); }
.btn-light { background: var(--on-night); color: var(--ink); }
.btn-light:hover { background: var(--white); color: var(--ink); }
.btn-on-dark { background: transparent; color: var(--on-night); border-color: var(--on-night-soft); }
.btn-on-dark:hover { background: var(--on-night); color: var(--ink); border-color: var(--on-night); }
.btn .arrow { transition: transform 0.2s var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; color: var(--ink); text-decoration: none;
}
.text-link:hover { color: var(--copper-ink); }
.text-link .arrow { transition: transform 0.2s var(--ease); }
.text-link:hover .arrow { transform: translateX(3px); }

.link-button {
  padding: 0; border: 0; background: none; cursor: pointer;
  font: inherit; color: inherit; text-align: left;
}

.icon { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* En-tête */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, 0.88);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease);
  padding-top: env(safe-area-inset-top, 0px);
}
.site-header.is-scrolled { border-bottom-color: var(--sand); }
.header-inner { display: flex; align-items: center; gap: 32px; min-height: var(--header-h); }
.brand { display: inline-flex; flex: none; }
.brand img { height: 36px; width: auto; }
.site-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex: 1; }
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a {
  display: block; padding: 8px 14px; border-radius: var(--r-sm);
  color: var(--ink); text-decoration: none; font-weight: 500;
}
.nav-links a:hover { background: var(--cream); color: var(--ink); }
.nav-links a[aria-current='page'] { background: var(--cream); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-actions .btn { min-height: 42px; padding: 9px 18px; font-size: 0.95rem; }
.lang-switch {
  font-family: var(--font-mono); font-size: 0.82rem; font-weight: 500; letter-spacing: 0.06em;
  color: var(--ink-soft); text-decoration: none; padding: 8px 10px; border-radius: var(--r-sm);
}
.lang-switch:hover { color: var(--ink); background: var(--cream); }

.nav-toggle {
  display: none; margin-left: auto;
  align-items: center; gap: 10px;
  min-height: 44px; padding: 8px 14px;
  border: 1.5px solid var(--sand); border-radius: 10px;
  background: var(--white); color: var(--ink);
  font: inherit; font-weight: 600; font-size: 0.95rem; cursor: pointer;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 16px; height: 1.6px; background: currentColor; border-radius: 2px;
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -5px; }
.nav-toggle-bars::after { top: 5px; }
.nav-toggle[aria-expanded='true'] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded='true'] .nav-toggle-bars::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle-bars::after { transform: translateY(-5px) rotate(-45deg); }

/* Sections */
.section { padding-block: var(--section-y); }
.section-tight { padding-block: clamp(48px, 6vw, 80px); }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head h2 { font-size: var(--fs-h2); }
.section-head p { font-size: var(--fs-lead); color: var(--ink-soft); max-width: 62ch; }
.section-head.center { margin-inline: auto; text-align: center; align-items: center; }

.band-dark { background: var(--night); color: var(--on-night); }
.band-dark .section-head p { color: var(--on-night-soft); }
.band-cream { background: var(--cream); }

/* Accueil : héros */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(48px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.hero h1 { font-size: var(--fs-hero); font-weight: 700; line-height: 1.02; letter-spacing: -0.035em; }
.hero h1 span { display: block; }
.hero h1 .accent { color: var(--copper); }
.hero .lead { font-size: var(--fs-lead); color: var(--ink-soft); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.hero-note { font-size: var(--fs-small); color: var(--ink-faint); }

.hero-visual {
  position: relative; min-width: 0;
  background: var(--night); border-radius: var(--r-xl);
  padding: clamp(12px, 2vw, 20px);
  box-shadow: 0 30px 60px -30px rgba(15, 26, 20, 0.45);
}
.hero-visual svg { width: 100%; height: auto; }
.hero-visual text { font-family: var(--font-mono); }
.trace { stroke-dasharray: 1; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .trace { stroke-dashoffset: 1; animation: trace-draw 1.6s var(--ease) 0.35s forwards; }
  .trace:nth-of-type(2) { animation-delay: 0.6s; }
  .trace:nth-of-type(3) { animation-delay: 0.85s; }
  .cursor { animation: blink 1.1s steps(1) infinite; }
}
@keyframes trace-draw { to { stroke-dashoffset: 0; } }
@keyframes blink { 50% { opacity: 0; } }

/* Bandeau de confiance */
.trust { border-block: 1px solid var(--sand); }
.trust-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); list-style: none; }
.trust-list li { display: flex; gap: 14px; align-items: flex-start; padding: 28px 24px; min-width: 0; }
.trust-list li + li { border-left: 1px solid var(--sand); }
.trust-list .icon { color: var(--copper); margin-top: 2px; }
.trust-list strong { display: block; font-weight: 600; }
.trust-list span { display: block; color: var(--ink-faint); font-size: var(--fs-small); }

/* Cartes de services */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.card {
  display: flex; flex-direction: column; gap: 14px; min-width: 0;
  padding: clamp(24px, 2.6vw, 32px);
  background: var(--cream); border-radius: var(--r-lg);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card .icon { width: 36px; height: 36px; color: var(--copper); }
.card h3 { font-size: var(--fs-h3); }
.card p { color: var(--ink-soft); }
.card .text-link { margin-top: auto; padding-top: 8px; }
a.card { color: inherit; text-decoration: none; }
a.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px -24px rgba(15, 26, 20, 0.35); }
.card-dark, a.card-dark { background: var(--night); color: var(--on-night); justify-content: space-between; }
.card-dark p { color: var(--on-night-soft); }
.card-dark .text-link { color: var(--orange); }
.card-dark .icon { color: var(--orange); }

/* Bande « nos produits » */
.products-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.products-copy { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.products-copy h2 { font-size: var(--fs-h2); }
.products-copy > p { font-size: var(--fs-lead); color: var(--on-night-soft); }
.products-points { display: flex; flex-direction: column; gap: 12px; list-style: none; }
.products-points li {
  display: grid; grid-template-columns: 36px 1fr; gap: 16px; align-items: start;
  padding: 20px 22px; border-radius: var(--r-md);
  background: var(--night-2); border: 1px solid var(--night-line);
}
.products-points .icon { color: var(--orange); }
.products-points strong { display: block; font-weight: 600; color: var(--on-night); margin-bottom: 2px; }
.products-points span { color: var(--on-night-soft); font-size: var(--fs-small); }
.products-mark { display: flex; justify-content: center; }
.products-mark img { width: min(320px, 70%); opacity: 0.95; }

/* Méthode : les étapes sont reliées par une piste */
.steps { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; list-style: none; counter-reset: step; }
.step { position: relative; display: flex; flex-direction: column; gap: 10px; padding-top: 40px; min-width: 0; }
.step::before {
  content: ''; position: absolute; top: 7px; left: 18px; right: -24px; height: 1.6px; background: var(--sand);
}
.step:last-child::before { display: none; }
.step::after {
  content: ''; position: absolute; top: 0; left: 0;
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid var(--copper); background: var(--paper);
}
.step-num { font-family: var(--font-mono); font-size: var(--fs-mono); font-weight: 500; letter-spacing: 0.08em; color: var(--copper-ink); }
.step h3 { font-size: 1.125rem; }
.step p { color: var(--ink-soft); font-size: var(--fs-small); }
.band-cream .step::after { background: var(--cream); }

/* Pour qui */
.audiences { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.audience {
  display: flex; flex-direction: column; gap: 12px; min-width: 0;
  padding: clamp(24px, 2.6vw, 32px);
  border: 1px solid var(--sand); border-radius: var(--r-lg); background: var(--white);
}
.audience h3 { font-size: var(--fs-h3); }
.audience p { color: var(--ink-soft); }
.audience-tag { font-family: var(--font-mono); font-size: var(--fs-mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-faint); }

/* Appel à l'action final */
.cta-panel {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px; align-items: center;
  padding: clamp(32px, 5vw, 64px);
  background: var(--night); color: var(--on-night); border-radius: var(--r-xl);
}
.cta-panel h2 { font-size: var(--fs-h2); }
.cta-panel p { color: var(--on-night-soft); font-size: var(--fs-lead); max-width: 56ch; }
.cta-copy { display: flex; flex-direction: column; gap: 16px; position: relative; z-index: 1; min-width: 0; }
.cta-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 8px; }
.cta-actions a:not(.btn) { color: var(--on-night); }
.cta-actions a:not(.btn):hover { color: var(--orange); }
.cta-mark { width: 180px; opacity: 0.9; position: relative; z-index: 1; }

/* Pages intérieures */
.page-hero { padding-block: clamp(48px, 7vw, 96px) clamp(32px, 4vw, 56px); }
.page-hero-inner { display: flex; flex-direction: column; gap: 20px; max-width: 820px; }
.page-hero h1 { font-size: var(--fs-h1); font-weight: 700; letter-spacing: -0.03em; }
.page-hero .lead { font-size: var(--fs-lead); color: var(--ink-soft); max-width: 62ch; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 8px; }
.chips a {
  display: inline-block; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--sand); background: var(--white);
  color: var(--ink); text-decoration: none; font-size: var(--fs-small); font-weight: 500;
}
.chips a:hover { border-color: var(--ink); }

/* Services détaillés */
.service-list { display: flex; flex-direction: column; }
.service {
  display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(24px, 5vw, 80px);
  padding-block: clamp(40px, 5vw, 64px); border-top: 1px solid var(--sand);
}
.service:last-child { border-bottom: 1px solid var(--sand); }
.service-intro { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.service-intro .icon { width: 40px; height: 40px; color: var(--copper); }
.service-num { font-family: var(--font-mono); font-size: var(--fs-mono); font-weight: 500; letter-spacing: 0.08em; color: var(--copper-ink); }
.service h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.service-tagline { font-size: 1.15rem; font-weight: 500; color: var(--ink); }
.service-intro p:not(.service-tagline) { color: var(--ink-soft); }
.service-detail { min-width: 0; padding: clamp(24px, 3vw, 36px); background: var(--cream); border-radius: var(--r-lg); align-self: start; }
.service-detail h3 { font-family: var(--font-mono); font-size: var(--fs-mono); font-weight: 500; text-transform: uppercase; letter-spacing: 0.1em; color: var(--ink-faint); margin-bottom: 16px; }

.node-list { display: flex; flex-direction: column; gap: 12px; list-style: none; }
.node-list li { position: relative; padding-left: 30px; }
.node-list li::before {
  content: ''; position: absolute; left: 0; top: 0.42em;
  width: 18px; height: 10px;
  background:
    radial-gradient(circle at 5px 5px, transparent 2.2px, var(--copper) 2.3px, var(--copper) 3.9px, transparent 4px),
    linear-gradient(var(--copper), var(--copper)) 9px 50% / 9px 1.6px no-repeat;
}

/* À propos */
.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 48px); list-style: none; }
.principles li { display: flex; flex-direction: column; gap: 10px; padding-top: 20px; border-top: 2px solid var(--ink); min-width: 0; }
.principles h3 { font-size: var(--fs-h3); }
.principles p { color: var(--ink-soft); }

.fact-sheet { background: var(--white); border: 1px solid var(--sand); border-radius: var(--r-lg); overflow: hidden; }
.fact-sheet-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 16px; padding: 18px 24px; border-bottom: 1px solid var(--sand); background: var(--cream); }
.fact-sheet-head strong { font-size: 1.1rem; letter-spacing: 0.02em; }
.fact-sheet dl { display: grid; grid-template-columns: minmax(160px, 260px) 1fr; margin: 0; }
.fact-sheet dt, .fact-sheet dd { margin: 0; padding: 14px 24px; border-bottom: 1px solid var(--sand); min-width: 0; }
.fact-sheet dt { color: var(--ink-faint); font-size: var(--fs-small); }
.fact-sheet dd { overflow-wrap: anywhere; }
.fact-sheet dl > :nth-last-child(-n + 2) { border-bottom: 0; }
.mono { font-family: var(--font-mono); font-size: 0.92em; font-variant-numeric: tabular-nums; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.contact-form {
  display: flex; flex-direction: column; gap: 20px;
  padding: clamp(24px, 3.5vw, 40px);
  background: var(--white); border: 1px solid var(--sand); border-radius: var(--r-lg);
}
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field label { font-weight: 600; font-size: var(--fs-small); }
.field .optional { font-weight: 400; color: var(--ink-faint); }
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px;
  font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--sand); border-radius: 10px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), background-color 0.2s var(--ease);
}
.field textarea { min-height: 160px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%230F1A14' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: #CFC4B3; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; background: var(--white); border-color: var(--copper); box-shadow: 0 0 0 3px rgba(184, 95, 30, 0.16);
}
.field input:user-invalid, .field textarea:user-invalid, .field select:user-invalid { border-color: var(--error); }
.honeypot { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.form-legal { font-size: 0.875rem; color: var(--ink-faint); max-width: 52ch; }
.form-status { font-size: var(--fs-small); font-weight: 500; padding: 12px 16px; border-radius: 10px; }
.form-status[data-state='success'] { background: #E2F2E8; color: var(--success); }
.form-status[data-state='error'] { background: #F9E3E0; color: var(--error); }
.form-status[data-state='info'] { background: var(--cream); color: var(--ink); }

.contact-aside { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.info-card { padding: clamp(24px, 3vw, 32px); border-radius: var(--r-lg); background: var(--cream); display: flex; flex-direction: column; gap: 18px; }
.info-card h2 { font-size: 1.15rem; }
.info-list { display: flex; flex-direction: column; gap: 16px; list-style: none; }
.info-list li { display: grid; grid-template-columns: 24px 1fr; gap: 14px; align-items: start; }
.info-list .icon { width: 22px; height: 22px; color: var(--copper); margin-top: 2px; }
.info-list strong { display: block; font-size: var(--fs-small); color: var(--ink-faint); font-weight: 500; }
.info-list a { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.info-list a:hover { color: var(--copper-ink); }
.info-card-dark { background: var(--night); color: var(--on-night); }
.mini-steps { display: flex; flex-direction: column; gap: 14px; list-style: none; counter-reset: mini; }
.mini-steps li { display: grid; grid-template-columns: 28px 1fr; gap: 12px; color: var(--on-night-soft); font-size: var(--fs-small); }
.mini-steps li::before {
  counter-increment: mini; content: counter(mini);
  display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%;
  border: 1.5px solid var(--orange); color: var(--orange);
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500;
}
.mini-steps strong { color: var(--on-night); font-weight: 600; }

/* Pages légales */
.prose { max-width: 74ch; display: flex; flex-direction: column; gap: 16px; }
.prose h2 { font-size: 1.45rem; margin-top: 32px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1.1rem; margin-top: 12px; }
.prose p, .prose li { color: var(--ink-soft); }
.prose strong { color: var(--ink); font-weight: 600; }
.prose ul { padding-left: 1.2em; display: flex; flex-direction: column; gap: 6px; }
.prose .updated { font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--ink-faint); letter-spacing: 0.04em; }
.table-wrap { overflow-x: auto; border: 1px solid var(--sand); border-radius: var(--r-md); background: var(--white); }
.prose table { width: 100%; border-collapse: collapse; font-size: var(--fs-small); }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid var(--sand); }
.prose th { font-weight: 600; color: var(--ink); background: var(--cream); }
.prose tr:last-child td { border-bottom: 0; }
.prose td { color: var(--ink-soft); }
.legal-block { padding: 20px 24px; border-radius: var(--r-md); background: var(--cream); }
.legal-block p { color: var(--ink); }

/* 404 */
.notfound { min-height: 56vh; display: flex; align-items: center; }
.notfound-code { font-family: var(--font-mono); font-size: var(--fs-mono); color: var(--copper-ink); letter-spacing: 0.1em; }

/* Pied de page */
.site-footer {
  background: var(--night); color: var(--on-night-soft);
  padding-block: clamp(56px, 7vw, 88px) calc(28px + env(safe-area-inset-bottom, 0px));
  font-size: var(--fs-small);
}
.footer-top { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid var(--night-line); }
.footer-brand { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.footer-brand img { height: 40px; width: auto; align-self: flex-start; }
.footer-brand p { max-width: 34ch; }
.footer-brand a { color: var(--on-night); }
.footer-col { min-width: 0; }
.footer-heading { font-family: var(--font-mono); font-size: var(--fs-mono); text-transform: uppercase; letter-spacing: 0.1em; color: var(--on-night); margin-bottom: 16px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a, .footer-col .link-button { color: var(--on-night-soft); text-decoration: none; }
.footer-col a:hover, .footer-col .link-button:hover { color: var(--orange); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; padding-top: 24px; font-size: 0.85rem; }
.footer-bottom .lang-switch { color: var(--on-night-soft); padding: 0; }
.footer-bottom .lang-switch:hover { color: var(--orange); background: none; }
.site-footer :focus-visible { outline-color: var(--orange); }

/* Bandeau cookies */
.cookie-banner {
  position: fixed; z-index: 60;
  left: max(16px, env(safe-area-inset-left, 0px));
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  width: min(520px, calc(100% - 32px));
  display: flex; flex-direction: column; gap: 12px;
  padding: 22px 24px; border-radius: var(--r-lg);
  background: var(--night); color: var(--on-night-soft); font-size: var(--fs-small);
  box-shadow: 0 24px 60px -20px rgba(15, 26, 20, 0.6);
}
.cookie-title { color: var(--on-night); font-weight: 600; font-size: 1rem; }
.cookie-banner a { color: var(--orange); }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 4px; }
.cookie-actions .btn { min-height: 44px; }
.cookie-banner :focus-visible { outline-color: var(--orange); }

/* Adaptations */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 40px; }
  .step:nth-child(3)::before { display: none; }
  .footer-top { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 100%;
    display: none; flex-direction: column; align-items: stretch; gap: 16px;
    padding: 16px max(24px, env(safe-area-inset-right, 0px)) 24px max(24px, env(safe-area-inset-left, 0px));
    background: var(--paper); border-bottom: 1px solid var(--sand);
    box-shadow: 0 24px 40px -24px rgba(15, 26, 20, 0.3);
  }
  .site-nav.is-open { display: flex; }
  .nav-links { flex-direction: column; }
  .nav-links a { padding: 12px 8px; font-size: 1.05rem; }
  .nav-actions { justify-content: space-between; }
  .header-inner { position: relative; }

  .hero-grid, .products-grid, .contact-grid, .service { grid-template-columns: minmax(0, 1fr); }
  .products-mark { display: none; }
  .trust-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-list li:nth-child(3) { border-left: 0; }
  .trust-list li:nth-child(n + 3) { border-top: 1px solid var(--sand); }
  .audiences, .principles, .split { grid-template-columns: minmax(0, 1fr); }
  .cta-panel { grid-template-columns: minmax(0, 1fr); }
  .cta-mark { display: none; }
}

@media (max-width: 640px) {
  .container { padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
  .bento { grid-template-columns: minmax(0, 1fr); }
  .trust-list { grid-template-columns: minmax(0, 1fr); }
  .trust-list li { padding: 20px 4px; }
  .trust-list li + li { border-left: 0; border-top: 1px solid var(--sand); }
  .steps { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .step { padding-top: 0; padding-left: 40px; }
  .step::before, .step:nth-child(3)::before { display: block; top: 22px; bottom: -28px; left: 7px; right: auto; width: 1.6px; height: auto; }
  .step:last-child::before { display: none; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
  .fact-sheet dl { grid-template-columns: minmax(0, 1fr); }
  .fact-sheet dt { border-bottom: 0; padding-bottom: 2px; }
  .fact-sheet dd { padding-top: 0; }
  .fact-sheet dl > dt:nth-last-child(2) { border-bottom: 0; }
  .footer-top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-actions .btn { flex: 1 1 auto; }
  .cookie-actions { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; }
  .card:hover { transform: none; }
}
