/* =====================================================================
   TRAME SARL — feuille de style du site public
   Encre #15181E · Cuivre #B5551F · Ivoire #F2F0EA
   Archivo (titres et texte) · IBM Plex Mono (libellés techniques)
   ===================================================================== */

:root {
  --encre: #15181E;
  --encre-2: #1F232B;
  --ivoire: #F2F0EA;
  --blanc: #FFFFFF;
  --cuivre: #B5551F;
  --cuivre-clair: #D9742F;

  --fond: var(--ivoire);
  --surface: var(--blanc);
  --texte: var(--encre);
  --texte-doux: #55514A;
  --texte-faible: #817B72;
  --trait: #DFDBD2;
  --accent: var(--cuivre);
  --accent-fond: rgba(181, 85, 31, .10);

  --bande-fond: var(--encre);
  --bande-texte: var(--ivoire);
  --bande-doux: #A8A298;
  --bande-trait: #2E323A;
  --bande-accent: var(--cuivre-clair);

  --ff: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ff-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --gouttiere: 20px;
  --largeur: 1180px;
  --rayon: 2px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--ff);
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; font-family: var(--ff); line-height: 1.14; text-wrap: balance; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: #fff; padding: 12px 18px;
}
.skip:focus { left: 0; }

.wrap {
  max-width: var(--largeur);
  margin-inline: auto;
  padding-left: var(--gouttiere);
  padding-right: var(--gouttiere);
}
.wrap.etroit { max-width: 760px; }

.band { padding-block: clamp(54px, 7vw, 96px); }
.band-surface { background: var(--surface); }
.band-ink { background: var(--bande-fond); color: var(--bande-texte); }
.band-copper { background: var(--cuivre); color: #fff; padding-block: clamp(40px, 5vw, 60px); }

.centre { text-align: center; margin-top: 30px; }
.vide { color: var(--texte-faible); font-size: 16px; padding: 30px 0; }

/* ---------------------------------------------------------------- type */
.eyebrow {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--texte-faible);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 3px; background: var(--accent); flex: none; }
.band-ink .eyebrow, .hero .eyebrow { color: var(--bande-doux); }
.band-ink .eyebrow::before, .hero .eyebrow::before { background: var(--bande-accent); }

.lede { font-size: clamp(16.5px, 1.8vw, 19px); color: var(--texte-doux); max-width: 62ch; }
.band-ink .lede, .hero .lede { color: var(--bande-doux); }

.sec-head { max-width: 64ch; margin-bottom: 42px; }
.sec-head h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 700; letter-spacing: -.015em; }
.sec-head p { color: var(--texte-doux); margin-top: 14px; }
.band-ink .sec-head p { color: var(--bande-doux); }

/* ------------------------------------------------------------- boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--rayon);
  text-decoration: none;
  cursor: pointer;
  font-family: var(--ff);
  transition: background .15s, color .15s, border-color .15s;
}
.btn-primaire { background: var(--cuivre); color: #fff; }
.btn-primaire:hover { background: var(--cuivre-clair); }
.btn-fantome { border-color: currentColor; background: transparent; color: inherit; }
.btn-fantome:hover { background: rgba(127,127,127,.12); }
.btn-inverse { background: var(--blanc); color: var(--cuivre); }
.btn-inverse:hover { background: var(--ivoire); }
.btn.bloc { width: 100%; }

.lien-fleche {
  font-weight: 600;
  font-size: 14.5px;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.lien-fleche::after { content: "→"; transition: transform .15s; }
.lien-fleche:hover::after { transform: translateX(3px); }

/* -------------------------------------------------------------- entête */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bande-fond);
  color: var(--bande-texte);
  border-bottom: 1px solid var(--bande-trait);
}
.header-inner { display: flex; align-items: center; gap: 18px; padding-block: 12px; }

.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.brand-word { font-weight: 700; font-size: 19px; letter-spacing: .17em; color: var(--bande-texte); }

.nav-main { margin-left: auto; display: flex; align-items: center; gap: 2px; }
.nav-main a {
  font-size: 14.5px;
  text-decoration: none;
  color: var(--bande-doux);
  padding: 9px 12px;
  border-radius: var(--rayon);
}
.nav-main a:hover { color: var(--bande-texte); background: rgba(255,255,255,.07); }
.nav-main a.actif { color: var(--bande-texte); box-shadow: inset 0 -2px 0 var(--bande-accent); }
.nav-main a.btn { margin-left: 10px; color: #fff; }
.nav-main a.btn:hover { box-shadow: none; }

.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: 1px solid var(--bande-trait);
  color: var(--bande-texte);
  border-radius: var(--rayon);
  padding: 9px 13px;
  font-family: var(--ff-mono);
  font-size: 12px;
  cursor: pointer;
}

@media (max-width: 920px) {
  .header-inner { position: relative; }
  .nav-main {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    background: var(--bande-fond);
    border-bottom: 1px solid var(--bande-trait);
    padding: 8px var(--gouttiere) 18px;
    gap: 0;
  }
  .nav-main.ouvert { display: flex; }
  .nav-main a { padding: 14px 2px; border-bottom: 1px solid var(--bande-trait); border-radius: 0; }
  .nav-main a.actif { box-shadow: none; color: var(--bande-accent); }
  .nav-main a.btn { margin: 14px 0 0; border-radius: var(--rayon); }
  .nav-toggle { display: block; }
}

/* ---------------------------------------------------------------- hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bande-fond);
  color: var(--bande-texte);
}
.hero-texture {
  position: absolute;
  inset: 0;
  opacity: .05;
  pointer-events: none;
  background-image:
    linear-gradient(to right, transparent 22%, var(--cuivre-clair) 22%, var(--cuivre-clair) 30%, transparent 30%,
                    transparent 58%, var(--cuivre-clair) 58%, var(--cuivre-clair) 66%, transparent 66%),
    linear-gradient(to bottom, transparent 22%, var(--ivoire) 22%, var(--ivoire) 30%, transparent 30%,
                    transparent 58%, var(--ivoire) 58%, var(--ivoire) 66%, transparent 66%);
  background-size: 120px 120px;
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  padding-block: clamp(52px, 8vw, 92px);
}
.hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -.022em;
  margin: 18px 0 0;
}
.hero h1 .lift { color: var(--bande-accent); }
.hero .lede { margin-top: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 30px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--bande-trait);
  font-family: var(--ff-mono);
  font-size: 11.5px;
  letter-spacing: .05em;
  color: var(--bande-doux);
}
.hero-marque { display: flex; justify-content: center; }
.hero-marque svg { width: min(240px, 58vw); height: auto; }

@media (max-width: 880px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-marque { order: -1; justify-content: flex-start; }
}

/* ---------------------------------------------------------- page entête */
.page-entete {
  background: var(--bande-fond);
  color: var(--bande-texte);
  padding-block: clamp(44px, 6vw, 72px);
}
.page-entete h1 { font-size: clamp(30px, 4.6vw, 48px); font-weight: 700; letter-spacing: -.02em; }
.page-entete .lede { margin-top: 18px; }
.page-entete .eyebrow { color: var(--bande-doux); }
.page-entete .eyebrow::before { background: var(--bande-accent); }

.fil {
  font-family: var(--ff-mono);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--bande-doux);
  display: flex;
  gap: 9px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.fil a { text-decoration: none; }
.fil a:hover { color: var(--bande-accent); }

.signature {
  margin-top: 18px;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: .05em;
  color: var(--bande-doux);
}

/* ------------------------------------------------------------ services */
.grille-services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 940px) { .grille-services { grid-template-columns: 1fr; } }

.carte-service {
  background: var(--surface);
  border: 1px solid var(--trait);
  border-top: 3px solid var(--accent);
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.carte-service img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.carte-service-corps { padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.carte-service .num { font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .12em; color: var(--accent); }
.carte-service h3 { font-size: 19px; font-weight: 600; }
.carte-service ul { display: flex; flex-direction: column; gap: 8px; flex: 1; }
.carte-service li { position: relative; padding-left: 17px; font-size: 14.5px; color: var(--texte-doux); }
.carte-service li::before { content: ""; position: absolute; left: 0; top: 9px; width: 8px; height: 2px; background: var(--accent); }

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: start;
}
.service-detail.inverse .service-visuel { order: 2; }
@media (max-width: 900px) {
  .service-detail, .service-detail.inverse { grid-template-columns: 1fr; }
  .service-detail.inverse .service-visuel { order: 0; }
}
.service-visuel img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--trait); }
.service-corps { min-width: 0; }
.service-corps h2 { font-size: clamp(24px, 3.2vw, 34px); font-weight: 700; }
.service-corps .accroche { font-size: 18px; color: var(--accent); margin-top: 12px; font-weight: 500; }
.service-corps p { margin-top: 14px; color: var(--texte-doux); }
.service-corps h3 { font-size: 17px; font-weight: 600; margin-top: 26px; }
.liste-prestations { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; }
.liste-prestations li { position: relative; padding-left: 20px; font-size: 15px; }
.liste-prestations li::before { content: ""; position: absolute; left: 0; top: 10px; width: 10px; height: 2px; background: var(--accent); }
.service-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* -------------------------------------------------------- réalisations */
.grille-realisations { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grille-realisations.deux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 940px) { .grille-realisations, .grille-realisations.deux { grid-template-columns: 1fr; } }

.carte-realisation { background: var(--surface); border: 1px solid var(--trait); min-width: 0; }
.carte-realisation a { text-decoration: none; display: flex; flex-direction: column; height: 100%; }
.carte-realisation img { aspect-ratio: 3 / 2; object-fit: cover; width: 100%; }
.carte-realisation-corps { padding: 20px 20px 24px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.carte-realisation .meta,
.carte-article .meta {
  font-family: var(--ff-mono);
  font-size: 10.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--texte-faible);
}
.carte-realisation h3 { font-size: 19px; font-weight: 600; }
.carte-realisation p { font-size: 14.6px; color: var(--texte-doux); flex: 1; }

.filtres { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 34px; }
.filtres a {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: .05em;
  text-decoration: none;
  padding: 8px 14px;
  border: 1px solid var(--trait);
  background: var(--surface);
  color: var(--texte-doux);
}
.filtres a:hover { border-color: var(--accent); color: var(--accent); }
.filtres a.actif { background: var(--encre); border-color: var(--encre); color: var(--ivoire); }

.visuel-principal { margin: 0 0 40px; }
.visuel-principal img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid var(--trait); }

.etude-grille { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .9fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .etude-grille { grid-template-columns: 1fr; } }
.etude-corps { min-width: 0; }
.etude-corps h2 { font-size: clamp(21px, 2.6vw, 27px); font-weight: 700; margin-top: 34px; }
.etude-corps h2:first-child { margin-top: 0; }
.etude-corps p { margin-top: 14px; color: var(--texte-doux); font-size: 16.2px; max-width: 68ch; }

.etude-fiche { background: var(--surface); border: 1px solid var(--trait); padding: 22px 24px 26px; position: sticky; top: 92px; }
@media (max-width: 900px) { .etude-fiche { position: static; } }
.fiche-titre { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--texte-faible); font-weight: 500; }
.etude-fiche dl { margin: 14px 0 0; }
.etude-fiche dl div { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--trait); }
.etude-fiche dt { font-size: 14px; color: var(--texte-doux); }
.etude-fiche dd { margin: 0; font-size: 14px; text-align: right; font-weight: 500; }
.etude-fiche h3 { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--texte-faible); font-weight: 500; margin-top: 22px; }
.etiquettes { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 12px; }
.etiquettes li {
  font-family: var(--ff-mono);
  font-size: 11px;
  padding: 5px 9px;
  border: 1px solid var(--trait);
  color: var(--texte-doux);
}
.etude-fiche .btn { margin-top: 22px; }

.galerie { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 18px; }
.galerie figure { margin: 0; }
.galerie img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border: 1px solid var(--trait); }
.galerie figcaption { font-size: 13px; color: var(--texte-faible); margin-top: 8px; }

/* ------------------------------------------------------------- étapes */
.etapes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: var(--bande-trait); border: 1px solid var(--bande-trait); }
@media (max-width: 900px) { .etapes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .etapes { grid-template-columns: 1fr; } }
.etapes li { background: var(--bande-fond); padding: 24px 22px 28px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.etapes .n { font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--bande-accent); }
.etapes h3 { font-size: 17px; font-weight: 600; }
.etapes p { font-size: 14.3px; color: var(--bande-doux); }

/* ----------------------------------------------------------- articles */
.grille-articles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.grille-articles.deux { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 940px) { .grille-articles, .grille-articles.deux { grid-template-columns: 1fr; } }
.carte-article a { text-decoration: none; display: flex; flex-direction: column; gap: 10px; }
.carte-article img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; border: 1px solid var(--trait); }
.carte-article h2, .carte-article h3 { font-size: 19px; font-weight: 600; }
.carte-article p { font-size: 14.6px; color: var(--texte-doux); }

.texte-long p { margin-top: 18px; font-size: 17px; color: var(--texte-doux); max-width: 68ch; }
.texte-long p:first-child { margin-top: 0; }
.texte-long h2 { font-size: clamp(21px, 2.6vw, 26px); font-weight: 700; margin-top: 34px; color: var(--texte); }

.pagination { display: flex; gap: 6px; justify-content: center; margin-top: 44px; }
.pagination a {
  font-family: var(--ff-mono);
  font-size: 13px;
  text-decoration: none;
  padding: 9px 14px;
  border: 1px solid var(--trait);
  background: var(--surface);
  color: var(--texte-doux);
}
.pagination a.actif { background: var(--encre); border-color: var(--encre); color: var(--ivoire); }

/* --------------------------------------------------------- estimateur */
.estimateur { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 26px; align-items: start; }
@media (max-width: 960px) { .estimateur { grid-template-columns: 1fr; } }

.est-familles { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.est-famille { border: 1px solid var(--trait); background: var(--surface); }
.est-famille h2 {
  font-family: var(--ff-mono);
  font-weight: 500;
  font-size: 11.5px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--texte-faible);
  padding: 15px 20px 12px;
  border-bottom: 1px solid var(--trait);
}
.est-ligne { display: flex; align-items: center; gap: 14px; padding: 12px 20px; border-bottom: 1px solid var(--trait); flex-wrap: wrap; }
.est-ligne:last-child { border-bottom: 0; }
.est-ligne.active { background: var(--accent-fond); }
.est-nom { flex: 1 1 220px; min-width: 0; font-size: 14.8px; }
.est-nom small {
  display: block;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .03em;
  color: var(--texte-faible);
  margin-top: 3px;
}

.compteur { display: flex; align-items: center; flex: none; }
.compteur button {
  width: 34px; height: 34px;
  border: 1px solid var(--trait);
  background: var(--fond);
  color: var(--texte);
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
  font-family: var(--ff-mono);
}
.compteur button:hover { border-color: var(--accent); color: var(--accent); }
.compteur input {
  width: 52px; height: 34px;
  text-align: center;
  border: 1px solid var(--trait);
  border-left: 0; border-right: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--ff-mono);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
  appearance: textfield;
}
.compteur input::-webkit-outer-spin-button,
.compteur input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.est-total { border: 1px solid var(--trait); background: var(--surface); position: sticky; top: 92px; min-width: 0; }
@media (max-width: 960px) { .est-total { position: static; } }
.est-total-tete { padding: 20px 22px 0; }
.est-montant {
  font-weight: 700;
  font-size: clamp(25px, 3.4vw, 33px);
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
  margin-top: 6px;
}
.est-montant .cur { font-size: .55em; color: var(--texte-doux); margin-left: 4px; }
.est-lignes { padding: 18px 22px 4px; display: flex; flex-direction: column; gap: 9px; }
.est-lignes .ligne { display: flex; justify-content: space-between; gap: 14px; font-size: 13.6px; color: var(--texte-doux); }
.est-lignes .ligne span:last-child { font-family: var(--ff-mono); font-variant-numeric: tabular-nums; white-space: nowrap; }
.est-vide { padding: 18px 22px; color: var(--texte-faible); font-size: 14px; }
.est-pied { padding: 16px 22px 22px; border-top: 1px solid var(--trait); margin-top: 14px; display: flex; flex-direction: column; gap: 14px; }
.est-pied small { color: var(--texte-faible); font-size: 12.4px; line-height: 1.55; }

/* ------------------------------------------------------------- équipe */
.deux-colonnes { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .deux-colonnes { grid-template-columns: 1fr; } }

.encadre { background: var(--surface); border: 1px solid var(--trait); border-top: 3px solid var(--accent); padding: 22px 24px 24px; }
.encadre h2 { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--texte-faible); font-weight: 500; }
.encadre dl { margin: 14px 0 0; }
.encadre dl div { display: flex; justify-content: space-between; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--trait); }
.encadre dl div:last-child { border-bottom: 0; }
.encadre dt { font-size: 14px; color: var(--texte-doux); }
.encadre dd { margin: 0; font-size: 14px; text-align: right; font-weight: 500; }

.grille-membres { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.carte-membre { background: var(--surface); border: 1px solid var(--trait); min-width: 0; }
.carte-membre img { aspect-ratio: 1; object-fit: cover; width: 100%; }
.photo-absente { aspect-ratio: 1; background: var(--encre); display: flex; align-items: center; justify-content: center; }
.carte-membre-corps { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 7px; }
.carte-membre .role { font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); }
.carte-membre h3 { font-size: 17px; font-weight: 600; }
.carte-membre p { font-size: 14px; color: var(--texte-doux); }

/* ------------------------------------------------------------ contact */
.contact-grille { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
@media (max-width: 900px) { .contact-grille { grid-template-columns: 1fr; } }

.formulaire .champ { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.formulaire label {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--texte-faible);
}
.formulaire input[type="text"],
.formulaire input[type="email"],
.formulaire input[type="tel"],
.formulaire input[type="password"],
.formulaire input[type="date"],
.formulaire input[type="number"],
.formulaire input[type="datetime-local"],
.formulaire select,
.formulaire textarea {
  font-family: var(--ff);
  font-size: 15.5px;
  padding: 11px 13px;
  border: 1px solid var(--trait);
  background: var(--surface);
  color: var(--texte);
  border-radius: var(--rayon);
  width: 100%;
}
.formulaire textarea { resize: vertical; line-height: 1.55; }
.formulaire input:focus, .formulaire select:focus, .formulaire textarea:focus { border-color: var(--accent); outline: none; }
.champ-double { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .champ-double { grid-template-columns: 1fr; } }
.champ.en-erreur input, .champ.en-erreur textarea, .champ.en-erreur select { border-color: #A3281E; }
.erreur { font-size: 13px; color: #A3281E; }
.aide { font-size: 12.6px; color: var(--texte-faible); }
.mention { font-size: 12.6px; color: var(--texte-faible); margin-top: 12px; }

.piege { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.message-succes { background: var(--surface); border: 1px solid var(--accent); border-left: 4px solid var(--accent); padding: 24px 26px; }
.message-succes h2 { font-size: 21px; font-weight: 700; }
.message-succes p { margin-top: 10px; color: var(--texte-doux); }
.message-erreur { background: #FBEAE7; border: 1px solid #D9A39B; color: #7A1F16; padding: 13px 16px; margin-bottom: 18px; font-size: 14.5px; }
.rappel-estimation { background: var(--accent-fond); padding: 11px 14px; font-size: 14px; margin-bottom: 16px; }

.contact-coord h2 { font-family: var(--ff-mono); font-size: 11px; letter-spacing: .13em; text-transform: uppercase; color: var(--texte-faible); font-weight: 500; }
.contact-coord dl { margin: 14px 0 0; }
.contact-coord dl div { padding: 14px 0; border-bottom: 1px solid var(--trait); }
.contact-coord dt { font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--texte-faible); }
.contact-coord dd { margin: 4px 0 0; font-size: 15.5px; }
.encadre-sobre { background: var(--surface); border: 1px solid var(--trait); padding: 20px 22px; margin-top: 26px; }
.encadre-sobre h3 { font-size: 16px; font-weight: 600; }
.encadre-sobre p { font-size: 14.3px; color: var(--texte-doux); margin-top: 10px; }

/* --------------------------------------------------------------- flash */
.flash { padding: 13px 16px; margin: 16px 0; font-size: 14.5px; border: 1px solid var(--accent); background: var(--accent-fond); }
.flash-erreur { border-color: #D9A39B; background: #FBEAE7; color: #7A1F16; }

/* ---------------------------------------------------------------- CTA */
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 700; }
.cta-band p { margin-top: 8px; opacity: .92; max-width: 60ch; }

/* ------------------------------------------------------------ pied de page */
.site-footer { background: var(--bande-fond); color: var(--bande-texte); padding-block: 52px 32px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)); gap: 34px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand p { color: var(--bande-doux); font-size: 14.5px; margin-top: 14px; max-width: 34ch; }
.footer-social { display: inline-block; margin-top: 12px; margin-right: 16px; font-size: 14px; color: var(--bande-accent); text-decoration: none; }
.footer-social:hover { text-decoration: underline; }

.footer-col h3 { font-family: var(--ff-mono); font-size: 10.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--bande-doux); font-weight: 500; }
.footer-col ul { margin-top: 14px; display: flex; flex-direction: column; gap: 9px; }
.footer-col a { font-size: 14.5px; color: var(--bande-texte); text-decoration: none; opacity: .86; }
.footer-col a:hover { opacity: 1; color: var(--bande-accent); }
.footer-contact li { font-size: 14px; color: var(--bande-doux); }

.footer-legal {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--bande-trait);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: .04em;
  color: var(--bande-doux);
}
.attente { color: var(--bande-accent); font-style: normal; }

/* --------------------------------------------------------- accessibilité */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; animation: none !important; }
}
