/* ===================================================
   SERVICES PAGE
   =================================================== */

.services-showcase {
  background: var(--gray-light);
}

.services-showcase-header {
  text-align: center;
  margin-bottom: 3rem;
}

.services-showcase-header .section-desc {
  margin: 0.5rem auto 0;
  max-width: 720px;
  color: var(--text-muted);
}

/* --- Service block layout --- */

.service-block {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 4rem;
  padding: 0;
}

.service-block:last-child {
  margin-bottom: 0;
}

/* --- Content side --- */

.service-block-content {
  padding: 0.25rem 0;
}

.service-block-label {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}

.service-block-content h3 {
  font-size: 1.55rem;
  margin-bottom: 0.85rem;
  line-height: 1.3;
}

.service-block-content p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.service-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.service-details li {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.service-details li::before {
  content: '✓';
  color: var(--accent);
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

/* ===== CAROUSEL ===== */
.service-carousel {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 10 / 8;
  background: #1e2228;
}

.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
  min-width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: flex-end;
}

.carousel-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.carousel-slide .photo-label {
  position: relative;
  z-index: 2;
  margin: 0 0 0.85rem 0.85rem;
  background: rgba(0,0,0,0.42);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.42);
  border: none;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
  z-index: 3;
  transition: background 0.2s;
}
.carousel-btn:hover { background: rgba(200,146,42,0.85); }
.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
}
.carousel-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background 0.2s;
}
.carousel-dots .dot.active { background: var(--accent); }

@media (max-width: 960px) {
  .service-carousel { aspect-ratio: 16 / 9; }
}

/* --- Photo slot de base --- */

.service-photo-slot {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  min-height: 100px;
}

/* Dashed placeholder border (visible quand pas de vraie photo) */
.service-photo-slot::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1.5px dashed rgba(255, 255, 255, 0.28);
  border-radius: 10px;
  pointer-events: none;
  z-index: 1;
}

/* Label au bas de chaque slot */
.photo-label {
  position: relative;
  z-index: 2;
  margin: 0 0 0.85rem 0.85rem;
  background: rgba(0, 0, 0, 0.38);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* Image réelle */
.service-photo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  z-index: 0;
}


/* ===================================================
   COULEURS DE FOND (placeholder)
   =================================================== */

.service-photo-paint-interior {
  background: linear-gradient(
    145deg,
    rgba(41, 47, 55, 0.92),
    rgba(200, 146, 42, 0.52)
  ),
  linear-gradient(135deg, #3a3f46, #1e2228);
}

.service-photo-paint-exterior {
  background: linear-gradient(
    145deg,
    rgba(56, 45, 28, 0.92),
    rgba(200, 146, 42, 0.38)
  ),
  linear-gradient(135deg, #5a4730, #2f2418);
}

.service-photo-cloisons {
  background: linear-gradient(
    145deg,
    rgba(43, 38, 31, 0.94),
    rgba(200, 146, 42, 0.32)
  ),
  linear-gradient(135deg, #4a4036, #27211b);
}

.service-photo-flooring {
  background: linear-gradient(
    145deg,
    rgba(34, 37, 30, 0.94),
    rgba(200, 146, 42, 0.30)
  ),
  linear-gradient(135deg, #4a4a39, #25251c);
}

.service-photo-carrelage {
  background: linear-gradient(
    145deg,
    rgba(36, 33, 43, 0.94),
    rgba(200, 146, 42, 0.34)
  ),
  linear-gradient(135deg, #4b4458, #221f29);
}

.service-photo-parquet {
  background: linear-gradient(
    145deg,
    rgba(46, 32, 21, 0.94),
    rgba(200, 146, 42, 0.34)
  ),
  linear-gradient(135deg, #5a4028, #26190f);
}
/* ---- ABOUT STRIP ---- */
.about-strip {
  background: var(--accent);
  padding: 1.2rem 0;
  overflow: hidden;
}

.about-strip-inner {
  display: flex;
  gap: 0;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
}

.strip-item {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  white-space: nowrap;
  padding: 0.3rem 2.5rem;
}

.strip-item + .strip-item {
  border-left: 1px solid rgba(255, 255, 255, 0.35);
}
/* ===================================================
   RESPONSIVE
   =================================================== */

@media (max-width: 960px) {
  .service-block {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* En colonne unique, les galeries passent en rangée */
  .gallery-2 {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }

  .gallery-2 .photo-main {
    min-height: 200px;
  }

  .gallery-2 .service-photo-slot:not(.photo-main) {
    min-height: 200px;
  }

  .gallery-3 {
    grid-template-columns: 1fr 1fr 1fr;
    grid-template-rows: auto;
  }

  .gallery-3 .photo-main {
    grid-column: auto;
    grid-row: auto;
    min-height: 180px;
  }

  .gallery-3 .service-photo-slot:not(.photo-main) {
    min-height: 180px;
  }
}

@media (max-width: 560px) {
  .gallery-2 {
    grid-template-columns: 1fr;
  }

  .gallery-3 {
    grid-template-columns: 1fr;
  }

  .gallery-3 .photo-main,
  .gallery-3 .service-photo-slot:not(.photo-main),
  .gallery-2 .photo-main,
  .gallery-2 .service-photo-slot:not(.photo-main) {
    min-height: 200px;
  }
}

/* ---- HERO BACKGROUND (SERVICES) ---- */
.page-header.hero-services {
  background-image: linear-gradient(rgba(26,26,26,0.45), rgba(26,26,26,0.45)), url("../images/media1.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-header.hero-services .container { position: relative; z-index: 2; }

.page-header.hero-services::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(200,146,42,0.08), transparent 60%);
  z-index: 1;
}

@media (max-width: 640px) {
  .page-header.hero-services { padding-top: 100px; padding-bottom: 3rem; }
}