/* ===== Variables ===== */
:root {
  /* Dark Theme (default) */
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #1a1a1a;
  --bg-card-hover: #222222;
  --bg-header: rgba(10, 10, 10, 0.95);
  --bg-input: #1a1a1a;
  --color-gold: #D4AF37;
  --color-gold-light: #E6C200;
  --color-gold-dim: rgba(212, 175, 55, 0.15);
  --color-gold-glow: rgba(212, 175, 55, 0.3);
  --color-black: #0a0a0a;
  --color-white: #ffffff;
  --color-text: #e5e5e5;
  --color-text-muted: #a3a3a3;
  --color-border: rgba(212, 175, 55, 0.2);
  --color-border-subtle: rgba(255, 255, 255, 0.08);
  --font-sans: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.4);
  --shadow-card-hover: 0 8px 40px rgba(212, 175, 55, 0.15);
  --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Light Theme Override */
[data-theme="light"] {
  --bg-primary: #ffffff;
  --bg-secondary: #f8f6f0;
  --bg-card: #ffffff;
  --bg-card-hover: #faf8f2;
  --bg-header: rgba(255, 255, 255, 0.95);
  --bg-input: #ffffff;
  --color-text: #1a1a1a;
  --color-text-muted: #6b6b6b;
  --color-border: rgba(212, 175, 55, 0.3);
  --color-border-subtle: rgba(0, 0, 0, 0.08);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-card-hover: 0 8px 40px rgba(212, 175, 55, 0.12);
}

[data-theme="light"] .header {
  background: var(--bg-header);
  border-bottom-color: rgba(212, 175, 55, 0.2);
}

[data-theme="light"] .mobile-nav {
  background: var(--bg-primary);
  border-top-color: rgba(0,0,0,0.08);
}

[data-theme="light"] .menu-toggle {
  color: #1a1a1a;
}

[data-theme="light"] .logo {
  color: #1a1a1a;
}

[data-theme="light"] .nav-link {
  color: #1a1a1a;
}

[data-theme="light"] .hero-particles canvas {
  opacity: 0.3;
}

[data-theme="light"] .footer {
  background: #1a1a1a;
}

[data-theme="light"] .service-card {
  border-color: rgba(212, 175, 55, 0.15);
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea,
[data-theme="light"] .form-group select {
  background: #f8f6f0;
  border-color: rgba(0,0,0,0.12);
  color: #1a1a1a;
}

/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: var(--bg-primary);
  color: var(--color-text);
  line-height: 1.7;
  overflow-x: hidden;
}

h1 {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-white);
}

[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3 {
  color: #1a1a1a;
}

h2 {
  font-size: 1.75rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-white);
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--color-white);
}

p {
  color: var(--color-text-muted);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
}

/* ===== Utilities ===== */
.container {
  width: 100%;
  max-width: 448px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 375px) {
  .container {
    padding: 0 1.25rem;
  }
}

@media (min-width: 768px) {
  .container {
    padding: 0 1.5rem;
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1100px;
  }
}

.text-gold {
  color: var(--color-gold);
}

.btn-primary {
  width: 100%;
  min-height: 48px;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  color: var(--color-black);
  font-weight: 600;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 9999px;
  font-size: 1rem;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.section-title {
  text-align: center;
  margin-bottom: 0.75rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  margin: 0.75rem auto 0;
  border-radius: 2px;
}

.section-description {
  text-align: center;
  margin-bottom: 2rem;
  font-size: clamp(0.875rem, 2vw, 1rem);
}

@media (min-width: 768px) {
  .section-description {
    margin-bottom: 3rem;
  }
}

/* ===== Scroll Animations ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }
.animate-on-scroll.delay-4 { transition-delay: 0.4s; }
.animate-on-scroll.delay-5 { transition-delay: 0.5s; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--bg-header);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  transition: var(--transition-smooth);
}

.header-container {
  padding: 0.875rem 1rem;
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 768px) {
  .header-container {
    padding: 1rem 1.5rem;
  }
}

/* Header controls (theme toggle, lang toggle, menu) */
.header-controls {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.theme-toggle,
.lang-toggle {
  min-width: 40px;
  min-height: 40px;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-gold-dim);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  color: var(--color-gold);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  -webkit-tap-highlight-color: transparent;
}

.theme-toggle:hover,
.lang-toggle:hover {
  background: var(--color-gold);
  color: var(--color-black);
  border-color: var(--color-gold);
}

.theme-toggle svg {
  width: 18px;
  height: 18px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--color-white);
}

.logo-img {
  width: 2.5rem;
  height: 2.5rem;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 0.25rem;
}

.logo-text {
  margin-left: 0.75rem;
  font-weight: 600;
  font-size: 0.75rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--color-gold);
}

@media (min-width: 480px) {
  .logo-text {
    font-size: 0.875rem;
  }
}

@media (min-width: 768px) {
  .logo-img {
    width: 3rem;
    height: 3rem;
  }
  .logo-text {
    font-size: 1rem;
  }
}

.menu-toggle {
  min-width: 44px;
  min-height: 44px;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--color-gold);
  -webkit-tap-highlight-color: transparent;
  transition: var(--transition-smooth);
}

.menu-toggle:hover {
  color: var(--color-gold-light);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

.mobile-nav {
  display: none;
  background: var(--bg-primary);
  border-top: 1px solid var(--color-border);
  padding: 1rem;
  padding-left: max(1rem, env(safe-area-inset-left));
  padding-right: max(1rem, env(safe-area-inset-right));
}

.mobile-nav.active {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.mobile-nav ul {
  list-style: none;
}

.mobile-nav li {
  margin-bottom: 0.5rem;
}

.mobile-nav li:last-child {
  margin-bottom: 0;
}

.nav-link {
  display: block;
  padding: 0.75rem 0;
  min-height: 44px;
  color: var(--color-text);
  text-decoration: none;
  transition: var(--transition-smooth);
  -webkit-tap-highlight-color: transparent;
  position: relative;
}

.nav-link:hover {
  color: var(--color-gold);
  padding-left: 0.5rem;
}

/* ===== Hero Section ===== */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 3rem 0 4rem;
  background: var(--bg-primary);
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-gold-dim) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(1.75rem, 5vw, 2.25rem);
  margin-bottom: 1.25rem;
  line-height: 1.25;
}

.hero-description {
  font-size: clamp(0.9375rem, 2.5vw, 1.125rem);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Newsletter bar in hero */
.newsletter-bar {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.newsletter-bar input {
  flex: 1;
  min-width: 200px;
  padding: 0.875rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--color-border);
  border-radius: 9999px;
  color: var(--color-text);
  font-family: inherit;
  font-size: 0.875rem;
  transition: var(--transition-smooth);
}

.newsletter-bar input::placeholder {
  color: var(--color-text-muted);
}

.newsletter-bar input:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px var(--color-gold-dim);
}

.newsletter-bar button {
  padding: 0.875rem 1.5rem;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  color: var(--color-black);
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.newsletter-bar button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.4);
}

.newsletter-msg {
  margin-top: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-gold);
  min-height: 1.2em;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}

.stat {
  text-align: center;
  padding: 1rem 0.5rem;
  background: var(--bg-card);
  border-radius: 1rem;
  border: 1px solid var(--color-border-subtle);
  transition: var(--transition-smooth);
}

.stat:hover {
  border-color: var(--color-border);
  transform: translateY(-2px);
}

.stat-number {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-weight: 500;
  line-height: 1.3;
}

@media (min-width: 768px) {
  .hero {
    padding: 6rem 0;
  }
  .hero-description {
    margin-bottom: 3rem;
  }
  .hero-stats {
    gap: 2rem;
    margin-top: 3rem;
  }
  .stat-label {
    font-size: 0.875rem;
  }
  .hero h1 {
    font-size: 3rem;
  }
}

@media (min-width: 1024px) {
  .hero h1 {
    font-size: 3.5rem;
  }
}

/* ===== Services Section ===== */
.services {
  padding: 3rem 0;
  background: var(--bg-secondary);
  position: relative;
}

.services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold-dim), transparent);
}

.services-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .services {
    padding: 4rem 0;
  }
  .services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background: var(--bg-card);
  border-radius: 1rem;
  padding: 0;
  box-shadow: var(--shadow-card);
  transition: var(--transition-smooth);
  border: 1px solid var(--color-border-subtle);
  overflow: hidden;
  position: relative;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-6px);
  border-color: var(--color-border);
}

.service-card:hover::before {
  opacity: 1;
}

.service-img {
  width: 100%;
  height: 160px;
  overflow: hidden;
  position: relative;
}

.service-img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, var(--bg-card), transparent);
  pointer-events: none;
}

.service-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-img img {
  transform: scale(1.08);
}

.service-card-content {
  padding: 1.25rem;
}

.service-card h3 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.service-card p {
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.75rem 1.25rem;
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  color: var(--color-black);
  font-weight: 600;
  border: none;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  text-decoration: none;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
  -webkit-tap-highlight-color: transparent;
  position: relative;
  overflow: hidden;
}

.btn-whatsapp:hover {
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.35);
  transform: translateY(-2px);
}

/* ===== About Section ===== */
.about {
  padding: 3rem 0;
  background: var(--bg-primary);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold-dim), transparent);
}

@media (min-width: 768px) {
  .about {
    padding: 4rem 0;
  }
}

.about-content {
  margin-top: 2rem;
  padding: 2rem;
  background: var(--bg-card);
  border-radius: 1rem;
  border: 1px solid var(--color-border-subtle);
}

.about-text {
  margin-bottom: 1.5rem;
}

/* ===== Contact Form Section ===== */
.contact-section {
  padding: 3rem 0;
  background: var(--bg-secondary);
  position: relative;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold-dim), transparent);
}

@media (min-width: 768px) {
  .contact-section {
    padding: 4rem 0;
  }
}

.contact-form-wrapper {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-form-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
}

.contact-form {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid var(--color-border-subtle);
}

@media (min-width: 768px) {
  .contact-form {
    padding: 2rem;
  }
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--color-text);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--color-border);
  border-radius: 0.75rem;
  color: var(--color-text);
  font-family: inherit;
  font-size: 16px;
  transition: var(--transition-smooth);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 3px var(--color-gold-dim);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-success {
  margin-top: 1rem;
  padding: 0.75rem;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--color-gold);
  border-radius: 0.5rem;
  color: var(--color-gold);
  font-size: 0.875rem;
  text-align: center;
  display: none;
}

.form-success.show {
  display: block;
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

.contact-info-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border-radius: 1rem;
  border: 1px solid var(--color-border-subtle);
  transition: var(--transition-smooth);
}

.contact-info-card:hover {
  border-color: var(--color-border);
  transform: translateX(5px);
}

.contact-info-icon {
  width: 3rem;
  height: 3rem;
  background: var(--color-gold-dim);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-gold);
}

.contact-info-label {
  font-weight: 600;
  color: var(--color-text);
  font-size: 0.875rem;
}

.contact-info-value {
  color: var(--color-text-muted);
  font-size: 0.8125rem;
  margin-top: 0.15rem;
}

.contact-info-value a {
  color: var(--color-gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info-value a:hover {
  color: var(--color-gold-light);
}

/* ===== Catalogue Section ===== */
.catalogue {
  padding: 2.5rem 0;
  background: var(--bg-primary);
  margin-top: 4rem;
}

.catalogue-item {
  margin-bottom: 2.5rem;
  padding: 1.25rem;
  background: var(--bg-card);
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--color-border-subtle);
  transition: var(--transition-smooth);
}

.catalogue-item:hover {
  border-color: var(--color-border);
}

.catalogue-header {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.catalogue-icon {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  background: var(--color-gold-dim);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 0;
}

.catalogue-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-gold);
}

.catalogue-header h2 {
  font-size: clamp(1.25rem, 3.5vw, 1.75rem);
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.3;
  flex: 1;
  min-width: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.catalogue-image {
  margin: 1.25rem 0;
  text-align: center;
}

.catalogue-image img {
  width: 100%;
  max-width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 0.75rem;
  box-shadow: var(--shadow-card);
}

.catalogue-content p {
  margin-bottom: 0.875rem;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.catalogue-content ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.catalogue-content li {
  padding: 0.4rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.catalogue-content li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-gold);
  font-weight: bold;
}

.catalogue-price {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem;
}

.catalogue-price .price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-gold);
  order: -1;
}

@media (min-width: 480px) {
  .catalogue-price {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }
  .catalogue-price .price {
    order: 0;
  }
}

@media (min-width: 768px) {
  .catalogue {
    padding: 4rem 0;
  }
  .catalogue-item {
    margin-bottom: 3rem;
    padding: 2rem;
  }
  .catalogue-header {
    margin-bottom: 1.5rem;
  }
  .catalogue-icon {
    width: 4rem;
    height: 4rem;
    margin-right: 1.5rem;
  }
  .catalogue-icon svg {
    width: 32px;
    height: 32px;
  }
  .catalogue-image {
    margin: 1.5rem 0;
  }
  .catalogue-image img {
    max-width: 400px;
    height: 250px;
    border-radius: 1rem;
  }
  .catalogue-price .price {
    font-size: 1.25rem;
  }
}

/* ===== Produits Section ===== */
.produits {
  padding: 2.5rem 0;
  background: var(--bg-primary);
  margin-top: 4rem;
}

.produits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.produit-card {
  background: var(--bg-card);
  border-radius: 1rem;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: var(--transition-smooth);
  border: 1px solid var(--color-border-subtle);
}

@media (min-width: 480px) {
  .produits-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
    gap: 1.5rem;
  }
}

@media (min-width: 768px) {
  .produits {
    padding: 4rem 0;
  }
  .produits-grid {
    gap: 2rem;
    margin-top: 3rem;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

.produit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--color-border);
}

.produit-image {
  width: 100%;
  height: 180px;
  overflow: hidden;
}

@media (min-width: 480px) {
  .produit-image {
    height: 200px;
  }
}

.produit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.produit-card:hover .produit-image img {
  transform: scale(1.08);
}

.produit-info {
  padding: 1.25rem;
}

@media (min-width: 768px) {
  .produit-info {
    padding: 1.5rem;
  }
}

.produit-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.produit-info p {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.produit-price {
  margin-bottom: 1rem;
}

.produit-price .price {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-gold);
}

/* ===== Footer ===== */
.footer {
  background: #0d0d0d;
  color: var(--color-white);
  padding: 2.5rem 0;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

@media (min-width: 768px) {
  .footer {
    padding: 3rem 0;
  }
}

.footer .container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .footer .container {
    gap: 2rem;
  }
  .footer-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2rem;
  }
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-left {
    align-items: flex-start;
  }
  .footer-contact {
    margin-left: auto;
    text-align: right;
    align-items: flex-end;
  }
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0;
}

.footer-logo-img {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 0.25rem;
}

.footer .logo-text {
  color: var(--color-gold);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .footer .logo-text {
    font-size: 1rem;
  }
}

.social-links {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0;
}

.social-links a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  border: 1px solid var(--color-border);
  transition: var(--transition-smooth);
  -webkit-tap-highlight-color: transparent;
  overflow: hidden; /* Ensure image doesn't overflow circular container */
}

.social-img-icon {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.social-links a:hover .social-img-icon {
  transform: scale(1.1);
}

.contact-img-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--color-gold);
}

.social-links a:hover {
  background: var(--color-gold);
  color: var(--color-black);
  border-color: var(--color-gold);
  transform: translateY(-2px);
}

.social-links svg {
  width: 18px;
  height: 18px;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  list-style: none;
  margin: 0;
}

@media (min-width: 768px) {
  .footer-nav ul {
    gap: 1.5rem;
  }
}

.footer-nav a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.875rem;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
  -webkit-tap-highlight-color: transparent;
}

.footer-nav a:hover {
  color: var(--color-gold);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  align-items: center;
  margin-bottom: 0;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-contact {
    align-items: flex-end;
    text-align: right;
  }
}

.footer-contact .contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .footer-contact .contact-item {
    justify-content: flex-start;
  }
}

.footer-contact .contact-icon {
  width: 2rem;
  height: 2rem;
  background: var(--color-gold-dim);
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-contact .contact-icon svg {
  width: 16px;
  height: 16px;
  color: var(--color-gold);
}

.footer-contact .contact-label {
  font-weight: 500;
  color: var(--color-white);
  font-size: 0.875rem;
}

.footer-contact .contact-value {
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

.contact-link {
  color: var(--color-gold);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-link:hover {
  color: var(--color-gold-light);
  text-decoration: underline;
}

.copyright {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  text-align: center;
}

@media (min-width: 768px) {
  .copyright {
    padding-top: 2rem;
    font-size: 0.875rem;
  }
}

/* ===== Admin Panel ===== */
.admin-login {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}

.admin-login-box {
  background: var(--bg-card);
  border: 1px solid var(--color-border);
  border-radius: 1rem;
  padding: 2rem;
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.admin-login-box h2 {
  margin-bottom: 1.5rem;
  color: var(--color-gold);
}

.admin-login-box .form-group {
  margin-bottom: 1rem;
}

.admin-dashboard {
  padding: 2rem 1rem;
  margin-top: 4rem;
}

.admin-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.admin-tab {
  padding: 0.75rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: 0.5rem;
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.875rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.admin-tab.active,
.admin-tab:hover {
  background: var(--color-gold);
  color: var(--color-black);
  border-color: var(--color-gold);
}

.admin-panel {
  background: var(--bg-card);
  border: 1px solid var(--color-border-subtle);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.admin-panel h3 {
  color: var(--color-gold);
  margin-bottom: 1rem;
  font-size: 1.125rem;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
}

.admin-table th,
.admin-table td {
  padding: 0.75rem;
  text-align: left;
  border-bottom: 1px solid var(--color-border-subtle);
}

.admin-table th {
  color: var(--color-gold);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.admin-table td {
  color: var(--color-text-muted);
}

.admin-table tr:hover td {
  color: var(--color-text);
}

.btn-export {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  background: var(--color-gold-dim);
  border: 1px solid var(--color-border);
  border-radius: 0.5rem;
  color: var(--color-gold);
  font-size: 0.8125rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-family: inherit;
  margin-top: 1rem;
}

.btn-export:hover {
  background: var(--color-gold);
  color: var(--color-black);
}

.btn-delete {
  padding: 0.35rem 0.75rem;
  background: transparent;
  border: 1px solid #ef4444;
  border-radius: 0.35rem;
  color: #ef4444;
  font-size: 0.75rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  font-family: inherit;
}

.btn-delete:hover {
  background: #ef4444;
  color: white;
}

.admin-empty {
  text-align: center;
  padding: 2rem;
  color: var(--color-text-muted);
  font-size: 0.875rem;
}

/* ===== Toast Notification ===== */
.toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  padding: 1rem 1.5rem;
  background: var(--bg-card);
  border: 1px solid var(--color-gold);
  border-radius: 0.75rem;
  color: var(--color-gold);
  font-size: 0.875rem;
  font-weight: 500;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: var(--transition-smooth);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ===== Responsive Overflow Fix ===== */
.admin-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* ===== Comprehensive Mobile Responsive Tweaks ===== */
@media (max-width: 480px) {
  .hero { padding: 4rem 0 3rem; }
  .hero h1 { font-size: 1.5rem; }
  .hero-description { font-size: 0.9rem; }
  .section-title { font-size: 1.35rem; }
  .section-description { font-size: 0.85rem; }
  
  .newsletter-bar { flex-direction: column; }
  .newsletter-bar input, .newsletter-bar button { width: 100%; }
  
  .contact-info-card { flex-direction: column; text-align: center; }
  .contact-info-icon { margin: 0 auto; }
  
  .footer-logo { flex-direction: column; text-align: center; }
  .stat-number { font-size: 1.25rem; }
}

@media (max-width: 350px) {
  .hero-stats { grid-template-columns: 1fr; }
  .header-controls { gap: 0.25rem; }
  .theme-toggle, .lang-toggle { width: 2rem; height: 2rem; font-size: 0.65rem; }
}

/* ===== PWA Install Prompt (Subtle & Premium) ===== */
.pwa-install-prompt {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(13, 13, 13, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--color-border);
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 5000;
  transform: translateY(100%);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.pwa-install-prompt.show {
  transform: translateY(0);
  opacity: 1;
}

.pwa-install-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.pwa-install-icon {
  width: 28px;
  height: 28px;
  border-radius: 4px;
  object-fit: cover;
  border: 1px solid var(--color-border);
}

.pwa-install-text {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--color-text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pwa-install-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.pwa-btn-text {
  background: transparent;
  border: none;
  color: var(--color-gold);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  padding: 0.5rem 0;
  transition: opacity 0.2s;
}

.pwa-btn-text:hover {
  opacity: 0.8;
}

.pwa-close-btn {
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  display: flex;
  align-items: center;
  padding: 0.25rem;
  cursor: pointer;
  transition: color 0.2s;
}

.pwa-close-btn:hover {
  color: #ef4444;
}

@media (max-width: 480px) {
  .pwa-install-prompt {
    padding: 0.65rem 1rem;
  }
  .pwa-install-text {
    font-size: 0.8rem;
  }
  .pwa-btn-text {
    font-size: 0.8rem;
  }
}
