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

body {
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #f2f2f2;
  color: #333;
  line-height: 1.6;
}

/* Header geral */
header.site-header {
  background: linear-gradient(90deg, #ff416c, #ff4b2b);
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Navbar */
nav {
  background: #333;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.2rem;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
}

.nav-links li {
  position: relative;
}

.nav-links a {
  display: block;
  padding: 15px 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.95rem;
}

.nav-links a:hover {
  color: #ffb347;
  transform: scale(1.05);
}

/* Submenu */
.submenu > a i {
  margin-left: 4px;
  font-size: 0.8rem;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #444;
  list-style: none;
  min-width: 200px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  z-index: 1500;
}

.dropdown li a {
  padding: 10px 15px;
  white-space: nowrap;
  font-weight: 500;
}

.dropdown li a:hover {
  background: #ff416c;
}

.submenu:hover .dropdown {
  display: block;
}

/* Hamburger (mobile) */
.hamburger {
  display: none;
  font-size: 1.8rem;
  color: #fff;
  cursor: pointer;
}

/* Seções principais */
.section {
  max-width: 1000px;
  margin: 30px auto;
  background: #fff;
  padding: 35px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.section h1,
.section h2 {
  color: #ff416c;
  margin-bottom: 15px;
}

.section h3 {
  color: #ff4b2b;
  margin-top: 20px;
  margin-bottom: 10px;
}

.section ul {
  margin: 10px 0 20px 20px;
}

.section li {
  margin-bottom: 8px;
}

/* Cards */
.card {
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  margin: 15px 0;
}

/* Galeria */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* Tabelas */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 15px;
}

table th,
table td {
  border: 1px solid #ddd;
  padding: 8px 10px;
  text-align: center;
}

table th {
  background: #ff416c;
  color: #fff;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: #111;
  color: #fff;
  margin-top: 40px;
}

/* Responsivo */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    background: #333;
  }

  .nav-links.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }

  .section {
    margin: 20px 10px;
    padding: 25px 15px;
  }
}
