/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --gold: #C9A961;
    --cream: #F5F1E8;
    --dark: #2C2416;
    --night: #1a1410;
    --light: #FFFFFF;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background: var(--cream);
    color: var(--dark);
    line-height: 1.7;
}

/* Language Switch */
.lang-switch {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 5px;
    background: var(--light);
    padding: 5px;
    border-radius: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.lang-btn {
    border: none;
    background: transparent;
    color: var(--dark);
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 15px;
    font-weight: 600;
    transition: all 0.3s;
}

.lang-btn.active {
    background: var(--gold);
    color: var(--light);
}

.lang-btn:hover:not(.active) {
    background: var(--cream);
}

/* Header */
header {
    text-align: center;
    padding: 80px 20px 60px;
    background: linear-gradient(135deg, var(--night) 0%, var(--dark) 100%);
    color: var(--light);
}

.logo {
    width: 120px;
    height: 120px;
    margin-bottom: 30px;
    opacity: 0.9;
    /* FILTER SUPPRIMÉ - laisse l'image naturelle */
}

h1 {
    font-size: 3rem;
    letter-spacing: 3px;
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: 300;
}

.tagline {
    font-size: 1.2rem;
    font-style: italic;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

/* Main Content */
main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 20px;
}

section {
    margin-bottom: 80px;
}

h2 {
    font-size: 2.5rem;
    color: var(--gold);
    margin-bottom: 40px;
    text-align: center;
    font-weight: 300;
}

/* Books */
/* Books Container */
.book-container {
    position: relative;
    margin-bottom: 40px;
}

/* Book Language Tabs (style onglets classeur) */
.book-lang-tabs {
    position: absolute;
    top: -12px;
    right: 40px;
    display: flex;
    gap: 4px;
    z-index: 10;
}

.book-tab {
    border: none;
    background: var(--gold);
    color: var(--light);
    padding: 8px 20px;
    cursor: pointer;
    border-radius: 8px 8px 0 0;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
    position: relative;
}

.book-tab:not(.active) {
    background: var(--cream);
    color: var(--dark);
    opacity: 0.7;
    transform: translateY(4px);
}

.book-tab:hover {
    opacity: 1;
    transform: translateY(0);
}

.book-tab.active {
    background: var(--light);
    color: var(--dark);
    border: 2px solid var(--gold);
    border-bottom: 2px solid var(--light);
    font-weight: 700;
}

/* Book Block */
.book {
    display: flex;
    gap: 30px;
    background: var(--light);
    padding: 40px;
    border-radius: 15px;
    border: 2px solid var(--gold);
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.book:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
}
/* Book Cover Images */
.book-cover {
    flex-shrink: 0;
}

.book-cover img {
    width: 200px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: transform 0.3s;
}

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

.book-icon {
    font-size: 4rem;
    line-height: 1;
}

.book-content {
    flex: 1;
}

.book h3 {
    font-size: 1.8rem;
    color: var(--dark);
    margin-bottom: 15px;
}

/* Book Language Tabs (per book) */
/* Book Language Tabs (compact style) */
.book-lang-tabs {
    display: inline-flex;
    gap: 0;
    background: var(--cream);
    border-radius: 8px;
    padding: 4px;
    margin-bottom: 15px;
    border: 1px solid var(--gold);
}

.book-tab {
    border: none;
    background: transparent;
    color: var(--dark);
    padding: 6px 16px;
    cursor: pointer;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s;
    min-width: 50px;
}

/* Book Version Content */
.book-version {
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.book-desc {
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.book-links {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-primary {
    background: var(--gold);
    color: var(--light);
}

.btn-primary:hover {
    background: #B89551;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--dark);
    color: var(--light);
}

.btn-secondary:hover {
    background: var(--night);
    transform: translateY(-2px);
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
}

.badge.available {
    background: #4CAF50;
    color: white;
}

.badge.coming {
    background: #FF9800;
    color: white;
}

.badge.future {
    background: #2196F3;
    color: white;
}

.coming-soon {
    font-style: italic;
    color: #666;
    font-size: 1.1rem;
}

/* About Section */
.about-content {
    background: var(--light);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.about-content p {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.about-content ul {
    list-style: none;
    margin: 30px 0;
}

.about-content li {
    padding: 15px 0;
    border-bottom: 1px solid var(--cream);
    font-size: 1.1rem;
}

.about-content li:last-child {
    border-bottom: none;
}

.vision {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 2px solid var(--gold);
    font-size: 1.15rem;
}

.vision em {
    display: block;
    text-align: center;
    font-size: 1.3rem;
    color: var(--gold);
    margin-top: 20px;
}

/* Footer */
footer {
    background: var(--night);
    color: var(--light);
    text-align: center;
    padding: 40px 20px;
}

footer p {
    margin: 10px 0;
}

footer p:first-child {
    font-size: 1.5rem;
    color: var(--gold);
    font-style: italic;
}

.copyright {
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    .tagline {
        font-size: 1rem;
    }

    h2 {
        font-size: 2rem;
    }

    .book {
        flex-direction: column;
        padding: 30px 20px;
    }

    .book-cover img {
        width: 150px;
        margin: 0 auto;
        display: block;
    }

    .book-icon {
        font-size: 3rem;
    }

    .lang-switch {
        top: 10px;
        right: 10px;
    }

    .book-lang-tabs {
        justify-content: center;
    }
}
/* Contact email styling */
.contact {
    margin-top: 20px;
}

.contact a {
    color: var(--gold);
    text-decoration: none;
    font-size: 1.1rem;
}

.contact a:hover {
    text-decoration: underline;
    color: #D4AF6A;
}
