/* Refinamento da área inicial: hierarquia editorial, transição sem vão e CTA de rota. */

/* O título da central de decisão usa a mesma voz serifada editorial do restante do site. */
.home-app-heading h2 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

/* O mapa incorporado deixa de fazer parte da interface. A rota passa a existir
   como ação contextual sobre a própria foto da fachada. */
.cont-map {
  display: none !important;
}

.hero-storefront {
  position: relative;
}

.hero-directions {
  position: absolute;
  left: clamp(18px, 4vw, 32px);
  bottom: clamp(18px, 4vw, 32px);
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  max-width: calc(100% - 44px);
  padding: 6px 22px 6px 10px;
  border: 0;
  border-radius: 999px;
  background: #f3e5db;
  color: #4c2208;
  box-shadow: none !important;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition:
    background-color var(--duration-fast) var(--ease-standard),
    transform var(--duration-fast) var(--ease-emphasized);
}

.hero-directions-icon {
  display: inline-flex;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #e7cbb8;
  color: #5f2d0c;
}

.hero-directions-icon svg {
  width: 22px;
  height: 22px;
  display: block;
}

.hero-directions:hover {
  background: #eedbd0;
  box-shadow: none !important;
}

.hero-directions:active {
  background: #e8d0c1;
  transform: scale(0.98);
  box-shadow: none !important;
}

.hero-directions:focus-visible {
  outline: 2px solid var(--copper);
  outline-offset: 3px;
  box-shadow: none !important;
}

/* Central de decisão: busca em superfície branca, mais clara que a seção tonal. */
.home-app-search {
  background: #ffffff;
  border-color: transparent;
  box-shadow: none !important;
}

.home-app-search:hover {
  background: #ffffff;
  border-color: transparent;
}

/* Delivery em Material 3 Expressive: bege quente com saturação intermediária,
   sem voltar ao rosé anterior. */
.home-delivery-note {
  width: 100%;
  max-width: none;
  min-height: 72px;
  gap: 14px;
  padding: 10px 16px;
  border: 0;
  border-radius: 26px;
  background: #f3e7db;
  box-shadow: none !important;
}

/* O SVG de caminhão do componente não aparece; usamos o pictograma de moto
   já compartilhado pelo projeto dentro de um pequeno container tonal. */
.home-delivery-note > svg {
  display: none;
}

.home-delivery-note::before {
  content: "";
  display: block;
  box-sizing: content-box;
  width: 23px;
  height: 23px;
  flex: 0 0 23px;
  padding: 10px;
  border-radius: 15px;
  background-color: #e7c8ad;
  background-image: var(--petala-icon-moto);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 23px 23px;
}

.home-delivery-note > span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.home-delivery-note strong {
  color: #2d2118;
  font-size: 14.5px;
  font-weight: 800;
  line-height: 1.2;
}

.home-delivery-note small {
  color: #6c5d51;
  font-size: 12.5px;
  font-weight: 500;
  line-height: 1.3;
}

@media (max-width: 640px) {
  /* A fachada passa diretamente para a superfície tonal da central de decisão.
     O antigo padding inferior da hero era a faixa branca vista no celular. */
  .site-view--home .hero {
    padding-bottom: 0 !important;
  }

  .site-view--home .hero-storefront {
    margin-bottom: 0 !important;
  }

  .home-app-heading h2 {
    font-size: clamp(30px, 8.8vw, 37px);
  }

  .home-app-search {
    background: #ffffff;
  }

  .home-delivery-note {
    min-height: 70px;
    margin-top: 12px;
    padding: 9px 14px;
    border-radius: 24px;
  }

  .home-delivery-note::before {
    width: 22px;
    height: 22px;
    flex-basis: 22px;
    padding: 9px;
    border-radius: 14px;
    background-size: 22px 22px;
  }

  .home-delivery-note strong {
    font-size: 14px;
  }

  .home-delivery-note small {
    font-size: 12px;
  }

  .hero-directions {
    left: 18px;
    bottom: 18px;
    min-height: 56px;
    max-width: calc(100% - 36px);
    padding-right: 20px;
  }

  .hero-directions-icon {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-directions {
    transition: none;
  }
}
