/* ==========================================================================
   CATALOG.CSS — Page catalogue public (index.html)
   ========================================================================== */

/* Hero section */
.hero-section {
    background:
        var(--gradient-hero),
        url('https://images.unsplash.com/photo-1507842217343-583bb7270b66?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80')
        center / cover no-repeat;
}

/* Navigation publique */
#public-nav {
    transition: all 0.3s ease;
}
#public-nav.scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(12px);
    padding-top: 12px;
    padding-bottom: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}
#public-nav.scrolled .nav-text {
    color: var(--color-gray-700);
}
#public-nav.scrolled .nav-logo {
    color: var(--color-primary);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer          { background: var(--color-bg-dark); }
.footer-tagline       { color: rgba(255, 255, 255, 0.45); }
.footer-section-title { color: rgba(255, 255, 255, 0.35); }
.footer-list          { color: rgba(255, 255, 255, 0.55); }
.footer-icon          { color: var(--color-gold); }
.footer-bottom        { border-color: rgba(255, 255, 255, 0.08); }
.footer-copy          { color: rgba(255, 255, 255, 0.30); }
.footer-login-btn {
    color: rgba(255, 255, 255, 0.30);
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s;
}
.footer-login-btn:hover { color: rgba(255, 255, 255, 0.75); }

/* Grille de livres */
.books-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

/* Carte livre */
.book-card {
    border-radius: 16px;
    background: var(--color-white);
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.book-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
}
