/* ═══════════════════════════════════════════════════════════
   LR Luis Raposo — entreprise de rénovation, Biel/Bienne
   Feuille unique : tokens, mise en page, composants, thème sombre.
   ═══════════════════════════════════════════════════════════ */

/* ─── Polices auto-hébergées (rien ne charge depuis Google) ─── */
@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-stretch: 100% 125%;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("assets/fonts/plex-mono-500-latin.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

/* ─── Tokens ─── */
:root {
  /* Bordeaux relevé sur la carte de visite de l'entreprise */
  --brand: #790A2E;          /* aplats, boutons (texte blanc dessus) */
  --brand-deep: #5A0721;
  --brand-ink: #790A2E;      /* petits textes et filets d'accent */
  --brand-display: #790A2E;  /* grands titres en couleur (hero, numéros d'étapes) */
  --logo: #790A2E;
  --sand: #D9CBB8;           /* libellés sur fonds sombres ou bordeaux — jamais de rose */

  --paper: #F5F2ED;          /* enduit : fond principal */
  --paper-2: #ECE7E0;
  --card: #FFFFFF;
  --ink: #1C1A19;
  --ink-2: #47423E;
  --muted: #6E6761;
  --line: #DBD4CB;
  --line-strong: #BDB4A9;

  --dark: #1C1A19;           /* bandeaux sombres (identiques dans les deux thèmes) */
  --dark-2: #262321;
  --on-dark: #F2EEE8;
  --on-dark-muted: #B3AAA1;

  --ok: #1F6B45;
  --err: #B3261E;

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

  --shell: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --section: clamp(72px, 10vw, 136px);
  --r: 2px;
  --header-h: 76px;

  color-scheme: light;
}

/* Thème sombre : préférence système, sauf si la page est forcée en clair ;
   [data-theme="dark"] force le sombre (aperçu Claude). */
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand: #8E1238;
    --brand-deep: #6E0C2A;
    --brand-ink: #D9CBB8;
    --brand-display: #C52A45;
    --logo: #EEE9E3;

    --paper: #141211;
    --paper-2: #1B1917;
    --card: #211E1C;
    --ink: #EEE9E3;
    --ink-2: #CFC8C0;
    --muted: #A1988F;
    --line: #34302C;
    --line-strong: #4A4540;

    --dark: #0D0C0B;
    --dark-2: #181615;

    --ok: #6FCF97;
    --err: #FF8A80;

    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --brand: #8E1238;
  --brand-deep: #6E0C2A;
  --brand-ink: #D9CBB8;
  --brand-display: #C52A45;
  --logo: #EEE9E3;

  --paper: #141211;
  --paper-2: #1B1917;
  --card: #211E1C;
  --ink: #EEE9E3;
  --ink-2: #CFC8C0;
  --muted: #A1988F;
  --line: #34302C;
  --line-strong: #4A4540;

  --dark: #0D0C0B;
  --dark-2: #181615;

  --ok: #6FCF97;
  --err: #FF8A80;

  color-scheme: dark;
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-family: var(--display); color: var(--ink); }
address { font-style: normal; }
::selection { background: var(--brand); color: #fff; }

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

.shell {
  width: 100%;
  max-width: calc(var(--shell) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--brand);
  color: #fff;
  text-decoration: none;
}
.skip:focus { top: 12px; }

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

/* ─── Libellés « plan d'architecte » ─── */
.label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 22px;
  font-family: var(--mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--brand-ink);
}
.label::after {
  content: "";
  flex: 0 0 48px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}
.label--light { color: var(--sand); }

.section-title {
  font-size: clamp(2rem, 1.3rem + 2.6vw, 3.3rem);
  font-weight: 780;
  font-stretch: 108%;
  line-height: 1.02;
  letter-spacing: -0.02em;
  max-width: 17ch;
  text-wrap: balance;
}
.section-intro {
  max-width: 56ch;
  margin-top: 20px;
  color: var(--ink-2);
  font-size: 1.08rem;
}

/* ─── Boutons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 24px;
  border: 1.5px solid transparent;
  border-radius: var(--r);
  font-family: var(--display);
  font-size: 1rem;
  font-weight: 650;
  font-stretch: 104%;
  text-decoration: none;
  line-height: 1.1;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn svg { flex: none; width: 18px; height: 18px; }
.btn--primary { background: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-deep); }
.btn--ghost { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: #fff; color: #5A0721; }
.btn--light:hover { background: #EDE6DC; }

/* ═══ En-tête ═══ */
.masthead {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.masthead.is-scrolled { border-bottom-color: var(--line); }
.masthead__inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: var(--header-h);
}

.lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
  margin-right: auto;
}
.lockup__mark { width: 50px; height: auto; flex: none; }
.lockup__text { display: flex; flex-direction: column; line-height: 1; }
.lockup__name {
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 720;
  font-stretch: 104%;
  letter-spacing: -0.01em;
}
.lockup__tag {
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-ink);
}

/* Logo : les couleurs viennent du CSS pour suivre le thème */
.mark-brand { stroke: var(--logo); }
.mark-fill { fill: var(--logo); }
.mark-steel-a { stop-color: #E4E2DF; }
.mark-steel-b { stop-color: #9C9894; }
.mark-edge { stroke: var(--ink); }
.mark-handle { stroke: var(--logo); }

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
}
.nav a {
  font-size: 0.96rem;
  font-weight: 520;
  text-decoration: none;
  color: var(--ink-2);
  transition: color 0.15s ease;
}
.nav a:hover { color: var(--brand-ink); }

.masthead__actions { display: flex; align-items: center; gap: 14px; }

.lang {
  display: flex;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  font-family: var(--mono);
  font-size: 12px;
}
.lang a,
.lang span {
  padding: 6px 9px;
  line-height: 1;
  text-decoration: none;
  color: var(--muted);
}
.lang [aria-current] { background: var(--ink); color: var(--paper); }
.lang a:hover { color: var(--ink); }

.masthead__call { min-height: 44px; padding: 0 18px; font-size: 0.95rem; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 1080px) {
  .nav { gap: 20px; }
  .masthead__call { display: none; }
}
@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .burger { display: block; }
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--gutter) 24px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(0, 0, 0, 0.25);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  }
  .nav.is-open {
    visibility: visible;
    opacity: 1;
    transform: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }
  .nav a {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.1rem;
    color: var(--ink);
  }
  .lockup__mark { width: 44px; }
  .lockup__name { font-size: 1.15rem; }
}
@media (max-width: 420px) {
  .lockup__tag { display: none; }
}

/* ═══ Hero ═══ */
.hero {
  padding-block: clamp(40px, 6vw, 88px) clamp(64px, 8vw, 112px);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.hero__kicker {
  display: block;
  margin-bottom: 22px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-ink);
}
.hero__title {
  font-size: clamp(2.75rem, 1.4rem + 5vw, 5.4rem);
  font-weight: 800;
  font-stretch: 112%;
  line-height: 0.96;
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.hero__title em {
  font-style: normal;
  color: var(--brand-display);
}
.hero__lead {
  max-width: 50ch;
  margin: 30px 0 0;
  font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
  color: var(--ink-2);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}
.hero__facts {
  display: grid;
  grid-template-columns: repeat(3, auto);
  justify-content: start;
  gap: 0;
  margin: 48px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}
.hero__facts li {
  padding: 18px 28px 0 0;
  margin-right: 28px;
  border-right: 1px solid var(--line);
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--muted);
}
.hero__facts li:last-child { border-right: 0; margin-right: 0; }
.hero__facts strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--display);
  font-size: 1.05rem;
  font-weight: 700;
  font-stretch: 104%;
  color: var(--ink);
}

/* Photo découpée en forme de maison, comme le logo */
.house {
  position: relative;
  aspect-ratio: 4 / 5;
  margin: 0;
  margin-left: auto;
  width: min(100%, 500px);
}
.house__photo {
  position: absolute;
  inset: 0;
  clip-path: polygon(0 38%, 12% 28.9%, 12% 8%, 24% 8%, 24% 19.76%, 50% 0, 100% 38%, 100% 100%, 0 100%);
  background: var(--paper-2);
}
.house__photo img { width: 100%; height: 100%; object-fit: cover; }
.house__outline {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: translate(-22px, 22px);
  overflow: visible;
  pointer-events: none;
}
.house__outline path {
  fill: none;
  stroke: var(--brand-ink);
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}
.house__tag {
  position: absolute;
  right: -10px;
  bottom: 32px;
  padding: 12px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  font-family: var(--mono);
  font-size: 11.5px;
  line-height: 1.5;
  letter-spacing: 0.04em;
  color: var(--muted);
  box-shadow: 0 16px 32px -20px rgba(0, 0, 0, 0.35);
}
.house__tag b { display: block; color: var(--ink); font-weight: 500; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .house { width: min(calc(100% - 24px), 420px); margin: 16px 0 0 auto; }
}
@media (max-width: 640px) {
  .hero__facts { grid-template-columns: 1fr; }
  .hero__facts li {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 12px 0;
    margin: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .hero__facts strong { margin: 0; min-width: 7.5em; }
  .hero__cta .btn { flex: 1 1 100%; }
  .house__tag { right: 0; }
  .house__outline { transform: translate(-12px, 12px); }
}

/* ═══ Sections ═══ */
.section { padding-block: var(--section); }
.section--alt { background: var(--paper-2); }
.section__head { margin-bottom: clamp(40px, 5vw, 64px); }
.section__head--split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: end;
}
.section__head--split .section-intro { margin: 0; }
@media (max-width: 820px) {
  .section__head--split { grid-template-columns: 1fr; }
}

/* ─── Prestations ─── */
.services {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.service {
  display: flex;
  flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
}
.service__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--paper-2);
}
.service__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.service:hover .service__img img { transform: scale(1.035); }
.service__body { padding: 24px 26px 28px; }
.service__num {
  display: block;
  margin-bottom: 10px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--brand-ink);
}
.service h3 {
  margin-bottom: 10px;
  font-size: 1.4rem;
  font-weight: 720;
  font-stretch: 106%;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.service p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }
@media (prefers-reduced-motion: reduce) {
  .service__img img { transition: none; }
  .service:hover .service__img img { transform: none; }
}
@media (max-width: 980px) {
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 620px) {
  .services { grid-template-columns: 1fr; }
}

/* ─── Béton ciré (bandeau sombre) ─── */
.feature {
  background: var(--dark);
  color: var(--on-dark);
}
.feature .section-title { color: #fff; }
.feature__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.feature__photo { margin: 0; position: relative; }
.feature__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.feature__photo figcaption {
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--on-dark-muted);
}
.feature__text p { color: var(--on-dark-muted); max-width: 54ch; }
.feature__text .section-intro { color: #D9D2CA; }
.perks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 32px;
  margin: 36px 0;
  padding: 0;
  list-style: none;
}
.perks li {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.perks strong {
  display: block;
  margin-bottom: 4px;
  font-family: var(--display);
  font-size: 1.08rem;
  font-weight: 680;
  font-stretch: 104%;
  color: #fff;
}
.perks span { font-size: 0.95rem; color: var(--on-dark-muted); }
@media (max-width: 900px) {
  .feature__grid { grid-template-columns: 1fr; }
  .feature__photo { max-width: 460px; }
}
@media (max-width: 560px) {
  .perks { grid-template-columns: 1fr; }
}

/* ─── Méthode ─── */
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step {
  position: relative;
  padding: 30px 28px 0 0;
  border-top: 1.5px solid var(--ink);
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: block;
  margin-bottom: 22px;
  font-family: var(--display);
  font-size: 3.4rem;
  font-weight: 800;
  font-stretch: 118%;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--brand-display);
}
.step::after {
  content: "";
  position: absolute;
  top: -5px;
  left: 0;
  width: 9px;
  height: 9px;
  background: var(--brand);
}
.step h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  font-stretch: 105%;
}
.step p { margin: 0; color: var(--ink-2); font-size: 0.98rem; }
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px 0; }
}
@media (max-width: 540px) {
  .steps { grid-template-columns: 1fr; gap: 36px; }
  .step { padding-right: 0; }
}

/* ─── L'entreprise ─── */
.about {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.about__text > p { color: var(--ink-2); max-width: 56ch; }
.about__text > .about__lead { margin-top: 28px; font-size: 1.12rem; color: var(--ink); }
.facts {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0;
  margin: 36px 0 0;
  border-top: 1px solid var(--line);
}
.facts dt,
.facts dd {
  margin: 0;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}
.facts dt {
  padding-right: 32px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.9;
}
.facts dd { font-weight: 520; }

.zone { margin-top: 36px; }
.zone h3 {
  margin-bottom: 14px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-ink);
}
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.chips li {
  padding: 7px 13px;
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  font-size: 0.92rem;
  color: var(--ink-2);
}
.chips li:first-child { background: var(--brand); border-color: var(--brand); color: #fff; }

/* Photos réelles, petites : mosaïque serrée avec légende « terrain » */
.field { margin: 0; }
.field__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.field__grid figure { margin: 0; position: relative; overflow: hidden; background: var(--paper-2); }
.field__grid img { width: 100%; height: 100%; object-fit: cover; }
.field__grid figure:first-child { grid-column: 1 / -1; aspect-ratio: 506 / 400; }
.field__grid figure:not(:first-child) { aspect-ratio: 4 / 5; }
.field__grid figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 5px 9px;
  background: rgba(20, 18, 17, 0.78);
  color: #fff;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.field__note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.field__note::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
}
.field { max-width: 540px; justify-self: end; width: 100%; }
@media (max-width: 900px) {
  .about { grid-template-columns: 1fr; }
  .field { justify-self: start; }
}

/* ═══ Contact ═══ */
.contact {
  background: var(--brand);
  color: #fff;
  position: relative;
  overflow: hidden;
}
/* Silhouette de maison en filigrane, reprise du logo */
.contact::before {
  content: "";
  position: absolute;
  left: -120px;
  bottom: -60px;
  width: 520px;
  height: 560px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 440'%3E%3Cpath d='M30 440V168L190 30l180 138v272' fill='none' stroke='%23fff' stroke-width='22' opacity='.06'/%3E%3C/svg%3E") no-repeat center / contain;
  pointer-events: none;
}
.contact .section-title { color: #fff; }
.contact__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact__lead { margin-top: 20px; color: rgba(255, 255, 255, 0.88); max-width: 42ch; font-size: 1.08rem; }
.contact__list { margin: 40px 0 0; padding: 0; list-style: none; }
.contact__list li {
  padding: 16px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}
.contact__list li:last-child { border-bottom: 1px solid rgba(255, 255, 255, 0.2); }
.contact__list small {
  display: block;
  margin-bottom: 2px;
  font-family: var(--mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.contact__list a,
.contact__list address {
  font-size: 1.12rem;
  font-weight: 560;
  text-decoration: none;
  color: #fff;
}
.contact__list a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact__list .big {
  font-family: var(--display);
  font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem);
  font-weight: 760;
  font-stretch: 108%;
  letter-spacing: -0.01em;
}

.form {
  padding: clamp(24px, 4vw, 44px);
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.5);
}
.form h3 {
  margin-bottom: 6px;
  font-size: 1.45rem;
  font-weight: 720;
  font-stretch: 106%;
}
.form__sub { color: var(--muted); font-size: 0.95rem; margin-bottom: 26px; }
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field-input { margin-bottom: 16px; }
.field-input label {
  display: block;
  margin-bottom: 7px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
}
.field-input label span { font-weight: 400; color: var(--muted); }
.field-input input,
.field-input select,
.field-input textarea {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r);
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.field-input select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236E6761' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 12px 8px;
}
.field-input textarea { min-height: 132px; resize: vertical; }
.field-input input:focus,
.field-input select:focus,
.field-input textarea:focus {
  outline: none;
  border-color: var(--brand-ink);
  background: var(--card);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--brand-ink) 18%, transparent);
}
.field-input [aria-invalid="true"] { border-color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 8px;
}
.form__legal { flex: 1 1 240px; margin: 0; font-size: 0.84rem; color: var(--muted); line-height: 1.5; }
.form__legal a { color: var(--ink-2); }
.form__note { margin: 16px 0 0; min-height: 1.5em; font-size: 0.95rem; font-weight: 520; color: var(--ok); }
.form__note.is-error { color: var(--err); }
.form__note a { color: inherit; }
@media (max-width: 900px) {
  .contact__grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .form__foot .btn { width: 100%; }
}

/* ═══ Pied de page ═══ */
.footer {
  background: var(--dark);
  color: var(--on-dark-muted);
  padding: 72px 0 32px;
  font-size: 0.95rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.footer .lockup { color: #fff; margin: 0 0 18px; }
.footer .lockup__tag { color: var(--sand); }
.footer .mark-brand { stroke: #fff; }
.footer .mark-fill { fill: #fff; }
.footer .mark-edge { stroke: #fff; }
.footer .mark-handle { stroke: #fff; }
.footer h2 {
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}
.footer ul { margin: 0; padding: 0; list-style: none; }
.footer li { margin-bottom: 8px; }
.footer a { text-decoration: none; color: var(--on-dark-muted); }
.footer a:hover { color: #fff; }
.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.85rem;
}
@media (max-width: 900px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
  .footer__grid { grid-template-columns: 1fr; }
}

/* ═══ Barre d'appel mobile ═══ */
.callbar { display: none; }
@media (max-width: 720px) {
  .callbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 40;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--paper) 94%, transparent);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
    transform: translateY(110%);
    transition: transform 0.25s ease;
  }
  .callbar.is-visible { transform: none; }
  .callbar .btn { min-height: 48px; padding: 0 12px; }
  .footer { padding-bottom: 104px; }
}

/* ═══ Pages légales ═══ */
.legal { padding-block: clamp(48px, 7vw, 96px) var(--section); }
.legal__inner { max-width: 760px; }
.legal__title {
  font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem);
  font-weight: 780;
  font-stretch: 108%;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.legal__updated { margin: 16px 0 48px; color: var(--muted); font-size: 0.92rem; }
.legal h2 {
  margin: 48px 0 14px;
  font-size: 1.35rem;
  font-weight: 700;
  font-stretch: 104%;
}
.legal p,
.legal li { color: var(--ink-2); }
.legal ul { padding-left: 1.2em; }
.legal address {
  margin-bottom: 1em;
  padding: 18px 20px;
  background: var(--card);
  border-left: 3px solid var(--brand);
  line-height: 1.7;
  white-space: pre-line;
}
.legal a { color: var(--brand-ink); }

/* Pied de page réduit des pages légales */
.footer--slim { padding: 28px 0; }
.footer--slim .footer__bottom { margin: 0; padding: 0; border: 0; }
@media (max-width: 720px) {
  .footer--slim { padding-bottom: 28px; }
}
