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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* Header du produit */
.product-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
}

.product-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.price-section {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.original-price {
    font-size: 1.5rem;
    text-decoration: line-through;
    opacity: 0.7;
}

.promo-price {
    font-size: 2rem;
    font-weight: 700;
    color: #ff6b6b;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

/* Section héro */
.hero-section {
    padding: 60px 0;
    background: white;
}

.product-image {
    text-align: center;
}

.main-product-img {
    max-width: 100%;
    height: auto;
    max-height: 500px;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.main-product-img:hover {
    transform: scale(1.02);
}

/* Section description */
.description-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.description-section h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    color: #2c3e50;
}

.product-description {
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: justify;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
}

/* Section illustrations */
.illustration-section {
    padding: 60px 0;
    background: white;
}

.illustration-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
    color: #2c3e50;
}

.illustration-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.illustration-item {
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    background: #f8f9fa;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.illustration-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.illustration-img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    border-radius: 8px;
    margin-bottom: 15px;
    background-color: #f8f9fa;
}

.illustration-item p {
    font-weight: 600;
    color: #2c3e50;
}

/* Section formulaire */
.order-form-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.order-form-section h2 {
    font-size: 2rem;
    margin-bottom: 40px;
    text-align: center;
    color: #2c3e50;
}

.order-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Informations de livraison */
.delivery-info {
    padding: 40px 0;
    background: #2c3e50;
    text-align: center;
}

.delivery-highlights {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.delivery-free,
.payment-delivery {
    font-size: 1.3rem;
    font-weight: 700;
    color: #f1c40f;
    margin: 0;
}

/* Animations clignotantes */
.blinking-yellow {
    animation: blinkYellow 0.3s infinite;
}

.blinking-red {
    animation: blinkRed 0.3s infinite;
}

@keyframes blinkYellow {
    0%, 50% { 
        color: #f1c40f; 
        text-shadow: 0 0 10px #f1c40f;
    }
    51%, 100% { 
        color: #f39c12; 
        text-shadow: 0 0 5px #f39c12;
    }
}

@keyframes blinkRed {
    0%, 50% { 
        background-color: #e74c3c; 
        box-shadow: 0 0 20px #e74c3c;
    }
    51%, 100% { 
        background-color: #c0392b; 
        box-shadow: 0 0 10px #c0392b;
    }
}

/* Animation de shaking pour le bouton */
.shaking-button {
    animation: shakeButton 5s infinite;
}

@keyframes shakeButton {
    0%, 90% { 
        transform: translateX(0); 
    }
    92% { 
        transform: translateX(-10px) rotate(-2deg); 
    }
    94% { 
        transform: translateX(10px) rotate(2deg); 
    }
    96% { 
        transform: translateX(-8px) rotate(-1deg); 
    }
    98% { 
        transform: translateX(8px) rotate(1deg); 
    }
    100% { 
        transform: translateX(0); 
    }
}

/* Bouton de commande */
.order-button-section {
    padding: 40px 0;
    background: #2c3e50;
    text-align: center;
}

.order-button {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 20px 50px;
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.order-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(231, 76, 60, 0.3);
}

/* Footer contact */
.contact-footer {
    background: #34495e;
    color: white;
    padding: 50px 0;
}

.contact-footer h3 {
    font-size: 1.8rem;
    margin-bottom: 30px;
    text-align: center;
    color: #ecf0f1;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.contact-item {
    text-align: center;
    padding: 15px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    transition: background 0.3s ease;
}

.contact-item:hover {
    background: rgba(255,255,255,0.2);
}

.contact-item strong {
    color: #f1c40f;
}

/* Responsive Design */
@media (max-width: 768px) {
    .product-title {
        font-size: 2rem;
    }
    
    .price-section {
        flex-direction: column;
        gap: 10px;
    }
    
    .original-price,
    .promo-price {
        font-size: 1.5rem;
    }
    
    .delivery-highlights {
        flex-direction: column;
        gap: 20px;
    }
    
    .delivery-free,
    .payment-delivery {
        font-size: 1.1rem;
    }
    
    .order-form {
        padding: 30px 20px;
    }
    
    .order-button {
        padding: 15px 30px;
        font-size: 1.1rem;
    }
    
    .illustration-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .product-title {
        font-size: 1.8rem;
    }
    
    .description-section h2,
    .illustration-section h2,
    .order-form-section h2 {
        font-size: 1.5rem;
    }
    
    .product-description {
        font-size: 1rem;
    }
}