/* Variables de design 2025 */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --accent: #ef4444;
    --surface: #ffffff;
    --bg-body: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
}

/* Base */
.home-container {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* Hero Section : Utilisation d'un dégradé pur pour éviter les erreurs d'images */
.hero {
    background: linear-gradient(135deg, #1e293b 0%, #2563eb 100%);
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    margin-bottom: 1rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

.btn-primary {
    background-color: white;
    color: var(--primary);
    padding: 15px 35px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: inline-block;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Grille de Produits */
.shop-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 20px;
}

.category-block {
    margin-bottom: 60px;
}

.category-header {
    margin-bottom: 30px;
    border-left: 5px solid var(--primary);
    padding-left: 20px;
}

.category-header h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
}

/* Carte Produit */
.product-card {
    background: var(--surface);
    border-radius: 20px;
    padding: 20px;
    position: relative;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.05);
}

.product-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 5px 12px;
    border-radius: 50px;
}

.product-image {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 12px;
    margin-bottom: 20px;
}

.product-image img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
}

.brand {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
}

.product-info h3 {
    margin: 5px 0 15px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-main);
}

.price-container {
    margin-top: auto;
    padding-bottom: 15px;
}

.current-price {
    font-size: 1.25rem;
    font-weight: 800;
}

.old-price {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 0.9rem;
    margin-left: 10px;
}

/* Bouton Action */
.btn-outline {
    text-align: center;
    border: 2px solid #e2e8f0;
    color: var(--text-main);
    padding: 12px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}
