:root {
  --bg-color: #0f172a;
  --text-color: #f8fafc;
  --card-bg: rgba(15, 23, 42, 0.75);
  --accent-color: #ffffff;
  --accent-btn: #ffffff;
  --btn-text: #0f172a;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

body {
  font-family: var(--font-family);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* Arrière-plan flouté dynamiquement */
.bg-image {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-position: center;
  filter: blur(18px) brightness(0.45);
  transform: scale(1.1); /* Évite les bords blancs à cause du flou */
  z-index: -1;
}

header {
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(12px);
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-color);
  text-decoration: none;
}

nav a {
  margin-left: 20px;
  text-decoration: none;
  color: #cbd5e1;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--text-color);
}

.hero {
  text-align: center;
  padding: 70px 20px 30px;
}

.hero h1 {
  font-size: 2.8rem;
  margin-bottom: 12px;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.hero p {
  color: #94a3b8;
  font-size: 1.15rem;
}

.grid-boutiques {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 30px;
  max-width: 1100px;
  margin: 40px auto;
  padding: 0 20px;
}

.card {
  background: var(--card-bg);
  backdrop-filter: blur(16px);
  border-radius: 16px;
  padding: 30px 24px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
  color: inherit;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.3);
}

.card-img-preview {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 20px;
}

.card h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.card p {
  color: #cbd5e1;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.price {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 12px 24px;
  background-color: var(--accent-btn);
  color: var(--btn-text);
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.9;
}

footer {
  text-align: center;
  padding: 40px 20px;
  color: #64748b;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 60px;
}
