/* =========================================================
   ELUNEXYA
   FALE COM A ELUNEXYA
========================================================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --preto: #070b14;
  --azul-escuro: #0c1424;
  --azul: #1687ff;
  --roxo: #8b5cf6;
  --ciano: #22d3ee;
  --branco: #ffffff;
  --cinza: #9ca8ba;
  --borda: rgba(255, 255, 255, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  background: var(--preto);
  color: var(--branco);
}


/* =========================================================
   PÁGINA
========================================================= */

.pagina-contato {
  min-height: 100vh;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 40px;

  background:
    radial-gradient(
      circle at 15% 20%,
      rgba(139, 92, 246, 0.20),
      transparent 32%
    ),
    radial-gradient(
      circle at 85% 80%,
      rgba(34, 211, 238, 0.14),
      transparent 30%
    ),
    linear-gradient(
      135deg,
      #070b14 0%,
      #0b1220 50%,
      #070b14 100%
    );
}


/* =========================================================
   CONTAINER PRINCIPAL
========================================================= */

.contato-container {
  width: 100%;
  max-width: 1100px;

  min-height: 720px;

  display: grid;

  grid-template-columns:
    0.9fr
    1.1fr;

  border:
    1px solid
    var(--borda);

  border-radius: 28px;

  overflow: hidden;

  background:
    rgba(255, 255, 255, 0.035);

  box-shadow:
    0 30px 80px
    rgba(0, 0, 0, 0.40);
}


/* =========================================================
   LADO ESQUERDO
========================================================= */

.contato-marca {
  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 65px;

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      rgba(139, 92, 246, 0.18),
      rgba(22, 135, 255, 0.10),
      rgba(34, 211, 238, 0.05)
    );
}


.contato-marca::before {
  content: "";

  position: absolute;

  width: 330px;
  height: 330px;

  border:
    1px solid
    rgba(255, 255, 255, 0.10);

  border-radius: 50%;

  top: -100px;
  right: -130px;
}


.contato-marca::after {
  content: "";

  position: absolute;

  width: 190px;
  height: 190px;

  border:
    1px solid
    rgba(34, 211, 238, 0.18);

  border-radius: 50%;

  bottom: -70px;
  left: -70px;
}


/* =========================================================
   MARCA
========================================================= */

.marca-superior {
  position: relative;
  z-index: 1;

  margin-bottom: 18px;

  color: var(--ciano);

  font-size: 12px;
  font-weight: 700;

  letter-spacing: 4px;
}


/* =========================================================
   LOGO
========================================================= */

.logo-contato {
  position: relative;
  z-index: 1;

  width: 100%;

  display: flex;
  align-items: center;
  justify-content: center;

  margin:
    10px 0 30px;
}


.logo-contato img {
  width: 340px;

  max-width: 100%;

  height: auto;

  display: block;

  object-fit: contain;
}


/* =========================================================
   TEXTO LADO ESQUERDO
========================================================= */

.marca-conteudo {
  position: relative;
  z-index: 1;
}


.marca-conteudo h1 {
  margin-bottom: 16px;

  font-size: 35px;
  font-weight: 600;

  line-height: 1.15;
}


.marca-conteudo p {
  max-width: 390px;

  color: #c7d0de;

  font-size: 15px;

  line-height: 1.7;
}


/* =========================================================
   LADO DIREITO
========================================================= */

.contato-area {
  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 55px;

  background:
    rgba(7, 11, 20, 0.68);
}


/* =========================================================
   CABEÇALHO
========================================================= */

.etiqueta {
  display: inline-block;

  margin-bottom: 14px;

  color: var(--roxo);

  font-size: 11px;
  font-weight: 700;

  letter-spacing: 3px;
}


.contato-cabecalho h2 {
  margin-bottom: 12px;

  font-size: 34px;
  font-weight: 600;
}


.contato-cabecalho p {
  max-width: 500px;

  color: var(--cinza);

  font-size: 14px;

  line-height: 1.7;
}


/* =========================================================
   FORMULÁRIO
========================================================= */

.contato-formulario {
  margin-top: 30px;
}


.campo {
  margin-bottom: 18px;
}


.campo label {
  display: block;

  margin-bottom: 8px;

  color: #d9e0eb;

  font-size: 13px;
  font-weight: 600;
}


/* =========================================================
   INPUTS
========================================================= */

.campo input,
.campo textarea {
  width: 100%;

  border:
    1px solid
    var(--borda);

  border-radius: 12px;

  outline: none;

  background:
    rgba(255, 255, 255, 0.055);

  color: var(--branco);

  font-size: 14px;

  transition:
    border-color 0.25s,
    background 0.25s,
    box-shadow 0.25s;
}


.campo input {
  height: 52px;

  padding:
    0 16px;
}


.campo textarea {
  min-height: 135px;

  padding:
    14px 16px;

  resize: vertical;

  font-family:
    Arial,
    Helvetica,
    sans-serif;

  line-height: 1.5;
}


.campo input::placeholder,
.campo textarea::placeholder {
  color: #687487;
}


.campo input:focus,
.campo textarea:focus {
  border-color:
    var(--roxo);

  background:
    rgba(255, 255, 255, 0.075);

  box-shadow:
    0 0 0 3px
    rgba(139, 92, 246, 0.10);
}


/* =========================================================
   CONTADOR DA MENSAGEM
========================================================= */

.contador-mensagem {
  margin-top: 6px;

  display: flex;

  align-items: center;
  justify-content: flex-end;

  color: #66758a;

  font-size: 11px;
}


/* =========================================================
   AVISO
========================================================= */

.aviso-contato {
  display: flex;

  align-items: flex-start;

  gap: 12px;

  margin:
    5px 0 24px;

  padding: 15px;

  border:
    1px solid
    rgba(34, 211, 238, 0.16);

  border-radius: 12px;

  background:
    rgba(34, 211, 238, 0.05);
}


.aviso-icone {
  width: 25px;
  height: 25px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 50%;

  background:
    rgba(34, 211, 238, 0.12);

  color: var(--ciano);

  font-size: 13px;
  font-weight: 700;
}


.aviso-contato p {
  color: #8e9aad;

  font-size: 12px;

  line-height: 1.6;
}


/* =========================================================
   BOTÃO ENVIAR
========================================================= */

.contato-formulario button {
  width: 100%;
  height: 56px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 12px;

  border: none;

  border-radius: 12px;

  cursor: pointer;

  background:
    linear-gradient(
      90deg,
      #7c3aed,
      #2563eb,
      #0891b2
    );

  color: var(--branco);

  font-size: 14px;
  font-weight: 700;

  transition:
    transform 0.2s,
    box-shadow 0.2s,
    opacity 0.2s;
}


.contato-formulario button:hover {
  transform:
    translateY(-2px);

  box-shadow:
    0 12px 30px
    rgba(37, 99, 235, 0.25);
}


.contato-formulario button:disabled {
  cursor: not-allowed;

  opacity: 0.55;

  transform: none;

  box-shadow: none;
}


.seta-botao {
  font-size: 20px;
}


/* =========================================================
   VOLTAR LOGIN
========================================================= */

.voltar-login {
  display: block;

  width: fit-content;

  margin:
    24px auto 0;

  color: #a78bfa;

  font-size: 12px;
  font-weight: 600;

  text-decoration: none;

  transition:
    color 0.2s;
}


.voltar-login:hover {
  color: #ffffff;

  text-decoration: underline;
}


/* =========================================================
   MODAL
========================================================= */

.modal-fundo {
  position: fixed;

  inset: 0;

  z-index: 99999;

  display: none;

  align-items: center;
  justify-content: center;

  padding: 20px;

  background:
    rgba(0, 0, 0, 0.72);

  backdrop-filter:
    blur(7px);
}


.modal-fundo.ativo {
  display: flex;
}


/* =========================================================
   CAIXA MODAL
========================================================= */

.modal-caixa {
  width: 100%;
  max-width: 420px;

  padding:
    35px 30px;

  border:
    1px solid
    rgba(255, 255, 255, 0.12);

  border-radius: 20px;

  background:
    linear-gradient(
      145deg,
      #101827,
      #0a101d
    );

  box-shadow:
    0 30px 80px
    rgba(0, 0, 0, 0.55);

  text-align: center;

  animation:
    abrirModalContato 0.22s ease;
}


@keyframes abrirModalContato {

  from {
    opacity: 0;

    transform:
      translateY(12px)
      scale(0.97);
  }

  to {
    opacity: 1;

    transform:
      translateY(0)
      scale(1);
  }

}


/* =========================================================
   ÍCONE MODAL
========================================================= */

.modal-icone {
  width: 58px;
  height: 58px;

  margin:
    0 auto 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  border:
    1px solid
    rgba(34, 211, 238, 0.25);

  border-radius: 50%;

  background:
    rgba(34, 211, 238, 0.10);

  color:
    var(--ciano);

  font-size: 26px;
  font-weight: 700;
}


.modal-icone.erro {
  border-color:
    rgba(248, 113, 113, 0.30);

  background:
    rgba(248, 113, 113, 0.10);

  color:
    #f87171;
}


/* =========================================================
   TEXTO MODAL
========================================================= */

.modal-caixa h3 {
  margin-bottom: 12px;

  color: #ffffff;

  font-size: 22px;
}


.modal-caixa p {
  color: #9ca8ba;

  font-size: 14px;

  line-height: 1.6;
}


/* =========================================================
   BOTÃO MODAL
========================================================= */

.modal-caixa button {
  width: 100%;
  height: 48px;

  margin-top: 25px;

  border: none;

  border-radius: 11px;

  cursor: pointer;

  background:
    linear-gradient(
      90deg,
      #7c3aed,
      #2563eb,
      #0891b2
    );

  color: #ffffff;

  font-size: 13px;
  font-weight: 700;

  transition:
    transform 0.2s,
    box-shadow 0.2s;
}


.modal-caixa button:hover {
  transform:
    translateY(-1px);

  box-shadow:
    0 10px 25px
    rgba(37, 99, 235, 0.22);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 850px) {

  .pagina-contato {
    padding: 20px;
  }


  .contato-container {
    max-width: 560px;

    grid-template-columns: 1fr;
  }


  .contato-marca {
    min-height: 300px;

    padding: 45px;
  }


  .logo-contato img {
    width: 280px;
  }


  .marca-conteudo h1 {
    font-size: 30px;
  }


  .contato-area {
    padding: 45px;
  }

}


/* =========================================================
   CELULAR
========================================================= */

@media (max-width: 480px) {

  .pagina-contato {
    padding: 0;
  }


  .contato-container {
    min-height: 100vh;

    border: none;

    border-radius: 0;
  }


  .contato-marca {
    min-height: 250px;

    padding:
      32px 25px;
  }


  .marca-superior {
    margin-bottom: 8px;
  }


  .logo-contato {
    margin:
      5px 0 20px;
  }


  .logo-contato img {
    width: 230px;
  }


  .marca-conteudo h1 {
    font-size: 27px;
  }


  .marca-conteudo p {
    font-size: 13px;
  }


  .contato-area {
    padding:
      38px 25px;
  }


  .contato-cabecalho h2 {
    font-size: 29px;
  }


  .contato-cabecalho p {
    font-size: 13px;
  }


  .campo input,
  .campo textarea {
    font-size: 16px;
  }


  .campo input {
    height: 52px;
  }


  .campo textarea {
    min-height: 130px;
  }


  .aviso-contato {
    padding: 13px;
  }


  .modal-caixa {
    padding:
      30px 22px;
  }

}