/* ============================================
   SWEET MOMENT — Design System
   ============================================ */

:root {
  /* Palette — ivoire, or, beige */
  --bg:        #faf6ed;
  --bg-2:      #f3ecdb;
  --bg-3:      #ece2c8;
  --ink:       #2c2316;
  --ink-soft:  #5d4f37;
  --ink-mute:  #8a795a;
  --gold:      #b18b3a;
  --gold-2:    #c9a85a;
  --gold-soft: #e6d5a3;
  --gold-pale: #f1e4be;
  --border:    #e0d3b3;
  --border-soft:#ede2c6;
  --white:     #ffffff;
  --shadow:    0 1px 2px rgba(80,60,20,0.04), 0 8px 32px rgba(80,60,20,0.06);
  --shadow-lg: 0 4px 12px rgba(80,60,20,0.06), 0 24px 64px rgba(80,60,20,0.10);

  /* Type */
  --serif: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  --sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
  --mono:  'JetBrains Mono', ui-monospace, monospace;
}

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

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'kern' 1, 'liga' 1;
}

/* SM monogram tablecloth pattern — used ONLY behind product photos */
.tablecloth-photo {
  position: relative;
  background-color: #f1e7d0;
}
.tablecloth-photo::before {
  content: '';
  position: absolute; inset: 0;
  background-image: url('assets/logo-mono-transparent.png');
  background-size: 120px 120px;
  background-repeat: repeat;
  background-position: center;
  opacity: 0.10;
  pointer-events: none;
  z-index: 0;
}
.tablecloth-photo > * { position: relative; z-index: 1; }

/* Minimalist luxury section backgrounds */
.section-cream {
  background: var(--bg);
  position: relative;
}
.section-ivory {
  background: linear-gradient(180deg, var(--bg) 0%, #f7f0df 100%);
  position: relative;
}
.section-warm {
  background: var(--bg-2);
  position: relative;
}

/* Subtle hairline gold accent at section transitions */
.section-cream + .section-warm,
.section-warm + .section-cream {
  border-top: 1px solid var(--border-soft);
}

/* Section corner ornament — subtle gold cornerings on warm sections */
.section-warm::before,
.section-warm::after {
  content: '';
  position: absolute;
  width: 1px;
  background: linear-gradient(180deg, var(--gold-soft), transparent 60%);
  top: 0;
  height: 80px;
  pointer-events: none;
}
.section-warm::before { left: 50%; }
.section-warm::after  { display: none; }

/* ----- Type ----- */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: 0.005em;
  line-height: 1.1;
  margin: 0;
  color: var(--ink);
}
h1 { font-size: clamp(40px, 6vw, 76px); font-weight: 400; }
h2 { font-size: clamp(32px, 4.4vw, 54px); font-weight: 400; }
h3 { font-size: clamp(22px, 2vw, 28px); }
h4 { font-size: 18px; font-family: var(--sans); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }

.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before, .eyebrow::after {
  content: '';
  width: 28px; height: 1px;
  background: var(--gold);
  opacity: 0.6;
}
.eyebrow.no-after::after { display: none; }
.eyebrow.no-before::before { display: none; }

.script {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}

.lead {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 400;
}

p { margin: 0 0 1em; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }

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

/* ----- Layout ----- */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 640px) { .container { padding: 0 20px; } }

section { padding: clamp(64px, 9vw, 128px) 0; position: relative; }

.section-head {
  text-align: center;
  margin: 0 auto clamp(40px, 5vw, 72px);
  max-width: 720px;
}
.section-head .eyebrow { margin-bottom: 20px; }
.section-head h2 { margin-bottom: 16px; }
.section-head .lead { max-width: 580px; margin: 0 auto; }

/* Gold filet divider */
.filet {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin: 24px 0;
}
.filet::before, .filet::after {
  content: ''; height: 1px; flex: 1; max-width: 80px;
  background: linear-gradient(90deg, transparent, var(--gold) 50%, transparent);
}
.filet-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
  transform: rotate(45deg);
  border-radius: 1px;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,246,237,0.88);
  backdrop-filter: blur(14px) saturate(1.1);
  -webkit-backdrop-filter: blur(14px) saturate(1.1);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 84px;
  gap: 32px;
}
.nav-logo {
  display: flex; align-items: center; gap: 12px;
  cursor: pointer;
}
.brand-mono {
  filter: drop-shadow(0 1px 2px rgba(177,139,58,0.18));
}
.brand-full {
  filter: drop-shadow(0 2px 4px rgba(177,139,58,0.10));
}
.brand-full.dark {
  filter: drop-shadow(0 4px 12px rgba(177,139,58,0.25));
}

.nav-wordmark {
  display: flex; flex-direction: column;
  line-height: 1;
}
.nav-wordmark .brand {
  font-family: var(--serif);
  font-size: 22px;
  letter-spacing: 0.22em;
  font-weight: 500;
  color: var(--ink);
}
.nav-wordmark .tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: 12px;
  color: var(--gold);
  margin-top: 4px;
  letter-spacing: 0.04em;
}
@media (max-width: 720px) { .nav-wordmark .tag { display: none; } .nav-wordmark .brand { font-size: 18px; } }

.nav-links {
  display: flex; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.nav-links button {
  background: none; border: none;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 10px 18px;
  cursor: pointer;
  border-radius: 999px;
  transition: all 0.2s;
  position: relative;
}
.nav-links button:hover { color: var(--gold); }
.nav-links button.active { color: var(--gold); }
.nav-links button.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px;
  background: var(--gold);
  border-radius: 50%;
  transform: translateX(-50%) rotate(45deg);
  border-radius: 1px;
}

.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px;
  background: var(--ink);
  color: var(--bg);
  border-radius: 999px;
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  font-weight: 500;
  cursor: pointer; border: none;
  transition: all 0.2s;
}
.nav-cta:hover { background: var(--gold); }
.nav-cta::before {
  content: ''; width: 6px; height: 6px;
  background: var(--gold-2); border-radius: 50%;
}
.nav-cta:hover::before { background: var(--bg); }

.menu-toggle {
  display: none;
  background: none; border: 1px solid var(--border);
  border-radius: 999px;
  padding: 10px 14px;
  cursor: pointer;
  color: var(--ink);
}
@media (max-width: 920px) {
  .nav-links, .nav-cta { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; }
  .nav-inner { height: 72px; }
  .mobile-nav .nav-links, .mobile-nav .nav-cta { display: flex; }
}
.mobile-nav {
  display: none;
  padding: 16px 0 24px;
  border-top: 1px solid var(--border-soft);
}
.mobile-nav.open { display: block; }
.mobile-nav .nav-links {
  flex-direction: column; gap: 4px; padding: 0 16px;
}
.mobile-nav .nav-links button {
  text-align: left; padding: 14px 18px;
}
.mobile-nav .nav-cta { margin: 16px 16px 0; justify-content: center; }

/* ============================================
   HERO
   ============================================ */
.hero {
  padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 120px);
  position: relative;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
.hero h1 { margin: 20px 0 8px; }
.hero h1 .script { display: block; font-size: 0.78em; margin-top: -8px; }
.hero-copy { max-width: 520px; }
.hero-meta {
  margin-top: 32px;
  display: flex; gap: 32px; flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
}
.hero-meta div { display: flex; flex-direction: column; gap: 4px; }
.hero-meta strong {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink);
  font-weight: 500;
}
.hero-meta span {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.hero-cta-row { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }

.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1.15;
  max-width: 540px;
  margin-left: auto;
}
.hero-plate {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffffff 0%, #faf2dc 55%, #e6d5a3 100%);
  box-shadow:
    inset 0 0 0 1px rgba(177,139,58,0.25),
    inset 0 0 0 6px rgba(255,255,255,0.5),
    inset 0 0 0 7px rgba(177,139,58,0.15),
    0 30px 60px rgba(80,60,20,0.18),
    0 8px 24px rgba(80,60,20,0.10);
}
.hero-plate-inner {
  position: absolute; inset: 8%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #ffffff 0%, #f6ead0 70%);
  box-shadow: inset 0 0 0 1px rgba(177,139,58,0.12);
  display: grid; place-items: center;
  padding: 8%;
}
.hero-badge {
  position: absolute;
  top: 4%; right: 0;
  width: 130px; height: 130px;
  display: grid; place-items: center;
  background: var(--ink);
  color: var(--bg);
  border-radius: 50%;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  line-height: 1.3;
  box-shadow: var(--shadow-lg);
  transform: rotate(-8deg);
  border: 6px solid var(--bg);
}
.hero-badge::before {
  content: '★';
  display: block;
  color: var(--gold-2);
  font-size: 14px;
  margin-bottom: 4px;
}
.hero-badge strong {
  font-family: var(--sans);
  font-style: normal;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  display: block;
  margin-top: 2px;
  color: var(--gold-2);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.22s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn-primary:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--bg);
}
.btn-gold {
  background: var(--gold);
  color: var(--bg);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--ink); border-color: var(--ink); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.btn-ghost:hover {
  background: var(--ink); color: var(--bg);
}
.btn-outline {
  background: transparent;
  color: var(--ink-soft);
  border-color: var(--border);
}
.btn-outline:hover { color: var(--gold); border-color: var(--gold); }

.btn-icon { width: 16px; height: 16px; }

/* ============================================
   FILTERS (Click & Collect)
   ============================================ */
.filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
  margin-bottom: 56px;
  padding: 12px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  box-shadow: var(--shadow);
  max-width: fit-content;
  margin-left: auto; margin-right: auto;
}
@media (max-width: 720px) {
  .filters { border-radius: 24px; padding: 14px; }
}
.filter-btn {
  background: transparent;
  border: none;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink-soft);
  padding: 10px 18px;
  cursor: pointer;
  border-radius: 999px;
  transition: all 0.2s;
  white-space: nowrap;
}
.filter-btn:hover { color: var(--gold); background: var(--gold-pale); }
.filter-btn.active {
  background: var(--ink);
  color: var(--bg);
}
.filter-btn.active:hover { background: var(--ink); color: var(--bg); }

/* ============================================
   PRODUCT GRID
   ============================================ */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 32px;
}

.product {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all 0.3s;
  position: relative;
}
.product:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-soft);
}

.product-photo {
  position: relative;
  aspect-ratio: 1 / 1;
  background: var(--bg-2);
  overflow: hidden;
}
.product-photo::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(80,60,20,0.10) 0%, transparent 60%);
  pointer-events: none;
}

/* Image-slot styling override — we want photos to "sit" on a plate */
.product-photo image-slot {
  display: block;
  width: 100%; height: 100%;
}

.product-tag {
  position: absolute;
  top: 14px; left: 14px;
  z-index: 2;
  padding: 5px 12px;
  background: var(--bg);
  border: 1px solid var(--gold-soft);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  border-radius: 2px;
}
.product-tag.new { background: var(--ink); color: var(--gold-2); border-color: var(--ink); }

.product-body {
  padding: 24px 24px 28px;
  display: flex; flex-direction: column; gap: 14px;
  flex: 1;
}
.product-cat {
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.product-name {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1.1;
  margin: 0;
}
.product-desc {
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

.portion-select {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-top: auto;
}
.portion-chip {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 8px 12px;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-soft);
  cursor: pointer;
  transition: all 0.18s;
  letter-spacing: 0.02em;
  flex: 1 0 auto;
  min-width: 0;
  text-align: center;
}
.portion-chip:hover { border-color: var(--gold); color: var(--gold); }
.portion-chip.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

.product-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 24px;
  border-top: 1px solid var(--border-soft);
  background: var(--bg);
}
.product-price {
  font-family: var(--serif);
  font-size: 28px;
  color: var(--ink);
  font-weight: 500;
  line-height: 1;
}
.product-price .currency { font-size: 18px; color: var(--gold); margin-right: 2px; vertical-align: top; }
.product-add {
  background: var(--ink);
  color: var(--bg);
  border: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  cursor: pointer;
  display: grid; place-items: center;
  transition: all 0.2s;
  font-size: 18px;
  font-weight: 300;
}
.product-add:hover { background: var(--gold); transform: rotate(90deg); }

/* ============================================
   BOX DE LA SEMAINE — featured "coup de cœur"
   ============================================ */
.box-week {
  --bw-accent: var(--gold);
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.95fr) 1.05fr;
  background:
    linear-gradient(180deg, #fffaee 0%, #fdf4dc 100%);
  border: 1px solid var(--gold-soft);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 48px;
  box-shadow:
    0 1px 2px rgba(80,60,20,0.04),
    0 24px 60px -20px rgba(143,108,40,0.22);
}
.box-week::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 0% 0%, rgba(201,168,90,0.16) 0%, transparent 38%),
    radial-gradient(circle at 100% 100%, rgba(201,168,90,0.10) 0%, transparent 42%);
}
.box-week::after {
  content: '';
  position: absolute;
  inset: 8px;
  pointer-events: none;
  border: 1px solid rgba(177,139,58,0.22);
  border-radius: 3px;
}

@media (max-width: 880px) {
  .box-week { grid-template-columns: 1fr; }
}

/* — Media side — */
.box-week-media {
  position: relative;
  min-height: 100%;
  background: var(--bg-2);
}
.box-week-media .product-photo {
  aspect-ratio: auto;
  height: 100%;
  min-height: 380px;
}
@media (max-width: 880px) {
  .box-week-media .product-photo { min-height: 280px; aspect-ratio: 4 / 3; }
}

.box-week-ribbon {
  position: absolute;
  top: 18px; left: 18px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 14px 8px 12px;
  background: var(--ink);
  color: var(--gold-2);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  border-radius: 2px;
  box-shadow: 0 4px 14px rgba(44,35,22,0.22);
}
.box-week-ribbon .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold-2);
  box-shadow: 0 0 0 4px rgba(201,168,90,0.18);
  animation: bw-pulse 2.4s ease-in-out infinite;
}
@keyframes bw-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(201,168,90,0.35); }
  50%      { box-shadow: 0 0 0 6px rgba(201,168,90,0); }
}

.box-week-pill {
  position: absolute;
  bottom: 18px; left: 18px; right: 18px;
  z-index: 3;
  padding: 10px 14px;
  background: rgba(255,250,238,0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid var(--gold-soft);
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
  text-align: center;
  border-radius: 2px;
}

/* — Body side — */
.box-week-body {
  position: relative;
  z-index: 1;
  padding: 40px 44px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (max-width: 600px) {
  .box-week-body { padding: 32px 26px 28px; }
}

.box-week-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.box-week-eyebrow .line {
  width: 28px; height: 1px;
  background: var(--gold);
}

.box-week-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 44px;
  line-height: 1.02;
  color: var(--ink);
  margin: 0;
}
.box-week-title .script {
  font-style: italic;
  color: var(--gold);
  font-weight: 400;
}
@media (max-width: 600px) {
  .box-week-title { font-size: 34px; }
}

.box-week-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 17px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
  max-width: 44ch;
}

.box-week-items {
  list-style: none;
  margin: 8px 0 4px;
  padding: 20px 22px;
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--border-soft);
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.box-week-items li {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: baseline;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px dotted var(--border-soft);
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink);
}
.box-week-items li:last-child { border-bottom: none; }
.box-week-items .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.04em;
  font-weight: 500;
}
.box-week-items .name {
  font-weight: 500;
  letter-spacing: 0.005em;
}
.box-week-items .note {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}

.box-week-foot {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
  flex-wrap: wrap;
}
.box-week-price {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.box-week-price .amount {
  font-family: var(--serif);
  font-size: 46px;
  font-weight: 500;
  color: var(--ink);
  line-height: 1;
}
.box-week-price .amount .currency {
  font-size: 24px;
  color: var(--gold);
  margin-right: 4px;
  vertical-align: top;
  position: relative;
  top: 4px;
}
.box-week-price .meta {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.box-week-cta {
  padding: 16px 26px;
  font-size: 13px;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.box-week-note {
  margin-top: 4px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-mute);
  line-height: 1.5;
}

/* ============================================
   SUR MESURE
   ============================================ */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 80px;
}
@media (max-width: 880px) { .services { grid-template-columns: 1fr; } }

.service {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  padding: 32px;
  display: flex; flex-direction: column; gap: 12px;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}
.service:hover { border-color: var(--gold-soft); box-shadow: var(--shadow); }
.service::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  z-index: 2;
}
.service-media {
  position: relative;
  margin: -32px -32px 4px;
  aspect-ratio: 4 / 3;
  background: var(--bg-2);
  overflow: hidden;
  border-bottom: 1px solid var(--border-soft);
}
.service-media image-slot {
  display: block;
  width: 100%; height: 100%;
}
.service-media::after {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 100%, rgba(80,60,20,0.10) 0%, transparent 60%);
  pointer-events: none;
}
.service-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--gold);
  letter-spacing: 0.08em;
}
.service h3 { margin: 0 0 4px; }
.service .desc { font-size: 14px; color: var(--ink-soft); line-height: 1.6; flex: 1; }
.service .price-note {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--gold);
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
}

/* Number cake configurator */
.numcake {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  box-shadow: var(--shadow);
  margin-bottom: 80px;
}
@media (max-width: 880px) { .numcake { grid-template-columns: 1fr; padding: 32px; gap: 32px; } }

.numcake-preview {
  background: var(--bg);
  border-radius: 4px;
  aspect-ratio: 1.15 / 1;
  position: relative;
  display: grid; place-items: center;
  border: 1px solid var(--border-soft);
  overflow: hidden;
}
.numcake-preview::before {
  content: '';
  position: absolute; inset: 0;
  background:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><text x='60' y='68' font-family='Cormorant Garamond, Georgia, serif' font-size='22' font-style='italic' text-anchor='middle' fill='%23b18b3a' fill-opacity='0.07'>SM</text></svg>");
  background-size: 120px 120px;
}
.numcake-digits-preview {
  position: relative;
  display: flex; gap: 14px;
  z-index: 1;
}
.numcake-digit {
  font-family: var(--serif);
  font-size: clamp(80px, 12vw, 140px);
  color: var(--ink);
  font-weight: 500;
  line-height: 1;
  position: relative;
  padding: 0 4px;
  text-shadow:
    0 1px 0 var(--gold-soft),
    0 2px 2px rgba(177,139,58,0.3);
}
.numcake-digit::after {
  content: '✿';
  position: absolute;
  top: -8px; right: -10px;
  font-size: 16px;
  color: var(--gold);
}
.numcake-empty {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--ink-mute);
  z-index: 1;
  position: relative;
}

.numcake-controls h3 { margin-bottom: 8px; }
.numcake-controls .lead { font-size: 16px; margin-bottom: 28px; }

.digit-input {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 28px;
}
.digit-btn {
  width: 48px; height: 48px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  transition: all 0.18s;
}
.digit-btn:hover { border-color: var(--gold); color: var(--gold); }
.digit-btn.added {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--gold-2);
}

.selected-digits {
  display: flex; gap: 6px; margin-bottom: 16px; flex-wrap: wrap;
  min-height: 36px;
  padding: 8px;
  background: var(--bg);
  border: 1px dashed var(--border);
  border-radius: 2px;
  align-items: center;
}
.selected-digits:empty::before {
  content: 'Aucun chiffre sélectionné';
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-mute);
  padding: 0 8px;
}
.selected-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--white);
  border: 1px solid var(--gold-soft);
  padding: 4px 6px 4px 12px;
  border-radius: 2px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 500;
}
.selected-pill button {
  background: none; border: none;
  cursor: pointer;
  width: 20px; height: 20px;
  border-radius: 50%;
  color: var(--ink-mute);
  font-size: 14px;
  display: grid; place-items: center;
}
.selected-pill button:hover { background: var(--ink); color: var(--bg); }

.numcake-summary {
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  padding: 20px;
  margin-bottom: 24px;
}
.numcake-summary .row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 14px; color: var(--ink-soft);
  padding: 6px 0;
}
.numcake-summary .total {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px dashed var(--border);
  font-family: var(--serif);
  font-size: 28px;
  color: var(--ink);
  font-weight: 500;
}
.numcake-summary .total span { color: var(--gold); }

/* ============================================
   FORMS
   ============================================ */
.form {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  padding: 48px;
  box-shadow: var(--shadow);
}
@media (max-width: 720px) { .form { padding: 28px; } }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 8px; }
.field label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}
.field label .req { color: var(--gold); margin-left: 2px; }
.field input, .field select, .field textarea {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 2px;
  padding: 14px 16px;
  outline: none;
  transition: all 0.18s;
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px var(--gold-pale);
}
.field textarea { resize: vertical; min-height: 120px; font-family: var(--sans); }
.field .hint { font-size: 12px; color: var(--ink-mute); font-style: italic; }

.upload {
  display: flex; align-items: center; gap: 12px;
  padding: 16px; border: 1px dashed var(--border);
  border-radius: 2px;
  background: var(--bg);
  cursor: pointer;
  transition: all 0.18s;
}
.upload:hover { border-color: var(--gold); }
.upload-icon {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold-pale); color: var(--gold);
  display: grid; place-items: center;
  font-size: 18px;
}
.upload-text { font-size: 13px; color: var(--ink-soft); }
.upload-text strong { display: block; color: var(--ink); font-weight: 600; }

.form-foot {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--border-soft);
  gap: 16px;
  flex-wrap: wrap;
}
.form-foot small {
  font-size: 12px; color: var(--ink-mute); font-style: italic;
}

.field-success {
  display: none;
  padding: 20px; background: var(--gold-pale); border-radius: 4px;
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  color: var(--ink);
  font-size: 18px;
  margin-bottom: 24px;
  border: 1px solid var(--gold-soft);
}
.field-success.show { display: block; }

/* ============================================
   À PROPOS
   ============================================ */
.apropos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  margin-bottom: 80px;
}
@media (max-width: 880px) { .apropos { grid-template-columns: 1fr; gap: 40px; } }

.apropos-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bg-2);
  border-radius: 4px;
  overflow: hidden;
}
.apropos-visual::before {
  content: '';
  position: absolute; bottom: -40px; right: -40px;
  width: 200px; height: 200px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  opacity: 0.3;
  z-index: 1;
  pointer-events: none;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 56px;
}
@media (max-width: 640px) { .values-grid { grid-template-columns: 1fr; } }

.value {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  display: flex; flex-direction: column; gap: 8px;
}
.value-num {
  font-family: var(--serif);
  font-style: italic;
  font-size: 36px;
  color: var(--gold);
  line-height: 1;
  font-weight: 400;
}
.value h4 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}
.value p { font-size: 14px; line-height: 1.6; margin: 0; }

/* Ingredients */
.ingredients {
  background: var(--ink);
  color: var(--bg);
  padding: 64px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 720px) { .ingredients { padding: 40px 24px; } }
.ingredients::before {
  content: '';
  position: absolute; top: -50px; right: -50px;
  width: 300px; height: 300px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  opacity: 0.15;
}
.ingredients h3 { color: var(--bg); margin-bottom: 8px; }
.ingredients .lead { color: rgba(250,246,237,0.7); margin-bottom: 32px; max-width: 580px; }

.ing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}
.ing {
  padding: 20px;
  border: 1px solid rgba(177,139,58,0.3);
  border-radius: 2px;
  background: rgba(177,139,58,0.05);
}
.ing-name {
  font-family: var(--serif);
  font-size: 20px;
  color: var(--gold-2);
  margin-bottom: 4px;
  font-weight: 500;
}
.ing-desc { font-size: 13px; color: rgba(250,246,237,0.65); line-height: 1.5; }

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }

.contact-info {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 4px;
  padding: 40px;
}
.contact-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 28px; }
.contact-action {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 20px;
  background: var(--bg);
  border: 1px solid var(--border-soft);
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.2s;
  cursor: pointer;
}
.contact-action:hover {
  border-color: var(--gold);
  background: var(--gold-pale);
}
.contact-action-icon {
  width: 40px; height: 40px;
  display: grid; place-items: center;
  background: var(--white);
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  font-size: 16px;
  color: var(--gold);
  flex-shrink: 0;
}
.contact-action-text { flex: 1; }
.contact-action-label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 2px;
}
.contact-action-value {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--ink);
}
.contact-action-arrow {
  color: var(--ink-mute); font-size: 14px;
  transition: transform 0.2s;
}
.contact-action:hover .contact-action-arrow { color: var(--gold); transform: translateX(4px); }

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--ink);
  color: var(--bg);
  padding: 80px 0 32px;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(177,139,58,0.2);
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-brand .nav-wordmark .brand { color: var(--bg); }
.footer-brand p { color: rgba(250,246,237,0.6); font-size: 14px; max-width: 280px; margin-top: 16px; }

.footer-col h5 {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--gold-2);
  margin: 0 0 20px;
  font-family: var(--sans);
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-col li, .footer-col a {
  font-size: 14px;
  color: rgba(250,246,237,0.7);
}
.footer-col a { cursor: pointer; transition: color 0.18s; }
.footer-col a:hover { color: var(--gold-2); }

.footer-hours { font-size: 13px; }
.footer-hours div { display: flex; justify-content: space-between; padding: 6px 0; border-bottom: 1px dotted rgba(177,139,58,0.15); }
.footer-hours div:last-child { border-bottom: 0; }
.footer-hours span:first-child { color: var(--bg); }
.footer-hours .closed { color: var(--gold-2); font-style: italic; }

.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px;
  font-size: 12px;
  color: rgba(250,246,237,0.5);
  flex-wrap: wrap; gap: 12px;
}
.footer-bottom .links { display: flex; gap: 24px; }
.footer-bottom a:hover { color: var(--gold-2); }

.social { display: flex; gap: 10px; margin-top: 16px; }
.social a {
  width: 36px; height: 36px;
  border: 1px solid rgba(177,139,58,0.3);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--gold-2);
  font-size: 14px;
  transition: all 0.2s;
}
.social a:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }

/* ============================================
   TOAST / CART INDICATOR
   ============================================ */
.toast {
  position: fixed;
  bottom: 24px; left: 50%; transform: translateX(-50%) translateY(120%);
  background: var(--ink);
  color: var(--bg);
  padding: 16px 24px;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px;
  font-size: 14px;
  z-index: 100;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid var(--gold);
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast-check {
  width: 22px; height: 22px;
  background: var(--gold);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12px; color: var(--ink);
  font-weight: 700;
}

/* Cart pill in nav */
.cart-pill {
  position: relative;
}
.cart-pill .badge {
  position: absolute;
  top: -4px; right: -4px;
  background: var(--gold);
  color: var(--ink);
  font-size: 10px;
  font-weight: 700;
  width: 18px; height: 18px;
  border-radius: 50%;
  display: grid; place-items: center;
  border: 2px solid var(--bg);
}

/* Image-slot placeholder visual */
image-slot {
  --slot-bg: linear-gradient(135deg, #f6ead0 0%, #ebdcb2 100%);
  --slot-border: rgba(177,139,58,0.18);
  --slot-text: #8a795a;
}
