/* Univers de Panda — surcouche CSS (animations, artefacts) */

/* L'attribut hidden doit toujours gagner sur les classes d'affichage Tailwind */
[hidden] { display: none !important; }

@keyframes cart-pulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.45); }
  100% { transform: scale(1); }
}
.animate-cart-pulse { animation: cart-pulse 0.4s ease; }

@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-enter { opacity: 0; animation: rise-in 0.7s ease forwards; }
.hero-enter-2 { animation-delay: 0.15s; }
.hero-enter-3 { animation-delay: 0.3s; }
.hero-enter-4 { animation-delay: 0.45s; }

/* Révélation au scroll */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-enter { animation: none; opacity: 1; }
}

/* Puce patte de panda pour les titres de section */
.paw-title::before {
  content: "";
  display: inline-block;
  width: 0.9em;
  height: 0.9em;
  margin-right: 0.45em;
  background-color: #606C38;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cellipse cx='32' cy='40' rx='20' ry='16'/%3E%3Ccircle cx='12' cy='22' r='7'/%3E%3Ccircle cx='26' cy='12' r='7'/%3E%3Ccircle cx='42' cy='14' r='7'/%3E%3Ccircle cx='54' cy='26' r='7'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cellipse cx='32' cy='40' rx='20' ry='16'/%3E%3Ccircle cx='12' cy='22' r='7'/%3E%3Ccircle cx='26' cy='12' r='7'/%3E%3Ccircle cx='42' cy='14' r='7'/%3E%3Ccircle cx='54' cy='26' r='7'/%3E%3C/svg%3E") center / contain no-repeat;
  vertical-align: -0.08em;
}

/* Étiquette légèrement penchée (artefact signature) */
.tilt-tag { transform: rotate(-2deg); }

/* Focus visible cohérent */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid #BC6C25;
  outline-offset: 2px;
  border-radius: 0.75rem;
}
