/* Geral */
body {
    font-family: 'Inter', sans-serif;
    background-color: #ffffff;
    color: #333333;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    color: #2c3e50;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

main {
    flex: 1;
  }

form {
    max-width: 640px;
    margin: 40px auto;
    padding: 40px;
    background-color: #f9f9f9;
    border: 1px solid #dddddd;
    background-color: #ffffff;
    border: none;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  }

/* NAV */
.menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #f9f9f9;
    padding: 10px 20px;
    border-bottom: 2px solid #dfdfdf;
    background: #ffffff;
    padding: 10px 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 10;
}

.menu img {
    max-width: 140px;
    padding: 10px 0;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: #2c3e50;
}

.menu .links {
    align-content: center;
}

.menu a {
    margin-right: 25px;
    color: #2c3e50;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
}

.links ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 40px;
}

.links li {
  position: relative;
}

.menu a:hover {
    color: #4e73df;
}

.menu a::before {
  content: '';
  display: block;
  height: 5px;
  background-color: #4e73df;
  position: absolute;
  top: -15px;
  width: 0%;
  transition: all ease-in-out 250ms;
}

.menu a:hover::before {
    width: 80%;
}

.title {
    text-align: center;
    margin-top: 40px;
}

.title h1 {
    font-size: 36px;
    color: #333333;
    color: #2c3e50;
    margin: 0;
}

  /* Cabeçalho do formulário */
  form h2 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 20px;
    border-left: 4px solid #4e73df;
    padding-left: 10px;
  }
  
  /* Labels */
  form label {
    font-size: 16px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 8px;
    display: block;
  }
  
  /* Inputs */
  form input[type="text"],
  form input[type="email"] {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #cccccc;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
  }
  
  /* Estilo de foco nos inputs */
  form input[type="text"]:focus,
  form input[type="email"]:focus {
    border-color: #4e73df;
    box-shadow: 0 0 5px rgba(78, 115, 223, 0.5);
    outline: none;
  }

  /* Botão */
  form button {
    width: 100%;
    padding: 12px 20px;
    background-color: #ffd700;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
  }

  form button:disabled {
    background-color: #e6c200;
    cursor: not-allowed;
  }

  /* Estilização do checkbox */
#dataConsent {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #007BFF;
    border-radius: 4px;
    outline: none;
    cursor: pointer;
    background-color: #fff;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

/* Estado marcado */
#dataConsent:checked {
    background-color: #007BFF;
    border-color: #007BFF;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3E%3Cpath d='M13.485 1.925L6.747 12.02l-4.232-4.22a1 1 0 0 0-1.415 1.415l5 5a1 1 0 0 0 1.541-.126l7.5-11.5a1 1 0 1 0-1.656-1.152z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
}

/* Estilização da label */
label[for="dataConsent"] {
    font-family: Arial, sans-serif;
    font-size: 14px;
    color: #333;
    margin-left: 8px;
    cursor: pointer;
    font-weight: 100;
    text-align: justify;
}

/* Espaçamento e alinhamento */
.privacy {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-wrapper-19 {
  box-sizing: border-box;
  --background-color: #fff;
  --checkbox-height: 25px;
}

.label-privacy {
    padding-right: 25px;
}

@-moz-keyframes dothabottomcheck-19 {
  0% {
    height: 0;
  }
  100% {
    height: calc(var(--checkbox-height) / 2);
  }
}

@-webkit-keyframes dothabottomcheck-19 {
  0% {
    height: 0;
  }
  100% {
    height: calc(var(--checkbox-height) / 2);
  }
}

@keyframes dothabottomcheck-19 {
  0% {
    height: 0;
  }
  100% {
    height: calc(var(--checkbox-height) / 2);
  }
}

@keyframes dothatopcheck-19 {
  0% {
    height: 0;
  }
  50% {
    height: 0;
  }
  100% {
    height: calc(var(--checkbox-height) * 1.2);
  }
}

@-webkit-keyframes dothatopcheck-19 {
  0% {
    height: 0;
  }
  50% {
    height: 0;
  }
  100% {
    height: calc(var(--checkbox-height) * 1.2);
  }
}

@-moz-keyframes dothatopcheck-19 {
  0% {
    height: 0;
  }
  50% {
    height: 0;
  }
  100% {
    height: calc(var(--checkbox-height) * 1.2);
  }
}

.checkbox-wrapper-19 input[type=checkbox] {
  display: none;
}

.checkbox-wrapper-19 .check-box {
  height: var(--checkbox-height);
  width: 80px;
  background-color: transparent;
  border: calc(var(--checkbox-height) * .1) solid #000;
  border-radius: 5px;
  position: relative;
  display: inline-block;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -moz-transition: border-color ease 0.2s;
  -o-transition: border-color ease 0.2s;
  -webkit-transition: border-color ease 0.2s;
  transition: border-color ease 0.2s;
  cursor: pointer;
}
.checkbox-wrapper-19 .check-box::before,
.checkbox-wrapper-19 .check-box::after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  position: absolute;
  height: 0;
  width: calc(var(--checkbox-height) * .2);
  background-color: #34b93d;
  display: inline-block;
  -moz-transform-origin: left top;
  -ms-transform-origin: left top;
  -o-transform-origin: left top;
  -webkit-transform-origin: left top;
  transform-origin: left top;
  border-radius: 5px;
  content: " ";
  -webkit-transition: opacity ease 0.5;
  -moz-transition: opacity ease 0.5;
  transition: opacity ease 0.5;
}
.checkbox-wrapper-19 .check-box::before {
  top: calc(var(--checkbox-height) * .72);
  left: calc(var(--checkbox-height) * .41);
  box-shadow: 0 0 0 calc(var(--checkbox-height) * .05) var(--background-color);
  -moz-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
  transform: rotate(-135deg);
}
.checkbox-wrapper-19 .check-box::after {
  top: calc(var(--checkbox-height) * .37);
  left: calc(var(--checkbox-height) * .05);
  -moz-transform: rotate(-45deg);
  -ms-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}

.checkbox-wrapper-19 input[type=checkbox]:checked + .check-box,
.checkbox-wrapper-19 .check-box.checked {
  border-color: #34b93d;
}
.checkbox-wrapper-19 input[type=checkbox]:checked + .check-box::after,
.checkbox-wrapper-19 .check-box.checked::after {
  height: calc(var(--checkbox-height) / 2);
  -moz-animation: dothabottomcheck-19 0.2s ease 0s forwards;
  -o-animation: dothabottomcheck-19 0.2s ease 0s forwards;
  -webkit-animation: dothabottomcheck-19 0.2s ease 0s forwards;
  animation: dothabottomcheck-19 0.2s ease 0s forwards;
}
.checkbox-wrapper-19 input[type=checkbox]:checked + .check-box::before,
.checkbox-wrapper-19 .check-box.checked::before {
  height: calc(var(--checkbox-height) * 1.2);
  -moz-animation: dothatopcheck-19 0.4s ease 0s forwards;
  -o-animation: dothatopcheck-19 0.4s ease 0s forwards;
  -webkit-animation: dothatopcheck-19 0.4s ease 0s forwards;
  animation: dothatopcheck-19 0.4s ease 0s forwards;
}




  
  /* Questionário */
/* Estilização para o segundo questionário com identidade visual da DropReal */
#questionsContainer {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
    background-color: #f7f7f7;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.question {
    background-color: #fdfdfd;
    border: 1px solid #eeeeee;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex !important;
    flex-direction: column !important;
}

.question:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.answers {
    display: flex;
    gap: 10px;
    border: 1px solid #f7f7f7;
    background: #fff;
    width: 100%;
}

.question p {
    font-size: 18px;
    font-weight: bold;
    color: #333333;
    margin-bottom: 30px;
    border-left: 4px solid #ffd700;
    padding-left: 10px;
    text-align: justify;
}

.options-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
}

.question label {
    flex: 1 1 calc(25% - 10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    /*border: 1px solid #dddddd;
    border-radius: 5px;*/
    background-color: #ffffff;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    color: #555555;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.question label:hover {
    background-color: #333;
    color: #ffcc29;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-weight: bold;
}

.question input[type="radio"] {
    display: none;
}

.question .active{
    background-color: #333;
    color: #ffcc29;
    border-color: #e6c200;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-weight: bold;
}

/* Botão Enviar */
#enviarBtn {
    width: auto;
    max-width: 300px;
    padding: 15px 30px;
    background-color: #ffd700;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    color: #333333;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    margin: 20px auto;
    display: block;
    text-align: center;
}

#enviarBtn:hover {
    background-color: #e6c200;
    transform: translateY(-2px);
    margin: 40px auto 0;
    display: block;
}

/* Títulos (H1 e H2) */
h1 {
    font-size: 36px;
    text-align: center;
    color: #333333;
    margin: 30px auto;
    border-bottom: 2px solid #ffd700;
    display: block;
    padding-bottom: 10px;
    line-height: 1.2;
    width: fit-content;
}

h2 {
    font-size: 28px;
    text-align: center;
    color: #555555;
    margin-bottom: 20px;
    line-height: 1.4;
    padding-left: 10px;
}

/* FOOTER */
.footer {
    background-color: #111;
    color: #fff;
    text-align: center;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
    background: #2c3e50;
    color: #ffffff;
    text-align: center;
    padding: 20px 20px;
    margin-top: auto;
}

.footer h2 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: 600;
    color: #ffffff;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: color 0.3s;
    text-transform: uppercase;
}

.footer-nav a:hover {
    color: #ffd700;
    color: #4e73df;
}

.footer-social {
    margin: 20px 0;
}

.footer-social .social-icon {
    display: inline-block;
    width: 40px;
    height: 40px;
    margin: 0 10px;
    line-height: 40px;
    border: 1px solid #ffd700;
    border-radius: 50%;
    color: #ffd700;
    border: 1px solid #4e73df;
    border-radius: 50%;
    color: #4e73df;
    font-size: 18px;
    transition: all 0.3s;
}

.footer-social .social-icon:hover {
    background-color: #ffd700;
    color: #111;
    background-color: #4e73df;
    color: #ffffff;
}

.footer-copyright {
    font-size: 12px;
    margin-top: 20px;
    color: #bbb;
}

.footer-copyright a {
    color: #ffd700;
    color: #4e73df;
    text-decoration: none;
}

.footer-copyright a:hover {
    text-decoration: underline;
}

.hidden {
    display: none !important;
}


/* RESPONSIVO */
@media (max-width: 1024px) {
    .menu img {
        max-width: 100px;
    }

    form {
        max-width: 90%;
        padding: 15px;
    }

    #questionsContainer {
        max-width: 90%;
    }

    .footer {
        padding: 20px 10px;
    }
}

@media (max-width: 768px) {
    .menu {
        padding: 10px;
        flex-wrap: wrap;
    }

    .menu img {
        max-width: 100px;
        padding: 0;
    }

    .menu .links {
        display: none;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        text-align: center;
        margin-top: 10px;
    }

    .menu .links.show {
        display: flex;
    }

    .menu-toggle {
        display: block;
    }

    .links ul {
        margin: auto;
    }

    .links li {
        margin-left: 0;
    }

    .title {
        width: 85%;
        margin: auto;
    }

    form h2 {
        margin-bottom: 30px;
    }

    form label {
        margin-bottom: 0
    }

    form input[type="text"],
    form input[type="email"] {
        font-size: 14px;
    }

    form button {
        font-size: 14px;
    }

    .checkbox-wrapper-19 .check-box {
        width: 140px;
    }

    .label-privacy {
        font-size: 12px !important;
        padding-right: 20px;
    }

    #questionsContainer {
        max-width: 92%;
        padding: 5px;
    }

    .question p {
        font-size: 16px;
    }

    .question label {
        flex: 1 1 calc(30% - 10px);
        max-width: 40%;
    }

    .answers {
        flex-wrap: wrap;
    }

    .footer-nav ul {
        gap: 0;
    }

    .footer-nav li {
        margin: 0 20px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 24px;
    }

    h2 {
        font-size: 20px;
    }

    .question label {
        flex: 1 1 calc(100% - 10px);
        max-width: 100%;
    }

    .answers {
        gap: 0;
    }

    form {
        padding: 10px;
    }

    form input[type="text"],
    form input[type="email"] {
        font-size: 12px;
    }

    .footer-social {
        flex-direction: column;
        gap: 10px;
    }
}


/*
@media (max-width: 768px) {
    .question label {
        flex: 1 1 calc(50% - 10px);
        text-align: center;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 22px;
    }
}

@media (max-width: 480px) {
    .question label {
        flex: 1 1 100%;
    }
}



  
  /* Responsividade 
  @media (max-width: 768px) {
    form {
      padding: 15px;
    }
  
    form h2 {
      font-size: 20px;
    }
  
    form input[type="text"],
    form input[type="email"] {
      font-size: 14px;
    }
  
    form button {
      font-size: 14px;
    }
  
    #questionsContainer .question p {
      font-size: 14px;
    }
  
    #questionsContainer .question label {
      font-size: 12px;
    }
  }
  */


  /* HTML: <div class="loader"></div> */
.loader {
  width: 4px;
  color: #000;
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: 
    19px -19px 0 0px, 38px -19px 0 0px, 57px -19px 0 0px,
    19px 0     0 5px, 38px 0     0 5px, 57px 0     0 5px,
    19px 19px  0 0px, 38px 19px  0 0px, 57px 19px  0 0px;
  transform: translateX(-38px);
  animation: l26 2s infinite linear;
}

.loader-container {
  position: fixed; /* Fixa o elemento em relação à viewport */
  top: 0;
  left: 0;
  width: 100vw; /* Largura completa da janela */
  height: 100vh; /* Altura completa da janela */
  display: flex;
  justify-content: center; /* Centraliza horizontalmente */
  align-items: center; /* Centraliza verticalmente */
  background-color: rgba(255, 255, 255, 0.8); /* Fundo semitransparente */
  z-index: 9999; /* Garante que o loader fique acima de tudo */
}


@keyframes l26 {
  12.5% {box-shadow: 
    19px -19px 0 0px, 38px -19px 0 0px, 57px -19px 0 5px,
    19px 0     0 5px, 38px 0     0 0px, 57px 0     0 5px,
    19px 19px  0 0px, 38px 19px  0 0px, 57px 19px  0 0px}
  25%   {box-shadow: 
    19px -19px 0 5px, 38px -19px 0 0px, 57px -19px 0 5px,
    19px 0     0 0px, 38px 0     0 0px, 57px 0     0 0px,
    19px 19px  0 0px, 38px 19px  0 5px, 57px 19px  0 0px}
  50%   {box-shadow: 
    19px -19px 0 5px, 38px -19px 0 5px, 57px -19px 0 0px,
    19px 0     0 0px, 38px 0     0 0px, 57px 0     0 0px,
    19px 19px  0 0px, 38px 19px  0 0px, 57px 19px  0 5px}
  62.5% {box-shadow: 
    19px -19px 0 0px, 38px -19px 0 0px, 57px -19px 0 0px,
    19px 0     0 5px, 38px 0     0 0px, 57px 0     0 0px,
    19px 19px  0 0px, 38px 19px  0 5px, 57px 19px  0 5px}
  75%   {box-shadow: 
    19px -19px 0 0px, 38px -19px 0 5px, 57px -19px 0 0px,
    19px 0     0 0px, 38px 0     0 0px, 57px 0     0 5px,
    19px 19px  0 0px, 38px 19px  0 0px, 57px 19px  0 5px}
  87.5% {box-shadow: 
    19px -19px 0 0px, 38px -19px 0 5px, 57px -19px 0 0px,
    19px 0     0 0px, 38px 0     0 5px, 57px 0     0 0px,
    19px 19px  0 5px, 38px 19px  0 0px, 57px 19px  0 0px}
}
/* Progress bar */
#progressWrapper {
  margin: 20px auto;
  max-width: 600px;
}

#progressContainer {
  width: 100%;
  height: 12px;
  background-color: #e6e6e6;
  border-radius: 6px;
  overflow: hidden;
}

#progressBar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #4e73df, #1cc88a);
  transition: width 0.3s ease;
}

/* Question slide styling */
#questionSlide {
  margin: 40px auto;
  max-width: 600px;
  text-align: center;
}

.answers {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 20px;
}

button:not(.menu-toggle),
.answer-btn {
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  background-color: #4e73df;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.3s ease;
}

.answer-btn:hover {
  background-color: #ffd700;
  transition: background 0.3s ease, transform 0.2s ease;
}

button:not(.menu-toggle):disabled {
  background-color: #bcd0f7;
  cursor: not-allowed;
}

button:not(.menu-toggle):hover:not(:disabled),
.answer-btn:hover {
  background-color: #2e59d9;
  transform: translateY(-2px);
}

button:not(.menu-toggle):hover:not(:disabled) {
  background-color: #e6c200;
  transform: translateY(-2px);
}

/* Mobile adjustments */
@media (max-width: 600px) {
  body {
    font-size: 16px;
  }

  form,
  #questionSlide {
    width: 90%;
    margin: 20px auto;
  }

  .answer-btn {
    font-size: 18px;
  }
}

