/* Module : dépannage express */
.dep-wrap { max-width: 860px; }
.js .dep-progress { gap: 8px; list-style: none; padding: 0; margin: 0 0 28px; counter-reset: s; }
.dep-progress li { flex: 1; display: flex; align-items: center; gap: 8px; font-size: .88rem; font-weight: 500; color: var(--ink-3); padding-top: 12px; border-top: 4px solid var(--line); transition: all .25s; }
.dep-progress span { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--sand); font-weight: 700; font-size: .8rem; flex: none; }
.dep-progress li.is-active, .dep-progress li.is-done { color: var(--ink); border-color: var(--ink); }
.dep-progress li.is-active span { background: var(--butter); }
.dep-progress li.is-done span { background: var(--mint); }
.dep-progress { display: none; }
.js .dep-progress { display: flex; }

.dep-step { border: 0; padding: 0; margin: 0 0 32px; min-width: 0; }
.js .dep-step { display: none; margin: 0; }
.js .dep-step.is-current { display: block; animation: depIn .3s ease; }
@keyframes depIn { from { opacity: 0; transform: translateX(12px); } to { opacity: 1; transform: none; } }
.dep-legend { font-family: var(--font-head); font-size: clamp(1.4rem, 2.6vw, 1.8rem); font-weight: 700; letter-spacing: -0.02em; margin-bottom: 18px; padding: 0; }

.dep-types { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 18px; }
.dep-type { position: relative; }
.dep-type input { position: absolute; inset: 0; opacity: 0; margin: 0; }
.dep-type span {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px; height: 100%;
  padding: 16px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--cream);
  font-weight: 600; font-size: .94rem; line-height: 1.3; cursor: pointer; transition: all .15s;
}
.dep-type span .icon { color: var(--ink-2); }
.dep-type:hover span { border-color: var(--ink-3); }
.dep-type input:checked + span { background: var(--butter); border-color: var(--ink); }
.dep-type.is-danger input:checked + span { background: var(--warn-bg); color: var(--warn-ink); border-color: var(--err); }
.dep-type input:focus-visible + span { outline: 3px solid var(--sky-ink); outline-offset: 2px; }
.dep-danger { margin-bottom: 18px; }
.js .dep-danger[data-hidden] { display: none; }
.dep-danger a { color: inherit; }

.dep-drop {
  display: grid; place-items: center; gap: 6px; text-align: center; padding: 28px 16px;
  border: 2px dashed var(--line); border-radius: 18px; background: var(--cream); cursor: pointer; transition: border-color .2s, background .2s;
}
.dep-drop:hover, .dep-drop.is-over { border-color: var(--sky-ink); background: var(--sky); }
.dep-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.dep-drop small { color: var(--ink-3); }
.dep-photos { position: relative; margin-top: 22px; }
.dep-thumbs { display: flex; flex-wrap: wrap; gap: 10px; }
.dep-thumbs img { width: 88px; height: 88px; object-fit: cover; border-radius: 12px; box-shadow: var(--shadow); }

.dep-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 8px; }
.dep-nav .btn:only-child { margin-left: auto; }
.dep-nav button[type="button"] { display: none; }
.js .dep-nav button[type="button"] { display: inline-flex; }

.dep-done { text-align: center; display: grid; justify-items: center; gap: 8px; }
.dep-done-icon { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; margin-bottom: 8px; }

@media (max-width: 720px) {
  .dep-types { grid-template-columns: 1fr 1fr; }
  .dep-progress li { font-size: 0; gap: 0; justify-content: center; }
  .dep-progress span { font-size: .8rem; }
}
