/* ════════════════════════════════════════════════════════════════════════
🎨 header.css — Método Caracol v3.0
Estética institucional, responsiva, refinada e acessível com perfeição
═══════════════════════════════════════════════════════════════════════ */

/* 🎯 Container principal do cabeçalho */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
  padding: 4rem 2rem 3rem;
  background: linear-gradient(135deg, #0d0d0d, #1e1e1e);
  color: #ffffff;
  border-bottom: 4px solid #5f27cd;
  box-shadow: 0 4px 24px rgba(95, 39, 205, 0.3);
  position: relative;
}

/* 🌀 Bloco superior com logo e texto */
.hero-topo {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-texto {
  max-width: 540px;
}

/* 🔁 Mascote animado */
.mascote {
  width: 96px;
  height: 96px;
  animation: girar 16s linear infinite;
  border-radius: 50%;
  object-fit: contain;
  border: 2px solid #5f27cd;
  box-shadow: 0 0 12px rgba(95, 39, 205, 0.4);
}

@keyframes girar {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 🧠 Título e subtítulo */
.titulo-site {
  font-size: 2.75rem;
  font-weight: 700;
  font-family: 'Poppins', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
}

.subtitulo {
  font-size: 1.125rem;
  font-weight: 300;
  color: #cccccc;
  line-height: 1.6;
}

/* 👤 Bloco do autor */
.autor-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.foto-autor {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #10ac84;
  box-shadow: 0 0 8px #10ac8477;
}

.nome-autor {
  font-size: 1rem;
  font-weight: 600;
  color: #10ac84;
}

/* 📱 Responsividade refinada */
@media (max-width: 768px) {
  .titulo-site {
    font-size: 2rem;
  }

  .mascote {
    width: 72px;
    height: 72px;
  }

  .foto-autor {
    width: 72px;
    height: 72px;
  }

  .subtitulo {
    font-size: 1rem;
  }
}
