/* =========================================================
   CONTACT FORM 7 — FAÇA PARTE DO TIME
   ========================================================= */

/* ---------------------------------------------------------
   FORMULÁRIO
   --------------------------------------------------------- */

  
.rf-form-card .rf-form-intro {
  margin: 0 0 28px;
  color: #ff6d00;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.rf-form-card .wpcf7-form {
  width: 100%;
  color: #fff;
}

.rf-form-card .rf-form-fields {
  width: 100%;
}


/* ---------------------------------------------------------
   GRUPOS
   --------------------------------------------------------- */

.rf-form-card .rf-form-group {
  width: 100%;
  margin: 0 0 20px;
}

.rf-form-card .rf-form-group:last-of-type {
  margin-bottom: 0;
}


/* ---------------------------------------------------------
   LABELS
   --------------------------------------------------------- */

.rf-form-card .rf-form-group > label {
  display: block;

  margin: 0 0 9px;

  color: #fff;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
}


/* ---------------------------------------------------------
   WRAPPER DO CONTACT FORM 7
   --------------------------------------------------------- */

.rf-form-card .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  margin-top: 5px;
}


/* ---------------------------------------------------------
   INPUTS
   --------------------------------------------------------- */

.rf-form-card .rf-form-group input[type="text"],
.rf-form-card .rf-form-group input[type="email"],
.rf-form-card .rf-form-group input[type="tel"],
.rf-form-card .rf-form-group select {
  display: block;

  width: 100%;
  height: 48px;

  box-sizing: border-box;

  padding: 0 17px;

  border: 1px solid rgba(255, 255, 255, 0.20);
  border-radius: 0;

  background: transparent;

  color: #fff;

  font-family: inherit;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.2;

  outline: none;
  box-shadow: none;

  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}


/* ---------------------------------------------------------
   PLACEHOLDER
   --------------------------------------------------------- */

.rf-form-card .rf-form-group input::placeholder {
  color: #9297a3;
  opacity: 1;
}


/* ---------------------------------------------------------
   FOCO
   --------------------------------------------------------- */

.rf-form-card .rf-form-group input:focus,
.rf-form-card .rf-form-group select:focus {
  outline: none;
  border-color: #ff6d00;
  box-shadow: none;
}


/* ---------------------------------------------------------
   SELECT
   --------------------------------------------------------- */

.rf-form-card .rf-form-group select {
  appearance: none;
  -webkit-appearance: none;

  padding-right: 48px;

  cursor: pointer;

  background-color: transparent;

  background-image:
    linear-gradient(45deg, transparent 50%, #fff 50%),
    linear-gradient(135deg, #fff 50%, transparent 50%);

  background-position:
    calc(100% - 21px) 23px,
    calc(100% - 16px) 23px;

  background-size:
    5px 5px,
    5px 5px;

  background-repeat: no-repeat;
}


/* Options do select */
.rf-form-card .rf-form-group select option {
  color: #000;
  background: #fff;
}


/* ---------------------------------------------------------
   ÁREA DE UPLOAD
   --------------------------------------------------------- */

.rf-form-card .rf-dropzone {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-height: 135px;

  box-sizing: border-box;

  padding: 30px 20px;
  margin-top: 5px;

  border: 1px dashed rgba(255, 255, 255, 0.20);
  border-radius: 8px;

  text-align: center;

  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;

  background: url(../img/nossa-equipe/upload-icon.svg) no-repeat top 20px center;
}


/* Texto principal do upload */
.rf-form-card .rf-dropzone-label {
  display: block;

  color: rgba(255, 255, 255, 0.60);

  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
}


/* Texto secundário */
.rf-form-card .rf-dropzone-info {
  display: block;

  margin-top: 6px;

  color: rgba(255, 255, 255, 0.30);

  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
}


/* Input de arquivo ocupa toda a área */
.rf-form-card .rf-dropzone .wpcf7-form-control-wrap,
.rf-form-card .rf-dropzone input[type="file"] {
  position: absolute;

  inset: 0;

  width: 100%;
  height: 100%;
}


/* Input invisível */
.rf-form-card .rf-dropzone input[type="file"] {
  z-index: 2;

  padding: 0;

  border: 0;

  opacity: 0;

  cursor: pointer;
}


/* Hover */
.rf-form-card .rf-dropzone:hover {
  border-color: rgba(255, 255, 255, 0.40);
  background: rgba(255, 255, 255, 0.02);
}


/* ---------------------------------------------------------
   BOTÃO
   --------------------------------------------------------- */

.rf-form-card .wpcf7-form input[type="submit"] {
  display: block;

  width: 100%;
  height: 63px;

  box-sizing: border-box;

  margin-top: 27px;
  padding: 0 20px;

  border: 0;
  border-radius: 0;

  background: #ff6d00;

  color: #000;

  font-family: inherit;
  font-size: 16px;
  font-weight: 300;
  line-height: 1;

  text-transform: uppercase;
  letter-spacing: 0.02em;

  cursor: pointer;

  outline: none;
  box-shadow: none;

  transition:
    background-color 0.2s ease,
    opacity 0.2s ease;
}


/* Hover botão */
.rf-form-card .wpcf7-form input[type="submit"]:hover {
  opacity: 0.90;
}


/* Focus botão */
.rf-form-card .wpcf7-form input[type="submit"]:focus {
  outline: none;
  box-shadow: none;
}


/* ---------------------------------------------------------
   ERROS DE VALIDAÇÃO
   --------------------------------------------------------- */

.rf-form-card .wpcf7-not-valid {
  border-color: #ff6d6d !important;
}


.rf-form-card .wpcf7-not-valid-tip {
  display: block;

  margin-top: 4px;

  color: #ff6d6d;

  font-size: 12px;
  line-height: 1.3;
}


/* ---------------------------------------------------------
   MENSAGEM DE RESPOSTA
   --------------------------------------------------------- */

.rf-form-card .wpcf7-response-output {
  box-sizing: border-box;

  margin: 16px 0 0 !important;
  padding: 10px 12px;

  border: 1px solid rgba(255, 255, 255, 0.20) !important;

  color: #fff;

  font-size: 13px;
  line-height: 1.4;
}


/* ---------------------------------------------------------
   SPINNER
   --------------------------------------------------------- */

.rf-form-card .wpcf7-spinner {
  filter: invert(1);
}


/* ---------------------------------------------------------
   ESTADO DE ENVIO
   --------------------------------------------------------- */

.rf-form-card .wpcf7-form.submitting input[type="submit"] {
  opacity: 0.7;
  cursor: wait;
}


/* ---------------------------------------------------------
   RESPONSIVO
   --------------------------------------------------------- */

@media (max-width: 640px) {

  .rf-form-card .rf-form-group {
    margin-bottom: 18px;
  }

  .rf-form-card .rf-form-group > label {
    margin-bottom: 8px;
    font-size: 14px;
  }

  .rf-form-card .rf-form-group input[type="text"],
  .rf-form-card .rf-form-group input[type="email"],
  .rf-form-card .rf-form-group input[type="tel"],
  .rf-form-card .rf-form-group select {
    height: 52px;
    padding: 0 15px;
    font-size: 15px;
  }

  .rf-form-card .rf-dropzone {
    min-height: 125px;
    padding: 25px 15px;
  }

  .rf-form-card .rf-dropzone-label {
    font-size: 13px;
  }

  .rf-form-card .wpcf7-form input[type="submit"] {
    height: 58px;
    margin-top: 24px;
    font-size: 15px;
  }
}