/* Ajustes feitos por cima do style.css original do v0 (que fica intocado).
   Efeitos visuais + responsividade. */

/* ---------- Botões de compra: seta + brilho passando ---------- */
.fx-btn { position: relative; overflow: hidden; isolation: isolate; }
.fx-btn::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%);
  animation: fx-shine 4.5s ease-in-out infinite;
}
@keyframes fx-shine {
  0%, 62% { transform: translateX(-120%); }
  82%, 100% { transform: translateX(120%); }
}
.fx-arrow { width: 1.1em; height: 1.1em; flex-shrink: 0; transition: transform .2s ease; }
.fx-btn:hover .fx-arrow { transform: translateX(4px); }

/* ---------- Entrada suave das seções ao rolar ---------- */
/* Só esconde quando o JS está ativo: sem JS a página aparece normal. */
.fx-js .fx-reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1), border-color .15s, background-color .15s;
  transition-delay: var(--fx-delay, 0s);
}
.fx-js .fx-reveal.fx-in { opacity: 1; transform: none; }

/* ---------- FAQ: a caixa inteira é clicável ---------- */
.fx-faq { padding: 0 !important; }
.fx-faq > summary { padding: 1.25rem 1.5rem; min-height: 3.5rem; list-style: none; }
.fx-faq > summary::-webkit-details-marker { display: none; }
.fx-faq > p { margin-top: 0 !important; padding: 0 1.5rem 1.5rem; }
.fx-faq > summary > span { font-size: 1.25rem; line-height: 1; }

/* ---------- Barra fixa de compra (só celular) ---------- */
.fx-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(22, 11, 21, .92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid rgba(232, 189, 109, .25);
  transform: translateY(110%); transition: transform .35s ease;
}
.fx-bar.fx-on { transform: none; }
.fx-bar__preco { line-height: 1.15; }
.fx-bar__preco s { color: var(--muted-foreground); font-size: .75rem; }
.fx-bar__preco strong { display: block; font-family: var(--font-playfair), Georgia, serif; font-size: 1.5rem; color: var(--primary); }
.fx-bar .fx-btn { padding: .8rem 1.25rem; font-size: .95rem; white-space: nowrap; }
@media (min-width: 640px) { .fx-bar { display: none; } }

/* ---------- Responsividade ---------- */
.fx-logo { height: 3rem; width: auto; }
@media (min-width: 640px) { .fx-logo { height: 3.5rem; } }

/* botão não quebra a linha no computador; no celular quebra centralizado */
.fx-btn { white-space: nowrap; }
@media (max-width: 639px) {
  .fx-btn-hero { width: 100%; white-space: normal; text-align: center; font-size: .95rem; padding-left: 1.25rem; padding-right: 1.25rem; }
}
@media (max-width: 380px) {
  .fx-badge { letter-spacing: .06em; font-size: .68rem; padding-left: .85rem; padding-right: .85rem; }
}

/* celular: listas em 2 colunas pra página não ficar enorme */
@media (max-width: 639px) {
  .fx-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: .75rem !important; }
  .fx-grid-2 > div { padding: 1rem !important; }
  .fx-grid-2 > div > span:first-child { width: 2.5rem; height: 2.5rem; }
  .fx-grid-2 > div > p { font-size: .875rem; margin-top: .75rem; }
  .fx-list-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: .6rem !important; }
  .fx-list-2 > li { padding: .65rem .75rem !important; gap: .6rem !important; font-size: .8rem; line-height: 1.25; }
  body { padding-bottom: 76px; }
}

/* tablet: foto e mockup não ocupam a tela inteira */
@media (max-width: 1023px) {
  .fx-foto, .fx-mockup { max-width: 440px; margin-left: auto; margin-right: auto; width: 100%; }
  .fx-foto img { aspect-ratio: 4 / 5; object-position: center 30%; }
}

/* ---------- Quem prefere menos movimento ---------- */
@media (prefers-reduced-motion: reduce) {
  .fx-btn::after { animation: none; display: none; }
  .fx-js .fx-reveal { opacity: 1; transform: none; transition: none; }
  .fx-bar { transition: none; }
}
