/* Dringo — feuille de style.
   Direction (méthode « unslop » de Damir Sokolovsky, CC BY 4.0) :
   produit  : une sonnette en ligne posée sur la porte (QR, NFC) pour maisons, agences et immeubles
   caractère: direct, robuste, chaleureux
   univers  : la porte d'entrée — plaque émaillée, bouton de laiton, tableau d'interphone gravé
   moments  : la plaque + l'appel entrant (accueil), l'annuaire façon tableau d'interphone (immeuble)
   signature: les deux vis de fixation, uniquement sur les objets « plaque »
   Grille de 4 px, une rampe de neutres chauds, un accent : le jaune du logo (aplats) et son ambre (textes). */

@import url("/static/fonts/fonts.css");

:root {
  --bg: #f7f4ee;
  --surface: #fdfbf7;
  --raised: #efe9df;
  --fg: #1f1b16;
  --fg-2: #5e554a;
  --muted: #72695d;
  --line: rgba(31, 27, 22, .09);
  --line-strong: rgba(31, 27, 22, .16);
  --accent: #7d5f00;          /* texte, liens, repères : ambre lisible sur fond clair */
  --accent-fill: #ffd60a;     /* aplats : boutons, pastilles (jaune du logo) */
  --accent-fg: #141210;       /* texte posé sur le jaune */
  --accent-soft: rgba(255, 214, 10, .22);
  --ok: #16794a;
  --warn: #9a5b0e;
  --err: #c0262a;
  --enamel: #1f3a68;
  --brass: #b08d57;
  --font: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --r-sm: 6px;
  --r: 10px;
  --r-card: 14px;
  --r-panel: 20px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow: 0 1px 2px rgba(0, 0, 0, .05);
  --shadow-float: 0 8px 24px rgba(0, 0, 0, .08);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #161513; --surface: #1c1a18; --raised: #262421;
    --fg: #efe9de; --fg-2: #aaa398; --muted: #8a847a;
    --line: rgba(239, 233, 222, .08); --line-strong: rgba(239, 233, 222, .14);
    --accent: #ffd60a; --accent-fill: #ffd60a; --accent-fg: #141210; --accent-soft: rgba(255, 214, 10, .12);
    --ok: #4cc38a; --warn: #d9a441; --err: #e5484d;
    --shadow: none; --shadow-float: 0 8px 24px rgba(0, 0, 0, .35);
    color-scheme: dark;
  }
}

* { box-sizing: border-box }
html { -webkit-text-size-adjust: 100% }
body {
  margin: 0; background: var(--bg); color: var(--fg);
  font: 400 15px/1.5 var(--font); font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
}
[hidden] { display: none !important }
a { color: var(--accent); text-underline-offset: 2px }
img { max-width: 100% }
.i { width: 18px; height: 18px; flex: none; vertical-align: -4px }

/* --- structure --- */
.wrap { max-width: 1040px; margin: 0 auto; padding: 24px max(16px, env(safe-area-inset-left, 0px)) 48px max(16px, env(safe-area-inset-right, 0px)) }
.narrow { max-width: 440px; margin-inline: auto }
header.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  height: 56px; padding: 0 max(16px, env(safe-area-inset-right, 0px)) 0 max(16px, env(safe-area-inset-left, 0px));
  border-bottom: 1px solid var(--line); background: var(--bg); position: sticky; top: 0; z-index: 40;
}
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 17px; color: var(--fg); text-decoration: none }
.brand-mark { width: 20px; height: 20px; border-radius: 22%; background: url(/static/icons/icon-192.png) center / cover; display: inline-block; flex: none }
nav { display: flex; gap: 4px }
nav a { color: var(--fg-2); text-decoration: none; padding: 6px 10px; border-radius: var(--r-sm); font-size: 14px; transition: background-color .15s var(--ease), color .15s var(--ease) }
nav a:hover { background: var(--raised); color: var(--fg) }
footer { color: var(--muted); font-size: 13px; text-align: center; padding: 32px 16px 48px }
footer a { color: var(--fg-2); display: inline-block; padding: 12px 4px }

/* --- typographie --- */
h1, h2, h3 { font-weight: 500; letter-spacing: -.01em; text-wrap: balance; margin: 0 }
h1 { font-size: 30px; line-height: 1.15 }
h2 { font-size: 20px; line-height: 1.3 }
h3 { font-size: 16px; line-height: 1.4; font-weight: 600; letter-spacing: 0 }
p { margin: 0 }
.muted { color: var(--fg-2) }
.small { font-size: 13px; line-height: 1.5 }
.meta { font: 400 12px/1.4 var(--mono); color: var(--muted); font-variant-numeric: tabular-nums }
code, .mono { font-family: var(--mono); font-size: 13px; word-break: break-all }
.stack { display: flex; flex-direction: column; gap: 16px }
.stack-sm { display: flex; flex-direction: column; gap: 8px }
.page-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin: 8px 0 24px }
.section-title { margin: 40px 0 12px; font-size: 16px; font-weight: 600 }

/* --- surfaces --- */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 20px; box-shadow: var(--shadow) }
.card + .card { margin-top: 12px }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap }
.spread { justify-content: space-between }
.center { text-align: center }
.center-row { justify-content: center }
.mt { margin-top: 16px }
.tight { margin: 4px 0 }
.pre { white-space: pre-wrap }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px }

/* --- formulaires --- */
label { display: block; font-weight: 500; font-size: 14px; margin: 16px 0 8px }
label.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; margin: 16px 0 }
label.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); flex: none }
input[type=text], input[type=number], input[type=url], input[type=search], input[type=email], input[type=password], input[type=tel], textarea, select {
  width: 100%; height: 44px; padding: 0 12px; font: inherit; color: var(--fg);
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r);
  transition: border-color .15s var(--ease)
}
textarea { height: auto; min-height: 96px; padding: 12px; resize: vertical }
input:focus-visible, textarea:focus-visible, select:focus-visible, button:focus-visible, .btn:focus-visible, a:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px
}
input[type=file] { font: inherit; font-size: 14px; color: var(--fg-2); max-width: 100% }
input[type=file]::file-selector-button { font: inherit; font-weight: 500; height: 36px; padding: 0 14px; margin-right: 12px; border-radius: var(--r); border: 1px solid var(--line-strong); background: var(--surface); color: var(--fg); cursor: pointer }
audio { max-width: 100% }

/* --- boutons --- */
.btn, button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding: 0 16px; font: 500 14px/1 var(--font); border-radius: var(--r);
  border: 1px solid var(--line-strong); background: var(--surface); color: var(--fg);
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), transform .12s var(--ease)
}
.btn:hover, button:hover { background: var(--raised) }
.btn:active, button:active { transform: scale(.98) }
.btn.primary, button.primary { background: var(--accent-fill); border-color: #141210; color: var(--accent-fg); font-weight: 600 }
.btn.primary:hover, button.primary:hover { background: #f5c800 }
.btn.big, button.big { width: 100%; height: 48px; font-size: 16px }
.btn.sm, button.sm { height: 32px; padding: 0 12px; font-size: 13px }
.btn.danger, button.danger { color: var(--err) }
.btn.ghost, button.ghost { background: transparent; border-color: transparent; color: var(--fg-2) }
button:disabled { opacity: .5; cursor: default }
.w240 { max-width: 240px }

/* --- états --- */
.flash { display: flex; gap: 8px; align-items: flex-start; padding: 12px 16px; border-radius: var(--r); margin: 0 0 16px; font-size: 14px; background: var(--surface); border: 1px solid var(--line) }
.flash.ok .i { color: var(--ok) }
.flash.err { color: var(--err); border-color: color-mix(in srgb, var(--err) 30%, transparent) }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--fg-2) }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--muted) }
.status.on::before { background: var(--ok) }
.status.away::before { background: var(--warn) }
.status.live::before { background: var(--accent-fill); box-shadow: 0 0 0 1px #141210 }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 8px; border-radius: var(--r-sm); font-size: 12px; color: var(--fg-2); background: var(--raised) }
.badge.todo { background: var(--accent-soft); color: var(--accent) }
.badge.on { color: var(--ok) }
.badge.away { color: var(--warn) }

/* --- tableau de bord --- */
.doors { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px }
.door-card { display: flex; flex-direction: column; gap: 16px }
.tabs { display: inline-flex; gap: 4px; padding: 4px; background: var(--raised); border-radius: var(--r); margin: 0 0 12px }
.tabs a { height: 28px; display: inline-flex; align-items: center; padding: 0 12px; border-radius: var(--r-sm); text-decoration: none; color: var(--fg-2); font-size: 13px }
.tabs a.on { background: var(--surface); color: var(--fg); box-shadow: var(--shadow) }
.feed { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden }
.ring { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 16px 20px; border-top: 1px solid var(--line) }
.ring:first-child { border-top: 0 }
.ring-head { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap }
.ring-name { font-weight: 600 }
.ring { grid-template-columns: minmax(0, 1fr) auto }
.ring > :not(.actions) { grid-column: 1 } /* tout le contenu à gauche, les boutons seuls à droite */
.ring .msg { grid-column: 1; white-space: pre-wrap; color: var(--fg); font-size: 16px; line-height: 1.5; background: var(--raised); border-radius: var(--r); padding: 12px 16px; margin: 4px 0; max-width: 640px } /* le message du visiteur, mis en valeur */
.ring .actions { grid-column: 2; grid-row: 1 / span 3; align-self: start }
.ring.done .ring-name, .ring.done .msg { color: var(--muted) }
.ring.todo .ring-name::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent-fill); box-shadow: 0 0 0 1.5px #141210; margin-right: 8px; vertical-align: 1px }
.tel { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 14px; font-variant-numeric: tabular-nums }
.empty { padding: 32px 20px; color: var(--fg-2); text-align: center }
@media (max-width: 560px) { .ring { grid-template-columns: minmax(0, 1fr) } .ring .actions { grid-column: 1; grid-row: auto } }

/* --- page visiteur --- */
.visitor { max-width: 440px; margin: 0 auto; padding: 16px 0 }
.visitor-head { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 8px 0 24px; text-align: center }
.bell-push {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 12px;
  background: radial-gradient(circle at 40% 35%, #d9bd8a, var(--brass) 60%, #8a6c3f); color: #2b2216;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .4), 0 2px 6px rgba(0, 0, 0, .15)
}
.bell-push .i { width: 24px; height: 24px }
.bell-push.ok { background: var(--raised); color: var(--ok); box-shadow: none }
.who { font-size: 24px; font-weight: 500; line-height: 1.2 }
.door { color: var(--fg-2); font-size: 14px }
.away-box { display: flex; gap: 12px; padding: 16px; margin: 0 0 16px; border-radius: var(--r-card); background: var(--raised); white-space: pre-wrap; font-size: 15px }
.away-box .i { color: var(--warn); margin-top: 2px }
.visitor form.card { padding: 20px }
.visitor form.card > label:first-of-type { margin-top: 0 }
.actions-stack { display: flex; flex-direction: column; gap: 8px; margin-top: 20px }
.legal { margin-top: 16px; font-size: 12px; line-height: 1.5; color: var(--muted) }
.legal a { color: var(--fg-2) }
.proof { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--ok); margin: 0 0 16px }

/* annuaire d'immeuble : tableau d'interphone */
.intercom { margin-top: 10px; border-radius: var(--r-card); background: #2a2622; padding: 12px; max-height: 460px; overflow-y: auto }
.resident {
  display: grid; grid-template-columns: 1fr auto 18px; align-items: center; gap: 12px; margin: 0;
  min-height: 56px; padding: 0 16px; border-radius: 10px; cursor: pointer; font-weight: 400;
  background: linear-gradient(#f3ede1, #e9e1d1); color: #1f1b16; border: 1px solid rgba(0, 0, 0, .25)
}
.resident + .resident { margin-top: 8px }
.floor + .floor { margin-top: 16px }
.floor-label { margin: 0 4px 8px; font-size: 13px; font-weight: 600; color: #c9b48a }
.dir-search { position: relative }
.dir-search .i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--fg-2); pointer-events: none }
.dir-search input { padding-left: 42px }
.resident strong { font-weight: 600; text-transform: none }
.resident .unit { font: 500 12px var(--mono); color: #5e554a }
.resident input { margin: 0; width: 18px; height: 18px; accent-color: var(--accent) }
.resident:has(input:checked) { outline: 2px solid var(--accent); outline-offset: 1px }
.intercom .empty { color: #c9c0b0 }

/* --- appel vidéo --- */
.video-wrap { background: #0e0d0c; border-radius: var(--r-panel); overflow: hidden; aspect-ratio: 3/4; max-width: 400px; width: 100%; margin: 16px auto; max-height: 50vh; max-height: 50svh } /* les boutons d'appel restent visibles sur téléphone */
.video { width: 100%; height: 100%; object-fit: cover; display: block; background: #0e0d0c }
.video.self { width: 160px; height: auto; aspect-ratio: 3/4; border-radius: var(--r-card); margin: 12px auto; transform: scaleX(-1) }
.call-controls { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap }
.chime-status { font-size: 16px; font-weight: 500 }
.chime-alert { font-size: 28px; font-weight: 500; color: var(--accent); margin: 24px 0 }

/* --- QR & affiche --- */
.qr { width: 100%; max-width: 240px; height: auto; image-rendering: pixelated; background: #fff; border-radius: var(--r); padding: 8px }
.plaque-obj { position: relative }
.plaque-obj::before, .plaque-obj::after {
  content: ""; position: absolute; top: 12px; width: 10px; height: 10px; border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #e8d3a8, var(--brass) 55%, #7d6136);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .2)
}
.plaque-obj::before { left: 12px }
.plaque-obj::after { right: 12px }
.poster { max-width: 520px; margin: 0 auto; text-align: center; padding: 40px 32px 32px; border: 3px solid #111; border-radius: 24px; background: #fff; color: #111; display: flex; flex-direction: column; align-items: center; gap: 12px }
.poster h1 { font-size: 44px; font-weight: 600 }
.poster .lead { font-size: 18px }
.poster .qr { max-width: 320px; padding: 0 }
.poster .url { font: 500 14px var(--mono); word-break: break-all }
.poster .nfc-hint { display: inline-flex; gap: 8px; align-items: center; font-weight: 500 }
.poster .bell-push { margin: 0 }
@media print { header.top, footer, .noprint { display: none !important } body { background: #fff } .wrap { padding: 0 } }

/* --- écran du hall --- */
.hall { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 40px 16px; text-align: center }
.hall-title { font-size: 32px; font-weight: 500 }
.hall-sub { font-size: 18px; color: var(--fg-2) }
.hall-qr { width: min(80vw, 480px); height: auto; background: #fff; padding: 16px; border-radius: var(--r-panel); image-rendering: pixelated }
body:has(div#hall.hall) header.top, body:has(div#hall.hall) footer { display: none }

/* --- site vitrine --- */
.landing .wrap { max-width: 1120px }
.hero2 { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; padding: 56px 0 72px }
.hero-text { display: flex; flex-direction: column; gap: 20px }
.eyebrow { font-size: 14px; color: var(--accent); font-weight: 500 }
/* salut de marque au-dessus du titre : jaune du logo ; sur fond clair, posé sur un aplat jaune pour rester lisible */
.hero-hola { align-self: flex-start; font-size: 76px; line-height: 1; font-weight: 600; letter-spacing: -.03em; color: var(--accent-fg); background: var(--accent-fill); padding: 10px 24px 14px; border-radius: 20px; transform: rotate(-5deg); white-space: nowrap; margin: 0 0 22px; transform-origin: left center }
.hero-hola b { font-weight: 700 }
.hero2 h1 { font-size: 56px; line-height: 1.04; letter-spacing: -.03em; font-weight: 500 }
.hero2 .lead { font-size: 18px; line-height: 1.6; color: var(--fg-2); max-width: 36rem }
.checks { list-style: none; padding: 0; margin: 4px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 14px; color: var(--fg-2) }
.checks li { display: inline-flex; gap: 6px; align-items: center }
.checks .i { color: var(--ok); width: 16px; height: 16px }

.mock { position: relative; height: 480px; max-width: 460px; width: 100%; justify-self: end }
.plaque {
  position: absolute; left: 0; bottom: 24px; z-index: 2; width: 196px; padding: 32px 20px 20px; border-radius: 16px;
  background: var(--enamel); color: #fff; border: 3px solid #fff; outline: 2px solid var(--enamel);
  display: flex; flex-direction: column; align-items: center; gap: 12px; box-shadow: var(--shadow-float); transform: rotate(-3deg)
}
.plaque strong { font-size: 18px; font-weight: 600; letter-spacing: .01em }
.plaque-qr { width: 128px; height: 128px; background: #fff; border-radius: 6px; padding: 6px }
.plaque-nfc { display: inline-flex; gap: 6px; align-items: center; font-size: 12px; opacity: .85 }
.plaque-nfc .i { width: 14px; height: 14px }
.phone { position: absolute; right: 0; top: 0; width: 236px; height: 480px; background: #0e0d0c; border-radius: 40px; padding: 10px; box-shadow: var(--shadow-float) }
.phone-notch { position: absolute; top: 18px; left: 50%; transform: translateX(-50%); width: 72px; height: 20px; background: #000; border-radius: 12px; z-index: 2 }
.phone-screen { height: 100%; border-radius: 32px; background: #1a1816; color: #efe9de; display: flex; flex-direction: column; padding: 48px 16px 20px; gap: 12px; overflow: hidden }
.call-video { position: relative; flex: 1; border-radius: 20px; overflow: hidden; background: linear-gradient(#3a332d, #2a2521) }
.call-video svg.visitor-fig { position: absolute; inset: auto 0 0 0; width: 100%; height: 82% }
.call-live { position: absolute; top: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; font: 500 11px var(--mono); color: #efe9de; background: rgba(14, 13, 12, .6); padding: 4px 8px; border-radius: 6px }
.call-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #ffd60a }
.call-name { font-weight: 600; font-size: 17px; text-align: center }
.call-door { font-size: 12px; color: #aaa398; text-align: center; margin-top: -8px }
.call-actions { display: flex; justify-content: center; gap: 48px }
.call-btn { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; color: #fff }
.call-btn .i { width: 22px; height: 22px }
.call-btn.no { background: #c0262a }
.call-btn.yes { background: #16794a }

.l-section { padding: 64px 0; border-top: 1px solid var(--line) }
.l-section > h2 { font-size: 32px; letter-spacing: -.02em; margin-bottom: 8px }
.l-section > .sub { color: var(--fg-2); font-size: 16px; max-width: 40rem; margin-bottom: 32px }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; counter-reset: s }
.steps li { display: flex; flex-direction: column; gap: 6px; counter-increment: s }
.steps li::before { content: counter(s); font: 500 13px var(--mono); color: var(--accent); margin-bottom: 4px }
.steps strong { font-weight: 600; font-size: 16px }
.steps span { color: var(--fg-2) }

.compare { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface) }
.compare table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 560px }
.compare th, .compare td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top }
.compare thead th { font-weight: 500; color: var(--fg-2); font-size: 13px }
.compare th.us { color: var(--accent) }
.compare td:first-child { color: var(--fg-2) }
.compare td.us { font-weight: 500 }
.compare tr:last-child td { border-bottom: 0 }
.compare-note { margin-top: 12px; font-size: 13px; color: var(--muted) }

.uses { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 0 40px }
.use { display: grid; grid-template-columns: 40px 1fr; gap: 4px 16px; padding: 20px 0; border-top: 1px solid var(--line) }
.use .ico { grid-row: span 2; width: 40px; height: 40px; border-radius: var(--r); background: var(--raised); display: grid; place-items: center; color: var(--fg-2) }
.use h3 { align-self: end }
.use p { color: var(--fg-2) }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; align-items: stretch }
.plan { display: flex; flex-direction: column; gap: 12px; padding: 24px }
.plan.featured { border-color: #141210; box-shadow: 0 0 0 1px #141210, 6px 6px 0 var(--accent-fill) }
.plan-tag { font-size: 13px; color: var(--accent); font-weight: 500 }
.plan .price { font-size: 24px; font-weight: 500; font-variant-numeric: tabular-nums }
.plan ul { list-style: none; padding: 0; margin: 4px 0 8px; flex: 1; display: flex; flex-direction: column; gap: 10px }
.plan li { display: grid; grid-template-columns: 16px 1fr; gap: 10px; font-size: 14px; color: var(--fg-2) }
.plan li .i { width: 16px; height: 16px; color: var(--ok); margin-top: 2px }
.card + .plan, .plan + .plan { margin-top: 0 }

.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px 32px }
.fact { display: flex; flex-direction: column; gap: 6px }
.fact .i { color: var(--fg-2); margin-bottom: 4px }
.fact strong { font-weight: 600 }
.fact p { color: var(--fg-2); font-size: 14px }

.faq details { border-top: 1px solid var(--line); padding: 0 }
.faq details[open] { padding-bottom: 16px }
.faq details:last-child { border-bottom: 1px solid var(--line) }
.faq summary { cursor: pointer; font-weight: 500; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 48px; padding: 12px 0 }
.faq summary::after { content: "+"; font: 400 20px/1 var(--mono); color: var(--muted) }
.faq details[open] summary::after { content: "–" }
.faq details p { margin-top: 0; color: var(--fg-2); max-width: 44rem }

.final-cta { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; padding: 32px; border-radius: var(--r-panel); background: var(--raised) }
.final-cta h2 { font-size: 24px }
.sticky-cta { display: none }

@media (max-width: 860px) {
  .hero2 { grid-template-columns: 1fr; gap: 40px; padding: 32px 0 48px }
  .hero2 h1 { font-size: 40px }
  .mock { justify-self: center; height: 420px; max-width: 360px }
  .phone { width: 206px; height: 420px }
  .plaque { width: 168px; padding: 28px 16px 16px }
  .plaque-qr { width: 104px; height: 104px }
  .steps { grid-template-columns: 1fr; gap: 20px }
  .l-section { padding: 48px 0 }
  .l-section > h2 { font-size: 26px }
}
@media (max-width: 560px) {
  h1 { font-size: 26px }
  .hero2 h1 { font-size: 36px }
  nav a { padding: 6px 8px; font-size: 13px }
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 10; background: var(--bg); border-top: 1px solid var(--line); padding: 12px max(16px, env(safe-area-inset-right, 0px)) calc(12px + env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px)) }
  body:has(.sticky-cta) footer { padding-bottom: 104px }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important } }
.call-head { display: flex; flex-direction: column; align-items: center; gap: 4px; margin: 8px 0 8px }
.bell-push.centered { margin: 0 auto }
.notif-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap }
.notif-text { display: flex; flex-direction: column; gap: 4px }
.section-row { align-items: end; margin: 40px 0 12px }
.section-row .section-title, .section-row .tabs { margin: 0 }
.settings { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 16px; align-items: start }
.qr-card { display: flex; flex-direction: column; align-items: center; gap: 16px; padding-top: 32px }
.sub-title { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; margin: 12px 0 0 }
.card > h3 + label { margin-top: 12px }
@media (max-width: 760px) { .settings { grid-template-columns: 1fr } }
.narrow > h1 { margin: 24px 0 16px }
.narrow > p.muted { margin-bottom: 16px }
.narrow form.card > label:first-child, .narrow form.card > label:first-of-type { margin-top: 0 }
.card > p:last-child.small { margin-top: 16px }
/* démo du site vitrine */
.demo-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 48px; align-items: center }
.demo-intro { display: flex; flex-direction: column; gap: 12px }
.demo-intro .sub { margin: 0 }
.demo-panel { min-height: 360px; display: flex; flex-direction: column; justify-content: center; padding: 24px }
.demo-idle, .demo-ready, .demo-ring { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center }
.demo-ring { align-items: stretch; text-align: left }
.demo-ring-head { display: flex; flex-direction: column; gap: 4px }
.demo-name { font-size: 20px; font-weight: 500 }
.demo-call .video-wrap { max-width: 260px; margin: 8px auto }
.demo-call .call-controls { justify-content: center }
.demo-call #call-status { text-align: center }
@media (max-width: 860px) { .demo-grid { grid-template-columns: 1fr; gap: 24px } }
.essai { border-top: 0; padding-top: 40px }
.essai-title { font-size: 44px; line-height: 1.08; letter-spacing: -.02em }
.essai-steps { margin: 4px 0 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; color: var(--fg-2) }
.essai-steps li::marker { font-family: var(--mono); color: var(--accent) }
.lang-pick { display: flex; flex-direction: column; max-width: 280px }
.lang-pick label { margin: 8px 0 6px }
select { appearance: auto }
@media (max-width: 560px) { .essai-title { font-size: 32px } }
/* --- visite guidée (/essai) --- */
.tour-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start }
.tour-copy { display: flex; flex-direction: column; gap: 16px; padding-top: 24px }
.tour-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; padding: 4px; background: var(--raised); border-radius: var(--r-card); max-width: 480px }
.tour-tabs button { height: 56px; flex-direction: column; gap: 4px; border: 0; background: transparent; color: var(--fg-2); font-size: 13px; border-radius: var(--r) }
.tour-tabs button[aria-selected="true"] { background: var(--surface); color: var(--fg); box-shadow: var(--shadow) }
.tour-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; max-width: 480px; counter-reset: ts }
.tour-steps li { counter-increment: ts; display: grid; grid-template-columns: 28px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: var(--r); color: var(--fg-2); transition: background-color .2s var(--ease), color .2s var(--ease) }
.tour-steps li::before { content: counter(ts); width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font: 500 13px var(--mono); background: var(--raised); color: var(--fg-2) }
.tour-steps li.on { background: var(--surface); color: var(--fg); box-shadow: 0 0 0 1px var(--line) }
.tour-steps li.on::before { background: var(--accent-fill); color: var(--accent-fg) }
.tour-steps li.done::before { content: "✓"; background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok) }
.tour-stage { position: sticky; top: 72px; display: flex; flex-direction: column; align-items: center; gap: 12px }
.tour-role { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; color: var(--fg-2); height: 28px; padding: 0 12px; border-radius: var(--r-sm); background: var(--raised) }
.tour-role[data-role="owner"] { background: var(--accent-soft); color: var(--accent) }
.tour-phone { position: relative; width: 340px; max-width: 100%; aspect-ratio: 9 / 18.5; background: #0e0d0c; border-radius: 44px; padding: 10px; box-shadow: var(--shadow-float) }
.tour-screen { height: 100%; border-radius: 36px; overflow: hidden auto; background: var(--bg); padding: 52px 16px 20px; display: flex; flex-direction: column; gap: 10px; color: var(--fg) }
.tour-screen.enter > * { animation: tsIn .3s var(--ease) both }
@keyframes tsIn { from { opacity: 0; transform: translateY(8px) } to { opacity: 1; transform: none } }
.ts-start { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; text-align: center }
.ts-start-title { font-size: 20px; font-weight: 500 }
.ts-camera { position: relative; flex: 1; border-radius: 20px; background: linear-gradient(#5a4f45, #3a332d); display: grid; place-items: center; overflow: hidden }
.ts-plaque { width: 150px; padding: 26px 16px 16px; border-radius: 14px; background: var(--enamel); color: #fff; border: 3px solid #fff; display: flex; flex-direction: column; align-items: center; gap: 10px }
.ts-qr { width: 96px; height: 96px; background: #fff; border-radius: 4px; padding: 4px }
.ts-frame { position: absolute; width: 132px; height: 132px; left: 50%; top: 50%; transform: translate(-50%, -38%); border: 2px solid rgba(255, 255, 255, .85); border-radius: 16px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease) }
.ts-frame.ok { border-color: var(--ok); box-shadow: 0 0 0 4px color-mix(in srgb, var(--ok) 30%, transparent) }
.ts-cap { text-align: center; font-size: 13px; color: var(--fg-2) }
.ts-head { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; margin-bottom: 4px }
.ts-head strong { font-size: 17px; font-weight: 500 }
.ts-sub { font-size: 12px; color: var(--fg-2); text-align: center }
.bell-push.sm { width: 40px; height: 40px; margin: 0 0 4px }
.bell-push.sm .i { width: 18px; height: 18px }
.ts-intercom { max-height: none }
.ts-intercom .resident { width: 100%; justify-content: stretch; font: inherit; text-align: left; grid-template-columns: 1fr auto }
.ts-label { margin: 6px 0 0; font-size: 13px }
.ts-input { min-height: 40px; padding: 10px 12px; border: 1px solid var(--line-strong); border-radius: var(--r); background: var(--surface); font-size: 14px }
.ts-input.tall { min-height: 64px }
.ts-input.mono { font-family: var(--mono) }
.ts-input.typing::after { content: ""; display: inline-block; width: 2px; height: 16px; margin-left: 1px; vertical-align: -3px; background: var(--fg); animation: tsBlink .8s steps(2) infinite }
@keyframes tsBlink { 50% { opacity: 0 } }
.ts-actions { margin-top: auto; display: flex; flex-direction: column; gap: 8px }
.ts-actions.row { flex-direction: row; justify-content: center }
.coach-wrap { position: relative; display: flex; flex-direction: column }
.coach { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); white-space: nowrap; z-index: 3; font-size: 12px; font-weight: 600; padding: 6px 10px; border-radius: 8px; background: var(--fg); color: var(--bg); pointer-events: none }
.coach::after { content: ""; position: absolute; left: calc(50% - 5px); bottom: -5px; width: 10px; height: 10px; background: inherit; transform: rotate(45deg) }
.ts-incoming { flex: 1; display: flex; flex-direction: column; gap: 8px }
.ts-video { position: relative; flex: 1; min-height: 220px; border-radius: 20px; overflow: hidden; background: #3a332d }
.ts-video .fig { position: absolute; inset: 0; width: 100%; height: 100% }
.ts-video.big { min-height: 330px }
.ts-caller { text-align: center; font-size: 17px; font-weight: 500 }
.ts-call-row { display: flex; justify-content: space-around; padding: 8px 0 4px }
.ts-round { display: flex; flex-direction: column; align-items: center; gap: 6px; height: auto; padding: 0; border: 0; background: none; font-size: 12px; color: var(--fg-2) }
.ts-round:hover { background: none }
.ts-bubble { position: absolute; left: 10px; right: 10px; bottom: 10px; padding: 8px 10px; border-radius: 10px; background: rgba(14, 13, 12, .7); color: #efe9de; font-size: 13px }
.ts-self { position: absolute; top: 10px; right: 10px; width: 64px; height: 86px; border-radius: 10px; overflow: hidden; border: 2px solid #efe9de }
.ts-self .fig { width: 100%; height: 100% }
.ts-lock { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 24px; padding-top: 24px; margin: -52px -16px -20px; padding-inline: 12px; background: linear-gradient(#3a332d, #1a1816); color: #efe9de }
.ts-clock { font-size: 56px; font-weight: 400; letter-spacing: -.02em; font-variant-numeric: tabular-nums; margin-top: 40px }
.ts-notif { display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; width: 100%; height: auto; padding: 12px; text-align: left; white-space: normal; border-radius: 16px; background: rgba(253, 251, 247, .95); color: #1f1b16; border: 0; font: inherit }
.ts-notif .brand-mark { width: 28px; height: 28px; border-radius: 7px }
.ts-notif-text { display: flex; flex-direction: column; gap: 2px; font-size: 13px }
.ts-notif-head { display: flex; justify-content: space-between; font-size: 11px; color: #72695d }
.ts-notif strong { font-weight: 600 }
.ts-app-head { display: flex; justify-content: space-between; align-items: center }
.ts-app-head strong { font-size: 18px; font-weight: 500 }
.tour-screen .feed .ring { grid-template-columns: 1fr; padding: 12px }
.tour-screen .away-box { font-size: 13px; padding: 12px; margin: 0 }
.ts-end { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 16px }
.ts-end-title { font-size: 22px; font-weight: 500; line-height: 1.25 }
.ts-end-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: var(--fg-2) }
.ts-end-list li { display: grid; grid-template-columns: 18px 1fr; gap: 10px }
.ts-end-list .i { color: var(--ok); margin-top: 2px }
.ts-end .btn, .ts-end button { white-space: normal; height: auto; min-height: 44px; padding: 10px 14px; line-height: 1.3 }
@media (max-width: 860px) {
  .tour-grid { grid-template-columns: minmax(0, 1fr); gap: 24px }
  .tour-stage { position: static }
  .tour-copy { padding-top: 0 }
}
@media (prefers-reduced-motion: reduce) { .tour-screen.enter > *, .ts-input.typing::after { animation: none } }
/* --- page sécurité --- */
.sec-hero { padding: 56px 0 32px; max-width: 760px; display: flex; flex-direction: column; gap: 16px }
.sec-hero h1 { font-size: 44px; line-height: 1.08; letter-spacing: -.02em }
.sec-hero .lead { font-size: 18px; color: var(--fg-2); line-height: 1.6 }
.sec-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px 32px; padding: 8px 0 48px }
.sec-list { display: grid; grid-template-columns: minmax(200px, 280px) minmax(0, 1fr); gap: 0; margin: 0; border-top: 1px solid var(--line) }
.sec-list dt, .sec-list dd { padding: 16px 0; border-bottom: 1px solid var(--line); margin: 0 }
.sec-list dt { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; padding-right: 24px }
.sec-list dt .i { color: var(--fg-2); margin-top: 1px }
.sec-list dd { color: var(--fg-2); max-width: 44rem }
.sec-no { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px 32px }
.sec-no li { display: flex; gap: 10px; align-items: center }
.sec-no .i { color: var(--err) }
@media (max-width: 760px) {
  .sec-hero h1 { font-size: 32px }
  .sec-list { grid-template-columns: 1fr }
  .sec-list dt { border-bottom: 0; padding-bottom: 4px }
  .sec-list dd { padding-top: 0 }
}
.inline-link { height: auto; padding: 0; border: 0; background: none; color: var(--accent); text-decoration: underline; font: inherit; vertical-align: baseline }
.inline-link:hover { background: none }
.presence { padding: 24px }
.sec-h3 { font-size: 16px; font-weight: 600; margin: 24px 0 8px }
.sec-steps { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 10px; color: var(--fg-2); max-width: 46rem }
.sec-steps li::marker { font-family: var(--mono); color: var(--accent) }
.sec-steps strong { color: var(--fg) }
.sec-honest { display: flex; gap: 10px; margin-top: 20px; padding: 12px 16px; border-radius: var(--r); background: var(--raised); color: var(--fg-2); font-size: 14px; max-width: 46rem }
.sec-honest .i { color: var(--warn); margin-top: 2px }
.purpose { border: 0; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 8px }
.purpose legend { font-weight: 500; font-size: 14px; margin-bottom: 8px; padding: 0 }
.chip { display: inline-flex; margin: 0; font-weight: 400; cursor: pointer }
.chip input { position: absolute; opacity: 0; pointer-events: none }
.chip span { display: inline-flex; align-items: center; height: 36px; padding: 0 14px; border-radius: var(--r); border: 1px solid var(--line-strong); background: var(--surface); font-size: 14px; transition: background-color .15s var(--ease), border-color .15s var(--ease) }
.chip input:checked + span { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); font-weight: 500 }
.chip input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px }
/* --- navigation publique --- */
.site-nav { position: relative }
.site-nav > summary { list-style: none; display: none; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: var(--r); border: 1px solid var(--line-strong); cursor: pointer; font-size: 14px }
.site-nav > summary::-webkit-details-marker { display: none }
.site-nav nav { display: flex; align-items: center; gap: 2px }
.lang-switch label { margin: 0 }
.site-nav nav a[aria-current="page"] { color: var(--fg); background: var(--raised) }
.site-nav nav .btn.primary { color: var(--accent-fg); margin-left: 4px }
.nav-sep { width: 1px; height: 20px; background: var(--line-strong); margin: 0 6px }
.lang-switch select { height: 32px; padding: 0 6px; width: auto; font-size: 13px; border-radius: var(--r-sm) }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
.lang-notice { margin: 0; padding: 8px 16px; text-align: center; font-size: 13px; background: var(--raised); color: var(--fg-2) }
/* barre de navigation sur grand écran, menu repliable sur mobile */
.site-nav-desk { display: flex; align-items: center; gap: 2px }
.site-nav-desk a[aria-current="page"] { color: var(--fg); background: var(--raised) }
.site-nav-desk .btn.primary { color: var(--accent-fg); margin-left: 4px }
@media (min-width: 1331px) { .site-nav { display: none } }
@media (max-width: 1330px) { .site-nav-desk { display: none } }
@media (max-width: 1330px) {
  .site-nav > summary { display: inline-flex }
  .site-nav[open] > nav { position: absolute; right: 0; top: calc(100% + 8px); z-index: 20; flex-direction: column; align-items: stretch; gap: 2px; width: 240px; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-float) }
  .site-nav[open] > nav a { padding: 10px 12px }
  .nav-sep { width: auto; height: 1px; margin: 6px 0 }
  .lang-switch { padding: 4px 12px } .lang-switch select { width: 100% }
  .site-nav nav .btn.primary { margin: 6px 0 0 }
}
/* --- rubriques --- */
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px }
.ticks li { display: grid; grid-template-columns: 18px 1fr; gap: 10px }
.ticks .i { color: var(--ok); margin-top: 2px }
.integ { display: flex; flex-direction: column; border-top: 1px solid var(--line) }
.integ-item { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 16px; align-items: start; padding: 20px 0; border-bottom: 1px solid var(--line) }
.integ-item .ico { width: 40px; height: 40px; border-radius: var(--r); background: var(--raised); display: grid; place-items: center; color: var(--fg-2) }
.integ-item p { color: var(--fg-2); margin-top: 4px; max-width: 44rem }
.toc { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 8px }
.toc a { padding: 6px 12px; border-radius: var(--r-sm); background: var(--raised); color: var(--fg-2); text-decoration: none; font-size: 14px }
.toc a:hover { color: var(--fg) }
.guide { scroll-margin-top: 72px }
.guide-p { color: var(--fg-2); max-width: 46rem }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; padding-bottom: 48px }
.static-note { display: flex; gap: 8px; padding: 12px 16px; border-radius: var(--r); background: var(--raised); color: var(--fg-2); font-size: 14px }
@media (max-width: 760px) { .contact-grid { grid-template-columns: 1fr } .integ-item { grid-template-columns: 40px minmax(0, 1fr) } .integ-item .status { grid-column: 2 } }
/* --- visuel d'accueil : smartphone dernière génération + plaque --- */
.hero-visual { position: relative; display: flex; justify-content: flex-end; padding-left: 176px; min-height: 640px }
.hero-stage { display: flex; flex-direction: column; align-items: center; gap: 16px }
.device { position: relative; width: 300px; aspect-ratio: 9 / 19.5; border-radius: 54px; padding: 4px;
  background: linear-gradient(140deg, #c9c3b8 0%, #8f897f 22%, #d8d2c6 48%, #7d776e 72%, #b9b2a6 100%);
  box-shadow: 0 30px 70px rgba(20, 16, 12, .35), 0 6px 18px rgba(20, 16, 12, .2) }
.device::before { content: ""; position: absolute; inset: 4px; border-radius: 50px; background: #0b0a09 }
.dev-screen { position: absolute; inset: 9px; border-radius: 46px; overflow: hidden; background: #111; color: #fff; isolation: isolate }
.dev-btn { position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #6f6a62, #b5afa4) }
.dev-action { left: -3px; top: 112px; height: 28px } .dev-vol-up { left: -3px; top: 160px; height: 52px } .dev-vol-down { left: -3px; top: 222px; height: 52px }
.dev-power { right: -3px; left: auto; top: 180px; height: 84px; background: linear-gradient(270deg, #6f6a62, #b5afa4) }
.dev-island { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 96px; height: 28px; border-radius: 16px; background: #000; z-index: 5 }
.dev-status { position: absolute; top: 14px; left: 0; right: 0; z-index: 4; display: flex; justify-content: space-between; padding: 0 28px 0 32px; font: 600 14px/22px var(--font); color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .35) }
.dev-icons { display: inline-flex; gap: 5px; align-items: center } .dev-icons svg { fill: currentColor }
.dev-home { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); width: 120px; height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .85); z-index: 5 }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s var(--ease) }
.slide.on { opacity: 1 }
.scene, .scene svg, .scene-photo-bg { position: absolute; inset: 0; width: 100%; height: 100% }
/* photo réelle : entière en haut (comme un flux vidéo), sur un fond flouté de la même image */
.scene-photo-bg { object-fit: cover; filter: blur(22px) brightness(.7); transform: scale(1.2) }
.scene-photo { position: absolute; left: 0; right: 0; top: 48px; width: 100%; height: auto; max-height: 62%; object-fit: cover; object-position: center top }
.call { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 58px 18px 30px; background: linear-gradient(180deg, rgba(10, 9, 8, .55) 0%, rgba(10, 9, 8, 0) 32%, rgba(10, 9, 8, 0) 50%, rgba(10, 9, 8, .82) 78%) }
.call .call-live { position: static; align-self: flex-start }
.call-who { display: flex; flex-direction: column; gap: 4px; margin-top: auto; margin-bottom: 18px; text-align: center }
.call-purpose { align-self: center; font: 500 12px var(--mono); padding: 3px 8px; border-radius: 6px; background: rgba(239, 233, 222, .18); color: #efe9de }
.call .call-name { font-size: 24px; font-weight: 600; letter-spacing: -.01em }
.call-msg { font-size: 14px; color: #e9e1d1; line-height: 1.35 }
.call .call-door { font-size: 12px; color: #c9c0b0; margin-top: 2px }
.call .call-actions { gap: 72px }
.call .call-btn { width: 62px; height: 62px } .call .call-btn .i { width: 26px; height: 26px }
.lock { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; padding: 64px 12px 30px; background: linear-gradient(180deg, rgba(12, 15, 22, .2), rgba(12, 15, 22, .55) 60%, rgba(12, 15, 22, .85)) }
.lock-date { font-size: 15px; font-weight: 500; color: #e7ecf3; margin-top: 4px }
.lock-clock { font-size: 72px; font-weight: 500; letter-spacing: -.03em; line-height: 1; color: #f2f5f9; font-variant-numeric: tabular-nums }
.notif { margin-top: auto; width: 100%; display: grid; grid-template-columns: 34px 1fr; gap: 10px; padding: 12px; border-radius: 20px; background: rgba(245, 242, 236, .92); color: #1f1b16; backdrop-filter: blur(8px) }
.notif-app .brand-mark { width: 34px; height: 34px; border-radius: 9px }
.notif-body { display: flex; flex-direction: column; gap: 3px; font-size: 13px; line-height: 1.35 }
.notif-head { display: flex; justify-content: space-between; font-size: 11px; color: #72695d }
.notif-title { font-weight: 600 }
.notif-tel { display: inline-flex; gap: 5px; align-items: center; font-family: var(--mono); font-size: 12.5px }
.notif-tel .i { width: 14px; height: 14px }
.notif-consent { display: flex; flex-wrap: wrap; gap: 4px 6px; align-items: center; margin-top: 4px; padding-top: 6px; border-top: 1px solid rgba(31, 27, 22, .1); font-size: 11.5px; color: #16794a }
.notif-consent .i { width: 14px; height: 14px }
.consent-badge { font: 600 10.5px var(--mono); padding: 2px 6px; border-radius: 5px; background: #1f1b16; color: #f5f2ec }
.lock-door { margin-top: 10px; font-size: 12px; color: #c9d1dc; text-align: center }
.hero-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; max-width: 460px }
.hero-dot { height: 30px; padding: 0 10px; border-radius: 999px; font-size: 12.5px; background: transparent; border-color: var(--line-strong); color: var(--fg-2) }
.hero-dot.on { background: var(--fg); color: var(--bg); border-color: var(--fg) }

/* plaque : métal anthracite brossé, vis en laiton, médaillon porcelaine */
.plate { position: absolute; left: 0; bottom: 120px; z-index: 6; width: 184px; padding: 30px 22px 16px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; gap: 12px; transform: rotate(-4deg);
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .025) 0 1px, transparent 1px 3px), linear-gradient(160deg, #3a3a3d 0%, #26262a 45%, #1c1c1f 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), inset 0 -2px 4px rgba(0, 0, 0, .5), 0 22px 44px rgba(20, 16, 12, .38), 0 4px 10px rgba(20, 16, 12, .25) }
.screw { position: absolute; width: 11px; height: 11px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f1dcae, #b8925a 55%, #6e5430); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .3), 0 1px 1px rgba(0, 0, 0, .4) }
.screw::after { content: ""; position: absolute; left: 2px; right: 2px; top: 5px; height: 1.4px; background: rgba(70, 52, 28, .8); transform: rotate(35deg) }
.s1 { top: 10px; left: 10px } .s2 { top: 10px; right: 10px } .s3 { bottom: 10px; left: 10px } .s4 { bottom: 10px; right: 10px }
.plate-title { font-size: 20px; font-weight: 500; letter-spacing: .02em; background: linear-gradient(180deg, #f0d9a6, #b58f55); -webkit-background-clip: text; background-clip: text; color: transparent }
.plate-qr { padding: 7px; border-radius: 10px; background: #f5f0e6; box-shadow: 0 0 0 2px #b8925a, inset 0 1px 2px rgba(0, 0, 0, .15) }
.plate-qr img { display: block; width: 128px; height: 128px }
.plate-nfc { display: flex; gap: 6px; align-items: center; font-size: 11.5px; color: #c9a86e; text-align: center }
.plate-brand { font: 500 10px var(--mono); letter-spacing: .08em; color: rgba(201, 168, 110, .6) }
@media (max-width: 860px) {
  .hero-visual { padding-left: 0; justify-content: center; min-height: 0; flex-direction: column; align-items: center }
  .device { width: 270px }
  .plate { position: relative; left: auto; bottom: auto; margin-top: 20px; width: 220px; transform: rotate(-2deg) }
}
.check.consent { font-size: 13px; color: var(--fg-2); margin: 10px 0 0 }
.consent-ok { display: inline-flex; gap: 4px; align-items: center; color: var(--ok); margin-left: 8px }
.consent-ok .i { width: 14px; height: 14px }
/* sélecteur de langue à drapeaux */
.lang-menu { position: relative }
.lang-menu > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border-radius: var(--r); border: 1px solid var(--line-strong); cursor: pointer; font-size: 13.5px; color: var(--fg) }
.lang-menu > summary::-webkit-details-marker { display: none }
.lang-menu > summary .i { width: 16px; height: 16px; color: var(--fg-2) }
.flag { flex: none; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0, 0, 0, .12) }
.lang-list { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; min-width: 190px; padding: 6px; display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-float) }
.lang-list a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--r-sm); color: var(--fg); text-decoration: none; font-size: 14px }
.lang-list a:hover { background: var(--raised) }
.lang-list a[aria-current="true"] { background: var(--accent-soft); color: var(--accent); font-weight: 500 }
@media (max-width: 1330px) { .lang-menu > summary { width: 100%; justify-content: flex-start } .lang-list { position: static; box-shadow: none; border: 0; padding: 4px 0 } }

/* filtre démarchage */
.canvass { margin-top: 16px; padding: 16px; border-radius: 10px; background: var(--raised) }
.canvass-intro { display: flex; gap: 8px; align-items: flex-start; margin: 0 0 8px; font-size: 14px }
.canvass-intro svg, .canvass > svg { flex: none; width: 18px; height: 18px; margin-top: 2px }
.cv-cam { margin-top: 12px }
.cv-shot { display: block; width: 160px; border-radius: 10px; margin-bottom: 8px }
.ring-photo { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; flex: none }

/* plaque vendue */
.plaque-offer { display: grid; grid-template-columns: minmax(0, 320px) 1fr; gap: 40px; align-items: center }
.plaque-img { width: 100%; height: auto; border-radius: 12px; box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .45) }
.plaque-text .price { font-size: 32px; font-weight: 600; margin: 4px 0 12px; font-variant-numeric: tabular-nums }
.plaque-text .checks { flex-direction: column; margin-bottom: 12px }
@media (max-width: 720px) { .plaque-offer { grid-template-columns: 1fr; gap: 20px } .plaque-img { max-width: 260px; margin: 0 auto } }

/* affiche à imprimer « Holà Dringo ! » (format A4) */
.hola { --y: #ffd60a; --k: #111; max-width: 640px; margin: 0 auto; padding: 40px 32px 28px; background: #fff; color: var(--k); font-family: 'Poppins', var(--sans); text-align: center; display: flex; flex-direction: column; align-items: center; -webkit-print-color-adjust: exact; print-color-adjust: exact }
.hola p { margin: 0 }
.hola-hi { font: italic 800 64px/1 'Poppins'; letter-spacing: -.02em }
.hola-name { font: italic 800 112px/1.05 'Poppins'; letter-spacing: -.03em; color: var(--y); -webkit-text-stroke: 4px var(--k); paint-order: stroke fill; text-shadow: 6px 6px 0 var(--k) }
.hola-flash { margin-top: 28px !important; font: italic 800 44px/1.1 'Poppins'; letter-spacing: -.02em }
.hola-with { margin-top: 6px !important; font: italic 800 30px/1.2 'Poppins' }
.hola-with span { display: inline-block; margin-left: 6px; padding: 2px 12px; border-radius: 10px; background: var(--y); font-style: normal; font-weight: 700; word-break: break-all }
.hola-qr { margin-top: 28px; padding: 18px; border: 5px solid var(--k); border-radius: 28px; background: #fff; box-shadow: 12px 12px 0 var(--y) }
.hola-qr img { display: block; width: 320px; height: 320px; image-rendering: pixelated }
.hola-steps { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; text-align: left; font: 600 21px/1.25 'Poppins' }
.hola-steps li { display: flex; gap: 16px; align-items: center }
.hola-steps span { flex: none; width: 48px; height: 48px; border-radius: 50%; border: 3px solid var(--k); background: var(--y); display: grid; place-items: center; font: 700 20px 'Poppins' }
.hola-by { margin-top: 32px !important; display: inline-flex; gap: 10px; align-items: center; font: italic 700 18px 'Poppins' }
.hola-by i { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid var(--k); background: var(--y) }
@media (max-width: 560px) { .hola { padding: 24px 8px } .hola-hi { font-size: 44px } .hola-name { font-size: 72px; -webkit-text-stroke-width: 3px; text-shadow: 4px 4px 0 var(--k) } .hola-flash { font-size: 30px } .hola-with { font-size: 22px } .hola-qr img { width: 240px; height: 240px } .hola-steps { font-size: 17px } }
@media print { @page { size: A4; margin: 12mm } .print-page main, .print-page .wrap { padding: 0 } .hola { max-width: none; padding: 0 } }
.plans-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)) }
.plan .price small, .plaque-text .price small { font-size: 15px; font-weight: 400; color: var(--fg-2) }
.price-alt { margin: -4px 0 4px; font-size: 14px; color: var(--fg-2) }
.plans-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 820px; margin: 0 auto }
.center { text-align: center }

/* types de lieux : onglets sans script (boutons radio) */
.uc-input { position: absolute; opacity: 0; pointer-events: none }
.uc-tabs { display: flex; gap: 6px; padding: 6px; margin: 20px 0 16px; border-radius: 14px; background: var(--raised); overflow-x: auto; scrollbar-width: none }
.uc-tab { flex: none; display: inline-flex; gap: 8px; align-items: center; padding: 10px 16px; border-radius: 10px; font-weight: 500; font-size: 15px; color: var(--fg-2); cursor: pointer; white-space: nowrap }
.uc-tab .i { width: 18px; height: 18px }
.uc-tab:hover { color: var(--fg) }
.uc-panel { display: none; padding: 24px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface) }
.uc-panel h3 { font-size: 22px; margin: 0 0 6px }
.uc-lead { color: var(--fg-2); margin: 0 0 16px; max-width: 60ch }
.uc-list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px }
.uc-list li { display: flex; gap: 10px; align-items: flex-start }
.uc-list .i { color: var(--ok); flex: none; margin-top: 3px; width: 18px; height: 18px }
#uc-maison:checked ~ .uc-tabs label[for="uc-maison"] { background: var(--surface); color: var(--fg); box-shadow: 0 1px 2px rgba(0,0,0,.08) }
#uc-maison:checked ~ .uc-panels .uc-p-maison { display: block }
#uc-appart:checked ~ .uc-tabs label[for="uc-appart"] { background: var(--surface); color: var(--fg); box-shadow: 0 1px 2px rgba(0,0,0,.08) }
#uc-appart:checked ~ .uc-panels .uc-p-appart { display: block }
#uc-immeuble:checked ~ .uc-tabs label[for="uc-immeuble"] { background: var(--surface); color: var(--fg); box-shadow: 0 1px 2px rgba(0,0,0,.08) }
#uc-immeuble:checked ~ .uc-panels .uc-p-immeuble { display: block }
#uc-secondaire:checked ~ .uc-tabs label[for="uc-secondaire"] { background: var(--surface); color: var(--fg); box-shadow: 0 1px 2px rgba(0,0,0,.08) }
#uc-secondaire:checked ~ .uc-panels .uc-p-secondaire { display: block }
#uc-agence:checked ~ .uc-tabs label[for="uc-agence"] { background: var(--surface); color: var(--fg); box-shadow: 0 1px 2px rgba(0,0,0,.08) }
#uc-agence:checked ~ .uc-panels .uc-p-agence { display: block }
#uc-cabinet:checked ~ .uc-tabs label[for="uc-cabinet"] { background: var(--surface); color: var(--fg); box-shadow: 0 1px 2px rgba(0,0,0,.08) }
#uc-cabinet:checked ~ .uc-panels .uc-p-cabinet { display: block }
.uc-input:focus-visible ~ .uc-tabs { outline: 2px solid var(--accent); outline-offset: 2px }

/* matériel compatible (page Intégrations) */
.hw-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px }
.hw-card { border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); overflow: hidden; display: flex; flex-direction: column }
.hw-img { aspect-ratio: 4 / 3; background: var(--raised); display: grid; place-items: center }
.hw-img img { width: 100%; height: 100%; object-fit: contain; padding: 16px }
.hw-img .ico .i { width: 40px; height: 40px; color: var(--fg-2) }
.hw-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; align-items: flex-start }
.hw-body h3 { margin: 0; font-size: 17px }
.hw-body p { margin: 0; color: var(--fg-2); font-size: 14px }
.status.test { background: #fdf0d5; color: #8a5a00 }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .status.test { background: #3a2e14; color: #f2c66d } }

/* réponses rapides */
.quick-replies { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 }
.quick-replies form { margin: 0 }
.chip-btn { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--fg); font-size: 14px; font-weight: 500; cursor: pointer }
.chip-btn:hover { border-color: var(--accent); color: var(--accent) }
.reply-sent { display: flex; gap: 8px; align-items: center; color: var(--ok); font-size: 14px; margin: 6px 0 }
.reply-sent .i { width: 16px; height: 16px }
.reply-box { margin: 0 auto 20px; max-width: 420px; padding: 18px 20px; border-radius: 18px; background: var(--fg); color: var(--bg); text-align: left; box-shadow: 0 18px 40px -20px rgba(0,0,0,.5) }
.reply-label { font-size: 12px; text-transform: none; letter-spacing: .02em; opacity: .7 }
.reply-box p { margin: 4px 0 0; font-size: 22px; font-weight: 600; line-height: 1.25 }

/* visite guidée : navigation manuelle, annuaire par étage */
.tour-nav { display: flex; gap: 8px; margin-top: 12px }
.tour-nav button[disabled] { opacity: .45; cursor: default }
.tour-next.hint { background: var(--accent-fill); color: var(--accent-fg); border-color: #141210; box-shadow: 0 0 0 4px var(--accent-soft) }
#tour-steps li { cursor: pointer }
.ts-search-wrap { position: relative; margin: 10px 0 0 }
.ts-search-wrap .i { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--fg-2) }
.ts-search-wrap input.ts-search { width: 100%; padding: 10px 12px 10px 38px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface); font: inherit; font-size: 15px }
.ts-intercom { max-height: 330px; overflow-y: auto }
.ts-video .ts-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25% }
.ts-lock { position: relative; overflow: hidden }
.ts-lock-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.55) }
.ts-lock > :not(.ts-lock-photo) { position: relative }
/* indicateur « le visiteur parle » */
.ts-talk { position: absolute; top: 12px; right: 12px; display: flex; gap: 3px; align-items: flex-end; height: 18px; padding: 6px 8px; border-radius: 8px; background: rgba(20,16,12,.6) }
.ts-talk i { width: 3px; height: 6px; border-radius: 2px; background: #efe9de; animation: ts-talk .8s ease-in-out infinite }
.ts-talk i:nth-child(2) { animation-delay: .15s }
.ts-talk i:nth-child(3) { animation-delay: .3s }
@keyframes ts-talk { 50% { height: 16px } }
@media (prefers-reduced-motion: reduce) { .ts-talk i { animation: none; height: 12px } }
#uc-hotel:checked ~ .uc-tabs label[for="uc-hotel"] { background: var(--surface); color: var(--fg); box-shadow: 0 1px 2px rgba(0,0,0,.08) }
#uc-hotel:checked ~ .uc-panels .uc-p-hotel { display: block }
/* visite guidée : plaque inox réelle, cadre de scan sur le QR (27,5 %-73 % × 38,7 %-73,7 % de l'image) */
.ts-plaque-wrap { position: relative; width: 168px; filter: drop-shadow(0 3px 2px rgba(0,0,0,.35)) drop-shadow(0 12px 16px rgba(40,30,20,.35)) }
.ts-plaque-img { display: block; width: 100%; height: auto; border-radius: 10px }
.ts-plaque-wrap .ts-frame { left: 17%; top: 27.3%; width: 66%; height: auto; aspect-ratio: 1; transform: none }
.reply-listen { margin-top: 12px; background: transparent; color: inherit; border-color: color-mix(in srgb, currentColor 35%, transparent) }
.voice-credit { max-width: 1120px; margin: 24px auto 0; padding: 0 16px; font-size: 12px; color: var(--fg-2) }

/* visite guidée : même iPhone que l'accueil, mur réel derrière la plaque */
.tour-device { width: 340px; max-width: 100% }
.tour-dev-screen { background: var(--bg) }
.tour-dev-screen .dev-status { color: var(--fg); text-shadow: none }
.tour-dev-screen .dev-home { background: rgba(31, 27, 22, .55) }
.tour-dev-screen .tour-screen { height: 100%; border-radius: 0; padding-top: 56px; padding-bottom: 28px }
.ts-camera { background: url(/static/tour-wall.webp) center / cover }
.ts-camera::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 50% 45%, transparent 55%, rgba(0,0,0,.28)) }

/* logo : le point du i est un bouton de sonnette */
.brand .logo { display: block; height: 30px; width: auto; color: var(--fg); overflow: visible }
.logo-rim { fill: #141210 }
.logo-cap { transition: transform .12s var(--ease) }
.brand:hover .logo-cap, .brand:focus-visible .logo-cap { transform: translateY(14px) }
.brand.ringing .logo-btn { animation: logoRing .45s var(--ease) }
@keyframes logoRing { 25% { transform: translateY(-8px) } 60% { transform: translateY(4px) } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .logo-rim { fill: #F6F2EA } }
@media (prefers-reduced-motion: reduce) { .logo-cap, .brand.ringing .logo-btn { transition: none; animation: none } }
.unverified { color: var(--warn); font-weight: 500 }
.unverified-note { color: var(--warn) }


/* --- révision mobile / ordinateur --- */
html { scroll-padding-top: 72px }
form input + p, form textarea + p, form select + p { margin-top: 16px }
.final-cta .meta { color: var(--fg-2) }
@media (max-width: 860px) { .settings { grid-template-columns: minmax(0, 1fr) } }
/* espace client : la barre de navigation défile au lieu de déborder */
@media (max-width: 520px) {
  header.top { gap: 8px }
  header.top > nav { min-width: 0; overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap }
  header.top > nav::-webkit-scrollbar { display: none }
  header.top > nav a { padding: 6px 8px; white-space: nowrap; flex: none }
  .brand .logo { height: 26px }
}
/* menu mobile : défile s'il est plus haut que l'écran (téléphone à l'horizontale) */
@media (max-width: 1330px) { .site-nav[open] > nav { max-height: calc(100dvh - 72px); overflow-y: auto; overscroll-behavior: contain } }
/* tableau comparatif : les trois colonnes tiennent sur un téléphone */
@media (max-width: 600px) {
  .compare table { min-width: 0; font-size: 13px }
  .compare th, .compare td { padding: 10px 8px }
  .compare thead th { font-size: 12px }
}
/* onglets des types de lieux : retour à la ligne sur grand écran, fondu sur mobile */
@media (min-width: 1024px) { .uc-tabs { flex-wrap: wrap } }
@media (max-width: 1023px) { .uc-tabs { -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); padding-right: 40px } }
/* « Vos données » : pas d'élément orphelin en tablette */
@media (min-width: 600px) and (max-width: 900px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
/* zones tactiles d'au moins 44 px sur écran tactile */
@media (pointer: coarse) {
  .btn.sm, button.sm { height: 44px; padding: 0 14px }
  .tabs a { height: 40px }
  .hero-dot { height: 44px }
  .site-nav > summary, .lang-menu > summary { height: 44px }
  .tour-nav button { min-height: 44px }
  .chip-btn { min-height: 44px }
  .brand { min-height: 44px }
}

/* aide NFC pour les visiteurs */
.nfc-help { margin-top: 16px; text-align: left; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface) }
.nfc-help summary { display: flex; gap: 8px; align-items: center; min-height: 44px; padding: 10px 14px; cursor: pointer; font-weight: 500; font-size: 14px; list-style: none }
.nfc-help summary::-webkit-details-marker { display: none }
.nfc-help summary::after { content: "+"; margin-left: auto; font: 400 18px/1 var(--mono); color: var(--muted) }
.nfc-help[open] summary::after { content: "–" }
.nfc-help-body { padding: 0 14px 14px; font-size: 14px; color: var(--fg-2) }
.nfc-help-body p { margin: 8px 0 0 }
.nfc-help-body ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 4px }
.legal h2 { font-size: 17px; margin: 16px 0 4px } .legal h2:first-child { margin-top: 0 } .legal p { margin: 2px 0; color: var(--fg-2) }

/* message laissé sans réponse */
.leave { margin-top: 20px; text-align: left }
.leave-title { font-weight: 600; margin: 0 0 12px }
.leave-choices { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px }
.leave-choices button { flex-direction: column; height: auto; min-height: 72px; gap: 6px }
.leave-timer { margin: 8px 0; color: var(--err) }
.left-msg { margin: 8px 0 }
.left-msg video { width: 100%; max-width: 360px; border-radius: var(--r) }
.left-msg audio { width: 100%; max-width: 360px }

/* plaque de l'accueil : aluminium brossé, nouveau logo */
.plate { padding: 22px 18px 16px; color: #141210;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, .08) 0 1px, rgba(0, 0, 0, .03) 1px 2px, transparent 2px 3px), linear-gradient(160deg, #eef0f2 0%, #c9cdd2 30%, #f4f5f6 52%, #b9bec4 78%, #dfe2e5 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(0, 0, 0, .25), inset 0 0 0 1px rgba(0, 0, 0, .12), 0 22px 44px rgba(20, 16, 12, .3), 0 4px 10px rgba(20, 16, 12, .2) }
.plate .screw { background: radial-gradient(circle at 35% 30%, #ffffff, #9aa0a6 60%, #6d737a) }
.plate .screw::after { background: rgba(60, 64, 70, .7) }
.plate-logo .logo { display: block; width: 140px; height: auto; color: #141210 }
.plate-logo .logo-rim { fill: #141210 }
.plate-qr { background: #fff; box-shadow: 0 0 0 1.5px rgba(0, 0, 0, .18) }
.plate .plate-title { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #2a2c30; font-size: 15px; font-weight: 600; letter-spacing: .02em; margin-top: -4px }
.plate .plate-nfc { color: #3d4046 }
.plate-url { margin: -6px 0 0; font: 600 10px/1.2 var(--font, inherit); letter-spacing: .06em; color: #4a4d53 }
.plate.plate-static { position: relative; left: auto; bottom: auto; margin: 0 auto; width: 230px; transform: rotate(-2deg) }

/* mode SOS */
.sos { border: 1.5px solid #c4281c; padding: 12px 16px }
.sos summary { display: flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; min-height: 44px; list-style: none }
.sos summary::-webkit-details-marker { display: none }
.sos-tag { background: #c4281c; color: #fff; font-weight: 800; letter-spacing: .06em; padding: 4px 10px; border-radius: 8px }
.sos-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px; margin-top: 8px }
.sos-btn { display: flex; flex-direction: column; gap: 2px; padding: 10px 12px; min-height: 56px; border-radius: 12px; border: 1px solid color-mix(in srgb, #c4281c 35%, transparent); color: inherit; text-decoration: none; background: color-mix(in srgb, #c4281c 6%, transparent) }
.sos-btn strong { font-size: 22px; line-height: 1.1; color: #b3241a }
.sos-btn span { font-size: 13px }
.sos-btn.main { background: #c4281c; border-color: #c4281c; color: #fff }
.sos-btn.main strong { color: #fff }
.sos-btn.fav { flex-direction: row; align-items: center; gap: 8px }
.sos-btn.fav strong { font-size: 14px; color: inherit }
.sos-sub { margin: 12px 0 0; font-weight: 600; font-size: 14px }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sos-btn strong { color: #ff8a80 } :root:not([data-theme="light"]) .sos-btn.main strong { color: #fff } }
/* QR gravé au laser dans le métal ; logo et texte imprimés */
.plate .plate-qr { background: transparent; box-shadow: none; padding: 4px }
.plate .plate-qr img { filter: drop-shadow(0 .5px 0 rgba(255, 255, 255, .75)) drop-shadow(0 -.4px 0 rgba(0, 0, 0, .25)) }
.sos-btn.fav strong { display: block }
.team-picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 4px 16px }
.pilot { display: flex; gap: 16px 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; border-color: var(--accent-fill) }
.pilot h3 { margin: 0 0 4px }
.pilot p { margin: 0; max-width: 60ch }
.nav-badge { display: inline-block; margin-left: 4px; padding: 1px 6px; border-radius: 999px; font-size: 10.5px; font-weight: 600; line-height: 1.5; vertical-align: 1px; color: var(--accent-fg); background: var(--accent-fill) }
.presence .btn { white-space: normal; height: auto; min-height: 44px; text-align: center }

/* CGV */
.flash.warn { border-color: var(--accent-fill); background: color-mix(in srgb, var(--accent-fill) 14%, var(--surface)) }
.flash.warn .i { color: var(--accent) }
.cgv ul { margin: 4px 0; padding-left: 20px; color: var(--fg-2) } .cgv li { margin: 4px 0 }
.cgv p { margin: 8px 0 }
.cgv-table { width: 100%; border-collapse: collapse; margin: 8px 0; font-size: 14px }
.cgv-table th, .cgv-table td { text-align: left; padding: 8px 12px 8px 0; border-bottom: 1px solid var(--line) }
.cgv-table th { font-weight: 500; color: var(--muted) } .cgv-table td:last-child { font-variant-numeric: tabular-nums }
.tbd { display: inline-block; padding: 0 6px; border-radius: 6px; font-size: 12px; background: color-mix(in srgb, var(--accent-fill) 30%, transparent); color: var(--accent-fg) }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tbd { color: var(--fg) } }

/* --- passe de finition : publics, étapes illustrées, apparition au défilement --- */
.uses:has(> .use:nth-child(4):last-child) { grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)) }

.aud { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin: 0 0 48px }
.aud-card { display: grid; grid-template-columns: 36px 1fr; gap: 2px 12px; align-items: center; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); color: inherit; text-decoration: none; transition: border-color .15s var(--ease), background-color .15s var(--ease), transform .15s var(--ease) }
.aud-card .ico { grid-row: span 2; width: 36px; height: 36px; border-radius: var(--r); background: var(--raised); display: grid; place-items: center; color: var(--fg-2); transition: background-color .15s var(--ease), color .15s var(--ease) }
.aud-card strong { font-weight: 600; align-self: end }
.aud-card > span:last-child { color: var(--fg-2); font-size: 14px; line-height: 1.35; align-self: start }
.aud-card:hover { border-color: var(--line-strong) }
.aud-card:hover .ico { background: var(--accent-fill); color: var(--accent-fg) }
.aud-card:active { transform: scale(.985) }
.aud-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px }
@media (max-width: 1000px) { .aud { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 520px) { .aud { grid-template-columns: 1fr; margin-bottom: 32px } }

.stepfig { position: relative; display: block; width: 100%; max-width: 360px; aspect-ratio: 240 / 132; margin-bottom: 12px; border-radius: 14px; overflow: hidden; background: #d8cfbf url(/static/tour-wall.webp) center / cover }
.steps li .stepfig { order: -1 }
.sf-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover }
.sf-plaque { position: absolute; left: 12%; top: 9%; height: 82%; width: auto; border-radius: 6px; filter: drop-shadow(0 2px 2px rgba(0, 0, 0, .3)) drop-shadow(0 10px 14px rgba(40, 30, 20, .3)) }
.sf-waves { position: absolute; left: 42%; top: 32%; height: 36%; width: auto; overflow: visible }
.sf-waves path { fill: none; stroke: #ffd60a; stroke-width: 4; stroke-linecap: round; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .35)) }
.sf-dev { position: absolute; top: 7%; height: 86%; aspect-ratio: 9 / 18.5; padding: 2.2%; border-radius: 13% / 6.5%; background: linear-gradient(145deg, #3a3835, #0e0d0c 40%); box-shadow: 0 2px 3px rgba(0, 0, 0, .35), 0 12px 20px rgba(30, 22, 14, .4) }
.f2 .sf-dev { right: 14%; transform: rotate(-6deg) }
.f3 .sf-dev { left: 12% }
.sf-scr { position: relative; height: 100%; border-radius: 11% / 5.5%; overflow: hidden; background: #f7f4ee; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5% }
.sf-island { position: absolute; top: 3%; left: 50%; width: 32%; height: 4.5%; transform: translateX(-50%); border-radius: 99px; background: #0e0d0c; z-index: 2 }
.sf-scan { display: grid; place-items: center; width: 66%; aspect-ratio: 1; border-radius: 14%; border: 2px solid #1f8a4c; box-shadow: 0 0 0 3px rgba(31, 138, 76, .22) }
.sf-scan img { width: 78%; height: auto }
.sf-tag { display: inline-flex; align-items: center; gap: 3px; padding: 2px 6px; border-radius: 99px; background: #1c1917; color: #fff; font: 600 8px/1.4 var(--font, inherit) }
.sf-tag.alt { background: #fff; color: #1c1917; border: 1px solid rgba(28, 25, 23, .25); margin-top: -3% }
.sf-tag .i { width: 9px; height: 9px }
.sf-call img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover }
.sf-call::after { content: ""; position: absolute; inset: 55% 0 0; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .7)) }
.sf-btns { position: absolute; left: 0; right: 0; bottom: 7%; z-index: 2; display: flex; justify-content: space-around; padding: 0 12% }
.sf-btns i { display: grid; place-items: center; width: 26%; aspect-ratio: 1; border-radius: 50%; color: #fff }
.sf-btns .no { background: #c4281c } .sf-btns .ok { background: #1f8a4c }
.sf-btns .i { width: 55%; height: 55% }
.sf-bubble { position: absolute; display: inline-flex; align-items: center; gap: 5px; max-width: 46%; padding: 6px 10px; border-radius: 12px; font-size: 11.5px; line-height: 1.25; color: #1c1917; box-shadow: 0 2px 6px rgba(30, 22, 14, .25) }
.sf-bubble.b1 { left: 46%; top: 12%; background: #fff; border-bottom-left-radius: 4px }
.sf-bubble.b2 { right: 7%; top: 40%; background: #ffd60a; font-weight: 600; border-bottom-right-radius: 4px }
.sf-bubble .i { width: 13px; height: 13px; flex: none }

/* animations jouées une seule fois, quand la section entre à l'écran */
.rv { opacity: 0; transform: translateY(12px) }
.rv.in { opacity: 1; transform: none; transition: opacity .5s var(--ease), transform .5s var(--ease) }
.steps.anim .sf-plate, .steps.anim .sf-phone, .steps.anim .sf-waves path, .steps.anim .sf-bubble { opacity: 0 }
.steps.anim.in .f1 .sf-plate { animation: sf-zoom .7s var(--ease) .1s both }
.steps.anim.in .f2 .sf-plate { animation: sf-fade .3s var(--ease) .5s both }
.steps.anim.in .f2 .sf-phone { animation: sf-approach .7s var(--ease) .7s both }
.steps.anim.in .f2 .sf-waves path { animation: sf-fade .25s var(--ease) both }
.steps.anim.in .f2 .sf-waves path:nth-child(1) { animation-delay: 1.4s }
.steps.anim.in .f2 .sf-waves path:nth-child(2) { animation-delay: 1.55s }
.steps.anim.in .f2 .sf-waves path:nth-child(3) { animation-delay: 1.7s }
.steps.anim.in .f3 .sf-phone { animation: sf-fade .3s var(--ease) 1.9s both }
.steps.anim.in .f3 .b1 { animation: sf-rise .35s var(--ease) 2.2s both }
.steps.anim.in .f3 .b2 { animation: sf-rise .35s var(--ease) 2.6s both }
@keyframes sf-drop { from { opacity: 0; transform: translateY(-10px) } to { opacity: 1; transform: none } }
@keyframes sf-fade { from { opacity: 0 } to { opacity: 1 } }
@keyframes sf-approach { from { opacity: 0; transform: translateX(28px) rotate(-6deg) } to { opacity: 1; transform: rotate(-6deg) } }
@keyframes sf-zoom { from { opacity: 0; transform: scale(1.08) } to { opacity: 1; transform: none } }
@keyframes sf-rise { from { opacity: 0; transform: translateY(6px) } to { opacity: 1; transform: none } }
@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none }
  .steps.anim .sf-plate, .steps.anim .sf-phone, .steps.anim .sf-waves path, .steps.anim .sf-bubble { opacity: 1; animation: none !important }
}

/* --- page Syndics : hall d'immeuble, annuaire et identification du visiteur --- */
.bld-hero h1 { font-size: 48px }
.bld-visual { position: relative; min-height: 580px; border-radius: 24px; overflow: hidden; background: var(--raised) }
.bld-hall { position: absolute; inset: 0; width: 100%; height: 100% }
.h-wall { fill: #e9e2d6 } .h-floor { fill: #cfc5b5 } .h-line { fill: none; stroke: rgba(0, 0, 0, .08) }
.h-frame { fill: #2b2926 } .h-glass { fill: #a9b8bd } .h-shine { fill: rgba(255, 255, 255, .28) } .h-handle { fill: #c9c2b6 }
.h-panel { fill: #8f949a } .h-cam { fill: #26292d } .h-keys { fill: #e6e8ea }
.h-plate rect:first-child { fill: #dfe2e5; stroke: rgba(0, 0, 0, .2) } .h-ink { fill: #26292d } .h-accent { fill: #ffd60a }
.h-boxes rect { fill: #b9ae9c } .h-boxes path { fill: none; stroke: #9a8f7e; stroke-width: 2 } .h-slot { stroke: #6f6658; stroke-width: 3; stroke-linecap: round }
.h-lamp { fill: #fff6d6 }
.bld-phone { position: absolute; width: 224px; padding: 8px; border-radius: 36px; background: #0e0d0c; box-shadow: 0 24px 48px rgba(20, 16, 12, .35), 0 4px 12px rgba(20, 16, 12, .2) }
.bld-phone.p1 { left: 6%; top: 40px; transform: rotate(-3deg) }
.bld-phone.p2 { right: 5%; top: 132px; transform: rotate(2deg) }
.bld-screen { border-radius: 28px; min-height: 400px; padding: 28px 12px 14px; background: #f7f4ee; color: #1c1917; font-size: 12px; line-height: 1.35; display: flex; flex-direction: column; gap: 6px }
.bld-screen p { margin: 0 }
.bld-screen .i { width: 13px; height: 13px; flex: none }
.bp-ok { display: flex; align-items: center; gap: 5px; color: #1f6f43; font-size: 11px; font-weight: 500 }
.bp-search { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border-radius: 10px; border: 1.5px solid #1c1917; background: #fff; font-weight: 500 }
.bp-search i { width: 1.5px; height: 15px; background: #1c1917; margin-left: -4px }
.bp-search em { margin-left: auto; font-style: normal; font-weight: 400; font-size: 10.5px; color: #8a8378; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.bp-floor { margin-top: 6px !important; font-size: 10.5px; color: #8a8378; font-weight: 500 }
.bp-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 34px; padding: 0 10px; border-radius: 10px; background: #fff; border: 1px solid rgba(28, 25, 23, .1) }
.bp-row.on { border-color: #1c1917; background: #ffd60a; font-weight: 600 }
.bp-unit { font-family: var(--mono); font-size: 10.5px; color: #5c564d; white-space: nowrap }
.bp-row.on .bp-unit { color: #1c1917 }
.bp-target { display: flex; justify-content: space-between; align-items: center; padding-bottom: 8px; border-bottom: 1px solid rgba(28, 25, 23, .12); font-size: 13px }
.bp-title { font-size: 15px; font-weight: 600; margin-top: 4px !important }
.bp-label { font-size: 10.5px; color: #5c564d; margin-top: 4px !important }
.bp-input { min-height: 32px; display: flex; align-items: center; padding: 0 10px; border-radius: 10px; background: #fff; border: 1px solid rgba(28, 25, 23, .18) }
.bp-msg { color: #5c564d; min-height: 40px; align-items: flex-start; padding-top: 8px }
.bp-chips { display: flex; flex-wrap: wrap; gap: 4px }
.bp-chip { padding: 4px 8px; border-radius: 999px; border: 1px solid rgba(28, 25, 23, .18); background: #fff; font-size: 10.5px }
.bp-chip.on { background: #1c1917; color: #fff; border-color: #1c1917 }
.bp-btn { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 34px; border-radius: 10px; border: 1px solid rgba(28, 25, 23, .18); background: #fff; font-weight: 500 }
.bp-btn.primary { margin-top: auto !important; background: #ffd60a; border-color: #1c1917; font-weight: 600 }
@media (max-width: 1000px) { .bld-hero { grid-template-columns: 1fr } .bld-visual { min-height: 560px } }
@media (max-width: 520px) {
  .bld-hero h1 { font-size: 34px }
  .bld-visual { min-height: 640px }
  .bld-phone { width: 200px }
  .bld-phone.p1 { left: 8px; top: 20px } .bld-phone.p2 { right: 8px; top: 210px }
  .bld-screen { min-height: 380px }
}
/* entrée unique : le second téléphone arrive après le premier */
.bld-visual.anim .bld-phone { opacity: 0 }
.bld-visual.anim.in .p1 { animation: bp-in .55s var(--ease) .1s both }
.bld-visual.anim.in .p2 { animation: bp-in2 .55s var(--ease) .55s both }
@keyframes bp-in { from { opacity: 0; transform: translateY(16px) rotate(-3deg) } to { opacity: 1; transform: rotate(-3deg) } }
@keyframes bp-in2 { from { opacity: 0; transform: translateY(16px) rotate(2deg) } to { opacity: 1; transform: rotate(2deg) } }
@media (prefers-reduced-motion: reduce) { .bld-visual.anim .bld-phone { opacity: 1; animation: none !important } }
.blocked-list { list-style: none; margin: 0; padding: 0 } .blocked-list li { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; padding: 6px 0; border-top: 1px solid var(--line) }
.cv-cam.cv-required { margin-top: 16px; padding: 12px 16px; border-radius: 10px; border: 1.5px solid #c4281c }
.cv-must { display: flex; align-items: center; gap: 8px; margin: 0 0 4px; font-weight: 600; color: #b3241a }
.cv-cam button.danger { background: #c4281c; border-color: #c4281c; color: #fff }
.bp-btn.must { background: #c4281c; border-color: #c4281c; color: #fff; font-weight: 600 }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .cv-must { color: #ff8a80 } }
.bp-btn.must { margin-top: auto !important } .bp-btn.must + .bp-btn.primary { margin-top: 0 !important }
.steps .sf-bubble span { color: inherit }
.steps .sf-tag { color: #fff } .steps .sf-tag.alt { color: #1c1917 }
.sf-bubble.b3 { left: 46%; top: 70%; background: #fff; color: #b3241a; border: 1px solid rgba(196, 40, 28, .45); font-weight: 600; padding: 4px 9px; font-size: 10.5px }
.steps.anim.in .f3 .b3 { animation: sf-rise .35s var(--ease) 3s both }
/* carrousel d'accueil : même cadrage photo et même position du texte sur toutes les scènes d'appel */
.scene-photo { top: 0; height: 60%; max-height: none; object-position: center 22% }
.call-who { min-height: 126px; justify-content: flex-start; margin-bottom: 14px }
.call-msg { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden }

/* rubrique Sécurité : panorama des protections */
.prot-group { margin-top: 32px }
.prot-group h3 { font-size: 18px; font-weight: 600; margin: 0 0 12px }
.prots { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px }
.prot { display: flex; flex-direction: column; gap: 8px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface) }
.prot .ico { width: 36px; height: 36px; border-radius: var(--r); background: var(--raised); display: grid; place-items: center; color: var(--fg-2) }
.prot h4 { margin: 4px 0 0; font-size: 15px; font-weight: 600; line-height: 1.3 }
.prot p { margin: 0; color: var(--fg-2); font-size: 14px; line-height: 1.45 }
.prot-tag { display: inline-block; margin-left: 2px; padding: 1px 6px; border-radius: 999px; font-size: 10.5px; font-weight: 600; line-height: 1.5; vertical-align: 1px; white-space: nowrap }
.prot-tag.d { color: var(--accent-fg); background: var(--accent-fill) }
.prot-tag.o { color: var(--fg-2); background: var(--raised); border: 1px solid var(--line-strong) }
@media (max-width: 1000px) { .prots { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 520px) { .prots { grid-template-columns: 1fr } }
.sec-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 8px }
.sec-links a { display: flex; flex-direction: row; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--surface); color: inherit; text-decoration: none; font-weight: 600; line-height: 1.3; transition: border-color .15s var(--ease) }
.sec-links .ico { width: 36px; height: 36px; border-radius: var(--r); background: var(--raised); display: grid; place-items: center; color: var(--fg-2); transition: background-color .15s var(--ease), color .15s var(--ease) }
.sec-links a:hover { border-color: var(--line-strong) } .sec-links a:hover .ico { background: var(--accent-fill); color: var(--accent-fg) }
.sec-links a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px }
@media (max-width: 1000px) { .sec-links { grid-template-columns: repeat(2, minmax(0, 1fr)) } }
@media (max-width: 520px) { .sec-links { grid-template-columns: 1fr } .sec-links a { flex-direction: row; align-items: center } }

/* rubrique Sécurité : captures de l'application à côté de chaque explication */
.sec-block:has(.sec-shots) { display: grid; grid-template-columns: minmax(0, 1fr) 300px; column-gap: 56px; align-items: start }
.sec-block:has(.sec-shots) > * { grid-column: 1 }
.sec-block > .sec-shots { grid-column: 2; grid-row: 1 / span 6; display: flex; flex-direction: column; gap: 16px; position: sticky; top: 76px }
.sec-shot { margin: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-strong); background: #f7f4ee; box-shadow: 0 12px 28px -14px rgba(20, 16, 12, .35) }
.sec-shot img { display: block; width: 100%; height: auto }
@media (max-width: 900px) {
  .sec-block:has(.sec-shots) { display: block }
  .sec-block > .sec-shots { position: static; flex-direction: row; overflow-x: auto; margin: 16px 0; scrollbar-width: none }
  .sec-block > .sec-shots .sec-shot { flex: 0 0 min(280px, 78%) }
}
.keep-links { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 8px 0 0; font-size: 13px }
.keep-links a { display: inline-flex; align-items: center; gap: 6px; min-height: 32px; color: var(--fg-2) }
.keep-links .i { width: 15px; height: 15px }

/* téléphones des visuels : même cadre réaliste que le téléphone de l'accueil (titane, bords fins, boutons) */
.sf-dev { aspect-ratio: 9 / 19.5; padding: 1.5px; border-radius: 17% / 7.8%; background: linear-gradient(140deg, #c9c3b8 0%, #8f897f 22%, #d8d2c6 48%, #7d776e 72%, #b9b2a6 100%); box-shadow: 0 2px 3px rgba(0, 0, 0, .3), 0 14px 22px rgba(30, 22, 14, .42) }
.sf-dev::before, .sf-dev::after { content: ""; position: absolute; width: 1.5px; border-radius: 1px; background: linear-gradient(90deg, #6f6a62, #b5afa4) }
.sf-dev::before { left: -1.5px; top: 24%; height: 22%; box-shadow: 0 -14px 0 0 #8f897f; clip-path: inset(-20px 0 0 0) }
.sf-dev::after { right: -1.5px; top: 30%; height: 16% }
.sf-scr { margin: 2px; height: calc(100% - 4px); border-radius: 15.5% / 7.2%; box-shadow: 0 0 0 2px #0b0a09 }
.sf-island { top: 2.6%; width: 30%; height: 4.2%; background: #000 }
.sf-scr::after { content: ""; position: absolute; left: 32%; right: 32%; bottom: 1.6%; height: 1.5px; border-radius: 1px; background: rgba(20, 18, 16, .55); z-index: 3 }
.sf-call::after { inset: 55% 0 0; left: 0; right: 0; bottom: 0; height: auto; border-radius: 0; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .72)); z-index: 1 }
.sf-call .sf-btns { bottom: 8% }
.sf-call::before { content: ""; position: absolute; left: 32%; right: 32%; bottom: 1.6%; height: 1.5px; border-radius: 1px; background: rgba(255, 255, 255, .85); z-index: 3 }

.bld-phone { padding: 3px; border-radius: 40px; background: linear-gradient(140deg, #c9c3b8 0%, #8f897f 22%, #d8d2c6 48%, #7d776e 72%, #b9b2a6 100%) }
.bld-phone::before { content: ""; position: absolute; left: -3px; top: 96px; width: 3px; height: 44px; border-radius: 2px; background: linear-gradient(90deg, #6f6a62, #b5afa4); box-shadow: 0 54px 0 0 #8f897f }
.bld-phone::after { content: ""; position: absolute; right: -3px; top: 132px; width: 3px; height: 66px; border-radius: 2px; background: linear-gradient(270deg, #6f6a62, #b5afa4) }
.bld-screen { position: relative; margin: 5px; border-radius: 32px; box-shadow: 0 0 0 5px #0b0a09; padding-top: 34px }
.bld-screen::before { content: ""; position: absolute; top: 8px; left: 50%; width: 64px; height: 18px; margin-left: -32px; border-radius: 10px; background: #000 }
.bld-screen::after { content: ""; position: absolute; bottom: 5px; left: 50%; width: 84px; height: 3px; margin-left: -42px; border-radius: 2px; background: rgba(20, 18, 16, .5) }

/* SOS : pictogrammes et choix des numéros */
.sos-btn { position: relative }
.sos-ico { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: color-mix(in srgb, #c4281c 14%, transparent); color: #b3241a }
.sos-ico .i { width: 16px; height: 16px }
.sos-btn.main .sos-ico { background: rgba(255, 255, 255, .2); color: #fff }
.sos-btn.off { display: none }
.sos.editing .sos-btn.off { display: flex; filter: grayscale(1); opacity: .45; border-style: dashed }
.sos.editing .sos-btn[data-num] { cursor: pointer }
.sos.editing .sos-btn[data-num]:not(.off):not(.main) { box-shadow: 0 0 0 2px color-mix(in srgb, #c4281c 40%, transparent) }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .sos-ico { color: #ff8a80 } :root:not([data-theme="light"]) .sos-btn.main .sos-ico { color: #fff } }

/* choix de la sonnerie du carillon */
.sound-list { display: flex; flex-direction: column; gap: 0 }
.sound-row { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 12px; min-height: 52px; padding: 8px 0; border-top: 1px solid var(--line); cursor: pointer }
.sound-row:first-child { border-top: 0 }
.sound-name { display: flex; flex-direction: column; gap: 2px }
.sound-name strong { font-weight: 600 }
.sound-list > p { margin: 12px 0 0 }

/* carillon : signal visuel plein écran pour les personnes sourdes ou malentendantes */
.chime-opt { max-width: 34rem; margin: 16px auto; text-align: left }
.chime-flash { position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px; padding: 24px; text-align: center; background: #ffd60a; color: #141210; animation: chime-blink 1s steps(1, end) infinite }
.chime-flash[hidden] { display: none }
.chime-flash-bell { display: grid; place-items: center; width: 120px; height: 120px; border-radius: 50%; background: #141210; color: #ffd60a }
.chime-flash-bell .i { width: 64px; height: 64px }
.chime-flash-who { margin: 0; font-size: clamp(36px, 9vw, 96px); font-weight: 600; line-height: 1.05 }
.chime-flash-msg { margin: 0; font-size: clamp(18px, 3.5vw, 32px) }
.chime-flash button { margin-top: 16px; min-width: 200px; min-height: 64px; font-size: 20px; background: #141210; color: #ffd60a; border-color: #141210 }
@keyframes chime-blink { 0%, 49% { background: #ffd60a; color: #141210 } 50%, 100% { background: #141210; color: #ffd60a } }
@media (prefers-reduced-motion: reduce) { .chime-flash { animation: none } }
.chime-flash-bell { background: transparent; color: inherit; border: 5px solid currentColor }
.chime-flash button { background: transparent; color: inherit; border: 3px solid currentColor }
.demo-bar { display: flex; gap: 12px 24px; align-items: center; justify-content: space-between; flex-wrap: wrap; border-color: var(--accent-fill); background: color-mix(in srgb, var(--accent-fill) 12%, var(--surface)) }
.demo-bar p { margin: 4px 0 0; max-width: 60ch }
.demo-profiles { flex-basis: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line) }
.demo-profiles .chip-btn.on { background: var(--accent-fill); color: var(--accent-fg); border-color: var(--accent-fg); font-weight: 600 }
.demo-guide { flex-basis: 100%; display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; padding-top: 16px; border-top: 1px solid var(--line) }
.demo-qr { text-align: center }
.demo-qr img { display: block; width: 168px; height: 168px; margin: 0 auto 8px; padding: 6px; border-radius: 12px; background: #fff; border: 1px solid var(--line-strong) }
.demo-pitch { margin: 0 0 8px; font-weight: 600 }
.demo-script ol { margin: 0; padding-left: 20px; color: var(--fg-2) }
.demo-script li { margin: 6px 0 }
@media (max-width: 640px) { .demo-guide { grid-template-columns: 1fr } }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hero-hola { color: var(--accent-fill); background: none; padding: 0; font-size: 96px } }
:root[data-theme="dark"] .hero-hola { color: var(--accent-fill); background: none; padding: 0; font-size: 96px }
@media (max-width: 900px) { .hero-hola, :root:not([data-theme="light"]) .hero-hola, :root[data-theme="dark"] .hero-hola { font-size: 52px; margin-bottom: 14px } }

/* bannière « Pas de démarchage » en tête de l'écran du visiteur */
.nocanvass { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 16px; padding: 14px 16px; border-radius: var(--r-card); background: var(--err); color: #fff; font-size: 16px; text-align: center }
.nocanvass strong { text-transform: uppercase; letter-spacing: .04em; font-weight: 700; margin-right: 6px }
.nocanvass .i { flex: none; color: #fff }

/* écran du visiteur : en-tête réduit au logo, pied discret pour découvrir Dringo */
header.top.top-visitor { justify-content: center; position: static; border-bottom: 0; background: none; backdrop-filter: none; padding-top: 14px; padding-bottom: 0; min-height: 0 }
.top-visitor .brand { pointer-events: none; transform: scale(.82) }
.visitor-page .wrap { padding-top: 12px; max-width: 520px }
.visitor-foot { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 16px 40px }
.visitor-foot .vf-make { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 12px 20px; border-radius: 14px; border: 1px solid var(--line-strong); text-decoration: none; color: var(--fg) }
.visitor-foot .vf-make strong { font-size: 14px; font-weight: 600 }
.visitor-foot .vf-make span { font-size: 13px; color: var(--accent) }
.visitor-page .visitor-head { margin: 4px 0 16px }
.visitor-page .visitor-head .who { font-size: 24px }
.more-fields { margin: 16px 0 0; border: 1px solid var(--line-strong); border-radius: var(--r-card); padding: 0 14px }
.more-fields > summary { display: flex; align-items: center; gap: 10px; padding: 14px 0; cursor: pointer; list-style: none; font-size: 15px; color: var(--fg-2) }
.more-fields > summary::-webkit-details-marker { display: none }
.more-fields > summary::after { content: "+"; margin-left: auto; font-size: 20px; color: var(--muted) }
.more-fields[open] > summary::after { content: "–" }
.more-fields[open] { padding-bottom: 14px }

/* guide en questions-réponses */
.qa-list { display: grid; gap: 14px; max-width: 820px }
.qa { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: 22px 24px }
.qa h2 { font-size: 20px; line-height: 1.3; margin: 0 0 8px; letter-spacing: -.01em }
.qa p { margin: 0; color: var(--fg-2); line-height: 1.6 }

/* réseaux sociaux en pied de page */
footer .social { margin: 0 0 6px }
footer .social a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; text-decoration: none; font-weight: 500 }
footer .social { display: flex; justify-content: center; flex-wrap: wrap; gap: 4px }
footer .social img { display: block }

/* tarif par porte, dégressif : curseur et grille */
.plan-vp .vp { display: flex; flex-direction: column; gap: 10px }
.vp-ctl { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border-radius: 14px; background: var(--raised) }
.vp-ctl label { font-size: 15px; font-weight: 600; margin: 0 }
.vp-count { font-variant-numeric: tabular-nums }
.vp-ctl input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; margin: 0; padding: 0; border: 0; background: none; cursor: pointer }
.vp-ctl input[type=range]::-webkit-slider-runnable-track { height: 8px; border-radius: 999px; background: linear-gradient(90deg, var(--accent-fill) var(--fill, 0%), var(--line-strong) var(--fill, 0%)) }
.vp-ctl input[type=range]::-moz-range-track { height: 8px; border-radius: 999px; background: var(--line-strong) }
.vp-ctl input[type=range]::-moz-range-progress { height: 8px; border-radius: 999px; background: var(--accent-fill) }
.vp-ctl input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -9px; border-radius: 50%; background: var(--accent-fill); border: 2px solid #141210 }
.vp-ctl input[type=range]::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--accent-fill); border: 2px solid #141210 }
.vp-total, .vp-quote { margin: 0; font-size: 14px; color: var(--fg-2) }
.vp-total strong { color: var(--fg); font-variant-numeric: tabular-nums }
.vp-grid { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums }
.vp-grid td { padding: 6px 8px; border-top: 1px solid var(--line); color: var(--fg-2) }
.vp-grid td:last-child { text-align: right }
.vp-grid tr.on td { color: var(--fg); font-weight: 600; background: var(--accent-soft) }

/* remises partenaires */
.pt-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; margin: 20px 0 12px }
.pt { padding: 22px 24px }
.pt-rate { font-size: 40px; font-weight: 600; letter-spacing: -.03em; line-height: 1; color: var(--accent); margin: 0 0 10px; font-variant-numeric: tabular-nums }
.pt-rate small { font-size: 15px; font-weight: 500; color: var(--fg-2); letter-spacing: 0 }
.pt h3 { margin: 0 0 6px; font-size: 18px }
.pt p:last-child { margin: 0; color: var(--fg-2) }
.price-plate { display: flex; align-items: center; gap: 8px; margin: 2px 0 6px; padding: 8px 12px; border-radius: 10px; background: var(--raised); font-size: 14px }
.price-plate .i { flex: none; color: var(--accent) }
.pt-rule { margin: 0 0 8px; font-size: 14px; color: var(--fg-2); max-width: 760px }
.vp-grid td:nth-child(2) { text-align: right }
.vp-grid td:nth-child(3) { white-space: nowrap }
.plan-vp .price-alt { margin: -6px 0 2px }
.vp-grid td { white-space: nowrap }
@media (max-width: 480px) { .vp-grid { font-size: 13px } .vp-grid td { padding: 6px 4px } }
.braille { display: inline-block; margin-left: 6px; font-size: 18px; line-height: 1; letter-spacing: 1px; color: var(--fg-2); vertical-align: middle }

/* bandeau de sonnerie quand l'application est ouverte */
.ring-toast { position: fixed; left: 12px; right: 12px; top: max(12px, env(safe-area-inset-top)); z-index: 90; display: flex; flex-direction: column; gap: 2px; padding: 12px 16px; border-radius: var(--r-card); border: 1px solid #141210; background: var(--accent-fill); color: var(--accent-fg); text-decoration: none; box-shadow: var(--shadow-float); max-width: 520px; margin: 0 auto }
.ring-toast strong { font-size: 16px }
.ring-toast span { font-size: 14px }
.ring-toast[hidden] { display: none }

/* démonstration : choix du scénario (QR de démo unique) */
.scenario-list { display: grid; gap: 12px }
.scenario-choice { height: auto; min-height: 44px; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 16px 20px; text-align: left; border-radius: var(--r-card); background: var(--surface); border: 1px solid var(--line-strong); white-space: normal }
.scenario-choice strong { font-size: 16px; font-weight: 600 }
.scenario-choice span { font-size: 14px; color: var(--fg-2); font-weight: 400 }
.scenario-steps { margin: 12px 0 0; padding-left: 20px; display: grid; gap: 8px }

/* SOS : cases à cocher du mode « Cocher mes numéros » */
.sos-check { display: none; position: absolute; top: 8px; right: 8px; width: 24px; height: 24px; border-radius: var(--r-sm); border: 1.5px solid #c4281c; background: var(--surface); color: #fff; align-items: center; justify-content: center }
.sos-check .i { width: 16px; height: 16px; vertical-align: 0; opacity: 0 }
.sos.editing .sos-check { display: flex }
.sos.editing .sos-btn[data-num] .sos-ico { visibility: hidden }
.sos.editing .sos-btn[data-num]:not(.off) .sos-check { background: #c4281c }
.sos.editing .sos-btn[data-num]:not(.off) .sos-check .i { opacity: 1 }
.sos.editing .sos-btn.main .sos-check { background: #fff; border-color: #fff; color: #c4281c }
.sos.editing .sos-btn.main .sos-check .i { opacity: 1 }
.sos.editing .sos-btn.off { filter: none; opacity: .6 }
