* {
  box-sizing: border-box;
}

html {
  font-size: 15px;
}


body {
  font-family: Arial, sans-serif;
  margin: 0;
  background-color: #e9faff;
  padding: 0;
}

.container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 2rem;
  gap: 4rem;
}

.video-box {
  max-width: 600px;
  flex: 1;
}


.video-box img {
  width: 100%;
  border-radius: 2rem;
  border: 0.5rem solid #592baf;
}

.text-block {
  margin-top: 1rem;
}

.text-block h1 {
  font-size: 2rem;
  font-weight: bold;
  margin: 1rem 0 0 0;
}

.text-block p {
  font-size: 1.5rem;
  color: #333;
  margin: 1rem 0;
}

.form-box {
  background-color: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  max-width: 480px;
  width: 100%;
  flex: 1;
}

.form-box .logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  justify-content: center;
}

.form-box .logo img {
  width: 140px;
}

.form-box h2 {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #222;
  text-align: center;
}

.form-box form {
  display: flex;
  flex-direction: column;
}

.form-box h3 {
  margin: 0 0 1rem 0;
}

.form-box input {
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 2px solid #ccc;
  border-radius: 0.5rem;
  font-size: 1rem;
}

.form-box button {
  padding: 1rem;
  background-color: #592baf;
  color: white;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
}

.form-box button:hover {
  background-color: #703FB9;
}

.form-box small {
  display: block;
  margin-top: 1rem;
  font-size: 0.75rem;
  color: #444;
  text-align: left;
  text-align: center;
}

.form-box small a {
  color: #592baf;
  text-decoration: none;
}

.form-box small a:hover {
  color: #703FB9;
  text-decoration: underline;
}

input[type="text"]:hover,
input[type="text"]:active,
input[type="text"]:focus,
input[type="text"]:visited,
input[type="text"]:focus-visible {
  border-color: #592baf;
  outline-color: #592baf;
}

@media (max-width: 1200px) {
  .container {
    gap: 2rem;
  }
}

@media (max-width: 991px) {
  .container {
    flex-direction: column;
    align-items: center;
    padding: 2rem;
  }

  .video-box,
  .form-box {
    text-align: center;
  }

  .text-block {
    text-align: center;
  }

  .video-box img {
    max-width: 600px;
    margin: 0 auto;
  }

  .form-box {
    max-width: 500px;
    margin: 0 auto;
  }

}



.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
}

.modal-content {
  position: relative;
  /* necessário para o botão X funcionar */
  background-color: white;
  padding: 2rem;
  border-radius: 1rem;
  max-width: 400px;
  width: 90%;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

.modal-content h3 {
  margin-top: 0;
  color: #532E88;
  font-size: 1.5rem;
}

.modal-content button {
  margin-top: 0;
  padding: 0.75rem 2rem;
  background-color: #532E88;
  color: white;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
}

.modal-content p {
  font-size: 1rem;
}

.modal-content button:hover {
  background-color: #703FB9;
}

.close-button {
  position: absolute;
  top: 0.8rem;
  right: 1rem;
  font-size: 2rem;
  font-weight: bold;
  color: #999;
  cursor: pointer;
  transition: color 0.3s ease;
  line-height: 1;
}

.close-button:hover {
  color: #333;
}

@keyframes shake {
  0% {
    transform: translateX(0);
  }

  25% {
    transform: translateX(-8px);
  }

  50% {
    transform: translateX(8px);
  }

  75% {
    transform: translateX(-8px);
  }

  100% {
    transform: translateX(0);
  }
}

.shake {
  animation: shake 0.4s;
}

button:disabled,
button:disabled:hover {
  background-color: #ccc;
  cursor: not-allowed;
  color: #666;
}


.error-message {
  color: #F64B2F;
  font-size: 0.8rem;
  margin-top: -0.9rem;
  margin-bottom: 0.9rem;
  text-align: left;
}


/* Classe que será adicionada a campos com erro */
.input-error {
  border: 2px solid red !important;
  outline: none;
}

.input-error:focus,
.input-error:hover {
  border: 2px solid red !important;
}

#whatsapp {
  width: 100%;
}

.iti--allow-dropdown {
  margin-bottom: 1rem;
}

.login-link {
  font-size: 0.9rem;
  padding-top: 1rem;
  display: block;
  text-align: center;
  font-weight: bold;
}

.login-link a {
  color: #0000ff;
}

.login-link a:hover {
  color: #703FB9;
}

ul {
  margin-top: 1rem;
  display: inline-block;
  padding: 0;
  list-style: none;
}

ul li {
  text-align: left;
  color: #532E88;
  font-size: 1.2rem;
  position: relative;
  padding-left: 1.5em;
  margin-bottom: 0.3rem;
}

ul li::before {
  content: "🟣";
  position: absolute;
  left: 0;
  top: 0;
}

.course-extra {
    display: inline-block;
    text-align: left;
    margin-top: 1rem;
    background: rgba(89, 43, 175, 0.04);
    border-radius: 0.75rem;
    padding: 0.8rem 1.2rem;
    border: 1px solid rgba(89, 43, 175, 0.1);
    transition: all 0.3s ease;
}

.course-extra[open] {
    background: rgba(89, 43, 175, 0.06);
    padding-bottom: 1rem;
}

.course-extra summary {
    font-size: 1.2rem;
    color: #7b5daf;
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.course-extra summary::-webkit-details-marker {
    display: none;
}

.course-extra summary::before {
    content: "▸";
    font-size: 1rem;
    transition: transform 0.3s ease;
}

.course-extra[open] summary::before {
    transform: rotate(90deg);
}

.course-extra p {
    font-size: 1rem;
    color: #666;
    line-height: 1.7;
    margin: 0.6rem 0 0;
}

.course-extra a {
    color: #592baf;
    text-decoration: none;
    border-bottom: 1px solid rgba(89, 43, 175, 0.3);
    transition: border-color 0.2s;
}

.course-extra a:hover {
    border-bottom-color: #592baf;
}

.video-card {
  background: #000;
  border-radius: 35px;
  aspect-ratio: 4/3;
  /* Mantendo o formato vertical ideal para depoimentos */
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  cursor: pointer;
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Overlay do ícone de play */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.play-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(93.52deg, #7047ac 0%, #532e88 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  padding-left: 5px;
  /* Ajuste visual do triângulo */
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.2s ease;
  opacity: 0.8;
}

.video-card:hover .play-icon {
  transform: scale(1.1);
}

/* Esconder overlay ao dar play */
.video-card.is-playing .video-overlay {
  opacity: 0;
  pointer-events: none;
}
