:root {
  --bg: #ffffff;
  --fg: #0f172a;
  --muted: #64748b;
  --primary: #034af0;
  --card: #f8fafc;
  --border: #e2e8f0;
}
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.65;
  user-select: none;
}

main {
  max-width: 960px;
  margin: 24px auto;
  padding: 0 16px 42px;
}

main h1 {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 8px;
  font-size: clamp(26px, 4vw, 18px);
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin: 16px 0;
}

h2 {
  margin-top: 12px;
  font-size: 22px;
}
h3 {
  margin-top: 10px;
  font-size: 18px;
}
a {
  color: var(--primary);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

ul {
  padding-left: 0px;
}

ul li {
  list-style-type: none;
}
.muted {
  color: var(--muted);
}

footer {
  border-top: 1px solid var(--border);
  padding: 22px 16px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}

.menu-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  text-align: center;
  width: 100%;
  height: 150px;
  color: rgb(51, 51, 51);
  background: linear-gradient(to bottom, #5e95d6, #ffffff 95%, transparent);
}

.menu-header img {
  width: 150px;
  height: 80px;
}

.menu-header a {
  font-size: 18px;
  color: rgb(51, 51, 51);
}

.menu {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 300px;
}

.badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 200px;
  background: #e0f2fe;
  color: #075985;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  margin: 10px auto;
}

.card img {
  width: 150px;
  height: 100%;
}

.top-link {
  position: fixed;
  right: 16px;
  bottom: 16px;
  background: #e2f6ff;
  color: #075985;
  border: 1px solid #bae6fd;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.15);
}

.dropdown {
  display: inline-block;
}

.dropdown-title {
  font-size: 18px;
  cursor: pointer;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #fff;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
  padding: 10px 20px;
  z-index: 1;
  border-radius: 5px;
  width: content;
}

.dropdown:hover .dropdown-content {
  display: block;
}

.dropdown-content ol {
  list-style-type: none;
  padding-left: 20px;
  margin: 0;
}

.dropdown-content li {
  margin-bottom: 8px;
}

.dropdown-content li:hover {
  background-color: #034af0;
}

.dropdown-content a {
  text-decoration: none;
  color: #333;
}

.dropdown-content a:hover {
  color: #fff;
}

.canal-contatos {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  width: 160px;
}

.icon-circle i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 20px;
  margin-bottom: 10px;
  color: rgb(51, 51, 51);
  transition: ease-in-out 0.2s;
  background-color: #e2ecf8;
}

.icon-circle i:hover {
  color: #0059ff;
}

.canal-contatos a {
  text-decoration: none;
}

@media screen and (max-width: 1080px) {
  body h2 {
    text-align: center;
  }

  section {
    text-align: justify;
  }

  section h2 {
    text-align: center;
  }

  .menu-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 10px 0;
  }

  .menu {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    width: 100%;
  }

  .card img {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px auto;
  }
  .canal-contatos {
    margin: auto;
  }
}
