/* ================================================
   LIVRE PAGE - STYLES
   Page de présentation du livre
   ================================================ */

/* Container */
.livre-container {
    max-width: 1100px;
    margin: 2rem auto;
    padding: 0 2rem;
}

/* ================================================
   HERO SECTION
   ================================================ */
.livre-hero {
    display: grid;
    grid-template-columns: 400px 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #fdfbf7 0%, #f5f1e8 50%, #fffcf5 100%);
    padding: 4rem;
    border-radius: 16px;
}

.livre-cover {
    position: relative;
}

.livre-cover img {
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.2);
    border-radius: 8px;
}

.livre-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #D4AF37;
    color: white;
    padding: 0.75rem 1.25rem;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(212,175,55,0.3);
    font-size: 0.9rem;
}

.livre-info h1 {
    font-size: 3rem;
    font-weight: 300;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.livre-info h1 strong {
    font-weight: 700;
    color: #B8941F;
}

.livre-info .subtitle {
    font-size: 1.3rem;
    color: #6c757d;
    margin-bottom: 2rem;
    font-style: italic;
}

.livre-info .author {
    font-size: 1.1rem;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.livre-cta {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.btn-buy {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #D4AF37;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(212,175,55,0.3);
}

.btn-buy:hover {
    background: #B8941F;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212,175,55,0.4);
}

.btn-buy img {
    filter: brightness(0) invert(1);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: white;
    color: #2c3e50;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: 2px solid #e0e0e0;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.btn-secondary:hover {
    border-color: #D4AF37;
    color: #B8941F;
    box-shadow: 0 6px 20px rgba(212,175,55,0.3);
    transform: translateY(-2px);
}

/* ================================================
   STATS SECTION
   ================================================ */
.livre-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 4rem 0;
}

.stat-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.stat-card .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.stat-card .number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #B8941F;
    margin-bottom: 0.5rem;
}

.stat-card .label {
    color: #6c757d;
    font-size: 1rem;
}

/* ================================================
   DESCRIPTION SECTION
   ================================================ */
.livre-description {
    background: white;
    padding: 3rem;
    border-radius: 16px;
    margin-bottom: 4rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.livre-description h2 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.livre-description p {
    color: #2c3e50;
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.livre-description blockquote {
    border-left: 4px solid #D4AF37;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #6c757d;
    font-size: 1.2rem;
}

/* ================================================
   TABLE OF CONTENTS
   ================================================ */
.livre-contenu {
    background: linear-gradient(135deg, #fdfbf7 0%, #fffcf5 100%);
    padding: 3rem;
    border-radius: 16px;
    margin-bottom: 4rem;
}

.livre-contenu h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.chapitres-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.chapitre-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #D4AF37;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.chapitre-item .number {
    color: #B8941F;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.chapitre-item .title {
    color: #2c3e50;
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.chapitre-item .description {
    color: #6c757d;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ================================================
   REVIEWS SECTION
   ================================================ */
.livre-avis {
    margin-bottom: 4rem;
}

.livre-avis h2 {
    color: #2c3e50;
    margin-bottom: 2rem;
    font-size: 2rem;
    text-align: center;
}

.avis-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.avis-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: relative;
}

.avis-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 5rem;
    color: #D4AF37;
    opacity: 0.3;
    font-family: Georgia, serif;
}

.avis-card .text {
    color: #2c3e50;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-style: italic;
}

.avis-card .author {
    color: #B8941F;
    font-weight: 600;
}

.avis-card .stars {
    color: #D4AF37;
    margin-bottom: 0.5rem;
}

/* ================================================
   FINAL CTA
   ================================================ */
.final-cta {
    background: linear-gradient(135deg, #B8941F 0%, #D4AF37 100%);
    color: white;
    padding: 4rem 3rem;
    border-radius: 16px;
    text-align: center;
}

.final-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-weight: 300;
}

.final-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.final-cta .btn-buy {
    background: white;
    color: #B8941F;
}

.final-cta .btn-buy:hover {
    background: #f8f9fa;
}

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 968px) {
    .livre-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .livre-cover {
        max-width: 300px;
        margin: 0 auto;
    }
    
    .livre-info h1 {
        font-size: 2rem;
    }
    
    .chapitres-grid,
    .avis-grid {
        grid-template-columns: 1fr;
    }
    
    .livre-stats {
        grid-template-columns: 1fr;
    }
}
