* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  height: 100%;
  min-height: 100vh;
  background-color: #FFF;

  font-family: "Inter", serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img {
  max-width: 100%;
}

.flex {
  display: flex;
  gap: 1rem;
}

.flex-1 {
  flex: 1;
}

.flex-2 {
  flex: 2;
}

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

.hidden {
  display: none;
}

.desktop-only {
  display: initial;
}

.wrapper {
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
}

input {
  width: 100%;
  height: 2.75rem;

  border: 1px solid #D5D7DA;
  border-radius: 8px;
  padding: 0.625rem 0.875rem;

  font-size: 1rem;
  line-height: 1.5rem;
  color: #13161B;
}

input.input-error {
  border-color: #F04438;
}

header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;

  background-color: #c9ff73;
  padding: 0.5rem 2rem;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
}

.header-content {
  padding: 0.75rem;

  display: flex;
  align-items: center;
  gap: 2rem;
}

.header-content img {
  width: 130px;
}

.header-content nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;

  margin-inline: auto;
}

.header-content nav a {
  text-decoration: none;
  font-size: 1rem;
  line-height: 1.5rem;
  font-weight: 600;
  color: #3c373c;

  transition: color ease 0.2s;
}

.header-content nav a:hover {
  color: #0C0E12;
}

.header-content > a {
  text-decoration: none;
}

.button {
  height: 2.5rem;
  
  background-color: #c9ff73;
  border: 1px solid #c9ff73;
  border-radius: 4px;
  padding: 0.625rem 0.875rem; 
  
  font-family: "Inter", serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #3c373c;
  line-height: 1.25rem;

  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;

  cursor: pointer;
  transition: background-color ease 0.2s;
}

.button:hover {
  background-color: #ade552;
}

.button.secondary {
  background-color: transparent;
  border-color: #13161B;
  color: #13161B;
}

.button.secondary:hover {
  background-color: #FAFAFA;
}

.header-content .button {
  background-color: #3c373c;
  color: #c9ff73;
}

.header-content .button:hover {
  background-color: #414651;
}


#hero {
  position: relative;

  height: 100vh;

  background-image: url("./assets/background-hero.jpg");
  background-position: center;
  background-size: cover;
  object-fit: cover;

  display: flex;
  align-items: center;
  justify-content: center;
}

.badge {
  width: fit-content;

  display: flex;
  align-items: center;

  border: 1px solid #D5D7DA;
  padding: 0.25rem 0.625rem 0.25rem 0.25rem;
  border-radius: 0.625rem;
  box-shadow: 0 0 2px 0 rgba(10, 13, 18, 0.05);
  background-color: #6f6f6f;

  font-size: 0.875rem;
  font-weight: 500;
  color: #FFF;
  line-height: 1.25rem;

  margin-inline: auto;
  margin-bottom: 1rem;
}

.badge-highlight {
  border: 1px solid #D5D7DA;
  padding: 0.125rem 0.5rem;
  border-radius: 6px;

  display: flex;
  align-items: center;
  gap: 0.375rem;

  margin-right: 0.75rem;
}

.circle {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background-color: #c9ff73;

  display: flex;
  align-items: center;
  justify-content: center;
}

.circle-inner {
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 50%;
  background-color: #ade552;
}

.badge > i {
  font-size: 1rem;
  color: #FFF;

  margin-left: 0.25rem;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #c9ff73;
  line-height: 4.5rem;
  letter-spacing: -0.02em;
  text-align: center;

  margin-bottom: 1.5rem;
}

h1 strong {
  font-size: 4rem;
  text-decoration: underline;
}

#hero p {
  max-width: 48rem;
  
  text-align: center;
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.875rem;
  color: #FFF;
  
  margin-inline: auto;
  margin-bottom: 3rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
}

#hero a {
  text-decoration: none;
}





#about {
  background-color: #3c373c;
  padding: 6rem 0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
}

.highlight {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5rem;
  color: #FFF;
}

.about-resume h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 2.75rem;
  color: #c9ff73;

  margin-bottom: 1.25rem;
  margin-top: 0.75rem;
}

.about-resume p {
  font-size: 1.25rem;
  line-height: 1.875rem;
  color: #E9EAEB;
}

.about-benefits-item {
  display: flex;
  align-items: start;
  gap: 1rem;
}

.icon-area {
  width: 3rem;
  height: 3rem;

  flex: 0 0 3rem;
  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid #FFF;
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  border-radius: 10px;
}

.icon-area i {
  font-size: 1.5rem;
  color: #c9ff73;
}

.about-benefits-item + .about-benefits-item {
  margin-top: 3rem;
}

.about-benefits-item-content {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;

  padding-top: 0.625rem;
}

.about-benefits-item-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.875rem;
  color: #c9ff73;
}

.about-benefits-item-content p {
  font-size: 1rem;
  line-height: 1.5rem;
  color: #FFF;
}




#register {
  padding: 6rem 0;
}

#register .highlight {
  color: #0C0E12;
}

.form-area-left > h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 2.75rem;
  color: #181D27;

  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
}

.form-area-left > p {
  font-size: 1.25rem;
  line-height: 1.875rem;
  color: #535862;

  margin-bottom: 2rem;
}

.register-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.form-area-steps {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 1rem;

  margin-bottom: 2rem;
}

.form-step-line {
  width: 100%;
  height: 4px;

  background-color: #E9EAEB;

  transition: background-color ease 0.2s;
}

.form-step-line.filled {
  background-color: #0C0E12;
}

.form-area-step strong {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25rem;
  color: #414651;
  
  display: block;
  margin-top: 0.5rem;
}

.form-area-step p {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #535862;
}

.input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.input-wrapper .flex-col {
  gap: 0.5rem;
}

.input-wrapper.hidden {
  display: none;
}

.input-wrapper label {
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.5rem;
  color: #414651;
}

.flex + .input-wrapper {
  margin-top: 1rem;
}

.input-wrapper:not(.flex .input-wrapper) + .input-wrapper:not(.flex .input-wrapper) {
  margin-top: 1rem;
}

.input-wrapper + .flex {
  margin-top: 1rem;
}

#form-pf, #form-pj {
  margin-top: 1rem;
}


.document-tip {
  display: flex;
  align-items: center;
  gap: 0.5rem;

  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5rem;
  color: #373A41;

  margin-bottom: 2rem;
}

.document-tip i {
  font-size: 1.5rem;
}

.document-tip.hidden {
  display: none;
}


.radio-tab-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 1rem;
}

.radio-tab-inner {
  flex: 1;

  height: 2.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 8px;
  border: 1px solid #E9EAEB;

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

  position: relative;

  cursor: pointer;

  & input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    position: absolute;
    inset: 0;
    opacity: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    cursor: pointer;
    z-index: 1;
  }

  & label {
    font-size: 0.875rem;
    color: #717680;

    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  &:has(:checked) {
    border-color: #0C0E12;

    & label {
      color: #181D27;
      font-weight: 500;
    }
  }
}


.radio-wrapper {
  height: 2.75rem;

  border: 1px solid #E9EAEB;
  border-radius: 8px;
  padding: 0.25rem;
  background-color: #FDFDFD;

  display: flex;
  gap: 0.25rem;
}

.radio-inner {
  flex: 1;

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

  border-radius: 6px;

  position: relative;

  cursor: pointer;

  & input,
  & input:focus,
  & input:hover {
    all: unset;
    position: absolute;
    inset: 0;
    opacity: 0;
  }

  & label {
    font-size: 0.75rem;
    color: #717680;

    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  &:has(:checked) {
    background-color: #f5f5f5;

    & label {
      color: #181D27;
      font-weight: 500;
    }
  }
}



.register-img {
  width: 100%;
  height: 100%;

  position: relative;
}

.register-img img {
  width: 100%;
  height: 750px;

  object-fit: cover;
}

.register-description {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;

  width: 100%;
  background-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 2rem;
}

.register-description h4 {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.5rem;
  color: #FFFFFF;

  margin-bottom: 0.5rem;
}

.register-description p {
  font-size: 0.875rem;
  line-height: 1.25rem;
  color: #FFFFFF;
}

.upload-wrapper {
  height: 2.75rem;
}

.upload-inner {
  display: flex;
  align-items: center;
  gap: 0.75rem;

  position: relative;

  & input,
  & input:focus,
  & input:hover {
    all: unset;
    position: absolute;
    inset: 0;
    opacity: 0;
  }

  & label {
    min-width: 100px;
    height: 2.75rem;

    display: flex;
    align-items: center;
    gap: 0.5rem;

    background-color: #f5f5f5;
    border-radius: 8px;
    padding: 0.625rem 0.875rem;

    transition: background-color ease 0.2s;
    cursor: pointer;
  }

  & p {
    font-size: 0.875rem;
    color: #535862;
  }

  &:hover {
    & label {
      background-color: #E9EAEB;
      cursor: pointer;
    }
  }
}

.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;

  position: relative;

  & input,
  & input:focus,
  & input:hover {
    all: unset;
    position: absolute;
    inset: 0;
    opacity: 0;
  }

  & label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #535862;
  }

  & .checkbox-box {
    pointer-events: none;

    width: 1.25rem;
    height: 1.25rem;

    border-radius: 4px;
    border: 1px solid #535862;

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

    & i {
      opacity: 0;
      color: #FFFFFF;
      font-size: 0.75rem;
    }
  }

  & input:checked ~ .checkbox-box {
    background-color: #13161B;

    & i {
      opacity: 1;
    }
  }
}




.register-actions {
  margin-top: auto;
  margin-top: 2rem;

  display: flex;
  justify-content: end;
  gap: 1rem;
}

.success-content {
  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 2rem;
}

.success-icon {
  width: 3rem;
  height: 3rem;

  border-radius: 50%;
  background-color: #DBF5EC;

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

  margin-bottom: 1rem;
}

.success-icon i {
  font-size: 2.5rem;
  color: #17B980;
}

.success-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.75rem;
  color: #0C0E12;

  margin-bottom: 0.25rem;
}

.success-content p {
  text-align: center;
  font-size: 0.875rem;
  line-height: 1.5rem;
  color: #373A41;

  margin-bottom: 1rem;
}







#contact {
  background-color: #0C0E12;
  padding: 6rem 0;
}

.contact-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-content h2 {
  font-size: 2rem;
  font-weight: 600;
  line-height: 2.75rem;
  color: #FFFFFF;

  margin-top: 0.75rem;
  margin-bottom: 1.25rem;
}

.contact-content p {
  font-size: 1.25rem;
  line-height: 1.875rem;
  color: #94979C;

  margin-bottom: 2rem;
}

#contact .highlight {
  color: #CECFD2;
  margin-inline: auto;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;

  padding: 4rem 2rem;

  margin-inline: auto;
}

.contact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-icon {
  width: 3rem;
  height: 3rem;

  border-radius: 50%;
  background-color: #181D27;

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

  margin-bottom: 1.25rem;
}

.contact-icon i {
  font-size: 1.5rem;
  color: #c9ff73;
}

.contact-item h4 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.875rem;
  color: #F7F7F7;

  margin-bottom: 0.5rem;
}

.contact-item p {
  font-size: 1rem;
  line-height: 1.5rem;
  color: #94979C;

  margin-bottom: 1.25rem;
}

.contact-item span {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.5rem;
  color: #CECFD2;

  text-align: center;
}





footer {
  background-color: #0C0E12;

  padding-bottom: 3rem;
}

.footer-content {
  height: 3.5rem;

  display: flex;
  align-items: end;
  justify-content: center;

  border-top: 1px solid #22262F;
}

.footer-content p {
  font-size: 1rem;
  line-height: 1.5rem;
  color: #94979C;
}



.overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 50;

  display: flex;
  align-items: center;
  justify-content: center;
}

.overlay.hidden {
  display: none;
}

.overlay i {
  font-size: 2.5rem;
  color: #FFFFFF;

  animation: spin 2s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}







.toast {
  width: 24.25rem;
  position: fixed;
  bottom: -100px; 
  right: 2rem;
  background-color: hsl(0 72.22% 50.59%);
  color: white;
  padding: 1rem;
  border-radius: 6px;
  transition: all 0.5s ease;
  opacity: 0;

  z-index: 50;
}

.toast.show {
  bottom: 2rem;
  opacity: 1;
}

.toast.hide {
  transform: translate(100%); /* Move para direita */
  opacity: 0;
}

.toast strong {
  font-size: 0.875rem;
  line-height: 1.5rem;
  color: #FFFFFF;

  margin-bottom: 0.25rem;
}

.toast p {
  font-size: 0.75rem;
  line-height: 1rem;
  color: #FFFFFF;
  opacity: 0.9;
}







@media (max-width: 480px) {
  .wrapper {
    padding: 0 1rem;
  }

  header {
    height: 4rem;
    padding: 0;

    display: flex;
    align-items: center;
  }
  
  .header-content {
    height: 2.5rem;
    border: 0;
    box-shadow: none;
    padding: 0;

    justify-content: space-between;
  }

  .header-content nav {
    display: none;
  }

  .badge {     
    font-size: 0.625rem;
    line-height: 1.125rem;
  }
  
  .badge-highlight {
    padding: 0.125rem 0.25rem;
    gap: 0.125rem;
    
    margin-right: 0.375rem;
  }

  h1 {
    font-size: 2.25rem;
    line-height: 2.75rem;
  
    margin-bottom: 1rem;
  }

  h1 strong {
    font-size: 3rem;
  }
  
  #hero p {
    font-size: 1rem;
    line-height: 1.75rem;
  
    margin-bottom: 2rem;
  }
  
  .hero-actions {
    display: flex;
    justify-content: center;
  }
  
  #hero a {
    text-decoration: none;
  }  
  
  #about {
    padding: 4rem 0;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .highlight {
    font-size: 0.875rem;
    line-height: 1.25rem;
  }

  .about-resume h2 {
    font-size: 1.875rem;
    line-height: 2.375rem;

    margin-bottom: 1rem;
  }

  .about-resume p {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }

  .icon-area {
    width: 2.5rem;
    height: 2.5rem;

    flex: 0 0 2.5rem;

    border-radius: 8px;
  }

  .icon-area i {
    font-size: 1.25rem;
  }

  .about-benefits-item + .about-benefits-item {
    margin-top: 2.5rem;
  }

  .about-benefits-item-content {
    gap: 0.25rem;

    padding-top: 0.375rem;
  }

  .about-benefits-item-content h4 {
    font-size: 1.125rem;
    line-height: 1.875rem;
  }

  #register {
    padding: 4rem 0;
  }
  
  .form-area-left > h2 {
    font-size: 1.875rem;
    line-height: 2.375rem;
  
    margin-bottom: 1rem;
  }
  
  .form-area-left > p {
    font-size: 1.125rem;
    line-height: 1.75rem;
  
    margin-bottom: 2rem;
  }
  
  .register-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .input-wrapper .flex-col {
    gap: 0.25rem;
  }
  
  .input-wrapper label {
    font-size: 0.75rem;
    line-height: 1.25rem;
  }
  
  .flex + .input-wrapper {
    margin-top: 0.5rem;
  }
  
  .input-wrapper:not(.flex .input-wrapper) + .input-wrapper:not(.flex .input-wrapper) {
    margin-top: 0.5rem;
  }



  #contact {
    padding: 4rem 0;
  }
  
  .contact-content h2 {
    text-align: center;

    margin-bottom: 1rem;
  }
  
  .contact-content p {
    text-align: center;

    font-size: 1.125rem;
    line-height: 1.75rem;
  
    margin-bottom: 0;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  
    padding: 2rem 0;
  }
  
  .contact-icon {
    width: 2.5rem;
    height: 2.5rem;
  
    margin-bottom: 1rem;
  }
  
  .contact-icon i {
    font-size: 1.25rem;
  }
  
  .contact-item h4 {
    font-size: 1.125rem;
    line-height: 1.75rem;
  
    margin-bottom: 0.25rem;
  }
  
  .contact-item p {
    font-size: 1rem;
    line-height: 1.5rem;
  
    margin-bottom: 1rem;
  }
  
  .contact-item span {
    font-size: 1.125rem;
    line-height: 1.5rem;
  }

  .button {
    height: 2.25;

    padding: 0.5rem 0.75rem;
  }
}