/* Bouton « Une question ? » et fenêtre de contact (accueil, guides et application). */
.pn-q-fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 45;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 18px; border: 0; border-radius: 999px; cursor: pointer;
  background: #1f4d3a; color: #fff; font: inherit; font-weight: 600; font-size: 0.95rem;
  box-shadow: 0 6px 20px rgba(20, 48, 36, 0.3);
  transition: bottom 0.2s ease;
}
.pn-q-fab:hover { background: #163a2b; }
.pn-q-fab:focus-visible { outline: 3px solid #e0b559; outline-offset: 2px; }
.pn-q-dialog {
  width: min(480px, calc(100vw - 24px)); max-height: calc(100vh - 24px); overflow: auto;
  padding: 0; border: 0; border-radius: 16px; background: #fff; color: #22271f;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.pn-q-dialog::backdrop { background: rgba(20, 48, 36, 0.55); }
.pn-q-form { display: flex; flex-direction: column; gap: 12px; padding: 22px 22px 20px; }
.pn-q-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pn-q-head h2 { margin: 0; font-family: var(--font-display, Georgia, serif); font-size: 1.35rem; color: #143024; }
.pn-q-close { border: 0; background: transparent; font-size: 1.8rem; line-height: 1; cursor: pointer; color: #6d7566; padding: 0 4px; }
.pn-q-intro { margin: 0; font-size: 0.92rem; color: #6d7566; }
.pn-q-field { display: flex; flex-direction: column; gap: 5px; }
.pn-q-field label { font-size: 0.82rem; font-weight: 600; color: #22271f; }
.pn-q-field input, .pn-q-field textarea {
  width: 100%; box-sizing: border-box; padding: 10px 12px; font: inherit; font-size: 0.95rem;
  color: #22271f; background: #fff; border: 1px solid #d9d3c0; border-radius: 10px;
}
.pn-q-field textarea { resize: vertical; }
.pn-q-field input:focus, .pn-q-field textarea:focus { outline: 2px solid #1f4d3a; outline-offset: 1px; }
.pn-q-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pn-q-check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.82rem; line-height: 1.5; color: #6d7566; }
.pn-q-check input { margin-top: 3px; flex: none; }
.pn-q-check a { color: #1f4d3a; }
.pn-q-msg { margin: 0; padding: 10px 14px; border-radius: 10px; font-size: 0.9rem; }
.pn-q-msg.is-ok { background: #e3f1e8; color: #1d6b3a; }
.pn-q-msg.is-error { background: #fbe9e5; color: #a3321c; }
.pn-q-msg[hidden] { display: none; }
.pn-q-submit {
  display: block; width: 100%; padding: 13px 16px; border: 0; border-radius: 999px; cursor: pointer;
  font: inherit; font-weight: 700; font-size: 1rem; color: #fff;
  background: linear-gradient(90deg, #c9852f, #b5502e);
}
.pn-q-submit:disabled { opacity: 0.6; cursor: default; }
@media (max-width: 640px) {
  .pn-q-fab { right: 12px; bottom: 12px; padding: 11px 16px; }
}
/* Application : sur téléphone, le bouton passe au-dessus de la navigation du bas (et du bandeau de démo). */
@media (max-width: 760px) {
  body.pn-in-app .pn-q-fab { bottom: calc(70px + env(safe-area-inset-bottom)); }
  body.pn-in-app.has-demo-banner .pn-q-fab { bottom: calc(160px + env(safe-area-inset-bottom)); }
}
