/* © 2026 TJ GROUP. Tous droits réservés. */

/* --- Base --- */
*,
*::before,
*::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font-family: var(--police);
  font-size: 17px;
  line-height: 1.65;
}

a { color: inherit; text-underline-offset: 3px; }
a:hover { color: var(--lien-survol); }

/* --- Bandeau tricolore : les trois marques réunies --- */
.bandeau-marques {
  display: flex;
  height: 4px;
}
.bandeau-marques span { flex: 1; }
.bandeau-marques .or { background: var(--or); }
.bandeau-marques .bleu { background: var(--bleu); }
.bandeau-marques .violet { background: var(--violet); }

/* --- Mise en page --- */
.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 40px 16px 64px;
}

/* --- Logo typographique : « TJ », filet vertical, nom + baseline ---
   Le J doit toujours rester entièrement visible : pas de rognage,
   pas d'élément posé dessus, interligne suffisant. */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  margin-bottom: 48px;
}
.logo-tj {
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.02em;
  padding-bottom: 4px; /* laisse respirer la descente du J */
}
.logo-filet {
  width: 3px;
  align-self: stretch;
  background: var(--texte);
}
.logo-texte { display: flex; flex-direction: column; }
.logo-nom {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.logo-baseline {
  font-size: 14px;
  color: var(--texte-doux);
}

/* --- Titres et texte --- */
h1 {
  font-size: clamp(30px, 6vw, 44px);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 8px;
}
.mise-a-jour {
  color: var(--texte-doux);
  font-size: 15px;
  margin: 0 0 40px;
}
h2 {
  font-size: 22px;
  font-weight: 600;
  margin: 48px 0 12px;
  padding-top: 20px;
  border-top: 1px solid var(--filet-gris);
}
p { margin: 0 0 16px; }
ul { margin: 0 0 16px; padding-left: 22px; }
li { margin-bottom: 6px; }

.introduction { font-size: 19px; }

/* --- Tableaux : défilement horizontal sur petit écran, jamais la page entière --- */
.tableau {
  overflow-x: auto;
  margin: 0 0 20px;
}
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
}
th, td {
  text-align: left;
  vertical-align: top;
  padding: 12px 14px;
  border-bottom: 1px solid var(--filet-gris);
}
th {
  background: var(--fond-tableau);
  font-weight: 600;
}
td:first-child { width: 55%; } /* colonne descriptive plus large */

/* --- Pied de page (en dehors de <main>, aligné sur la colonne de texte) --- */
.pied {
  width: calc(100% - 32px);
  max-width: 728px;          /* = 760px de .page moins ses 2 x 16px de marge */
  margin: 0 auto;
  padding: 20px 0 48px;
  border-top: 1px solid var(--filet-gris);
  font-size: 14px;
  color: var(--texte-doux);
}
.pied a { margin-right: 18px; }
