/* Diagnóstico LGPD — CSS Premium */
.diag-hero {
  background: var(--hero-r1), var(--hero-r2), var(--hero-bg);
  color: var(--text-on-dark);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
  padding-bottom: 24px;
  box-sizing: border-box;
}

.diag-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
  width: 100%;
}

@media (min-width: 992px) {
  .diag-hero-grid {
    grid-template-columns: 1fr 1.05fr;
    gap: 48px;
  }
}

.diag-header {
  text-align: left;
  max-width: 100%;
}
.diag-header h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  margin-top: 12px;
  margin-bottom: 14px;
  line-height: 1.25;
}
.diag-header .lead {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255,255,255,0.8);
  margin-bottom: 20px;
}

.diag-highlights {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.diag-highlight-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--accent-2);
}
.diag-highlight-item span {
  color: rgba(255,255,255,0.85);
}

.diag-card-wrapper {
  max-width: 100%;
  width: 100%;
  background: rgba(12, 26, 16, 0.85);
  border: 1px solid var(--diag-card-border);
  border-radius: 16px;
  padding: 22px 26px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.45);
  backdrop-filter: blur(20px);
  position: relative;
  box-sizing: border-box;
}
.diag-card-wrapper::before {
  content: "";
  position: absolute;
  left: 30px; right: 30px; top: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-2), transparent);
}

.diag-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.diag-questions-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.diag-question-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 8px;
  padding: 10px 14px;
  transition: all 0.2s ease;
}
.diag-question-item:focus-within,
.diag-question-item:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(197,162,75,0.3);
}

.q-number {
  font-family: "Cinzel", serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-2);
  background: rgba(197,162,75,0.1);
  border: 1px solid rgba(197,162,75,0.25);
  border-radius: 6px;
  width: 32px; height: 32px;
  display: grid; place-items: center;
  flex-shrink: 0;
}

.q-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}
.q-content label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255,255,255,0.9);
  line-height: 1.25;
}
.q-content select {
  width: 100%;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(6, 14, 9, 0.7);
  color: #fff;
  border-radius: 6px;
  font-size: 12.5px;
  outline: none;
  transition: all 0.2s ease;
}
.q-content select option {
  background: #0c1a10;
  color: #fff;
}
.q-content select:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(197,162,75,0.15);
}

.diag-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 4px 0 2px 0;
  color: rgba(255,255,255,0.4);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.diag-divider::before,
.diag-divider::after {
  content: "";
  flex: 1;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.diag-divider span {
  padding: 0 10px;
}

.diag-user-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: flex-end;
}

.form-group-sm {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}
.form-group-sm label {
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.form-group-sm input {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 12px;
  background: rgba(6, 14, 9, 0.7);
  border: 1px solid rgba(255,255,255,0.14);
  color: #fff;
  border-radius: 6px;
  font-size: 12.5px;
  outline: none;
  transition: all 0.2s ease;
}
.form-group-sm input::placeholder {
  color: rgba(255,255,255,0.35);
}
.form-group-sm input:focus {
  border-color: var(--accent-2);
  box-shadow: 0 0 0 3px rgba(197,162,75,0.15);
  background: rgba(6, 14, 9, 0.9);
}

.btn-diag-submit {
  width: 100%;
  margin-top: 4px;
  padding: 11px 18px;
  font-size: 13.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.diag-result-box {
  margin-top: 16px;
  padding: 16px 20px;
  background: rgba(6, 14, 9, 0.9);
  border: 1px solid var(--accent-2);
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  animation: fadeIn 0.4s ease;
}
.diag-result-box h3 {
  font-family: "Cinzel", serif;
  font-size: 16px;
  color: var(--accent-2);
  margin-bottom: 6px;
}
.diag-result-box p {
  font-size: 12.5px;
  color: rgba(255,255,255,0.75);
  margin: 0;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .diag-hero { height: auto; min-height: 100vh; padding-top: 90px; padding-bottom: 40px; }
  .diag-header { text-align: center; }
  .diag-card-wrapper { padding: 18px; }
  .diag-user-grid { grid-template-columns: 1fr; }
  .diag-question-item { flex-direction: column; align-items: flex-start; gap: 8px; }
}
