/* ===============================
   FORMULARIO 
================================== */

.entre-em-contato {
  display: flex;
  flex-direction: row-reverse;
  background-image: url(../image/ContatoFundoTrasp.png);
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: 100%;
  height: 850px;
}

.cadastro {
  width: 31rem;
  max-width: 31rem;
  height: 48rem;
  margin: 25px auto;
  padding: 25px 40px;
  border: 1px solid var(--cor-cinza);
  border-radius: 12px;
  background-color: var(--cor-fundo-lista);
  opacity: 0.9;
  font-family: 'Roboto', sans-serif;
}

.texto-cadastro {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cadastro label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
}

.cadastro input,
.cadastro textarea {
  width: 100%;
  padding: 6px;
  margin-bottom: 10px;
  border: 1px solid #bbb;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
  resize: none;
}

.cadastro button {
  background-color: var(--cor-laranja-hover);
  color: var(--cor-branca);
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  width: 100%;
  transition: background-color 0.3s ease;
  font-weight: 600;
}

.cadastro button:hover {
  background-color: #b14e0c;
}

/* ABAS */

.tabs {
  display: flex;
  flex-direction: column;
}

.tabs input[type="radio"] {
  display: none;
}

.linha-endereco {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.linha-endereco input {
  padding: 8px;
  font-size: 14px;
}

/* Proporções ideais */
.campo-cep {
  flex: 1;
  min-width: 6.2rem;
  max-width: 7.5rem;
}

.campo-rua {
  flex: 3;
  min-width: 12.5rem;
}

.campo-bairro {
  flex: 2;
  min-width: 9.4rem;
}

.campo-cidade {
  flex: 2;
  min-width: 9.4rem;
}

.campo-numero {
  flex: 1;
  min-width: 3.7rem;
  max-width: 5rem;
}

.campo-estado {
  flex: 1;
  min-width: 3.7rem;
  max-width: 5rem;
}

.tab-labels {
  display: flex;
  margin-bottom: -1px;
}

.tab-labels label {
  padding: 10px 20px;
  background: var(--cor-texto);
  border: 1px solid var(--cor-cinza);
  border-bottom: none;
  cursor: pointer;
  border-radius: 6px 6px 0 0;
  margin-right: 5px;
  font-weight: bold;
  user-select: none;
  transition: background-color 0.2s ease;

}

.tab-labels label:hover {
  background: var(--cor-cinza);
}

#aba1:checked~.tab-labels label[for="aba1"],
#aba2:checked~.tab-labels label[for="aba2"] {
  background: var(--cor-laranja-hover);
  color: var(--cor-branca);
  border-color: var(--cor-laranja-hover);
}

.conteudo {
  display: none;
  padding: 15px;
  border: 1px solid var(--cor-cinza);
  border-top: none;
  background-color: var(--cor-fundo-lista);
  border-radius: 0 0 6px 6px;
}

#aba1:checked~#conteudo1,
#aba2:checked~#conteudo2 {
  display: block;
}