/* ============================
   DESIGN SYSTEM — BOCANDA
   ============================ */

/* Base */
html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, "Helvetica Neue", Arial, sans-serif;
  color: #1f2937; /* gray-800 */
  background-color: #f9fafb; /* gray-50 */
}

/* ============================
   NAVBAR FIXE
   ============================ */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4rem; /* 64px */
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  z-index: 50;
}

/* Padding global pour éviter le chevauchement */
.page-content {
  padding-top: 4rem;
}

/* ============================
   SECTIONS
   ============================ */

.section {
  padding: 2.5rem 1rem;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ============================
   CARTES
   ============================ */

.card {
  background-color: #ffffff;
  border-radius: 0.75rem;
  padding: 1.25rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* ============================
   BOUTONS
   ============================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.btn-primary {
  background-color: #2563eb; /* blue-600 */
  color: #ffffff;
}

.btn-primary:hover {
  background-color: #1d4ed8;
}

/* ============================
   FOOTER (plus tard)
   ============================ */

.footer {
  font-size: 0.75rem;
  color: #6b7280;
}
@keyframes bounce-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.animate-bounce-slow {
  animation: bounce-slow 2.5s ease-in-out infinite;
}
@keyframes loader-bar {
  0% {
    width: 0%;
  }
  50% {
    width: 70%;
  }
  100% {
    width: 100%;
  }
}

.animate-loader-bar {
  animation: loader-bar 1.5s ease-in-out infinite;
}
@keyframes bocanda-fade {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-bocanda {
  animation: bocanda-fade 0.8s ease-out both;
}
@keyframes bocanda-vibe {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-0.5px, 0.5px); }
  40%  { transform: translate(0.5px, -0.5px); }
  60%  { transform: translate(-0.5px, -0.5px); }
  80%  { transform: translate(0.5px, 0.5px); }
  100% { transform: translate(0, 0); }
}

.bocanda-vibe {
  animation: bocanda-vibe 2.5s infinite ease-in-out;
  font-weight: 700;
  letter-spacing: 0.02em;
}
@keyframes logo-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

.logo-breathe {
  animation: logo-breathe 3s ease-in-out infinite;
}
