/* Atelier Penhoat : salles de bains et cuisines, Vannes. Le vocabulaire du chantier bien tenu : un plan coté,
   un mètre ruban jaune, le bleu des bleus de travail. Une seule famille, Archivo, dont on joue la largeur :
   très étirée pour les titres, normale pour le texte. */

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

:root {
  --kit-bg: #f3f4f1;
  --kit-surface: #ffffff;
  --kit-fg: #1b1f23;
  --kit-line: #d9dcd8;
  --kit-accent: #2950a8;
  --muted: #565d65;
  --fond-2: #e9ebe7;
  --bleu: #2950a8;
  --bleu-fonce: #1f3f88;
  --bleu-doux: #e2e8f5;
  --sur-bleu: #ffffff;
  --jaune: #f2c230;
  --jaune-fonce: #d9a90f;
  --sur-jaune: #1b1f23;
  --rouge: #a3321f;
  --ok: #1d6b45;
  --plan-fond: #fbfbf9;
  --plan-grille: #e3e7ee;
  --plan-mur: #1b1f23;
  --plan-trait: #1b1f23;
  --plan-objet: #ffffff;
  --ph-fond: #dfe2dd;
  --ombre: 0 28px 60px -34px rgba(27, 31, 35, 0.45);
  --texte: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --kit-radius: 6px;
  --champ-rayon: 6px;
  --pastille-rayon: 6px;
  --pastille-choisie: var(--bleu);
  --pastille-choisie-texte: #fff;
}
:root[data-theme="dark"] {
  --kit-bg: #121519;
  --kit-surface: #1a1e23;
  --kit-fg: #e9ebed;
  --kit-line: #2c3238;
  --kit-accent: #8fb0ff;
  --muted: #a4abb3;
  --fond-2: #171a1f;
  --bleu: #8fb0ff;
  --bleu-fonce: #b2c8ff;
  --bleu-doux: #1d2638;
  --sur-bleu: #0f1420;
  --jaune: #f2c230;
  --jaune-fonce: #f6d25f;
  --sur-jaune: #1b1f23;
  --rouge: #f08a73;
  --ok: #7fd3a6;
  --plan-fond: #161a1e;
  --plan-grille: #222831;
  --plan-mur: #e9ebed;
  --plan-trait: #c9ced4;
  --plan-objet: #1f242a;
  --ph-fond: #23282e;
  --ombre: 0 30px 70px -30px rgba(0, 0, 0, 0.8);
  --pastille-choisie: #8fb0ff;
  --pastille-choisie-texte: #0f1420;
}

html {
  font-family: var(--texte);
  font-size: 17px;
  line-height: 1.6;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}
a {
  color: inherit;
  text-underline-offset: 3px;
}
h1,
h2,
h3 {
  font-stretch: 116%;
  font-weight: 760;
  letter-spacing: -0.02em;
  line-height: 1.04;
}
h1 {
  font-size: clamp(2.2rem, 1.3rem + 3.6vw, 4.1rem);
}
h2 {
  font-size: clamp(1.6rem, 1.15rem + 1.7vw, 2.45rem);
}
h3 {
  font-size: 1.18rem;
  font-stretch: 108%;
  letter-spacing: -0.01em;
  line-height: 1.2;
}
p {
  margin: 0;
}
/* Un titre qui reçoit le focus après un changement d'étape n'a pas besoin d'être encadré. */
[tabindex="-1"]:focus {
  outline: none;
}
.conteneur {
  width: min(1240px, 100% - 40px);
  margin-inline: auto;
}

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 20px;
  border-radius: 6px;
  border: 1.5px solid transparent;
  font-weight: 650;
  font-size: 0.96rem;
  font-stretch: 104%;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.25s ease,
    transform 0.25s var(--kit-ease);
}
.btn--plein {
  background: var(--bleu);
  color: var(--sur-bleu);
}
.btn--plein:hover {
  background: var(--bleu-fonce);
  box-shadow: 0 12px 26px -14px rgba(41, 80, 168, 0.85);
}
.btn--jaune {
  background: var(--jaune);
  color: var(--sur-jaune);
}
.btn--jaune:hover {
  background: var(--jaune-fonce);
}
.btn--ligne {
  background: transparent;
  border-color: color-mix(in srgb, var(--kit-fg) 32%, transparent);
  color: var(--kit-fg);
}
.btn--ligne:hover {
  border-color: var(--kit-fg);
  background: color-mix(in srgb, var(--kit-fg) 5%, transparent);
}
.btn--ligne-clair {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}
.btn--ligne-clair:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
}
.btn--large {
  min-height: 52px;
  padding-inline: 26px;
  font-size: 1rem;
}
.btn--danger {
  background: var(--rouge);
  color: #fff;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.lien-fleche {
  font-weight: 650;
  text-decoration: none;
  border-bottom: 2px solid var(--jaune);
  padding-bottom: 1px;
  transition: border-color 0.2s ease;
}
.lien-fleche:hover {
  border-color: var(--bleu);
}

/* ---------- En-tête ---------- */
.entete {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--kit-bg) 90%, transparent);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s ease,
    background-color 0.3s ease;
}
.entete.is-compact {
  border-bottom-color: var(--kit-line);
}
.entete__in {
  display: flex;
  align-items: center;
  gap: 22px;
  min-height: 76px;
  transition: min-height 0.3s var(--kit-ease);
}
.entete.is-compact .entete__in {
  min-height: 64px;
}
.marque {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--kit-fg);
}
.marque__signe {
  width: 34px;
  height: 34px;
  flex: none;
  color: var(--bleu);
}
.marque__graduations {
  stroke: var(--kit-bg);
}
.marque__bulle {
  fill: var(--jaune);
}
.marque__nom {
  display: grid;
  font-size: 1.42rem;
  font-weight: 800;
  font-stretch: 125%;
  letter-spacing: -0.02em;
  line-height: 1;
}
.marque__nom small {
  font-size: 0.66rem;
  font-weight: 560;
  font-stretch: 100%;
  letter-spacing: 0.01em;
  color: var(--muted);
  margin-top: 4px;
}
.nav {
  margin-left: auto;
}
.nav ul {
  display: flex;
  gap: 2px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 560;
  font-size: 0.95rem;
  transition: background-color 0.2s ease;
}
.nav a:hover {
  background: color-mix(in srgb, var(--kit-fg) 6%, transparent);
}
.nav a[aria-current="page"] {
  box-shadow: inset 0 -2px 0 var(--jaune);
  border-radius: 0;
}
.entete__actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.entete__devis {
  min-height: 42px;
  padding-inline: 16px;
}
.kit-theme {
  border-radius: 6px;
}
.burger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  border: 1px solid var(--kit-line);
  background: var(--kit-surface);
  color: var(--kit-fg);
  cursor: pointer;
  place-items: center;
  align-content: center;
  gap: 5px;
}
.burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition: transform 0.3s var(--kit-ease);
}
.menu-ouvert .burger span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}
.menu-ouvert .burger span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}
.menu-mobile {
  border-top: 1px solid var(--kit-line);
  padding: 10px 20px 22px;
}
.menu-mobile ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
}
.menu-mobile a {
  display: block;
  padding: 12px 2px;
  font-size: 1.3rem;
  font-weight: 700;
  font-stretch: 112%;
  text-decoration: none;
  border-bottom: 1px solid var(--kit-line);
}
@media (max-width: 1019px) {
  .nav {
    display: none;
  }
  .burger {
    display: grid;
  }
  .entete__actions {
    margin-left: auto;
  }
}
@media (max-width: 560px) {
  .entete__devis {
    display: none;
  }
}

/* ---------- Sections ---------- */
.section {
  padding: clamp(64px, 8vw, 112px) 0;
}
.section--serree {
  padding-top: 24px;
}
.section__tete {
  display: grid;
  gap: 14px;
  max-width: 720px;
  margin-bottom: 40px;
}
.section__tete p {
  color: var(--muted);
  font-size: 1.06rem;
}
.section__tete--ligne {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.tete-page {
  padding: clamp(40px, 6vw, 72px) 0 24px;
}
.tete-page h1 {
  max-width: 14ch;
}
.tete-page p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 1.08rem;
  max-width: 56ch;
}
.coches {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.coches li {
  position: relative;
  padding-left: 26px;
}
.coches li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.42em;
  width: 12px;
  height: 7px;
  border-left: 2.2px solid var(--bleu);
  border-bottom: 2.2px solid var(--bleu);
  transform: rotate(-45deg);
}

/* ---------- Ouverture ---------- */
.ouverture {
  padding: clamp(28px, 4vw, 56px) 0 0;
}
.ouverture__in {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 4vw, 64px);
  align-items: center;
}
.ouverture__texte {
  display: grid;
  gap: 22px;
}
.ouverture__texte h1 {
  max-width: 15ch;
  font-size: clamp(2.2rem, 1.2rem + 3vw, 3.7rem);
}
.ouverture__chapo {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 50ch;
}
.ouverture__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.ouverture__aide {
  font-size: 0.9rem;
  color: var(--muted);
}
.ouverture__visuel {
  position: relative;
  margin: 0;
}
.ouverture__visuel .ph {
  aspect-ratio: 5 / 4;
  border-radius: 8px;
  box-shadow: var(--ombre);
}
/* Le moment de la page : la photo se pose, puis les cotes se tracent sur la salle de bains. */
.cotes-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}
.cotes-photo__trait path {
  fill: none;
  stroke: var(--jaune);
  stroke-width: 2.4;
  vector-effect: non-scaling-stroke;
  stroke-linecap: square;
}
.ruban {
  position: absolute;
  padding: 3px 9px;
  border-radius: 3px;
  background: var(--jaune);
  color: var(--sur-jaune);
  font-size: 0.82rem;
  font-weight: 750;
  font-stretch: 110%;
  font-variant-numeric: tabular-nums;
  box-shadow: 0 6px 16px -8px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}
.ruban--haut {
  left: 53%;
  top: 11.5%;
  transform: translate(-50%, -50%);
}
.ruban--cote {
  left: 94.4%;
  top: 64%;
  transform: translate(-50%, -50%) rotate(-90deg);
}
.motion .cotes-photo__trait path {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: tracer 1.1s 0.9s cubic-bezier(0.6, 0.05, 0.2, 1) forwards;
}
.motion .cotes-photo__trait path:nth-child(2) {
  animation-delay: 1.5s;
  animation-duration: 0.4s;
}
.motion .cotes-photo__trait path:nth-child(3) {
  animation-delay: 1.35s;
}
.motion .cotes-photo__trait path:nth-child(4) {
  animation-delay: 1.95s;
  animation-duration: 0.4s;
}
.motion .ruban {
  opacity: 0;
  animation: ruban 0.5s 1.75s var(--kit-ease) forwards;
}
.motion .ruban--cote {
  animation-delay: 2.2s;
}
@keyframes tracer {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes ruban {
  from {
    opacity: 0;
    translate: 0 6px;
  }
  to {
    opacity: 1;
    translate: 0 0;
  }
}
.fiche-chantier {
  position: absolute;
  left: -22px;
  bottom: -26px;
  display: grid;
  gap: 2px;
  max-width: 300px;
  padding: 14px 18px;
  border-radius: 6px;
  background: var(--kit-surface);
  border: 1px solid var(--kit-line);
  box-shadow: var(--ombre);
  font-size: 0.88rem;
}
.fiche-chantier span {
  color: var(--muted);
}
.motion .fiche-chantier {
  opacity: 0;
  animation: ruban 0.6s 2.5s var(--kit-ease) forwards;
}
.engagements {
  list-style: none;
  padding: 0;
  margin-top: clamp(56px, 7vw, 88px);
  margin-bottom: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--kit-fg);
}
.engagements li {
  display: grid;
  gap: 4px;
  padding: 18px 22px 0 0;
  color: var(--muted);
  font-size: 0.93rem;
}
.engagements strong {
  color: var(--kit-fg);
  font-size: 1rem;
  font-stretch: 108%;
}
@media (max-width: 900px) {
  .ouverture__in {
    grid-template-columns: minmax(0, 1fr);
  }
  .fiche-chantier {
    left: 12px;
    bottom: -22px;
  }
  .engagements {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 18px;
  }
}
@media (max-width: 520px) {
  .engagements {
    grid-template-columns: minmax(0, 1fr);
  }
  .ruban {
    font-size: 0.72rem;
    padding: 2px 6px;
  }
}

/* ---------- Deux métiers ---------- */
.metiers {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.metier {
  display: grid;
  background: var(--kit-surface);
  border: 1px solid var(--kit-line);
  border-radius: 8px;
  overflow: hidden;
}
.metier .ph {
  aspect-ratio: 4 / 3;
}
.metier__corps {
  display: grid;
  gap: 16px;
  padding: 24px 26px 28px;
  align-content: start;
}
.metier__corps .lien-fleche {
  justify-self: start;
}
@media (max-width: 760px) {
  .metiers {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Planning type (diagramme de Gantt) ---------- */
.section--planning {
  background: var(--fond-2);
}
.gantt {
  margin: 0;
  padding: 24px 26px 22px;
  background: var(--kit-surface);
  border: 1px solid var(--kit-line);
  border-radius: 8px;
}
.gantt__entete,
.gantt__ligne {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}
.gantt__entete {
  padding-bottom: 10px;
  border-bottom: 1px solid var(--kit-line);
  font-size: 0.8rem;
  color: var(--muted);
}
.gantt__jours {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
}
.gantt__jour {
  text-align: center;
  font-variant-numeric: tabular-nums;
}
.gantt__lignes {
  list-style: none;
  margin: 0;
  padding: 6px 0 0;
}
.gantt__ligne {
  padding: 7px 0;
  border-bottom: 1px dashed color-mix(in srgb, var(--kit-line) 70%, transparent);
}
.gantt__corps {
  font-size: 0.9rem;
  font-weight: 560;
}
.gantt__piste {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  height: 22px;
  background: repeating-linear-gradient(90deg, transparent 0 calc(100% / 12 - 1px), color-mix(in srgb, var(--kit-line) 80%, transparent) calc(100% / 12 - 1px) calc(100% / 12));
}
.gantt__barre {
  grid-row: 1;
  margin: 3px 2px;
  border-radius: 3px;
  background: var(--bleu);
  transform-origin: left center;
}
.gantt__ligne:last-child .gantt__barre {
  background: var(--jaune);
}
.gantt__barre--d1 { grid-column-start: 1; }
.gantt__barre--d2 { grid-column-start: 2; }
.gantt__barre--d3 { grid-column-start: 3; }
.gantt__barre--d4 { grid-column-start: 4; }
.gantt__barre--d6 { grid-column-start: 6; }
.gantt__barre--d9 { grid-column-start: 9; }
.gantt__barre--d10 { grid-column-start: 10; }
.gantt__barre--d12 { grid-column-start: 12; }
.gantt__barre--f2 { grid-column-end: 3; }
.gantt__barre--f4 { grid-column-end: 5; }
.gantt__barre--f6 { grid-column-end: 7; }
.gantt__barre--f9 { grid-column-end: 10; }
.gantt__barre--f10 { grid-column-end: 11; }
.gantt__barre--f11 { grid-column-end: 12; }
.gantt__barre--f12 { grid-column-end: 13; }
.motion .gantt .gantt__barre {
  transform: scaleX(0);
  transition: transform 0.7s cubic-bezier(0.6, 0.05, 0.2, 1);
}
.motion .gantt.is-in .gantt__barre {
  transform: none;
}
.motion .gantt.is-in .gantt__ligne:nth-child(2) .gantt__barre { transition-delay: 0.12s; }
.motion .gantt.is-in .gantt__ligne:nth-child(3) .gantt__barre { transition-delay: 0.24s; }
.motion .gantt.is-in .gantt__ligne:nth-child(4) .gantt__barre { transition-delay: 0.36s; }
.motion .gantt.is-in .gantt__ligne:nth-child(5) .gantt__barre { transition-delay: 0.48s; }
.motion .gantt.is-in .gantt__ligne:nth-child(6) .gantt__barre { transition-delay: 0.6s; }
.motion .gantt.is-in .gantt__ligne:nth-child(7) .gantt__barre { transition-delay: 0.72s; }
.motion .gantt.is-in .gantt__ligne:nth-child(8) .gantt__barre { transition-delay: 0.84s; }
.gantt figcaption {
  margin-top: 14px;
  font-size: 0.88rem;
  color: var(--muted);
}
@media (max-width: 640px) {
  .gantt {
    padding: 16px 14px;
  }
  .gantt__entete,
  .gantt__ligne {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }
  .gantt__entete > .gantt__corps {
    display: none;
  }
}

/* ---------- Étapes ---------- */
.etapes {
  list-style: none;
  margin: 48px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  counter-reset: etape;
}
.etapes li {
  counter-increment: etape;
  display: grid;
  align-content: start;
  gap: 10px;
  padding-top: 16px;
  border-top: 2px solid var(--kit-fg);
}
.etapes li::before {
  content: counter(etape);
  justify-self: start;
  min-width: 28px;
  padding: 1px 8px;
  border-radius: 3px;
  background: var(--jaune);
  color: var(--sur-jaune);
  font-weight: 800;
  font-stretch: 112%;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.etapes p {
  color: var(--muted);
  font-size: 0.93rem;
}
.etapes__ph {
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  order: 3;
}
@media (max-width: 1000px) {
  .etapes {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .etapes {
    grid-template-columns: minmax(0, 1fr);
  }
  .etapes__ph {
    aspect-ratio: 16 / 9;
  }
}

/* ---------- Chantiers (cartes) ---------- */
.grille-chantiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: 22px;
}
.chantier {
  position: relative;
  display: grid;
  align-content: start;
  gap: 12px;
  text-align: left;
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}
.chantier--haut {
  grid-row: span 2;
}
.chantier .ph {
  aspect-ratio: 4 / 3;
  border-radius: 6px;
}
.chantier--haut .ph {
  aspect-ratio: auto;
  height: 100%;
  min-height: 360px;
}
.chantier--haut {
  grid-template-rows: 1fr auto;
}
.chantier .ph img {
  transition:
    opacity 0.8s var(--kit-ease),
    transform 0.9s var(--kit-ease);
}
.chantier:hover .ph img.is-loaded {
  transform: scale(1.03);
}
.chantier__texte {
  display: grid;
  gap: 4px;
}
.chantier__titre {
  font-size: 1.06rem;
  font-weight: 700;
  font-stretch: 106%;
  line-height: 1.25;
}
.chantier__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 14px;
  font-size: 0.88rem;
  color: var(--muted);
}
.chantier__meta span + span::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 14px;
  vertical-align: middle;
  background: var(--jaune);
  border-radius: 1px;
}
.chantier:focus-visible {
  outline: 2px solid var(--bleu);
  outline-offset: 6px;
  border-radius: 6px;
}
@media (max-width: 960px) {
  .grille-chantiers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  .grille-chantiers {
    grid-template-columns: minmax(0, 1fr);
  }
  .chantier--haut {
    grid-row: auto;
  }
  .chantier--haut .ph {
    aspect-ratio: 4 / 5;
    min-height: 0;
  }
}
.filtres {
  margin-top: 26px;
}
.filtres .pastille span {
  gap: 8px;
}
.filtres .pastille small {
  font-variant-numeric: tabular-nums;
  opacity: 0.7;
}

/* ---------- Fenêtre d'un chantier ---------- */
dialog.kit-dialog.fenetre-projet {
  max-width: min(1080px, calc(100vw - 32px));
  border-radius: 8px;
}
.fenetre-projet .fermer {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}
.fenetre-projet__corps {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  min-height: 0;
}
.fenetre-projet__corps .ph {
  aspect-ratio: auto;
  min-height: 100%;
}
.fenetre-projet__info {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 34px 32px 24px;
}
.fenetre-projet__commune {
  font-size: 0.9rem;
  color: var(--muted);
}
.fenetre-projet__chiffres {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 0;
  padding: 14px 0;
  border-block: 1px solid var(--kit-line);
}
.fenetre-projet__chiffres dt {
  font-size: 0.8rem;
  color: var(--muted);
}
.fenetre-projet__chiffres dd {
  margin: 0;
  font-weight: 700;
  font-stretch: 106%;
  font-variant-numeric: tabular-nums;
}
.fenetre-projet__note {
  padding-left: 14px;
  border-left: 3px solid var(--jaune);
  color: var(--muted);
  font-size: 0.94rem;
}
.fenetre-projet__pied {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-top: 1px solid var(--kit-line);
}
.fenetre-projet__rang {
  font-size: 0.88rem;
  color: var(--muted);
}
@media (max-width: 760px) {
  .fenetre-projet__corps {
    grid-template-columns: minmax(0, 1fr);
  }
  .fenetre-projet__corps .ph {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }
  .fenetre-projet__info {
    padding: 22px 20px;
  }
}
.fermer {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 6px;
  border: 1px solid var(--kit-line);
  background: var(--kit-surface);
  color: var(--kit-fg);
  cursor: pointer;
}
.fermer svg {
  width: 18px;
  height: 18px;
}

/* ---------- L'atelier ---------- */
.atelier__in {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.atelier__visuel .ph {
  aspect-ratio: 4 / 5;
  border-radius: 8px;
}
.atelier__texte {
  display: grid;
  gap: 20px;
}
.atelier__texte > p {
  color: var(--muted);
  font-size: 1.06rem;
}
.atelier__faits {
  display: grid;
  gap: 0;
  margin: 8px 0 0;
}
.atelier__faits div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--kit-line);
}
.atelier__faits dt {
  font-weight: 700;
  font-stretch: 108%;
}
.atelier__faits dd {
  margin: 0;
  color: var(--muted);
}
@media (max-width: 860px) {
  .atelier__in {
    grid-template-columns: minmax(0, 1fr);
  }
  .atelier__faits div {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
}

/* ---------- Bandeau d'appel ---------- */
.bandeau {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(80px, 11vw, 150px) 0;
  color: #fff;
  background: #15181c;
}
.bandeau__ph {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.bandeau::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(14, 16, 19, 0.92) 0%, rgba(14, 16, 19, 0.72) 55%, rgba(14, 16, 19, 0.45) 100%);
}
.bandeau__in {
  display: grid;
  gap: 18px;
  justify-items: start;
}
.bandeau h2 {
  max-width: 18ch;
}
.bandeau p {
  max-width: 48ch;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.06rem;
}

/* ---------- Estimation ---------- */
.devis {
  padding: clamp(28px, 4vw, 56px) 0 clamp(64px, 8vw, 104px);
}
.devis__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
}
.devis__colonne {
  display: grid;
  gap: 26px;
  min-width: 0;
}
.devis__tete {
  display: grid;
  gap: 12px;
}
.devis__tete p {
  color: var(--muted);
  font-size: 1.04rem;
  max-width: 54ch;
}
.etapes-fil li[data-aller] {
  cursor: default;
}
.etapes-fil li.is-fait {
  cursor: pointer;
}
.etapes-fil li[aria-current="step"],
.etapes-fil li.is-fait {
  border-top-color: var(--bleu);
}
.simulateur,
.etape {
  display: grid;
  gap: 22px;
  min-width: 0;
}
fieldset.etape {
  border: 0;
  margin: 0;
  padding: 0;
}
.etape > legend {
  padding: 0;
  margin-bottom: 4px;
}
.etape__aide {
  color: var(--muted);
  margin-top: -10px;
}
.choix-pieces {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.choix-piece {
  position: relative;
}
.choix-piece input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.choix-piece > span {
  display: grid;
  gap: 6px;
  height: 100%;
  padding: 18px 16px;
  border-radius: 6px;
  border: 1.5px solid var(--kit-line);
  background: var(--kit-surface);
  transition:
    border-color 0.2s ease,
    box-shadow 0.25s ease,
    background-color 0.2s ease;
}
.choix-piece svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  color: var(--muted);
  transition: color 0.2s ease;
}
.choix-piece strong {
  font-stretch: 108%;
}
.choix-piece small {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.4;
}
.choix-piece input:checked + span {
  border-color: var(--bleu);
  box-shadow: inset 0 0 0 1px var(--bleu);
  background: color-mix(in srgb, var(--bleu-doux) 60%, var(--kit-surface));
}
.choix-piece input:checked + span svg {
  color: var(--bleu);
}
.choix-piece input:focus-visible + span {
  outline: 2px solid var(--bleu);
  outline-offset: 3px;
}
@media (max-width: 560px) {
  .choix-pieces {
    grid-template-columns: minmax(0, 1fr);
  }
  .choix-piece > span {
    grid-template-columns: auto 1fr;
    column-gap: 14px;
    align-items: center;
  }
  .choix-piece svg {
    grid-row: span 2;
  }
}

/* Réglettes : la piste est un mètre ruban. */
.reglette {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 16px;
  align-items: baseline;
}
.reglette label {
  font-weight: 600;
}
.reglette__valeur {
  font-weight: 800;
  font-stretch: 112%;
  font-size: 1.15rem;
}
.reglette input[type="range"] {
  grid-column: 1 / -1;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 34px;
  margin: 0;
  background: transparent;
  cursor: pointer;
}
.reglette input[type="range"]::-webkit-slider-runnable-track {
  height: 14px;
  border-radius: 3px;
  background:
    repeating-linear-gradient(90deg, rgba(27, 31, 35, 0.75) 0 1.5px, transparent 1.5px 10%) 0 0 / 100% 7px no-repeat,
    repeating-linear-gradient(90deg, rgba(27, 31, 35, 0.45) 0 1px, transparent 1px 2%) 0 0 / 100% 4px no-repeat,
    var(--jaune);
}
.reglette input[type="range"]::-moz-range-track {
  height: 14px;
  border-radius: 3px;
  background:
    repeating-linear-gradient(90deg, rgba(27, 31, 35, 0.75) 0 1.5px, transparent 1.5px 10%) 0 0 / 100% 7px no-repeat,
    repeating-linear-gradient(90deg, rgba(27, 31, 35, 0.45) 0 1px, transparent 1px 2%) 0 0 / 100% 4px no-repeat,
    var(--jaune);
}
.reglette input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 8px;
  height: 30px;
  margin-top: -8px;
  border-radius: 2px;
  background: var(--kit-fg);
  border: 2px solid var(--kit-surface);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}
.reglette input[type="range"]::-moz-range-thumb {
  width: 8px;
  height: 30px;
  border-radius: 2px;
  background: var(--kit-fg);
  border: 2px solid var(--kit-surface);
}
.reglette input[type="range"]:focus-visible {
  outline: 2px solid var(--bleu);
  outline-offset: 4px;
  border-radius: 4px;
}
.options {
  display: grid;
  gap: 22px;
}
.compteur {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  align-items: center;
}
.compteur > span {
  font-weight: 600;
}
.compteur small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 0.86rem;
}
.quantite {
  border-radius: 6px;
}
.quantite button {
  border-radius: 6px;
}
.case {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid var(--kit-line);
  border-radius: 6px;
  background: var(--kit-surface);
  cursor: pointer;
}
.case input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--bleu);
  flex: none;
}
.case small {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}
.gammes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.gamme {
  position: relative;
}
.gamme input {
  position: absolute;
  inset: 0;
  opacity: 0;
  margin: 0;
  cursor: pointer;
}
.gamme > span {
  display: grid;
  align-content: start;
  gap: 8px;
  height: 100%;
  padding: 18px 16px;
  border: 1.5px solid var(--kit-line);
  border-radius: 6px;
  background: var(--kit-surface);
  transition:
    border-color 0.2s ease,
    box-shadow 0.25s ease;
}
.gamme strong {
  font-stretch: 112%;
  font-size: 1.05rem;
}
.gamme__resume {
  font-size: 0.88rem;
  color: var(--muted);
}
.gamme ul {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: grid;
  gap: 4px;
  font-size: 0.84rem;
}
.gamme li::before {
  content: "– ";
  color: var(--muted);
}
.gamme__prix {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 1px dashed var(--kit-line);
  font-size: 0.86rem;
  color: var(--muted);
}
.gamme__prix b {
  color: var(--kit-fg);
  font-variant-numeric: tabular-nums;
}
.gamme input:checked + span {
  border-color: var(--bleu);
  box-shadow: inset 0 0 0 1px var(--bleu);
}
.gamme input:focus-visible + span {
  outline: 2px solid var(--bleu);
  outline-offset: 3px;
}
@media (max-width: 640px) {
  .gammes {
    grid-template-columns: minmax(0, 1fr);
  }
}
.devis__nav {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 8px;
}
.devis__nav [data-suite] {
  margin-left: auto;
}

/* Le plan coté */
.devis__plan {
  position: sticky;
  top: 88px;
  display: grid;
  gap: 14px;
}
.plan-carte {
  border: 1px solid var(--kit-line);
  border-radius: 8px;
  background: var(--plan-fond);
  overflow: hidden;
}
.plan-carte__tete {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--kit-line);
  font-size: 0.9rem;
}
.plan-carte__tete strong {
  font-stretch: 108%;
}
.plan-carte__tete span {
  color: var(--muted);
}
.plan {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 0.2s ease;
}
.plan__grille {
  fill: none;
  stroke: var(--plan-grille);
  stroke-width: 0.6;
}
.plan__fond {
  opacity: 1;
}
.plan__mur {
  fill: var(--plan-mur);
}
.plan__sol {
  fill: var(--plan-fond);
}
.plan__baie {
  fill: var(--plan-fond);
}
.plan__vitre {
  stroke: var(--bleu);
  stroke-width: 2;
}
.plan__vantail {
  stroke: var(--plan-trait);
  stroke-width: 1.6;
}
.plan__debattement {
  fill: none;
  stroke: var(--plan-trait);
  stroke-width: 0.8;
  stroke-dasharray: 3 3;
}
.plan__objet {
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.plan.is-glisse .plan__objet {
  transition: none;
}
.objet .corps {
  fill: var(--plan-objet);
  stroke: var(--plan-trait);
  stroke-width: 1.4;
}
.objet .corps--meuble {
  fill: color-mix(in srgb, var(--bleu) 10%, var(--plan-objet));
}
.objet .corps--juste {
  fill: none;
  stroke: var(--rouge);
  stroke-dasharray: 5 4;
}
.objet .trait {
  fill: none;
  stroke: var(--plan-trait);
  stroke-width: 1;
}
.objet .trait--fin {
  stroke-width: 0.6;
  opacity: 0.6;
}
.objet .trait--tirets {
  stroke-dasharray: 4 3;
  opacity: 0.7;
}
.objet text,
.plan__echelle text {
  font-family: var(--texte);
  font-size: 11px;
  font-weight: 600;
  fill: var(--muted);
}
.objet text {
  paint-order: stroke;
  stroke: var(--plan-objet);
  stroke-width: 4px;
  stroke-linejoin: round;
}
.objet--ilot-juste text {
  fill: var(--rouge);
}
.plan__echelle line {
  stroke: var(--plan-trait);
  stroke-width: 1.4;
}
.cote line {
  stroke: var(--bleu);
  stroke-width: 1.2;
}
.cote__rappel {
  stroke: var(--bleu);
  stroke-width: 0.8;
  opacity: 0.6;
}
.cote__ruban {
  fill: var(--jaune);
}
.cote__texte {
  font-family: var(--texte);
  font-size: 12.5px;
  font-weight: 800;
  font-stretch: 110%;
  fill: var(--sur-jaune);
  font-variant-numeric: tabular-nums;
}
.plan-carte__note {
  margin: 0;
  padding: 10px 16px 14px;
  font-size: 0.86rem;
  color: var(--rouge);
  border-top: 1px dashed var(--kit-line);
}
.estimation-carte {
  display: grid;
  gap: 2px;
  padding: 16px 18px;
  border-radius: 8px;
  background: var(--kit-fg);
  color: var(--kit-bg);
}
.estimation-carte__libelle {
  font-size: 0.82rem;
  opacity: 0.75;
}
.estimation-carte__montant {
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem);
  font-weight: 800;
  font-stretch: 112%;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.estimation-carte__duree {
  font-size: 0.88rem;
  opacity: 0.8;
}
@media (max-width: 980px) {
  /* Sur téléphone, le plan se glisse entre le titre et les questions. */
  .devis__in {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  .devis__colonne {
    display: contents;
  }
  .devis__tete {
    order: 0;
  }
  /* Le plan reste en vue pendant que l'on règle les dimensions et les travaux. */
  .devis__plan {
    position: sticky;
    top: 62px;
    z-index: 6;
    order: 1;
    gap: 8px;
    padding-bottom: 6px;
    background: var(--kit-bg);
  }
  .plan-carte__tete {
    padding: 8px 12px;
  }
  .plan {
    width: auto;
    max-width: 100%;
    max-height: 30vh;
    margin-inline: auto;
  }
  .plan-carte__note {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
  .estimation-carte {
    grid-template-columns: 1fr auto;
    align-items: baseline;
    padding: 10px 14px;
  }
  .estimation-carte__libelle {
    white-space: nowrap;
  }
  .estimation-carte__montant {
    font-size: 1.1rem;
    grid-row: 1;
    grid-column: 2;
    white-space: nowrap;
  }
  .estimation-carte__duree {
    display: none;
  }
  .devis__colonne > :not(.devis__tete) {
    order: 2;
  }
  .devis[data-etape-courante="1"] .devis__plan,
  .devis[data-etape-courante="5"] .devis__plan,
  .devis[data-etape-courante="6"] .devis__plan {
    display: none;
  }
}

/* Résultat */
.resultat {
  display: grid;
  gap: 18px;
}
.resultat__fourchette {
  display: grid;
  gap: 4px;
  padding: 20px 22px;
  border-radius: 8px;
  border: 1px solid var(--kit-line);
  background: var(--kit-surface);
}
.resultat__fourchette strong {
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.6rem);
  font-weight: 800;
  font-stretch: 114%;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.resultat__fourchette span {
  color: var(--muted);
}
.postes {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}
.postes caption {
  text-align: left;
  font-weight: 700;
  font-stretch: 108%;
  padding-bottom: 8px;
}
.postes th,
.postes td {
  padding: 10px 0;
  border-bottom: 1px solid var(--kit-line);
  vertical-align: top;
  text-align: left;
}
.postes td:last-child,
.postes th:last-child {
  text-align: right;
  white-space: nowrap;
  padding-left: 16px;
  font-variant-numeric: tabular-nums;
}
.postes td small {
  display: block;
  color: var(--muted);
  font-size: 0.84rem;
}
.postes tfoot th,
.postes tfoot td {
  border-bottom: 0;
  padding: 6px 0;
}
.postes tfoot tr:last-child th,
.postes tfoot tr:last-child td {
  font-weight: 800;
  font-size: 1.04rem;
  border-top: 2px solid var(--kit-fg);
  padding-top: 10px;
}
.resultat__note {
  font-size: 0.88rem;
  color: var(--muted);
}
.visite {
  display: grid;
  gap: 18px;
  margin-top: 20px;
  padding-top: 28px;
  border-top: 2px solid var(--kit-fg);
}
.visite__intro,
.visite__note {
  color: var(--muted);
}
.visite__note {
  font-size: 0.86rem;
}
.creneaux {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.creneaux legend {
  font-weight: 600;
  margin-bottom: 8px;
  padding: 0;
}
.creneaux__jour {
  display: grid;
  grid-template-columns: 150px repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-items: center;
}
.creneaux__date {
  font-size: 0.92rem;
  font-weight: 600;
}
.creneaux .pastille span {
  width: 100%;
  justify-content: center;
}
.creneaux--compacts .creneaux__jour {
  grid-template-columns: 130px repeat(2, minmax(0, 1fr));
}
@media (max-width: 520px) {
  .creneaux__jour,
  .creneaux--compacts .creneaux__jour {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .creneaux__date {
    grid-column: 1 / -1;
  }
}
.erreur {
  color: var(--rouge);
  font-weight: 600;
  font-size: 0.9rem;
}
.grille-champs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.champ--large {
  grid-column: 1 / -1;
}
.champ small {
  font-weight: 400;
}
@media (max-width: 560px) {
  .grille-champs {
    grid-template-columns: minmax(0, 1fr);
  }
}
.fin {
  display: grid;
  gap: 18px;
  padding: 26px;
  border-radius: 8px;
  border: 1px solid var(--kit-line);
  background: var(--kit-surface);
}
.fin__ref {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 3px;
  background: var(--jaune);
  color: var(--sur-jaune);
  font-weight: 800;
  font-stretch: 110%;
  letter-spacing: 0.02em;
}
.fin__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Mes demandes ---------- */
.suivi {
  display: grid;
  gap: 22px;
}
.demande {
  display: grid;
  gap: 18px;
  padding: 24px 26px;
  border: 1px solid var(--kit-line);
  border-radius: 8px;
  background: var(--kit-surface);
}
.demande--annulee {
  opacity: 0.7;
}
.demande__tete {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
}
.demande__tete h2 {
  font-size: 1.3rem;
}
.demande__ref {
  font-size: 0.88rem;
  color: var(--muted);
}
.demande__resume {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  color: var(--muted);
  font-size: 0.94rem;
}
.demande__resume strong {
  color: var(--kit-fg);
  font-variant-numeric: tabular-nums;
}
.jalons {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}
.jalons li {
  display: grid;
  gap: 2px;
  padding-top: 12px;
  border-top: 3px solid var(--kit-line);
  font-size: 0.86rem;
  color: var(--muted);
}
.jalons li strong {
  color: var(--kit-fg);
  font-size: 0.92rem;
}
.jalons li.is-fait {
  border-top-color: var(--bleu);
}
.jalons li.is-courant {
  border-top-color: var(--jaune);
}
@media (max-width: 640px) {
  .jalons {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.demande__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.demande__detail {
  padding-top: 4px;
}
.etiquette {
  display: inline-block;
  padding: 2px 9px;
  border-radius: 3px;
  font-size: 0.8rem;
  font-weight: 700;
  background: var(--fond-2);
  color: var(--muted);
}
.suivi__vide {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: center;
  padding: 26px;
  border: 1px solid var(--kit-line);
  border-radius: 8px;
  background: var(--kit-surface);
}
.suivi__vide .ph {
  aspect-ratio: 4 / 5;
  border-radius: 6px;
  max-height: 420px;
}
.suivi__vide div {
  display: grid;
  gap: 16px;
  justify-items: start;
}
@media (max-width: 760px) {
  .suivi__vide {
    grid-template-columns: minmax(0, 1fr);
  }
  .suivi__vide .ph {
    aspect-ratio: 16 / 10;
  }
}

/* ---------- Fenêtres de confirmation ---------- */
dialog.kit-dialog.fenetre {
  border-radius: 8px;
  max-width: min(560px, calc(100vw - 32px));
}
.fenetre__corps {
  display: grid;
  gap: 16px;
  padding: 26px 26px 22px;
}
.fenetre__corps p {
  color: var(--muted);
}
.fenetre__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 6px;
}

/* ---------- Pied de page ---------- */
.pied {
  margin-top: auto;
  padding: 56px 0 28px;
  background: #15181c;
  color: #d9dde1;
}
.pied .marque,
.pied .marque__nom {
  color: #fff;
}
.pied .marque__signe {
  color: #8fb0ff;
}
.pied .marque__graduations {
  stroke: #15181c;
}
.pied .marque__nom small {
  color: #a4abb3;
}
.pied__in {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: 32px;
}
.pied__marque {
  display: grid;
  gap: 14px;
  align-content: start;
}
.pied__marque p,
.pied__in p {
  color: #a9b0b8;
  font-size: 0.92rem;
}
.pied__in > div {
  display: grid;
  gap: 10px;
  align-content: start;
}
.pied__titre {
  font-size: 0.95rem;
  font-stretch: 108%;
  color: #fff;
}
.pied__bas {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.86rem;
  color: #a9b0b8;
}
.pied .signe-binuxlabs {
  opacity: 1;
}
@media (max-width: 860px) {
  .pied__in {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 520px) {
  .pied__in {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* ---------- Page introuvable ---------- */
.introuvable {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 70vh;
  display: grid;
  align-items: center;
  color: #fff;
  background: #15181c;
}
.introuvable__ph {
  position: absolute;
  inset: 0;
  z-index: -2;
}
.introuvable::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(14, 16, 19, 0.92), rgba(14, 16, 19, 0.6));
}
.introuvable__in {
  display: grid;
  gap: 18px;
  justify-items: start;
  padding: 80px 0;
}
.introuvable p {
  color: rgba(255, 255, 255, 0.82);
}

/* ---------- Page d'estimation sur téléphone : l'appel BinuxLabs remonte au-dessus du bas de page ---------- */
@media (max-width: 560px) {
  .page-devis .binux-cta {
    bottom: 12px;
  }
}
