/* Layout geral: header fixo (logo + botão "Entrar"), botão flutuante de WhatsApp e footer.
   Responsivo (regra do CLAUDE.md): testado também em largura de celular (~400px). */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 20px;
  background: var(--cor-superficie);
  border-bottom: 1px solid var(--cor-borda);
}

.site-logo {
  font-weight: 700;
  font-size: 1.1rem;
  white-space: nowrap;
}

.btn-entrar {
  flex: 0 0 auto;
  padding: 8px 18px;
  border-radius: 999px;
  background: var(--cor-primaria);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}

.btn-entrar:hover {
  opacity: 0.9;
}

.site-footer {
  padding: 24px 20px;
  text-align: center;
  color: var(--cor-texto-suave);
  font-size: 0.85rem;
  border-top: 1px solid var(--cor-borda);
  margin-top: 40px;
}

/* Botão flutuante de WhatsApp, fixo no canto inferior direito em qualquer largura de tela. */
.btn-whatsapp-flutuante {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cor-whatsapp);
  color: #fff;
  font-size: 1.6rem;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.2);
}

.btn-whatsapp-flutuante:hover {
  filter: brightness(1.05);
}

@media (max-width: 480px) {
  .site-header {
    padding: 10px 16px;
  }

  .btn-whatsapp-flutuante {
    right: 16px;
    bottom: 16px;
    width: 50px;
    height: 50px;
  }
}
