/* ============================================
   WIZ DÉCO — Styles partagés
   Cible : 45+ → Police 18px, UI claire
   ============================================ */

:root {
  --gold:      #c9a96e;
  --gold-dark: #b8915a;
  --gold-light:#e8d5b0;
  --beige:     #f9f5f0;
  --beige-mid: #f0e8dc;
  --white:     #ffffff;
  --text:      #3a3a3a;
  --text-muted:#7a6040;
  --border:    #e0d3bc;
  --shadow:    0 4px 24px rgba(0,0,0,0.09);
  --radius:    12px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 18px;
  line-height: 1.65;
  color: var(--text);
  background: var(--beige);
}

h1, h2, h3, h4 {
  font-family: 'Georgia', serif;
  line-height: 1.25;
  color: var(--text);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ─── NAVIGATION ─── */
nav {
  background: var(--white);
  border-bottom: 2px solid var(--gold-light);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-family: 'Georgia', serif;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--gold-dark);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  transition: color 0.2s;
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-dark);
  border-bottom-color: var(--gold);
}

.nav-cart {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: 50px !important;
  border-bottom: none !important;
  transition: background 0.2s !important;
}

.nav-cart:hover { background: var(--gold-dark) !important; color: var(--white) !important; }

.cart-badge {
  background: #e04040;
  color: white;
  font-size: 0.7rem;
  font-weight: bold;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: absolute;
  top: -6px; right: -6px;
}

/* ─── BOUTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s;
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--white);
  box-shadow: 0 4px 16px rgba(201,169,110,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,169,110,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--gold-dark);
  border: 2px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

/* ─── CARTE PRODUIT ─── */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.14);
}

.product-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.4s;
}

.product-card:hover img { transform: scale(1.04); }

.card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.card-category {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gold);
  font-weight: 600;
}

.card-name {
  font-family: 'Georgia', serif;
  font-size: 1.1rem;
  color: var(--text);
}

.card-price {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold-dark);
  margin-top: auto;
  padding-top: 8px;
}

.card-actions {
  padding: 0 20px 20px;
  display: flex;
  gap: 10px;
}

.card-actions .btn { flex: 1; padding: 12px 16px; font-size: 0.9rem; }

/* ─── GRILLE PRODUITS ─── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

/* ─── SECTION GÉNÉRIQUE ─── */
.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 64px 24px;
}

.section-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 12px;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 48px;
  font-size: 1.05rem;
}

.divider-gold {
  width: 60px;
  height: 3px;
  background: var(--gold);
  margin: 12px auto 40px;
  border-radius: 2px;
}

/* ─── FOOTER ─── */
footer {
  background: #2e2820;
  color: #c8b99a;
  padding: 48px 24px 24px;
  margin-top: 80px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid #4a3f30;
}

.footer-logo {
  font-family: 'Georgia', serif;
  font-size: 1.4rem;
  color: var(--gold-light);
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.footer-desc { font-size: 0.9rem; line-height: 1.7; }

.footer-col h4 {
  color: var(--gold-light);
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { color: #c8b99a; font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--gold-light); }

.footer-bottom {
  max-width: 1200px;
  margin: 20px auto 0;
  text-align: center;
  font-size: 0.8rem;
  color: #8a7a60;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  body { font-size: 17px; }
  .nav-links { gap: 20px; }
  .nav-links a { font-size: 0.9rem; }
  .section { padding: 40px 16px; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .section-title { font-size: 1.6rem; }
}

@media (max-width: 520px) {
  .nav-links { display: none; }
  .products-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .product-card img { height: 180px; }
}