/* === Global === */
body {
  display: flex;
  flex-direction: column;
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  color: #333;
  min-height: 100vh;
}

/* === Header padrão === */
header {
  background-color: transparent;
  padding: 1.5rem 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 2rem;
  font-weight: bold;
}

.logo {
  text-decoration: none;
  color: #61DFE5;
  font-weight: bold;
  font-size: 2rem;
}

/* === Navbar === */
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

nav li {
  position: relative;
}

nav a {
  color: #333;
  text-decoration: none;
  padding: 0.5rem;
  font-size: 1rem;
}

nav ul ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  min-width: 180px;
  z-index: 999;
}

nav li:hover > ul {
  display: block;
}

nav ul ul li a {
  display: block;
  padding: 0.5rem 1rem;
  color: #00778B;
}

nav ul ul li a:hover {
  background-color: #f0f0f0;
}

nav li.dropdown-right > ul {
  left: auto;
  right: 0;
}

/* === Navbar especial === */
.privacy-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  flex-wrap: wrap;
  font-size: 1rem;
}

.privacy-header .nav-left,
.privacy-header .nav-center,
.privacy-header .nav-right {
  flex: 1;
  min-width: 120px;
  text-align: center;
  margin: 0.5rem 0;
}

.privacy-header .nav-left {
  text-align: left;
}

.privacy-header .nav-right {
  text-align: right;
  color: #333;
}

.privacy-header .nav-center a {
  color: #61DFE5;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.5rem;
}

.back-link,
.privacy-link {
  text-decoration: none;
  font-size: 1rem;
}

.back-link {
  color: #00778B;
}

.privacy-link {
  color: #333;
}

/* === Main e conteúdo === */
main, .container {
  padding: 2rem 1rem;
  max-width: 900px;
  margin: auto;
  flex: 1;
}

main h2,
.container h1 {
  color: #00778B;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-align: left;
}

.container h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

main p, .container p, ul li {
  line-height: 1.7;
  font-size: 1.1rem;
}

/* === Layout de screenshots === */
.screenshots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.screenshots img {
  width: 100%;
  max-width: 250px;
  border-radius: 8px;
}

/* === Play Store CTA === */
.play-store {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

/* === Footer === */
footer {
  background-color: #61DFE5;
  color: #000;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  margin-top: auto;
}

/* === Responsivo === */
@media (max-width: 768px) {
  header, nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav li {
    width: 100%;
    text-align: center;
  }

  .screenshots {
    flex-direction: column;
    align-items: center;
  }

  main h2 {
    font-size: 1.5rem;
  }

  .container h1 {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 0.95rem;
  }

  header {
    padding: 1rem;
    font-size: 1.5rem;
  }

  .privacy-header .nav-center a {
    font-size: 1.2rem;
  }

  main {
    padding: 1.5rem 1rem;
  }

  nav a {
    font-size: 0.95rem;
  }

  footer {
    font-size: 0.8rem;
  }
}
