/* ========== INDEX.CSS - PAGE D'ACCUEIL ========== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #1a2b4c;
    --secondary: #ffd700;
    --accent: #667eea;
    --dark: #1a1a2e;
    --light: #f5f7fa;
    --white: #ffffff;
    --gray: #4a4a6a;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ========== HERO SECTION ========== */

.hero {
    background: linear-gradient(135deg, var(--primary) 0%, #2c3e6e 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.15);
    padding: 1rem 2rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 1.5rem;
}

/* Responsive Hero */
@media (max-width: 768px) {
    .hero {
        padding: 2.5rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-features {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .feature {
        width: 100%;
        justify-content: center;
        padding: 0.8rem 1rem;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.6rem;
    }
    
    .feature {
        font-size: 0.9rem;
    }
}

/* ========== BREADCRUMB ========== */

.breadcrumb {
    padding: 1rem 0;
    color: var(--gray);
    font-size: 0.95rem;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: var(--accent);
    text-decoration: underline;
}

@media (max-width: 576px) {
    .breadcrumb {
        font-size: 0.85rem;
    }
}

/* ========== SECTIONS CATÉGORIES ========== */

.category-section {
    margin: 3rem 0;
}

.category-section h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.category-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--secondary);
}

@media (max-width: 768px) {
    .category-section {
        margin: 2rem 0;
    }
    
    .category-section h2 {
        font-size: 1.6rem;
    }
}

@media (max-width: 576px) {
    .category-section h2 {
        font-size: 1.4rem;
    }
}

/* ========== GRILLE PRODUITS ========== */

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.product-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    text-align: center;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--secondary);
}

.product-brand {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.product-value {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
    align-self: center;
}

.product-value::after {
    content: '€';
    font-size: 1.5rem;
    position: absolute;
    top: 5px;
    right: -20px;
}

.product-price {
    font-size: 2rem;
    color: var(--primary);
    margin: 1.5rem 0;
    padding: 1rem 0;
    border-top: 2px dashed var(--light);
    border-bottom: 2px dashed var(--light);
}

.product-price small {
    font-size: 0.9rem;
    color: var(--gray);
    display: block;
    margin-top: 0.3rem;
}

.btn-buy {
    background: linear-gradient(135deg, var(--accent), #764ba2);
    color: var(--white);
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: auto;
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102,126,234,0.4);
    background: linear-gradient(135deg, #764ba2, var(--accent));
}

/* Responsive produits */
@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 1.5rem;
    }
    
    .product-card {
        padding: 1.5rem 1rem;
    }
    
    .product-value {
        font-size: 2.8rem;
    }
    
    .product-price {
        font-size: 1.6rem;
    }
    
    .btn-buy {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .product-value {
        font-size: 2.5rem;
    }
}

/* ========== GRILLE CATÉGORIES ========== */

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.category-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    text-decoration: none;
    color: var(--dark);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s;
    border: 2px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-card:hover {
    transform: scale(1.05);
    border-color: var(--secondary);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

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

.category-card h3 {
    color: var(--primary);
    font-size: 1.2rem;
    font-weight: 600;
}

/* Responsive catégories */
@media (max-width: 768px) {
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
        gap: 1rem;
        margin: 2rem 0;
    }
    
    .category-card {
        padding: 1.5rem 1rem;
    }
    
    .category-icon {
        font-size: 2.5rem;
    }
    
    .category-card h3 {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 375px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}

/* ========== UTILITAIRES ========== */

.product-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

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

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
}