/* ===== HOME ===== */
.home-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 70px);
  padding: 4rem 2rem;
  text-align: center;
  gap: 1.5rem;
}

/* Foto de perfil */
.perfil-foto {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent);
  box-shadow: 0 8px 32px rgba(251, 172, 53, 0.25);
  animation: fadeDown 0.8s ease both;
}

/* Nome */
.home-nome {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  animation: fadeDown 0.8s 0.15s ease both;
}

/* Descrição / cargo */
.home-cargo {
  font-size: 1.15rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  animation: fadeDown 0.8s 0.3s ease both;
}

/* Link Instagram */
.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  padding: 0.65rem 1.5rem;
  border: 2px solid var(--accent);
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text);
  transition: background-color 0.2s ease, color 0.2s ease;
  animation: fadeDown 0.8s 0.45s ease both;
}

.instagram-link:hover {
  background-color: var(--accent);
  color: var(--bg);
}

.instagram-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Linha decorativa */
.home-divider {
  width: 60px;
  height: 3px;
  background: var(--accent);
  border-radius: 2px;
  animation: fadeDown 0.8s 0.1s ease both;
}

/* Animações */
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== CRITTER ===== */
.critter-wrapper {
  display: flex;
  justify-content: center;
  padding: 2rem 0 1rem;
}

.critter-container {
  width: 200px;
  height: 200px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.critter-img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  display: block;
  transition: transform 0.05s ease;
  will-change: transform;
}

.critter-img.wiggling {
  animation: wiggle 0.5s ease;
}

@keyframes wiggle {
  0%   { transform: translate(0, 0) rotate(0deg); }
  10%  { transform: translate(-4px, -2px) rotate(-3deg); }
  20%  { transform: translate(4px, 2px) rotate(3deg); }
  30%  { transform: translate(-4px, 2px) rotate(-2deg); }
  40%  { transform: translate(4px, -2px) rotate(2deg); }
  50%  { transform: translate(-3px, -1px) rotate(-1deg); }
  60%  { transform: translate(3px, 1px) rotate(1deg); }
  70%  { transform: translate(-2px, 2px) rotate(-1deg); }
  80%  { transform: translate(2px, -1px) rotate(0deg); }
  90%  { transform: translate(-1px, 1px) rotate(0deg); }
  100% { transform: translate(0, 0) rotate(0deg); }
}

@media (max-width: 480px) {
  .home-nome {
    font-size: 2rem;
  }

  .perfil-foto {
    width: 140px;
    height: 140px;
  }
}
