/* Orçamento — fluxo em 10 etapas */

.orcamento-page {
  min-height: 100svh;
  color: #fff;
  background:
    linear-gradient(160deg, rgba(0, 0, 0, 0.92) 0%, rgb(0 0 0 / 78%) 55%, rgb(0 0 0 / 72%) 100%),
    url("../imagens/background.png") center / cover no-repeat fixed;
}

.orcamento-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.25rem;
  background: #000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.orcamento-header__logo img {
  height: 72px;
  width: auto;
}

.orcamento {
  display: flex;
  justify-content: center;
  padding: 2rem 1.25rem 4rem;
}

.orcamento__shell {
  width: min(100%, 520px);
}

.orcamento__progress {
  margin-bottom: 2rem;
}

.orcamento__progress-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.65rem;
}

.orcamento__step-label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-transform: uppercase;
}

.orcamento__step-count {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
}

.orcamento__bar {
  height: 6px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}

.orcamento__bar-fill {
  height: 100%;
  width: 10%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0c6e2b, var(--accent));
  box-shadow: 0 0 12px rgba(var(--accent-rgb), 0.45);
  transition: width 0.4s var(--ease);
}

.orcamento-step {
  animation: orcamento-in 0.35s var(--ease);
}

.orcamento-step[hidden] {
  display: none;
}

@keyframes orcamento-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.orcamento-step__title {
  font-size: clamp(1.55rem, 5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  color: #fff;
  margin-bottom: 0.65rem;
}

.orcamento-step__sub {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.75rem;
  line-height: 1.5;
}

.orcamento-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.orcamento-option {
  display: block;
  cursor: pointer;
}

.orcamento-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.orcamento-option__card {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 1.1rem;
  background: linear-gradient(160deg, #0c6e2b 0%, #065221 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  color: #fff;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.orcamento-option__card:hover {
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(6, 82, 33, 0.3);
}

.orcamento-option input:focus-visible + .orcamento-option__card {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.orcamento-option input:checked + .orcamento-option__card {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent), 0 8px 28px rgba(var(--accent-rgb), 0.25);
}

.orcamento-option__icon {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.22);
  color: var(--accent);
}

.orcamento-option__icon svg {
  width: 22px;
  height: 22px;
}

.orcamento-option__text {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
}

.orcamento-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.orcamento-field label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
}

.orcamento-field input,
.orcamento-field textarea {
  width: 100%;
  padding: 0.95rem 1.1rem;
  font-family: var(--font);
  font-size: 1rem;
  color: #fff;
  background: linear-gradient(160deg, #0c6e2b 0%, #065221 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s;
  resize: vertical;
}

.orcamento-field input::placeholder,
.orcamento-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

.orcamento-field input:focus,
.orcamento-field textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(var(--accent-rgb), 0.35);
}

.orcamento-field__hint {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.7);
}

.orcamento-field--outros {
  margin-top: 1rem;
}

.orcamento-insight {
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  background: linear-gradient(160deg, #0c6e2b 0%, #065221 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
}

.orcamento-insight__label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0.35rem;
}

.orcamento-insight__value {
  font-size: clamp(2rem, 7vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}

.orcamento-insight__unit {
  font-size: 0.45em;
  font-weight: 600;
  margin-left: 0.15em;
}

.orcamento-insight__note {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
}

.orcamento-projection {
  padding: 1.35rem 1.5rem;
  margin-bottom: 1.75rem;
  background: rgba(12, 110, 43, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
}

.orcamento-projection__title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
}

.orcamento-projection__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.65rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.orcamento-projection__row strong {
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.orcamento-projection__hint {
  margin-top: 0.85rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.65);
}

.orcamento-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: 0.5rem;
  padding: 1rem 1.5rem;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  color: #000;
  background: var(--accent);
  border: none;
  border-radius: 100px;
  cursor: pointer;
  box-shadow: 0 0 24px rgba(var(--accent-rgb), 0.35);
  transition: background 0.25s, transform 0.25s, box-shadow 0.25s;
}

.orcamento-btn:hover {
  background: var(--accent-bright);
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(var(--accent-rgb), 0.5);
}

.orcamento-error {
  margin: 0.75rem 0 0;
  font-size: 0.85rem;
  color: #ff8e8e;
}

.orcamento-error[hidden] {
  display: none;
}

.orcamento-back {
  display: block;
  margin: 1.5rem auto 0;
  padding: 0.5rem 1rem;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.25s;
}

.orcamento-back:hover {
  color: #fff;
}

.orcamento-back[hidden] {
  display: none;
}

.orcamento-page .footer {
  background: #000;
  margin-top: 2rem;
}

@media (max-width: 480px) {
  .orcamento {
    padding: 1.5rem 1rem 3.5rem;
  }

  .orcamento-option__card {
    padding: 0.9rem 1rem;
  }

  .orcamento-option__icon {
    width: 38px;
    height: 38px;
  }
}
