/* SynapseDev - cases e AgendaHub */
.cases {
  display: grid;
  gap: 1rem;
}

.case {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.25rem 1.3rem 1.35rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.case:hover {
  border-color: rgba(14, 124, 134, 0.28);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.case-tag {
  display: inline-block;
  width: fit-content;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-deep);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 0.28rem 0.6rem;
  margin-bottom: 0.75rem;
}

.case h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.case p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.96rem;
}

.case-result {
  margin-top: 0.85rem;
  color: var(--ink-soft) !important;
}

.case-cta {
  margin-top: auto;
  padding-top: 1rem;
  color: var(--accent-deep);
  font-weight: 700;
  font-size: 0.95rem;
}

.case-cta:hover {
  color: var(--ink);
}

.product {
  display: grid;
  gap: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 1.6rem 1.5rem;
  box-shadow: var(--shadow);
}

.product-tag {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 0.7rem;
}

.product-copy h2 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 0.8rem;
  max-width: 18ch;
}

.product-copy p {
  color: var(--ink-soft);
  line-height: 1.8;
  margin-bottom: 1.35rem;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.product-list {
  display: grid;
  gap: 0.7rem;
}

.product-list li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 1rem;
  font-weight: 600;
  color: var(--ink-soft);
  line-height: 1.4;
}

@media (min-width: 860px) {
  .cases {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: center;
    padding: 2rem 2.1rem;
    gap: 2rem;
  }
}

@media (min-width: 1400px) {
  .cases {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product {
    padding: 2.4rem 2.5rem;
    gap: 2.4rem;
  }
}

@media (max-width: 760px) {
  .product-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .product-actions .btn {
    width: 100%;
    min-height: 50px;
  }

  .product-copy h2 {
    max-width: none;
  }
}
