/* ================================================================
   RÉALISATIONS — Glassmorphism · 3D · Modern Animations
   Les Pavés Pro v2.0
================================================================ */

/* ===== VARIABLES SUPPLÉMENTAIRES ===== */
:root {
  --glass-bg: rgba(255,255,255,0.08);
  --glass-bg-light: rgba(255,255,255,0.65);
  --glass-border: rgba(255,255,255,0.18);
  --glass-shadow: 0 8px 32px rgba(26,47,94,0.15);
  --glass-blur: blur(16px);
  --glass-blur-heavy: blur(24px);
  --perspective: perspective(1000px);
  --gold-glow: 0 0 30px rgba(200,164,90,0.4);
  --navy-glow: 0 0 30px rgba(26,47,94,0.4);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== HERO RÉALISATIONS ===== */
.real-hero {
  position: relative;
  min-height: 65vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-dark) 0%, #0a1628 35%, var(--navy) 70%, var(--blue-accent) 100%);
  padding-top: 72px;
}

/* Particules flottantes */
.real-hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,164,90,0.6) 0%, transparent 70%);
  animation: float-particle linear infinite;
}
.particle:nth-child(1)  { width:4px;  height:4px;  left:10%;  animation-duration:8s;  animation-delay:-2s;  }
.particle:nth-child(2)  { width:6px;  height:6px;  left:25%;  animation-duration:12s; animation-delay:-5s;  }
.particle:nth-child(3)  { width:3px;  height:3px;  left:40%;  animation-duration:9s;  animation-delay:-1s;  }
.particle:nth-child(4)  { width:8px;  height:8px;  left:55%;  animation-duration:14s; animation-delay:-7s;  }
.particle:nth-child(5)  { width:4px;  height:4px;  left:70%;  animation-duration:10s; animation-delay:-3s;  }
.particle:nth-child(6)  { width:5px;  height:5px;  left:85%;  animation-duration:11s; animation-delay:-6s;  }
.particle:nth-child(7)  { width:3px;  height:3px;  left:15%;  animation-duration:7s;  animation-delay:-4s;  }
.particle:nth-child(8)  { width:7px;  height:7px;  left:60%;  animation-duration:13s; animation-delay:-8s;  }
.particle:nth-child(9)  { width:4px;  height:4px;  left:90%;  animation-duration:9s;  animation-delay:0s;   }
.particle:nth-child(10) { width:5px;  height:5px;  left:35%;  animation-duration:15s; animation-delay:-9s;  }

@keyframes float-particle {
  0%   { transform: translateY(110vh) scale(0) rotate(0deg);   opacity: 0;   }
  10%  { opacity: 1; }
  90%  { opacity: 0.8; }
  100% { transform: translateY(-10vh) scale(1) rotate(360deg); opacity: 0;   }
}

/* Grille 3D perspective */
.real-hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  transform: perspective(600px) rotateX(60deg) translateY(30%);
  background-image:
    linear-gradient(rgba(200,164,90,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,164,90,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: grid-scroll 20s linear infinite;
}
@keyframes grid-scroll {
  0%   { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}

/* Orbs lumineux */
.real-hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  pointer-events: none;
  animation: orb-pulse 6s ease-in-out infinite alternate;
}
.real-hero-orb-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(200,164,90,0.15) 0%, transparent 70%);
  top: -100px; left: -100px;
  animation-delay: 0s;
}
.real-hero-orb-2 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(45,74,158,0.3) 0%, transparent 70%);
  bottom: -80px; right: 10%;
  animation-delay: -3s;
}
@keyframes orb-pulse {
  0%   { transform: scale(1) translate(0,0);    opacity: 0.8; }
  100% { transform: scale(1.3) translate(20px,20px); opacity: 0.4; }
}

.real-hero-content {
  position: relative;
  z-index: 10;
  padding: 60px 0 80px;
}

/* Breadcrumb glassmorphism */
.glass-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 24px;
}
.glass-breadcrumb a { color: rgba(255,255,255,0.65); transition: color 0.2s; }
.glass-breadcrumb a:hover { color: var(--gold); }
.glass-breadcrumb .sep { color: rgba(255,255,255,0.3); }
.glass-breadcrumb .current { color: var(--gold); font-weight: 600; }

/* Badge hero */
.real-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(200,164,90,0.12);
  border: 1px solid rgba(200,164,90,0.3);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 50px;
  margin-bottom: 22px;
}
.real-hero-badge .dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.real-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  color: #fff;
  margin-bottom: 18px;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.real-hero h1 em { font-style: normal; color: var(--gold); }

.real-hero-desc {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  line-height: 1.8;
  max-width: 560px;
  margin-bottom: 36px;
}

/* Stats glassmorphism */
.real-hero-stats {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.glass-stat {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--radius);
  padding: 18px 24px;
  text-align: center;
  transition: all 0.35s var(--ease-spring);
}
.glass-stat:hover {
  background: rgba(255,255,255,0.14);
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3), var(--gold-glow);
}
.glass-stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.glass-stat-lbl {
  font-size: 12px;
  color: rgba(255,255,255,0.55);
  margin-top: 4px;
}

/* ===== FILTRES ===== */
.real-filters {
  padding: 40px 0 0;
  background: #fff;
}
.real-filters-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.filter-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.filter-tab {
  padding: 9px 20px;
  border-radius: 50px;
  border: 1.5px solid var(--gray-light);
  background: transparent;
  color: var(--text-body);
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s var(--ease-spring);
}
.filter-tab:hover {
  border-color: var(--navy);
  color: var(--navy);
  transform: translateY(-2px);
}
.filter-tab.active {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  box-shadow: 0 4px 16px rgba(26,47,94,0.3);
  transform: translateY(-2px);
}
.filter-count {
  font-size: 12px;
  color: var(--gray);
  padding-left: 8px;
}

/* ===== GRILLE RÉALISATIONS ===== */
.real-grid-section {
  padding: 48px 0 100px;
  background: #fff;
}

/* Version alternative fond clair */
.real-grid-section.alt-bg {
  background: var(--off-white);
}

.real-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 40px;
}

/* Carte réalisation — 3D tilt + glassmorphism */
.real-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 24px rgba(26,47,94,0.08);
  transition: all 0.4s var(--ease-smooth);
  cursor: pointer;
  text-decoration: none;
  display: block;
  transform-style: preserve-3d;
  will-change: transform;
}

.real-card:hover {
  box-shadow: 0 24px 60px rgba(26,47,94,0.18), 0 8px 20px rgba(26,47,94,0.1);
  transform: translateY(-8px);
}

/* Image container */
.real-card-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--gray-light);
}
.real-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-smooth);
  display: block;
}
.real-card:hover .real-card-img img {
  transform: scale(1.08);
}

/* Placeholder image */
.real-card-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue-accent) 100%);
  gap: 12px;
  font-size: 52px;
}
.real-card-placeholder span {
  font-size: 13px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}

/* Overlay gradient */
.real-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10,22,40,0.95) 0%,
    rgba(10,22,40,0.4) 40%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}
.real-card:hover .real-card-overlay {
  opacity: 1;
}

/* Badge catégorie — glassmorphism */
.real-card-cat {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 50px;
  z-index: 3;
}

/* Icône lien au hover */
.real-card-link-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px; height: 36px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  opacity: 0;
  transform: scale(0.7) rotate(-45deg);
  transition: all 0.35s var(--ease-spring);
  z-index: 3;
}
.real-card:hover .real-card-link-icon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* Corps de la carte */
.real-card-body {
  padding: 22px 24px;
}
.real-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 8px;
  line-height: 1.3;
  transition: color 0.2s;
}
.real-card:hover .real-card-title { color: var(--navy); }

.real-card-meta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 10px;
}
.real-card-meta-item {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--gray);
  font-weight: 500;
}
.real-card-meta-item .icon { font-size: 13px; }

.real-card-desc {
  font-size: 13.5px;
  color: var(--gray);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Footer carte */
.real-card-footer {
  padding: 14px 24px;
  border-top: 1px solid var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.real-card-footer .see-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s;
}
.real-card:hover .real-card-footer .see-more { gap: 10px; }
.real-card-footer .year-badge {
  font-size: 12px;
  color: var(--navy);
  background: rgba(26,47,94,0.07);
  padding: 3px 10px;
  border-radius: 50px;
  font-weight: 600;
}

/* Carte "featured" — grande */
.real-card.featured {
  grid-column: span 2;
}
.real-card.featured .real-card-img {
  aspect-ratio: 16/8;
}
.real-card.featured .real-card-title {
  font-size: 1.3rem;
}

/* ===== ÉTAT VIDE ===== */
.real-empty {
  text-align: center;
  padding: 80px 20px;
  grid-column: 1/-1;
}
.real-empty-icon { font-size: 56px; margin-bottom: 16px; }
.real-empty h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--navy-dark); margin-bottom: 10px; }
.real-empty p { color: var(--gray); font-size: 15px; }

/* Animation entrée cartes */
.real-card {
  opacity: 0;
  transform: translateY(40px);
  animation: card-enter 0.6s var(--ease-spring) forwards;
}
@keyframes card-enter {
  to { opacity: 1; transform: translateY(0); }
}

/* ================================================================
   PAGE DÉTAIL RÉALISATION
================================================================ */

/* Hero détail — image en cover */
.detail-hero {
  position: relative;
  height: 70vh;
  min-height: 500px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-top: 72px;
}

.detail-hero-img {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  transform: scale(1.05);
  animation: hero-zoom 8s ease forwards;
}
@keyframes hero-zoom {
  to { transform: scale(1); }
}

/* Placeholder hero */
.detail-hero-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-dark), var(--blue-accent));
  font-size: 100px;
}

/* Gradient de lecture */
.detail-hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(8,16,32,0.98) 0%,
    rgba(8,16,32,0.6) 35%,
    rgba(8,16,32,0.2) 60%,
    transparent 100%
  );
}

/* Header gradient pour lisibilité */
.detail-hero-top-gradient {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(to bottom, rgba(8,16,32,0.7), transparent);
}

/* Contenu hero */
.detail-hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  padding: 0 0 52px;
}

.detail-hero-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.detail-hero-tag {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  color: rgba(255,255,255,0.85);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 50px;
}
.detail-hero-tag.gold {
  background: rgba(200,164,90,0.2);
  border-color: rgba(200,164,90,0.4);
  color: var(--gold-light);
}

.detail-hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
  font-weight: 800;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

/* Infos glassmorphism en ligne */
.detail-hero-infos {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.detail-hero-info {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: 10px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  transition: all 0.3s var(--ease-spring);
}
.detail-hero-info:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-2px);
}
.detail-hero-info .icon { font-size: 15px; }

/* ===== CONTENU DÉTAIL ===== */
.detail-content {
  padding: 80px 0;
  background: #fff;
}
.detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 60px;
  align-items: start;
}

/* Sidebar sticky */
.detail-sidebar {
  position: sticky;
  top: 96px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Carte glassmorphism light */
.glass-card-light {
  background: var(--glass-bg-light);
  border: 1px solid rgba(26,47,94,0.1);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 4px 24px rgba(26,47,94,0.06);
}

.glass-card-light h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--navy-dark);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold);
}

/* Infos list sidebar */
.detail-info-list { display: flex; flex-direction: column; gap: 14px; }
.detail-info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(26,47,94,0.06);
}
.detail-info-row:last-child { border-bottom: none; padding-bottom: 0; }
.detail-info-icon {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--navy), var(--blue-accent));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.detail-info-text { flex: 1; }
.detail-info-label { font-size: 11px; text-transform: uppercase; letter-spacing: 1.5px; color: var(--gold); font-weight: 700; margin-bottom: 2px; }
.detail-info-value { font-size: 14px; font-weight: 600; color: var(--navy-dark); }

/* Description */
.detail-description {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-body);
  margin-bottom: 48px;
}
.detail-description p { margin-bottom: 16px; }

/* Section titre */
.detail-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--navy-dark);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.detail-section-title::before {
  content: '';
  width: 4px;
  height: 28px;
  background: linear-gradient(to bottom, var(--gold), var(--navy));
  border-radius: 2px;
  flex-shrink: 0;
}

/* ===== GALERIE DÉTAIL ===== */
.detail-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 60px;
}
.detail-gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  background: var(--gray-light);
}
.detail-gallery-item:first-child {
  grid-column: span 2;
  aspect-ratio: 16/9;
}
.detail-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.detail-gallery-item:hover img { transform: scale(1.06); }

/* Overlay galerie */
.detail-gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26,47,94,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 28px;
}
.detail-gallery-item:hover .detail-gallery-overlay { opacity: 1; }

/* Compteur images restantes */
.gallery-more-count {
  position: absolute;
  inset: 0;
  background: rgba(10,22,40,0.7);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.8rem;
  font-weight: 700;
  font-family: 'Playfair Display', serif;
  gap: 6px;
}
.gallery-more-count span {
  font-size: 13px;
  opacity: 0.7;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
}

/* ===== LIGHTBOX AVANCÉE ===== */
.real-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5,10,20,0.96);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  padding: 20px;
}
.real-lightbox.open {
  opacity: 1;
  visibility: visible;
}
.real-lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  transform: scale(0.9);
  transition: transform 0.4s var(--ease-spring);
}
.real-lightbox.open .real-lightbox-inner {
  transform: scale(1);
}
.real-lightbox img {
  max-width: 100%;
  max-height: 85vh;
  border-radius: 16px;
  box-shadow: 0 40px 80px rgba(0,0,0,0.8);
  display: block;
}
.real-lightbox-close {
  position: absolute;
  top: -16px; right: -16px;
  width: 42px; height: 42px;
  background: var(--gold);
  border: none;
  border-radius: 50%;
  color: var(--navy-dark);
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: all 0.3s var(--ease-spring);
  z-index: 2;
}
.real-lightbox-close:hover { transform: scale(1.15) rotate(90deg); }
.real-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px; height: 46px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease-spring);
}
.real-lightbox-nav:hover { background: var(--gold); color: var(--navy-dark); transform: translateY(-50%) scale(1.1); }
.real-lightbox-prev { left: -60px; }
.real-lightbox-next { right: -60px; }
.real-lightbox-caption {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.7);
  font-size: 13px;
  white-space: nowrap;
}
.real-lightbox-counter {
  position: absolute;
  top: -44px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.5);
  font-size: 13px;
  font-weight: 600;
}

/* ===== CTA CONTACT ===== */
.detail-cta {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--blue-accent) 100%);
  padding: 52px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.detail-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4z'/%3E%3C/g%3E%3C/svg%3E");
}
.detail-cta-orb {
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,164,90,0.12), transparent 70%);
  top: -80px; right: -60px;
  pointer-events: none;
}
.detail-cta-content { position: relative; z-index: 2; }
.detail-cta h3 {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 10px;
}
.detail-cta p { color: rgba(255,255,255,0.7); font-size: 1rem; }
.detail-cta-actions {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ===== PROJETS CONNEXES ===== */
.related-section {
  padding: 80px 0;
  background: var(--off-white);
}

/* ===== BACK BUTTON ===== */
.btn-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 600;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: var(--glass-blur);
  padding: 9px 20px;
  border-radius: 50px;
  transition: all 0.3s var(--ease-spring);
  margin-bottom: 24px;
  text-decoration: none;
}
.btn-back:hover {
  background: rgba(255,255,255,0.15);
  color: #fff;
  transform: translateX(-4px);
}

/* ===== ANIMATIONS ===== */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}

/* ===== DARK MODE ===== */
[data-theme="dark"] .real-filters,
[data-theme="dark"] .real-grid-section,
[data-theme="dark"] .detail-content {
  background: #0d1526;
}
[data-theme="dark"] .real-filters.alt-bg,
[data-theme="dark"] .real-grid-section.alt-bg,
[data-theme="dark"] .related-section {
  background: #111827;
}
[data-theme="dark"] .real-card {
  background: #1a2537;
  box-shadow: 0 4px 24px rgba(0,0,0,0.3);
}
[data-theme="dark"] .real-card:hover {
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
[data-theme="dark"] .real-card-title { color: #f0f4ff; }
[data-theme="dark"] .real-card-footer { border-color: #1e2d45; }
[data-theme="dark"] .real-card-footer .year-badge {
  background: rgba(255,255,255,0.08);
  color: #9ba8bc;
}
[data-theme="dark"] .filter-tab {
  border-color: #1e2d45;
  color: #9ba8bc;
}
[data-theme="dark"] .filter-tab:hover { border-color: var(--navy); color: #f0f4ff; }
[data-theme="dark"] .glass-card-light {
  background: rgba(26,37,55,0.8);
  border-color: #1e2d45;
}
[data-theme="dark"] .glass-card-light h3 { color: #f0f4ff; }
[data-theme="dark"] .detail-info-value { color: #f0f4ff; }
[data-theme="dark"] .detail-description { color: #c5cfe0; }
[data-theme="dark"] .detail-section-title { color: #f0f4ff; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .real-grid { grid-template-columns: 1fr 1fr; }
  .real-card.featured { grid-column: span 2; }
  .detail-layout { grid-template-columns: 1fr; gap: 40px; }
  .detail-sidebar { position: static; }
  .detail-gallery { grid-template-columns: 1fr 1fr; }
  .detail-gallery-item:first-child { grid-column: span 2; }
}
@media (max-width: 768px) {
  .real-grid { grid-template-columns: 1fr; }
  .real-card.featured { grid-column: span 1; }
  .real-card.featured .real-card-img { aspect-ratio: 4/3; }
  .real-hero-stats { display: none; }
  .detail-hero { height: 55vh; }
  .detail-hero h1 { font-size: 1.9rem; }
  .detail-hero-infos { gap: 8px; }
  .detail-hero-info { font-size: 12px; padding: 8px 14px; }
  .detail-gallery { grid-template-columns: 1fr; }
  .detail-gallery-item:first-child { grid-column: span 1; aspect-ratio: 4/3; }
  .real-lightbox-prev { left: -10px; }
  .real-lightbox-next { right: -10px; }
  .detail-cta { padding: 36px 28px; }
  .detail-cta h3 { font-size: 1.4rem; }
}
@media (max-width: 480px) {
  .filter-tab { padding: 7px 14px; font-size: 12px; }
  .real-hero h1 { font-size: 2rem; }
}
