/* Pages d'information (mentions-legales.php, confidentialite.php, contact.php ; Ui\LegalPage) :
   titre souligné, une feuille scotchée, des sections lisibles. */

.legal-inner{max-width:860px;display:flex;flex-direction:column;gap:18px}
.legal h1{align-self:flex-start;padding-bottom:12px;background:var(--squiggle) left bottom / 40px 10px repeat-x}
.legal-panel{position:relative;box-shadow:8px 8px 0 var(--teal);display:flex;flex-direction:column;gap:22px}
.legal-panel::before{content:"";position:absolute;top:-16px;left:50%;width:120px;height:30px;background:rgba(255,195,31,.8);border:2px solid rgba(31,42,92,.35);transform:translateX(-50%) rotate(-2deg)}
.legal-section h2{font-size:20px;margin:0 0 8px}
.legal-section p,.legal-section ul{margin:0 0 8px;line-height:1.6}
.legal-section ul{padding-left:22px}
.legal-section li{margin-bottom:4px}
.legal-section a{font-weight:700}
.legal-updated{margin:0;font-size:13px;color:var(--muted)}
.todo{background:#FFE7D6;color:#9A3B0B;border-radius:6px;padding:0 6px;font-weight:800}
/* « Ne pas compter cet appareil » (statistiques, assets/js/mesure.js) */
.exclude-device{display:inline-flex;flex-wrap:wrap;align-items:center;gap:8px;margin:4px 0}
.exclude-device [hidden]{display:none}
.btn.small{font-size:15px;padding:5px 14px;box-shadow:0 3px 0 var(--ink)}

/* Formulaire de contact */
.contact-form{display:grid;gap:14px;max-width:620px}
.contact-form textarea{min-height:160px}
.contact-done{background:var(--teal-soft);border:2px dashed var(--ink);border-radius:16px;padding:12px 16px;font-weight:700}

@media (max-width:720px){
  .legal-panel{padding:22px 18px}
}
