/* ---------- Hero ---------- */
.hero {
  display: grid;
  gap: var(--space-6);
  align-items: center;
  padding-block: var(--space-4) var(--space-7);
}

.hero__eyebrow {
  display: inline-block;
  margin-bottom: var(--space-3);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  background: var(--color-secondary-soft);
  color: var(--color-secondary-strong);
  font-weight: 700;
  font-size: var(--text-sm);
}

.hero__title {
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--color-primary-strong);
}

.hero__lead {
  margin-top: var(--space-4);
  max-width: 34rem;
  font-size: var(--text-lg);
  color: var(--color-text-muted);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.hero__art {
  position: relative;
  justify-self: center;
  width: min(100%, 26rem);
  aspect-ratio: 1;
}

.hero__blob {
  position: absolute;
  inset: 8%;
  border-radius: 46% 54% 52% 48% / 48% 44% 56% 52%;
  background: var(--gradient-brand);
  opacity: 0.14;
}

.hero__logo {
  position: relative;
  width: 100%;
  height: auto;
}

.hero__float {
  position: absolute;
  width: clamp(2.75rem, 10vw, 4rem);
  height: auto;
  filter: drop-shadow(0 6px 10px rgb(38 32 44 / 0.15));
}

.hero__float--1 { top: 4%; left: 2%; }
.hero__float--2 { top: 0; right: 6%; }
.hero__float--3 { bottom: 18%; left: -2%; }
.hero__float--4 { bottom: 4%; right: 0; }
.hero__float--5 { top: 42%; right: -4%; }

/* ---------- Como funciona ---------- */
.steps {
  padding-block: var(--space-6);
}

.steps__title {
  font-size: var(--text-2xl);
  text-align: center;
  color: var(--color-secondary);
}

.steps__list {
  display: grid;
  gap: var(--space-4);
  margin-top: var(--space-5);
  padding: 0;
  list-style: none;
}

.steps__item {
  padding: var(--space-5);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}

.steps__icon {
  width: 3.5rem;
  height: 3.5rem;
  margin-bottom: var(--space-3);
}

.steps__heading {
  margin-bottom: var(--space-2);
  font-size: var(--text-lg);
  color: var(--color-primary-strong);
}

.steps__item p {
  color: var(--color-text-muted);
}

/* ---------- Criar lanche ---------- */
.create {
  padding-block: var(--space-6);
  scroll-margin-top: 5rem;
}

.create__card {
  position: relative;
  max-width: 44rem;
  margin-inline: auto;
  overflow: hidden;
}

.create__card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 0.375rem;
  background: var(--gradient-brand);
}

.create__form {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.create__title {
  font-size: var(--text-2xl);
  color: var(--color-primary-strong);
}

.create__subtitle {
  color: var(--color-text-muted);
}

.create__noscript {
  padding: var(--space-3);
  border-radius: var(--radius-md);
  background: var(--color-warning-soft);
  font-weight: 700;
}

.create__items {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  min-width: 0;
  padding: 0;
  border: 0;
}

.custom-item {
  display: flex;
  gap: var(--space-2);
}

.custom-item .field__input {
  flex: 1;
  min-width: 0;
}

.create__submit {
  min-height: 3.25rem;
  font-size: var(--text-lg);
}

/* ---------- Lanche criado ---------- */
.created {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  text-align: center;
}

.created:focus {
  outline: none;
}

.created__avatar-wrap {
  position: relative;
  align-self: center;
}

.created__title {
  font-size: var(--text-2xl);
  color: var(--color-secondary);
}

.created__text {
  color: var(--color-text-muted);
}

.created__block {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--color-primary-soft);
  text-align: left;
}

.created__block--secret {
  background: var(--color-secondary-soft);
}

.created__label {
  font-size: var(--text-md);
}

.created__hint {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.link-box {
  display: flex;
  gap: var(--space-2);
}

.link-box__input {
  flex: 1;
  min-width: 0;
  font-size: var(--text-sm);
}

@media (min-width: 768px) {
  .steps__list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-7);
    padding-block: var(--space-6) var(--space-8);
  }

  .hero__art {
    justify-self: end;
  }
}
