#trs-tarifs {
  --trt-accent: #0b63ce;
  --trt-accent-soft: #e8f1fd;
  --trt-ink: #161a22;
  --trt-muted: #5d6474;
  --trt-line: #e1e5ec;
  --trt-soft: #f6f8fb;
  max-width: 980px; margin: 0 auto; box-sizing: border-box;
  background: #fff; color: var(--trt-ink);
  border: 1px solid var(--trt-line); border-radius: 18px;
  padding: 28px; font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.45; box-shadow: 0 10px 30px rgba(20, 30, 60, .07);
}
#trs-tarifs *, #trs-tarifs *::before, #trs-tarifs *::after { box-sizing: border-box; }
#trs-tarifs .trt-intro { margin: 0 0 8px; }
#trs-tarifs .trt-intro a { color: var(--trt-accent); font-weight: 600; }
#trs-tarifs .trt-aide { margin: 0 0 16px; color: var(--trt-muted); font-size: 14px; }
#trs-tarifs .trt-note { margin: 18px 0 0; color: var(--trt-muted); font-size: 13px; }

/* Une marque = une section repliable */
#trs-tarifs .trt-marque { border: 1px solid var(--trt-line); border-radius: 12px; margin: 0 0 10px; background: #fff; }
#trs-tarifs .trt-marque[open] { border-color: var(--trt-accent); }
#trs-tarifs summary {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer;
  list-style: none; font-weight: 600; font-size: 16px;
}
#trs-tarifs summary::-webkit-details-marker { display: none; }
#trs-tarifs summary::after { content: "+"; margin-left: auto; font-size: 20px; line-height: 1; color: var(--trt-accent); }
#trs-tarifs .trt-marque[open] summary::after { content: "–"; }
#trs-tarifs summary:focus-visible { outline: 2px solid var(--trt-accent); outline-offset: 2px; border-radius: 12px; }
#trs-tarifs .trt-logo { height: 20px; width: 64px; object-fit: contain; object-position: left center; }
#trs-tarifs .trt-nb { color: var(--trt-muted); font-weight: 400; font-size: 13px; }

/* Tableau des prix */
#trs-tarifs .trt-scroll { overflow-x: auto; padding: 0 16px 16px; }
#trs-tarifs .trt-table { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0; }
#trs-tarifs .trt-table caption { text-align: left; color: var(--trt-muted); font-size: 13px; padding: 0 0 8px; }
#trs-tarifs .trt-table th, #trs-tarifs .trt-table td { padding: 8px 10px; border-bottom: 1px solid var(--trt-line); text-align: left; vertical-align: top; }
#trs-tarifs .trt-table thead th { background: var(--trt-soft); font-size: 13px; color: var(--trt-muted); font-weight: 600; white-space: nowrap; }
#trs-tarifs .trt-table tbody th { font-weight: 600; white-space: nowrap; }
#trs-tarifs .trt-table td { white-space: nowrap; }
#trs-tarifs .trt-q { color: var(--trt-muted); font-size: 12px; }
#trs-tarifs .trt-devis { color: var(--trt-muted); }

/* Mobile : chaque modèle devient une carte */
@media (max-width: 640px) {
  #trs-tarifs { padding: 18px 14px; }
  #trs-tarifs .trt-scroll { padding: 0 10px 10px; }
  #trs-tarifs .trt-table thead { display: none; }
  #trs-tarifs .trt-table caption { display: block; width: 100%; padding-top: 4px; }
  #trs-tarifs .trt-table, #trs-tarifs .trt-table tbody, #trs-tarifs .trt-table tr,
  #trs-tarifs .trt-table th, #trs-tarifs .trt-table td { display: block; width: 100%; }
  #trs-tarifs .trt-table tr { border-bottom: 1px solid var(--trt-line); padding: 6px 0; }
  #trs-tarifs .trt-table th, #trs-tarifs .trt-table td { border: 0; padding: 3px 0; white-space: normal; }
  #trs-tarifs .trt-table td { display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  #trs-tarifs .trt-table td::before { content: attr(data-label); color: var(--trt-muted); text-align: left; }
}
