.pedido-page {
  padding-top: calc(var(--header-h) + 1.5rem);
  padding-bottom: 4rem;
}

.pedido-hero {
  padding-bottom: 2rem;
}

.pedido-hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  line-height: 1.1;
  margin: 0.5rem 0;
}

.pedido-subtitle {
  color: var(--accent);
  font-size: 1rem;
  margin: 0 0 1rem;
}

.pedido-destaques {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
  list-style: none;
  padding: 0;
}

.pedido-destaques li {
  font-size: 0.8rem;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
}

.permuta-orientacao {
  margin: 0 0 2rem;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(212, 184, 150, 0.45);
  background: linear-gradient(135deg, rgba(212, 184, 150, 0.14), rgba(212, 184, 150, 0.04));
}

.permuta-orientacao h2 {
  font-size: 1.05rem;
  margin: 0 0 0.75rem;
  color: var(--accent);
}

.permuta-orientacao p {
  margin: 0 0 0.65rem;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
}

.pedido-secoes {
  margin-bottom: 2.5rem;
}

.pedido-secao {
  margin-bottom: 1.75rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border);
}

.pedido-secao:last-child {
  border-bottom: none;
}

.pedido-secao h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
}

.pedido-secao p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.pedido-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 2.5rem;
}

.pedido-form-card h2 {
  margin-top: 0;
}

.pedido-form-card label {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.85rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pedido-form-card input,
.pedido-form-card textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface-input, var(--bg-card));
  color: var(--text);
}

.pedido-form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

@media (max-width: 640px) {
  .pedido-form-actions {
    flex-direction: column;
  }

  .pedido-form-actions .btn {
    width: 100%;
    min-height: 48px;
  }
}

.pedido-outras-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.75rem;
}

.pedido-outra-link {
  display: block;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s;
}

.pedido-outra-link:hover {
  border-color: rgba(212, 184, 150, 0.4);
}

.pedido-outra-link strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.pedido-outra-link span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Hub na landing — fundo vem de .section-alt / tema */

.pedido-hub-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.pedido-hub-card {
  display: flex;
  flex-direction: column;
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--bg-card);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, border-color 0.2s;
  min-height: 160px;
}

.pedido-hub-card:hover {
  transform: translateY(-2px);
  border-color: rgba(212, 184, 150, 0.35);
}

.pedido-hub-card.is-permuta {
  border-color: rgba(212, 184, 150, 0.4);
}

.pedido-hub-icon {
  font-size: 1.5rem;
  color: var(--accent);
  margin-bottom: 0.65rem;
}

.pedido-hub-card h3 {
  font-size: 1.05rem;
  margin: 0 0 0.4rem;
}

.pedido-hub-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.45;
  flex: 1;
  margin: 0;
}

.pedido-hub-cta {
  margin-top: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

.pedido-orientacao-hub {
  padding: 1.15rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  margin-bottom: 1.5rem;
}

.pedido-orientacao-hub h3 {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  color: var(--accent);
}

.pedido-orientacao-hub p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-muted);
}