* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  min-height: 100vh;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: #f0f2f5;
  color: #1e293b;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container centralizado com largura idêntica à referência (585px) */
.gov-container {
  width: 100%;
  max-width: 585px;
  background-color: #f0f2f5;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.04);
}

/* ==========================================================
   CABEÇALHO GOV.BR
   ========================================================== */
.gov-header {
  height: 52px;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  border-bottom: 1px solid #f1f3f5;
}

.gov-logo-box {
  display: flex;
  align-items: center;
}

.gov-logo-img {
  height: 24px;
  width: auto;
  display: block;
}

.gov-btn-entrar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: #1351b4;
  color: #ffffff;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 9999px;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.gov-btn-entrar:hover {
  background-color: #0f4094;
  transform: translateY(-1px);
}

.gov-user-icon {
  width: 15px;
  height: 15px;
}

/* ==========================================================
   BANNER DESENROLA BRASIL
   ========================================================== */
.gov-banner-wrapper {
  width: 100%;
  line-height: 0;
  background-color: #ffffff;
}

.gov-banner-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ==========================================================
   CONTEÚDO PRINCIPAL (CARD BRANCO)
   ========================================================== */
.gov-main-content {
  flex: 1;
  padding: 16px 12px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.gov-card {
  width: 100%;
  background-color: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  padding: 32px 24px 28px;
  text-align: center;
}

.gov-card-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.gov-card-logo img {
  width: 125px;
  height: auto;
  display: block;
}

.gov-card-title {
  color: #1351b4;
  font-size: 16.5px;
  font-weight: 800;
  line-height: 1.38;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}

.gov-card-subtitle {
  color: #556275;
  font-size: 14px;
  line-height: 1.45;
  margin-bottom: 24px;
  font-weight: 400;
}

.gov-card-action {
  display: flex;
  justify-content: center;
}

.gov-btn-acessar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #1351b4;
  color: #ffffff;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 14px 44px;
  border-radius: 9999px;
  box-shadow: 0 4px 16px rgba(19, 81, 180, 0.35);
  transition: background-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.gov-btn-acessar:hover {
  background-color: #0f4094;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(19, 81, 180, 0.45);
}

.gov-btn-acessar:active {
  transform: translateY(0);
}

/* ==========================================================
   RODAPÉ GOV.BR
   ========================================================== */
.gov-footer {
  background-color: #0a2542;
  padding: 22px 16px 20px;
  text-align: center;
  margin-top: auto;
}

.gov-footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}

.gov-footer-logo img {
  height: 22px;
  width: auto;
  display: block;
}

.gov-footer-text {
  color: #cbd5e1;
  font-size: 12px;
  line-height: 1.4;
  margin: 0;
  font-weight: 400;
}

/* ==========================================================
   RESPONSIVIDADE (MOBILE)
   ========================================================== */
@media (max-width: 600px) {
  .gov-container {
    max-width: 100%;
    box-shadow: none;
  }
  .gov-main-content {
    padding: 12px 10px 24px;
  }
  .gov-card {
    padding: 24px 16px 22px;
    border-radius: 14px;
  }
  .gov-card-title {
    font-size: 15.5px;
  }
  .br-desktop {
    display: none;
  }
  .gov-btn-acessar {
    width: 100%;
    padding: 13px 20px;
  }
}
