/* Paginas intermediarias de projetos */

.project-page {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem 3rem;
}

.project-sheet {
  --pc-color: #5eead4;
  width: 100%;
  max-width: 560px;
  padding: 2rem 1.75rem 1.85rem;
  border-radius: 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.045);
  position: relative;
  overflow: hidden;
  animation: project-in 0.55s cubic-bezier(0.4, 0, 0.2, 1) both;
}

.project-sheet::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: radial-gradient(ellipse at 0% 0%, var(--pc-color), transparent 55%);
  opacity: 0.12;
  pointer-events: none;
}

.project-sheet-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.project-sheet .project-icon {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: color-mix(in srgb, var(--pc-color) 14%, transparent);
  border: 1px solid color-mix(in srgb, var(--pc-color) 32%, transparent);
  padding: 11px;
}

.project-sheet .project-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--pc-color);
}

.project-kicker {
  margin: 0 0 0.25rem;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--w3-muted);
  font-weight: 500;
}

.project-sheet-title {
  margin: 0;
  font-size: clamp(1.45rem, 4vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--w3-text);
}

.project-sheet-body {
  position: relative;
  z-index: 1;
}

.project-sheet-body p {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--w3-muted);
  font-weight: 300;
}

.project-sheet-body p:last-of-type {
  margin-bottom: 1.5rem;
}

.project-sheet-body strong {
  color: var(--w3-text);
  font-weight: 500;
}

.project-sheet-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.project-go {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.75rem 1.25rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  color: #0c0a15;
  background: var(--pc-color);
  box-shadow: 0 8px 28px color-mix(in srgb, var(--pc-color) 35%, transparent);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.project-go:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 12px 32px color-mix(in srgb, var(--pc-color) 45%, transparent);
}

.project-back {
  font-size: 0.82rem;
  color: var(--w3-muted);
  text-decoration: none;
  padding: 0.5rem 0.35rem;
  transition: color 0.2s;
}

.project-back:hover {
  color: var(--w3-text);
}

@keyframes project-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .project-sheet {
    padding: 1.5rem 1.25rem 1.4rem;
  }

  .project-sheet-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .project-go {
    justify-content: center;
  }

  .project-back {
    text-align: center;
  }
}
