 /* =========================================================
   B2B TECNOLOGIA — CONTACT / FORMULÁRIO
   assets/css/contact.css
========================================================= */

.contact-section {
  position: relative;

  padding: 130px 0;

  overflow: hidden;

  color: #f4f8fc;

  background:
    radial-gradient(
      circle at 10% 50%,
      rgba(22, 131, 255, 0.10),
      transparent 30%
    ),
    radial-gradient(
      circle at 90% 15%,
      rgba(0, 198, 255, 0.05),
      transparent 25%
    ),
    #050b14;
}


/* =========================================================
   GRID PRINCIPAL
========================================================= */

.contact-container {
  position: relative;
  z-index: 2;

  width: min(1180px, calc(100% - 48px));

  margin: 0 auto;

  display: grid;

  grid-template-columns:
    minmax(0, 0.9fr)
    minmax(460px, 1.1fr);

  align-items: center;

  gap: 100px;
}


/* =========================================================
   COLUNA DE CONTEÚDO
========================================================= */

.contact-content {
  max-width: 570px;
}

.contact-eyebrow {
  display: inline-flex;
  align-items: center;

  min-height: 34px;

  padding: 0 15px;

  margin-bottom: 25px;

  border: 1px solid rgba(22, 131, 255, 0.45);

  border-radius: 999px;

  color: #51a9ff;

  background: rgba(22, 131, 255, 0.045);

  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-title {
  margin: 0 0 25px;

  color: #f6f9fd;

  font-size: clamp(42px, 4.5vw, 62px);

  line-height: 1.02;

  font-weight: 800;

  letter-spacing: -0.045em;
}

.contact-title span {
  display: block;

  color: #1683ff;
}

.contact-subtitle {
  margin: 0 0 18px;

  color: #dce7f3;

  font-size: 18px;

  line-height: 1.7;

  font-weight: 500;
}

.contact-description {
  max-width: 530px;

  margin: 0;

  color: #8ea1b8;

  font-size: 14px;

  line-height: 1.8;
}


/* =========================================================
   DESTAQUES
========================================================= */

.contact-highlights {
  display: flex;

  flex-direction: column;

  gap: 20px;

  margin-top: 38px;
}

.contact-highlight {
  display: flex;

  align-items: center;

  gap: 15px;
}

.contact-highlight-icon {
  flex: 0 0 auto;

  width: 44px;
  height: 44px;

  display: flex;

  align-items: center;
  justify-content: center;

  border: 1px solid rgba(22, 131, 255, 0.22);

  border-radius: 12px;

  color: #43a3ff;

  background:
    linear-gradient(
      145deg,
      rgba(22, 131, 255, 0.12),
      rgba(22, 131, 255, 0.025)
    );
}

.contact-highlight-icon svg {
  width: 21px;
  height: 21px;
}

.contact-highlight strong {
  display: block;

  margin-bottom: 4px;

  color: #e8f0f8;

  font-size: 13px;

  font-weight: 600;
}

.contact-highlight span {
  display: block;

  color: #74889f;

  font-size: 12px;

  line-height: 1.5;
}


/* =========================================================
   FORMULÁRIO — CONTAINER
========================================================= */

.contact-form-wrapper {
  position: relative;

  padding: 38px;

  border: 1px solid rgba(105, 151, 194, 0.18);

  border-radius: 24px;

  background:
    linear-gradient(
      145deg,
      rgba(13, 29, 47, 0.94),
      rgba(6, 14, 24, 0.98)
    );

  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.025);
}

.contact-form-wrapper::before {
  content: "";

  position: absolute;

  top: 0;
  left: 15%;

  width: 70%;
  height: 1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(22, 131, 255, 0.65),
      transparent
    );
}


/* =========================================================
   CABEÇALHO DO FORM
========================================================= */

.contact-form-header {
  margin-bottom: 28px;
}

.contact-form-label {
  display: block;

  margin-bottom: 9px;

  color: #4da6ff;

  font-size: 10px;

  font-weight: 700;

  letter-spacing: 0.14em;
}

.contact-form-header h3 {
  margin: 0 0 8px;

  color: #f5f8fc;

  font-size: 27px;

  line-height: 1.2;

  font-weight: 700;

  letter-spacing: -0.025em;
}

.contact-form-header p {
  margin: 0;

  color: #7f94aa;

  font-size: 13px;

  line-height: 1.6;
}


/* =========================================================
   FORM
========================================================= */

.contact-form {
  display: flex;

  flex-direction: column;

  gap: 18px;
}


/* =========================================================
   CAMPOS
========================================================= */

.form-field {
  display: flex;

  flex-direction: column;

  gap: 8px;
}

.form-field label {
  color: #b9c9da;

  font-size: 11px;

  font-weight: 600;

  letter-spacing: 0.02em;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;

  border: 1px solid rgba(110, 149, 184, 0.19);

  border-radius: 10px;

  outline: none;

  color: #eaf2fa;

  background:
    rgba(2, 9, 17, 0.55);

  font-family: inherit;

  font-size: 14px;

  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.form-field input,
.form-field select {
  height: 48px;

  padding: 0 15px;
}

.form-field textarea {
  min-height: 125px;

  padding: 14px 15px;

  resize: vertical;

  line-height: 1.6;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #52677d;
}

.form-field select {
  cursor: pointer;
}

.form-field select option {
  color: #eaf2fa;

  background: #081321;
}


/* =========================================================
   FOCO
========================================================= */

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: rgba(22, 131, 255, 0.7);

  background:
    rgba(5, 18, 32, 0.8);

  box-shadow:
    0 0 0 3px rgba(22, 131, 255, 0.08),
    0 0 25px rgba(22, 131, 255, 0.05);
}


/* =========================================================
   DUAS COLUNAS DE CAMPOS
========================================================= */

.form-row {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 14px;
}


/* =========================================================
   CONSENTIMENTO
========================================================= */

.form-consent {
  margin-top: 2px;
}

.consent-label {
  display: flex;

  align-items: flex-start;

  gap: 10px;

  cursor: pointer;
}

.consent-label input {
  flex: 0 0 auto;

  width: 16px;
  height: 16px;

  margin-top: 2px;

  accent-color: #1683ff;

  cursor: pointer;
}

.consent-label span {
  color: #71869d;

  font-size: 11px;

  line-height: 1.55;
}


/* =========================================================
   MENSAGEM DO FORMULÁRIO
========================================================= */

.form-message {
  display: none;

  padding: 11px 13px;

  border-radius: 9px;

  font-size: 12px;

  line-height: 1.5;
}

.form-message.success {
  display: block;

  border: 1px solid rgba(50, 213, 131, 0.22);

  color: #8ce3b1;

  background: rgba(50, 213, 131, 0.06);
}

.form-message.error {
  display: block;

  border: 1px solid rgba(255, 82, 82, 0.22);

  color: #ff9b9b;

  background: rgba(255, 82, 82, 0.06);
}


/* =========================================================
   BOTÃO
========================================================= */

.contact-submit {
  width: 100%;

  min-height: 52px;

  display: flex;

  align-items: center;

  justify-content: center;

  gap: 14px;

  margin-top: 2px;

  padding: 0 20px;

  border: 0;

  border-radius: 10px;

  outline: none;

  cursor: pointer;

  color: #ffffff;

  background:
    linear-gradient(
      135deg,
      #1683ff 0%,
      #0968d8 100%
    );

  box-shadow:
    0 12px 30px rgba(22, 131, 255, 0.2);

  font-family: inherit;

  font-size: 11px;

  font-weight: 700;

  letter-spacing: 0.07em;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    opacity 0.25s ease;
}

.contact-submit:hover {
  transform: translateY(-2px);

  box-shadow:
    0 17px 38px rgba(22, 131, 255, 0.32);
}

.contact-submit:active {
  transform: translateY(0);
}

.contact-submit:focus-visible {
  box-shadow:
    0 0 0 3px rgba(5, 11, 20, 1),
    0 0 0 6px rgba(22, 131, 255, 0.7);
}

.contact-submit:disabled {
  cursor: not-allowed;

  opacity: 0.65;

  transform: none;
}

.contact-submit-arrow {
  font-size: 18px;

  line-height: 1;
}


/* =========================================================
   PRIVACIDADE
========================================================= */

.form-privacy {
  margin: -3px 0 0;

  color: #50647a;

  font-size: 10px;

  line-height: 1.55;

  text-align: center;
}


/* =========================================================
   RESPONSIVIDADE — TABLET
========================================================= */

@media (max-width: 1050px) {

  .contact-container {
    grid-template-columns: 1fr;

    gap: 65px;
  }

  .contact-content {
    max-width: 760px;
  }

  .contact-form-wrapper {
    width: 100%;

    max-width: 760px;
  }

}


/* =========================================================
   RESPONSIVIDADE — MOBILE
========================================================= */

@media (max-width: 700px) {

  .contact-section {
    padding: 85px 0;
  }

  .contact-container {
    width: min(100% - 32px, 1180px);

    gap: 48px;
  }

  .contact-title {
    font-size: clamp(38px, 11vw, 52px);
  }

  .contact-subtitle {
    font-size: 16px;
  }

  .contact-description {
    font-size: 13px;
  }

  .contact-highlights {
    gap: 17px;

    margin-top: 30px;
  }

  .contact-form-wrapper {
    padding: 27px 22px;

    border-radius: 19px;
  }

  .contact-form-header h3 {
    font-size: 24px;
  }

  .form-row {
    grid-template-columns: 1fr;

    gap: 18px;
  }

  .form-field input,
  .form-field select {
    height: 50px;
  }

  .form-field textarea {
    min-height: 135px;
  }

}


/* =========================================================
   MOBILE PEQUENO
========================================================= */

@media (max-width: 420px) {

  .contact-section {
    padding: 70px 0;
  }

  .contact-container {
    width: calc(100% - 28px);
  }

  .contact-title {
    font-size: 37px;
  }

  .contact-highlight-icon {
    width: 40px;
    height: 40px;
  }

  .contact-highlight strong {
    font-size: 12px;
  }

  .contact-highlight span {
    font-size: 11px;
  }

  .contact-form-wrapper {
    padding: 24px 18px;
  }

}