/* =====================================================
   GLORY MARKET — Catalogue Haut de Gamme 2026
   Version polie (senior)
   ===================================================== */

:root {
  --bg: #080808;
  --bg-elevated: #0f0f0f;
  --surface: #161616;
  --surface-hover: #1c1c1c;
  --border: rgba(255,255,255,0.06);
  --border-gold: rgba(212,175,55,0.28);
  --gold: #d4af37;
  --gold-soft: #e8c96a;
  --gold-dim: #a88b2e;
  --text: #f4f4f4;
  --text-muted: #9a9a9a;
  --text-dim: #666;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 20px 60px rgba(0,0,0,0.5);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Outfit', system-ui, sans-serif;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }

/* ---------- LOADER ---------- */
#loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transition: opacity 0.6s ease, visibility 0.6s;
}
#loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 2px;
}
.loader-bar {
  width: 120px;
  height: 2px;
  background: rgba(212,175,55,0.15);
  border-radius: 2px;
  overflow: hidden;
}
.loader-progress {
  height: 100%;
  width: 0%;
  background: var(--gold);
  animation: load 1.1s ease forwards;
}
@keyframes load { to { width: 100%; } }

/* ---------- HEADER ---------- */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: var(--transition);
  background: transparent;
}
#header.scrolled {
  background: rgba(8,8,8,0.94);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 0.7rem 0;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.logo-mark {
  width: 42px; height: 42px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: #0a0a0a;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}
.logo-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: var(--text);
}
.logo-text small {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: -1px;
}
.nav-desktop {
  display: flex;
  gap: 2.2rem;
}
.nav-desktop a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.25s;
  position: relative;
}
.nav-desktop a:hover { color: var(--gold); }
.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.3s;
}
.nav-desktop a:hover::after { width: 100%; }

.btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff !important;
  padding: 0.55rem 1.15rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}
.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.35);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.menu-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--text);
  transition: var(--transition);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(8,8,8,0.98);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-link {
  font-family: var(--font-display);
  font-size: 1.8rem;
  color: var(--text);
  transition: color 0.25s;
}
.mobile-link:hover { color: var(--gold); }
.mobile-wa { margin-top: 1rem; }

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding: 8rem 0 5rem;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 70% 40%, rgba(212,175,55,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 20% 80%, rgba(212,175,55,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.hero-content {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(212,175,55,0.08);
  border: 1px solid var(--border-gold);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.6rem;
}
.badge-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 6.5vw, 4.6rem);
  font-weight: 600;
  line-height: 1.05;
  margin-bottom: 1.4rem;
}
.hero h1 .line { display: block; }
.hero h1 .gold {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 420px;
  margin-bottom: 2.2rem;
  font-weight: 300;
}
.hero-desc strong { color: var(--text); font-weight: 500; }
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.95rem 1.7rem;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: var(--transition);
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-dim));
  color: #0a0a0a;
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px rgba(212,175,55,0.3);
}
.btn-ghost {
  background: transparent;
  border: 1.5px solid rgba(212,175,55,0.4);
  color: var(--gold);
}
.btn-ghost:hover {
  background: rgba(212,175,55,0.08);
  border-color: var(--gold);
}
.btn-lg { padding: 1.05rem 2rem; font-size: 1rem; }

.hero-meta {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}
.meta-item { text-align: left; }
.meta-value {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
}
.meta-label {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.meta-divider {
  width: 1px;
  height: 32px;
  background: var(--border);
}

.hero-visual { display: flex; justify-content: center; }
.hero-product {
  position: relative;
  max-width: 420px;
}
.hero-product img {
  width: 100%;
  border-radius: 20px;
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 4/5;
}
.hero-product-badge {
  position: absolute;
  top: 18px; right: 18px;
  background: var(--gold);
  color: #0a0a0a;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 6px;
}

/* ---------- SECTIONS ---------- */
.section { padding: 6rem 0; }
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.8rem;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 600;
  margin-bottom: 0.8rem;
}
.section-header p {
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto;
  font-size: 1.05rem;
}
.section-header.light h2 { color: var(--text); }

/* ---------- FILTER ---------- */
.filter-bar {
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 2.8rem;
}
.filter-btn {
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: rgba(212,175,55,0.1);
  border-color: var(--border-gold);
  color: var(--gold);
}

/* ---------- PRODUCTS ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.8rem;
}
.product-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: var(--transition);
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.6s ease forwards;
}
.product-card:nth-child(1) { animation-delay: 0.05s; }
.product-card:nth-child(2) { animation-delay: 0.1s; }
.product-card:nth-child(3) { animation-delay: 0.15s; }
.product-card:nth-child(4) { animation-delay: 0.2s; }
.product-card:nth-child(5) { animation-delay: 0.25s; }
.product-card:nth-child(6) { animation-delay: 0.3s; }
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
.product-card:hover {
  transform: translateY(-10px);
  border-color: var(--border-gold);
  box-shadow: var(--shadow);
}
.product-card.hidden { display: none; }
.product-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: #111;
}
.product-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}
.product-card:hover .product-image img { transform: scale(1.08); }
.product-tags {
  position: absolute;
  top: 12px; left: 12px;
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.tag {
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(6px);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 5px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.product-body { padding: 1.4rem; }
.product-cat {
  font-size: 0.72rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 500;
  margin-bottom: 0.35rem;
}
.product-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.product-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1.2rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 1.15rem;
  gap: 0.5rem;
}
.price-main {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--gold);
}
.price-gros {
  text-align: right;
  font-size: 0.78rem;
  color: var(--text-dim);
}
.price-gros span {
  display: block;
  color: var(--text);
  font-weight: 500;
  font-size: 0.92rem;
}
.btn-order {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--gold);
  color: var(--gold);
  font-size: 0.9rem;
  font-weight: 600;
  transition: var(--transition);
}
.btn-order:hover {
  background: var(--gold);
  color: #0a0a0a;
}

/* ---------- AVANTAGES ---------- */
.avantages {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.avantages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.avantage-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition);
}
.avantage-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
}
.avantage-icon {
  width: 56px; height: 56px;
  margin: 0 auto 1.2rem;
  background: rgba(212,175,55,0.08);
  border: 1px solid var(--border-gold);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
}
.avantage-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.avantage-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* ---------- CTA ---------- */
.cta-card {
  background: linear-gradient(145deg, #141414 0%, #0c0c0c 100%);
  border: 1px solid var(--border-gold);
  border-radius: 24px;
  padding: 3.5rem 2.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(212,175,55,0.06) 0%, transparent 50%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }
.cta-card h2 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 600;
  margin-bottom: 0.9rem;
}
.cta-card p {
  color: var(--text-muted);
  max-width: 480px;
  margin: 0 auto 1.6rem;
  font-size: 1.05rem;
}
.cta-phones {
  display: flex;
  justify-content: center;
  gap: 1.8rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.cta-phones a {
  color: var(--gold);
  font-weight: 500;
  font-size: 1rem;
  transition: opacity 0.25s;
}
.cta-phones a:hover { opacity: 0.8; }

/* ---------- FOOTER ---------- */
footer {
  padding: 3.5rem 0 2.2rem;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.3rem;
  text-align: center;
}
.footer-brand p {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}
.footer-links {
  display: flex;
  gap: 1.8rem;
}
.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.25s;
}
.footer-links a:hover { color: var(--gold); }
.footer-copy {
  font-size: 0.78rem;
  color: var(--text-dim);
  margin-top: 0.5rem;
}

/* ---------- FLOATING WA ---------- */
.float-wa {
  position: fixed;
  bottom: 1.8rem;
  right: 1.8rem;
  width: 58px; height: 58px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(37,211,102,0.4);
  z-index: 900;
  transition: var(--transition);
}
.float-wa:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 36px rgba(37,211,102,0.5);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 960px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 3rem;
  }
  .hero-desc { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-meta { justify-content: center; }
  .hero-visual { order: -1; }
  .hero-product { max-width: 320px; }
  .nav-desktop { display: none; }
  .menu-toggle { display: flex; }
}
@media (max-width: 600px) {
  .products-grid { grid-template-columns: 1fr; }
  .cta-card { padding: 2.5rem 1.4rem; }
  .hero { padding-top: 7rem; }
  .float-wa { bottom: 1.2rem; right: 1.2rem; width: 52px; height: 52px; }
}

/* Contact links and clearer price labels */
.price-label{display:block;color:var(--text-dim);font-size:.68rem;text-transform:uppercase;letter-spacing:.8px;margin-bottom:.15rem}
.product-order-links{display:grid;gap:.55rem}
.product-order-links .btn-order{width:100%;text-align:center}
.btn-order-secondary{font-size:.78rem;opacity:.9;border-color:rgba(212,175,55,.38)}
.btn-order-secondary:hover{background:rgba(212,175,55,.12);color:var(--gold)}
@media(max-width:420px){.product-footer{align-items:flex-start}.price-main{font-size:1.05rem}.price-gros span{font-size:.85rem}}
