/* Base Reset */
:root {
    --bg-color: #FAFAFA;
    /* Off-white / blanc cassé */
    --text-color: #1A1A1A;
    --accent-color: #000000;
    --glass-bg: rgba(255, 255, 255, 0.4);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: rgba(0, 0, 0, 0.06);
    --sidebar-closed: 80px;
    --sidebar-closed: 80px;
    --sidebar-open: 320px;
    --editorial-grey: #EBEBEB; /* Light off-white grey */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* Typography */
a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 500;
    letter-spacing: -0.02em;
}

/* Overlay (Darken and Blur Main Content) */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
}

#overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* Liquid Glass Sidebar */
.glass-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: var(--sidebar-closed);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.45) 0%, rgba(255, 255, 255, 0.15) 100%);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-right: 1px solid var(--glass-border);
    box-shadow: 4px 0 40px rgba(0, 0, 0, 0.08),
        inset 1px 0 2px rgba(255, 255, 255, 0.8),
        inset -1px 0 2px rgba(255, 255, 255, 0.3);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.glass-sidebar.expanded {
    width: var(--sidebar-open);
}

/* Sidebar Header & Hamburger */
.sidebar-header {
    height: var(--sidebar-closed);
    min-height: var(--sidebar-closed);
    flex-shrink: 0;
    /* We handle the button position absolutely */
}

#menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-color);
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    position: absolute;
    /* Centered vertically in closed state */
    top: 50%;
    left: 28px;
    /* Assuming 80px width, 28px is center-ish, but let's calculate: (80-24)/2 = 28. Perfect. */
    transform: translateY(-50%);
    z-index: 1001;
    outline: none;
    transition: top 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-sidebar.expanded #menu-toggle {
    top: 40px;
    /* Move to top when opened */
    transform: translateY(0);
}

/* Hamburger Icon Animation */
.hamburger-icon .line {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform-origin: center;
}

.glass-sidebar.expanded .line-1 {
    transform: translateY(6px) rotate(45deg);
}

.glass-sidebar.expanded .line-2 {
    opacity: 0;
}

.glass-sidebar.expanded .line-3 {
    transform: translateY(-6px) rotate(-45deg);
}

/* Navigation Links */
.sidebar-content {
    flex-grow: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 20px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-20px);
    transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s, visibility 0.4s;
    /* Hide scrollbar */
    scrollbar-width: none;
}

.sidebar-content::-webkit-scrollbar {
    display: none;
}

.glass-sidebar.expanded .sidebar-content {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    width: var(--sidebar-open);
}

.nav-links>li {
    margin: 4px 16px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.nav-links>li>a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(0, 0, 0, 0.7);
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-links>li:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

.nav-links>li>a:hover {
    color: var(--accent-color);
    transform: translateX(4px);
}

.nav-links>li>a.active {
    color: var(--accent-color);
    font-weight: 500;
}

/* Submenu */
.submenu {
    list-style: none;
    padding-left: 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    opacity: 0;
}

.has-submenu.open .submenu {
    opacity: 1;
}

.submenu li a {
    display: block;
    padding: 12px 20px;
    font-size: 0.95rem;
    color: rgba(0, 0, 0, 0.6);
    font-weight: 300;
    transition: color 0.3s ease, transform 0.3s ease;
}

.submenu li a:hover {
    color: var(--accent-color);
    transform: translateX(4px);
}

.chevron {
    transition: transform 0.3s ease;
}

.has-submenu.open .chevron {
    transform: rotate(180deg);
}

/* Main Content Wrapper */
#main-content {
    padding-left: 0;
    /* Offset for closed sidebar moved to section */
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-right: 20px;
    padding-top: 40px;
    padding-bottom: 40px;
    transition: padding-left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Hero Section / Content mockup */
.hero-section {
    max-width: 800px;
    width: 100%;
    margin-left: 5vw;
}

.glass-panel {
    background: transparent;
    border: none;
    padding: 60px;
    border-radius: 0;
    box-shadow: none;
    position: relative;
    text-align: left;
    max-width: 800px;
    width: 100%;
    z-index: 1;
}

.glass-panel::before {
    content: "";
    position: absolute;
    top: -40px;
    left: -40px;
    right: -40px;
    bottom: -40px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: -1;
    -webkit-mask-image: radial-gradient(ellipse closest-side, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 100%);
    mask-image: radial-gradient(ellipse closest-side, rgba(0, 0, 0, 1) 40%, rgba(0, 0, 0, 0) 100%);
}

.glass-panel h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.1;
    font-weight: 400;
}

.glass-panel p {
    font-size: 1.2rem;
    color: rgba(0, 0, 0, 0.6);
    margin-bottom: 40px;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    padding: 16px 32px;
    background: var(--accent-color);
    color: #fff;
    border-radius: 100px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Responsive fixes */
@media (max-width: 1200px) {
    :root {
        --sidebar-closed: 60px;
    }

    /* 1. Force light grey background on mobile to avoid heavy PNG loading visibility */
    .page-section {
        background-image: none !important;
        background-color: var(--editorial-grey) !important;
        padding: 80px 20px 40px 20px !important;
    }

    /* Ensure blur overlays don't darken too much on the solid background */
    #design::before,
    #photos::before,
    #montage-longs::before,
    #montage-ugc::before,
    #montage-gaming::before,
    #montage-entreprenariat::before {
        background: rgba(0, 0, 0, 0.05) !important;
    }

    /* 2. Sidebar transformation for Mobile */
    .glass-sidebar {
        width: 100%;
        height: 60px;
        border-right: none;
        border-bottom: 1px solid var(--glass-border);
        flex-direction: row;
        align-items: center;
        overflow: visible;
    }

    .glass-sidebar.expanded {
        height: 100vh;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
    }

    #menu-toggle {
        top: 30px !important;
        left: 30px !important;
    }

    .sidebar-content {
        padding-top: 80px;
        transform: translateY(-20px);
    }

    .glass-sidebar.expanded .sidebar-content {
        transform: translateY(0);
    }

    .nav-links {
        width: 100%;
    }

    .nav-links > li {
        margin: 2px 20px;
    }

    /* 3. Panel Adjustments */
    .glass-panel {
        padding: 30px 20px;
        margin-top: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .glass-panel h1 {
        font-size: 2.2rem;
    }

    .glass-panel h2 {
        font-size: 1.8rem;
        color: var(--text-color) !important;
        text-shadow: none !important;
    }

    .glass-panel p {
        font-size: 1rem;
        color: rgba(0, 0, 0, 0.7) !important;
        text-shadow: none !important;
    }

    /* 4. Grids Adjustments */
    .media-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 12px;
    }

    .video-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .video-grid-long {
        grid-template-columns: 1fr !important;
    }

    #main-content {
        padding: 0 !important;
    }
}

/* Intermediate screen fixes (Tablets / small laptops) */
/* Intermediate screen fixes (Tablets / small laptops) moved or adjusted above */

/* Page Sections & Layout */
#main-content {
    padding-top: 0;
    padding-bottom: 0;
    padding-right: 0;
    align-items: stretch;
    justify-content: flex-start;
}

.page-section {
    display: none;
    width: 100%;
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--bg-color);
    padding: 60px 40px 60px calc(var(--sidebar-closed) + 40px);
}

.page-section.section-gray {
    background-color: var(--editorial-grey);
    background-image: none !important;
}

.page-section.section-gray .glass-panel.no-bg h2 {
    color: var(--text-color);
    text-shadow: none;
}

.page-section.section-gray .glass-panel.no-bg p {
    color: var(--text-color);
    text-shadow: none;
}

/* (removed: body.menu-open #photos background-image:none was causing white bg) */

.page-section.active {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    /* changed from center to flex-start so it scrolls properly */
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Glass panel variants */
.page-section .glass-panel {
    margin-top: 80px;
    margin-left: 20px;
}

.glass-panel.no-bg {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: none;
    box-shadow: none;
    max-width: 1200px;
    width: 100%;
    padding: 0;
    margin-left: auto;
    margin-right: auto;
}

.glass-panel.no-bg::before {
    display: none;
}

.glass-panel.no-bg h2 {
    font-size: 2.5rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
    font-weight: 500;
}

.glass-panel.no-bg p {
    color: #fff;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.5);
}

/* Media Grid */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    width: 100%;
}

.img-wrapper {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.img-wrapper:hover img {
    transform: scale(1.05);
}

/* YouTube Shorts Video Grid */
.video-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.video-wrapper {
    position: relative;
    width: 100%;
    padding-top: 177.77%;
    /* 9:16 Aspect Ratio */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Long Format Video Grid (16:9) */
.video-grid-long {
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
}

.video-wrapper-long {
    padding-top: 56.25% !important;
    /* 16:9 Aspect Ratio */
}

/* --- User Feedbacks: Text Alignment & Blurred Backgrounds --- */

/* 1. Align text panels more to the left for info pages */
#accueil .glass-panel,
#a-propos .glass-panel,
#contacts .glass-panel {
    margin-left: 0;
}

/* Default Backgrounds (Desktop) */
#accueil {
    background-image: url('img/Fonds%20Site/Acceuil.webp');
    background-position: 30% center;
    background-size: cover;
}

#a-propos {
    background-image: url('img/Fonds%20Site/A%20propos.webp');
}

#design {
    background-image: url('img/Fonds%20Site/Designs.webp');
}

#contacts {
    background-image: url('img/Fonds%20Site/Contact.webp');
}

/* Remove blurred backdrop behind text for these sections */
#accueil .glass-panel::before,
#a-propos .glass-panel::before,
#contacts .glass-panel::before {
    display: none;
}

/* 2. Shift Montage Background fully to the left */
#montage-longs,
#montage-ugc,
#montage-gaming,
#montage-entreprenariat {
    background-position: 0% center !important;
    background-size: cover;
}

/* 3. Blurred Backgrounds Behind Photos, Design, Videos */
#design,
#photos,
#montage-longs,
#montage-ugc,
#montage-gaming,
#montage-entreprenariat {
    position: relative;
}

#design::before,
#photos::before,
#montage-longs::before,
#montage-ugc::before,
#montage-gaming::before,
#montage-entreprenariat::before {
    content: "";
    position: absolute;
    inset: 0;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    background: rgba(0, 0, 0, 0.2);
    z-index: 0;
    pointer-events: none;
}

/* Content above blur layer */
.page-section.active>.glass-panel {
    z-index: 1;
    position: relative;
}

/* ===== Lightbox ===== */
#lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        visibility 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    /* clicking anywhere on the backdrop closes */
}

#lightbox.active {
    opacity: 1;
    visibility: visible;
}

#lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: scale(0.92);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
        opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: default;
    /* clicking on the content itself does NOT close */
}

#lightbox.active #lightbox-content {
    transform: scale(1);
    opacity: 1;
}

#lightbox-content img {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 16px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.45);
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}

#lightbox-content iframe {
    border-radius: 16px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.45);
}

/* Make images look clickable */
.img-wrapper {
    cursor: pointer;
}

.video-wrapper {
    cursor: pointer;
}

/* À propos panel */
.about-panel {
    --mask-top: 0%;
    max-width: 700px;
    max-height: calc(100vh - 180px);
    overflow-y: auto;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 var(--mask-top), #000 75%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, #000 var(--mask-top), #000 75%, transparent 100%);
    /* Hide scrollbar but keep scroll */
    scrollbar-width: none;
}

.about-panel::-webkit-scrollbar {
    display: none;
}

.about-panel p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 16px;
    color: rgba(0, 0, 0, 0.65);
}

.about-panel p:last-child {
    margin-bottom: 0;
    font-weight: 400;
    font-style: italic;
    padding-bottom: 80px;
}

/* Contact list */
.contact-panel {
    max-width: 600px;
}

.contact-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 1.05rem;
    font-weight: 300;
    color: rgba(0, 0, 0, 0.7);
}

.contact-list li svg {
    flex-shrink: 0;
    opacity: 0.6;
}

.contact-list li a {
    color: rgba(0, 0, 0, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
    border-bottom: 1px solid transparent;
}

.contact-list li a:hover {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

.contact-list li em {
    font-size: 0.9rem;
    opacity: 0.6;
}

/* ===== Book Section ===== */
.book-project-header {
    margin-bottom: 44px;
}

.book-project-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    padding: 5px 14px;
    border: 1px solid rgba(0, 0, 0, 0.18);
    border-radius: 100px;
    margin-bottom: 18px;
    color: rgba(0, 0, 0, 0.45);
}

.book-project-header p {
    font-size: 1.05rem !important;
    color: rgba(0, 0, 0, 0.6) !important;
    max-width: 640px;
    line-height: 1.75 !important;
    margin-top: 10px !important;
    margin-bottom: 0 !important;
    font-weight: 300;
    text-shadow: none !important;
}

.book-project-header p strong {
    font-weight: 500;
    color: var(--text-color);
}

.book-project-meta {
    display: flex;
    gap: 44px;
    flex-wrap: wrap;
    margin-top: 28px;
    padding-bottom: 44px;
}

.book-meta-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.book-meta-label {
    font-size: 0.68rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.38);
}

.book-meta-value {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-color);
}

@media (max-width: 1200px) {
    .book-project-meta {
        gap: 24px;
        padding-bottom: 32px;
    }

    .book-project-header p {
        font-size: 0.95rem !important;
    }
}

/* Nav split row (Book nav item) */
.nav-split-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 8px;
}

.nav-split-row .nav-link {
    flex: 1;
    padding: 16px 0 16px 20px;
    font-size: 1.1rem;
    font-weight: 300;
    color: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    transition: color 0.3s ease, transform 0.3s ease;
}

.nav-split-row .nav-link:hover {
    color: var(--accent-color);
    transform: translateX(4px);
}

.nav-split-row .nav-link.active {
    color: var(--accent-color);
    font-weight: 500;
}

.nav-chevron-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: rgba(0, 0, 0, 0.45);
    padding: 8px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
    outline: none;
}

.nav-chevron-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--accent-color);
}

/* Book Overview Grid — tuiles carrées 2 colonnes */
.book-overview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    width: 100%;
    margin-top: 4px;
}

.book-card {
    position: relative;
    aspect-ratio: 1;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    user-select: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.18);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.book-card:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.28);
}

/* Zone image — fond sombre par défaut, remplacer par <img> plus tard */
.book-card-img {
    position: absolute;
    inset: 0;
    background: #282828;
}

.book-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.book-card:hover .book-card-img img {
    transform: scale(1.05);
}

/* Couleurs de fond uniques par projet (placeholder avant image) */
.book-card[data-target="book-noxx"]         .book-card-img { background: #212121; }
.book-card[data-target="book-masteekh"]     .book-card-img { background: #131926; }
.book-card[data-target="book-clip3d"]       .book-card-img { background: #0e0e0e; }
.book-card[data-target="book-cinematiques"] .book-card-img { background: #1e1a18; }

/* Dégradé pour lisibilité du texte */
.book-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.72) 0%,
        rgba(0, 0, 0, 0.15) 45%,
        rgba(0, 0, 0, 0)    70%
    );
    z-index: 1;
}

/* Texte en bas à gauche */
.book-card-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 48px;
    padding: 24px 28px;
    z-index: 2;
}

.book-card .book-card-tag {
    font-size: 0.63rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    display: block;
    margin-bottom: 7px;
}

.book-card h3 {
    font-size: 1.3rem;
    font-weight: 500;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

/* Flèche en bas à droite */
.book-card-arrow {
    position: absolute;
    bottom: 26px;
    right: 28px;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.35);
    transition: transform 0.3s ease, color 0.3s ease;
    z-index: 2;
}

.book-card:hover .book-card-arrow {
    transform: translateX(5px);
    color: #fff;
}

@media (max-width: 600px) {
    .book-overview-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .book-card h3 {
        font-size: 1.1rem;
    }
}