*,
::before,
::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
  font: inherit;
  font-family: "Open Sans", Sans-serif;
  color: white;
}

img {
  max-width: 100%;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.items-center {
  align-items: center;
  justify-content: center;
}

.section {
  background-color: #0E1028;
  padding: 5em 0em 5em 0em;
}

.col-1 {
  gap: 30px;
}

.col-2 {
  gap: 30px;
  text-align: center;
  margin-top: 120px;
}

.title {
  color: #FFFFFF;
  font-size: 47px;
  font-weight: 900;
  text-transform: uppercase;
  font-style: italic;
  line-height: 49px;
}

.btn-1 {
  border-radius: 15px;
  background-color: #0E1028;
  color: white;
  text-decoration: none;
  padding: 15px;
  text-align: center;
  display: block;
  margin-top: 15px;
  font-weight: bold;
  font-size: 14px;
}

.description-2 {
  max-width: 576px;
  margin: 0 auto;
  color: #FFFFFF;
  font-size: 19px;
  font-weight: 400;
  line-height: 29px;
  text-align: center;
  
}

.box {
  background: #e85f1e;
  padding: 30px;
  border-radius: 16px;
  margin-top: 60px;
}

.title-2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 35px;
  text-align: center;
  margin-bottom: 15px;
}

.bar {
  background-color: #FFFFFF;
  border-radius: 41px;
  width: 320px;
  height: 31px;
  position: relative;
}

.text-footer {
  font-size: 17px;
  font-weight: 600;
  text-transform: uppercase;
  line-height: 34px;
  letter-spacing: -0.9px;
}

.link-1 {
  color: #FFFFFF;
  font-family: "Open Sans", Sans-serif;
  font-size: 23px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: underline;
  line-height: 34px;
  letter-spacing: -2.1px;

}

.logo {
  max-width: 153px;
}

.bar-container {
  text-align: center;
  font-style: italic;
}

.bar:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 75%;
  background: linear-gradient(73deg, rgba(255, 115, 1, 1) 0%, rgba(255, 155, 37, 1) 100%);
  border-top-left-radius: 41px;
  border-bottom-left-radius: 41px;
}

.description {
  max-width: 576px;
  margin: 0 auto;
  color: #FFFFFF;
  font-size: 23px;
  font-weight: 400;
  line-height: 29px;
  text-align: center;
}

.orange {
  color: #e85f1e;
  font-weight: bolder;
}

.whatsapp {
  font-size: 22px;
  font-weight: 800;
  text-transform: uppercase;
  fill: #FFFFFF;
  color: #FFFFFF;
  background-color: #06B918;
  border-radius: 56px 56px 56px 56px;
  box-shadow: 0px 0px 24px 0px #06B918;
  padding: 20px 40px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 2px;
}

.whatsapp svg {
  width: 22px;
  height: 22px;
}

.sp1 {
  width: 22px;
  height: 22px;
}

@media(max-width: 767px) {
  .section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .description {
    font-size: 19px;
    line-height: 1.1em;
    font-weight: 500;
  }

  .whatsapp {
    font-size: 19px;
    text-align: center;
    align-items: flex-start;
    line-height: 1.1;
  }

  .title {
    font-size: 22px;
    line-height: 26px;
    text-align: center;
  }

  .link-1{
    font-size: 16px;
  }
  .text-footer {
    font-size: 15px;
  }
  .col-1 {
      gap: 15px;
  }
  .description {
      font-size: 16px !important;
      line-height: 24px !important;
  }
  .logo {
    max-width: 80px;
}
.t12 {
  font-size: 10px !important;
}
.bar {
    height: 20px;
}
}
.step {
  display: none;
}

.step.active {
  display: block;
  animation: fadeIn 0.5s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.progress {
  width: 100%;
  height: 6px;
  background: #e9ecef;
  border-radius: 3px;
  margin-bottom: 40px;
}

.progress-bar {
  height: 100%;
  background: #dd8118;
  border-radius: 3px;
  transition: width 0.8s ease-in-out;
}

h3 {
  color: #212529;
  margin-bottom: 25px;
  font-size: 24px;
  text-align: left;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.radio-option {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  text-align: left;
  color: #000;
}

.radio-option:hover {
  background: #e9ecef;
}

.radio-option:before {
  content: attr(data-letter);
  font-weight: bold;
  margin-right: 10px;
  color: #dd8118;
}

.radio-option:after {
  content: "✓";
  margin-left: auto;
  color: #dd8118;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.2s;
}

#formModal input,
#formModal ::placeholder,
#formModal h3 {
  color: #000;
}

#formModal input[type="radio"]:checked + .radio-option {
  background: #fff1e1;
  border-color: #dd8118;
  color: #dd8118;
  font-weight: 500;
  box-shadow: 0 0 0 1px #dd8118;
}

#formModal input[type="radio"]:checked + .radio-option:after {
  opacity: 1;
}

#formModal input[type="text"],
#formModal input[type="email"] {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-bottom: 1px solid #dee2e6;
  font-size: 20px;
  margin-bottom: 20px;
  transition: border-color 0.3s;
  background: transparent;
}

#formModal input[type="text"]:focus,
#formModal input[type="email"]:focus {
  outline: none;
  border-bottom: 2px solid #dd8118;
  margin-bottom: 19px;
}

.nav-buttons {
  margin-top: 30px;
  display: flex;
  gap: 10px;
}

#formModal button {
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s;
}

#prevBtn {
  background: #f8f9fa;
  color: #212529;
  font-weight: bold;
}

#nextBtn {
  background: #dd8118;
  color: white;
  font-weight: bold;
}

#prevBtn:hover {
  background: #e9ecef;
}

#nextBtn:hover {
  background: #c67316;
}

.error-message {
  color: #dc3545;
  font-size: 14px;
  margin-top: -15px;
  margin-bottom: 15px;
  display: none;
}

#formModal input.invalid {
  border-color: #dc3545;
}

#formModal input.invalid:focus {
  box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.25);
}

#formModal input[type="radio"] {
  display: none;
}

.input-container {
  position: relative;
}

.input-container::after {
  content: "";
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #dd8118;
  transition: width 0.3s ease-in-out;
}

.input-container:focus-within::after {
  width: 100%;
}

/* Estilos específicos para checkbox */
#formModal input[type="checkbox"] {
  display: none;
}

/* Permitir múltiplas seleções com visual ativo */
#formModal input[type="checkbox"]:checked + .radio-option {
  background: #fff1e1;
  border-color: #dd8118;
  color: #dd8118;
  font-weight: 500;
  box-shadow: 0 0 0 1px #dd8118;
}

#formModal input[type="checkbox"]:checked + .radio-option:after {
  opacity: 1;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #f3f3f3;
  border-top: 4px solid #dd8118;
  border-radius: 50%;
  margin: 0 auto;
  animation: spin 1s linear infinite;
}

.text {
  font-size: 22px;
  color: white;
  font-weight: 600;
}
.custom-form {
  padding: 0;
  max-width: 576px;
  width: 100%;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

h2 {
  font-size: 30px;
}

/* Media Queries */
@media screen and (max-width: 768px) {
  h3 {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .radio-option {
    padding: 12px 15px;
    font-size: 14px;
  }

  .text {
    font-size: 16px;
  }

  #formModal input[type="text"],
  #formModal input[type="email"] {
    font-size: 16px;
    padding: 10px 0;
  }

  .nav-buttons {
    margin-top: 20px;
  }

  #formModal button {
    padding: 10px 20px;
    font-size: 14px;
    width: 100%;
    margin-bottom: 10px;
  }

  .nav-buttons {
    flex-direction: column-reverse;
  }
  .content-footer, .copy {
  flex-direction: column;
  align-items: center;
}
.links {
  grid-template-columns: 1fr;
}
.copy {
  margin-top: 30px;
}
}

@media screen and (max-width: 480px) {
  .radio-option {
    padding: 10px 12px;
    font-size: 13px;
  }

  .progress {
    margin-bottom: 25px;
  }

  .radio-group {
    gap: 10px;
  }
}

/* Fix para inputs em iOS */
@media screen and (max-width: 768px) {
  #formModal input[type="text"],
  #formModal input[type="email"] {
    -webkit-appearance: none;
    border-radius: 0;
  }
}

/* Previne zoom em inputs no iOS */
@media screen and (max-width: 768px) {
  #formModal input[type="text"],
  #formModal input[type="email"],
  #formModal textarea {
    font-size: 16px !important;
  }
}