/* SIMA Collect — galerie captures mobile (mobile1–mobile4) */
.sc-gallery {
  position: relative;
  padding: 1.25rem 0 0.5rem;
  overflow: hidden;
}

.sc-gallery__glow {
  position: absolute;
  inset: 5% 0 20%;
  background:
    radial-gradient(ellipse 70% 55% at 50% 45%, rgba(13, 138, 57, 0.16), transparent 70%),
    radial-gradient(ellipse 40% 30% at 80% 60%, rgba(243, 115, 33, 0.1), transparent 70%);
  pointer-events: none;
}

.sc-gallery__track {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 0.85rem;
  max-width: 520px;
  margin: 0 auto;
}

.sc-gallery__item {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  transition: transform 0.35s ease;
}

.sc-gallery__item--1 { transform: translateY(6px); }
.sc-gallery__item--2 { transform: translateY(-4px); }
.sc-gallery__item--3 { transform: translateY(4px); }
.sc-gallery__item--4 { transform: translateY(-2px); }

.sc-gallery__phone {
  width: 100%;
  max-width: 168px;
  filter: drop-shadow(0 18px 36px rgba(15, 61, 20, 0.2));
}

.sc-gallery__bezel {
  padding: 9px 7px 11px;
  border-radius: 26px;
  background: linear-gradient(165deg, #334155 0%, #0f172a 55%, #1e293b 100%);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1) inset,
    0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.sc-gallery__speaker {
  width: 46px;
  height: 4px;
  margin: 0 auto 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.sc-gallery__screen {
  border-radius: 18px;
  overflow: hidden;
  background: #f4f6f3;
  aspect-ratio: 9 / 19.5;
  line-height: 0;
}

.sc-gallery__screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.sc-gallery__caption {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #166534;
  text-align: center;
}

@media (min-width: 576px) {
  .sc-gallery__track {
    max-width: none;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.65rem;
    align-items: end;
  }

  .sc-gallery__phone {
    max-width: 100%;
  }

  .sc-gallery__item--1 { transform: rotate(-4deg) translateY(14px); }
  .sc-gallery__item--2 { transform: translateY(-8px) scale(1.04); z-index: 2; }
  .sc-gallery__item--3 { transform: rotate(2deg) translateY(10px); z-index: 1; }
  .sc-gallery__item--4 { transform: rotate(5deg) translateY(16px); }

  .sc-gallery__item:hover {
    transform: translateY(-6px) scale(1.03);
    z-index: 4;
  }
}

@media (min-width: 992px) {
  .sc-gallery {
    padding: 0.5rem 0.25rem 0;
  }

  .sc-gallery__track {
    gap: 0.5rem;
  }

  .sc-gallery__item--1 { transform: rotate(-6deg) translateY(18px); }
  .sc-gallery__item--2 { transform: translateY(-12px) scale(1.06); }
  .sc-gallery__item--3 { transform: rotate(3deg) translateY(14px); }
  .sc-gallery__item--4 { transform: rotate(7deg) translateY(20px); }
}

@media (max-width: 575px) {
  .sc-gallery__item:hover {
    transform: translateY(-3px);
  }
}

.pg-ressources .res-collect-visual-wrap {
  border-radius: 24px;
  background: linear-gradient(155deg, #ecfdf5 0%, #f0fdf4 40%, #fff 100%);
  border: 1px solid rgba(22, 101, 52, 0.12);
  box-shadow: 0 20px 50px rgba(15, 61, 20, 0.1);
  overflow: hidden;
}

.pg-ressources .res-collect-visual-foot {
  padding: 1rem 1.25rem 1.25rem;
  text-align: center;
  border-top: 1px solid rgba(22, 101, 52, 0.08);
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(6px);
}

.pg-ressources .res-collect-visual-foot .sc-app-name {
  font-weight: 800;
  font-size: 1rem;
  color: #14532d;
  margin-bottom: 0.15rem;
}

.pg-ressources .res-collect-visual-foot .sc-app-meta {
  font-size: 0.82rem;
  color: #64748b;
  line-height: 1.45;
}

.pg-ressources .res-collect-visual-foot .sc-app-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 0.65rem;
}

.pg-ressources .sc-app-badge {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.28rem 0.6rem;
  border-radius: 999px;
  background: rgba(13, 138, 57, 0.1);
  color: #166534;
}

.pg-ressources .sc-app-badge--orange {
  background: rgba(243, 115, 33, 0.12);
  color: #c2410c;
}

.pg-ressources .res-collect-hero {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

@media (min-width: 992px) {
  .pg-ressources .res-collect-hero {
    grid-template-columns: 0.95fr 1.05fr;
    gap: 2.5rem;
  }
}
