/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #2E8B57;
    --primary-dark: #1f6b42;
    --secondary-color: #4682B4;
    --text-color: #333;
    --text-light: #666;
    --bg-light: #f8f9fa;
    --border-color: #e0e0e0;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --radius: 8px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: #fff;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover,
nav a.active {
    color: var(--primary-color);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Boutons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    border: none;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
    text-align: center;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn.primary {
    background: var(--primary-color);
}

.btn.large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn.small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Grille produits */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.product-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-image {
    height: 200px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 1.5rem;
}

.product-info h3 {
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 1rem 0;
}

.description {
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Section avantages */
.advantages {
    background: var(--bg-light);
    padding: 4rem 0;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.advantage .icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.advantage h3 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Section paiement */
.payment-info {
    padding: 3rem 0;
}

.warning-banner {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: var(--radius);
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
}

.warning-banner h3 {
    color: #856404;
    margin-bottom: 0.5rem;
}

.wave-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* Footer */
footer {
    background: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.legal-links {
    display: flex;
    gap: 1rem;
}

/* Bouton WhatsApp flottant */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
}

.whatsapp-link {
    display: block;
    text-decoration: none;
}

.whatsapp-icon {
    width: 60px;
    height: 60px;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    animation: pulse 2s infinite;
    transition: transform 0.3s;
}

.whatsapp-icon:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.8);
    }
    100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
}

/* Détails produit */
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.product-image-large img {
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.product-info-detail h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.description-full {
    margin: 2rem 0;
    line-height: 1.8;
}

.delivery-info {
    background: var(--bg-light);
    padding: 1.5rem;
    border-radius: var(--radius);
    margin-top: 2rem;
}

/* Formulaire de commande */
.order-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 1rem;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.payment-warning {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: var(--radius);
    padding: 1.5rem;
    margin: 2rem 0;
}

.payment-warning h4 {
    color: #721c24;
    margin-bottom: 1rem;
}

.wave-payment-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
}

.wave-payment-info img {
    max-width: 80px;
}

.success-message {
    text-align: center;
    padding: 4rem 2rem;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.success-message h2 {
    color: var(--success-color);
    margin-bottom: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    nav ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: var(--shadow);
    }
    
    nav ul.active {
        display: flex;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .product-detail-grid,
    .order-grid {
        grid-template-columns: 1fr;
    }
    
    .wave-info {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}
/* Styles pour la page contact */
.contact-section {
    padding: 4rem 0;
}

.section-subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-size: 1.2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.contact-info {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.contact-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.contact-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h3 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.contact-link {
    display: inline-block;
    margin-top: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.contact-link:hover {
    text-decoration: underline;
}

.contact-link.whatsapp {
    color: #25D366;
}

.contact-hours {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.hours-grid {
    margin-top: 1rem;
}

.hour-item {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.hour-item:last-child {
    border-bottom: none;
}

.contact-form-container {
    background: white;
    padding: 2rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.contact-form {
    margin-top: 1.5rem;
}

/* Section FAQ */
.faq-section {
    background: var(--bg-light);
    padding: 3rem;
    border-radius: var(--radius);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item {
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Page de confirmation */
.confirmation-section {
    padding: 4rem 0;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.success-message,
.error-message {
    text-align: center;
    background: white;
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 600px;
    margin: 0 auto;
}

.success-icon,
.error-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.success-message h2 {
    color: var(--success-color);
    margin-bottom: 1rem;
}

.error-message h2 {
    color: var(--danger-color);
    margin-bottom: 1rem;
}

.confirmation-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.error-message ul {
    text-align: left;
    margin: 1rem 0;
    padding-left: 1.5rem;
}

.error-message li {
    margin-bottom: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .confirmation-actions {
        flex-direction: column;
    }
    
    .confirmation-actions .btn {
        width: 100%;
    }
    
    .contact-hours,
    .faq-section {
        padding: 1.5rem;
    }
}
/* Styles pour les pages légales */
.legal-section,
.privacy-section {
    padding: 4rem 0;
    background: var(--bg-light);
    min-height: 100vh;
}

.legal-container,
.privacy-container {
    max-width: 800px;
    margin: 0 auto;
}

.legal-content,
.privacy-content {
    background: white;
    padding: 3rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.legal-section h1,
.privacy-section h1 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.legal-section h2,
.privacy-section h2 {
    color: var(--primary-color);
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.legal-section h3,
.privacy-section h3 {
    color: var(--text-color);
    margin: 1.5rem 0 0.5rem 0;
}

.legal-section p,
.privacy-section p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.legal-section ul,
.privacy-section ul {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.legal-section li,
.privacy-section li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.back-to-home {
    text-align: center;
    margin-top: 2rem;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0;
}

.data-table th,
.data-table td {
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    text-align: left;
}

.data-table th {
    background: var(--bg-light);
    font-weight: 600;
}

/* Responsive */
@media (max-width: 768px) {
    .legal-content,
    .privacy-content {
        padding: 1.5rem;
    }
    
    .data-table {
        display: block;
        overflow-x: auto;
    }
}
/* Styles pour le résumé de commande */
.product-summary {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    margin: 15px 0;
    border: 1px solid #e9ecef;
}

.product-summary img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 5px;
    border: 2px solid #dee2e6;
    flex-shrink: 0;
}

.product-summary .product-info {
    flex: 1;
}

.product-summary h5 {
    margin: 0 0 8px 0;
    color: #2c3e50;
    font-size: 1.1rem;
    line-height: 1.3;
}

.product-summary .price {
    font-weight: bold;
    color: var(--primary-color);
    font-size: 1.2rem;
    margin: 0;
}

.selected-product {
    margin-bottom: 20px;
}

.selected-product h4 {
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

/* Responsive pour mobile */
@media (max-width: 768px) {
    .product-summary {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .product-summary img {
        width: 100px;
        height: 100px;
    }
    
    .product-summary .product-info {
        width: 100%;
    }
}

/* Fallback si l'image ne charge pas */
.product-summary img:before {
    content: "📦";
    display: block;
    width: 80px;
    height: 80px;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.testimonials {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 0;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.stars {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #FFD700;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1.5rem;
    line-height: 1.6;
    color: #555;
    font-size: 1rem;
}

.delivery-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 5px;
    font-size: 0.85rem;
}

.delivery-time {
    color: var(--primary-color);
    font-weight: 600;
}

.delivery-location {
    color: #666;
}

.client-info {
    border-top: 1px solid #eee;
    padding-top: 1rem;
    text-align: center;
}

.client-info strong {
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* Badge pour les livraisons express */
.testimonial-card:nth-child(4) {
    border: 2px solid var(--primary-color);
}

.testimonial-card:nth-child(4)::before {
    content: "🚀 Express";
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--primary-color);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .delivery-info {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .testimonial-card {
        padding: 1.5rem;
    }
}