/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #fef9f0; /* ivoire */
    color: #2d2a26;
    line-height: 1.5;
}

h1, h2, h3, h4, .logo a {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* HEADER */
header {
    background: #fffcf7;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

.logo a {
    font-size: 1.5rem;
    font-weight: 600;
    text-decoration: none;
    color: #8b3a5e; /* rouge pourpre */
    letter-spacing: -0.5px;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #2d2a26;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: #c29f6b; /* ocre */
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background: #2d2a26;
    margin: 5px;
    transition: 0.3s;
}

/* HERO */
.hero {
    height: 70vh;
    background-size: cover;
    background-position: center 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.btn {
    display: inline-block;
    background: #8b3a5e;
    color: white;
    padding: 12px 30px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.btn:hover {
    background: #6b2c48;
    transform: scale(1.02);
}

.btn-outline {
    background: transparent;
    border: 2px solid #c29f6b;
    color: #2d2a26;
}

.btn-outline:hover {
    background: #c29f6b20;
}

/* GRILLES */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.card, .artwork {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover, .artwork:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card img, .artwork img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.card h3, .artwork h3 {
    padding: 1rem 1rem 0;
    font-size: 1.2rem;
}

.card p, .artwork p {
    padding: 0 1rem 1rem;
    color: #5f5b56;
}

.center-btn {
    text-align: center;
    margin: 2rem 0;
}

/* Quick access */
.quick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.quick-card {
    background: #fff9f0;
    border-radius: 30px;
    padding: 1.5rem;
    text-align: center;
    text-decoration: none;
    color: #2d2a26;
    border: 1px solid #eee5d8;
    transition: all 0.2s;
}

.quick-card span {
    font-size: 2rem;
}

.quick-card h3 {
    margin: 1rem 0 0.5rem;
}

.quick-card:hover {
    background: #fdf3e4;
    transform: translateY(-3px);
}

/* Featured */
.featured-card {
    display: flex;
    gap: 2rem;
    background: white;
    border-radius: 30px;
    overflow: hidden;
    margin: 2rem 0;
}

.featured-card img {
    width: 50%;
    object-fit: cover;
}

.featured-info {
    padding: 2rem;
}

.btn-small {
    display: inline-block;
    background: #c29f6b;
    color: white;
    padding: 8px 20px;
    border-radius: 30px;
    text-decoration: none;
    margin-top: 1rem;
}

/* BD section */
.bd-section {
    margin: 4rem 0;
    background: #faf5ea;
    padding: 2rem;
    border-radius: 40px;
}

.bd-grid {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 2rem 0;
}

.bd-grid img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

/* Carrousel */
.carousel-container {
    position: relative;
    max-width: 800px;
    margin: 2rem auto;
    overflow: hidden;
}

.carousel-slide {
    display: flex;
    transition: transform 0.3s ease;
}

.carousel-slide img {
    width: 100%;
    flex-shrink: 0;
    object-fit: cover;
    border-radius: 20px;
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    padding: 1rem;
    cursor: pointer;
    font-size: 1.5rem;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-prev { left: 10px; }
.carousel-next { right: 10px; }

/* Contact form */
.contact-info, .contact-form {
    max-width: 600px;
    margin: 1rem auto;
}

.contact-form input, .contact-form textarea {
    width: 100%;
    padding: 12px;
    margin: 8px 0;
    border: 1px solid #ddd2c0;
    border-radius: 20px;
    background: white;
}

.contact-form button {
    background: #7f8c7a;
    border: none;
    color: white;
    cursor: pointer;
}

/* Footer */
footer {
    background: #2d2a26;
    color: #ddd;
    text-align: center;
    padding: 2rem 0;
    margin-top: 3rem;
}

.footer-social a {
    color: #c29f6b;
    margin: 0 10px;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .burger {
        display: block;
    }
    .nav-links {
        position: absolute;
        right: 0;
        top: 70px;
        background: #fffcf7;
        flex-direction: column;
        width: 100%;
        text-align: center;
        transform: translateX(100%);
        transition: transform 0.3s;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    .nav-active {
        transform: translateX(0);
    }
    .hero-content h1 {
        font-size: 2rem;
    }
    .featured-card {
        flex-direction: column;
    }
    .featured-card img {
        width: 100%;
    }
}
/* Page À propos - améliorations */
.about-grid {
    display: flex;
    gap: 3rem;
    align-items: center;
    flex-wrap: wrap;
    background: #fffcf7;
    padding: 2rem;
    border-radius: 30px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.02);
}

.about-text {
    flex: 2;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #2d2a26;
}

.about-text p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.about-photo {
    flex: 1;
    text-align: center;
}

.about-photo img {
    max-width: 100%;
    width: 280px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.about-photo img:hover {
    transform: scale(1.02);
}

/* Version mobile */
@media (max-width: 768px) {
    .about-grid {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    .about-photo img {
        width: 200px;
    }
}
/* Page Livre - améliorations */
.book-grid {
    display: flex;
    gap: 3rem;
    align-items: center;
    flex-wrap: wrap;
    margin: 3rem 0;
    background: #fffcf7;
    padding: 2rem;
    border-radius: 30px;
}

.book-cover {
    flex: 1;
    text-align: center;
}

.book-cover img {
    max-width: 100%;
    width: 280px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.book-intro {
    flex: 2;
    font-size: 1.1rem;
    line-height: 1.6;
}

.book-description {
    background: #fef9f0;
    padding: 2rem 0;
    margin: 2rem 0;
    border-radius: 30px;
}

.description-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.7;
}

.description-text p {
    margin-bottom: 1rem;
}

.book-carousel h2 {
    font-family: 'Playfair Display', serif;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.book-cta {
    text-align: center;
    padding: 2rem 0;
}

.book-cta .btn {
    margin-top: 1rem;
}

/* Mobile */
@media (max-width: 768px) {
    .book-grid {
        flex-direction: column;
        text-align: center;
    }
    .book-intro {
        font-size: 1rem;
    }
    .carousel-prev, .carousel-next {
        display: none; /* cacher les flèches sur mobile si trop petit */
    }
}
.book-status {
    display: inline-block;
    background: #7f8c7a20;
    color: #7f8c7a;
    padding: 0.5rem 1.5rem;
    border-radius: 40px;
    font-weight: 500;
    margin-top: 0.5rem;
}