html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Nunito', sans-serif;
  color: #333;
  background-color: #fff;
  line-height: 1.6;
}

/*TOPO VERDE COM OS ÍCONES SOCIAIS*/
.topbar {
  background-color: #37AF8F;
  color: #ffffff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 10px;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: 'Nunito', sans-serif;
}

.topbar-left .nome-associacao {
  letter-spacing: 0.5px;
  margin-left: 40px;
}

.topbar-right {
  display: flex;
  gap: 15px;
  align-items: center;
}


.topbar-right a {
  color: #ffffff;
  margin-left: 2px;
  font-size: 1rem;
  transition: 0.3s ease;
  text-decoration: none;
}

.topbar-right a:hover {
  color: #DFF3E3;
  transform: scale(1.1);
}

/*CABEÇALHO*/
header {
  height: 110px;
  background-color: #ffffff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 95%;
  margin: auto;
  padding: 15px 0;
}

header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

header .logo img {
  height: 80px; 
  object-fit: contain;
}

header nav ul {
  list-style: none;
  font-size: 1.3rem;
  display: flex;
  gap: 90px;
  margin: 0;
  padding: 0;
}

header nav ul li a {
  text-decoration: none;
  color: #353D3F;
  font-weight: 600;
  transition: color 0.3s, transform 0.3s;
}

header nav ul li a:hover {
  color: #37AF8F; /* cor de destaque ao passar o mouse */
  transform: scale(1.1);
}

section {
  padding: 20px 0;
  text-align: left;
  background-color: #f0f0f0;
}

/*LOGIN*/
.container {
  max-width:450px;
  margin: 60px auto;
  background: #FFFFFF;
  padding: 35px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/*TÍTULO*/
.container h1 {
  text-align: center;
  color: #37AF8F;
  margin-bottom: 20px;
}

/*ABAS*/
.tabs {
  display: flex;
  margin-bottom: 20px;
}

.tab {
  flex: 1;
  text-align: center;
  padding: 10px;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid #CCCCCC;
  transition: 0.3s;
}

.tab:hover {
  color: #37AF8F;
}

.tab.active {
  border-bottom: 3px solid #37AF8F;
}


/*MENSAGEM DE ERRO*/
.erro {
  background-color: #FFE5E5;
  color: #C0392B;
  padding: 8px;
  border-radius: 5px;
  margin-bottom: 10px;
  display: none;
  font-size: 0.85rem;
}

/*FORMULÁRIOS*/
.form {
  display: none;
}

.form.active {
  display: block;
}

/*GRUPO INPUT (SENHA)*/
.input-group {
  position: relative;
  margin-bottom: 12px;
}

/*CAMPOS*/
input, select {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 6px;
  border: 1px solid #CCCCCC;
  font-size: 0.95rem;
  transition: border 0.3s;
}

input:focus, select:focus {
  border-color: #37AF8F;
  outline: none;
}

/*PLACEHOLDER*/
input::placeholder {
  color: #999999;
}

/*ÍCONE MOSTRAR SENHA*/
.toggle-senha {
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  color: #666666;
  transition: 0.3s;
}

.toggle-senha:hover {
  color: #37AF8F;
}

/*TÍTULOS INTERNOS CADASTRO*/
.form h2 {
  margin: 15px 0 10px;
  color: #1D89AA;
  font-size: 1rem;
}

/*BOTÕES*/
button {
  width: 100%;
  padding: 10px;
  background-color: #37AF8F;
  color: #FFFFFF;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s;
  margin-top: 5px;
}

button:hover {
  background-color: #1D99AA;
  transform: translateY(-1px);
}

/*RODAPE*/
footer {
    background-color: #1D89AA;
    color: #ffffff;
    padding: 25px 0 10px 0;
    width: 100%;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    max-width: 1700px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-left {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 25px;
    min-width: 250px;
}

.footer-logo {
    width: 200px;
    height: auto;
    margin-top: 10px;
}

.footer-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-menu ul li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s;
}

.footer-menu ul li a:hover {
    color: #37AF8F;
}


.footer-center {
    flex: 1;
    min-width: 250px;
    margin-left: 30px;
}

.footer-center h3 {
    color: #37AF8F;
    font-size: 18px;
    margin-bottom: 8px;
}

.footer-center p {
    margin: 4px 0;
    font-size: 16px;
    line-height: 1.4;
}

.footer-right {
    flex: 1;
    min-width: 250px;
}

.footer-right h3 {
    color: #37AF8F;
    font-size: 17px;
    margin-bottom: 8px;
}

.footer-right p {
    margin: 4px 0;
    font-size: 14px;
}

.social-icon {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.social-icon a img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    transition: transform 0.3s, filter 0.3s;
}

.social-icon a img:hover {
    transform: scale(1.1);
    filter: brightness(0) invert(0.7) sepia(1) hue-rotate(20deg) saturate(5);
}

.footer-bottom {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

.footer-bottom p {
    margin: 0;
}

.footer-bottom a {
    color: #1D89AA;
    text-decoration: none;
    font-weight: 600;
}

.footer-bottom a:hover {
    color: #1D99AA;
}

.esqueci-senha {
    text-align: left;
    margin-top: 8px;
    margin-bottom: 15px;
}

.esqueci-senha a {
    font-size: 13px;
    color: #3aa389; /* mesmo tom do botão */
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s ease;
}

.esqueci-senha a:hover {
    color: #2c7a66;
    text-decoration: underline;
}

.mensagem {
    display: none;
    margin-bottom: 15px;
    padding: 10px;
    border-radius: 6px;
    font-size: 0.9rem;
}

.mensagem.sucesso {
    background-color: #E6F9F2;
    color: #2c7a66;
    border: 1px solid #37AF8F;
}

.mensagem.erro {
    background-color: #FFE5E5;
    color: #C0392B;
}