:root {
  --text: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.78);
  --text-muted: rgba(255, 255, 255, 0.62);
  --primary: #0f766e;
  --primary-light: #14b8a6;
  --gold: #d7b56d;
  --border: rgba(255, 255, 255, 0.26);
  --glass: rgba(255, 255, 255, 0.08);
  --dark: rgba(4, 28, 29, 0.72);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--text);

  /*
    TROQUE A IMAGEM AQUI:
    coloque sua imagem dentro de uma pasta chamada "assets"
    e altere o nome do arquivo abaixo.

    Exemplo:
    background-image: url("./assets/clinica.jpg");
  */
  background-image:
    linear-gradient(110deg, rgba(3, 31, 32, 0.84), rgba(3, 31, 32, 0.48), rgba(3, 31, 32, 0.88)),
    url("./assets/sua-imagem-de-fundo.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.page {
  min-height: 100vh;
  width: 100%;
}

.brand-logo {
  width: 46px;
  height: 46px;
}
.content {
  width: min(1180px, calc(100% - 48px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 34px 0;
  display: flex;
  flex-direction: column;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 24px;
  color: var(--gold);
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
}

.brand span {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.2px;
}

.hero {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  align-items: center;
  gap: 80px;
  padding: 70px 0 50px;
}

.hero-text {
  max-width: 610px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 10px 15px;
  color: var(--gold);
  border: 1px solid rgba(215, 181, 109, 0.42);
  border-radius: 999px;
  background: rgba(215, 181, 109, 0.1);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -2.8px;
  margin-bottom: 24px;
  text-wrap: balance;
}

.hero p {
  max-width: 560px;
  color: var(--text-soft);
  font-size: 18px;
  line-height: 1.8;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.trust span {
  padding: 11px 15px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  font-size: 14px;
  font-weight: 700;
}

.quiz-area {
  width: 100%;
  max-width: 510px;
  justify-self: end;

  /*
    O formulário não tem quadro branco.
    Esta área mantém apenas espaçamento e textos.
  */
  background: transparent;
  border: 0;
  box-shadow: none;
}

.topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.badge {
  color: #ffffff;
  background: rgba(20, 184, 166, 0.18);
  border: 1px solid rgba(20, 184, 166, 0.38);
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  backdrop-filter: blur(10px);
}

.step-counter {
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 700;
}

.progress {
  height: 8px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 99px;
  margin-bottom: 34px;
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  border-radius: 99px;
  background: linear-gradient(90deg, var(--primary-light), var(--gold));
  transition: width 0.45s ease;
}

.question {
  display: none;
  animation: fadeSlide 0.48s ease both;
}

.question.active {
  display: block;
}

@keyframes fadeSlide {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

.question h2 {
  font-size: clamp(29px, 4vw, 43px);
  line-height: 1.08;
  letter-spacing: -1.1px;
  margin-bottom: 13px;
  text-wrap: balance;
}

.question p {
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 26px;
  font-size: 16px;
}

.options {
  display: grid;
  gap: 13px;
}

.option {
  width: 100%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  text-align: left;
  padding: 18px 19px;
  border-radius: 18px;
  cursor: pointer;
  font-weight: 800;
  font-size: 15px;
  transition: 0.22s ease;
  backdrop-filter: blur(12px);
}

.option:hover {
  transform: translateY(-2px);
  border-color: rgba(215, 181, 109, 0.65);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
}

.field {
  width: 100%;
  padding: 17px 18px;
  border: 1px solid var(--border);
  border-radius: 18px;
  font-size: 16px;
  outline: none;
  margin-bottom: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  backdrop-filter: blur(12px);
}

.field::placeholder {
  color: rgba(255, 255, 255, 0.56);
}

.field:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(215, 181, 109, 0.14);
}

.field.error {
  border-color: #fb923c;
}

.actions {
  display: flex;
  gap: 12px;
  margin-top: 26px;
}

.btn {
  border: 0;
  cursor: pointer;
  padding: 15px 20px;
  border-radius: 16px;
  font-weight: 900;
  font-size: 15px;
  transition: 0.22s ease;
}

.btn-primary {
  flex: 1;
  color: #073332;
  background: linear-gradient(135deg, #ffffff, var(--gold));
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 38px rgba(0, 0, 0, 0.25);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
}

.note {
  margin-top: 18px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.success-icon {
  width: 74px;
  height: 74px;
  border-radius: 24px;
  background: rgba(20, 184, 166, 0.14);
  border: 1px solid rgba(20, 184, 166, 0.28);
  display: grid;
  place-items: center;
  color: var(--gold);
  font-size: 38px;
  margin-bottom: 22px;
  backdrop-filter: blur(12px);
}

@media (max-width: 920px) {
  body {
    background-attachment: scroll;
  }

  .content {
    width: min(100% - 32px, 720px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 54px 0 34px;
  }

  .quiz-area {
    max-width: 100%;
    justify-self: stretch;
  }

  .hero h1 {
    max-width: 680px;
  }
}

@media (max-width: 520px) {
  .content {
    width: min(100% - 28px, 720px);
    padding: 24px 0;
  }

  .brand-icon {
    width: 42px;
    height: 42px;
  }

  .brand span {
    font-size: 16px;
  }

  .hero {
    padding-top: 44px;
  }

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

  .question h2 {
    font-size: 30px;
  }

  .actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
