/* 3D Manche · direction « Supports »
   Le sujet est l'impression 3D : une pièce pleine, portée pendant l'impression par des supports fins qu'on retire ensuite.
   Mise en page : des blocs pleins (anthracite) posés sur des traits fins (orange), beaucoup de blanc, une grille à deux colonnes inégales.

   Couleurs
   --papier   fond de page, gris chaud très clair
   --blanc    fond des sections claires et des panneaux
   --encre    anthracite : texte, pièces pleines
   --gris     texte secondaire
   --trait    filets et treillis au repos
   --support  orange des supports : traits, repères, bouton principal
   --support-f orange foncé, pour le texte orange sur fond clair

   Polices
   titrage : Barlow Condensed 700 · texte : IBM Plex Sans 400 et 600 */
@font-face { font-family: "Barlow Condensed"; src: url(/assets/fonts/barlow-condensed-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url(/assets/fonts/ibm-plex-sans-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "IBM Plex Sans"; src: url(/assets/fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }

:root {
  --papier: #f3f2ee; --blanc: #fcfbf8; --encre: #1b1f24; --gris: #58616c; --trait: #d3d5d6; --support: #e8590c; --support-f: #ad3f05;
  --titre: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --texte: "IBM Plex Sans", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --larg: 1180px; --marge: clamp(18px, 4vw, 40px);
  --m-accent: #e8590c; --m-fil-1: #1b1f24;
  /* treillis : un zigzag fin, répété */
  --treillis: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='12'%3E%3Cpath d='M0 12 7 0l7 12M0 .5h14M0 11.5h14' fill='none' stroke='%23e8590c' stroke-width='1'/%3E%3C/svg%3E");
  --treillis-gris: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='12'%3E%3Cpath d='M0 12 7 0l7 12M0 .5h14M0 11.5h14' fill='none' stroke='%23b9bdc1' stroke-width='1'/%3E%3C/svg%3E");
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--papier); color: var(--encre); font: 400 1.0625rem/1.62 var(--texte); overflow-x: hidden; }
img, svg { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote, table { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration-color: var(--support); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { color: var(--support-f); }
strong, b { font-weight: 600; }
:focus-visible { outline: 3px solid var(--support); outline-offset: 3px; }
.saut { position: absolute; left: -999px; top: 0; z-index: 100; background: var(--encre); color: #fff; padding: 12px 18px; }
.saut:focus { left: 8px; top: 8px; }
h1, h2, h3 { font-family: var(--titre); font-weight: 700; line-height: 1.12; letter-spacing: .005em; text-wrap: balance; }
h1 { font-size: clamp(2.7rem, 6.4vw, 5rem); line-height: 1.08; }
h2 { font-size: clamp(2rem, 3.9vw, 3.1rem); }
h3 { font-size: 1.5rem; }
.in { width: min(100% - 2 * var(--marge), var(--larg)); margin-inline: auto; }
.mono, .sur, .etiq, caption, .tab thead th, .fiche dt, .chiffres dt, .jalons { font: 600 .78rem/1.3 var(--texte); letter-spacing: .09em; text-transform: uppercase; }
.mono { color: var(--support-f); display: block; }

/* ---------- en-tête ---------- */
.tete { position: sticky; top: 0; z-index: 50; background: rgba(243, 242, 238, .94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--trait); }
.tete__in { width: min(100% - 2 * var(--marge), var(--larg)); margin-inline: auto; display: flex; align-items: center; gap: 28px; min-height: 68px; }
.logo { display: inline-flex; align-items: stretch; gap: 10px; text-decoration: none; font: 700 1.55rem/1 var(--titre); letter-spacing: .02em; color: var(--encre); }
.logo:hover { color: var(--encre); }
/* le logo : un bloc plein posé sur un treillis */
.logo__b { position: relative; background: var(--encre); color: var(--blanc); padding: 5px 8px 4px; margin-bottom: 9px; }
.logo__b::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 9px; background: var(--treillis) 0 0 / 7px 9px repeat-x; }
.logo__n { align-self: center; text-transform: uppercase; padding-bottom: 2px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { font-weight: 600; font-size: .95rem; text-decoration: none; padding: 10px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--support); color: var(--encre); }
.tete__tel { font: 700 1.3rem/1 var(--titre); letter-spacing: .03em; text-decoration: none; background: var(--encre); color: var(--blanc); padding: 12px 16px 11px; white-space: nowrap; }
.tete__tel:hover { background: var(--support); color: var(--encre); }
.menu { display: none; position: relative; }
.menu summary { list-style: none; cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; padding: 0 14px; border: 1px solid var(--encre); }
.menu summary::-webkit-details-marker { display: none; }
.menu nav { position: absolute; right: 0; top: calc(100% + 10px); background: var(--blanc); border: 1px solid var(--encre); min-width: 230px; display: grid; }
.menu nav a { padding: 13px 18px; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--trait); }
.menu nav a:last-child { border-bottom: 0; }

/* ---------- sections ---------- */
.sec { padding: clamp(60px, 8.5vw, 116px) 0; position: relative; }
.sec--blanc { background: var(--blanc); }
.sec--nuit { background: var(--encre); color: var(--blanc); }
.sec--nuit a:hover { color: #ffb48a; }
.bord-h { border-top: 1px solid var(--trait); }
.sec--nuit.bord-h, .sec--nuit + .bord-h { border-top: 0; }
/* le surtitre : un petit embranchement de support, puis le libellé */
.sur { display: flex; align-items: center; gap: 12px; color: var(--support-f); margin-bottom: 18px; }
.sur::before { content: ""; flex: none; width: 22px; height: 18px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 18'%3E%3Cpath d='M11 18v-6M11 12C11 7 3 8 3 1M11 12c0-5 8-4 8-11' fill='none' stroke='%23e8590c' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.sec--nuit .sur { color: #ff9a62; }
.chapo { font-size: clamp(1.1rem, 1.5vw, 1.25rem); line-height: 1.58; max-width: 64ch; }
h2 + .chapo, h1 + .chapo, .sous + .chapo { margin-top: 22px; }
.sec--nuit .chapo + p { margin-top: 16px; color: #d6d9dc; max-width: 64ch; }
.deux { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.deux--inv { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.colle { position: sticky; top: 104px; }
.prose > * + * { margin-top: 18px; }
.prose > h2 { margin-top: 0; }
.prose > * + h2 { margin-top: 56px; }
.prose > p, .prose > .deux > div > p { max-width: 70ch; }
.prose .deux > div > * + * { margin-top: 18px; }
.prose .deux > div > h2 { margin-top: 0; }
.prose .deux > div > .sur:not(:first-child) { margin-top: 48px; }
.lim { margin-top: 20px; max-width: 74ch; color: var(--gris); border-left: 3px solid var(--support); padding-left: 16px; }

/* ---------- boutons ---------- */
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; background: var(--support); color: var(--encre); font: 600 1.02rem/1.2 var(--texte); text-decoration: none; border: 2px solid var(--support); cursor: pointer; transition: background-color .18s, border-color .18s, color .18s; }
.btn:hover { background: var(--encre); border-color: var(--encre); color: var(--blanc); }
.btn--trait { background: transparent; border-color: var(--encre); font: 700 1.35rem/1 var(--titre); letter-spacing: .03em; }
.sec--nuit .btn--trait { border-color: var(--blanc); color: var(--blanc); }

/* ---------- ouverture ---------- */
.ouv { padding-top: clamp(36px, 5vw, 68px); padding-bottom: clamp(48px, 6vw, 84px); }
.ouv__grille { display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); gap: clamp(28px, 5vw, 76px); align-items: center; }
.etiq { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; margin-bottom: 22px; }
.etiq b { background: var(--encre); color: var(--blanc); padding: 7px 10px 6px; font-weight: 600; }
.etiq span { color: var(--gris); }
.sous { font: 700 clamp(1.3rem, 2.2vw, 1.75rem)/1.2 var(--titre); color: var(--support-f); margin-top: 12px; max-width: 30ch; text-wrap: balance; }
.note { margin-top: 34px; padding: 18px 0 0; border-top: 1px solid var(--trait); max-width: 60ch; font-size: .98rem; }
.note .mono { margin-bottom: 6px; }
.fil { display: flex; flex-wrap: wrap; gap: 8px; font-size: .9rem; font-weight: 600; margin-bottom: 20px; color: var(--gris); }
.fil a { color: var(--encre); }
/* la scène : un panneau blanc, bord fin, repères d'angle */
.ouv__scene, .deroule__scene { background: var(--blanc); border: 1px solid var(--trait); position: relative; }
.ouv__scene { padding: clamp(12px, 2vw, 26px) clamp(12px, 2vw, 26px) 0; }
.ouv__scene::before, .ouv__scene::after { content: ""; position: absolute; width: 16px; height: 16px; border: 2px solid var(--encre); }
.ouv__scene::before { left: -1px; top: -1px; border-right: 0; border-bottom: 0; }
.ouv__scene::after { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }
.scene { width: 100%; height: auto; overflow: visible; }
.ouv__scene figcaption { display: flex; flex-wrap: wrap; gap: 6px 22px; padding: 12px 0 14px; border-top: 1px solid var(--trait); font-size: .86rem; color: var(--gris); }
.ouv__scene figcaption span { display: inline-flex; align-items: center; gap: 8px; }
.p { display: inline-block; width: 18px; }
.p--s { height: 2px; background: var(--support); }
.p--e { height: 10px; background: var(--encre); }
.ouv--ville .ouv__grille { grid-template-columns: minmax(0, 12fr) minmax(0, 7fr); }
.ouv--ville h1 { font-size: clamp(2.4rem, 5.2vw, 4.1rem); }

/* ---------- chiffres ---------- */
.chiffres { display: grid; grid-template-columns: 1fr 1fr 1.7fr 1fr 1fr; background: var(--encre); color: var(--blanc); }
.chiffres > div { padding: 24px clamp(16px, 2.4vw, 32px) 22px; border-left: 1px solid #3a4049; display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; }
.chiffres > div:first-child { border-left: 0; }
.chiffres dt { color: #c5c9cd; }
.chiffres dd { font: 700 clamp(2rem, 3.6vw, 3rem)/1 var(--titre); white-space: nowrap; }
.chiffres small { font-size: .5em; margin-left: 5px; color: #ff9a62; }

/* ---------- déroulé : l'animation maîtresse ---------- */
.deroule { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 70px); margin-top: 44px; align-items: start; }
.deroule__scene { position: sticky; top: 100px; padding: clamp(10px, 2vw, 24px) clamp(10px, 2vw, 24px) 0; }
.jalons { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--trait); color: var(--gris); counter-reset: j; }
.jalons li { padding: 12px 4px 13px; border-top: 3px solid transparent; margin-top: -2px; counter-increment: j; }
.jalons li::before { content: counter(j) " "; color: var(--support-f); }
.jalons li.est-actif { border-top-color: var(--support); color: var(--encre); }
.etapes { counter-reset: e; display: grid; }
.etapes > li { counter-increment: e; position: relative; padding: 30px 0 34px 74px; border-top: 1px solid var(--trait); }
.etapes > li:last-child { border-bottom: 1px solid var(--trait); }
.etapes > li::before { content: counter(e); position: absolute; left: 0; top: 26px; width: 48px; height: 48px; display: grid; place-items: center; font: 700 1.6rem/1 var(--titre); border: 2px solid var(--encre); background: var(--blanc); color: var(--encre); }
.etapes > li.est-actif::before { background: var(--support); border-color: var(--support); }
.etapes h3 { margin-bottom: 8px; }
.etapes .mono { margin-top: 12px; }
.deroule .etapes > li { padding-top: clamp(30px, 5vh, 52px); padding-bottom: clamp(34px, 6vh, 60px); }
.deroule .etapes > li::before { top: clamp(26px, 5vh, 48px); }
.etapes--3 { grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.etapes--3 > li { padding: 78px 0 24px; border-bottom: 0; border-top: 2px solid var(--encre); }
.etapes--3 > li:last-child { border-bottom: 0; }
.etapes--3 > li::before { top: 16px; }

/* ---------- tableaux ---------- */
.tab { width: 100%; border-collapse: collapse; margin-top: 40px; background: var(--blanc); border: 1px solid var(--trait); }
.tab caption { text-align: left; padding: 0 0 12px; color: var(--gris); caption-side: top; background: transparent; }
.tab th, .tab td { text-align: left; vertical-align: top; padding: 15px 18px; border-bottom: 1px solid var(--trait); }
.tab thead th { background: var(--encre); color: var(--blanc); border-bottom: 0; padding: 12px 18px; }
.tab tbody th { font: 700 1.3rem/1.2 var(--titre); min-width: 8.5em; }
.tab tbody th small { display: block; font: 400 .8rem/1.3 var(--texte); color: var(--gris); margin-top: 3px; }
.tab tbody tr:last-child > * { border-bottom: 0; }
.chif { font: 700 1.3rem/1.2 var(--titre); white-space: nowrap; color: var(--support-f); }
.prose .tab { margin-top: 26px; }
.prose .deux > .tab, .prose .deux > .vig { margin-top: 0; }

/* ---------- villes ---------- */
.villes { margin-top: 40px; border-top: 2px solid var(--encre); }
.villes a { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr) 34px; gap: 8px 28px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--trait); text-decoration: none; position: relative; }
.villes b { font: 700 clamp(1.5rem, 2.4vw, 2rem)/1.1 var(--titre); }
.villes span { color: var(--gris); }
.villes a::after { content: "→"; font-size: 1.4rem; color: var(--support-f); justify-self: end; }
.villes a:hover { background: var(--papier); color: var(--encre); }
.villes a:hover b { color: var(--support-f); }

/* ---------- publics : un bloc plein posé sur un treillis ---------- */
.publics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 42px; }
.publics article { background: var(--blanc); border: 1px solid var(--trait); border-top: 6px solid var(--encre); padding: 24px 22px 40px; position: relative; display: flex; flex-direction: column; gap: 10px; }
.publics article::after { content: ""; position: absolute; left: -1px; right: -1px; bottom: -1px; height: 12px; background: var(--treillis) 0 0 repeat-x; }
.publics .mono { margin-top: auto; padding-top: 10px; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; }

/* ---------- images ---------- */
.vig { position: relative; background: var(--trait); }
.vig img { width: 100%; height: 100%; object-fit: cover; }
.vig figcaption { position: absolute; left: 0; bottom: 0; background: var(--encre); color: var(--blanc); font: 600 .74rem/1.3 var(--texte); letter-spacing: .07em; text-transform: uppercase; padding: 7px 11px 6px; z-index: 3; }
.vue { aspect-ratio: 3 / 2; overflow: hidden; }
.bandeau { aspect-ratio: 21 / 9; margin-top: 34px; }
.prose > .bandeau:first-child { margin-top: 0; margin-bottom: 44px; }
.vue--haut img { object-position: 50% 30%; }
.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 30px; max-width: 820px; }
.duo .vig { aspect-ratio: 3 / 4; overflow: hidden; }
.deux .duo, .profond .duo { margin-top: 0; }
.solo { max-width: 420px; }
.solo--portrait { aspect-ratio: 3 / 4; overflow: hidden; }
.solo--large { max-width: none; }
.deux > .vig.colle { aspect-ratio: 3 / 4; overflow: hidden; }
.mosa { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.mosa .vig { overflow: hidden; aspect-ratio: 3 / 4; grid-column: span 3; }
.mosa .vig:nth-child(3) { grid-column: span 6; aspect-ratio: 16 / 9; }
.finitions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 34px; padding-top: 28px; border-top: 2px solid var(--encre); }
.finitions > div { grid-column: 1 / -1; margin-bottom: 6px; }
.finitions > div p { margin-top: 8px; font-size: .98rem; max-width: 56ch; }
.finitions .vig { aspect-ratio: 3 / 4; overflow: hidden; }

/* ---------- listes ---------- */
.presta { margin-top: 30px; border-top: 2px solid var(--encre); }
.presta li { padding: 15px 0 15px 34px; border-bottom: 1px solid var(--trait); position: relative; }
.presta li::before, .liste li::before { content: ""; position: absolute; left: 0; top: 19px; width: 18px; height: 15px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 18'%3E%3Cpath d='M11 18v-6M11 12C11 7 3 8 3 1M11 12c0-5 8-4 8-11' fill='none' stroke='%23e8590c' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.presta b { display: block; font: 700 1.3rem/1.2 var(--titre); }
.presta span { color: var(--gris); font-size: .98rem; }
.liste { border-top: 1px solid var(--trait); max-width: 78ch; }
.liste li { position: relative; padding: 14px 0 14px 34px; border-bottom: 1px solid var(--trait); }
.encadre { margin-top: 30px; background: var(--blanc); border: 1px solid var(--trait); border-left: 6px solid var(--encre); padding: 22px 24px 24px; max-width: 78ch; }
.sec--blanc .encadre { background: var(--papier); }
.encadre .mono { margin-bottom: 8px; }
.cas { display: grid; gap: 20px; margin-top: 28px; }
.cas--3 { grid-template-columns: repeat(3, 1fr); }
.cas--2 { grid-template-columns: repeat(2, 1fr); }
.cas article { background: var(--blanc); border: 1px solid var(--trait); border-top: 6px solid var(--encre); padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; }
.sec--blanc .cas article { background: var(--papier); }
.voisines { margin-top: 26px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 0 28px; border-top: 2px solid var(--encre); }
.voisines li { border-bottom: 1px solid var(--trait); }
.voisines a { display: block; padding: 14px 0; font-weight: 600; text-decoration: none; }
.autour .chapo { margin-top: 20px; max-width: 78ch; }
.autour .chapo + p { margin-top: 14px; color: var(--gris); }

/* ---------- qui fabrique ---------- */
.profond { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(30px, 5vw, 72px); align-items: center; }
.profond > .vig { aspect-ratio: 1; overflow: hidden; }
.sec--nuit .vig figcaption { background: var(--support); color: var(--encre); }
.sec--nuit .prose > p { color: #dfe1e3; }
.fiche { margin-top: 30px; border-top: 1px solid #454b54; }
.fiche > div { display: grid; grid-template-columns: 130px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid #454b54; align-items: baseline; }
.fiche dt { color: #ff9a62; }

/* ---------- avis ---------- */
.avis-l { columns: 3 300px; column-gap: 22px; margin-top: 40px; }
.avis-i { break-inside: avoid; margin-bottom: 22px; background: var(--blanc); border: 1px solid var(--trait); border-top: 6px solid var(--encre); padding: 24px 24px 34px; position: relative; }
.avis-i::after { content: ""; position: absolute; left: -1px; right: -1px; bottom: -1px; height: 12px; background: var(--treillis-gris) 0 0 repeat-x; }
.avis-i blockquote p { font-size: 1.04rem; }
.avis-i figcaption { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline; }
.avis-i figcaption b { font: 700 1.25rem/1.2 var(--titre); }
.avis-i figcaption span { color: var(--gris); font-size: .9rem; }

/* ---------- questions ---------- */
.faq { border-top: 2px solid var(--encre); }
.faq details { border-bottom: 1px solid var(--trait); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 44px 20px 0; position: relative; font: 700 1.35rem/1.25 var(--titre); min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 400 1.9rem/1 var(--texte); color: var(--support-f); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 0 22px; max-width: 66ch; }

/* ---------- devis ---------- */
.sec--devis { background: var(--blanc); }
.devis { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(30px, 5vw, 72px); align-items: start; }
.gros-tel { display: inline-block; margin-top: 26px; font: 700 clamp(2.4rem, 4.6vw, 3.6rem)/1 var(--titre); text-decoration: none; letter-spacing: .01em; border-bottom: 5px solid var(--support); padding-bottom: 4px; }
.contact-l { margin-top: 28px; border-top: 1px solid var(--trait); }
.contact-l li { display: grid; grid-template-columns: 120px 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--trait); align-items: baseline; }
.form { background: var(--papier); border: 1px solid var(--trait); border-top: 6px solid var(--encre); padding: clamp(20px, 3vw, 36px); display: grid; gap: 18px; }
.form__2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.ch { display: grid; gap: 7px; }
.ch label { font-weight: 600; font-size: .95rem; }
.ch small { font-weight: 400; color: var(--gris); }
.ch input, .ch select, .ch textarea { width: 100%; min-height: 50px; padding: 12px 14px; font: inherit; color: var(--encre); background: var(--blanc); border: 1px solid #8a9199; border-radius: 0; }
.ch textarea { min-height: 150px; resize: vertical; }
.ch input[type=file] { padding: 10px; }
.ch input:focus, .ch select:focus, .ch textarea:focus { outline: 3px solid var(--support); outline-offset: 0; border-color: var(--encre); }
.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; }
.form__note { font-size: .9rem; color: var(--gris); }
.erreur { background: #fff0e8; border: 2px solid var(--support-f); padding: 14px 16px; font-weight: 600; }

/* ---------- pages simples ---------- */
.simple { min-height: 46vh; }
.simple h1 { margin-bottom: 4px; }
.legal h1 { margin-bottom: 30px; }
.legal h2 { font-size: 1.8rem; margin-top: 44px; }

/* ---------- pied ---------- */
.treillis { height: 12px; background: var(--treillis) 0 0 repeat-x; }
.pied { background: var(--encre); color: #d9dcdf; font-size: .96rem; }
.pied .treillis { background-color: var(--papier); }
.pied__in { width: min(100% - 2 * var(--marge), var(--larg)); margin-inline: auto; display: grid; grid-template-columns: 1.5fr 1.2fr 1fr 1.1fr; gap: 40px; padding: 60px 0 44px; }
.pied .logo { color: var(--blanc); margin-bottom: 18px; }
.pied .logo__b { background: var(--blanc); color: var(--encre); }
.pied h2 { font: 600 .78rem/1.3 var(--texte); letter-spacing: .09em; text-transform: uppercase; color: #ff9a62; margin-bottom: 14px; }
.pied p + p { margin-top: 12px; }
.pied li a { display: inline-block; padding: 6px 0; text-decoration: none; }
.pied a:hover { color: #ffb48a; }
.pied li a[aria-current] { color: #ff9a62; }
.pied ul + p { margin-top: 12px; }
.pied__bas { width: min(100% - 2 * var(--marge), var(--larg)); margin-inline: auto; border-top: 1px solid #454b54; padding: 18px 0 26px; display: flex; flex-wrap: wrap; gap: 6px 28px; color: #aab0b6; font-size: .86rem; }
.barre { display: none; }

/* ---------- kit d'animation (motion.css) ---------- */
.m [data-m-intro] { visibility: hidden; animation: m-secours 0s 1.2s forwards; }
@keyframes m-secours { to { visibility: visible; } }
.m-pret [data-m-intro] { visibility: visible; animation: none; }
.m-buse { position: absolute; left: 0; right: 0; height: 2px; top: 100%; background: var(--m-accent, #f97316); box-shadow: 0 0 14px 2px var(--m-accent, #f97316); pointer-events: none; z-index: 2; opacity: 0; }
.m-fil { position: fixed; left: 0; top: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--m-fil-1, #2563eb), var(--m-accent, #f97316)); z-index: 60; pointer-events: none; }
[data-m="aimant"] { will-change: transform; }
@media (prefers-reduced-motion: reduce) { .m [data-m-intro] { visibility: visible; animation: none; } .m-fil, .m-buse { display: none; } html { scroll-behavior: auto; } }

/* ---------- écrans moyens ---------- */
@media (max-width: 1020px) {
  .nav { display: none; }
  .menu { display: block; }
  .tete__tel { margin-left: auto; }
  .publics { grid-template-columns: 1fr 1fr; }
  .pied__in { grid-template-columns: 1fr 1fr; }
  .chiffres { grid-template-columns: repeat(4, 1fr); }
  .chiffres__large { grid-column: 1 / -1; grid-row: 2; border-left: 0 !important; border-top: 1px solid #3a4049; }
}
@media (max-width: 860px) {
  .ouv__grille, .ouv--ville .ouv__grille, .deux, .deux--inv, .profond, .devis, .deroule { grid-template-columns: minmax(0, 1fr); }
  .colle { position: static; }
  .ouv__scene { max-width: 520px; }
  .ouv--ville .ouv__scene { max-width: 380px; }
  .deroule { gap: 0; }
  .deroule__scene { top: 69px; z-index: 5; margin-inline: calc(-1 * var(--marge)); border-inline: 0; }
  .cas--3, .etapes--3 { grid-template-columns: 1fr; }
  .etapes--3 > li { padding: 22px 0 22px 68px; border-top: 1px solid var(--trait); }
  .etapes--3 > li::before { top: 20px; }
  .villes a { grid-template-columns: 1fr 30px; }
  .villes a span { grid-column: 1; }
  .villes a::after { grid-column: 2; grid-row: 1; }
  .trio { grid-template-columns: 1fr; }
  .bandeau { aspect-ratio: 3 / 2; }
  /* tableaux en fiches */
  .tab, .tab tbody, .tab tr, .tab th, .tab td, .tab caption { display: block; }
  .tab thead { position: absolute; left: -9999px; }
  .tab { border: 0; background: transparent; }
  .tab tr { background: var(--blanc); border: 1px solid var(--trait); border-top: 5px solid var(--encre); margin-bottom: 14px; padding: 8px 0; }
  .tab th, .tab td { border: 0; padding: 7px 16px; }
  .tab td::before { content: attr(data-l); display: block; font: 600 .72rem/1.3 var(--texte); letter-spacing: .09em; text-transform: uppercase; color: var(--support-f); margin-bottom: 2px; }
  /* barre d'actions */
  body { padding-bottom: 62px; }
  .barre { display: grid; grid-template-columns: 1fr 1.4fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; border-top: 1px solid var(--encre); }
  .barre a { min-height: 58px; display: grid; place-items: center; font-weight: 600; text-decoration: none; background: var(--blanc); color: var(--encre); }
  .barre a + a { background: var(--support); }
}
@media (max-width: 860px) and (max-height: 620px) { .deroule__scene { position: static; } }
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .tete__in { gap: 10px; min-height: 60px; }
  .logo { font-size: 1.3rem; gap: 8px; }
  .tete__tel { font-size: 1.1rem; padding: 12px 10px 11px; }
  .menu summary { padding: 0 10px; }
  .deroule__scene { top: 61px; }
  .actions .btn { flex: 1 1 100%; }
  .publics, .cas--2, .form__2, .pied__in { grid-template-columns: 1fr; }
  .pied__in { gap: 30px; padding-top: 44px; }
  .chiffres { grid-template-columns: 1fr 1fr; }
  .chiffres > div { border-left: 0; border-top: 1px solid #3a4049; padding: 16px 18px; }
  .chiffres > div:nth-child(2n) { border-left: 1px solid #3a4049; }
  .chiffres__large { grid-row: auto; border-left: 0 !important; }
  .etapes > li { padding-left: 60px; }
  .etapes > li::before { width: 42px; height: 42px; font-size: 1.4rem; }
  .jalons { font-size: .62rem; letter-spacing: .02em; }
  .finitions { grid-template-columns: 1fr 1fr; }
  .fiche > div, .contact-l li { grid-template-columns: 1fr; gap: 2px; }
  .duo { gap: 12px; }
  .mosa { gap: 10px; }
  .avis-l { columns: 1; }
}
@media print { .tete, .barre, .m-fil { display: none; } }
