/* === RESET DES BALISES OBSOLÈTES === */
font, center, big, small, tt {
  all: unset;
}
font[size], font[face], font[color] {
  all: unset;
}
center {
  display: block;
  text-align: center;
}

/* === BOX MODEL GLOBAL === */
html {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;       /* Empêche les débordements horizontaux globaux */
  overflow-y: scroll;       /* Scroll vertical toujours visible */
  box-sizing: border-box;
  font-family: sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  background: #fff;
  color: #000;
}

body {
  margin: 0;
  padding: 0;
  width: 100%;
  box-sizing: border-box;
  /* Pas de restriction d'overflow ici pour les pubs */
}

/* Applique box-sizing à tous les éléments */
*, *::before, *::after {
  box-sizing: inherit;
}

/* === TITRES === */
h1, h2, h3, h4, h5, h6 {
  font-weight: bold;
  line-height: 1.3;
  margin-top: 1em;
  margin-bottom: 0.5em;
}

/* === TABLEAUX RESPONSIVES === */
table {
  width: 100%;
  max-width: 900px;
  margin: 1em auto;
  border-collapse: collapse;
  font-size: 1rem;
  table-layout: auto;
 }
 p{
  
  margin: 1em !important;
 
 }

td, th {
  padding: 0.5em;
  border: 1px solid #ccc;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  white-space: normal;
}

/* Empêche les tableaux imbriqués de casser */
td table {
  width: 100%;
}

/* === IMAGES RESPONSIVES === */
img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* === PRÉFORMATÉS === */
pre {
  white-space: pre-wrap;
  word-wrap: break-word;
  max-width: 100%;
  overflow-x: auto;
}

/* === NE PAS BLOQUER LES PUBS === */
div, section, article, aside {
  /* max-width retiré */
  /* overflow-x retiré pour laisser les pubs fonctionner */
}
* {
  outline: 0px solid red;
}