:root{
  --bg:#0E0A14;        /* noir violacé */
  --panel:#171024;     /* panneaux violet très sombre */
  --muted:#B1A7C7;     /* gris-lavande */
  --text:#F0ECFF;      /* blanc légèrement lavande */
  --accent:#f87bff;
  --accent2:#de8bfa;
  --border:#2F2540;    /* border violet sombre */
}
.section-title{ color:var(--accent2); margin:20px 0 10px; font-size:24px; }

/* Carte de référence */
.ref-card{
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:16px;
  padding:16px;
  margin-bottom:32px;
}

/* Grille principale d'une carte */
.ref-grid{
  display:grid;
  grid-template-columns: 1.2fr 1fr; /* colonne gauche (comparatif) + droite (localisation) */
  gap:16px;
}

/* Comparatif pochettes */
.compare{
  background:#171024;
  border:1px solid var(--border);
  border-radius:14px;
  padding:12px;
}
.compare h3{
  margin:0 0 10px 0;
  color:var(--accent);
  font-size:18px;
}
.covers{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
.cover{
  background:#0E0A14;
  border:1px solid var(--border);
  border-radius:12px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.cover img{
  height: 132px;
  padding: 24px;
}
.cover .label{
  padding:8px 10px;
  font-weight:600;
  text-align:center;
  border-top:1px solid var(--border);
  color:#fff;
  background:var(--accent2);
}

/* Bloc infos légales */
.legal{
  margin-top:12px;
  display:grid; gap:8px;
}
.legal-title{ color:var(--accent); font-weight:700; }
.legal-text{
  background:#0E0A14;
  border:1px solid var(--border);
  border-radius:10px;
  padding:10px;
  color:var(--text);
  white-space:pre-wrap;
}

.spacelil{
height: 32px;
}

.pinkstrong{
  color: #fa8be6 !important;
}

.category-title{
  text-align: center;
}


td, tr, th{
    text-align: left !important;
}
th{
  background-color: #171024 !important;
}
/* Colonne droite : localisation + texte explicatif */
.side{
  display:grid; gap:12px;
}
.loc-img{
  background:#0E0A14;
  border:1px solid var(--border);
  border-radius:12px;
  overflow:hidden;
}
.loc-img img{
  width:100%; height:100%; max-height:360px; object-fit:cover;
}
.explain{
  background:#171024;
  border:1px solid var(--border);
  border-radius:12px;
  padding:12px;
}
.explain h4{ margin:0 0 6px; color:var(--accent); }
.explain p{ margin:0; color:var(--text); }

/* Responsive */
@media (max-width: 900px){
  .ref-grid{ grid-template-columns:1fr; }
  .cover img{ height:220px; }
  .loc-img img{ max-height:280px; }
}



 /* Namespace local, aucun conflit avec ton CSS */
  .refs-block { max-width:1000px; margin:28px auto; padding:0 28px; }
  .refs-sep { height:2px; width:64px; margin:0 auto 10px;
    background:linear-gradient(90deg, transparent, var(--accent), transparent);
    border-radius:2px; }
  .refs-intro { color:var(--muted); text-align:center; margin:0 auto 14px; max-width:70ch; }

  /* Responsive identique à #statsTable, mais appliqué à #refsTable */
  @media (max-width:768px){
    #refsTable thead{display:none}
    #refsTable, #refsTable tbody, #refsTable tr, #refsTable td{
      display:block; width:100%;
    }
    #refsTable td{
      display:flex; justify-content:space-between; align-items:center;
      border-bottom:1px solid var(--border);
      padding:8px; background:var(--panel);
    }
    #refsTable td::before{
      content:attr(data-label);
      color:#fff;
      border-radius:6px; margin-right:8px; font-weight:bold;
      min-width:110px;
    }
  }

  @media (min-width: 769px){
  #refsTable th + th,
  #refsTable td + td{
    border-left: 1px solid var(--border);
    text-align: left;
  }
  /* un peu d'air côté droit de la 1re col et gauche de la 2e */
  #refsTable th:first-child,
  #refsTable td:first-child{ padding-right: 10px; }
  #refsTable th:last-child,
  #refsTable td:last-child{ padding-left: 10px; }

}


/* Ajustement des covers pour le mobile */
@media (max-width: 900px) {
  .covers {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: nowrap;
  }

  .cover {
    flex: 1 1 0;
    max-width: 45%;
    background: #0E0A14;
    border: 1px solid var(--border);
    border-radius: 10px;
    overflow: hidden;
  }

  .cover img {
    width: 100%;
    height: auto;
    max-height: 120px;
    object-fit: contain;
    padding: 10px;
  }

  .cover .label {
    font-size: 13px;
    padding: 6px 8px;
  }
}

/* Encore plus compact sur très petits écrans */
@media (max-width: 480px) {
  .covers {
    gap: 6px;
  }
  .cover {
    max-width: 48%;
  }
  .cover img {
    max-height: 100px;
    padding: 8px;
  }
    .stats-table table{border: none;}
      .lang-switch{margin: 0;}
}


@media (min-width: 768px) {
.wago2 td{height: 110px;}
}

.nameheight{
  display: flex;
  align-items: center;
}

.wago{
  height: 100%;
  display: flex;
  align-items: center;
}

.neooo{
  height: 100%;
  justify-content: center;
  align-items: center;
}


/* === TABLEAUX MOBILE : corrige la séparation des binômes Nom/Référence === */
@media (max-width: 768px) {
  .lang-switch{margin: 0;}
  .stats-table table{border: none;}
  /* On fait de chaque ligne (tr) une carte regroupant Nom + Référence */
  #refsTable tr {
    background: var(--panel);
    margin-bottom: 14px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border);
    padding: 8px 0;
  }


  /* On supprime le fond individuel des td */
  #refsTable td {
    display: block;
    border: none;
    background: none;
    padding: 8px 14px;
  }

  /* Label violet au-dessus du contenu */
  #refsTable td::before {
    display: none;
  }

  /* Espacement visuel entre Nom et Référence */
  #refsTable td + td {
    margin-top: 10px;
    border-top: 1px solid var(--border);
    padding-top: 10px;
  }

  /* Texte légèrement plus grand pour le contenu */
  #refsTable td strong,
  #refsTable td {
    font-size: 15px;
    line-height: 1.4;
    
  }
}







.wago{
  display: flex;
  align-items: center;
}

.wago img{

    height: 36px;
    margin-right: 12px;
}