/* DATACOM v3 — système graphique
   Blanc, gris froid, marine profond. Un seul accent : le cuivre du conducteur.
   Filets plutôt que cartes, photographie de chantier, typographie Archivo en graisse moyenne. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0E1A2B;
  --ink-2: #34425A;
  --muted: #667387;
  --line: #E2E6EB;
  --line-strong: #C9D0D9;
  --bg: #FFFFFF;
  --bg-2: #F4F6F8;
  --copper: #B4683A;
  --copper-text: #965222;
  --copper-soft: #F5ECE5;
  --copper-light: #E2A57F;
  --on-dark: #C9D2DD;
  --on-dark-muted: #8E9BAD;
  --wa: #1FAF54;
  --error: #B42318;

  --radius: 4px;
  --gutter: clamp(1.25rem, 5vw, 3.5rem);
  --section: clamp(4.5rem, 10vw, 9rem);
  --hdr: 5rem;
  --focus: var(--copper);

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  interpolate-size: allow-keywords;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--hdr) + 1.5rem);
}

body {
  margin: 0;
  overflow-x: clip;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink-2);
  background: var(--bg);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
strong { color: var(--ink); font-weight: 600; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -5rem;
  z-index: 100;
  padding: .75rem 1rem;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.wrap {
  width: min(1280px, 100% - 2 * var(--gutter));
  margin-inline: auto;
}

.icon { width: 1.15em; height: 1.15em; flex: none; }

/* ---------- Typographie ---------- */

.display,
.h2,
.h3 {
  color: var(--ink);
  font-weight: 500;
  letter-spacing: -.028em;
  text-wrap: balance;
}
.display { font-size: clamp(2.45rem, 1.35rem + 4.1vw, 4.9rem); line-height: 1.03; }
.h2 { font-size: clamp(2rem, 1.35rem + 2.3vw, 3.3rem); line-height: 1.07; }
.h3 { font-size: clamp(1.35rem, 1.15rem + .6vw, 1.7rem); line-height: 1.2; letter-spacing: -.018em; }

.lede {
  max-width: 58ch;
  font-size: clamp(1.1rem, 1.02rem + .35vw, 1.28rem);
  line-height: 1.6;
  color: var(--ink-2);
}
.prose p,
.prose ul { max-width: 68ch; }
.prose p + p,
.prose p + ul,
.prose ul + p { margin-top: 1.1rem; }

.label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .01em;
  color: var(--copper-text);
}

.link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding-bottom: .15rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  background: linear-gradient(var(--copper), var(--copper)) 0 100% / 100% 1px no-repeat;
  transition: background-size .25s ease;
}
.link:hover { background-size: 100% 2px; }
.link::after {
  content: "";
  width: .5rem; height: .5rem;
  margin-left: .1rem;
  border-top: 1.5px solid currentColor;
  border-right: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.ticks li { position: relative; padding-left: 1.6rem; }
.ticks li + li { margin-top: .55rem; }
.ticks li::before {
  content: "";
  position: absolute;
  left: 0; top: .8em;
  width: .85rem; height: 1.5px;
  background: var(--copper);
}

/* ---------- Boutons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: 3.25rem;
  padding: .8rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #1F3049; }
.btn--outline { border-color: var(--line-strong); color: var(--ink); background: #fff; }
.btn--outline:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--copper-soft); }
.btn--ghost-light { border-color: rgba(255, 255, 255, .32); color: #fff; }
.btn--ghost-light:hover { border-color: #fff; }
.icon-wa { color: var(--wa); }
.btn--ghost-light .icon-wa,
.btn--primary .icon-wa { color: #4ADE80; }

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

.hdr {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, background-color .25s ease;
}
.hdr.is-scrolled {
  border-bottom-color: var(--line);
  background: #fff;
}
.hdr__in { display: flex; align-items: center; gap: 2rem; min-height: var(--hdr); }

.brand {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: .7rem;
  color: var(--ink);
  text-decoration: none;
}
.brand__mark { width: 2.1rem; height: 2.1rem; flex: none; }
.brand__name { font-size: 1.1rem; font-weight: 650; font-stretch: 112%; letter-spacing: .14em; }

.nav { display: flex; align-items: center; gap: 2.5rem; margin-left: auto; }
.nav__list { display: flex; gap: 2rem; }
.nav__list a {
  position: relative;
  display: block;
  padding-block: .5rem;
  color: var(--ink-2);
  font-size: .98rem;
  font-weight: 500;
  text-decoration: none;
  transition: color .2s ease;
}
.nav__list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--copper);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.nav__list a:hover,
.nav__list a[aria-current="page"] { color: var(--ink); }
.nav__list a:hover::after,
.nav__list a[aria-current="page"]::after { transform: scaleX(1); }

.nav__actions { display: flex; align-items: center; gap: 1.5rem; }
.nav__phone {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.nav__phone .icon { color: var(--copper); }
.nav__phone:hover { color: var(--copper-text); }
.nav__wa { display: none; }

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 2.9rem; height: 2.9rem;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 1.15rem; height: 1.5px;
  margin-inline: auto;
  background: currentColor;
  transition: transform .25s ease, background-color .25s ease;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1099px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed;
    inset: var(--hdr) 0 0 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    gap: 2rem;
    margin: 0;
    padding: 1rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom));
    background: #fff;
    border-top: 1px solid var(--line);
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-.5rem);
    transition: opacity .25s ease, transform .25s ease, visibility 0s .25s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .25s ease; }
  .nav__list { flex-direction: column; gap: 0; }
  .nav__list a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: clamp(1.6rem, 1.2rem + 2vw, 2.2rem);
    letter-spacing: -.02em;
  }
  .nav__list a::after { display: none; }
  .nav__actions { flex-direction: column; align-items: stretch; gap: .75rem; }
  .nav__actions .btn { min-height: 3.5rem; }
  .nav__phone { justify-content: center; min-height: 3.5rem; border: 1px solid var(--line-strong); border-radius: var(--radius); }
  .nav__wa { display: inline-flex; }
  html.nav-open { overflow: hidden; }
}

/* ---------- Fil d'Ariane ---------- */

.crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .9rem; color: var(--muted); }
.crumbs li { display: flex; align-items: center; gap: .4rem; }
.crumbs li + li::before { content: "/"; color: var(--line-strong); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.crumbs [aria-current="page"] { color: var(--ink); }

/* ---------- Hero d'accueil ---------- */

.hero { position: relative; overflow: clip; border-bottom: 1px solid var(--line); }
.hero__grid { display: grid; }
.hero__text { padding-block: clamp(2.5rem, 6vw, 5rem) clamp(2.5rem, 5vw, 4rem); }
.hero .display { font-size: clamp(2.4rem, 1.3rem + 3.3vw, 4.25rem); max-width: 16ch; }
.hero__text .lede { margin-top: 1.75rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.hero__media { position: relative; }
.hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; object-position: 38% 50%; }

.hero__facts { display: grid; margin-top: clamp(2.5rem, 5vw, 3.5rem); border-top: 1px solid var(--line); }
.hero__facts li { padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.hero__facts li:last-child { border-bottom: 0; }
.hero__facts strong { display: block; font-size: 1rem; }
.hero__facts span { display: block; margin-top: .15rem; font-size: .92rem; color: var(--muted); }

@media (min-width: 640px) {
  .hero__facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero__facts li { padding: 1.2rem 1.2rem 0 0; border-bottom: 0; }
  .hero__facts li + li { padding-left: 1.2rem; border-left: 1px solid var(--line); }
}

@media (min-width: 1100px) {
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); min-height: min(800px, calc(100svh - var(--hdr))); }
  .hero__text { display: flex; flex-direction: column; justify-content: center; padding-right: clamp(2rem, 4vw, 4.5rem); }
  .hero__media { margin-right: calc((min(1280px, 100vw - 2 * var(--gutter)) - 100vw) / 2); }
  .hero__media img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__media img { animation: unveil 1.1s cubic-bezier(.7, 0, .2, 1) .1s both; }
  .hero__text > * { animation: rise .8s cubic-bezier(.2, .7, .2, 1) both; }
  .hero__text > :nth-child(2) { animation-delay: .08s; }
  .hero__text > :nth-child(3) { animation-delay: .16s; }
  .hero__text > :nth-child(4) { animation-delay: .24s; }
}
@keyframes unveil { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Sections ---------- */

.section { padding-block: var(--section); }
.section--grey { background: var(--bg-2); }
.section--dark { background: var(--ink); color: var(--on-dark); --focus: var(--copper-light); }
.section--dark .h2,
.section--dark .h3,
.section--dark strong { color: #fff; }
.section--dark .label { color: var(--copper-light); }

.section__head { display: grid; gap: 1.25rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section__head .h2 { max-width: 20ch; }
.section__head .lede { max-width: 54ch; }
@media (min-width: 960px) {
  .section__head--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 4rem; }
}

/* Énoncé */
.statement { display: grid; gap: 2rem; }
.statement__text {
  max-width: 24ch;
  color: var(--ink);
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.6rem);
  font-weight: 450;
  line-height: 1.22;
  letter-spacing: -.022em;
  text-wrap: balance;
}
.statement__aside p { max-width: 52ch; }
.statement__aside p + p { margin-top: 1rem; }
@media (min-width: 960px) {
  .statement { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; gap: 5rem; }
}

/* Blocs d'expertise */
.expertise { display: grid; gap: clamp(2rem, 4vw, 3rem); align-items: center; }
.expertise + .expertise { margin-top: clamp(4rem, 8vw, 7rem); }
.expertise__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.expertise__body .h2 { margin-top: .75rem; }
.expertise__body > p { margin-top: 1.25rem; max-width: 52ch; }
.expertise__body .ticks { margin-top: 1.75rem; }
.expertise__body .link { margin-top: 2rem; }
@media (min-width: 960px) {
  .expertise { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(3rem, 6vw, 6rem); }
  .expertise--reverse { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
  .expertise--reverse .expertise__media { order: 2; }
  .expertise__media img { aspect-ratio: 5 / 4.4; }
}

/* Lignes (clients) */
.rows { border-top: 1px solid var(--line-strong); }
.row { display: grid; gap: .5rem 3rem; padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.row h3 { color: var(--ink); font-size: 1.2rem; font-weight: 550; letter-spacing: -.01em; line-height: 1.3; }
.row p { max-width: 62ch; }
@media (min-width: 860px) { .row { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); padding: 2rem 0; } }

/* Livrables */
.deliver { display: grid; gap: clamp(2.5rem, 5vw, 5rem); align-items: start; }
.deliver__list { border-top: 1px solid rgba(255, 255, 255, .14); }
.deliver__list li {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
}
.deliver__list svg { width: 1.6rem; height: 1.6rem; margin-top: .15rem; color: var(--copper-light); }
.deliver__list strong { display: block; font-size: 1.08rem; font-weight: 550; }
.deliver__list span { display: block; margin-top: .2rem; color: var(--on-dark-muted); }
.deliver__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 960px) {
  .deliver { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); }
  .deliver__media { position: sticky; top: calc(var(--hdr) + 2rem); }
}

/* Étapes */
.steps { display: grid; border-top: 1px solid var(--line-strong); counter-reset: step; }
.step {
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr);
  gap: .25rem 1rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
  counter-increment: step;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  grid-row: span 2;
  padding-top: .1rem;
  color: var(--copper-text);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.step h3 { color: var(--ink); font-size: 1.15rem; font-weight: 550; line-height: 1.3; }
.step p { font-size: .98rem; }
@media (min-width: 1000px) {
  .steps { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2rem; border-top: 0; }
  .step { display: block; padding: 1.5rem 0 0; border-bottom: 0; border-top: 1px solid var(--line-strong); }
  .step::before { display: block; margin-bottom: 2.25rem; }
  .step p { margin-top: .5rem; }
}

/* Engagements */
.pledges { display: grid; gap: 2.25rem 3rem; }
.pledge { padding-top: 1.25rem; border-top: 1px solid var(--line-strong); }
.pledge h3 { color: var(--ink); font-size: 1.12rem; font-weight: 550; }
.pledge p { margin-top: .45rem; font-size: .98rem; }
@media (min-width: 700px) { .pledges { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .pledges--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* Zone */
.reach { display: grid; gap: 2.5rem; align-items: center; }
.reach__figure img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--radius); filter: grayscale(1) contrast(1.05); }
.reach .prose { margin-top: 1.5rem; }
@media (min-width: 960px) { .reach { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 5rem; } }

/* ---------- Questions ---------- */

.faq { display: grid; gap: 2.5rem; align-items: start; }
.faq__list { border-top: 1px solid var(--line-strong); }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list summary {
  position: relative;
  padding: 1.4rem 3rem 1.4rem 0;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 550;
  line-height: 1.4;
  cursor: pointer;
  list-style: none;
  transition: color .2s ease;
}
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::before,
.faq__list summary::after {
  content: "";
  position: absolute;
  right: .35rem; top: 50%;
  width: 14px; height: 1.5px;
  background: currentColor;
  transition: transform .3s ease;
}
.faq__list summary::after { transform: rotate(90deg); }
.faq__list details[open] summary::after { transform: rotate(0deg); }
.faq__list summary:hover { color: var(--copper-text); }
.faq__answer { padding: 0 3rem 1.6rem 0; }
.faq__answer p { max-width: 68ch; }
@supports selector(::details-content) {
  .faq__list details::details-content {
    block-size: 0;
    overflow: clip;
    transition: block-size .35s ease, content-visibility .35s allow-discrete;
  }
  .faq__list details[open]::details-content { block-size: auto; }
}
.faq__aside p { margin-top: 1rem; max-width: 34ch; }
.faq__aside .btn { margin-top: 1.75rem; }
@media (min-width: 1000px) {
  .faq { grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 5rem; }
  .faq__aside { position: sticky; top: calc(var(--hdr) + 2rem); }
}

/* ---------- Bandeau d'appel ---------- */

.cta { position: relative; overflow: hidden; background: var(--ink); color: var(--on-dark); --focus: var(--copper-light); }
.cta__in { position: relative; z-index: 1; display: grid; gap: 2rem; padding-block: clamp(4rem, 8vw, 7rem); }
.cta .h2 { max-width: 17ch; color: #fff; }
.cta p { max-width: 50ch; margin-top: 1.25rem; }
.cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta__bg {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(55%, 760px);
  height: 100%;
  object-fit: cover;
  opacity: .6;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 65%);
  mask-image: linear-gradient(90deg, transparent, #000 65%);
}
@media (max-width: 899px) { .cta__bg { width: 100%; opacity: .16; } }
@media (min-width: 900px) { .cta__in { grid-template-columns: minmax(0, 1fr) auto; align-items: end; } }

/* ---------- Pages de service ---------- */

.page-hero { border-bottom: 1px solid var(--line); }
.page-hero__in { display: grid; gap: 2.5rem; padding-block: clamp(2rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem); }
.page-hero .display { max-width: 20ch; margin-top: clamp(1.5rem, 3vw, 2.5rem); font-size: clamp(2.3rem, 1.3rem + 2.9vw, 3.9rem); }
.contact .display { font-size: clamp(2.3rem, 1.3rem + 2.9vw, 3.9rem); }
.page-hero .lede { margin-top: 1.5rem; }
.page-hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.page-hero__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 1000px) {
  .page-hero__in { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; gap: 5rem; }
  .page-hero__media img { aspect-ratio: 4 / 3.6; }
}

.doc { display: grid; gap: 3rem; }
.toc { display: none; }
@media (min-width: 1100px) {
  .doc { grid-template-columns: 14rem minmax(0, 1fr); gap: 5rem; }
  .toc { position: sticky; top: calc(var(--hdr) + 2.5rem); display: block; align-self: start; }
  .toc p { color: var(--ink); font-size: .92rem; font-weight: 600; }
  .toc ol { margin-top: 1rem; border-left: 1px solid var(--line); }
  .toc a {
    display: block;
    margin-left: -1px;
    padding: .45rem 0 .45rem 1rem;
    border-left: 1.5px solid transparent;
    color: var(--muted);
    font-size: .93rem;
    line-height: 1.35;
    text-decoration: none;
    transition: color .2s ease, border-color .2s ease;
  }
  .toc a:hover,
  .toc a.is-active { color: var(--ink); border-left-color: var(--copper); }
}

.doc__section + .doc__section { margin-top: clamp(3rem, 5vw, 4rem); padding-top: clamp(3rem, 5vw, 4rem); border-top: 1px solid var(--line); }
.doc__section > .h2 { max-width: 22ch; }
.doc__section > .h2 + * { margin-top: 1.5rem; }
.doc__grid { display: grid; gap: 2rem; margin-top: 2.5rem; }
@media (min-width: 760px) { .doc__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 3rem; } }
.doc__item { padding-top: 1.25rem; border-top: 1px solid var(--line-strong); }
.doc__item h3 { color: var(--ink); font-size: 1.15rem; font-weight: 550; line-height: 1.3; }
.doc__item p { margin-top: .5rem; font-size: 1rem; }
.doc__item .ticks { margin-top: .9rem; font-size: .98rem; }

.figure { margin-top: 2.5rem; }
.figure img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); }
.figure figcaption { margin-top: .75rem; font-size: .9rem; color: var(--muted); }
.figure-pair { display: grid; gap: 1rem; margin-top: 2.5rem; }
.figure-pair img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
@media (min-width: 700px) { .figure-pair { grid-template-columns: 1fr 1fr; } }

.spec { margin-top: 2rem; border-top: 1px solid var(--line-strong); }
.spec > div { display: grid; gap: .2rem 2rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.spec dt { color: var(--ink); font-weight: 600; }
.spec dd { margin: 0; overflow-wrap: anywhere; }
@media (min-width: 700px) { .spec > div { grid-template-columns: 15rem minmax(0, 1fr); } }

/* Diagrammes d'épanouissement */
.fan {
  display: grid;
  gap: 2rem;
  margin-top: 2.5rem;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
}
.fan__caption .h3 { font-size: 1.3rem; }
.fan__caption p { margin-top: .75rem; max-width: 46ch; font-size: .98rem; }
.fan__graphic { display: grid; grid-template-columns: clamp(64px, 13vw, 140px) minmax(0, 1fr); align-items: start; }
.fan__svg { position: relative; z-index: 1; width: 100%; }
.fan__list { margin-left: -6px; }
.fan__sheath { fill: #7A8698; }
.fan__casing,
.fan__core { fill: none; vector-effect: non-scaling-stroke; stroke-linecap: butt; }
.fan__casing { stroke: #CBD2DB; stroke-width: 5; }
.fan__core { stroke: var(--c); stroke-width: 3; }
.fan__list li {
  display: grid;
  grid-template-columns: minmax(1.5rem, 1fr) 2rem 5.75rem;
  align-items: center;
  gap: .6rem;
  height: var(--row);
}
.fan__line { height: 3px; background: var(--c); box-shadow: 0 -1px 0 #CBD2DB, 0 1px 0 #CBD2DB, 1px 0 0 #CBD2DB; }
.fan__num { font-size: .8rem; font-weight: 600; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.fan__name { font-size: .93rem; color: var(--ink); }
.fan__graphic--elec .fan__casing { stroke-width: 10; }
.fan__graphic--elec .fan__core { stroke-width: 7; }
.fan__graphic--elec .fan__core--stripe { stroke-dasharray: 7 7; }
.fan__graphic--elec .fan__line { height: 7px; border-radius: 0 4px 4px 0; box-shadow: 0 -1.5px 0 #CBD2DB, 0 1.5px 0 #CBD2DB, 1.5px 0 0 #CBD2DB; }
.fan__graphic--elec li:last-child .fan__line { background: repeating-linear-gradient(90deg, var(--c) 0 7px, var(--c2) 7px 14px); }
@media (min-width: 900px) { .fan { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); align-items: center; gap: 3.5rem; } }

.related { margin-top: 2rem; }
.related a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line-strong);
  color: var(--ink);
  text-decoration: none;
}
.related a:last-child { border-bottom: 1px solid var(--line-strong); }
.related strong { display: block; font-size: clamp(1.35rem, 1.1rem + .9vw, 1.9rem); font-weight: 500; letter-spacing: -.02em; }
.related span { display: block; margin-top: .25rem; color: var(--muted); }
.related a::after {
  content: "";
  width: .8rem; height: .8rem;
  border-top: 1.5px solid var(--copper);
  border-right: 1.5px solid var(--copper);
  transform: rotate(45deg);
  transition: transform .25s ease;
}
.related a:hover::after { transform: translateX(4px) rotate(45deg); }

/* ---------- Contact ---------- */

.contact { display: grid; gap: clamp(3rem, 6vw, 5rem); align-items: start; }
.channels { margin-top: 2rem; border-top: 1px solid var(--line-strong); }
.channel {
  display: grid;
  grid-template-columns: 2.75rem minmax(0, 1fr);
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
}
.channel__icon {
  display: grid;
  place-items: center;
  width: 2.75rem; height: 2.75rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--copper);
}
.channel__icon svg { width: 1.2rem; height: 1.2rem; }
.channel__icon--wa { color: var(--wa); }
.channel__label { display: block; font-size: .88rem; color: var(--muted); }
.channel__value { display: block; font-size: 1.12rem; font-weight: 600; overflow-wrap: anywhere; }
a.channel:hover .channel__value { color: var(--copper-text); }
.channel--big .channel__value { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem); font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
@media (min-width: 1000px) { .contact { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 6rem; } }

.quote {
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-2);
}
.quote .h3 { font-size: 1.6rem; }
.quote__hint { margin-top: .5rem; font-size: .95rem; color: var(--muted); }
.choice { margin: 1.75rem 0 0; padding: 0; border: 0; }
.choice legend { margin-bottom: .6rem; padding: 0; color: var(--ink); font-size: .95rem; font-weight: 600; }
.choice__options { display: flex; flex-wrap: wrap; gap: .5rem; }
.choice label { position: relative; cursor: pointer; }
.choice input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.choice span {
  display: inline-block;
  padding: .6rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-size: .95rem;
  font-weight: 500;
  white-space: nowrap;
  transition: border-color .2s ease, background-color .2s ease, color .2s ease;
}
.choice label:hover span { border-color: var(--ink); }
.choice input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.choice input:focus-visible + span { outline: 2px solid var(--copper); outline-offset: 3px; }

.field { display: grid; gap: .45rem; margin-top: 1.2rem; }
.field label { color: var(--ink); font-size: .95rem; font-weight: 600; }
.field label small { color: var(--muted); font-size: .88rem; font-weight: 400; }
.field input,
.field textarea {
  width: 100%;
  padding: .85rem 1rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { resize: vertical; min-height: 9rem; }
.field input:focus,
.field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(180, 104, 58, .28); }
.field input::placeholder,
.field textarea::placeholder { color: #8893A3; }
.field [aria-invalid="true"] { border-color: var(--error); }
.field__error { color: var(--error); font-size: .9rem; font-weight: 600; }
.field-row { display: grid; gap: 0 1rem; }
@media (min-width: 600px) { .field-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.quote__send { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.75rem; }
.quote__send .btn { flex: 1 1 13rem; }
.quote__legal { margin-top: 1rem; font-size: .88rem; color: var(--muted); }
.quote__legal a { color: var(--ink); }

.idcard { margin-top: 3rem; }
.idcard h2 { color: var(--ink); font-size: 1rem; font-weight: 600; }
.idcard .spec { margin-top: 1rem; font-size: .95rem; }
@media (min-width: 700px) { .idcard .spec > div { grid-template-columns: 9.5rem minmax(0, 1fr); } }

/* ---------- Pied de page ---------- */

.ftr { padding-top: clamp(4rem, 8vw, 6rem); background: #0A1422; color: var(--on-dark-muted); font-size: .95rem; --focus: var(--copper-light); }
.ftr__grid { display: grid; gap: 2.5rem; }
.ftr .brand { color: #fff; }
.ftr__brand p { max-width: 34ch; margin-top: 1.1rem; }
.ftr__h { margin-bottom: 1rem; color: #fff; font-size: .92rem; font-weight: 600; }
.ftr__col ul { display: grid; gap: .55rem; }
.ftr a { color: var(--on-dark); text-decoration: none; }
.ftr a:hover { color: #fff; text-decoration: underline; text-underline-offset: .2em; }
.ftr__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .75rem 2rem;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  padding-block: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .09);
  font-size: .87rem;
}
.ftr__legal { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; }
.ftr__legal [aria-current="page"] { color: var(--copper-light); }
@media (min-width: 700px) { .ftr__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ftr__grid { grid-template-columns: 1.5fr 1fr 1fr 1.3fr; } }

/* ---------- Barre d'action mobile ---------- */

.action-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(4.6rem + env(safe-area-inset-bottom)); }
  .action-bar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .5rem;
    padding: .6rem .75rem calc(.6rem + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .96);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
    transition: transform .3s ease;
  }
  .action-bar .btn { min-height: 3.2rem; }
  .action-bar.is-hidden { transform: translateY(110%); visibility: hidden; transition: transform .3s ease, visibility 0s .3s; }
  html.nav-open .action-bar { display: none; }
  .hero__actions .btn,
  .page-hero__actions .btn { flex: 1 1 100%; }
}

/* ---------- Pages légales et 404 ---------- */

.legal { padding-block: clamp(2rem, 4vw, 3rem) var(--section); }
.legal__inner { max-width: 50rem; }
.legal .display { margin-top: 2rem; font-size: clamp(2.3rem, 1.6rem + 2.6vw, 3.75rem); }
.legal__updated { margin-top: 1rem; color: var(--muted); }
.legal h2 { margin-top: 3rem; color: var(--ink); font-size: 1.35rem; font-weight: 550; letter-spacing: -.01em; }
.legal p,
.legal ul { margin-top: .9rem; }
.legal ul { padding-left: 1.25rem; list-style: disc; }
.legal li + li { margin-top: .35rem; }
.legal dl { margin-top: 1rem; border-top: 1px solid var(--line-strong); }
.legal dl > div { display: grid; gap: .15rem 1.5rem; padding-block: .8rem; border-bottom: 1px solid var(--line); }
.legal dt { color: var(--ink); font-weight: 600; }
.legal dd { margin: 0; overflow-wrap: anywhere; }
@media (min-width: 640px) { .legal dl > div { grid-template-columns: 14rem minmax(0, 1fr); } }
.legal a { color: var(--ink); text-decoration-color: var(--copper); text-underline-offset: .2em; }

.notfound { padding-block: var(--section); }
.notfound .lede { margin-top: 1.5rem; }
.notfound__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }

/* ---------- Mouvement réduit, impression ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@media print {
  .hdr, .action-bar, .quote, .cta__bg { display: none; }
  body { padding: 0; }
}

/* ---------- Utilitaires ---------- */

.mt-1 { margin-top: .75rem; }
.mt-2 { margin-top: 1.5rem; }
.mt-3 { margin-top: 2rem; }
.mt-4 { margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.on-dark { color: var(--on-dark); }
.section--tight-top { padding-top: clamp(2rem, 4vw, 3rem); }
