/* =======================================================
   📊  TABLEAUX & DATATABLES
   ======================================================= */
table.dataTable {
    width: 100%!important;
    table-layout: auto!important;
}
table.dataTable td,
table.dataTable th { white-space: normal!important; }

.datatable-split {
    border-collapse: collapse;
    width: 100%;
    margin: 40px 0;
    border: 1px solid #d2dbe8;
    border-radius: 6px;
    overflow: hidden;
}
.datatable-split thead {
    background: #395385;
    color: #f5fbff;
    font-weight: 600;
    font-size: 15.5px;
}
.datatable-split thead th {
    position: sticky;
    top: 0;
    z-index: 2;
}
.datatable-split th,
.datatable-split td {
    text-align: left;
    vertical-align: middle;
    padding: 12px;
    width: 16.6%;
    word-break: normal;
    overflow-wrap: break-word;
    hyphens: auto;
    font-size: 15px;
    line-height: 1.5;
}
.datatable-split tbody tr:nth-child(even) { background: #fafafa; }
.datatable-split tbody tr:hover         { background: #eef1f5; }

/* Cellules spécifiques */
.domaine-row td {
    background: #dce6f5;
    font-weight: 700;
    padding: 1em .5em;
    border-top: 2px solid #b3c7e6;
}
.sous-categorie td {
    background: #e6ecf5;
    font-weight: 700;
    font-size: 15px;
    color: #1639b1;
}
td.domaine-repete { visibility: hidden; }

/* =======================================================
   💬  TOOLTIP & TERMES
   ======================================================= */
.tooltip-term {
    position: absolute;
    background: #F7F4FF;
    border: 1px solid #CBBEFF;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 14.2px;
    line-height: 1.5;
    display: none;
    z-index: 9999;
    max-width: 320px;
    color: #1A1A39;
    box-shadow: 0 4px 12px rgba(22,57,177,.1);
}

.term {
    display: inline-block;
    background: #eef2f9;
    color: #3a4d75;
    padding: 1px 4px;
    border-radius: 4px;
    font-size: 13.5px;
    font-weight: 500;
    cursor: help;
    line-height: 1.4;
    transition: background .2s ease, color .2s ease;
    box-shadow: inset 0 0 0 1px #b3c7e6;
}
.term:hover { background: #c6d7ef; color: #0c47a1; }
.info-icon { font-size: .9em; margin-left: 4px; color: #4c61a7; }



strong.lib-non-ia {
  color: #9955aa; /* lavande foncée */
  font-weight: bold;
}

strong.lib-ia {
  color: #0c2b8a; /* bleu stratégique */
  font-weight: bold;
}

strong.logic-metier {
  color: #cc6600; /* orange chaleureux */
  font-weight: bold;
}

strong.outil-externe {
  color: #008080; /* vert-bleu technique */
  font-weight: bold;
}

strong.outil-google {
  color: #4285F4; /* bleu Google */
  font-weight: bold;
}

.tooltip-term.lib-non-ia {
  background: #f7f0ff;
  border-color: #d1b7f0;
  color: #3a2d4f;
}
.term.lib-non-ia {
  background-color: #f1e8fc;
  border-color: #cfa8f4;
  color: #8235aa;
}

.tooltip-term.lib-ia {
  background: #eaf2ff;
  border-color: #b4cdf5;
  color: #0c2b8a;
}
.term.lib-ia {
  background-color: #e1ecfc;
  border-color: #91b5ea;
  color: #0b3c99;
}

.tooltip-term.logic-metier {
  background: #fff4e6;
  border-color: #f2c185;
  color: #7c4700;
}
.term.logic-metier {
  background-color: #ffe8cc;
  border-color: #f5c282;
  color: #a86100;
}

.tooltip-term.outil-externe {
  background: #e0f7f7;
  border-color: #89cdcd;
  color: #006666;
}
.term.outil-externe {
  background-color: #daf2f2;
  border-color: #77bcbc;
  color: #007b7b;
}

.tooltip-term.outil-google {
  background: #eaf1ff;
  border-color: #a9c9ff;
  color: #1a4fd9;
}
.term.outil-google {
  background-color: #e1ecff;
  border-color: #7faeff;
  color: #3367d6;
}

