/* Animações de entrada (substituem o framer-motion do Bolt) */
[data-reveal] { opacity: 0; transition: opacity .6s ease, transform .6s ease; }
[data-reveal="up"]    { transform: translateY(50px); }
[data-reveal="down"]  { transform: translateY(-50px); }
[data-reveal="left"]  { transform: translateX(50px); }
[data-reveal="right"] { transform: translateX(-50px); }
[data-reveal="zoom"]  { transform: scale(.9); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* Janela para ampliar fotos e vídeos */
.lb { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.9); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.lb[hidden] { display: none; }
.lb-box { position: relative; max-width: 64rem; width: 100%; display: flex; justify-content: center; }
.lb-box img { max-width: 100%; max-height: 80vh; object-fit: contain; border-radius: .5rem; }
.lb-box iframe { width: 100%; aspect-ratio: 16/9; max-height: 80vh; border: 0; border-radius: .5rem; }
.lb-btn { position: absolute; color: #fff; background: rgba(0,0,0,.5); border-radius: 9999px; width: 2.75rem; height: 2.75rem; font-size: 1.5rem; line-height: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; border: 0; }
.lb-btn:hover { background: rgba(0,0,0,.75); }
.lb-close { top: .75rem; right: .75rem; }
.lb-prev { left: .75rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: .75rem; top: 50%; transform: translateY(-50%); }

/* Animações que repetem */
@keyframes sobe-desce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(10px); } }
@keyframes pulso { 0% { box-shadow: 0 0 0 0 var(--pulso, rgba(34,197,94,.7)); } 70%,100% { box-shadow: 0 0 0 12px rgba(0,0,0,0); } }
@keyframes respira { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
.anim-sobe-desce { animation: sobe-desce 2s infinite; }
.anim-pulso { animation: pulso 2s infinite; }
.anim-respira { animation: respira 2s infinite; }

/* Links que eram botões no Bolt: mantêm o formato de botão */
:where(a[data-btn]) { display: inline-block; text-align: center; cursor: pointer; }

/* Elementos escondidos ficam escondidos mesmo com classes flex/block do Tailwind */
[hidden] { display: none !important; }
