/* ==========================================================================
   TESTE DE NÍVEL
   Segue o design system Asset: fundo preto + acento vermelho neon
   ========================================================================== */

/* Dobra 01 | Situando */
.teste-hero-section {
  background-color: #000000;
  color: #ffffff;
  padding: 180px 0 90px;
  position: relative;
  overflow: hidden;
}

@media (min-width: 992px) {
  .teste-hero-section {
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0) 65%,
        rgba(0, 0, 0, 0.65) 85%,
        #000000 100%), url("../images/home/bg-hero.png") center center / cover no-repeat;
  }
}

.teste-hero-section .teste-title {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 25px;
  text-align: center;
}

.teste-hero-section .teste-lead {
  font-size: 1.18rem;
  color: #e0e0e0;
  font-weight: 300;
  line-height: 1.6;
  max-width: 820px;
  margin: 0 auto 55px;
  text-align: center;
}

.teste-hero-section .teste-lead strong {
  font-weight: 700;
  color: #ffffff;
}

/* Benefícios do nivelamento */
.teste-hero-section .benefit-card {
  background-color: #020202;
  border: 1px solid rgba(255, 0, 51, 0.12);
  border-radius: 10px;
  padding: 34px 26px;
  height: 100%;
  text-align: center;
  box-shadow: inset 0 0 15px rgba(255, 0, 51, 0.02);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.teste-hero-section .benefit-card:hover {
  border-color: rgba(255, 0, 51, 0.3);
  box-shadow: 0 0 20px rgba(255, 0, 51, 0.06),
    inset 0 0 15px rgba(255, 0, 51, 0.03);
  transform: translateY(-5px);
}

.teste-hero-section .benefit-card .benefit-icon {
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 18px;
}

.teste-hero-section .benefit-card p {
  font-size: 0.95rem;
  color: #cccccc;
  font-weight: 300;
  line-height: 1.55;
  margin-bottom: 0;
}

.teste-hero-section .teste-cta-wrapper {
  margin-top: 55px;
  text-align: center;
}

@media (max-width: 991.98px) {
  .teste-hero-section {
    padding: 80px 0 0 0;
  }

  .teste-hero-section .teste-title {
    font-size: 2.1rem;
  }
}

@media (max-width: 767.98px) {
  .teste-hero-section .teste-title {
    font-size: 1.7rem;
  }

  .teste-hero-section .teste-lead {
    font-size: 1.02rem;
    margin-bottom: 40px;
  }
}

/* Dobra 02 | Como Funciona o Teste */
.teste-how-section {
  background-color: #000000;
  color: #ffffff;
  padding: 90px 0;
}

@media (min-width: 992px) {
  .teste-how-section {
    background-color: #000000 !important;
    background: linear-gradient(to bottom,
        rgba(0, 0, 0, 0) 70%,
        rgba(0, 0, 0, 0.6) 85%,
        #000000 100%), url("../images/home/bg-section.png") center center / cover no-repeat;
  }
}

.teste-section-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-align: center;
  margin-bottom: 15px;
}

.teste-section-subtitle {
  font-size: 1.05rem;
  color: #ffffff;
  font-weight: 300;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto 55px;
  text-align: center;
}

.teste-how-card {
  background: linear-gradient(135deg,
      rgba(35, 7, 10, 0.35) 0%,
      rgba(15, 3, 4, 0.4) 100%);
  border: 1px solid rgba(255, 0, 51, 0.12);
  border-radius: 8px;
  padding: 40px 34px;
  height: 100%;
  box-shadow: inset 0 0 15px rgba(255, 0, 51, 0.02);
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.teste-how-card:hover {
  border-color: rgba(255, 0, 51, 0.3);
  box-shadow: 0 0 20px rgba(255, 0, 51, 0.06),
    inset 0 0 15px rgba(255, 0, 51, 0.03);
  transform: translateY(-5px);
}

.teste-how-card .how-icon {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255, 0, 51, 0.35);
  color: var(--color-primary);
  font-size: 1.4rem;
  margin-bottom: 22px;
}

.teste-how-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
}

.teste-how-card p {
  font-size: 0.95rem;
  color: #cccccc;
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 0;
}

.teste-cta-wrapper {
  margin-top: 50px;
  text-align: center;
}

/* Caixa TOEFL (CTA secundário) — bloco discreto e bem separado do CTA principal */
.teste-toefl-box {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px 28px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 0, 51, 0.25);
  border-radius: 8px;
  padding: 24px 36px;
  margin-top: 70px;
  text-align: center;
}

.teste-toefl-box p {
  font-size: 1rem;
  color: #cccccc;
  font-weight: 300;
  margin-bottom: 0;
}

.teste-toefl-box p strong {
  font-weight: 700;
  color: #ffffff;
}

/* Botão secundário (outline suave) para não competir com o CTA neon principal */
.btn-toefl-outline {
  display: inline-block;
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 6px;
  padding: 11px 26px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.btn-toefl-outline:hover {
  color: #ffffff;
  border-color: var(--color-primary);
  background-color: rgba(255, 0, 51, 0.1);
}

@media (max-width: 767.98px) {
  .teste-how-section {
    padding: 70px 0;
  }

  .teste-section-title {
    font-size: 1.15rem;
  }

  .teste-section-subtitle {
    font-size: 0.95rem;
    margin-bottom: 40px;
  }

  .teste-how-card {
    padding: 32px 26px;
  }

  .teste-toefl-box {
    padding: 30px 22px;
  }
}

/* Dobra 03 | Formulário */
.teste-form-section {
  background-color: #000000;
  color: #ffffff;
  padding: 40px 0 100px;
}

.teste-form-section .form-title {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-align: center;
  margin-bottom: 12px;
}

.teste-form-section .form-instruction {
  font-size: 1.05rem;
  color: #ffffff;
  font-weight: 300;
  text-align: center;
  margin-bottom: 40px;
}

/* Caixa do formulário */
.teste-form-box {
  background: linear-gradient(135deg,
      rgba(35, 7, 10, 0.4) 0%,
      rgba(15, 3, 4, 0.5) 100%);
  border: 1px solid rgba(255, 0, 51, 0.15);
  border-radius: 8px;
  padding: 50px 55px;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: inset 0 0 30px rgba(255, 0, 51, 0.03);
}

.teste-form-box .form-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.teste-form-box .form-label .required {
  color: var(--color-primary);
  margin-left: 2px;
}

.teste-form-box .form-control,
.teste-form-box .form-select {
  background-color: #0a0a0a;
  border: 1px solid rgba(255, 0, 51, 0.2);
  border-radius: 6px;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 300;
  padding: 12px 16px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  resize: none;
}

.teste-form-box .form-control::placeholder {
  color: #777777;
}

.teste-form-box .form-control:focus,
.teste-form-box .form-select:focus {
  background-color: #0a0a0a;
  border-color: var(--color-primary);
  color: #ffffff;
  box-shadow: 0 0 12px rgba(255, 0, 51, 0.25);
  outline: none;
}

.teste-form-box .form-select {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.teste-form-box .form-select option {
  background-color: #0a0a0a;
  color: #ffffff;
}

.teste-form-box .choice-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 4px;
}

.teste-form-box label {
  margin-bottom: 0;
  padding-left: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.teste-form-box .wpcf7-form-control.wpcf7-radio input[type="radio"],
.teste-form-box .wpcf7-form-control.wpcf7-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  min-height: 18px;
  margin: 0;
  padding: 0;
  background-color: #0a0a0a;
  border: 1px solid rgba(255, 0, 51, 0.5);
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
}

.teste-form-box .wpcf7-form-control.wpcf7-radio input[type="radio"] {
  border-radius: 50%;
}

.teste-form-box .wpcf7-form-control.wpcf7-radio input[type="radio"]:checked {
  border-color: var(--color-primary);
  background-color: #0a0a0a;
  box-shadow: inset 0 0 0 4px #0a0a0a;
  background-color: var(--color-primary);
}

.teste-form-box .wpcf7-form-control.wpcf7-checkbox input[type="checkbox"] {
  border-radius: 4px;
}

.teste-form-box .wpcf7-form-control.wpcf7-checkbox input[type="checkbox"]:checked {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
}

.teste-form-box .wpcf7-form-control.wpcf7-radio input[type="radio"]:checked {
  background-color: #0a0a0a;
  border-color: var(--color-primary);
  background-image: radial-gradient(circle,
      var(--color-primary) 0 4px,
      transparent 4.5px);
}

.teste-form-box .wpcf7-form-control.wpcf7-checkbox input[type="checkbox"]:checked {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  position: relative;
}

.teste-form-box .wpcf7-form-control.wpcf7-checkbox input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  left: 5px;
  top: 2px;
}

.teste-form-box label {
  font-size: 0.92rem;
  font-weight: 300;
  color: #ffffff;
  cursor: pointer;
  margin-bottom: 0;
}

.wpcf7-list-item {
  margin: 0 !important;
}

.wpcf7-checkbox {
  display: flex;
  align-items: center;
  gap: 12px;
}

.teste-form-box .btn-submit-wrapper {
  margin-top: 15px;
  text-align: center;
}

.teste-form-box .btn-asset-neon {
  border: 1px solid var(--color-primary);
  padding: 15px 50px;
  cursor: pointer;
}

@media (max-width: 767.98px) {
  .teste-form-section {
    padding: 30px 0 70px;
  }

  .teste-form-box {
    padding: 35px 22px;
  }

  .teste-form-section .form-title {
    font-size: 1.15rem;
  }

  .teste-form-box .choice-group {
    gap: 10px 20px;
  }
}