/* =========================================================
   Linhares Advogados — Landing / Quiz Trabalhista
   Identidade: azul-marinho + dourado
   Fontes aumentadas para leitura confortável no mobile e desktop
   ========================================================= */

:root {
  --navy:        #2a211a;
  --navy-deep:   #1c1611;
  --navy-soft:   #3a2e23;
  --gold:        #c2a878;
  --gold-light:  #ddc79b;
  --gold-dark:   #a5895c;
  --cream:       #f5f1e8;
  --white:       #ffffff;
  --text:        #f2ece3;
  --text-muted:  #ccbfa8;
  --line:        rgba(194, 168, 120, 0.28);
  --shadow:      0 18px 45px rgba(0, 0, 0, 0.35);
  --radius:      16px;
  --radius-sm:   12px;
  --font-serif:  'Playfair Display', Georgia, serif;
  --font-sans:   'Open Sans', system-ui, -apple-system, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; font-size: 17px; }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background:
    radial-gradient(1200px 600px at 50% -10%, var(--navy-soft) 0%, transparent 60%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}

/* ---------- Barra de progresso ---------- */
.progress-bar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 100;
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 0 12px rgba(194, 168, 120, 0.6);
}

/* ---------- Container ---------- */
.quiz-container {
  flex: 1;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 56px 26px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* ---------- Passos ---------- */
.step { display: none; animation: fadeUp 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.step.active { display: block; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Marca ---------- */
.brand-logo {
  text-align: center;
  margin-bottom: 16px;
}
.brand-logo img {
  max-width: 280px;
  width: 76%;
  height: auto;
  display: block;
  margin: 0 auto;
  background: #f0e3d3;
  padding: 14px 20px;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.advogada-card {
  display: flex;
  justify-content: center;
  margin: 22px 0 14px;
}
.advogada-foto {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  object-position: 52% 22%;
  border: 3px solid var(--gold);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.brand {
  text-align: center;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  color: var(--gold);
  margin-bottom: 28px;
}

/* ---------- Tipografia hero ---------- */
.hero-title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(2.1rem, 6vw, 3rem);
  line-height: 1.18;
  text-align: center;
  color: var(--white);
  margin-bottom: 22px;
}
.hero-title em {
  font-style: italic;
  color: var(--gold);
}
.hero-lead {
  text-align: center;
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
}

.step h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.7rem, 5vw, 2.2rem);
  line-height: 1.28;
  color: var(--white);
  text-align: center;
  margin-bottom: 30px;
}

/* ---------- Tag de etapa ---------- */
.step-tag {
  display: block;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

/* ---------- Opções ---------- */
.options {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 560px;
  margin: 0 auto;
}

.option {
  width: 100%;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  display: block;
  line-height: 1.45;
  /* recuo pendurado: a 2ª linha alinha com o texto, não com o emoji */
  padding: 20px 22px 20px calc(22px + 1.6em);
  text-indent: -1.6em;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease,
              background 0.18s ease, box-shadow 0.18s ease;
}
.option:hover {
  border-color: var(--gold);
  background: rgba(194, 168, 120, 0.10);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}
.option:active { transform: translateY(0); }
.option.selected {
  border-color: var(--gold);
  background: rgba(194, 168, 120, 0.16);
  box-shadow: 0 0 0 2px rgba(194, 168, 120, 0.25) inset;
}
.option strong { color: var(--gold-light); font-weight: 700; }

/* ---------- Opções múltiplas (checkbox) ---------- */
.options-multi { margin-bottom: 24px; }
.option-check {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  cursor: pointer;
  padding-left: 22px;
  text-indent: 0;
}
.option-check input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  margin-top: 1px;
  border: 2px solid var(--line);
  border-radius: 7px;
  background: transparent;
  cursor: pointer;
  position: relative;
  transition: border-color 0.15s, background 0.15s;
}
.option-check input[type="checkbox"]:checked {
  border-color: var(--gold);
  background: var(--gold);
}
.option-check input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy-deep);
  font-size: 16px;
  font-weight: 900;
}
.option-check span { flex: 1; font-size: 1.1rem; }
.option-check:has(input:checked) {
  border-color: var(--gold);
  background: rgba(194, 168, 120, 0.14);
}

/* ---------- Botões ---------- */
.btn {
  display: block;
  width: 100%;
  max-width: 560px;
  margin: 28px auto 0;
  font-family: var(--font-sans);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 20px 28px;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}
.btn-primary {
  color: var(--navy-deep);
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 55%, var(--gold-dark));
  box-shadow: 0 12px 28px rgba(194, 168, 120, 0.32);
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 16px 34px rgba(194, 168, 120, 0.42); }
.btn-primary:active { transform: translateY(0); }

/* ---------- Lista de confiança ---------- */
.trust-list {
  list-style: none;
  max-width: 460px;
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
.trust-list li {
  font-size: 1.08rem;
  color: var(--text-muted);
  padding-left: 1.15em;
  text-indent: -1.15em;
}

/* ---------- Telas de resultado ---------- */
.illustration {
  font-size: 3.8rem;
  text-align: center;
  margin-bottom: 16px;
}
.step .lead {
  text-align: center;
  font-size: 1.18rem;
  line-height: 1.6;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 18px;
}
.step .lead strong { color: var(--gold-light); }

/* ---------- CTA WhatsApp ---------- */
.wa-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  max-width: 460px;
  margin: 28px auto 0;
  padding: 20px 26px;
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--white);
  background: linear-gradient(135deg, #25d366, #1ebe5b);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.34);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s;
}
.wa-cta:hover { transform: translateY(-2px); filter: brightness(1.04); box-shadow: 0 16px 34px rgba(37, 211, 102, 0.44); }
.wa-cta svg { width: 28px; height: 28px; flex: 0 0 auto; }

.small-note {
  text-align: center;
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 480px;
  margin: 24px auto 0;
  line-height: 1.5;
}

/* ---------- Rodapé ---------- */
.site-footer {
  padding: 24px;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.site-footer p {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 580px;
  margin: 0 auto;
}
.site-footer a { color: var(--gold); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* ---------- Responsivo ---------- */
@media (max-width: 480px) {
  html { font-size: 16px; }
  .quiz-container { padding: 44px 18px 30px; }
  .option {
    font-size: 1.08rem;
    padding: 18px 18px 18px calc(18px + 1.6em);
  }
  .option-check { padding: 18px 18px; }
  .option-check span { font-size: 1.05rem; }
  .brand-logo img { max-width: 180px; }
  .advogada-foto { width: 120px; height: 120px; }
  .btn { font-size: 1.12rem; padding: 18px 22px; }
  .wa-cta { font-size: 1.12rem; padding: 18px 22px; }
  .hero-lead, .step .lead { font-size: 1.08rem; }
  .trust-list li { font-size: 1rem; }
}
