/* Complementos ao CSS gerado: menu móvel, FAQ, filtros, modal e notificações */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
[hidden] { display: none !important; }
section[id] { scroll-margin-top: 84px; }

:focus-visible { outline: 2px solid var(--wine); outline-offset: 3px; }

/* Menu móvel */
.mobile-menu {
  border-top: 1px solid rgba(122, 46, 58, 0.1);
  background: rgba(250, 241, 238, 0.98);
  max-height: calc(100vh - 76px);
  overflow-y: auto;
}
.mobile-menu-link {
  display: block;
  padding: 0.85rem 0.25rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--wine-deep);
  border-bottom: 1px solid rgba(122, 46, 58, 0.08);
}
.mobile-menu-link:hover { color: var(--wine); }
@media (min-width: 1024px) { .mobile-menu { display: none !important; } }

/* FAQ */
[data-faq-toggle] .lucide-plus { transition: transform 0.3s ease; }
[data-faq-toggle][aria-expanded="true"] .lucide-plus { transform: rotate(45deg); }
.faq-panel { animation: faq-in 0.3s ease; }
@keyframes faq-in { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }

/* Produtos */
[data-product].is-hidden { display: none; }

/* Formulários */
.form-status:empty { display: none; }
.form-status.is-success { color: #2f6b3c; }
.form-status.is-error { color: #a12a2a; }
[data-submit][disabled] { opacity: 0.6; cursor: progress; }

/* Modal de produto */
.product-modal {
  position: fixed; inset: 0; z-index: 60;
  display: flex; align-items: center; justify-content: center;
  padding: 1.25rem;
}
.product-modal__backdrop { position: absolute; inset: 0; background: rgba(67, 34, 43, 0.55); backdrop-filter: blur(4px); }
.product-modal__dialog {
  position: relative; width: 100%; max-width: 860px; max-height: calc(100vh - 2.5rem);
  overflow-y: auto; border-radius: 1.6rem; background: var(--cream);
  box-shadow: 0 30px 80px rgba(67, 34, 43, 0.35);
  display: grid; grid-template-columns: 1fr;
  animation: modal-in 0.3s ease;
}
@media (min-width: 768px) { .product-modal__dialog { grid-template-columns: 1fr 1fr; } }
@keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
.product-modal__media img { width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.product-modal__body { padding: 2rem; display: flex; flex-direction: column; justify-content: center; }
.product-modal__badge {
  align-self: flex-start; margin-bottom: 1rem; border-radius: 999px; background: var(--rose-light);
  color: var(--wine); font-size: 10px; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; padding: 0.4rem 0.9rem;
}
.product-modal__chip { border-radius: 999px; background: rgba(235, 212, 205, 0.6); color: var(--wine); font-size: 11px; font-weight: 500; padding: 0.25rem 0.75rem; }
.product-modal__cta {
  margin-top: 1.75rem; display: inline-flex; align-items: center; justify-content: center;
  border-radius: 999px; background: var(--wine); color: var(--blush-light);
  font-size: 0.875rem; font-weight: 600; padding: 0.95rem 1.5rem; transition: background 0.3s ease;
}
.product-modal__cta:hover { background: var(--wine-deep); }
.product-modal__close {
  position: absolute; top: 0.9rem; right: 0.9rem; z-index: 1;
  width: 2.5rem; height: 2.5rem; border-radius: 999px; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(250, 241, 238, 0.95); color: var(--wine);
}
body.modal-open { overflow: hidden; }

/* Notificação */
.toast {
  position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); z-index: 70;
  max-width: calc(100vw - 2rem); padding: 0.9rem 1.3rem; border-radius: 1rem;
  background: var(--wine-deep); color: var(--blush-light); font-size: 0.875rem;
  box-shadow: 0 16px 40px rgba(67, 34, 43, 0.3);
}
