/* ── PROJETS ───────────────────────────────────────────────────── */

/* Bandeau VIP */
.vip-banner {
  background: rgba(255,222,89,0.12);
  border-bottom: 1px solid rgba(255,222,89,0.25);
  padding: 10px 40px;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--jaune);
}
.vip-banner i { color: var(--jaune); }
.vip-banner strong { color: var(--orange); }
.vip-link {
  margin-left: auto;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-family: 'League Spartan', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.vip-link + .vip-link { margin-left: 0; }
.vip-link:hover { color: #fff; border-bottom-color: #fff; }

/* ══ SECTION PROJET ═══════════════════════════════════════════════ */

.projet-section {
  background: var(--sbg);
  color: var(--stxt);
  padding: 0 80px 80px;
}

.section-header {
  padding: 56px 0 36px;
  border-bottom: 2px solid rgba(0,0,0,0.08);
  margin-bottom: 0;
}

.section-titre {
  font-family: 'League Spartan', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 18px;
}

/* ══ RANGÉE PROJET ════════════════════════════════════════════════ */

.projets-liste { }

.projet-row {
  display: flex;
  align-items: center;
  gap: 72px;
  padding: 72px 0;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.projet-row:last-child { border-bottom: none; }
.projet-row.row-reverse { flex-direction: row-reverse; }

/* Média */
.projet-media {
  flex: 0 0 48%;
  min-width: 0;
}

.projet-img,
.projet-video {
  width: 100%;
  height: 340px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.media-placeholder {
  width: 100%;
  height: 340px;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  background: rgba(0,0,0,0.08);
  color: rgba(0,0,0,0.25);
}
.media-placeholder i    { font-size: 4rem; }
.media-placeholder span {
  font-family: 'League Spartan', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.video-placeholder { background: rgba(0,0,0,0.06); }
.video-placeholder i { font-size: 5rem; color: rgba(0,0,0,0.2); }

/* Texte */
.projet-content {
  flex: 1;
  min-width: 0;
}

.projet-annee {
  font-family: 'League Spartan', sans-serif;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.55;
  display: block;
  margin-bottom: 10px;
}

.projet-titre {
  font-family: 'League Spartan', sans-serif;
  font-weight: 900;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 18px;
}

.projet-desc {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  opacity: 0.8;
  max-width: 440px;
  margin-bottom: 28px;
}

.btn-trace {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'League Spartan', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 12px 26px;
  border-radius: 50px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  /* couleurs issues des variables de section */
  background: var(--stxt);
  color: var(--sbg);
  border: none;
}
.btn-trace:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}

/* ══ SECTION REELS ════════════════════════════════════════════════ */

.reels-section {
  border-top: 2px solid rgba(0,0,0,0.08);
  padding-top: 60px;
  margin-top: 16px;
}

.reels-titre {
  font-family: 'League Spartan', sans-serif;
  font-weight: 900;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 36px;
}

.reels-grid {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.reel-item {
  flex: 0 0 auto;
}

.reel-video {
  width: 200px;
  height: 356px;   /* ratio 9:16 */
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

.reel-placeholder {
  width: 200px;
  height: 356px;
  border-radius: 16px;
  background: rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(0,0,0,0.25);
}
.reel-placeholder i    { font-size: 2.8rem; }
.reel-placeholder span {
  font-family: 'League Spartan', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ══ CTA ══════════════════════════════════════════════════════════ */

#projets-cta {
  background: var(--bordeaux);
  color: #fff;
  padding: 80px 80px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

#projets-cta h2 {
  font-family: 'League Spartan', sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 5vw, 3.5rem);
  text-transform: uppercase;
  background: var(--bleu);
  color: var(--bordeaux);
  padding: 16px 32px;
  display: inline-block;
  transform: rotate(-2deg);
}

#projets-cta .cta-sub {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  margin-top: -8px;
}

/* ══ MODAL TRACE ══════════════════════════════════════════════════ */

.trace-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(6px);
}

.trace-modal-box {
  background: #450920;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 20px;
  padding: 40px;
  max-width: 560px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.trace-modal-box::-webkit-scrollbar { width: 4px; }
.trace-modal-box::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 4px; }

.trace-close {
  position: absolute;
  top: 16px; right: 16px;
  background: rgba(255,255,255,0.08);
  border: none;
  color: rgba(255,255,255,0.6);
  width: 36px; height: 36px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}
.trace-close:hover { background: rgba(255,255,255,0.15); color: #fff; }

.trace-modal-title {
  font-family: 'League Spartan', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  text-transform: uppercase;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 28px;
}

.tf-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.tf-label {
  font-family: 'League Spartan', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.45);
  padding-top: 2px;
}
.tf-val {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.6;
}

.trace-empty {
  color: rgba(255,255,255,0.45);
  font-style: italic;
  margin-bottom: 12px;
}
.trace-hint a {
  color: var(--orange);
  text-decoration: none;
  font-size: 0.88rem;
}
.trace-hint a:hover { text-decoration: underline; }

/* ══ RESPONSIVE ═══════════════════════════════════════════════════ */

@media (max-width: 960px) {
  .projet-section { padding: 0 40px 60px; }
  .projet-row     { gap: 40px; }
  .projet-media   { flex: 0 0 45%; }
}

@media (max-width: 720px) {
  .projet-section { padding: 0 24px 60px; }
  .section-header { padding: 40px 0 28px; }

  .projet-row,
  .projet-row.row-reverse {
    flex-direction: column;
    gap: 28px;
    padding: 48px 0;
  }
  .projet-media { flex: 0 0 auto; width: 100%; }

  .projet-img,
  .projet-video,
  .media-placeholder { height: 240px; }

  .reels-grid { gap: 12px; justify-content: center; }
  .reel-video, .reel-placeholder { width: 140px; height: 249px; }

  .tf-row { grid-template-columns: 1fr; gap: 4px; }

  #projets-cta { padding: 60px 24px 80px; }
  .vip-banner  { padding: 10px 24px; }
}

@media (max-width: 480px) {
  .reels-grid { gap: 8px; }
  .reel-video, .reel-placeholder { width: 120px; height: 213px; }
}

/* ─── CTA h2 mobile (1 ligne) ─── */
@media (max-width: 768px) {
  #projets-cta { padding: 40px 20px 60px; }
  #projets-cta h2 { font-size: 1.5rem; padding: 12px 20px; }
}
