* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  font-weight: 400;
}

/* Header responsivo */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 9.5rem;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo {
  height: 40px;
}
.nav-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #000c78;
  color: #ffffff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: all 0.3s ease;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(0, 12, 120, 0.15);
  position: relative;
}

.nav-icon-btn:hover {
  background-color: #ffffff;
  color: #000c78;
  border: 2px solid #000c78;
  transform: translateY(-2px);
}

.nav-icon-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(0, 12, 120, 0.3);
}

.header-icon:active {
  transform: scale(0.95);
}
@media (max-width: 600px) {
  .header {
    flex-direction: row;
    gap: 0.5rem;
    padding: 0.7rem 1rem;
    margin-bottom: 25px;
  }
  .logo {
    height: 32px;
  }
  .header-icons {
    gap: 1rem;
  }
}

@font-face {
  font-family: "Inter", sans-serif;
  src: url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "Inter", sans-serif;
  src: url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Inter", sans-serif;
  src: url("https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");
  font-weight: 600;
  font-style: normal;
}

body {
  color: rgba(38, 38, 38, 0.9);
}

h2 {
  font-size: 50px;
  margin-bottom: 32px;
  text-align: center;
  font-weight: 600;
}

form {
  display: flex;
  flex-direction: column;
  gap: 16px;

  button {
    background: linear-gradient(90deg, #ff4b6e 0%, #0166ff 100%);
    color: #fff;
  }
}

input,
button {
  padding: 12px 20px;
  border-radius: 12px;
  border: none;
  outline: none;
  font-size: 16px;
  width: 400px;
}

input {
  background-color: rgba(0, 0, 0, 0.2);
  color: rgba(38, 38, 38, 1);
}
input::placeholder {
  color: rgba(0, 0, 0, 0.5);
}
button {
  margin-top: 8px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  padding: 16px;
}
button:hover {
  cursor: pointer;
}

p {
  margin-bottom: 32px;
  width: 400px;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
}

.containerPai {
  width: 100%;
  height: 100vh;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card {
  width: 80%;
  height: 90vh;
  background-image: url("../../uploads/bg2.webp");
  background-position: left;
  background-size: cover;
  background-repeat: no-repeat;
  border-radius: 32px;
  padding: 32px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.esquerda,
.direita {
  width: 50%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.formLogin,
.facaLogin,
.formCadastro,
.facaCadastro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.facaLogin,
.facaCadastro {
  position: absolute;

  h2,
  p {
    color: rgba(255, 255, 255, 0.8);
  }

  button {
    background-color: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
  }

  button:hover {
    transform: translateY(-2px);
  }
}

/*Background Movel*/

.card::after {
  width: 100%;
  height: 100%;
  content: "";
  background-image: url("../../uploads/bg.webp");
  position: absolute;
  top: 0;
  right: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: 0;
}

/*Login Active*/

.card.loginActive .facaLogin {
  opacity: 0;
  pointer-events: none;
}

.card.loginActive .facaCadastro {
  transform: translateX(0);
  transition: all 0.3s 0.3s ease;
  opacity: 1;
}

.card.loginActive .formLogin {
  opacity: 1;
  pointer-events: all;
}

.card.loginActive .formCadastro {
  opacity: 0;
  pointer-events: none;
}

.card.loginActive::after {
  transform: translateX(50%);
}

/*Cadastro Active*/

.card.cadastroActive .facaCadastro {
  opacity: 0;
  pointer-events: none;
}

.card.cadastroActive .facaLogin {
  transform: translateX(0);
  transition: all 0.3s 0.3s ease;
  opacity: 1;
}

.card.cadastroActive .formCadastro {
  opacity: 1;
  pointer-events: all;
}

.card.cadastroActive .formLogin {
  opacity: 0;
  pointer-events: none;
}

.card.cadastroActive::after {
  transform: translateX(-50%);
}

/*Transition*/
.card::after {
  transition: all 0.3s ease;
}

.facaCadastro {
  transition: all 0.3s ease;
  transform: translateX(200%);
  opacity: 0;
}

.formLogin {
  opacity: 0;
  transition: all 0.3s 0 ease;
}

.facaLogin {
  transition: all 0.3s ease;
  transform: translateX(-200%);
  opacity: 0;
}

.formCadastro {
  opacity: 0;
  transition: all 0.3s 0 ease;
}

/*Media Queries */

/* ...estilos existentes acima... */

@media (max-width: 1024px) {
  .containerPai {
    height: auto;
  }

  .card {
    flex-direction: column;
    width: 100%;
    height: auto;
    border-radius: 0;
    padding: 20px 16px;
    position: relative;
  }

  .esquerda,
  .direita {
    width: 100%;
    height: auto;
    position: relative;
    padding: 16px 0;
  }
  .esquerda {
    height: auto;
  }
  .direita {
    height: 230px;
  }
  h2 {
    font-size: 36px;
    margin-bottom: 24px;
  }

  p {
    width: 100%;
    max-width: 60vw;
  }

  input,
  button {
    width: 320px;
    margin: 0 auto;
  }

  .facaLogin,
  .facaCadastro {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    transition: all 0.3s ease;
  }

  .facaLogin {
    transform: translateY(-200%);
    opacity: 0;
    pointer-events: none;
  }

  .facaCadastro {
    transform: translateY(200%);
    opacity: 0;
    pointer-events: none;
  }

  .card.loginActive .facaCadastro {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .card.loginActive .facaLogin {
    transform: translateY(-200%);
    opacity: 0;
    pointer-events: none;
  }

  .card.cadastroActive .facaLogin {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .card.cadastroActive .facaCadastro {
    transform: translateY(200%);
    opacity: 0;
    pointer-events: none;
  }

  .formLogin,
  .formCadastro {
    padding-bottom: 20px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }

  .card.loginActive .formLogin {
    opacity: 1;
    pointer-events: all;
  }

  .card.cadastroActive .formCadastro {
    opacity: 1;
    pointer-events: all;
  }

  .card::after {
    transform: translateY(0);
    transition: all 0.3s ease;
  }

  .card.loginActive::after {
    transform: translateY(50%);
  }

  .card.cadastroActive::after {
    transform: translateY(-50%);
  }
}

@media (max-width: 480px) {
  h2 {
    font-size: 24px;
    margin-bottom: 16px;
  }

  input,
  button {
    font-size: 14px;
    padding: 10px 14px;
  }

  .formLogin,
  .formCadastro {
    gap: 12px;
  }

  .card {
    padding: 16px 12px;
  }
}

/*esqueci a senha*/
.esqueciSenha {
  display: inline-block;
  font-size: 0.95rem;
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
  margin-bottom: 25px;
  transition: color 0.3s ease, transform 0.2s ease;
}

.esqueciSenha i {
  margin-left: 5px;
  font-size: 1rem;
  vertical-align: middle;
}

.esqueciSenha:hover {
  color: #0056b3; /* Azul de destaque */
  transform: translateY(-2px);
}

@media (min-width: 991px) {
  .esqueciSenha {
    margin-top: 50px;
  }
}

.footer {
  background-color: #1a1a1a;
  color: #f2f2f2;
  padding: 40px 20px 20px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  gap: 30px;
}

.footer-col {
  flex: 1 1 200px;
}

.footer-col h4 {
  font-size: 16px;
  margin-bottom: 15px;
  color: #ffffff;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 10px;
  font-size: 14px;
}

.footer-col ul li i {
  margin-right: 6px;
  color: #cc6600;
}

.footer-col ul li a {
  color: #f2f2f2;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col ul li a:hover {
  color: #cc6600;
}

.footer-logo {
  width: 120px;
  margin-bottom: 15px;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.footer-socials a {
  font-size: 20px;
  color: #f2f2f2;
  transition: color 0.3s ease;
}

.footer-socials a:hover {
  color: #cc6600;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid #333;
  padding-top: 15px;
  font-size: 13px;
  color: #aaa;

  p {
    margin: 0 auto;
  }
}

.logo {
  text-align: center;
  align-items: center;
}

/* Responsivo */
@media (max-width: 768px) {
  .footer {
    padding: 30px 15px 10px;
    margin-top: 25px;
  }

  .footer-top {
    flex-direction: column;
    align-items: stretch;
    gap: 25px;
    padding-bottom: 10px;
  }

  .footer-col {
    background-color: #2a2a2a;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 10px;
    max-width: 100%;
    text-align: left;
  }

  .footer-col h4 {
    font-size: 18px;
    margin-bottom: 12px;
    border-left: 4px solid #cc6600;
    padding-left: 8px;
  }

  .footer-col ul li {
    font-size: 15px;
  }

  .footer-col ul li i {
    font-size: 18px;
    vertical-align: middle;
  }

  .footer-socials {
    justify-content: start;
    padding-top: 5px;
  }

  .footer-socials a {
    font-size: 24px;
  }

  .footer-logo {
    width: 100px;
    margin: 0 auto 10px;
    display: block;
  }

  .logo {
    text-align: center;
  }

  .logo p {
    font-size: 15px;
    margin-top: 10px;
    line-height: 1.5;
  }

  .footer-bottom {
    margin-top: 20px;
    font-size: 12px;
    padding-top: 10px;
    border-top: 1px solid #333;
  }
}
input:not(:placeholder-shown) {
  background-color: #e8f0fe;
  /* igual ao autofill */
  box-shadow: 0 0 0px 1000px #e8f0fe inset;
  color: #000;
}

.phone-input {
  display: flex;
  align-items: center;
  border-radius: 12px;
  overflow: hidden;
  width: 400px;
}

.phone-input span {
  background-color: #f2f2f2;
  padding: 12px 20px;
  font-weight: bold;
  border-right: 1px solid #ccc;
}

@media (max-width: 480px) {
  .phone-input span {
    padding: 10px 14px;
    font-size: 14px;
  }

  .phone-input {
    width: 84%;
    margin: 0 auto;
  }
}
