/* ─────────────────────────────────────────────
   PROJET-DETAIL.CSS — Détail projet graphique
   Font: Arial | Koule: #000000 #CC0000 #FFFFFF
───────────────────────────────────────────── */

.projet-detail-body {
  background: #000000;
  min-height: 100vh;
  font-family: Arial, sans-serif;
}

/* ─── LIEN RETOUR ────────────────────────────── */
.pd-back-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 24px 0;
}

.pd-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color 0.2s;
}

.pd-back-link:hover { color: #FFFFFF; }

.pd-back-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ─── MAIN ───────────────────────────────────── */
.pd-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 24px 80px;
}

/* ─── HERO 2 colonnes ────────────────────────── */
.pd-hero {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 64px;
}

/* ─── Colonne gauche: Preview ────────────────── */
.pd-preview-col { display: flex; flex-direction: column; gap: 12px; }

.pd-main-thumb {
  width: 100%;
  height: 360px;
  border-radius: 16px;
  background: linear-gradient(135deg, #000000 0%, rgba(255,255,255,0.1) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}

.pd-main-icon {
  color: rgba(255,255,255,0.2);
}

.pd-main-icon svg,
.pd-main-thumb [data-lucide] svg {
  width: 100px !important;
  height: 100px !important;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pd-thumbnails {
  display: flex;
  gap: 10px;
}

.pd-mini {
  flex: 1;
  height: 72px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1.5px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  color: rgba(255,255,255,0.25);
}

.pd-mini:hover {
  border-color: rgba(255,255,255,0.35);
  color: rgba(255,255,255,0.5);
}

.pd-mini.active {
  border-color: #FFFFFF;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
}

.pd-mini svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Gradients miniatures */
.pd-grad-1 { background: linear-gradient(135deg, #1a0a0a, #3d0a0a) !important; }
.pd-grad-2 { background: linear-gradient(135deg, #0a0a1a, #0a1a3d) !important; }
.pd-grad-3 { background: linear-gradient(135deg, #0a1a0a, #0a2d1a) !important; }
.pd-grad-4 { background: linear-gradient(135deg, #1a1a0a, #2d2d0a) !important; }

/* ─── Colonne droite: Infos ──────────────────── */
.pd-info-col {
  position: sticky;
  top: 88px;
}

.pd-badge-cat {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.5);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.15);
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 14px;
}

.pd-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 18px;
  line-height: 1.25;
}

.pd-graphiste-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.pd-g-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  flex-shrink: 0;
}

.pd-g-info { display: flex; flex-direction: column; gap: 2px; }

.pd-g-name {
  font-size: 14px;
  font-weight: 700;
  color: #FFFFFF;
}

.pd-g-role {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
}

.pd-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 18px;
}

.pd-formats-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.pd-formats-label {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  font-weight: 600;
}

.pd-format-badges { display: flex; gap: 6px; flex-wrap: wrap; }

.pd-fbadge {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
}

.pd-divider {
  height: 1px;
  background: rgba(255,255,255,0.08);
  margin-bottom: 20px;
}

.pd-buy-box { display: flex; flex-direction: column; gap: 10px; }

.pd-price {
  font-size: 28px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 4px;
}

.btn-pd-buy {
  display: block;
  background: #FFFFFF;
  color: #000000;
  border-radius: 50px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: background 0.2s;
}

.btn-pd-buy:hover { background: rgba(255,255,255,0.9); }

.btn-pd-contact {
  display: block;
  background: transparent;
  color: #FFFFFF;
  border: 1.5px solid rgba(255,255,255,0.35);
  border-radius: 50px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
}

.btn-pd-contact:hover {
  border-color: #FFFFFF;
  background: rgba(255,255,255,0.05);
}

.pd-guarantee {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin-top: 4px;
}

.pd-guarantee svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

/* ─── SECTIONS ───────────────────────────────── */
.pd-section {
  margin-bottom: 56px;
}

.pd-section-title {
  font-size: 20px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 24px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* Ce qui est inclus */
.pd-includes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.pd-include-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: rgba(255,255,255,0.7);
}

.pd-include-item svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  color: rgba(255,255,255,0.5);
}

/* À propos du graphiste */
.pd-graphiste-block {
  background: #000000;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 28px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.pd-gb-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 700;
  color: #FFFFFF;
  flex-shrink: 0;
}

.pd-gb-info { flex: 1; }

.pd-gb-name {
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.pd-gb-bio {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  margin-bottom: 16px;
}

.pd-gb-stats {
  display: flex;
  gap: 24px;
}

.pd-gb-stat { display: flex; flex-direction: column; gap: 2px; }

.pd-gb-stat-val {
  font-size: 18px;
  font-weight: 700;
  color: #FFFFFF;
}

.pd-gb-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.4);
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

/* Autres projets */
.pd-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pd-related-card {
  background: #000000;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s, border-color 0.2s;
}

.pd-related-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.2);
}

.pd-related-thumb {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
}

.pd-rel-1 { background: linear-gradient(135deg, #0a0a1a, #0a1a3d); }
.pd-rel-2 { background: linear-gradient(135deg, #1a0a1a, #2d0a2d); }
.pd-rel-3 { background: linear-gradient(135deg, #0a1a1a, #0a2d2d); }

.pd-related-thumb svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pd-related-info {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pd-related-title {
  font-size: 13px;
  font-weight: 700;
  color: #FFFFFF;
}

.pd-related-price {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}

/* ─── RESPONSIVE ─────────────────────────────── */
@media (max-width: 900px) {
  .pd-hero {
    grid-template-columns: 1fr;
  }

  .pd-info-col {
    position: static;
  }

  .pd-main-thumb {
    height: 280px;
  }

  .pd-related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .pd-includes-grid {
    grid-template-columns: 1fr;
  }

  .pd-graphiste-block {
    flex-direction: column;
    gap: 16px;
  }

  .pd-related-grid {
    grid-template-columns: 1fr;
  }

  .pd-thumbnails {
    gap: 6px;
  }

  .pd-mini {
    height: 56px;
  }
}
