/* Site de GotoAndrivet : fond étoilé en mosaïque, titre arc-en-ciel, texte qui défile, boutons et cadres
   en relief, compteur de visiteurs, badges 88 × 31. */
body {
  margin: 0; background: #000 url("fond-etoiles.png"); color: #fff;
  font-family: "Times New Roman", Times, "Liberation Serif", "DejaVu Serif", serif; font-size: 18px; line-height: 1.45;
}
a { color: #00ffff; }
a:visited { color: #ff88ff; }
a:hover { color: #ffff00; background: #000080; }
strong { color: #ffff66; }
.page { max-width: 1000px; margin: 0 auto; padding: 8px 12px 20px; }
.centre { text-align: center; }

/* ── En-tête ── */
.entete { text-align: center; padding: 10px 0 4px; }
.scintille { margin: 0; font-size: 22px; letter-spacing: 10px; }
.scintille span { color: #ffff00; animation: scintille 1.6s steps(1) infinite; }
.scintille span:nth-child(even) { color: #00ffff; animation-delay: 0.8s; }
@keyframes scintille { 50% { opacity: 0.15; } }
.titre { margin: 4px 0; font-family: "Arial Black", Impact, "Liberation Sans", "DejaVu Sans", sans-serif; font-weight: 900;
  font-size: clamp(38px, 8vw, 72px); font-style: italic; letter-spacing: 1px; line-height: 1.1; }
.titre a, .titre a:visited, .titre a:hover {
  background: linear-gradient(90deg, #ff0000, #ff8800, #ffff00, #00ff00, #00ffff, #0088ff, #ff00ff); -webkit-background-clip: text;
  background-clip: text; color: transparent; text-decoration: none; filter: drop-shadow(4px 4px 0 #333366);
}
.sous-titre { margin: 2px 0 10px; color: #ffff00; font-family: "Comic Sans MS", "Comic Neue", "Chalkboard SE", cursive; font-size: 21px; }
.defile { display: block; background: #000080; color: #ffff00; border: 3px inset #8080c0; padding: 4px 0;
  font-family: "Courier New", "Liberation Mono", monospace; font-weight: bold; }

/* ── Mise en page : menu à gauche, contenu à droite ── */
.mise-en-page { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 14px; margin-top: 12px; align-items: start; }
.menu nav { display: flex; flex-direction: column; gap: 5px; }
.bouton95, .bouton95:visited {
  display: block; padding: 5px 8px; background: #c0c0c0; color: #000; text-decoration: none;
  font-family: Tahoma, "MS Sans Serif", "DejaVu Sans", Verdana, sans-serif; font-size: 14px;
  border: 2px solid; border-color: #fff #404040 #404040 #fff; box-shadow: inset -1px -1px 0 #808080, inset 1px 1px 0 #dfdfdf;
}
.bouton95:hover { background: #d4d0c8; color: #000080; }
.bouton95:active, .bouton95.actif { border-color: #404040 #fff #fff #404040; box-shadow: inset 1px 1px 0 #808080; background: #a8a8a8; font-weight: bold; }
.compteur { margin: 16px 0; text-align: center; font-size: 15px; color: #c0c0c0; }
.compteur p { margin: 2px 0; }
.chiffres span { display: inline-block; margin: 0 1px; padding: 1px 4px; background: #000; color: #00ff00; border: 1px solid #808080;
  font-family: "Courier New", "Liberation Mono", monospace; font-weight: bold; font-size: 20px; }
.cadre { margin: 14px 0; padding: 6px 10px; background: #000033; border: 3px ridge #c0c0c0; font-size: 16px; }
.contact p { margin: 2px 0 4px; text-align: center; }
.contact .adresse { font-size: 12px; color: #c0c0c0; word-break: break-all; }
.titre-cadre { margin: 2px 0 6px; color: #ff8800; font-weight: bold; text-align: center; }
.cadre ul { margin: 0; padding-left: 18px; list-style: none; }
.cadre li::before { content: "★ "; color: #ffff00; margin-left: -18px; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.badge { display: inline-flex; flex-direction: column; justify-content: center; width: 88px; height: 31px; border: 1px solid #fff;
  background: #222; text-align: center; font-family: Verdana, "DejaVu Sans", sans-serif; line-height: 1; overflow: hidden; }
.badge b { display: block; font-size: 11px; padding: 2px 0; }
.badge i { display: block; font-size: 9px; color: #fff; font-style: normal; padding-top: 2px; }

/* ── Contenu ── */
.contenu { min-width: 0; }
.panneau { background: #000033; border: 3px ridge #c0c0c0; padding: 10px 18px; margin: 0 0 14px; }
h1, h2, h3, h4 { font-family: "Comic Sans MS", "Comic Neue", "Chalkboard SE", "Trebuchet MS", cursive; line-height: 1.25; }
h1 { color: #ffff00; font-size: 28px; text-shadow: 2px 2px 0 #ff0000; }
h2 { color: #00ff00; font-size: 23px; text-shadow: 2px 2px 0 #004400; }
h3 { color: #ff8800; font-size: 20px; }
h4 { color: #00ffff; }
.panneau > h1:first-child, .panneau > h2:first-child { margin-top: 6px; }
.bouton, .bouton:visited {
  display: inline-block; margin: 6px 0; padding: 8px 16px; background: #c0c0c0; color: #000; text-decoration: none;
  font-family: Tahoma, "MS Sans Serif", "DejaVu Sans", Verdana, sans-serif; font-weight: bold; font-size: 17px;
  border: 3px solid; border-color: #fff #404040 #404040 #fff;
}
.bouton:hover { background: #ffff00; color: #000; }
.bouton:active { border-color: #404040 #fff #fff #404040; }
.petit { font-size: 15px; color: #c0c0c0; margin: 4px 0; }
.pastille { display: inline-block; width: 1.5em; margin-right: 6px; background: #ff0000; color: #fff; text-align: center; text-shadow: none;
  border: 2px outset #ff8080; font-family: Arial, sans-serif; font-size: 0.8em; }
.clignote { color: #ff0000; font-weight: bold; font-family: Arial, sans-serif; background: #ffff00; padding: 0 4px;
  animation: clignote 1s steps(1) infinite; }
@keyframes clignote { 50% { visibility: hidden; } }
table.fonctions { border: none; width: 100%; }
table.fonctions td { border: none; border-bottom: 1px dashed #333399; padding: 7px 8px; background: none; }
table.fonctions td.symbole { width: 40px; font-size: 28px; color: #ffff00; text-align: center; vertical-align: middle; }

/* ── Journal des nouveautés ── */
.journal { padding-left: 4px; list-style: none; }
.journal li { padding: 5px 0; border-bottom: 1px dotted #333399; }
.journal li::before { content: "★ "; color: #ffff00; }
.journal .date { color: #00ff00; font-family: "Courier New", monospace; }
.journal .sha { font-family: "Courier New", monospace; color: #ff8800; }
.journal details summary { cursor: pointer; color: #c0c0c0; }
.corps { white-space: pre-wrap; }

/* ── Documents ── */
.document h1 { font-size: 26px; }
.document h2 { border-bottom: 2px groove #c0c0c0; padding-bottom: 3px; }
.document hr, hr.arc-en-ciel { height: 4px; border: none; background: linear-gradient(90deg, #f00, #f80, #ff0, #0f0, #0ff, #08f, #f0f); margin: 22px 0; }
.document blockquote { margin: 10px 0; padding: 4px 14px; border-left: 4px solid #ff00ff; background: #1a0033; }
.sommaire { margin: 0 0 14px; padding: 6px 14px; }
.sommaire summary { cursor: pointer; color: #ffff00; font-weight: bold; }
.source { margin-top: 24px; font-size: 15px; color: #c0c0c0; }
.alerte { margin: 14px 0; padding: 2px 14px 6px; border: 2px dashed #00ffff; background: #001a33; }
.titre-alerte { margin: 8px 0 4px; font-family: Arial, sans-serif; font-weight: bold; color: #00ffff; }
.alerte.important { border-color: #ff00ff; background: #1a0033; } .alerte.important .titre-alerte { color: #ff66ff; }
.alerte.warning, .alerte.caution { border-color: #ffcc00; background: #1a1400; }
.alerte.warning .titre-alerte, .alerte.caution .titre-alerte { color: #ffcc00; }
.alerte.tip { border-color: #00ff00; background: #001a00; } .alerte.tip .titre-alerte { color: #00ff00; }
.titre-alerte::before { content: "/!\\ "; }
code { font-family: "Courier New", "Liberation Mono", monospace; color: #00ff00; font-size: 0.92em; }
pre { background: #000; border: 3px inset #808080; padding: 10px 14px; overflow-x: auto; }
pre code { color: #00ff00; }
.tableau { overflow-x: auto; margin: 10px 0; }
table { border-collapse: separate; border-spacing: 2px; border: 2px outset #c0c0c0; width: 100%; font-size: 16px; }
th, td { border: 1px inset #808080; padding: 4px 8px; text-align: left; vertical-align: top; }
th { background: #000080; color: #fff; font-family: Arial, sans-serif; }
td { background: #000022; }

/* ── Pied de page ── */
footer { text-align: center; font-size: 15px; color: #c0c0c0; }
footer p { margin: 4px 0; }

/* ── Étoiles qui suivent la souris ── */
.paillette { position: absolute; z-index: 99; pointer-events: none; font-size: 15px; line-height: 1;
  animation: paillette 0.9s linear forwards; }
@keyframes paillette { to { transform: translateY(26px) scale(0.3); opacity: 0; } }

@media (max-width: 720px) {
  .mise-en-page { grid-template-columns: 1fr; }
  .menu nav { flex-direction: row; flex-wrap: wrap; }
  .menu nav .bouton95 { flex: 1 1 auto; text-align: center; }
  .cadre, .badges, .compteur { display: none; }
  .panneau { padding: 8px 12px; }
  h1 { font-size: 23px; } h2 { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .scintille span, .clignote { animation: none; }
}
