/* style.css - Inspiration Chronovet */
:root {
    --primary: #00a09d; /* Le Vert "Chronovet" */
    --secondary: #2c3e50; /* Gris foncé pro */
    --accent: #e67e22; /* Orange pour les boutons d'action */
    --light: #f8f9fa;
    --border: #e2e6ea;
}

body { font-family: 'Poppins', sans-serif; margin: 0; background-color: #f4f7f6; color: #333; }
a { text-decoration: none; color: inherit; }

/* HEADER PRO */
.top-bar { background: var(--secondary); color: white; padding: 5px 50px; font-size: 0.8em; display: flex; justify-content: space-between; }
header { background: white; padding: 15px 50px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 100; }
.logo { font-size: 24px; font-weight: 700; color: var(--secondary); display: flex; align-items: center; }
.logo span { color: var(--primary); }

.search-bar { flex: 1; margin: 0 40px; display: flex; }
.search-bar input { width: 100%; padding: 10px 15px; border: 1px solid var(--border); border-radius: 25px 0 0 25px; outline: none; }
.search-bar button { background: var(--primary); color: white; border: none; padding: 0 20px; border-radius: 0 25px 25px 0; cursor: pointer; }

.user-actions { display: flex; gap: 20px; align-items: center; font-size: 0.9em; font-weight: 500; }
.user-actions i { font-size: 1.2em; color: var(--primary); }

/* NAVIGATION */
nav.main-nav { background: white; border-bottom: 1px solid var(--border); padding: 0 50px; display: flex; gap: 30px; }
nav.main-nav a { padding: 15px 0; font-weight: 600; color: var(--secondary); border-bottom: 3px solid transparent; transition: 0.3s; }
nav.main-nav a:hover { color: var(--primary); border-bottom: 3px solid var(--primary); }

/* CONTENU */
.container { max-width: 1200px; margin: 30px auto; padding: 0 20px; }
.hero-banner { background: url('https://images.unsplash.com/photo-1597595280194-6b9409893d56?auto=format&fit=crop&w=1350&q=80') center/cover; height: 300px; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; text-align: center; margin-bottom: 30px; position: relative; }
.hero-overlay { background: rgba(0,0,0,0.4); position: absolute; inset: 0; border-radius: 10px; }
.hero-content { position: relative; z-index: 2; }

/* GRILLE PRODUITS */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 25px; }
.product-card { background: white; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; transition: 0.3s; display: flex; flex-direction: column; }
.product-card:hover { box-shadow: 0 10px 20px rgba(0,0,0,0.1); transform: translateY(-5px); }
.product-img { height: 180px; background: #fff; display: flex; align-items: center; justify-content: center; padding: 10px; }
.product-img img { max-height: 100%; max-width: 100%; object-fit: contain; }
.product-info { padding: 15px; flex: 1; display: flex; flex-direction: column; }
.product-cat { color: #999; font-size: 0.8em; text-transform: uppercase; margin-bottom: 5px; }
.product-title { font-weight: 600; font-size: 1em; margin-bottom: 10px; color: var(--secondary); flex: 1; }
.product-price { color: var(--primary); font-weight: 700; font-size: 1.2em; margin-bottom: 15px; }
.btn-add { background: var(--secondary); color: white; text-align: center; padding: 10px; border-radius: 5px; font-weight: 600; transition: 0.2s; border: none; width: 100%; cursor: pointer; }
.btn-add:hover { background: var(--accent); }

/* LOGIN PAGE SPÉCIALE */
.login-wrapper { display: flex; height: 100vh; background: white; }
.login-visual { flex: 1; background: url('https://images.unsplash.com/photo-1548191265-cc70d3d45ba1?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80') center/cover; position: relative; }
.login-form-container { width: 450px; padding: 50px; display: flex; flex-direction: column; justify-content: center; box-shadow: -5px 0 15px rgba(0,0,0,0.05); }
.brand-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 20px; opacity: 0.6; }
.brand-grid img { width: 100%; filter: grayscale(100%); }