/* ===== RESET DE BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #222;
  background: #fafafa;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===== HEADER ===== */
.site-header {
  background: #ffffff;
  border-bottom: 1px solid #eee;
}

.header-top {
  max-width: 1100px;
  margin: 0 auto;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 40px;
}

.nav a {
  margin-left: 24px;
  font-weight: 500;
}

.nav a:hover {
  color: #d97757;
}

.banner {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 60px 20px;
}

.banner h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

.banner p {
  font-size: 15px;
  opacity: 0.85;
}

/* ===== GRILLE PRODUITS ===== */
.products-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
}

.products-section h2 {
  font-size: 22px;
  margin-bottom: 24px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

.product-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.product-info {
  padding: 12px 14px;
}

.product-info h3 {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 6px;
}

.price {
  font-weight: 600;
  color: #d97757;
}

/* ===== FOOTER ===== */
.site-footer {
  background: #222;
  color: #ccc;
  text-align: center;
  padding: 24px 20px;
  font-size: 13px;
  margin-top: 40px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 600px) {
  .header-top {
    flex-direction: column;
    gap: 12px;
  }
  .nav a {
    margin: 0 10px;
  }
  .banner h1 {
    font-size: 22px;
  }
}
