:root {
  --primary-yellow: #fdb913;
  --primary-brown: #8b4513;
  --dark-brown: #371f02;
  --light-brown: #a0522d;
  --djeli-brown: #8b4513;
  --djeli-brown-dark: #371f02;
  --djeli-brown-light: #8a591e;
  --djeli-cream: #fdf8f3;
  --djeli-text: #2c1810;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  overflow-x: hidden;
}

/* NAVBAR */
.navbar {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 1rem 0;
}

.navbar-brand img {
  height: 80px;
}

.navbar-nav .nav-link {
  color: #333 !important;
  font-weight: 500;
  margin: 0 15px;
  text-transform: uppercase;
  font-size: 14px;
  transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-yellow) !important;
}

.social-icons a {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 2px solid #333;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 10px;
  color: #333;
  transition: all 0.3s;
}

.social-icons a:hover {
  background-color: var(--primary-yellow);
  border-color: var(--primary-yellow);
  color: white;
}

.social-icons a {
  text-decoration: none;
}

/* HERO SECTION */
.hero-section {
  position: relative;
  height: 750px;
  /* height: 600px; */
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(0, 0, 0, 0.3) 100%
  );
}

/* WHO WE ARE SECTION */
.who-we-are {
  background-color: #f8f9fa;
}

.who-we-are h2 {
  font-weight: 700;
  font-size: 2.5rem;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.who-we-are p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #555;
}

.musician-illustration {
  max-width: 100%;
  height: auto;
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.carousel-dots span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #ddd;
  cursor: pointer;
  transition: background-color 0.3s;
}

.carousel-dots span.active {
  background-color: var(--primary-yellow);
}

/* SERVICES SECTION */
.services-section {
  padding-top: 70px;
  /* padding: 80px 0; */
  background-color: #f8f9fa;
}

.services-section h2 {
  font-weight: 700;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 60px;
  text-transform: uppercase;
}

.service-card {
  position: relative;
  height: 700px;
  /* border-radius: 15px; */
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px;
  /* transition: all 0.4s ease; */
}

.service-card:hover {
  /* transform: translateY(-5px); */
}

.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.682);
  /* background-color: rgba(255, 255, 255, 0.223); */
  z-index: 1;
  transition: opacity 0.4s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(166, 124, 92, 0.92);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover::after {
  opacity: 0;
}

.service-card.highlight::before {
  background: rgba(139, 69, 19, 0.85);
}

.service-card-content {
  position: relative;
  z-index: 3;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.service-icon {
  width: 100px;
  height: 100px;
  /* border: 3px solid var(--primary-yellow); */
  /* border-radius: 50%; */
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  background-color: transparent;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.4s ease;
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
}

.service-card:hover .service-icon {
  opacity: 1;
  position: relative;
  bottom: auto;
  left: auto;
  color: white;
  transform: translateY(0);
}

.service-icon i {
  font-size: 2.5rem;
  color: #994004;
}

.service-card h3 {
  color: var(--primary-brown);
  font-weight: 700;
  font-size: 1.6rem;
  margin-bottom: 0;
  text-transform: uppercase;
  transition: all 0.4s ease;
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}

.service-card:hover h3 {
  color: white;
  position: relative;
  bottom: auto;
  left: auto;
  transform: none;
  margin-bottom: 25px;
}

.service-card p {
  color: white;
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 30px;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.4s ease 0.1s;
  max-width: 500px;
}

.service-card:hover p {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover img {
  filter: brightness(0) invert(1);
}

/* Bouton - caché par défaut, visible au survol */
.service-card .btn-outline-light {
  border: 2px solid white;
  color: white;
  padding: 12px 50px;
  border-radius: 30px;
  text-transform: capitalize;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.4s ease 0.2s;
}

.service-card:hover .btn-outline-light {
  opacity: 1;
  transform: translateY(0);
}

.service-card .btn-outline-light:hover {
  background-color: white;
  color: var(--primary-brown);
}

/* CONTACT SECTION */
.contact-section {
  background: url("assets/img/contact-bg.png") no-repeat center center/cover;
  /* background: linear-gradient(135deg, #f5f5f5 0%, #e9ecef 100%); */
}

.bgopacity {
  padding: 80px 0 200px 0;
  /* background-color: rgba(255, 255, 255, 0.9); */
  background-color: #371f02b5;
}

.bgopacity .container {
  color: #fff;
}

.contact-section h2 {
  font-weight: 700;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 60px;
  text-transform: uppercase;
  color: inherit;
}

.contact-info {
  text-align: left;
}

.contact-social-icons {
  display: flex;
  justify-content: left;
  gap: 15px;
  margin-bottom: 30px;
}

.contact-social-icons a {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.5rem;
  transition: all 0.3s;
  text-decoration: none;
}

.contact-social-icons a:hover {
  background-color: var(--primary-yellow);
  border-color: var(--primary-yellow);
  color: white;
  transform: scale(1.1);
}

.contact-details h4 {
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: inherit;
}

.contact-details p {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: inherit;
}

.contact-form {
  background-color: white;
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.contact-form .form-control,
.contact-form .form-control:focus {
  border: none;
  border-bottom: 2px solid #ddd;
  border-radius: 0;
  padding: 15px 0;
  font-size: 1rem;
}

.contact-form .form-control:focus {
  border-bottom-color: var(--primary-yellow);
  box-shadow: none;
}

.contact-form textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.btn-submit {
  background-color: var(--primary-brown);
  color: white;
  padding: 12px 50px;
  border: none;
  border-radius: 30px;
  font-weight: 600;
  text-transform: uppercase;
  float: right;
  transition: all 0.3s;
}

.btn-submit:hover {
  background-color: var(--light-brown);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(139, 69, 19, 0.3);
}

/* FOOTER */
.footer {
  background-color: var(--dark-brown);
  padding: 150px 0 0;
  color: white;
  text-align: center;
}

.footer p {
  margin-bottom: 0;
  padding: 20px 0;
  font-size: 0.95rem;
}

.african-pattern {
  height: 80px;
  background-image: url("assets/img/footer-bg.png");
  background-size: contain;
  background-repeat: repeat-x;
  background-position: bottom;
}

.meform-control {
  border: none;
  background: transparent;
  border-bottom: 1px solid #fff;
  border-radius: 10px 0px;
  padding: 1px;
  width: 100%;
  resize: none;
  outline: 0;
  box-shadow: none;
  color: #fff;
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .hero-section {
    height: 400px;
  }

  .service-card {
    height: auto;
    margin-bottom: 30px;
  }

  .contact-form {
    margin-top: 40px;
  }
  .who-we-are{
    padding: 40px 0;
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .who-we-are h2,
  .services-section h2,
  .contact-section h2 {
    font-size: 2rem;
  }

  .navbar-nav .nav-link {
    margin: 10px 0;
  }

  .who-we-are{
    padding: 40px 0;
    margin-top: 40px;
  }

  .service-card {
    height: auto;
    margin-bottom: 30px;
  }

  .social-icons {
    /* display: flex;
    justify-content: center;
    gap: 15px; */
    margin: 30px 0;
  }
}

.djeli-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(20, 10, 5, 0.75);
  backdrop-filter: blur(4px);
  z-index: 9998;
  animation: fadeInOverlay 0.3s ease;
}
.djeli-overlay.active {
  display: block;
}
@keyframes fadeInOverlay {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.djeli-modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%) scale(0.92);
  width: 92%;
  max-width: 900px;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 9999;
  border-radius: 0px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  transition:
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
    opacity 0.3s ease;
  opacity: 0;
}
.djeli-modal.active {
  display: block;
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}
.djeli-modal-header {
  background: linear-gradient(
    135deg,
    var(--djeli-brown) 0%,
    var(--djeli-brown-dark) 100%
  );
  padding: 28px 35px 22px;
  position: relative;
  overflow: hidden;
}
.djeli-modal-header::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -30px;
  width: 150px;
  height: 150px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}
.djeli-modal-header h2 {
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  margin: 0;
}
.djeli-modal-header p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  margin: 6px 0 0;
}
.djeli-modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  z-index: 2;
}
.djeli-modal-close:hover {
  background: rgba(255, 255, 255, 0.35);
}
.djeli-modal-body {
  padding: 0;
  /* background: var(--djeli-cream); */
  border-radius: 0 0 18px 18px;
}
.djeli-service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}
.djeli-service-grid.cols-2 {
  grid-template-columns: 1fr 1fr;
}
.djeli-service-grid.cols-3 {
  grid-template-columns: 1fr 1fr 1fr;
}
@media (max-width: 640px) {
  .djeli-service-grid.cols-2,
  .djeli-service-grid.cols-3 {
    grid-template-columns: 1fr;
  }
}
.djeli-service-item {
  padding: 36px 30px 30px;
  position: relative;
}
.djeli-service-item:not(:last-child) {
  border-right: 1px solid rgba(181, 84, 10, 0.15);
}
@media (max-width: 640px) {
  .djeli-service-item:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid rgba(181, 84, 10, 0.15);
  }
}
.djeli-service-item.highlight {
  background: #8b4513b5;
}
.djeli-service-item h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--djeli-brown);
  margin-bottom: 14px;
  line-height: 1.3;
}
.djeli-service-item.highlight h3 {
  color: #fff;
}
.djeli-service-item p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: #555;
}
.djeli-service-item.highlight p {
  color: rgba(255, 255, 255, 0.88);
}
.djeli-divider {
  width: 40px;
  height: 3px;
  background: var(--djeli-brown-light);
  border-radius: 2px;
  margin-bottom: 14px;
}
.djeli-service-item.highlight .djeli-divider {
  background: rgba(255, 255, 255, 0.4);
}
.djeli-devis-zone {
  padding: 22px 30px;
  /* border-top: 1px solid rgba(181,84,10,0.12); */
  /* background: #fff; */
  /* border-radius: 0 0 18px 18px; */
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.btn-djeli-devis {
  background: var(--djeli-brown);
  color: #fff;
  border: 2px solid var(--djeli-brown);
  padding: 11px 28px;
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.25s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.btn-djeli-devis:hover {
  background: var(--djeli-brown-dark);
  border-color: var(--djeli-brown-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(181, 84, 10, 0.35);
}
.djeli-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  padding: 30px 35px;
}
@media (max-width: 580px) {
  .djeli-form-grid {
    grid-template-columns: 1fr;
    padding: 20px;
  }
}
.djeli-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.djeli-form-group.full-width {
  grid-column: 1 / -1;
}
.djeli-form-group label {
  font-family: "Poppins", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--djeli-brown-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.djeli-form-group input,
.djeli-form-group select,
.djeli-form-group textarea {
  border: 1.5px solid #e0d0c5;
  border-radius: 8px;
  padding: 11px 14px;
  font-family: "Poppins", sans-serif;
  font-size: 0.88rem;
  color: var(--djeli-text);
  background: #fff;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
  outline: none;
}
.djeli-form-group input:focus,
.djeli-form-group select:focus,
.djeli-form-group textarea:focus {
  border-color: var(--djeli-brown);
  box-shadow: 0 0 0 3px rgba(181, 84, 10, 0.12);
}
.djeli-form-group textarea {
  resize: vertical;
  min-height: 100px;
}
.djeli-form-actions {
  padding: 0 35px 30px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}
@media (max-width: 580px) {
  .djeli-form-actions {
    padding: 0 20px 20px;
  }
}
.btn-djeli-cancel {
  background: transparent;
  color: #888;
  border: 1.5px solid #ddd;
  padding: 10px 22px;
  border-radius: 8px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-djeli-cancel:hover {
  background: #f5f0ec;
  color: #555;
}
.djeli-success-msg {
  display: none;
  text-align: center;
  padding: 40px 30px;
}
.djeli-success-msg .success-icon {
  width: 64px;
  height: 64px;
  background: #e8f5e9;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 1.8rem;
}
.djeli-success-msg h3 {
  color: var(--djeli-brown);
  font-family: "Poppins", sans-serif;
  font-weight: 700;
}
.djeli-success-msg p {
  color: #666;
  font-size: 0.9rem;
}

#modal-communication {
  background-image: url("assets/img/service-communication.png");
  background-size: cover;
  background-position: center;
  padding: 60px 40px;
}

#modal-communication::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.9);
  z-index: 0;
}

#modal-technologie {
  background-image: url("assets/img/service-video.png");
  background-size: cover;
  background-position: center;
  padding: 60px 40px;
}

#modal-technologie::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.9);
  z-index: 0;
}

#modal-evenementiel {
  background-image: url("assets/img/service-evenement.png");
  background-size: cover;
  background-position: center;
  padding: 60px 40px;
}

#modal-evenementiel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.9);
  z-index: 0;
}

.djeli-modal_intern .djeli-modal-body {
  position: relative;
  z-index: 1;
  text-align: center;
}

.djeli-communication-visual {
  position: relative;
  width: 80%;
  height: 100px;
  margin: 0 auto;
}

.djeli-lines {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
}

.djeli-lines path {
  stroke: #b65a1c;
  stroke-width: 2;
  fill: none;
}

.djeli-lines circle {
  fill: #fff;
  stroke: #b65a1c;
  stroke-width: 2;
}

.djeli-center-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120px;
  height: 120px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.djeli-center-icon img {
  width: 80px;
}


/* PARTENAIRE */

.partners-section{
    background:#f3f3f3;
}

.partners-title{
    line-height:1.2;
}

.partner-card{
    background:#fff;
    border-radius:25px;
    /* padding:40px; */
    height:180px;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
    transition:0.3s;
}

.partner-card:hover{
    transform:translateY(-5px);
}

.partner-card img{
    max-height:100%;
    object-fit:contain;
}


/* =============================================
   NOS RÉALISATIONS – MASONRY PORTFOLIO
   ============================================= */

.realisation-section {
  padding-top: 70px;
  padding-bottom: 80px;
  background-color: #f8f9fa;
}

.realisation-section h2 {
  font-weight: 700;
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 50px;
  text-transform: uppercase;
  color: var(--dark-brown);
}

/* ---- Filter Tabs ---- */
.masonry-filter-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 44px;
}

.masonry-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  background: #fff;
  border-radius: 50px;
  padding: 6px 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.filter-btn {
  background: transparent;
  border: none;
  padding: 10px 24px;
  border-radius: 50px;
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #888;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-btn:hover {
  color: var(--primary-brown);
}

.filter-btn.active {
  background: var(--primary-brown);
  color: #fff;
  box-shadow: 0 6px 18px rgba(139, 69, 19, 0.35);
}

/* ---- Masonry Grid ---- */
.masonry-grid {
  columns: 3 320px;
  column-gap: 0;
  padding: 0;
}

.masonry-item {
  position: relative;
  overflow: hidden;
  break-inside: avoid;
  cursor: pointer;
}

.masonry-item--tall img {
  aspect-ratio: 2 / 3;
}

.masonry-item--wide img {
  aspect-ratio: 16 / 7;
}

.masonry-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  transition: transform 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.masonry-item:hover img {
  transform: scale(1.08);
}

/* Hover Overlay */
.masonry-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(55, 31, 2, 0.92) 0%,
    rgba(55, 31, 2, 0.55) 55%,
    rgba(55, 31, 2, 0) 100%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 22px 22px 20px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.masonry-item:hover .masonry-item-overlay {
  opacity: 1;
}

.masonry-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.masonry-item-cat {
  display: inline-block;
  background: var(--primary-yellow);
  color: var(--dark-brown);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-radius: 4px;
  padding: 3px 10px;
  margin-bottom: 8px;
}

.masonry-item-overlay h3 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  text-transform: uppercase;
}

.masonry-item-zoom {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 0.9rem;
  transition: background 0.25s;
}

.masonry-item-zoom:hover {
  background: var(--primary-yellow);
  color: var(--dark-brown);
}

.masonry-item.hidden {
  display: none;
}

/* ---- Lightbox ---- */
.realisation-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.realisation-lightbox.open {
  display: flex;
}

.realisation-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 10, 5, 0.88);
  backdrop-filter: blur(6px);
  cursor: pointer;
}

.realisation-lightbox__panel {
  position: relative;
  z-index: 1;
  background: #fff;
  border-radius: 0;
  width: 92%;
  max-width: 860px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
  animation: lbSlideUp 0.38s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes lbSlideUp {
  from { opacity: 0; transform: translateY(40px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.realisation-lightbox__close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(55, 31, 2, 0.75);
  border: none;
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: background 0.2s;
}

.realisation-lightbox__close:hover {
  background: var(--primary-brown);
}

.realisation-lightbox__img-wrap {
  width: 100%;
  max-height: 55vh;
  overflow: hidden;
  flex-shrink: 0;
  /*text-align: center;*/
}

.realisation-lightbox__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.realisation-lightbox__content {
  padding: 28px 32px 32px;
  background: #fff;
}

.realisation-lightbox__cat {
  display: inline-block;
  background: var(--primary-yellow);
  color: var(--dark-brown);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  border-radius: 4px;
  padding: 3px 12px;
  margin-bottom: 12px;
}

.realisation-lightbox__content h3 {
  font-family: "Poppins", sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--dark-brown);
  margin-bottom: 12px;
  text-transform: uppercase;
}

.realisation-lightbox__content p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #666;
  margin: 0;
}

/* Responsive masonry */
@media (max-width: 900px) {
  .masonry-grid {
    columns: 2 260px;
  }
}

@media (max-width: 540px) {
  .masonry-grid {
    columns: 1;
  }
  .realisation-section h2 {
    font-size: 2rem;
  }
  .realisation-lightbox__content {
    padding: 20px;
  }
}



