/* ================================
   CASES
   ================================ */
.lab-cases-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 48px;
}

.lab-case-full {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 32px 0;
  border-bottom: 2px solid var(--text);
  transition: none;
  cursor: default;
  text-align: center;
}

.lab-case-full:hover { transform: none; box-shadow: none; }

/* Cases Split Layout */
.cases-split {
  display: flex;
  gap: 0;
  padding-top:120px;
}

.cases-left { flex: 0 0 55%; }
.cases-left .lab-cases-list { margin-top: 0; }

.cases-divider {
  width: 1px;
  background: #e4e4e7;
  margin: 0 32px;
  flex-shrink: 0;
}

.cases-right {
  flex: 1;
  position: relative;
}

.cases-preview {
  position: sticky;
  top: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 500px;
}

.cases-preview-item {
  display: none;
  width: 100%;
  animation: fadeInPreview 0.4s ease;
}
.cases-preview-item.active { display: flex; align-items: center; justify-content: center; }

@keyframes fadeInPreview {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Preview Phone (inline na seção) */
.preview-phone {
  width: 280px;
  height: 560px;
  background: #000;
  border-radius: 40px;
  border: 4px solid #333;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  position: relative;
}

.preview-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 24px;
  background: #000;
  border-radius: 0 0 16px 16px;
  z-index: 10;
}

.preview-phone .checkin-app { height: 100%; }
.preview-phone .checkin-header { padding: 36px 16px 10px; }
.preview-phone .checkin-stats { padding: 12px 16px; }
.preview-phone .checkin-stat { padding: 10px 6px; }
.preview-phone .checkin-stat-num { font-size: 1.1rem; }
.preview-phone .checkin-camera { margin: 0 16px 16px; }

/* Preview Placeholder */
.preview-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 280px;
  height: 560px;
  background: #f8fafc;
  border: 2px dashed #e4e4e7;
  border-radius: 40px;
}
.preview-icon { font-size: 3rem; }
.preview-placeholder p { color: #a1a1aa; font-size: 0.9rem; font-weight: 600; }

/* Case Category & Tags */
.lab-case-category {
  display: block;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.1;
}

.lab-case-full .lab-case-tag { margin-bottom: 12px; }
.lab-case-full h3 {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 12px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.lab-case-full p { font-size: 1rem; color: var(--text-dim); line-height: 1.7; margin-bottom: 20px; }

.lab-case-result { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

.lab-case-result span {
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 16px;
  background: var(--bg);
  border: 1px solid #E4E4E7;
  border-radius: 999px;
  color: var(--text);
}

.lab-case-cta {
  display: block;
  margin-top: 16px;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  transition: gap 0.2s ease;
}
.lab-case-cta:hover { text-decoration: underline; }

.lab-case-date {
  display: block;
  margin-top: 12px;
  font-size: 0.75rem;
  color: #A1A1AA;
  font-weight: 600;
}

.lab-case-more {
  padding: 48px 0;
  text-align: center;
}

.lab-case-more h3 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 16px;
}

.lab-case-more p {
  font-size: 1rem;
  color: var(--text-dim);
}

.lab-case-more a {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}

.lab-case-more a:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .cases-split { flex-direction: column; }
  .cases-left { flex: none; }
  .cases-divider { display: none; }
  .cases-right { display: none; }
  .lab-case-full.case-active { border-left: none; padding-left: 0; }
}
