/* ========================= */
/* LIENS Gris/Rollover Rouge */
/* ========================= */

a {
  color: #ccc;
  text-decoration: none;
}

a:hover,
a:active {
  color: red;
}

/* ======================== */
/*  VISUALLY HIDDEN H1 SEO  */
/* ======================== */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
}

/* ========================= */
/*      H2 - H3 - H4 SEO     */
/* ========================= */

.titre-2 {
  background: url('/graph/barre.jpg') #800000;
  color: #ffffff;
  font-family: Verdana, sans-serif;
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  height: 20px;
  line-height: 20px;
  border: 1px solid #111111;
  margin: 0;
  padding: 0;
}

.titre-3 {
  color: #ffffff;
  font-family: Verdana, sans-serif;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  margin: 0;
  padding: 5;
}

.titre-4 {
  font-family: Verdana, sans-serif;
  font-size: 10px;
  font-weight: bold;
  text-align: center;
  margin: 0;
  padding: 0;
}

/* ========================= */
/*   Bouton HAUT flottant    */
/* ========================= */

.btn-haut {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #800000;
    color: #fff;
    padding: 9px 9px;
    border-radius: 6px;
    font-size: 12px;
    text-decoration: none;
    box-shadow: 0 0 6px rgba(0,0,0,0.4);
    opacity: 0.7;
    transition: opacity 0.2s, transform 0.2s;
    z-index: 9999;
}

.btn-haut:hover {
    opacity: 1;
    transform: scale(1.1);
}

@media (max-width: 600px) {
    .btn-haut {
        bottom: 12px;      /* plus haut pour éviter la barre du navigateur */
        right: 12px;       /* plus de marge pour le pouce */
        padding: 12px 14px; /* zone tactile plus grande */
        font-size: 14px;   /* lisible sur mobile */
        opacity: 0.9;      /* plus visible */
    }
}

@supports (bottom: env(safe-area-inset-bottom)) {
    .btn-haut {
        bottom: calc(env(safe-area-inset-bottom) + 12px);
    }
}

/* ========================= */
/*     CHROS H3 - H4 SEO     */
/* ========================= */

.titrechro-3 {
  color: #ffffff;
  font-family: Verdana, sans-serif;
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  margin: 0;
  padding: 0;
}

.titrechro-4 {
  font-family: Verdana, sans-serif;
  font-size: 13px;
  font-weight: bold;
  text-align: center;
  margin: 0;
  padding: 0;
}

.titrechro-5 {
  font-family: Verdana, sans-serif;
  font-size: 10px;
  font-weight: bold;
  text-align: center;
  margin: 0;
  padding: 0;
}

.bloc-chro {
  text-align: center;
  vertical-align: top;
}

.icones img {
  margin: 12px 0;
  vertical-align: middle;
}

.espace-bas {
  margin-bottom: 10px;
}

/* ========================= */
/*  FICHE ALBUM HTML5        */
/* ========================= */

.fiche-album-table {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  border-collapse: collapse;
  background: #800000 url('/graph/fond.png') repeat-y;
  border: 1px solid #111;
}

.fiche-album-table td {
  padding: 10px;
  vertical-align: top;
}

.fiche-col-gauche {
  width: 50%;
  text-align: center;
  border-right: 1px solid #111; /* BORDURE NOIRE VISIBLE */
}

.fiche-col-droite {
  width: 50%;
  text-align: center;
}

.fiche-col-gauche img {
    border: 1px solid #111; /* léger bord noir */
    box-sizing: border-box; /* évite tout débordement */
}

/* Ligne séparatrice */
.ligne {
  border: 0;
  border-top: 1px solid #888;
  margin: 15px 0;
  width: 100%; /* ne déborde jamais */
}

/* ========================= */
/*      STYLE GLOBAL         */
/* ========================= */

body {
  color: #FFCC99;
  background-color: #666666;
  font-family: Verdana, sans-serif;
  font-size: 10px;
  margin: 0;
  padding: 0;
}

.text-jaune { color: #FFFF00; }
.text-blanc { color: #FFFFFF; }
.text-chair { color: #FFCC99; }
.text-noir  { color: #000000; }
.text-vert  { color: #00FF00; }
.text-orange{ color: #FF9933; }

.text-droite { text-align: right; }
.text-gauche { text-align: left; }
.centre      { text-align: center; }

.text-normal { font-weight: normal; }

.retrait-5ch { text-indent: 5ch; }

/* =========================== */
/* ICÔNE centrée verticalement */
/* =========================== */

.ico-paroles {
    vertical-align: middle;
}

/* ========================= */
/* TABLE INTRO (ancien)      */
/* ========================= */

.table-intro {
    width: 690px;
    margin: 0 auto;
    border-collapse: collapse;
    background: #800000 url('/graph/fond.png') repeat-y;
    border: 1px solid #111;
    text-align: center;
}

.table-intro td {
    padding: 10px;
}

/* ========================= */
/*   CONTENEUR PRINCIPAL     */
/* ========================= */

#site-wrapper {
    width: 1000px;
    margin: 0 auto;
}

/* ========================= */
/*      LAYOUT 2 COLONNES    */
/* ========================= */

#layout {
    display: flex;
    margin-top: 142px;
}

/* ========================= */
/*      COLONNE GAUCHE       */
/* ========================= */

#sidebar {
    width: 175px;
    margin-right: 5px;
}

.menu {
    padding-left: 3px;
}

/* ========================= */
/*    COLONNE PRINCIPALE     */
/* ========================= */

#contenu {
    flex: 1;
    margin-left: 5px;
}

/* ========================= */
/*     COLONNE DROITE        */
/* ========================= */

#colonne-droite { height: 100%; }
#table-accueil { height: 100%; }

/* ========================= */
/*          BLOCS            */
/* ========================= */

.bloc-brun {
    width: 578px;
    margin: 0 auto;              /* centrage horizontal */
    padding: 9px;
    background-color: #996633;   /* fond uni */
    border: 1px solid #111111;   /* bordure noire */
    font-family: Verdana, sans-serif;
    font-size: 10px;
    color: #000000;              /* texte noir */
    text-align: justify;         /* align="justify" */
}

.bloc {
    background: #333333;
    border: 1px solid #111111;
    margin-bottom: 5px;
    padding: 0;
}

.bloc-titre {
    background: #800000 url('/graph/barre.jpg') repeat-x;
    color: #FFFFFF;
    font-size: 12px;
    text-align: center;
    padding: 3px 0;
    margin: 0;
}

.bloc-contenu {
    padding: 5px;
    text-align: center;
}

.comment-container {
    display: flex;
    justify-content: center;
}

.comment-box {
    width: 610px;
    padding: 6px;
    border: 1px solid #111111;
    background-color: #800000;
    background-image: url("/graph/barre.jpg");
    background-repeat: repeat;
}

.bloc-lettre {
    width: 600px;
    margin: 0 auto 20px auto;
}

.case {
    background: #800000 url('/graph/fond.png') repeat-y;
    border: 1px solid #111;
    padding: 9px;
}

.case-titre h3 {
    margin: 0;
}

.case-titre {
    padding: 0px 5px;
    border-bottom: none;
}

.case-titre-small {
    padding: 9px 9px;
    border-bottom: none;
}

.case-liens {
    font-size: 10px;
    text-align: justify;
    font-weight: bold;
}

.bloc-titres {
    width: 578px;
    margin: 0 auto;
    background: #800000 url('/graph/fond.png') repeat-y;
    border: 1px solid #111;
    padding: 10px;
}

.titres-liste {
    font-family: Verdana, sans-serif;
    font-size: 10px;
    color: #FFCC99;
    text-align: justify;
    margin: 0;
    padding: 0;
}

/* ========================= */
/*     LIEN ÉVÉNEMENTS       */
/* ========================= */

.lien-evenements {
    font-size: 10px;
    margin-top: 5px;
}

/* ========================= */
/*     PLAYER MUSIQUE        */
/* ========================= */
#playlist,
#playlist-gauche,
#playlist-droite {
  list-style: none;   /* supprime les points */
  padding: 0;
  margin: 0;
  font-size: 10px;    /* même taille que le reste du site */
  color: #FFCC99;     /* couleur chair FMM */
  text-align: center; /* centrage parfait */
}

#playlist li {
  padding: 1px 0;
}

#playlist a,
#playlist-gauche a,
#playlist-droite a {
  cursor: pointer;   /* main cliquable */
}

/* ========================= */
/*         REVUES            */
/* ========================= */

/* Espace sous la vignette */
.vignette-espace {
    margin-bottom: 15px;
}

/* Numéro de page propre HTML5 */
.page-numero {
    font-family: Verdana, sans-serif;
    font-size: 10px;      /* plus petit */
    font-weight: bold;
    color: #FFCC99;
    margin: 6px 0;       /* léger espace */
}
