/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f5f7fa;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.3;
}

p {
    margin-bottom: 15px;
}

ul {
    list-style: none;
    margin-bottom: 15px;
}

ul li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
}

ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #4285f4;
}

a {
    text-decoration: none;
    color: inherit;
}

section {
    padding: 60px 0;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: #4285f4;
    color: white;
}

.btn-primary:hover {
    background-color: #3367d6;
}

.btn-secondary {
    background-color: #4285f4;
    color: white;
}

.btn-secondary:hover {
    background-color: #3367d6;
}

.btn-text {
    background: none;
    color: #666;
    padding: 12px 0;
}

.btn-text:hover {
    color: #333;
}

/* Header */
.site-header {
    background-color: #202a36;
    color: white;
    padding: 15px 0;
}

.site-header h1 {
    margin: 0;
    font-size: 24px;
    text-align: center;
}

/* Hero Section */
.hero {
    padding: 60px 0;
    background-color: #fff;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h2 {
    font-size: 40px;
    margin-bottom: 20px;
    color: #333;
}

.hero-image {
    flex: 1;
    border-radius: 8px;
    overflow: hidden;
}

/* Library Section */
.library {
    background-color: #f5f7fa;
    padding: 60px 0;
}

.library-content {
    max-width: 800px;
    margin: 0 auto;
}

.library-content h2 {
    font-size: 36px;
    margin-bottom: 25px;
    color: #333;
}

.library-image {
    margin-top: 40px;
    border-radius: 8px;
    overflow: hidden;
}

/* Book Selection */
.book-selection {
    background-color: #eef1f6;
    padding: 60px 0;
}

.book-selection h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 30px;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.book-card {
    background-color: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
}

.book-cover {
    height: 220px;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.book-cover img {
    max-height: 100%;
    object-fit: contain;
}

.book-card h3 {
    font-size: 20px;
    margin-bottom: 5px;
}

.book-card .author {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.book-card .description {
    flex-grow: 1;
    margin-bottom: 15px;
}

.book-details {
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.book-card .price {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 15px;
}

.book-card .btn {
    width: 100%;
}

/* Payment & Delivery */
.payment-delivery {
    background-color: #fff;
    padding: 60px 0;
}

.payment-delivery h2 {
    margin-bottom: 30px;
    font-size: 30px;
}

.payment-section, .delivery-section {
    margin-bottom: 30px;
}

.payment-delivery h3 {
    margin-bottom: 15px;
    font-size: 24px;
}

.payment-delivery h4 {
    margin: 20px 0 10px;
    font-size: 18px;
}

.logistics-image {
    margin-top: 30px;
    max-width: 300px;
}

/* Testimonials */
.testimonials {
    background-color: #f5f7fa;
    padding: 60px 0;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 30px;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.testimonial-image {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 15px;
}

.testimonial-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.testimonial-card p {
    font-style: italic;
    color: #555;
}

/* Contact Form */
.contact {
    background-color: #4285f4;
    padding: 60px 0;
    color: white;
}

form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

input, textarea {
    width: 100%;
    padding: 12px 15px;
    border: none;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
}

textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: #202a36;
    color: white;
    padding: 30px 0;
    font-size: 14px;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-links a {
    color: #ccc;
    margin-left: 20px;
}

.footer-links a:hover {
    color: white;
}

/* Cookie Popup */
.cookie-popup {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 400px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: none;
}

.cookie-popup.active {
    display: block;
}

.cookie-content {
    padding: 20px;
}

.cookie-content h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.cookie-content p {
    font-size: 14px;
    margin-bottom: 20px;
}

.cookie-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cookie-buttons .btn {
    width: 100%;
}

/* Media Queries */
@media (max-width: 1024px) {
    .books-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
    }
    
    .hero-text h2 {
        font-size: 32px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .books-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    footer .container {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        margin-top: 15px;
    }
    
    .footer-links a {
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 40px 0;
    }
    
    .hero-text h2 {
        font-size: 28px;
    }
    
    .library-content h2,
    .book-selection h2,
    .payment-delivery h2,
    .testimonials h2 {
        font-size: 24px;
    }
}

.thank-section {
    text-align: center;
    padding: 300px 0;
}

.main-section h2 {
    text-align: center;
}