/* Gilroy */
@import url('../../font/Gilroy/Gilroy.css');

:root {
  --tema: #f50052;
}
.modal-cadastro {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 400;
  background: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  display: none;
  color: #333;
}
.modal-cadastro > div {
  height: fit-content;
}
.modal-cadastro div {
  color: #333;
}
.modal-cadastro.mostrar {
  display: flex;
}
.modal {
  width: min(46rem, 90%);
  padding: 4.4rem clamp(2.8rem, 4vw, 4.2rem) 6.2rem;
  border-radius: 1rem;
  box-shadow: 0px 3px 30px #e7004c38;
  -webkit-box-shadow: 0px 3px 30px #e7004c38;
  position: relative;
  color: #e7e7e7;
  background: #efefef;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.modal-close {
  width: 2rem;
  height: 2rem;
  transition: 0.5s;
  cursor: pointer;
  align-self: flex-end;
  position: relative;
}
.modal-close::before,
.modal-close::after {
  position: absolute;
  content: '';
  width: 2.4rem;
  height: 0.3rem;
  background-color: #dd004a;
  top: 1vw;
  left: 0;
  transform: rotate(45deg);
}
.modal-close::after {
  transform: rotate(-45deg);
}
.modal-close:hover {
  transform: scale(1.01);
}
.modal-title {
  width: min(34rem, 100%);
  font-size: clamp(2.6rem, 3vw, 3rem);
  font-weight: bold;
  line-height: 1.2;
  color: #00022b;
  padding: 2rem 0;
  position: relative;
}
.modal form {
  position: relative;
}
.modal label,
._form-branding,
._field-wrapper {
  display: none;
}
._field-wrapper.show {
  display: block;
}
.modal form input[type='text'],
.modal form input[type='email'],
.modal form input[type='tel'] {
  width: 100%;
  font-size: 1.6rem;
  line-height: 2.2;
  color: #111;
  min-height: 4rem;
  padding: 0;
  margin-bottom: 1rem;
  border: 0;
  border-bottom: 1px solid #dd004a !important;
  border-radius: 0;
  transition: all 0.5s ease;
}
.onm-cadastro-nome:hover,
.onm-cadastro-email:hover,
.onm-cadastro-tel:hover {
  border-bottom: 1px solid var(--tema) !important;
}
.onm-cadastro-nome:focus,
.onm-cadastro-email:focus,
.onm-cadastro-tel:focus {
  border-bottom: 1px solid var(--tema) !important;
}
form input:focus:invalid,
form textarea:focus:invalid,
form select:focus:invalid {
  color: #111 !important;
  border-color: none !important;
  border-bottom: 1px solid var(--tema) !important;
}
.modal form a {
  color: #111;
}
.modal form .onm-btn {
  width: 100%;
  margin: 0;
  background: var(--tema);
  border: 1px solid #ccc;
  border-radius: 10px;
}
.modal .loader {
  position: absolute;
  content: '';
  /*bottom: -3.8rem;*/
  left: 50%;
  width: 24px;
  height: 24px;
  border: 2px solid #ffff;
  border-bottom-color: transparent;
  border-radius: 50%;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
  display: none;
}
@keyframes rotation {
  0% {
    transform: translateX(-50%) rotate(0deg);
  }
  100% {
    transform: translateX(-50%) rotate(360deg);
  }
}
@media screen and (max-width: 700px) {
}

.modal form .onm-btn {
  width: 100%;
  transition: all ease 0.25s;
  cursor: pointer;
  text-transform: uppercase;
  color: #fff;
  padding: 20px 0;
  font-size: 18px;
  font-weight: 600;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0 0;
  border-radius: 90px;
  overflow: hidden;
  box-shadow: unset;
  background: #f50052;
}

.modal form .onm-btn:hover {
  background: #d20346;
}

.modal form .onm-btn .initial {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 20px;
  transition: 0.5s;
}

.modal form .onm-btn .final {
  width: 100%;
  opacity: 0;
  margin-left: -100%;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  transition: 0.5s;
}

.modal form .onm-btn.sended .initial {
  width: 100%;
  opacity: 0;
  margin-right: -100%;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.modal form .onm-btn.sended .final {
  width: 100%;
  opacity: 1;
  margin-left: 0;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.modal form .onm-btn p {
  color: #fff;
  margin: 0;
}

div[data-framer-name='btn-sql'] {
  cursor: pointer;
}

div[data-framer-name='btn-sql']:hover {
  box-shadow: 0 0 12px 2px rgba(255, 255, 255, 0.5);
}

.modal-terms {
  font-size: 12px;
  text-align: center;
  margin: 1.5rem auto 0;
}

div[data-framer-name='layout-desktop-framer'] {
  transform-origin: top;
}

.modal-cadastro .onm-btn-txt {
  color: #fff;
}
