* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: #f4f6fb;
  color: #111827;
  overflow-x: hidden;
}

.topo {
  height: 58px;
  background: white;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  position: sticky;
  top: 0;
  z-index: 10;
}

.logo {
  font-weight: bold;
  font-size: 18px;
}

nav {
  display: flex;
  gap: 22px;
}

nav a {
  color: #111827;
  text-decoration: none;
  font-size: 14px;
  padding: 8px 10px;
  border-radius: 8px;
}

nav a:hover,
nav a.ativo {
  background: #dff7ff;
  color: #00a6d6;
}

.hero {
  height: 230px;
  background: linear-gradient(135deg, #23384e, #19b6df);
  color: white;
  padding: 55px 25%;
  position: relative;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}

.hero::before {
  top: -80px;
  left: -70px;
}

.hero::after {
  right: -80px;
  bottom: -100px;
}

.voltar {
  position: relative;
  z-index: 2;
  color: white;
  text-decoration: none;
  font-size: 13px;
  opacity: 0.9;
}

.hero-conteudo {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 35px;
}

.hero-icone {
  width: 62px;
  height: 62px;
  border-radius: 15px;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}

.hero h1 {
  font-size: 34px;
  margin-bottom: 8px;
}

.hero p {
  font-size: 16px;
  opacity: 0.95;
}

.abas {
  max-width: 1000px;
  margin: 30px auto 0;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.aba {
  border: none;
  padding: 12px 16px;
  border-radius: 12px;
  background: white;
  color: #111827;
  font-weight: bold;
  box-shadow: 0 3px 12px rgba(0,0,0,0.08);
  cursor: pointer;
}

.aba:hover,
.aba.ativa {
  background: #19b6df;
  color: white;
}

.conteudo {
  max-width: 1000px;
  margin: 35px auto;
}

.pagina {
  display: none;
}

.pagina.ativa {
  display: block;
}

.aviso {
  padding: 16px 20px;
  border-radius: 10px;
  background: #eefcf6;
  border: 1px solid #b7ecd5;
  margin-bottom: 28px;
  font-size: 14px;
}

h2 {
  font-size: 28px;
  margin-bottom: 22px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 32px;
}

.card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  text-align: center;
}

.card h3 {
  margin-bottom: 8px;
}

.card p {
  font-weight: bold;
  margin-bottom: 4px;
}

.card span {
  font-size: 13px;
  color: #64748b;
}

.numero h3 {
  font-size: 32px;
  color: #19b6df;
}

.numero.vermelho h3 {
  color: #dc2f55;
}

.numero.verde h3 {
  color: #41c786;
}

.numero.amarelo h3 {
  color: #d99a00;
}

.numero.azul h3 {
  color: #189fd3;
}

.accordion {
  background: white;
  border-radius: 10px;
  border: 1px solid #d8dee9;
  margin-bottom: 16px;
  overflow: hidden;
}

.accordion-header {
  padding: 18px 22px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
}

.accordion-body {
  display: none;
  padding: 20px;
  background: #f8fafc;
}

.accordion.aberto .accordion-body {
  display: block;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.info-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
}

.info-card h3 {
  margin-bottom: 10px;
}

.info-card p {
  line-height: 1.5;
  margin-bottom: 10px;
}

.info-card small {
  color: #0891b2;
}

.box {
  background: white;
  padding: 28px;
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  margin-bottom: 30px;
}

.box h3 {
  margin-bottom: 18px;
}

.texto-intro {
  color: #475569;
  line-height: 1.6;
  margin: -10px 0 24px;
  max-width: 780px;
}

.azul-claro {
  background: #eefdff;
  border: 1px solid #b9ecf8;
}

.lista-dupla {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.lista-dupla p {
  line-height: 1.4;
}

ul {
  margin: 15px 0;
  padding-left: 22px;
}

li {
  margin-bottom: 8px;
}

.dica {
  margin-top: 18px;
  padding: 12px;
  background: #e0f7ff;
  border: 1px solid #9de3f5;
  border-radius: 10px;
  font-size: 14px;
}

.idiomas .info-card {
  border-top: 4px solid #19b6df;
}

.manual-box {
  margin-top: 24px;
}

.link-manual {
  display: inline-block;
  margin-top: 14px;
  padding: 12px 18px;
  border-radius: 10px;
  background: #19b6df;
  color: white;
  font-weight: bold;
  text-decoration: none;
}

.language-switcher {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 20;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  max-width: 330px;
  padding: 8px;
  border: 1px solid #d8dee9;
  border-radius: 14px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 10px 26px rgba(0,0,0,0.16);
  backdrop-filter: blur(10px);
}

.language-switcher button {
  border: 0;
  padding: 8px 10px;
  border-radius: 9px;
  background: #eef6fb;
  color: #0878a8;
  font-size: 12px;
  font-weight: bold;
  cursor: pointer;
}

.language-switcher button.ativo {
  background: #19b6df;
  color: white;
}

.passos {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.passos div {
  background: #eef9ff;
  color: #0878a8;
  padding: 18px;
  border-radius: 12px;
  font-weight: bold;
  text-align: center;
}

@media (max-width: 1100px) {
  .topo {
    padding: 0 5%;
  }

  .hero {
    padding: 50px 8%;
  }

  .conteudo,
  .abas {
    max-width: 90%;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-3 {
    grid-template-columns: 1fr;
  }

  .passos {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .topo {
    height: auto;
    min-height: 56px;
    padding: 12px 16px;
  }

  .logo {
    font-size: 16px;
  }

  nav {
    display: none;
  }

  .hero {
    height: auto;
    min-height: 190px;
    padding: 28px 18px;
  }

  .hero-conteudo {
    align-items: flex-start;
    gap: 12px;
    margin-top: 24px;
  }

  .hero-icone {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 24px;
  }

  .hero h1 {
    font-size: 26px;
    line-height: 1.15;
  }

  .hero p {
    font-size: 14px;
    line-height: 1.45;
  }

  .abas {
    max-width: none;
    margin: 16px 0 0;
    padding: 0 16px 6px;
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
  }

  .aba {
    flex: 0 0 auto;
    scroll-snap-align: start;
    padding: 10px 13px;
    border-radius: 10px;
    font-size: 13px;
    white-space: nowrap;
  }

  .conteudo {
    max-width: none;
    margin: 22px 16px 96px;
  }

  .cards,
  .grid-2,
  .grid-3,
  .lista-dupla,
  .passos {
    grid-template-columns: 1fr;
  }

  .card,
  .box,
  .info-card {
    padding: 18px;
    border-radius: 12px;
  }

  .cards {
    gap: 12px;
  }

  .accordion-header {
    padding: 15px 16px;
    gap: 12px;
    font-size: 15px;
  }

  .accordion-body {
    padding: 16px;
  }

  h2 {
    font-size: 23px;
    line-height: 1.2;
  }

  .language-switcher {
    left: 10px;
    right: 10px;
    bottom: 10px;
    justify-content: center;
    max-width: none;
  }

  .language-switcher button {
    flex: 1 1 auto;
    min-width: 68px;
  }
}
