/*
 * CSS VOLONTAIREMENT AGRESSIF d'une « fausse » commune.
 * Objectif : faire baver la page sur le widget (et inversement) pour détecter
 * toute contamination de styles. Ne pas « corriger » ce fichier.
 */

/* Reset brutal de tous les champs et boutons de la page — widget compris. */
* { box-sizing: content-box; }
input, button, select, textarea {
  all: unset;
  font-family: "Comic Sans MS", "Comic Sans", cursive;
  font-size: 18px;
  color: #ff00ff;
  background: #ffff00;
  border: 3px dashed #ff0000;
  padding: 6px 10px;
  margin: 4px;
  text-transform: uppercase;
}
button { cursor: crosshair; }

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.6;
  color: #003300;
  background: #e6ffe6;
}

h1, h2, h3 {
  font-family: Impact, "Arial Black", sans-serif;
  color: #ff4500;
  text-decoration: underline wavy #0000ff;
  letter-spacing: 2px;
}

p { color: #4b0082; }

/* Classes génériques que tout framework CSS utilise… et le widget aussi, peut-être. */
.container { max-width: 960px; margin: 0 auto; padding: 0 24px; background: #fffacd; }
.btn {
  background: #00ffff !important;
  color: #8b0000 !important;
  border: 4px solid #000 !important;
  border-radius: 0 !important;
  font-weight: 900;
}
.form-control { width: 280px; background: #ffe4e1; border-color: #8a2be2; }
.panel, .title, .status, .error { outline: 5px solid #ff1493; }

/* Champ de recherche avec un contour de focus TRÈS visible. */
.search { display: inline-flex; gap: 4px; align-items: center; }
.search input:focus,
.search input:focus-visible {
  outline: 4px solid #ff6600;
  outline-offset: 3px;
  background: #ffffff;
}

.site-header { background: #00008b; padding: 12px 0; }
.site-header .container { display: flex; justify-content: space-between; align-items: center; background: transparent; }
.logo { color: #ffd700; font-size: 24px; font-weight: bold; text-decoration: none; }
.site-footer { margin-top: 48px; padding: 16px 0; background: #2f4f4f; color: #fff; }
.temoins { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; }
.widget-slot { margin: 24px 0; padding: 16px; border: 2px dotted #000; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ------------------------------------------------------------------------
 * CAS DIFFICILES (phase 2) — toujours aussi agressifs, à ne pas corriger.
 * ------------------------------------------------------------------------ */
/* Rem du site à 10 px : tout ce qui est en rem dans le widget rétrécirait. */
html { font-size: 10px; }
/* !important sur un élément nu. */
button { text-transform: uppercase !important; letter-spacing: 3px !important; }
/* Sélecteurs par identifiant (spécificité 1,0,1) sur le conteneur du widget. */
#contenu input, #contenu select, #contenu button, #contenu label, #contenu h2 {
  color: #b8860b;
  font-style: italic;
  border-color: #00ced1;
}
/* (« * { box-sizing: content-box } » figure déjà en tête de fichier.) */
