/* ===================================================================
   PLUSMINUS — portail de prix de la main-d'œuvre
   Ambiance : luxe / chic, crème, terracotta, terre
   =================================================================== */

:root {
  --cream: #F8F1E7;
  --cream-soft: #FCF7F0;
  --cream-deep: #EFE3D3;
  --terracotta: #B4553A;
  --terracotta-dark: #8E4029;
  --terracotta-soft: #E8CFC2;
  --earth: #6B4A3A;
  --ink: #241A16;
  --ink-soft: #6F6259;
  --gold: #B99457;
  --line: rgba(36, 26, 22, 0.10);
  --shadow: 0 6px 22px rgba(63, 40, 28, 0.09);
  --shadow-soft: 0 3px 12px rgba(63, 40, 28, 0.06);
  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
  --pad: 20px;
  --tabbar-h: 66px;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  overflow-x: hidden;
  padding-bottom: calc(var(--tabbar-h) + 46px + env(safe-area-inset-bottom));
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}

h1 { font-size: 40px; line-height: 1.04; letter-spacing: -0.02em; }
h2 { font-size: 24px; line-height: 1.15; }
h3 { font-size: 19px; }

p { margin: 0 0 12px; }
p:last-child { margin-bottom: 0; }

.page { padding: 0 var(--pad); max-width: 100%; }

.muted { color: var(--ink-soft); font-size: 13px; }

/* ------------------------------------------------------------ écran d'ouverture */
#app-splash {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 99999;
  pointer-events: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #B4553A;
  color: #FCF7F0;
  gap: 14px;
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.16em;
}
#app-splash img { border-radius: 20px; }
#app-splash.show { display: flex; animation: splashOut 0.4s ease 1.2s forwards; }
@keyframes splashOut { to { opacity: 0; visibility: hidden; } }

/* ------------------------------------------------------------------- haut de page */
.topbar {
  display: flex;
  align-items: center;
  padding: calc(10px + env(safe-area-inset-top, 0px)) var(--pad) 4px;
}

.menu-btn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  margin-left: -10px;
}
.menu-btn:active { transform: scale(0.94); }

/* ------------------------------------------------------------------- menu latéral */
.menu-veil {
  position: fixed;
  inset: 0;
  background: rgba(30, 20, 15, 0.45);
  z-index: 900;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.menu-veil.is-visible { opacity: 1; }

.sidemenu {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 82%;
  max-width: 320px;
  background: #fff;
  border-radius: 0 24px 24px 0;
  z-index: 950;
  display: flex;
  flex-direction: column;
  transform: translateX(-100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0.3s;
  padding: calc(18px + env(safe-area-inset-top, 0px)) 18px calc(18px + env(safe-area-inset-bottom, 0px));
  box-shadow: 14px 0 40px rgba(50, 30, 20, 0.16);
}
.sidemenu.is-open { transform: translateX(0); visibility: visible; pointer-events: auto; }

.sidemenu-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.sidemenu-logo { width: 48px; height: 48px; border-radius: 14px; }
.sidemenu-head strong {
  display: block;
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.06em;
}
.sidemenu-head span { font-size: 12px; color: var(--ink-soft); }
.sidemenu-close {
  margin-left: auto;
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.sidemenu-nav {
  display: flex;
  flex-direction: column;
  padding: 12px 0;
  overflow-y: auto;
  flex: 1;
}
.sidemenu-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  border-radius: 12px;
  font-size: 15px;
  color: var(--ink);
}
.sidemenu-nav a svg { color: var(--earth); flex: none; }
.sidemenu-nav a.is-active { background: var(--cream-deep); font-weight: 600; }
.sidemenu-nav a:active { background: var(--cream); }

.sidemenu-foot { border-top: 1px solid var(--line); padding-top: 14px; display: grid; gap: 8px; }
.sidemenu-admin {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-soft);
  padding: 8px 10px;
}

/* ------------------------------------------------------------------ titre + logo */
.app-head { display: grid; gap: 14px; margin: 6px 0 22px; }
.app-id { display: flex; align-items: center; gap: 12px; }
.app-id img { width: 36px; height: 36px; border-radius: 11px; }
.app-id .app-name {
  font-family: var(--serif);
  font-size: 26px;
  letter-spacing: 0.04em;
  font-weight: 600;
}
.app-head h1 { font-size: 40px; }
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 10px;
  color: var(--terracotta);
  font-weight: 600;
}

/* ------------------------------------------------------------------------ galerie */
.hero { margin: 0 calc(var(--pad) * -1) 26px; }
.hero-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.hero-track::-webkit-scrollbar { display: none; }
.hero-slide {
  flex: 0 0 100%;
  scroll-snap-align: center;
  position: relative;
  overflow: hidden;
  border-radius: 0;
  aspect-ratio: 4 / 5;
  max-height: min(66vh, 520px);
  background: var(--cream-deep);
}
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 6s ease;
}
.hero-slide.is-active img { transform: scale(1.06); }
.hero-slide figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 60px 20px 22px;
  background: linear-gradient(to top, rgba(28, 16, 12, 0.86), rgba(28, 16, 12, 0.0));
  color: #FCF7F0;
  pointer-events: none;
}
.hero-slide figcaption .kicker { color: #E4C9A8; }
.hero-slide figcaption strong {
  display: block;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.1;
  margin: 6px 0 4px;
}
.hero-slide figcaption span { font-size: 13px; opacity: 0.86; }
.hero-dots {
  position: absolute;
  top: 14px;
  left: 20px;
  display: flex;
  gap: 5px;
  z-index: 3;
}
.hero-dots i {
  width: 6px;
  height: 6px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.55);
  transition: width 0.3s ease, background 0.3s ease;
}
.hero-dots i.is-active { width: 20px; background: #fff; }

.hero-wrap { position: relative; }
.hero-cta { padding: 16px 0 0; }

/* --------------------------------------------------------------------- boutons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s ease, background 0.2s ease, color 0.2s ease;
  text-align: center;
}
.btn:active { transform: scale(0.97); }
.btn-primary { background: var(--terracotta); color: #FDF6EE; }
.btn-primary:hover { background: var(--terracotta-dark); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: #fff; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: 0.55; pointer-events: none; }

.install-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--terracotta-soft);
  background: #fff;
  color: var(--terracotta-dark);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.install-btn:active { transform: scale(0.98); }

/* ------------------------------------------------------------------ recherche guidée */
.selector {
  background: #fff;
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 26px;
}
.selector h2 { font-size: 24px; margin-bottom: 4px; }
.selector .hint { font-size: 13px; color: var(--ink-soft); margin-bottom: 16px; }
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--ink-soft);
  font-weight: 600;
}
.field select,
.field input,
.field textarea {
  height: 50px;
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--cream-soft);
  padding: 0 14px;
  font-size: 15px;
  color: var(--ink);
  font-family: inherit;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--earth) 50%), linear-gradient(135deg, var(--earth) 50%, transparent 50%);
  background-position: calc(100% - 19px) 22px, calc(100% - 14px) 22px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
.field textarea {
  height: auto;
  min-height: 130px;
  padding: 14px;
  background-image: none;
  resize: vertical;
  line-height: 1.5;
}
.field input { background-image: none; }
.field select:focus,
.field input:focus,
.field textarea:focus { outline: 2px solid var(--terracotta-soft); outline-offset: 1px; }
.field select:disabled { opacity: 0.55; }

/* ---------------------------------------------------------------------- résultat */
.result { margin-bottom: 28px; }
.result-card {
  background: #fff;
  border-radius: 22px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.result-card.is-empty { text-align: center; padding: 34px 20px; }
.result-crumb {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: 6px;
}
.result-title { font-family: var(--serif); font-size: 26px; line-height: 1.12; margin-bottom: 14px; }
.range {
  background: var(--cream-soft);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 14px;
}
.range-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
  font-family: var(--serif);
  color: var(--ink);
}
.range-main .low, .range-main .high { font-size: 30px; font-weight: 600; letter-spacing: -0.01em; }
.range-main .sep { font-size: 20px; color: var(--gold); }
.range-main .unit { font-family: var(--sans); font-size: 13px; color: var(--ink-soft); margin-left: 4px; }
.range-bar {
  position: relative;
  height: 6px;
  border-radius: 4px;
  background: var(--cream-deep);
  margin: 14px 0 6px;
}
.range-bar i {
  position: absolute;
  top: -4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--terracotta);
  transform: translateX(-50%);
  box-shadow: 0 0 0 4px rgba(180, 85, 58, 0.14);
}
.range-mid { display: flex; justify-content: space-between; font-size: 12px; color: var(--ink-soft); }
.range-mid strong { color: var(--ink); font-size: 14px; font-weight: 600; }

.flags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.flag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  padding: 6px 11px;
  border-radius: 999px;
  background: var(--cream-soft);
  color: var(--ink-soft);
  border: 1px solid var(--line);
}
.flag strong { color: var(--ink); font-weight: 600; }
.flag.warn { background: #FBF1E4; border-color: #EBD9BF; color: #7A5528; }
.flag.ok { background: #F1F5EC; border-color: #DCE7D3; color: #44563A; }

.result-block { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; }
.result-block h3 { font-family: var(--sans); font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--ink-soft); margin-bottom: 6px; }
.result-block p { font-size: 14px; }

.source-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.source-list li { font-size: 13px; }
.source-list a { color: var(--terracotta-dark); font-weight: 600; }
.source-list span { display: block; color: var(--ink-soft); font-size: 12px; }

/* ------------------------------------------------------------------------ bandes */
.band-section { margin-bottom: 30px; }
.band-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}
.band-head h2 { font-size: 24px; }
.band-head a { font-size: 12px; color: var(--ink-soft); }
.band {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin: 0 calc(var(--pad) * -1);
  padding: 0 var(--pad) 4px;
}
.band::-webkit-scrollbar { display: none; }
.band > * { flex: 0 0 78%; scroll-snap-align: start; max-width: 300px; }

.card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.12s ease;
}
.card:active { transform: scale(0.985); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 12px 14px 16px; display: grid; gap: 4px; }
.card-body strong { font-size: 17px; font-weight: 600; line-height: 1.2; }
.card-body .card-meta { font-size: 13px; color: var(--ink-soft); }
.card-body .card-price { font-size: 15px; font-weight: 700; margin-top: 4px; }
.card-body .card-price span { font-size: 12px; font-weight: 500; color: var(--ink-soft); }

/* ---------------------------------------------------------------------- catalogue */
.cat-head { margin: 6px 0 20px; }
.cat-head h1 { font-size: 36px; }
.cat-head p { color: var(--ink-soft); font-size: 14px; margin-top: 8px; }

.trade-grid { display: grid; grid-template-columns: 1fr; gap: 14px; margin-bottom: 30px; }
.trade-tile {
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 12px;
}
.trade-tile img { width: 84px; height: 84px; border-radius: 14px; object-fit: cover; flex: none; }
.trade-tile .trade-info { display: grid; gap: 2px; }
.trade-tile strong { font-size: 17px; }
.trade-tile span { font-size: 12px; color: var(--ink-soft); }
.trade-tile .trade-icon { color: var(--terracotta); }

.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; row-gap: 18px; }
.svc {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.svc img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 16px; }
.svc .svc-name { font-size: 15px; font-weight: 600; line-height: 1.25; }
.svc .svc-desc { font-size: 12px; color: var(--ink-soft); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.svc .svc-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-top: auto; }
.svc .svc-price { font-size: 14px; font-weight: 700; }
.svc .svc-unit { font-size: 11px; color: var(--ink-soft); font-weight: 500; }
.svc .svc-go {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--terracotta);
  flex: none;
}

/* ------------------------------------------------------------------ fiche détail */
.detail-hero { margin: 0 calc(var(--pad) * -1) 18px; }
.detail-hero img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; max-height: 320px; }
.breadcrumb { font-size: 12px; color: var(--ink-soft); margin-bottom: 10px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.breadcrumb a { color: var(--terracotta-dark); }
.panel {
  background: #fff;
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 16px;
}
.panel h2 { font-size: 22px; margin-bottom: 10px; }
.tva-note { font-size: 12.5px; color: var(--ink-soft); background: var(--cream-soft); border-radius: 14px; padding: 12px 14px; }

.country-chips { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 4px; margin-bottom: 16px; }
.chip {
  flex: 1 1 auto;
  min-width: 0;
  padding: 9px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-soft);
  cursor: pointer;
}
.chip.is-active { background: var(--terracotta); border-color: var(--terracotta); color: #FDF6EE; }

/* ------------------------------------------------------------------------- pied */
.sitefoot {
  background: var(--cream-deep);
  border-radius: 24px 24px 0 0;
  padding: 28px 20px calc(18px + env(safe-area-inset-bottom, 0px));
  margin: 40px calc(var(--pad) * -1) 0;
  display: grid;
  gap: 12px;
}
.sitefoot-brand { display: flex; align-items: center; gap: 10px; }
.sitefoot-brand img { width: 40px; height: 40px; border-radius: 12px; }
.sitefoot-brand strong { font-family: var(--serif); font-size: 20px; letter-spacing: 0.05em; }
.sitefoot-line { font-size: 13px; color: var(--ink-soft); max-width: 46ch; }
.sitefoot-info { list-style: none; margin: 4px 0; padding: 0; display: grid; gap: 8px; }
.sitefoot-info li { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-soft); }
.sitefoot-info svg { color: var(--terracotta); flex: none; }
.sitefoot-links { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; padding-top: 10px; border-top: 1px solid rgba(36, 26, 22, 0.08); }
.sitefoot-links a { color: var(--earth); }
.sitefoot-copy { font-size: 11.5px; color: var(--ink-soft); }
.install-btn--foot { max-width: 320px; margin: 6px 0; }

/* ---------------------------------------------------------------- barre du bas */
.tabbar {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border-radius: 28px;
  box-shadow: 0 8px 28px rgba(63, 40, 28, 0.16);
  z-index: 800;
  padding: 0 4px;
}
.tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 10px;
  color: var(--ink-soft);
  flex: 1;
  height: 100%;
  border-radius: 22px;
  transition: transform 0.12s ease;
}
.tab:active { transform: scale(0.94); }
.tab.is-active { color: var(--terracotta); font-weight: 600; }
.tab.is-active svg { transform: translateY(-1px); }

/* ------------------------------------------------------------ feuille d'installation */
.install-sheet {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  background: rgba(30, 20, 15, 0.45);
  padding: 16px;
}
.install-sheet-card {
  background: #fff;
  border-radius: 22px;
  padding: 20px;
  width: 100%;
  display: grid;
  gap: 12px;
}
.install-sheet-card h3 { font-family: var(--serif); font-size: 22px; }
.install-sheet-card p { font-size: 14px; color: var(--ink-soft); }
.install-sheet-platforms { display: grid; gap: 10px; }
.install-sheet-platforms div {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  background: var(--cream-soft);
  border-radius: 14px;
  padding: 12px;
}
.install-sheet-platforms svg { color: var(--terracotta); flex: none; }

/* ------------------------------------------------------------------------ toast */
.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--tabbar-h) + 30px + env(safe-area-inset-bottom, 0px));
  transform: translateX(-50%) translateY(12px);
  background: #2B1D17;
  color: #FDF6EE;
  padding: 12px 18px;
  border-radius: 999px;
  font-size: 13px;
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
  max-width: 86vw;
  text-align: center;
}
.toast.is-visible { opacity: 1; transform: translateX(-50%) translateY(0); }

/* --------------------------------------------------------------------- divers */
.empty-state {
  background: #fff;
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 14px;
}
.notice {
  background: #FBF3E7;
  border: 1px solid #EBD9BF;
  color: #6F4A1F;
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 13px;
  margin-bottom: 18px;
}
.notice strong { font-weight: 700; }
.section { margin-bottom: 30px; }
.section h2 { margin-bottom: 10px; }
.prose p { font-size: 15px; color: #3A2C24; margin-bottom: 14px; }
.prose h2 { font-size: 22px; margin: 22px 0 10px; }
.prose ul { padding-left: 20px; font-size: 14.5px; color: #3A2C24; }
.prose li { margin-bottom: 6px; }
.two-col { display: grid; gap: 14px; }

/* ----------------------------------------------------------- avertissement */
.disc-gate {
  background: var(--cream-soft);
  border: 1px solid var(--line);
  border-left: 3px solid var(--terracotta);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 4px 0 14px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.disc-gate[hidden] { display: none !important; }
.disc-gate.is-alert {
  border-left-color: #A8321F;
  box-shadow: 0 0 0 3px rgba(168, 50, 31, 0.14);
}
.disc-gate-title {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--terracotta-dark);
  margin-bottom: 8px;
}
.disc-gate-title svg { flex: 0 0 auto; }
.disc-gate-text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.disc-gate-link {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  color: var(--terracotta-dark);
  border-bottom: 1px solid var(--terracotta-soft);
  margin-bottom: 8px;
}
.disc-gate-link svg { vertical-align: -1px; }
.disc-gate-version {
  font-size: 11.5px;
  color: #8A7A6C;
  margin-bottom: 10px;
}
.disc-gate-note {
  font-size: 11.5px;
  line-height: 1.5;
  color: #8A7A6C;
  margin-top: 8px;
}
.disc-gate-recorded {
  font-size: 12px;
  color: #4C6B3F;
  margin-top: 8px;
}
.disc-gate.is-accepted { border-left-color: #6B8F5A; }

.disc-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink);
  cursor: pointer;
}
.disc-check input[type="checkbox"] {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin: 1px 0 0;
  accent-color: var(--terracotta);
  cursor: pointer;
}

.disc-reminder {
  margin-top: 14px;
  padding: 12px 14px;
  background: #FBF7F1;
  border-radius: 10px;
  border-top: 1px solid var(--line);
}
.disc-reminder-text {
  font-size: 12.5px;
  line-height: 1.55;
  color: #6F5A4B;
  margin-bottom: 6px;
}
.disc-reminder-link {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--terracotta-dark);
  border-bottom: 1px solid var(--terracotta-soft);
}

.disc-full .disc-lead { font-size: 16px; font-weight: 600; color: var(--ink); }
.disc-meta {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.disc-ack-block .disc-check { max-width: 560px; }
.disc-ack-block .btn { max-width: 320px; margin-top: 6px; }
.disc-ack-done {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  color: #44563A;
  background: #F3F7EE;
  border: 1px solid #DCE7D3;
  border-radius: 12px;
  padding: 12px 14px;
}
.disc-ack-done svg { flex: 0 0 auto; }

/* =================================================================== ORDINATEUR */
@media (min-width: 900px) {
  body {
    padding-bottom: calc(var(--tabbar-h) + 30px);
    padding-left: 260px;
  }

  .page { max-width: 1100px; margin: 0 auto; padding: 0 40px; }

  .topbar, .sidemenu, .menu-veil, .tabbar { display: none !important; }

  .hero { margin: 0 0 28px; border-radius: 24px; overflow: hidden; }
  .hero-slide { aspect-ratio: 21 / 9; max-height: 460px; }
  .hero-slide figcaption strong { font-size: 34px; }
  .hero-cta { display: flex; gap: 12px; }

  .app-head h1 { font-size: 52px; }
  .band { margin: 0; padding: 0; }
  .band > * { flex: 0 0 auto; width: calc(33.333% - 8px); max-width: none; }
  .trade-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .two-col { grid-template-columns: 1.1fr 0.9fr; gap: 20px; }
  .sitefoot { margin: 40px 0 0; border-radius: 24px 24px 0 0; }

  .desk-nav {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 260px;
    background: #fff;
    padding: 28px 20px;
    gap: 6px;
    z-index: 700;
  }
  .desk-nav .brand { display: flex; align-items: center; gap: 10px; margin-bottom: 22px; }
  .desk-nav .brand img { width: 38px; height: 38px; border-radius: 12px; }
  .desk-nav .brand strong { font-family: var(--serif); font-size: 20px; letter-spacing: 0.05em; }
  .desk-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 12px;
    border-radius: 12px;
    font-size: 14px;
    color: var(--ink-soft);
  }
  .desk-nav a.is-active { background: var(--cream); color: var(--ink); font-weight: 600; }
  .desk-nav .desk-nav-foot { margin-top: auto; display: grid; gap: 8px; }
}

@media (max-width: 899px) {
  .desk-nav { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  .hero-slide img { transform: none !important; }
}
