/* ================================================
   PAGE DETAILING & NETTOYAGE (09/2026)
   Chargé uniquement sur pages/detailing.html
   ================================================ */
.dt-intro,
.dt-text {
  margin-top: 1.25rem;
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 68ch;
}
.dt-text a,
.dt-note a { color: var(--accent-light); text-decoration: underline; text-underline-offset: 3px; }
.dt-text strong { color: var(--text-primary); }

/* --- Liste de prix --- */
.dt-price-list {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  border-top: 1px solid var(--border);
}
.dt-price-list li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
}
.dt-price-main h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
}
.dt-price-main h3 a { color: var(--text-primary); }
.dt-price-main h3 a:hover { color: var(--accent-light); }
.dt-price-main p {
  margin-top: 0.4rem;
  color: var(--text-secondary);
  line-height: 1.55;
  font-size: 0.95rem;
}
.dt-place {
  display: inline-block;
  margin-top: 0.7rem;
  font-size: 0.8rem;
  padding: 0.25rem 0.7rem;
  border-radius: 100px;
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
}
.dt-place--closed {
  border-color: rgba(168, 19, 140, 0.5);
  color: var(--accent-light);
}
.dt-price {
  flex-shrink: 0;
  text-align: right;
  color: var(--text-tertiary);
  font-size: 0.85rem;
  line-height: 1.3;
}
.dt-price strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  color: var(--text-primary);
}
.dt-note {
  margin-top: 1.5rem;
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-tertiary);
}

/* --- Étapes --- */
.dt-steps {
  list-style: none;
  counter-reset: dtstep;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--border);
}
.dt-steps li {
  counter-increment: dtstep;
  padding: 1.75rem 1.5rem 1.75rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.dt-steps li + li { padding-left: 1.5rem; border-left: 1px solid var(--border); }
.dt-steps li::before {
  content: counter(dtstep);
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  color: var(--accent-light);
}
.dt-steps h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; }
.dt-steps p { color: var(--text-secondary); line-height: 1.6; font-size: 0.95rem; }
.dt-steps a {
  margin-top: auto;
  padding-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--accent-light);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* --- Avant / après --- */
.dt-ba-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.dt-ba { margin: 0; }
.dt-ba-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.dt-ba-img {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 3 / 4;
}
.dt-ba-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dt-ba-img span {
  position: absolute;
  left: 0.5rem;
  bottom: 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  background: rgba(10, 10, 12, 0.75);
  color: var(--text-primary);
}
.dt-ba-img:last-child span { background: var(--accent); }
.dt-ba figcaption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-tertiary);
}

/* --- Galerie --- */
.dt-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}
.dt-gallery figure { margin: 0; }
.dt-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
  display: block;
}
.dt-gallery figcaption { margin-top: 0.6rem; font-size: 0.88rem; color: var(--text-tertiary); }

.visual-img img[width] { height: 100%; }

@media (max-width: 900px) {
  .dt-steps { grid-template-columns: 1fr; }
  .dt-steps li, .dt-steps li + li { padding: 1.4rem 0; border-left: 0; border-bottom: 1px solid var(--border); }
  .dt-ba-list { grid-template-columns: 1fr; gap: 1.75rem; }
  .dt-gallery { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .dt-price-list li { gap: 1rem; }
  .dt-price-main h3 { font-size: 1.1rem; }
  .dt-price strong { font-size: 1.35rem; }
  .dt-intro, .dt-text { font-size: 1rem; }
}

/* --- Vidéo nettoyage sans rinçage --- */
.dt-video { margin: 0; }
.dt-video-player {
  display: block;
  width: 100%;
  max-width: 420px;
  height: auto;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #000;
  object-fit: cover;
}
.dt-video figcaption {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.88rem;
  color: var(--text-tertiary);
}
@media (max-width: 600px) {
  .dt-video-player { max-width: 300px; }
}
