@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500&family=Jost:wght@300;400;500;600&display=swap");

:root {
  --black: #121110;
  --black-soft: #1a1713;
  --black-softer: #232019;
  --gold: #cda45e;
  --gold-light: #e8cf9c;
  --gold-dark: #a9793a;
  --cream: #f4ecdd;
  --text-muted: #b3a690;
  --border: #332d24;
  --radius: 10px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  --container: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Jost", -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--cream);
  background: var(--black);
  line-height: 1.6;
}

h1, h2, h3, .brand-word {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
}

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

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Header ---- */

.site-header {
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(18, 17, 16, 0.92);
  backdrop-filter: blur(8px);
  z-index: 50;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  height: 44px;
  width: auto;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.4px;
  text-transform: uppercase;
}

.nav-links a {
  color: var(--text-muted);
  transition: color 0.15s ease;
}

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

.nav-cta {
  background: var(--gold);
  color: var(--black) !important;
  padding: 11px 22px;
  border-radius: 7px;
  font-weight: 600;
  transition: background 0.15s ease;
  border: none;
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.nav-cta:hover {
  background: var(--gold-light);
}

.cart-badge {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 999px;
  background: var(--black);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 700;
}

/* ---- Hero ---- */

.hero {
  padding: 100px 0 84px;
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(205, 164, 94, 0.12), transparent 60%);
}

.eyebrow {
  display: inline-block;
  color: var(--gold);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 22px;
}

h1 {
  font-size: 48px;
  line-height: 1.2;
  margin: 0 0 20px;
  color: var(--cream);
  letter-spacing: 0.2px;
}

h1 em {
  color: var(--gold-light);
  font-style: italic;
}

.hero p.lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 36px;
}

.btn-row {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: 0.3px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s ease;
}

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

.btn-primary:hover {
  background: var(--gold-light);
}

.btn-secondary {
  background: transparent;
  color: var(--cream);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.btn-whatsapp {
  background: #25d366;
  color: #08331b;
}

.btn-whatsapp:hover {
  background: #34e077;
}

/* ---- Sections ---- */

section {
  padding: 80px 0;
}

.section-soft {
  background: var(--black-soft);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 52px;
}

.section-header h2 {
  font-size: 34px;
  margin: 0 0 14px;
  letter-spacing: 0.2px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 16px;
  margin: 0;
}

/* ---- Filtres catégorie ---- */

.category-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}

.filter-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.filter-btn:hover {
  border-color: var(--gold);
  color: var(--gold-light);
}

.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
  font-weight: 600;
}

.media-label {
  font-family: "Playfair Display", serif;
  font-style: italic;
  font-size: 24px;
  color: var(--gold-light);
  letter-spacing: 0.3px;
}

/* ---- Cartes produits (bougies) ---- */

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
}

.product-card {
  background: var(--black-softer);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gold-dark);
}

.product-media {
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 30%, rgba(205, 164, 94, 0.22), transparent 65%),
    var(--black);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.candle-icon {
  position: relative;
  width: 22px;
  height: 46px;
  background: linear-gradient(var(--cream), var(--gold-light));
  border-radius: 3px;
}

.candle-icon::before {
  content: "";
  position: absolute;
  top: -22px;
  left: 50%;
  width: 16px;
  height: 22px;
  background: var(--gold);
  border-radius: 50% 50% 50% 0;
  transform: translateX(-50%) rotate(-45deg);
  box-shadow: 0 0 18px 4px rgba(205, 164, 94, 0.55);
}

.candle-icon::after {
  content: "";
  position: absolute;
  top: -26px;
  left: 50%;
  width: 2px;
  height: 6px;
  background: var(--black-softer);
  transform: translateX(-50%);
}

.product-body {
  padding: 22px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-grow: 1;
}

.product-scent {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
}

.product-card h3 {
  margin: 0;
  font-size: 21px;
  color: var(--cream);
}

.product-card p.product-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  flex-grow: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  gap: 12px;
}

.product-price {
  font-family: "Playfair Display", serif;
  font-size: 19px;
  color: var(--gold-light);
}

.product-order {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--gold);
  color: var(--black);
  font-weight: 600;
  font-size: 13px;
  padding: 9px 16px;
  border-radius: 7px;
  transition: background 0.15s ease;
  white-space: nowrap;
  border: none;
  font-family: inherit;
  cursor: pointer;
}

.product-order:hover {
  background: var(--gold-light);
}

/* ---- Valeurs / features ---- */

.value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 36px;
}

.value-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
  align-items: center;
}

.value-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 4px;
  background: rgba(205, 164, 94, 0.12);
  color: var(--gold);
  border: 1px solid var(--border);
}

.value-item h3 {
  margin: 0;
  font-size: 18px;
  color: var(--cream);
}

.value-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
}

/* ---- CTA band ---- */

.cta-band {
  background: var(--black-softer);
  border: 1px solid var(--border);
  color: var(--cream);
  text-align: center;
  border-radius: 16px;
  padding: 60px 32px;
}

.cta-band h2 {
  margin: 0 0 12px;
  font-size: 30px;
}

.cta-band p {
  color: var(--text-muted);
  margin: 0 0 30px;
  font-size: 16px;
}

/* ---- Contact ---- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-card {
  background: var(--black-softer);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
}

.contact-row {
  display: flex;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.contact-row:last-child {
  border-bottom: none;
}

.contact-row .label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  font-weight: 600;
  min-width: 90px;
}

.contact-row .value {
  font-size: 15px;
  color: var(--cream);
  font-weight: 500;
}

.placeholder-note {
  background: rgba(205, 164, 94, 0.08);
  border: 1px dashed var(--gold-dark);
  border-radius: var(--radius);
  padding: 16px 20px;
  color: var(--gold-light);
  font-size: 13.5px;
  text-align: center;
}

/* ---- Footer ---- */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 52px 0 30px;
  margin-top: 40px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand img {
  height: 38px;
  margin-bottom: 12px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 13.5px;
  max-width: 320px;
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.footer-col a,
.footer-col p {
  display: block;
  color: var(--cream);
  opacity: 0.85;
  font-size: 14px;
  margin: 0 0 8px;
}

.footer-col a:hover {
  color: var(--gold-light);
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  font-size: 13px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---- Panier ---- */

.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 7, 6, 0.7);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 90;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 400px;
  max-width: 92vw;
  background: var(--black-soft);
  border-left: 1px solid var(--border);
  box-shadow: var(--shadow);
  z-index: 91;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
  border-bottom: 1px solid var(--border);
}

.cart-drawer-header h3 {
  margin: 0;
  font-size: 20px;
  color: var(--cream);
}

.cart-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

.cart-close:hover {
  color: var(--gold-light);
}

.cart-items {
  flex-grow: 1;
  overflow-y: auto;
  padding: 8px 24px;
}

.cart-empty {
  padding: 40px 24px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14.5px;
}

.cart-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cart-item-name {
  font-family: "Playfair Display", serif;
  font-size: 16px;
  color: var(--cream);
}

.cart-item-scent {
  font-size: 12px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.qty-stepper {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 4px 10px;
}

.qty-stepper button {
  background: none;
  border: none;
  color: var(--gold-light);
  font-size: 16px;
  cursor: pointer;
  padding: 0 4px;
  line-height: 1;
}

.qty-stepper span {
  min-width: 16px;
  text-align: center;
  font-size: 14px;
  color: var(--cream);
}

.cart-item-price {
  font-size: 14px;
  color: var(--gold-light);
  font-weight: 600;
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 13px;
  padding: 4px;
}

.cart-item-remove:hover {
  color: #e05a5a;
}

#cart-summary {
  padding: 16px 24px;
  border-top: 1px solid var(--border);
}

.cart-subtotal-row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  color: var(--cream);
  font-weight: 600;
}

.checkout-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 24px 24px;
}

.checkout-form input,
.checkout-form textarea {
  background: var(--black-softer);
  border: 1px solid var(--border);
  border-radius: 7px;
  padding: 11px 14px;
  color: var(--cream);
  font-family: inherit;
  font-size: 14px;
  resize: none;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
  outline: none;
  border-color: var(--gold);
}

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

.checkout-note {
  margin: 0;
  font-size: 12.5px;
  color: var(--text-muted);
  line-height: 1.5;
}

.cart-checkout-btn {
  width: 100%;
  border: none;
}

.cart-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  background: var(--gold);
  color: var(--black);
  font-size: 13.5px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 999px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 99;
  white-space: nowrap;
}

.cart-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

body.cart-open-lock {
  overflow: hidden;
}

/* ---- Responsive ---- */

@media (max-width: 760px) {
  .nav-links {
    display: none;
  }
  h1 {
    font-size: 34px;
  }
  .hero {
    padding: 64px 0 52px;
  }
  section {
    padding: 56px 0;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    flex-direction: column;
  }
  .product-footer {
    flex-direction: column;
    align-items: flex-start;
  }
  .site-header .container {
    height: 68px;
  }
  .cart-drawer {
    width: 100vw;
    max-width: 100vw;
  }
}
