/* Zoobles Jouet — palette jouets / billes colorées (fuchsia, teal, ambre) */

body {
    font-family: 'Open Sans', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Roboto', 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

/* Brand accent — fuchsia jouet */
.bg-brand-100 { background-color: #fce7f3; }
.bg-brand-200 { background-color: #fbcfe8; }
.bg-brand-500 { background-color: #db2777; }
.bg-brand-600 { background-color: #be185d; }
.text-brand-200 { color: #fbcfe8; }
.text-brand-500 { color: #db2777; }
.text-brand-600 { color: #be185d; }
.border-brand-500 { border-color: #db2777; }
.ring-brand-500 { --tw-ring-color: #db2777; }

/* Teal secondaire */
.text-teal-600 { color: #0d9488; }
.bg-teal-50 { background-color: #f0fdfa; }

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse-soft {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.animate-fade-up {
    animation: fadeUp 0.6s ease-out forwards;
}

.animate-fade-up-delay {
    animation: fadeUp 0.6s ease-out 0.2s forwards;
    opacity: 0;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-pulse-soft {
    animation: pulse-soft 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

#header.scrolled {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1);
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
}

#mobile-menu {
    transition: all 0.3s ease-in-out;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #fafaf9;
}

::-webkit-scrollbar-thumb {
    background: #d6d3d1;
    border-radius: 5px;
}

button:focus-visible,
a:focus-visible,
input:focus-visible {
    outline: 2px solid #db2777;
    outline-offset: 2px;
}

input::placeholder {
    color: #a8a29e;
}

input:focus {
    outline: none;
}

::selection {
    background-color: #db2777;
    color: white;
}

::-moz-selection {
    background-color: #db2777;
    color: white;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.prose-zoobles p {
    margin-bottom: 1rem;
    line-height: 1.75;
}

.prose-zoobles h2 {
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}
