/* ============================================================
   VTC THIONVILLE — page-specific styles
   Direction : "dashboard frontalier" — données, horaires, corridor
   ============================================================ */

.thn-hero {
  background: var(--ink);
  padding: calc(var(--header-h) + 48px) 0 0;
  color: var(--white);
  overflow: hidden;
}
.thn-hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 48px;
}
@media (max-width: 900px) { .thn-hero-grid { grid-template-columns: 1fr; } }
.thn-hero h1 { color: var(--white); margin-bottom: 16px; font-size: clamp(2.2rem, 5vw, 3.3rem); }
.thn-hero h1 .accent-word { color: var(--accent-soft); }
.thn-hero .lead {
  max-width: 480px;
}

.corridor-widget {
  background: #121212;
  border: 1px solid #262626;
  border-radius: var(--r-xl);
  padding: 28px;
}
.corridor-widget .cw-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
}
.corridor-widget .cw-head h2 { color: var(--white); font-size: 1rem; margin: 0; }
.corridor-widget .cw-live {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.72rem; color: var(--accent-soft); font-weight: 600;
}
.corridor-widget .cw-live .pulse-dot {
  width: 6px; height: 6px; border-radius: 50%; background: var(--accent-soft);
  animation: pulse-thn 1.8s infinite;
}
@keyframes pulse-thn {
  0% { box-shadow: 0 0 0 0 rgba(34,197,139,0.5); }
  70% { box-shadow: 0 0 0 7px rgba(34,197,139,0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,139,0); }
}
.cw-route {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 22px;
}
.cw-route .cw-point { text-align: center; }
.cw-route .cw-point .city { font-family: var(--font-display); font-weight: 700; color: var(--white); font-size: 1.05rem; }
.cw-route .cw-line { flex: 1; height: 1px; background: linear-gradient(90deg, #333, var(--accent-soft), #333); position: relative; }
.cw-route .cw-line .cw-time {
  position: absolute; top: -22px; left: 50%; transform: translateX(-50%);
  font-size: 0.74rem; color: var(--accent-soft); white-space: nowrap; font-weight: 600;
}
.cw-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.cw-metric {
  background: #1A1A1A; border: 1px solid #2A2A2A; border-radius: var(--r-sm);
  padding: 14px; text-align: center;
}
.cw-metric .cm-val { font-family: var(--font-display); font-weight: 800; color: var(--white); font-size: 1.15rem; }
.cw-metric .cm-lbl { font-size: 0.68rem; color: rgba(255,255,255,0.5); margin-top: 2px; text-transform: uppercase; letter-spacing: 0.04em; }

.cw-window {
  margin-top: 18px; padding-top: 18px; border-top: 1px solid #262626;
  display: flex; justify-content: space-between; font-size: 0.82rem; color: rgba(255,255,255,0.65);
}
.cw-window strong { color: var(--white); }

.coverage-strip {
  background: var(--white);
  border-top: 1px solid var(--stroke);
  border-bottom: 1px solid var(--stroke);
  padding: 18px 0;
  overflow: hidden;
}
.coverage-track {
  display: flex; gap: 32px; white-space: nowrap;
  font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; color: var(--text-low);
  overflow-x: auto;
  scrollbar-width: none;
}
.coverage-track::-webkit-scrollbar { display: none; }
.coverage-track span.dot-sep { color: var(--stroke-strong); }

.timeslot-block {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 860px) { .timeslot-block { grid-template-columns: repeat(2, 1fr); } }
.timeslot-card {
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  padding: 22px;
  position: relative;
}
.timeslot-card .ts-time {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--text-hi);
}
.timeslot-card .ts-label {
  font-size: 0.78rem;
  color: var(--text-low);
  margin: 4px 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.timeslot-card p { font-size: 0.88rem; margin: 0; }

.dense-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--stroke);
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (max-width: 700px) { .dense-grid { grid-template-columns: 1fr; } }
.dense-row {
  background: var(--white);
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: background 0.15s ease;
}
.dense-row:hover { background: var(--surface); }
.dense-row .dr-left { display: flex; align-items: center; gap: 14px; }
.dense-row .dr-icon {
  width: 40px; height: 40px; border-radius: var(--r-sm);
  background: var(--accent-dim); border: 1px solid var(--accent-line);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.dense-row .dr-icon svg { width: 22px; height: 22px; color: var(--accent); shape-rendering: geometricPrecision; }
.dense-row .dr-title { font-family: var(--font-display); font-weight: 700; color: var(--text-hi); font-size: 0.95rem; }
.dense-row .dr-sub { font-size: 0.78rem; color: var(--text-low); margin-top: 1px; }
.dense-row .dr-right { text-align: right; flex-shrink: 0; }
.dense-row .dr-price { font-family: var(--font-display); font-weight: 700; color: var(--accent); font-size: 1rem; }
.dense-row .dr-time { font-size: 0.76rem; color: var(--text-low); }

.commitment-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 760px) { .commitment-grid { grid-template-columns: 1fr; } }
.commitment-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  background: var(--white);
  border: 1px solid var(--stroke);
  border-radius: var(--r-md);
}
.commitment-item .ci-check {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--ink); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.commitment-item .ci-check svg { width: 21px; height: 21px; color: var(--white); shape-rendering: geometricPrecision; }
.commitment-item h4 { font-size: 0.94rem; margin-bottom: 4px; }
.commitment-item p { font-size: 0.85rem; margin: 0; }

/* ============================================================
   WHY LIST (ajouté pour cohérence inter-pages)
   ============================================================ */
.why-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--stroke);
  border: 1px solid var(--stroke);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (max-width: 760px) { .why-list { grid-template-columns: 1fr; } }
.why-item {
  background: var(--white);
  padding: 28px;
}
.why-item .why-num {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 10px;
  display: block;
}
.why-item h3 { font-size: 1.02rem; margin-bottom: 8px; }
.why-item p { font-size: 0.9rem; margin: 0; }
