/* ===== Reset básico ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== Body centralizado ===== */
body {
  font-family: 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #f0f4f8, #e3f2fd);
  min-height: 100vh;
  padding-top: 60px; /* Espaço para o header fixo */
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* ===== Header fixo ===== */
header {
  background-color: #070707;
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

/* ===== Logo no header ===== */
.logo {
  display: flex;
  align-items: center;
  overflow: hidden;
}
.logo img {
  height: 40px;
  object-fit: contain;
  display: block;
}

/* ===== Nav no header ===== */
nav {
  display: flex;
  gap: 20px;
}
nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  padding: 8px;
  border-radius: 4px;
  transition: background-color 0.3s ease;
}
nav a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}
nav a.active {
  border-bottom: 2px solid #e0f7fa;
}
button:active {
  transform: translateY(1px);
}

/* ===== Menu hamburguer ===== */
.menu-btn {
  background: none;
  border: none;
  color: white;
  font-size: 24px;
  cursor: pointer;
  display: block;
}

/* ===== Menu dropdown ===== */
.menu {
  position: absolute;
  top: 60px;
  right: 20px;
  background-color: #070707;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.menu.hidden {
  display: none;
}
.menu a {
  color: white;
  text-decoration: none;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background-color 0.3s;
}
.menu a:last-child {
  border-bottom: none;
}
.menu a:hover,
.menu a.active {
  background-color: rgba(255, 255, 255, 0.1);
}

/* ===== Container ===== */
.container {
  background-color: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  max-width: 600px;
  width: 100%;
  margin-top: 20px;
  text-align: center;
}

/* ===== Títulos ===== */
h1 {
  color: #2c3e50;
  margin-bottom: 30px;
}
h2 {
  color: #34495e;
  margin-bottom: 15px;
}

/* ===== Seções ===== */
.total-section,
.tipos-section {
  margin-bottom: 30px;
}

/* ===== Círculo principal ===== */
.circle-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.circle {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: conic-gradient(#3498db 100%, #dcdcdc 0);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.circle span {
  color: #fff;
}
#totalPessoas {
  margin-top: 10px;
  font-size: 18px;
  color: #2c3e50;
}

/* ===== Tipos de ingressos ===== */
.tipos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
}
.tipo-card {
  background-color: #ecf0f1;
  border-radius: 8px;
  padding: 15px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}
.tipo-card h3 {
  font-size: 16px;
  color: #2c3e50;
}
.tipo-card p {
  font-size: 14px;
  color: #555;
}
