/* ========================================
   LIVRE - Design ultra original
   ======================================== */

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Georgia', 'Garamond', serif;
    background: linear-gradient(135deg, #fdfbfb 0%, #f8f5f2 100%);
    color: #2c2c2c;
    line-height: 1.7;
    min-height: 100vh;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

/* ========== NAVIGATION ========== */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #d4a574;
    text-decoration: none;
    font-weight: 500;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
}

.back-button:hover {
    color: #c8935f;
    transform: translateX(-5px);
}

/* ========== HERO LIVRE (3D Effect) ========== */
.book-hero {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5rem;
    overflow: hidden;
}

.book-hero__background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(212, 165, 116, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.book-hero__content {
    display: flex;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

/* Couverture de livre 3D avec image */
.book-cover {
    position: relative;
    width: 280px;
    height: 400px;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
    cursor: pointer;
}

.book-cover:hover {
    transform: rotateY(-15deg) rotateX(5deg);
}

.book-cover__spine {
    position: absolute;
    left: -20px;
    top: 0;
    width: 20px;
    height: 100%;
    background: linear-gradient(to right, #9a7548 0%, #c8935f 100%);
    transform: rotateY(-90deg);
    transform-origin: right;
    box-shadow: -2px 0 10px rgba(0,0,0,0.3);
}

.book-cover__front {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 0 8px 8px 0;
    box-shadow: 
        0 20px 60px rgba(0,0,0,0.3),
        inset 0 0 0 2px rgba(255,255,255,0.1);
    overflow: hidden;
}

/* Image de fond */
.book-cover__bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.8);
}

/* Overlay gradient */
/*
.book-cover__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.7) 0%, rgba(200, 147, 95, 0.8) 100%);
}
*/

/* Contenu sur la couverture */
/*
.book-cover__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 3rem 2rem;
    height: 100%;
    color: white;
}
*/

.book-cover__title h1 {
    font-size: 1.70rem;
    font-weight: 700;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,0.4);
}

.book-cover__author {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.95;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.book-hero__text {
    flex: 1;
    max-width: 500px;
}

.book-hero__quote {
    font-size: 2rem;
    font-style: italic;
    color: #1a1a1a;
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

.book-hero__description {
    font-size: 1.15rem;
    color: #666;
    line-height: 1.8;
}

/* ========== SECTIONS ========== */
.content-section {
    margin: 6rem 0;  /* ← Augmenté de 5rem à 6rem */
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 3rem;  /* ← Augmenté de 2rem à 3rem */
    color: #1a1a1a;
    text-align: center;
}

.section-text {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 2rem;  /* ← Ajouté pour plus d'espace */
}

/* ========== INTRO POÉTIQUE ========== */
.poetic-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem;
    padding: 3rem;
    background: linear-gradient(135deg, #fef8f1 0%, #fdf3e7 100%);
    border-radius: 20px;
    position: relative;
}

.poetic-intro__icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.poetic-intro__text {
    font-size: 1.2rem;
    line-height: 1.9;
    color: #555;
    font-style: italic;
}

/* ========== À PROPOS DU LIVRE ========== */
.book-about {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: start;
}

.book-about__text p {
    font-size: 1.1rem;
    line-height: 1.9;
    color: #555;
    margin-bottom: 1.5rem;
}

.book-about__badges {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.badge {
    background: white;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    text-align: center;
    border: 2px solid rgba(212, 165, 116, 0.2);
    transition: all 0.3s ease;
}

.badge:hover {
    transform: translateY(-5px);
    border-color: #d4a574;
}

.badge__icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
}

.badge__text {
    font-size: 1rem;
    font-weight: 600;
    color: #1a1a1a;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ========== CHAPITRES ========== */
.chapters-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.chapter-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border-left: 4px solid #d4a574;
    transition: all 0.3s ease;
    position: relative;
}

.chapter-card:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.chapter-card__number {
    position: absolute;
    top: -15px;
    right: 20px;
    font-size: 4rem;
    font-weight: 700;
    color: rgba(212, 165, 116, 0.15);
    line-height: 1;
}

.chapter-card__title {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #1a1a1a;
    position: relative;
    z-index: 1;
}

.chapter-card__description {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
}

/* ========== CITATION ========== */
.quote-section {
    text-align: center;
    max-width: 900px;
    margin: 5rem auto;
    padding: 4rem 3rem;
    background: linear-gradient(135deg, #d4a574 0%, #c8935f 100%);
    border-radius: 30px;
    color: white;
    box-shadow: 0 15px 50px rgba(212, 165, 116, 0.4);
    position: relative;
}

.quote-decoration {
    font-size: 5rem;
    opacity: 0.3;
    line-height: 0.5;
}

.quote-text {
    font-size: 1.6rem;
    line-height: 1.8;
    font-style: italic;
    margin: 2rem 0;
}

/* ========== POUR QUI ========== */
.for-who-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem 0;
}

.for-who-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    text-align: center;
    transition: all 0.3s ease;
}

.for-who-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}

.for-who-item__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.for-who-item p {
    font-size: 1rem;
    line-height: 1.6;
    color: #555;
}

/* ========== SECTION COMMANDE - DESIGN AMÉLIORÉ ========== */
.order-section {
    margin: 7rem 0;  /* ← Plus d'espace autour */
}

.order-card {
    position: relative;
    background: white;  /* ← Changé en blanc */
    padding: 5rem 4rem;  /* ← Plus de padding */
    border-radius: 40px;  /* ← Coins plus arrondis */
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);  /* ← Ombre plus prononcée */
    border: 1px solid rgba(212, 165, 116, 0.15);
}

.order-card__badge {
    display: inline-block;
    background: linear-gradient(135deg, #d4a574 0%, #c8935f 100%);
    color: white;
    padding: 0.6rem 2rem;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin-bottom: 2rem;  /* ← Augmenté */
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.order-card__title {
    font-size: 2.75rem;  /* ← Augmenté */
    font-weight: 700;
    margin-bottom: 1.5rem;  /* ← Augmenté */
    color: #1a1a1a;
    line-height: 1.2;
}

.order-card__subtitle {
    font-size: 1.3rem;  /* ← Augmenté */
    color: #666;
    margin-bottom: 3rem;  /* ← Augmenté */
    font-style: italic;
}

.order-card__price {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 3rem 0;  /* ← Augmenté */
    padding: 2rem 0;  /* ← Ajouté */
    position: relative;
}

/* Ligne décorative avant le prix */
.order-card__price::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, #d4a574 0%, #c8935f 100%);
    border-radius: 10px;
}

.order-card__price-label {
    font-size: 1rem;
    color: #999;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.order-card__price-value {
    font-size: 5rem;  /* ← Encore plus grand */
    font-weight: 700;
    color: #d4a574;
    line-height: 1;
    font-family: 'Georgia', 'Garamond', serif;
}

/* Formats ultra améliorés */
.order-card__formats {
    display: flex;
    justify-content: center;
    gap: 2rem;  /* ← Augmenté */
    margin: 4rem 0;  /* ← Augmenté */
    flex-wrap: wrap;
}

.format-pill {
    display: flex;
    align-items: center;
    gap: 1rem;  /* ← Augmenté */
    background: linear-gradient(135deg, #fef8f1 0%, #fdf3e7 100%);  /* ← Changé */
    padding: 1.25rem 2.25rem;  /* ← Augmenté */
    border-radius: 50px;
    font-size: 1.05rem;  /* ← Augmenté */
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);  /* ← Ombre plus prononcée */
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid transparent;
}

.format-pill:hover {
    transform: translateY(-5px);  /* ← Plus de mouvement */
    box-shadow: 0 10px 30px rgba(212, 165, 116, 0.25);
    border-color: #d4a574;
}

.format-icon {
    font-size: 1.75rem;  /* ← Augmenté */
}

.format-pill--soon {
    opacity: 0.6;
}

.format-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: linear-gradient(135deg, #d4a574 0%, #c8935f 100%);
    color: white;
    font-size: 0.7rem;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(212, 165, 116, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Boutons améliorés */
.order-card__buttons {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;  /* ← Augmenté */
    align-items: center;
    margin-top: 4rem;  /* ← Augmenté */
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #d4a574 0%, #c8935f 100%);
    color: white;
    padding: 1.4rem 3.5rem;  /* ← Augmenté */
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;  /* ← Augmenté */
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(212, 165, 116, 0.5);
}

.btn-large {
    font-size: 1.2rem;
    padding: 1.5rem 4rem;
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: #d4a574;
    padding: 1.2rem 3rem;  /* ← Augmenté */
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    border: 2px solid #d4a574;
    transition: all 0.3s ease;
    font-size: 1.05rem;  /* ← Augmenté */
}

.btn-outline:hover {
    background: #d4a574;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.3);
}

/* ========== AVIS LECTEURS ========== */
.readers-reviews {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;  /* ← Augmenté */
    margin: 3rem 0;  /* ← Augmenté */
}

.review-card {
    background: white;
    padding: 2.5rem;  /* ← Augmenté */
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 165, 116, 0.1);
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
    border-color: #d4a574;
}

.review-card__stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-card__text {
    font-size: 1rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.review-card__author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.review-card__avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #fef8f1 0%, #fdf3e7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.review-card__name {
    font-weight: 700;
    color: #1a1a1a;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.review-card__location {
    font-size: 0.9rem;
    color: #999;
}

/* ========== GALERIE ========== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;  /* ← Augmenté */
    margin: 3rem 0;  /* ← Augmenté */
}

.gallery-item {
    position: relative;
    border-radius: 20px;  /* ← Plus arrondi */
    overflow: hidden;
    aspect-ratio: 3/2;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    padding: 1.5rem;
    color: white;
    font-size: 1rem;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* ========== FOOTER ========== */
.footer {
    text-align: center;
    color: #999;
    font-size: 0.9rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin-top: 5rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(212, 165, 116, 0.15);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .book-hero__content {
        flex-direction: column;
        text-align: center;
    }
    
    .book-about {
        grid-template-columns: 1fr;
    }
    
    .chapters-grid {
        grid-template-columns: 1fr;
    }
    
    .for-who-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .readers-reviews {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .book-cover {
        width: 220px;
        height: 320px;
    }
    
    .book-hero__quote {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .for-who-grid {
        grid-template-columns: 1fr;
    }
    
    .order-card {
        padding: 3rem 2rem;
    }
}

/* ========== CHAPITRES VERSION PRO ========== */
.chapters-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin: 3rem 0;
}

.chapter-card {
    background: white;
    padding: 3rem 2.5rem;
    border-radius: 25px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 2px solid rgba(212, 165, 116, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.chapter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(135deg, #d4a574 0%, #c8935f 100%);
    transition: height 0.4s ease;
}

.chapter-card:hover::before {
    height: 100%;
}

.chapter-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 45px rgba(212, 165, 116, 0.25);
    border-color: #d4a574;
}

.chapter-card__badge {
    display: inline-block;
    background: linear-gradient(135deg, #fef8f1 0%, #fdf3e7 100%);
    color: #d4a574;
    padding: 0.5rem 1.25rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid #d4a574;
}

.chapter-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: #1a1a1a;
    line-height: 1.3;
}

.chapter-card__description {
    font-size: 1.05rem;
    line-height: 1.7;
    color: #666;
    margin-bottom: 1.5rem;
}

/*
.chapter-card__icon {
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-size: 3rem;
    opacity: 0.15;
    transition: all 0.3s ease;
}

.chapter-card:hover .chapter-card__icon {
    opacity: 0.3;
    transform: scale(1.1);
}
*/

/* ========== FORMATS VERSION PRO SANS EMOJIS ========== */
.order-card__badge {
    display: inline-block;
    background: linear-gradient(135deg, #d4a574 0%, #c8935f 100%);
    color: white;
    padding: 0.6rem 2rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    margin-bottom: 2rem;
    box-shadow: 0 6px 20px rgba(212, 165, 116, 0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.format-pill {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: white;
    padding: 1.25rem 2rem;
    border-radius: 50px;
    font-size: 1.05rem;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border: 2px solid rgba(212, 165, 116, 0.2);
}

.format-pill:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.3);
    border-color: #d4a574;
}

.format-icon-circle {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #fef8f1 0%, #fdf3e7 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d4a574;
}

/* Boutons sans emojis */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #d4a574 0%, #c8935f 100%);
    color: white;
    padding: 1.4rem 3.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.15rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: all 0.4s ease;
    box-shadow: 0 8px 25px rgba(212, 165, 116, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-outline {
    display: inline-block;
    background: transparent;
    color: #d4a574;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    border: 2px solid #d4a574;
    transition: all 0.3s ease;
    font-size: 1.05rem;
}

/* Avatars lettres au lieu d'emojis */
.review-card__avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #d4a574 0%, #c8935f 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Responsive */
@media (max-width: 768px) {
    .order-card__title {
        font-size: 2rem;
    }
    
    .order-card__price-value {
        font-size: 3rem;
    }
    
    .format-pill {
        padding: 0.85rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .order-card__buttons {
        width: 100%;
    }
    
    .btn-primary, .btn-outline {
        width: 100%;
        max-width: 350px;
    }
}