﻿.momentos-icers-section {
  box-sizing: border-box;
  clear: both;
  overflow: hidden;
  position: relative;
  width: 100%;
  background:
    radial-gradient(circle at 18% 12%, rgba(143, 124, 255, 0.2), transparent 26rem),
    linear-gradient(135deg, #0e1a2b 0%, #171f3c 48%, #21185a 100%);
  color: #ffffff;
  padding: clamp(34px, 4vw, 50px) 18px;
}

.momentos-icers-section * {
  box-sizing: border-box;
}

.momentos-icers-container {
  margin: 0 auto;
  max-width: min(1180px, calc(100vw - 36px));
}

.momentos-icers-header {
  margin: 0 auto 22px;
  max-width: 720px;
  text-align: center;
}

.momentos-icers-kicker {
  color: #8f7cff;
  display: block;
  font-size: 0.78rem;
  font-weight: 800;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.momentos-icers-header h2 {
  color: #ffffff !important;
  font-size: clamp(1.95rem, 3.2vw, 2.8rem);
  font-weight: 800;
  margin: 0;
}

.momentos-icers-header p {
  color: #d8dcf0;
  font-size: 1.05rem;
  margin: 12px 0 0;
}

.momentos-icers-grid {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.momento-icers-card {
  aspect-ratio: 16 / 9;
  border-radius: 0;
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.22);
  isolation: isolate;
  margin: 0;
  overflow: hidden;
  position: relative;
}

.momento-icers-card img {
  border-radius: 0;
  display: block;
  height: 100%;
  object-fit: cover;
  transform: scale(1.01);
  transition: transform 0.35s ease, filter 0.35s ease;
  width: 100%;
}

.momento-icers-overlay {
  align-content: end;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.32) 0%, rgba(0, 0, 0, 0.58) 100%),
    rgba(0, 0, 0, 0.48);
  display: grid;
  gap: 14px;
  inset: 0;
  opacity: 0;
  padding: 22px;
  position: absolute;
  transition: opacity 0.28s ease;
}

.momento-icers-card:hover img {
  filter: saturate(1.08);
  transform: scale(1.07);
}

.momento-icers-card:hover .momento-icers-overlay,
.momento-icers-card:focus-within .momento-icers-overlay {
  opacity: 1;
}

.momento-icers-overlay h3 {
  color: #ffffff;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 6px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.55);
}

.momento-icers-card:hover .momento-icers-overlay h3,
.momento-icers-card:focus-within .momento-icers-overlay h3 {
  color: #ffffff !important;
}

.momento-icers-overlay time {
  color: #cfc7ff;
  font-size: 0.92rem;
  font-weight: 700;
}

.momento-icers-action,
.momentos-icers-instagram,
.momentos-icers-empty a {
  align-items: center;
  background: #4b2eff;
  border: 0;
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 42px;
  padding: 10px 18px;
  text-decoration: none;
}

.momento-icers-action:hover,
.momentos-icers-instagram:hover,
.momentos-icers-empty a:hover {
  background: #8f7cff;
  color: #ffffff;
}

.momentos-icers-footer {
  margin-top: 22px;
  text-align: center;
}

.momentos-icers-empty {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  margin: 0 auto;
  max-width: 720px;
  padding: clamp(24px, 4vw, 40px);
  text-align: center;
}

.momentos-icers-empty-icon {
  font-size: 2.6rem;
  line-height: 1;
  margin-bottom: 16px;
}

.momentos-icers-empty h3 {
  color: #ffffff !important;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  margin: 0 0 10px;
}

.momentos-icers-empty p {
  color: #d8dcf0;
  margin: 0 auto 20px;
  max-width: 580px;
}

.momentos-icers-empty small {
  color: #cfc7ff;
  display: block;
  font-weight: 700;
  margin-top: 18px;
}

.momentos-icers-modal {
  align-items: center;
  background: rgba(6, 10, 18, 0.86);
  display: none;
  inset: 0;
  justify-items: center;
  padding: 24px;
  position: fixed;
  z-index: 9999;
}

.momentos-icers-modal.is-open {
  display: grid;
}

.momentos-icers-modal img {
  border-radius: 16px;
  max-height: min(78vh, 860px);
  max-width: min(92vw, 980px);
  object-fit: contain;
}

.momentos-icers-modal strong {
  color: #ffffff;
  display: block;
  margin-top: 14px;
  text-align: center;
}

.momentos-icers-modal-close {
  background: #ffffff;
  border: 0;
  border-radius: 999px;
  color: #0e1a2b;
  font-size: 28px;
  height: 44px;
  line-height: 1;
  position: fixed;
  right: 22px;
  top: 22px;
  width: 44px;
}

@media (max-width: 900px) {
  .momentos-icers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 580px) {
  .momentos-icers-grid {
    grid-template-columns: 1fr;
  }

  .momento-icers-overlay {
    opacity: 1;
  }
}


