.hp-wrapper {
  max-width: 1080px;
  margin: 0 auto;
  padding: 3rem 1.5rem 4rem;
  color: #1f2a37;
  font-size: 1.02rem;
  line-height: 1.65;
}
.hp-wrapper h2 {
  margin-bottom: 1.2rem;
  font-size: 1.8rem;
  color: #1d2d50;
}
.hp-wrapper h3 {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
  color: #243861;
}
.hp-wrapper p {
  margin-bottom: 1rem;
}
.hp-hero {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  padding: 3rem;
  border-radius: 24px;
  border: 1px solid #e0e7f3;
  background: linear-gradient(135deg, #f7f9fc 0%, #ffffff 100%);
}
.hp-hero-text {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}
.hp-hero-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 600;
  color: #5f6f89;
}
.hp-hero-text h2 {
  margin: 0;
  font-size: 2.1rem;
  color: #182848;
}
.hp-image {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid #d6e1f7;
  background: #eef3fb;
  min-height: 240px;
  display: flex;
}
.hp-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hp-section {
  margin-top: 3.2rem;
}
#planejamento h2 {
  text-align: center;
}
.hp-grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.hp-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 2rem;
  border: 1px solid #e4eaf6;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  box-shadow: 0 12px 36px rgba(17, 42, 92, 0.06);
  align-items: center;
  text-align: center;
}
.hp-card p {
  margin: 0;
  text-align: center;
}
.hp-card strong {
  color: #1d2d50;
}
.hp-card-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f0f4ff 0%, #dfe7ff 100%);
  border: 1px solid #c7d4f3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #2f4fb5;
  font-size: 1.4rem;
  box-shadow: 0 8px 22px rgba(33, 61, 128, 0.12);
  margin: 0 auto;
}
.hp-card h3 {
  margin-top: 0.3rem;
}
.hp-highlight {
  margin-top: 2.6rem;
  padding: 1.35rem 1.5rem;
  border-left: 4px solid #4f6fc1;
  border-radius: 16px;
  background: #f4f6fc;
  color: #243861;
  box-shadow: inset 0 0 8px rgba(79, 111, 193, 0.08);
}
.hp-stepper {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
  margin: 0;
  display: grid;
  gap: 1.2rem;
}
.hp-stepper li {
  position: relative;
  padding: 1.6rem 1.8rem 1.6rem 5.8rem;
  border-radius: 18px;
  border: 1px solid #dde5f5;
  background: #f8faff;
}
.hp-stepper li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute;
  left: 1.6rem;
  top: 50%;
  transform: translateY(-50%);
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  background: #364d9b;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(54, 77, 155, 0.18);
}
.hp-stepper strong {
  display: block;
  margin-bottom: 0.4rem;
  color: #1d2d50;
}
.hp-faq {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}
.hp-faq details {
  border: 1px solid #dfe6f5;
  border-radius: 16px;
  padding: 1.15rem 1.4rem;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(18, 47, 91, 0.05);
  position: relative;
}
.hp-faq summary {
  cursor: pointer;
  font-weight: 600;
  color: #22345b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  list-style: none;
}
.hp-faq summary::-webkit-details-marker {
  display: none;
}
.hp-faq p {
  margin: 0.8rem 0 0;
}
.hp-faq summary span {
  flex: 1;
}
.hp-faq summary svg {
  margin-left: 0.8rem;
  flex-shrink: 0;
  transition: transform 0.3s ease, color 0.3s ease;
  color: #5b7ac2;
  width: 16px;
  height: 16px;
}
.hp-faq details[open] summary svg {
  transform: rotate(45deg);
  color: #2f4fb5;
}
.hp-cta {
  margin-top: 3.2rem;
  padding: 2.4rem 2rem;
  border-radius: 22px;
  border: 1px solid #dce4f7;
  background: linear-gradient(135deg, #f7f9ff 0%, #edf2ff 70%, #e7ecfb 100%);
  color: #1f2a37;
  display: grid;
  gap: 1.3rem;
  text-align: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(20, 45, 98, 0.12);
}
.hp-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(209, 180, 105, 0.12), rgba(88, 122, 194, 0.16));
  pointer-events: none;
}
.hp-cta h2 {
  margin: 0;
  color: #182848;
  text-align: center;
}
.hp-cta p {
  margin: 0;
  color: #33415c;
  text-align: center;
}
.hp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  justify-self: center;
  border: none;
  cursor: pointer;
}
.hp-button--primary {
  background: linear-gradient(135deg, #203b88 0%, #2f4fb5 100%);
  color: #f6f8ff;
}
.hp-button--ghost {
  background: transparent;
  color: #2b447f;
  border: 1px solid #c9d6f3;
  box-shadow: none;
}
.hp-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(17, 42, 92, 0.28);
}
.hp-button[disabled] {
  opacity: 0.6;
  pointer-events: none;
  transform: none;
  box-shadow: none;
}
.hp-secondary-cta {
  margin-top: 2.2rem;
  padding: 1.8rem 1.6rem;
  border-radius: 18px;
  border: 1px dashed #c7d4f3;
  background: #f6f9ff;
  text-align: center;
  box-shadow: 0 6px 24px rgba(25, 52, 112, 0.08);
}
.hp-secondary-cta p {
  text-align: center;
}
.hp-secondary-cta h3 {
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
  color: #1d2d50;
  text-align: center;
}
.hp-secondary-cta p {
  margin-bottom: 1rem;
  color: #40506d;
}
.hp-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.4rem;
  border-radius: 10px;
  background: #203b88;
  color: #f5f7ff;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.hp-secondary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(17, 42, 92, 0.22);
}
.hp-diagnostic {
  display: grid;
  gap: 1.6rem;
}
.hp-progress {
  display: grid;
  gap: 0.6rem;
}
.hp-progress-track {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: #e0e7f7;
  overflow: hidden;
}
.hp-progress-bar {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, #203b88 0%, #4b6fd6 100%);
  transition: width 0.3s ease;
}
.hp-diagnostic-form {
  display: grid;
  gap: 1.4rem;
}
.hp-step {
  display: grid;
  gap: 1rem;
  padding: 1.8rem;
  border-radius: 18px;
  border: 1px solid #dce4f7;
  background: #ffffff;
  box-shadow: 0 10px 26px rgba(21, 48, 108, 0.08);
}
.hp-step-count {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6679a6;
}
.hp-option-group {
  display: grid;
  gap: 0.8rem;
}
.hp-option {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.95rem 1.1rem;
  border-radius: 14px;
  border: 1px solid #d6dff2;
  background: #f7f9ff;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}
.hp-option:hover {
  border-color: #97ade4;
  background: #eef3ff;
}
.hp-option input {
  margin-top: 0.25rem;
  accent-color: #2f4fb5;
}
.hp-option span {
  font-weight: 500;
  color: #243861;
}
.hp-step input[type="text"] {
  width: 100%;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid #d6dff2;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.hp-step input[type="text"]:focus {
  outline: none;
  border-color: #2f4fb5;
  box-shadow: 0 0 0 3px rgba(47, 79, 181, 0.15);
}
.hp-step-hint {
  font-size: 0.92rem;
  color: #5b6b85;
}
.hp-step-actions {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.hp-step-actions .hp-button {
  flex: 1 1 auto;
  min-width: 180px;
}
.hp-step-error {
  margin: 0;
  color: #b43d3d;
  font-size: 0.9rem;
}
.hp-diagnostic-result {
  display: grid;
  gap: 1.4rem;
  padding: 2.2rem;
  border-radius: 20px;
  border: 1px solid #dce4f7;
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(24, 48, 108, 0.12);
}
[hidden] {
  display: none !important;
}
@media (max-width: 720px) {
  .hp-wrapper {
    padding: 2.4rem 1.2rem 3.2rem;
  }
  .hp-hero {
    padding: 2rem;
  }
  .hp-stepper li {
    padding-left: 3.8rem;
  }
  .hp-stepper li::before {
    left: 1.4rem;
  }
  .hp-step {
    padding: 1.4rem;
  }
  .hp-step-actions .hp-button {
    flex: 1 1 100%;
  }
}
