@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

* {
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
}

:root {
  --principal: #ffc107;
  --fundo: #f4f4f4;
  --texto: #fff;
  --erro: #D93025;
  --input-bg: #fff;
  --input-border: #ccc;
  --botao-hover: #e0a800;
}

body {
  background-image: linear-gradient(
      135deg,
      #494949 0%,
      #4d4d4d 25%,
      #312f2f 45%,
      #272727 65%,
      #2e2a2a 100%
    );
  padding: 20px; 
  color: var(--texto);
}

#form {
  width: 100%;
  max-width: 700px;
  background: rgba(0,0,0,0.2);
	padding: 40px;
  border-radius: 12px;
}

#loader-text{
  margin-bottom: 20px;
	text-align: center;
}

#loader-text,
.title,
.aviso{
  color: rgba(255,255,255,0.8);
  font-weight: 600;
  font-size: 16px;
  line-height: 20px;
}


.step {
  display: none;
  animation: fade .45s ease;
}

.active {
  display: block;
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

h1 {
  display: flex;
  align-items: center;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 25px;
  color: var(--texto);
}

input,
textarea,
select {
  width: 100%;
  font-size: 18px;
  padding: 14px 12px;
  border: unset;
  border-bottom: 1px solid var(--input-border);
  border-radius: 8px;
  outline: none;
  background: var(--input-bg);
  transition: all .3s;
  margin-top: 20px; 
  margin-bottom: 20px;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--principal);
}

textarea {
  resize: none;
  outline: none;
  border: solid 1px #ccc;
  border-radius: 10px;
  padding: 16px;
  min-height: 150px;
  background: #dadada;
  margin-bottom: 0px;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  cursor: pointer;
}

.checkbox-container input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin: 0;
}

.icon {
  width: 120px;
  margin-right: 10px;
}

button {
  background: var(--principal);
  border: none;
  color: var(--texto);
  font-size: 16px;
  margin-top: 20px;
  padding: 12px 22px;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all .3s;
}

button:hover {
  background: var(--botao-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.error {
  color: var(--erro);
  font-size: 14px;
  margin-top: 6px;
  display: none;
}

.final-message {
  font-size: 22px;
  line-height: 1.5;
  text-align: center;
  color: var(--texto);
  font-weight: 500;
}

.final-step {
  text-align: center;
  padding: 25px;
}

.final-step h2 {
  font-size: 26px;
  margin-bottom: 10px;
}

.final-step p {
  font-size: 18px; 
  margin-bottom: 25px;
}

.whatsapp-btn {
  background: #25D366;
  color: var(--texto);
  padding: 14px 26px;
  border-radius: 10px;
  text-decoration: none;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: transform 0.25s, box-shadow 0.25s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

.whatsapp-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.whatsapp-btn svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

.default-message {
  font-size: 18px;
}

.link_redirecionar {
  margin-top: 10px;
  margin-bottom: 10px;
}

.toast {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: #333;
  color: var(--texto);
  padding: 12px 18px;
  border-radius: 6px;
  opacity: 0;
  transform: translateY(20px);
  transition: .3s ease;
  z-index: 99999;
  font-size: 15px;
}

.toast.show {
  opacity: 1;
  transform: translateY(0px);
}

.toast.error {
  background: #e74c3c;
}

.toast.success {
  background: #2ecc71;
}

.toast.info {
  background: #3498db;
}

@media (max-width: 480px) {
  .final-step h2 {
    font-size: 22px;
  }

  .final-step p,
  .default-message {
    font-size: 16px;
  }

  .whatsapp-btn {
    padding: 12px 20px;
    font-size: 16px;
    gap: 8px;
  }
}

.aviso {
  line-height: unset;
}

.avatars-wrapper {
  margin-bottom: 10px;
}


@media (max-width: 600px) {
  h1 {
    flex-direction: column;
    text-align: center;
    font-size: 18px;
  }

  input,
  textarea,
  select {
    font-size: 16px;
    padding: 12px 10px;
  }

  button {
    width: 100%;
    justify-content: center;
    font-size: 16px;
    padding: 14px;
  }
}

.avatars-wrapper {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-right: 20px;
  margin-bottom: unset;
}

.avatars {
  display: flex;
  align-items: center;
  transform: scale(1.2);
	margin-right: 20px;
}

.avatars img {
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
  margin-left: -12px;
  background: #eee;
}

.avatars img:nth-child(1) {
  width: 42px;
  height: 42px;
  margin-left: 0;
  z-index: 4;
}

.avatars img:nth-child(2) {
  width: 36px;
  height: 36px;
  z-index: 3;
}

.avatars img:nth-child(3) {
  width: 30px;
  height: 30px;
  z-index: 2;
}

.avatars img:nth-child(4) {
  width: 24px;
  height: 24px;
  z-index: 1;
}

.status-online {
  position: absolute;
  right: 92px;
  top: 80%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-color: #2ecc71;
  border-radius: 50%;
  animation: pulse 1.2s infinite;
}

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

.radio-option {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.2s;
  text-align: left;
}

.radio-option:hover {
  background: #f9f9f9; 
  border-color: var(--principal);
}

.radio-option input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
}

.radio-option span {
  font-size: 15px;
  color: var(--texto);
  line-height: 1.4;
}

#loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.98);
  z-index: 10000;
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.loader-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.spin {
  width: 60px;
  height: 60px;
  border: 6px solid #f3f3f3;
  border-top: 6px solid var(--principal);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

#loader-text {
  font-size: 22px;
  font-weight: 600;
  color: #333;
  font-family: 'Segoe UI', Roboto, sans-serif;
  max-width: 80%;
  transition: opacity 0.4s ease;
}

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

  100% {
    transform: rotate(360deg);
  }
}

.btn-next:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

#parecer{
  color: var(--texto);
  margin-bottom: 10px;
}

@keyframes pulse {
  0% {
    transform: translateY(-50%) scale(0.8);
    opacity: 0.6;
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7);
  }

  50% {
    transform: translateY(-50%) scale(1);
    opacity: 1;
    box-shadow: 0 0 0 6px rgba(46, 204, 113, 0);
  }

  100% {
    transform: translateY(-50%) scale(0.8);
    opacity: 0.6;
    box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
  }
}

@media screen and (max-width: 748px){
 		
 		body{
			padding: 0px;
		}

		#form{
			background: unset;
		}

		#loader-text{
			margin-bottom: 0px;
			padding: 0px 40px;
			font-size: 15px;
		}

		#loader-text,
		.title,
		.aviso{
 			font-size: 16px;
			line-height: 20px;
		}	

		.avatars{
			margin-bottom: 20px;
			margin-right: 0px;
		}

		.aviso{
			margin-top: 1rem;
			padding: 0px 40px;
		}
	}