/* ===================================================
   CICLO ABUNDÂNCIA - IPHONE MOCKUP
   =================================================== */

.ciclo-iphone-col {
  position: -webkit-sticky;
  position: sticky;
  top: 15vh; 
  width: 320px;
  z-index: 10;
  transition: opacity 0.3s ease;
  align-self: flex-start;
  display: block;
}

.ciclo-iphone {
  width: 320px;
  height: 660px;
  background: #000;
  border-radius: 28px;
  padding: 7px;
  box-shadow:
    0 0 0 1.5px #243345,
    0 0 0 4px #1a2533,
    0 30px 60px rgba(0, 0, 0, 0.9),
    0 0 30px rgba(30, 41, 59, 0.5),
    inset 0 0 2px rgba(255, 255, 255, 0.15);
  position: relative;
  border: 1.5px solid #2e3d4e;
  overflow: hidden;
}

/* StatusBar */
.iphone-status-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 41px;
  background: #000;
  padding: 7px 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  border-radius: 0;
  overflow: hidden;
}

.status-center {
  flex: 1;
}

.status-left {
  z-index: 101;
  padding-top: 4px;
}

.status-right {
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 101;
  padding-top: 4px;
}

.status-signal {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}

.signal-bar {
  width: 3px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 1px;
}

.signal-bar.bar1 { height: 4px; background: #fff; }
.signal-bar.bar2 { height: 6px; background: #fff; }
.signal-bar.bar3 { height: 8px; background: #fff; }
.signal-bar.bar4 { height: 10px; background: #fff; }

.status-battery {
  display: flex;
  align-items: center;
  gap: 4px;
}

.battery-pct {
  font-size: 11px;
  opacity: 0.9;
}

.battery-icon {
  width: 22px;
  height: 11px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 3px;
  position: relative;
  padding: 1px;
}

.battery-icon::after {
  content: '';
  position: absolute;
  right: -3px;
  top: 3px;
  width: 2px;
  height: 4px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 0 1px 1px 0;
}

.battery-level {
  height: 100%;
  background: #fff;
  border-radius: 1px;
}

/* Bottom Bar */
.iphone-bottom-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 32px;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 7px;
  z-index: 100;
  border-radius: 0;
}

/* Home Indicator 3D */
.home-indicator {
  width: 120px;
  height: 5px;
  background: linear-gradient(180deg, #3d3d3d 0%, #1a1a1a 100%);
  border-radius: 10px;
  box-shadow:
    inset 0 1px 1px rgba(255, 255, 255, 0.1),
    0 1px 2px rgba(0, 0, 0, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ciclo-iphone-screen {
  width: 100%;
  height: 100%;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  background: #000;
}

.ciclo-iphone-step-images,
.ciclo-iphone-report-container {
  padding-top: 34px;
  padding-bottom: 25px;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background: #f5f5f5;
}

.ciclo-iphone-step-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.ciclo-iphone-step-images img.active {
  opacity: 1;
}

.ciclo-iphone-report-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 50; /* Aumentado para garantir que cliques cheguem ao scroll */
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: none;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* IE and Edge */
}

.ciclo-iphone-report-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

.ciclo-iphone-report-container.visible {
  display: block;
}

.ciclo-report-img {
  width: 100%;
  height: auto;
  display: block;
  min-height: 101%; /* Garante que sempre haja algo para rolar */
}