/* MaisonTechCare - protection anti-copie publique
   L'admin n'est pas chargé avec ce fichier via functions.php. */
html.mtc-copy-protected,
html.mtc-copy-protected body,
html.mtc-copy-protected main,
html.mtc-copy-protected section,
html.mtc-copy-protected article,
html.mtc-copy-protected .card,
html.mtc-copy-protected p,
html.mtc-copy-protected h1,
html.mtc-copy-protected h2,
html.mtc-copy-protected h3,
html.mtc-copy-protected h4,
html.mtc-copy-protected li,
html.mtc-copy-protected span,
html.mtc-copy-protected a,
html.mtc-copy-protected strong {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
  -webkit-touch-callout: none !important;
}

html.mtc-copy-protected input,
html.mtc-copy-protected textarea,
html.mtc-copy-protected select,
html.mtc-copy-protected option,
html.mtc-copy-protected label,
html.mtc-copy-protected button,
html.mtc-copy-protected [contenteditable="true"],
html.mtc-copy-protected .allow-copy,
html.mtc-copy-protected .mtc-allow-copy {
  -webkit-user-select: text !important;
  -moz-user-select: text !important;
  -ms-user-select: text !important;
  user-select: text !important;
  -webkit-touch-callout: default !important;
}

html.mtc-copy-protected img,
html.mtc-copy-protected svg,
html.mtc-copy-protected picture {
  -webkit-user-drag: none !important;
  user-drag: none !important;
}

html.mtc-copy-protected img {
  pointer-events: none;
}

@media print {
  body::before {
    content: "Impression désactivée — contenu protégé MaisonTechCare";
    display: block;
    padding: 40px;
    font: 700 20px Arial, sans-serif;
  }
  body * {
    display: none !important;
  }
}
