.srf-tco {
  --srf-navy: #101c2c;
  --srf-teal: #27a6a1;
  --srf-pale: #e8f4f3;
  --srf-line: #d9e2ec;
  margin: 2.5rem 0;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  border: 1px solid var(--srf-line);
  border-radius: 24px;
  background: #f7f8f5;
  color: #182535;
  box-shadow: 0 20px 55px rgba(16, 28, 44, .09);
}
.srf-tco * { box-sizing: border-box; }
.srf-tco [hidden] { display: none !important; }
.srf-tco__heading h2 { margin: .15rem 0 .6rem; color: var(--srf-navy); font-size: clamp(1.7rem, 4vw, 2.5rem); }
.srf-tco__heading > p:last-child { margin: 0 0 1.5rem; color: #4d5b6d; }
.srf-tco__eyebrow { margin: 0; color: var(--srf-teal); font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.srf-tco__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.srf-tco label { display: grid; gap: .45rem; color: var(--srf-navy); font-size: .9rem; font-weight: 700; }
.srf-tco input[type="number"], .srf-tco select { width: 100%; min-height: 46px; padding: .65rem .75rem; border: 1px solid #bdc8d5; border-radius: 9px; background: #fff; color: var(--srf-navy); font: inherit; }
.srf-tco input:focus, .srf-tco select:focus { outline: 3px solid rgba(39, 166, 161, .22); border-color: var(--srf-teal); }
.srf-tco__duration { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; margin: 1.25rem 0 0; padding: 1rem; border: 1px solid var(--srf-line); border-radius: 12px; background: #fff; }
.srf-tco__duration legend { padding: 0 .35rem; color: var(--srf-navy); font-weight: 800; }
.srf-tco__duration label { display: flex; align-items: center; gap: .45rem; }
.srf-tco__result { margin: 1.5rem 0; padding: 1.5rem; border-radius: 16px; background: var(--srf-navy); color: #fff; text-align: center; }
.srf-tco__result p { margin: .2rem 0; color: #d6dde7; }
.srf-tco__result output { display: block; margin: .35rem 0; color: #fff; font-size: clamp(2rem, 7vw, 3.4rem); font-weight: 850; letter-spacing: -.04em; }
.srf-tco__table-wrap { overflow-x: auto; }
.srf-tco table { width: 100%; border-collapse: collapse; background: #fff; font-size: .9rem; }
.srf-tco caption { padding: 0 0 .65rem; color: var(--srf-navy); font-weight: 800; text-align: left; }
.srf-tco th, .srf-tco td { padding: .8rem; border-bottom: 1px solid var(--srf-line); text-align: right; white-space: nowrap; }
.srf-tco th:first-child { text-align: left; }
.srf-tco thead th { background: var(--srf-pale); color: var(--srf-navy); }
.srf-tco__note { margin: 1rem 0 0; color: #647285; font-size: .78rem; line-height: 1.5; }
@media (max-width: 640px) {
  .srf-tco__grid { grid-template-columns: 1fr; }
  .srf-tco { border-radius: 16px; }
  .srf-tco__table-wrap::before { display: block; margin: 0 0 .45rem; color: #647285; content: "Faites défiler le tableau →"; font-size: .75rem; }
  .srf-tco table { min-width: 620px; }
  .srf-tco th, .srf-tco td { padding: .7rem .55rem; }
}
