:root {
  --primary-color: #1f1f1f;
  --text-color: #030304;
  --white: #ffffff;
}

.institucional-tabs {
  padding: 0 50px;
  margin-bottom: 0;
  margin-top: 179px;
}

.decorados-gallery-title,
.form-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 20px;
  text-align: center;
}

.decorados-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 100px;
}

.decorados-tabs a {
  height: 47px;
  padding: 0 25px;
  border: 1px solid #1f1f1f;
  color: var(--text-color);
  font-size: 14px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 35px;
}

.decorados-tabs a.active {
  background: #4D4131;
  color: var(--white);
}

.decorados-select-tabs {
  display: none;
}

.form-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 50px;
}

.form-section form {
  margin-bottom: 20px;
  max-width: 872px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.forms-policy {
  font-size: 12px;
  color: var(--text-color);
}

.form-section form .form-row {
  display: flex;
  gap: 16px;
}

.form-section form :is(input, select, textarea) {
  width: 100%;
  padding-left: 30px;
  border: 1px solid var(--primary-color);
  height: 50px;
  font-size: 16px;
  color: var(--text-color);
  font-family: "Montserrat", sans-serif;
  outline: none;
  appearance: none;
}

.form-section form :is(input, select, textarea)::-webkit-outer-spin-button,
.form-section form :is(input, select, textarea)::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
.form-section form :is(input, select, textarea)[type=number] {
  -moz-appearance: textfield;
}

.form-section form :is(input, select, textarea)::placeholder {
  color: var(--text-color);
}

.form-section form textarea {
  padding: 15px 30px 90px 30px;
  height: 237px;
  resize: none;
  border: none;
}

.btn-text-area {
  padding: 20px;
  border: 1px solid var(--primary-color);
  display: flex;
  justify-content: flex-end;
  border-top: 0;
}

.text-area-wrapper {
  border: 1px solid var(--primary-color);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  background-color: #FFFFFF;
}

.form-section button {
  margin-right: 20px;
  margin-bottom: 20px;
  height: 50px;
  border: none;
  background: var(--primary-color);
  color: var(--white);
  padding: 0;
  width: 186px;
  font-size: 16px;
  cursor: pointer;
}

.form-section form select {
  background: url("data:image/svg+xml,%3Csvg width='16' height='10' viewBox='0 0 16 10' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.99995 6.36367L14.2222 -7.77092e-08L16 1.81819L7.99995 10L-7.94756e-08 1.81819L1.77777 -6.21674e-07L7.99995 6.36367Z' fill='%231E3954'/%3E%3C/svg%3E%0A")
    no-repeat;
  background-position: 95% 50%;
  cursor: pointer;
  background-color: #FFFFFF;
}

.form-title {
  margin-bottom: 50px;
}

.decorados-tabs a.active svg path {
  fill: var(--white);
}

.form-description {
  font-size: 16px;
  font-weight: 400;
  color: var(--text-color);
  line-height: 19.5px;
  text-align: center;
  max-width: 1464px;
  margin-bottom: 50px;
}

.clients-form .form-title,
.directors-form .form-title {
  margin-bottom: 20px;
}

.contatos-whatsapp {
  margin-top: 50px;
}

.whatsapps-title {
  font-size: 16px;
  color: var(--text-color);
  margin-bottom: 20px;
  text-align: center;
}

.whatsapp-link {
  display: flex;
  align-items: center;
  background: var(--primary-color);
  gap: 15px;
  padding: 0 30px;
  height: 75px;
  color: #fff;
  font-size: 16px;
  border-radius: 55px;
  text-decoration: none;
}

.whatsapp-buttons {
  display: flex;
  gap: 20px;
}

.whatsapp-link-content {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

#wwu-file {
  display: none;
}

.select-file {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  margin-bottom: 34px;
}

.select-file label {
  height: 50px;
  display: flex;
  gap: 12px;
  border-radius: 25px;
  background: var(--primary-color);
  padding: 0 17px;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  cursor: pointer;
}

.select-file span {
  font-size: 14px;
  color: var(--text-color);
}

input#wwu-file:valid ~ label {
  font-size: 0;
  gap: 0;
}

input#wwu-file:valid ~ label::after {
  content: "MUDAR ARQUIVO";
  font-size: 16px;
  color: #fff;
  margin-left: 12px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

#wwu-address {
  grid-area: 1 / 1 / 2 / 3;
}

.form-text {
  font-size: 16px;
  color: var(--text-color);
  margin: 14px 0 30px;
  text-align: center;
}

.professional-experience textarea {
  border: 1px solid #000 !important;
  margin-top: 16px;
}

.wwu-form button {
  margin: 0 auto;
  margin-top: 14px;
  padding: 0 50px;
  width: auto;
}

.assistence-form .whatsapp-link,
.delivery-form .whatsapp-link {
  height: 50px;
  padding: 0 17px;
}

.assistence-form .whatsapp-buttons,
.delivery-form .whatsapp-buttons {
  justify-content: center;
}

.assistence-form .form-title,
.delivery-form .form-title {
  margin-bottom: 20px;
}

.delivery-form .form-description {
  margin: 0;
}

.delivery-form .contatos-whatsapp {
  margin-top: 10px;
}

@media (max-width: 768px) {
  .institucional-tabs {
    padding: 0 20px;
    margin-top: 130px;
  }

  .decorados-gallery-title,
  .form-title {
    font-size: 16px;
    line-height: 19.5px;
    padding: 0 20px;
  }

  .form-title {
    margin-bottom: 20px;
  }

  .decorados-tabs {
    display: none;
  }

  .decorados-select-tabs {
    display: block;
    height: 47px;
    padding-left: 20px;
    border: 1px solid var(--primary-color);
    width: 100%;
    appearance: none;
    background: url("data:image/svg+xml,%3Csvg width='16' height='11' viewBox='0 0 16 11' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7.99995 6.86367L14.2222 0.5L16 2.31819L7.99995 10.5L-7.94756e-08 2.31819L1.77777 0.499999L7.99995 6.86367Z' fill='black'/%3E%3C/svg%3E%0A")
      no-repeat;
    background-position: 95% 50%;
    max-width: 450px;
    margin: 0 auto;
    margin-bottom: 50px;
    background-color: #FFFFFF;
  }

  .form-section form .form-row {
    flex-direction: column;
    gap: 10px;
  }

  .text-area-wrapper {
    gap: 30px;
    border: none;
  }

  .form-section form {
    gap: 10px;
  }

  .form-section {
    padding: 0 20px;
  }

  .form-section form :is(input, select, textarea) {
    padding-left: 20px;
    font-size: 14px;
    height: 47px;
  }

  .form-section form textarea {
    border: 1px solid var(--primary-color);
    height: 307px;
  }

  .form-section button {
    margin: 0;
    width: 100%;
    font-size: 14px;
  }

  .forms-policy {
    text-align: center;
  }

  .text-area-wrapper {
    align-items: center;    
  }

  .whatsapps-title {
    font-size: 14px;
    line-height: 17px;
  }

  .whatsapp-buttons {
    flex-direction: column;
    width: 238px;
    margin: 0 auto;
    gap: 10px;
  }

  .whatsapp-link {
    font-size: 14px;
    height: 69px;
  }

  .select-file label {
    font-size: 14px;
  }

  .select-file span {
    font-size: 12px;
  }

  .form-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .professional-experience {
    margin-top: 20px;
  }

  .form-text {
    font-size: 14px;
    margin-top: 0;
    margin-bottom: 20px;
  }

  .professional-experience .form-grid {
    flex-direction: row;
  }

  .professional-experience textarea {
    margin-top: 10px;
  }

  #wwu-position {
    margin-bottom: 20px;
  }

  .professional-experience textarea {
    height: 150px !important;
  }

  .wwu-form button {
    margin-top: 20px;
  }

  .assistence-form .whatsapp-link,
  .delivery-form .whatsapp-link {
    height: 57px;
    padding: 0 30px;
    width: fit-content;
    margin: 0 auto;
  }

  .assistence-form .whatsapp-buttons,
  .delivery-form .whatsapp-buttons {
    width: auto;
  }

  .delivery-form .whatsapps-title {
    font-size: 16px;
  }

  .delivery-form .contatos-whatsapp {
    margin-top: 30px;
  }
}
