/* ═══════════════════════════════════════════
   methodes.css
   Page-specific styles for Méthodo P2 – Rapport Final
   Companion to the shared style.css
   ═══════════════════════════════════════════ */

/* ── Data tables ── */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85em;
  margin: 1.2rem 0 1.8rem;
}

.data-table th,
.data-table td {
  border: 1px solid #c5ba9a;
  padding: 6px 10px;
  text-align: center;
}

.data-table th {
  background: #ca3504;
  color: #fff;
  font-weight: bold;
}

.data-table tr:nth-child(even) td {
  background: #f5f1e4;
}

.data-table td:first-child {
  text-align: left;
  font-weight: bold;
}

/* ── Table / figure captions ── */
.table-caption {
  font-size: 0.82em;
  text-align: center;
  color: #5a3a3a;
  margin-bottom: 1.5rem;
  font-style: italic;
}

/* ── Figures ── */
img.diagram {
  width: auto;
  max-width: 350px;
  height: auto;
  display: block;
  margin: 1rem 0 0.4rem;
}

/* ── Hypothesis / result callouts ── */
.callout {
  background: #fdf8ef;
  padding: 0.8rem 1rem;
  margin: 1.2rem 0;
  border-radius: 4px;
  font-size: 0.92em;
}

.callout.supported {
  background: #f2f8ec;
}

.callout.not-supported {
  background: #fdf3ec;
}

.callout strong {
  display: block;
  margin-bottom: 0.3rem;
}

/* ── Rubric table ── */
.rubric-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85em;
  margin: 1rem 0 1.5rem;
}

.rubric-table th,
.rubric-table td {
  border: 1px solid #c5ba9a;
  padding: 7px 10px;
  text-align: center;
}

.rubric-table th {
  background: #2b1114;
  color: #fff;
}

.rubric-table td:nth-child(1) {
  font-weight: bold;
  background: #f5f1e4;
  text-align: left;
}

.rubric-table td:nth-child(2) {
  text-align: left;
}

/* ── Annexe note ── */
.annexe-note {
  background: #f5f1e4;
  border: 1px solid #c5ba9a;
  border-radius: 6px;
  padding: 1rem 1.2rem;
  font-size: 0.9em;
  color: #5a3a3a;
}

/* ── Section sub-header colours ── */
.content h3 {
  color: #ca3504;
  margin-top: 1.4rem;
  margin-bottom: 0.4rem;
}

.content h4 {
  color: #2b1114;
  margin-top: 1rem;
  margin-bottom: 0.3rem;
}

/* ── Inline stat highlight ── */
.stat {
  font-style: italic;
  color: #2b1114;
}
