/* ==========================================================================
   OFFRIBATI — Charte graphique du site
   Ancrage : le plan, la cote, le chantier. Encre profonde, sable, ocre chantier.
   ========================================================================== */

/* ── Polices (auto-hébergées : aucun appel à un service tiers) ─────────── */
@font-face {
  font-family: "Archivo"; font-style: normal; font-display: swap;
  font-weight: 100 900; font-stretch: 62% 125%;
  src: url("../fonts/archivo-wdth.woff2") format("woff2-variations");
}
@font-face {
  font-family: "Inter"; font-style: normal; font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/inter-wght.woff2") format("woff2-variations");
}
@font-face {
  font-family: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 400;
  src: url("../fonts/jetbrains-400.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono"; font-style: normal; font-display: swap; font-weight: 500;
  src: url("../fonts/jetbrains-500.woff2") format("woff2");
}

/* ── Jetons ────────────────────────────────────────────────────────────── */
:root {
  /* Couleurs de marque */
  --ink: #0c1722;          /* Encre — fonds sombres, texte principal */
  --ink-2: #13212e;        /* Encre relevée — cartes sur fond sombre */
  --slate: #2a3a4a;        /* Ardoise */
  --ochre: #e2792b;        /* Ocre chantier — signature, appels à l'action */
  --ochre-deep: #b9581b;   /* Ocre profond — texte ocre sur fond clair */
  --ochre-soft: #f7dfc9;   /* Ocre pâle — surlignages */
  --sand: #f3eee6;         /* Sable — fond de page */
  --sand-2: #e8e0d3;       /* Sable foncé — sections alternées */
  --paper: #fbf9f5;        /* Papier — cartes sur fond sable */
  --concrete: #8b8f92;     /* Béton — éléments neutres */
  --plan: #2e5e8c;         /* Bleu plan — données, technique */
  --plan-soft: #dce6f0;
  --go: #2f7d59;           /* Validation */
  --warn: #c77d12;         /* Vigilance */

  /* Texte */
  --text: var(--ink);
  --text-soft: #4b5864;
  --text-mute: #75808a;
  --on-dark: #f3eee6;
  --on-dark-soft: #aab4bd;

  --line: rgba(12, 23, 34, .12);
  --line-strong: rgba(12, 23, 34, .22);
  --line-dark: rgba(243, 238, 230, .12);

  /* Typographie */
  --f-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Échelle */
  --fs-hero: clamp(2.5rem, 1.2rem + 3.6vw, 4.5rem);
  --fs-h2: clamp(2rem, 1.3rem + 2.8vw, 3.4rem);
  --fs-h3: clamp(1.2rem, 1.05rem + .5vw, 1.45rem);
  --fs-lead: clamp(1.06rem, 1rem + .35vw, 1.28rem);

  /* Espaces & formes */
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 9vw, 136px);
  --r-sm: 6px;
  --r: 12px;
  --r-lg: 20px;
  --shadow: 0 1px 2px rgba(12,23,34,.06), 0 12px 32px -12px rgba(12,23,34,.18);
  --shadow-lg: 0 2px 4px rgba(12,23,34,.06), 0 32px 64px -24px rgba(12,23,34,.35);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ── Base ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--sand); color: var(--text);
  font-family: var(--f-body); font-size: 17px; line-height: 1.6;
  font-feature-settings: "ss01", "cv11"; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--ochre); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--f-display); font-weight: 800; font-stretch: 108%;
  line-height: 1.02; letter-spacing: -.02em; margin: 0; text-wrap: balance;
}
h1 { font-size: var(--fs-hero); letter-spacing: -.035em; }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.15; letter-spacing: -.01em; font-stretch: 100%; }
p { margin: 0; text-wrap: pretty; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; position: relative; }
.section-alt { background: var(--sand-2); }
.section-dark { background: var(--ink); color: var(--on-dark); }
.section-paper { background: var(--paper); }
.lead { font-size: var(--fs-lead); color: var(--text-soft); line-height: 1.55; max-width: 62ch; }
.section-dark .lead { color: var(--on-dark-soft); }
.accent { color: var(--ochre-deep); }
.section-dark .accent, .on-dark .accent { color: var(--ochre); }
.mono { font-family: var(--f-mono); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ── Signature : l'étiquette « cote » ─────────────────────────────────── */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--f-mono); font-size: 12.5px; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase; color: var(--ochre-deep);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: ""; width: 34px; height: 9px;
  border-left: 1.5px solid currentColor; border-right: 1.5px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat;
}
.section-dark .eyebrow, .on-dark .eyebrow { color: var(--ochre); }
.eyebrow .n { color: var(--text-mute); }
.section-dark .eyebrow .n { color: var(--on-dark-soft); }

.head { display: grid; gap: 22px; margin-bottom: clamp(40px, 5vw, 64px); max-width: 860px; }
.head.center { margin-inline: auto; text-align: center; justify-items: center; }
.head.split { max-width: none; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 40px; }

/* Trame « calque de plan » */
.grid-bg { position: relative; isolation: isolate; }
.grid-bg::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--line-dark) 1px, transparent 1px),
    linear-gradient(90deg, var(--line-dark) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 10%, transparent 72%);
}
.grid-bg.light::before {
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
}

/* ── Boutons ───────────────────────────────────────────────────────────── */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border-radius: 999px; border: 1.5px solid transparent;
  background: var(--bg); color: var(--fg); text-decoration: none; cursor: pointer;
  font: 600 15.5px/1 var(--f-body); letter-spacing: .005em; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn svg { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -12px rgba(12,23,34,.45); }
.btn:hover svg { transform: translateX(3px); }
.btn-ochre { --bg: var(--ochre); --fg: var(--ink); }
.btn-ochre:hover { --bg: #ec8a3f; }
.btn-ghost { --bg: transparent; --fg: var(--ink); border-color: var(--line-strong); }
.btn-ghost:hover { --bg: var(--ink); --fg: var(--paper); }
.on-dark .btn-ghost, .section-dark .btn-ghost { --fg: var(--on-dark); border-color: rgba(243,238,230,.3); }
.on-dark .btn-ghost:hover, .section-dark .btn-ghost:hover { --bg: var(--paper); --fg: var(--ink); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.btn-block { width: 100%; }
.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none;
  border-bottom: 1.5px solid var(--ochre); padding-bottom: 3px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

/* ── En-tête ───────────────────────────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background .35s, box-shadow .35s, color .35s;
  color: var(--on-dark);
}
.site-header.solid, body.light-head .site-header {
  background: rgba(243, 238, 230, .92); color: var(--ink);
  backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 1px 0 var(--line);
}
.nav { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-word {
  font-family: var(--f-display); font-weight: 800; font-stretch: 118%;
  font-size: 21px; letter-spacing: .01em; line-height: 1;
}
.brand-word b { color: var(--ochre); font-weight: 800; }
.site-header.solid .brand-word b, body.light-head .site-header .brand-word b { color: var(--ochre-deep); }
.nav-links { display: flex; gap: 4px; margin-left: auto; list-style: none; padding: 0; margin-block: 0; }
.nav-links a {
  display: block; padding: 10px 14px; border-radius: 999px; text-decoration: none;
  font-size: 15px; font-weight: 500; opacity: .86; transition: opacity .2s, background .2s;
}
.nav-links a:hover { opacity: 1; background: rgba(127,127,127,.12); }
.nav-links a[aria-current="page"] { opacity: 1; box-shadow: inset 0 -2px 0 var(--ochre); border-radius: 0; }
.nav-cta { display: flex; gap: 10px; }
.site-header:not(.solid) .btn-ghost { --fg: var(--on-dark); border-color: rgba(243,238,230,.35); }
body.light-head .site-header .btn-ghost { --fg: var(--ink); border-color: var(--line-strong); }
.burger { display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid currentColor;
  background: none; color: inherit; cursor: pointer; align-items: center; justify-content: center; }
.burger svg { width: 22px; height: 22px; }

/* ── Héros ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: min(100svh, 980px); color: var(--on-dark);
  display: flex; align-items: center; padding: 130px 0 clamp(48px, 6vw, 80px);
  overflow: hidden; background: var(--ink);
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); animation: heroZoom 18s var(--ease) forwards; }
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(12,23,34,.94) 0%, rgba(12,23,34,.78) 42%, rgba(12,23,34,.25) 100%),
    linear-gradient(0deg, rgba(12,23,34,.9) 0%, transparent 45%);
}
@keyframes heroZoom { to { transform: scale(1); } }
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 56px; align-items: end; }
.hero h1 { margin-bottom: 28px; }
.hero h1 em { font-style: normal; color: var(--ochre); }
.hero .lead { color: #c8d0d6; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-facts {
  display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 44px; padding-top: 24px;
  border-top: 1px solid var(--line-dark); font-family: var(--f-mono); font-size: 12.5px;
  letter-spacing: .06em; text-transform: uppercase; color: var(--on-dark-soft);
}
.hero-facts span { display: inline-flex; align-items: center; gap: 8px; }
.hero-facts svg { width: 15px; height: 15px; color: var(--ochre); }

/* Carte « rapport » (aperçu produit) */
.report {
  background: rgba(19, 33, 46, .82); border: 1px solid rgba(243,238,230,.14); border-radius: var(--r-lg);
  padding: 22px; box-shadow: var(--shadow-lg); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  font-size: 14px;
}
.report-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.report-title { font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-soft); }
.report-name { font-weight: 600; font-size: 15px; color: var(--on-dark); margin-top: 4px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px;
  font: 600 12px/1 var(--f-body); white-space: nowrap; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.pill-go { background: rgba(47,125,89,.18); color: #6fd3a2; }
.pill-warn { background: rgba(226,121,43,.18); color: #f0a56b; }
.pill-plan { background: rgba(46,94,140,.25); color: #9cc2e8; }
.report-rows { display: grid; gap: 8px; }
.report-row { display: grid; grid-template-columns: 1fr auto; gap: 12px; align-items: center;
  padding: 11px 12px; border-radius: 10px; background: rgba(243,238,230,.05); border: 1px solid rgba(243,238,230,.06); }
.report-row b { display: block; font-weight: 600; color: var(--on-dark); }
.report-row small { color: var(--on-dark-soft); font-size: 12.5px; }
.report-qty { font-family: var(--f-mono); font-size: 15px; color: var(--on-dark); text-align: right; }
.report-qty small { display: block; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.report-foot { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 14px;
  border-top: 1px dashed rgba(243,238,230,.18); font-family: var(--f-mono); font-size: 12.5px; color: var(--on-dark-soft); }
.report-foot b { color: var(--ochre); font-weight: 500; }

/* ── Bandeau des corps d'état ──────────────────────────────────────────── */
.trades { background: var(--ochre); color: var(--ink); overflow: hidden; padding: 18px 0; }
.trades-track { display: flex; gap: 0; width: max-content; animation: marquee 42s linear infinite; }
.trades:hover .trades-track { animation-play-state: paused; }
.trades span { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px;
  font-family: var(--f-display); font-weight: 800; font-stretch: 112%; font-size: 21px;
  text-transform: uppercase; letter-spacing: .02em; white-space: nowrap; }
.trades span::after { content: ""; width: 9px; height: 9px; background: var(--ink); transform: rotate(45deg); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Grilles & cartes ──────────────────────────────────────────────────── */
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.card {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(24px, 2.4vw, 34px); position: relative;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.section-dark .card { background: var(--ink-2); border-color: var(--line-dark); }
.card h3 { margin: 18px 0 10px; }
.card p { color: var(--text-soft); font-size: 15.5px; }
.section-dark .card p { color: var(--on-dark-soft); }
.ico { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--ink); color: var(--ochre); }
.ico svg { width: 24px; height: 24px; stroke-width: 1.75; }
.section-dark .ico { background: rgba(226,121,43,.12); }
.ico-plan { background: var(--plan-soft); color: var(--plan); }
.tag { display: inline-block; font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text-soft); }
.tag-on { background: var(--go); border-color: var(--go); color: #fff; }
.tag-soon { border-style: dashed; }

/* Constat : chiffres en grand */
.problem { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: center; }
.problem-figure { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.problem-figure img { width: 100%; height: 100%; object-fit: cover; }
.problem-figure figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 16px; padding: 16px 18px; border-radius: var(--r);
  background: rgba(12,23,34,.86); color: var(--on-dark); font-size: 14px; backdrop-filter: blur(8px);
}
.problem-figure figcaption b { font-family: var(--f-mono); color: var(--ochre); font-weight: 500; display: block;
  font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 4px; }
.pains { display: grid; gap: 0; margin-top: 34px; border-top: 1px solid var(--line); }
.pain { display: grid; grid-template-columns: 56px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.pain .k { font-family: var(--f-mono); color: var(--ochre-deep); font-size: 13px; padding-top: 4px; }
.pain h3 { font-size: 1.15rem; margin-bottom: 6px; }
.pain p { color: var(--text-soft); font-size: 15.5px; }

/* ── Approche en 3 temps (bloc sombre) ─────────────────────────────────── */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0;
  border: 1px solid var(--line-dark); border-radius: var(--r-lg); overflow: hidden; }
.pillar { padding: clamp(28px, 3vw, 44px); border-right: 1px solid var(--line-dark); position: relative;
  background: linear-gradient(180deg, rgba(243,238,230,.02), transparent); }
.pillar:last-child { border-right: 0; }
.pillar .num { font-family: var(--f-display); font-weight: 800; font-stretch: 125%; font-size: 64px; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--ochre); margin-bottom: 26px; }
.pillar h3 { color: var(--on-dark); font-size: 1.5rem; margin-bottom: 14px; }
.pillar p { color: var(--on-dark-soft); font-size: 15.5px; }
.pillar ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.pillar li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 14.5px; color: #d5dbe0; }
.pillar li svg { width: 16px; height: 16px; color: var(--ochre); margin-top: 3px; }

/* ── Étapes (processus) ────────────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; counter-reset: s; position: relative; }
.step { position: relative; padding-top: 58px; }
.step::before {
  counter-increment: s; content: counter(s, decimal-leading-zero);
  position: absolute; top: 0; left: 0; font-family: var(--f-mono); font-size: 13px; letter-spacing: .1em;
  padding: 7px 12px; border-radius: 999px; background: var(--ink); color: var(--ochre);
}
.step::after { content: ""; position: absolute; top: 16px; left: 64px; right: -10px; height: 1.5px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px); }
.step:last-child::after { display: none; }
.step h3 { font-size: 1.2rem; margin-bottom: 10px; }
.step p { color: var(--text-soft); font-size: 15.5px; }

/* ── Livrables (ce que produit l'outil) ────────────────────────────────── */
.deliver { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.deliver-list { display: grid; gap: 4px; }
.deliver-item { display: grid; grid-template-columns: 48px 1fr; gap: 18px; padding: 18px; border-radius: var(--r);
  transition: background .25s; }
.deliver-item:hover { background: var(--paper); }
.deliver-item h3 { font-size: 1.12rem; margin-bottom: 4px; }
.deliver-item p { color: var(--text-soft); font-size: 15px; }
.deliver-visual { position: relative; }
.deliver-visual .photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 5 / 6; }
.deliver-visual .photo img { width: 100%; height: 100%; object-fit: cover; }
.deliver-visual .report { position: absolute; left: -48px; bottom: 36px; width: min(380px, 90%); }

/* Tableau type « métré » */
.qty-table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.qty-table th { text-align: left; font-family: var(--f-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-mute); padding: 10px 12px; border-bottom: 1.5px solid var(--ink); }
.qty-table td { padding: 13px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.qty-table td.n { font-family: var(--f-mono); text-align: right; white-space: nowrap; }
.qty-table tr:hover td { background: rgba(226,121,43,.05); }

/* ── Secteurs ──────────────────────────────────────────────────────────── */
.sectors { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sector {
  position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 340px;
  border-radius: var(--r-lg); overflow: hidden; color: var(--on-dark); text-decoration: none; isolation: isolate;
}
.sector img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  transition: transform .8s var(--ease), filter .5s; filter: saturate(.85); }
.sector::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(12,23,34,.05) 20%, rgba(12,23,34,.92) 100%); }
.sector:hover img { transform: scale(1.06); filter: saturate(1); }
.sector .body { padding: 24px; }
.sector .tag { border-color: rgba(243,238,230,.4); color: var(--on-dark); margin-bottom: 14px; }
.sector .tag-on { border-color: var(--go); }
.sector h3 { font-size: 1.35rem; margin-bottom: 8px; color: #fff; }
.sector p { font-size: 14.5px; color: #c9d1d7; }
.sector-feature { grid-column: span 2; grid-row: span 2; min-height: 520px; }
.sector-feature h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); }
.sector-feature .body { padding: 36px; }
.sector-cta {
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 340px;
  border-radius: var(--r-lg); padding: 28px; background: var(--ink); color: var(--on-dark);
}
.sector-cta h3 { font-size: 1.45rem; color: #fff; }
.sector-cta p { color: var(--on-dark-soft); font-size: 15px; margin-top: 10px; }

/* ── Offre / formules ──────────────────────────────────────────────────── */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(28px, 2.6vw, 38px); position: relative; }
.plan.featured { background: var(--ink); color: var(--on-dark); border-color: var(--ink); box-shadow: var(--shadow-lg); }
.plan .badge { position: absolute; top: -13px; left: 32px; background: var(--ochre); color: var(--ink);
  font: 600 12px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; padding: 8px 12px; border-radius: 999px; }
.plan h3 { font-size: 1.6rem; }
.plan .for { color: var(--text-soft); font-size: 15px; margin: 10px 0 22px; min-height: 48px; }
.plan.featured .for { color: var(--on-dark-soft); }
.plan .volume { display: flex; align-items: baseline; gap: 10px; padding: 18px 0; border-block: 1px solid var(--line); margin-bottom: 22px; }
.plan.featured .volume { border-color: var(--line-dark); }
.plan .volume b { font-family: var(--f-display); font-weight: 800; font-stretch: 112%; font-size: 44px; line-height: 1; }
.plan .volume span { font-size: 14px; color: var(--text-soft); }
.plan.featured .volume span { color: var(--on-dark-soft); }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; flex: 1; }
.plan li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 15px; }
.plan li svg { width: 18px; height: 18px; color: var(--ochre-deep); margin-top: 2px; }
.plan.featured li svg { color: var(--ochre); }
.plan .price { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 14px; }
.plan.featured .price { color: var(--on-dark-soft); }
.plan.featured .btn-ghost { --fg: var(--on-dark); border-color: rgba(243,238,230,.3); }

/* Phases d'accompagnement (page offre) */
.phases { display: grid; gap: 0; border-top: 1.5px solid var(--ink); }
.phase { display: grid; grid-template-columns: 140px minmax(0, 1fr) minmax(0, 1fr); gap: 40px; padding: 44px 0;
  border-bottom: 1px solid var(--line-strong); align-items: start; }
.phase .when { font-family: var(--f-mono); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ochre-deep); }
.phase .when b { display: block; font-family: var(--f-display); font-weight: 800; font-stretch: 125%; font-size: 56px; line-height: 1;
  letter-spacing: -.02em; color: var(--ink); margin-bottom: 8px; }
.phase h3 { font-size: clamp(1.4rem, 1.1rem + .9vw, 2rem); margin-bottom: 14px; }
.phase p { color: var(--text-soft); }
.phase ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.phase li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: 15.5px; }
.phase li svg { width: 18px; height: 18px; color: var(--ochre-deep); margin-top: 3px; }
.phase .out { margin-top: 18px; padding: 14px 16px; border-radius: var(--r); background: var(--paper); border: 1px dashed var(--line-strong);
  font-size: 14.5px; color: var(--text-soft); }
.phase .out b { color: var(--ink); }

/* ── Bande photo pleine largeur ────────────────────────────────────────── */
.banner { position: relative; min-height: 560px; display: flex; align-items: center; color: var(--on-dark); overflow: hidden; }
.banner img { position: absolute; inset: 0; width: 100%; height: 120%; object-fit: cover; top: -10%; z-index: 0; }
.banner::after { content: ""; position: absolute; inset: 0; z-index: 0;
  background: linear-gradient(90deg, rgba(12,23,34,.92), rgba(12,23,34,.55) 60%, rgba(12,23,34,.3)); }
.banner .wrap { position: relative; z-index: 1; }
.quote { font-family: var(--f-display); font-weight: 700; font-stretch: 100%; font-size: clamp(1.6rem, 1.1rem + 2vw, 2.9rem);
  line-height: 1.12; letter-spacing: -.02em; max-width: 20ch; }
.quote .accent { color: var(--ochre); }

/* ── Sécurité ──────────────────────────────────────────────────────────── */
.trust { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-dark); }
.trust-item { padding: 30px 28px 30px 0; border-bottom: 1px solid var(--line-dark); display: grid; grid-template-columns: 40px 1fr; gap: 16px; }
.trust-item svg { width: 24px; height: 24px; color: var(--ochre); stroke-width: 1.75; }
.trust-item h3 { font-size: 1.08rem; color: #fff; margin-bottom: 6px; }
.trust-item p { color: var(--on-dark-soft); font-size: 15px; }

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.faq { max-width: 880px; margin: 0 auto; border-top: 1.5px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-strong); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 24px 0; font-family: var(--f-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line-strong);
  display: grid; place-items: center; transition: transform .3s var(--ease), background .3s; }
.faq summary .plus svg { width: 16px; height: 16px; }
.faq details[open] summary .plus { transform: rotate(45deg); background: var(--ochre); border-color: var(--ochre); }
.faq details p { padding: 0 54px 26px 0; color: var(--text-soft); }

/* ── Contact ───────────────────────────────────────────────────────────── */
.contact { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.contact-points { display: grid; gap: 18px; margin-top: 36px; }
.contact-point { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; }
.contact-point .ico { width: 44px; height: 44px; }
.contact-point b { display: block; color: #fff; }
.contact-point span { color: var(--on-dark-soft); font-size: 15px; }
.form { background: var(--paper); color: var(--ink); border-radius: var(--r-lg); padding: clamp(26px, 3vw, 42px); box-shadow: var(--shadow-lg); }
.form h3 { font-size: 1.5rem; margin-bottom: 6px; }
.form > p { color: var(--text-soft); font-size: 15px; margin-bottom: 24px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 13.5px; font-weight: 600; }
.field input, .field textarea, .field select {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: #fff;
  border: 1.5px solid var(--line-strong); border-radius: 10px; padding: 13px 14px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--ochre); box-shadow: 0 0 0 4px rgba(226,121,43,.18); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: 13px; color: var(--text-mute); margin-top: 14px; }
.form-error { color: #b42318; font-size: 14px; margin-top: 10px; display: none; }
.form-ok { display: none; text-align: center; padding: 36px 8px; }
.form-ok .ico { margin: 0 auto 18px; background: var(--go); color: #fff; }

/* ── Pied de page ──────────────────────────────────────────────────────── */
.site-footer { overflow: hidden; background: var(--ink); color: var(--on-dark-soft); padding: 80px 0 34px; border-top: 1px solid var(--line-dark); }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr)); gap: 40px; }
.footer-grid h4 { font-family: var(--f-mono); font-weight: 500; font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ochre); margin-bottom: 18px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid a { text-decoration: none; color: var(--on-dark-soft); transition: color .2s; font-size: 15px; }
.footer-grid a:hover { color: #fff; }
.footer-grid .brand { color: var(--on-dark); margin-bottom: 18px; }
.footer-grid p { font-size: 15px; max-width: 34ch; }
.footer-big { font-family: var(--f-display); font-weight: 800; font-stretch: 125%; font-size: clamp(2.4rem, 12.6vw, 11rem);
  line-height: .85; letter-spacing: -.03em; color: transparent; -webkit-text-stroke: 1px rgba(243,238,230,.16);
  margin: 64px 0 28px; user-select: none; white-space: nowrap; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 24px; border-top: 1px solid var(--line-dark);
  font-size: 13.5px; }
.footer-bottom a { color: var(--on-dark-soft); text-decoration: none; }
.footer-bottom a:hover { color: #fff; }

/* ── En-tête de page intérieure ────────────────────────────────────────── */
.page-hero { position: relative; padding: 170px 0 clamp(64px, 8vw, 110px); color: var(--on-dark); background: var(--ink); overflow: hidden; }
.page-hero.has-photo .bg { position: absolute; inset: 0; z-index: 0; }
.page-hero.has-photo .bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero.has-photo .bg::after { content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12,23,34,.95), rgba(12,23,34,.7) 55%, rgba(12,23,34,.35)); }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.4rem, 1.4rem + 4vw, 4.6rem); max-width: 16ch; margin-bottom: 26px; }
.page-hero .lead { color: #c8d0d6; }
.crumbs { font-family: var(--f-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-soft); margin-bottom: 26px; }
.crumbs a { text-decoration: none; color: var(--on-dark-soft); }
.crumbs a:hover { color: #fff; }

/* Liste à puces cochées générique */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 24px 1fr; gap: 12px; }
.checks svg { width: 20px; height: 20px; color: var(--ochre-deep); margin-top: 2px; }
.section-dark .checks svg { color: var(--ochre); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px); align-items: center; }
.split .photo { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; }
.split .photo img { width: 100%; height: 100%; object-fit: cover; }
.split.rev > :first-child { order: 2; }

.callout { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: clamp(28px, 3vw, 44px);
  border-radius: var(--r-lg); background: var(--ochre); color: var(--ink); }
.callout h3 { font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem); }
.callout p { color: rgba(12,23,34,.78); margin-top: 6px; }
.callout .ico { background: var(--ink); color: var(--ochre); width: 64px; height: 64px; }
.callout .ico svg { width: 30px; height: 30px; }

/* Pages légales */
.legal { max-width: 820px; }
.legal h2 { font-size: 1.5rem; margin: 44px 0 14px; }
.legal p, .legal li { color: var(--text-soft); margin-bottom: 12px; }
.legal a { color: var(--ochre-deep); }
.legal table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 10px; border-bottom: 1px solid var(--line); }
.placeholder { background: var(--ochre-soft); color: var(--ochre-deep); padding: 1px 6px; border-radius: 4px; font-family: var(--f-mono); font-size: .88em; }

/* ── Animations d'apparition ───────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media img, .trades-track { animation: none; }
}

/* ── Adaptatif ─────────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero .report { max-width: 480px; }
  .sectors { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sector-feature { grid-column: span 2; grid-row: auto; min-height: 420px; }
  .g4, .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2)::after { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .deliver-visual .report { left: 16px; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: inline-flex; }
  .site-header.open { background: var(--ink); color: var(--on-dark); }
  .site-header.open .nav-links {
    display: grid; position: absolute; top: 76px; left: 0; right: 0; background: var(--ink); padding: 12px var(--gutter) 20px;
    border-top: 1px solid var(--line-dark); margin: 0;
  }
  .site-header.open .nav-links a { color: var(--on-dark); font-size: 18px; padding: 14px 0; border-radius: 0; border-bottom: 1px solid var(--line-dark); }
  .site-header.open .nav-cta { display: grid; position: absolute; top: calc(76px + var(--menu-h, 300px)); left: 0; right: 0;
    background: var(--ink); padding: 0 var(--gutter) 24px; gap: 10px; }
  .site-header.open .nav-cta .btn-ghost { --fg: var(--on-dark); border-color: rgba(243,238,230,.35); }
  .site-header.open .brand-word b { color: var(--ochre); }
  .head.split, .problem, .deliver, .contact, .split, .g2, .g3, .plans, .pillars, .trust { grid-template-columns: 1fr; }
  .split.rev > :first-child { order: 0; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .pillar:last-child { border-bottom: 0; }
  .phase { grid-template-columns: 1fr; gap: 18px; }
  .callout { grid-template-columns: 1fr; }
  .deliver-visual .report { position: relative; left: auto; bottom: auto; margin: -80px auto 0; }
  .problem-figure { aspect-ratio: 4 / 3; }
}
@media (max-width: 700px) {
  .qty-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .qty-table th, .qty-table td { min-width: 120px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .sectors, .g4, .steps { grid-template-columns: 1fr; }
  .sector-feature { grid-column: auto; }
  .step::after { display: none; }
  .row2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero { padding-top: 120px; }
  .hero-actions .btn { width: 100%; }
  .faq details p { padding-right: 0; }
  .trades span { font-size: 17px; }
}
