/* ═══════════════════════════════════════════════════════════
   style.css — La Carte Royale
   Palette : crème / or / dark — typographie Cormorant + Josefin
   ═══════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────── */
:root {
  --cream:        #FAF7F0;
  --cream2:       #F0E9D6;
  --cream3:       #E4D9BF;
  --gold:         #C9A84C;
  --gold-light:   #E8D5A0;
  --gold-dark:    #8B6914;
  --dark:         #1A1612;
  --dark2:        #2D2419;
  --mid:          #5C4F3A;
  --muted:        #9B8C72;
  --white:        #FFFFFF;
  --err:          #C0392B;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Josefin Sans', sans-serif;

  --r-sm:  4px;
  --r-md:  8px;

  --shadow-sm:  0 1px 3px rgba(26,22,18,.08);
  --shadow-md:  0 4px 16px rgba(26,22,18,.12);
}

/* ── Reset ────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--dark);
  min-height: 100vh;
  font-size: 14px;
  line-height: 1.6;
}
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--dark);
}

/* ── Navigation ───────────────────────────────────────── */
#navbar {
  position: sticky;
  top: 0;
  z-index: 200;
  background: var(--dark);
  height: 62px;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 300;
  color: var(--gold-light);
  letter-spacing: 4px;
  text-transform: uppercase;
  background: none;
  border: none;
  padding: 0;
  white-space: nowrap;
}
.nav-logo em { font-style: italic; color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.8rem;
}
.nav-link {
  font-size: 10.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  text-decoration: none;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: color .2s, border-color .2s;
  background: none;
  border: none;
  border-bottom: 1px solid transparent;
  cursor: pointer;
}
.nav-link:hover,
.nav-link.active { color: var(--gold); border-bottom-color: var(--gold); }

.cart-btn {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border: 1px solid rgba(201,168,76,.4);
  background: transparent;
  color: var(--gold-light);
  font-size: 10.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background .2s, border-color .2s;
  border-radius: var(--r-sm);
  white-space: nowrap;
}
.cart-btn:hover { background: rgba(201,168,76,.1); border-color: var(--gold); }

.cart-badge {
  background: var(--gold);
  color: var(--dark);
  border-radius: 50%;
  width: 18px;
  height: 18px;
  font-size: 10px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.cart-badge.hidden { display: none; }

/* ── Pages ───────────────────────────────────────────── */
.page { display: none; }
.page.active { display: block; }

/* ── Hero ────────────────────────────────────────────── */
.hero {
  background: linear-gradient(155deg, var(--dark) 0%, var(--dark2) 100%);
  padding: 5rem 2rem 4.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% -5%, rgba(201,168,76,.18) 0%, transparent 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  text-align: center;
  max-width: 620px;
}
.hero-eyebrow {
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 54px);
  font-weight: 300;
  color: var(--cream);
  line-height: 1.1;
  margin-bottom: .9rem;
}
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-sub {
  font-size: 11.5px;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 2.5rem;
}
.hero-deco {
  position: absolute;
  right: -20px; top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: .6rem;
  font-size: 28px;
  color: var(--gold);
  opacity: .07;
  user-select: none;
  pointer-events: none;
}

/* ── Boutons ─────────────────────────────────────────── */
.btn-outline {
  display: inline-block;
  padding: 12px 36px;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  font-size: 10.5px;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: all .22s;
  border-radius: var(--r-sm);
}
.btn-outline:hover { background: var(--gold); color: var(--dark); }

.btn-outline-dark {
  display: inline-block;
  padding: 11px 30px;
  border: 1px solid var(--dark);
  color: var(--dark);
  background: transparent;
  font-size: 10.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  transition: all .22s;
  border-radius: var(--r-sm);
  cursor: pointer;
}
.btn-outline-dark:hover { background: var(--dark); color: var(--cream); }

/* ── Section header ─────────────────────────────────── */
.catalog-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 2.5rem 2rem 1.5rem;
  border-bottom: 1px solid var(--cream2);
}
.section-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  letter-spacing: 1px;
}
.section-meta { font-size: 11px; letter-spacing: 2px; color: var(--muted); }

/* ── Page header (tarifs / contact) ─────────────────── */
.page-header {
  padding: 2.5rem 2rem 0;
  border-bottom: 1px solid var(--cream2);
  padding-bottom: 1.5rem;
}
.page-intro { font-size: 11.5px; letter-spacing: 1.5px; color: var(--muted); margin-top: .4rem; }

/* ── Skeletons ───────────────────────────────────────── */
.skeleton-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 320px));
  justify-content: center;
  gap: 24px;
}
@keyframes shimmer {
  0%   { background-position: -600px 0; }
  100% { background-position:  600px 0; }
}
.skeleton-card {
  aspect-ratio: 3/5;
  background: linear-gradient(90deg, var(--cream2) 25%, var(--cream) 50%, var(--cream2) 75%);
  background-size: 1200px 100%;
  animation: shimmer 1.4s infinite;
}

/* ── Grille produits ─────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 320px));
  justify-content: center;
  gap: 24px;
}

.product-card {
  background: var(--cream);
  transition: background .18s;
  display: flex;
  flex-direction: column;
}
.product-card:hover { background: #FDF9EF; }

.product-media {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
}
.product-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}
.product-card:hover .product-img { transform: scale(1.03); }

.product-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(145deg, var(--cream2) 0%, var(--cream3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.suit-icon { font-size: 3rem; color: var(--gold); opacity: .45; }

.product-badge {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--dark);
  color: var(--gold-light);
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 3px 9px;
}

.product-info {
  flex: 1;
  padding: .85rem 1.1rem 1.1rem;
  border-top: 1px solid var(--cream2);
  display: flex;
  flex-direction: column;
}
.product-name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: .35rem;
}
.product-desc {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .4px;
  flex: 1;
  margin-bottom: .85rem;
  line-height: 1.6;
}
.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-price {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--gold-dark);
}
.product-price small { font-size: 13px; color: var(--muted); margin-left: 1px; }

.add-btn {
  width: 34px; height: 34px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: transparent;
  color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  transition: background .18s, color .18s, transform .15s;
}
.add-btn:hover { background: var(--gold); color: var(--dark); }
@keyframes pop { 0%{transform:scale(1)} 40%{transform:scale(1.3)} 100%{transform:scale(1)} }
.add-btn.pop { animation: pop .3s ease; }

.empty-state {
  grid-column: 1/-1;
  padding: 3rem;
  text-align: center;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--muted);
}

/* ── Panier drawer ───────────────────────────────────── */
.cart-overlay {
  position: fixed; inset: 0;
  z-index: 300;
  display: flex; justify-content: flex-end;
  pointer-events: none;
}
.cart-overlay.open { pointer-events: all; }
.cart-backdrop {
  position: absolute; inset: 0;
  background: rgba(26,22,18,.55);
  opacity: 0;
  transition: opacity .3s;
}
.cart-overlay.open .cart-backdrop { opacity: 1; }

.cart-drawer {
  position: relative; z-index: 1;
  width: 400px; max-width: 100vw;
  height: 100%;
  background: var(--cream);
  display: flex; flex-direction: column;
  transform: translateX(100%);
  transition: transform .32s cubic-bezier(.4,0,.2,1);
  box-shadow: var(--shadow-md);
}
.cart-drawer.open { transform: translateX(0); }

.cart-head {
  background: var(--dark);
  padding: 1.3rem 1.4rem;
  display: flex; align-items: center; justify-content: space-between;
}
.cart-head h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 300;
  color: var(--gold-light);
  letter-spacing: 2px;
}
.icon-btn {
  width: 32px; height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  background: transparent;
  color: var(--muted);
  display: flex; align-items: center; justify-content: center;
  transition: color .2s, border-color .2s;
}
.icon-btn:hover { color: var(--gold); border-color: var(--gold); }
.icon-btn.light { color: rgba(255,255,255,.5); border-color: rgba(255,255,255,.15); }
.icon-btn.light:hover { color: var(--gold-light); border-color: var(--gold); }

.cart-body { flex: 1; overflow-y: auto; padding: .8rem; }
.cart-empty {
  display: flex; flex-direction: column; align-items: center;
  gap: .8rem;
  padding: 3rem 1rem;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 1.5px;
}

.cart-item {
  display: flex; align-items: center; gap: 10px;
  padding: .85rem 0;
  border-bottom: 1px solid var(--cream2);
}
.cart-item-suit {
  width: 44px; height: 54px;
  background: var(--cream2);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: var(--gold);
  flex-shrink: 0;
  border-radius: var(--r-sm);
}
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-family: var(--font-display);
  font-size: 14.5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 2px;
}
.cart-item-price { font-size: 11px; color: var(--muted); letter-spacing: .5px; }

.cart-item-qty { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.qty-btn {
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid var(--cream3);
  background: transparent;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  color: var(--mid);
  transition: border-color .15s, color .15s;
}
.qty-btn:hover { border-color: var(--gold); color: var(--gold); }
.qty-num { font-size: 12.5px; min-width: 16px; text-align: center; }

.cart-foot {
  border-top: 1px solid var(--cream2);
  padding: 1.1rem 1.4rem;
  background: var(--white);
}
.cart-total-row {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: .9rem;
}
.cart-total-lbl { font-size: 10.5px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--mid); }
.cart-total-val {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--gold-dark);
}

.btn-checkout {
  width: 100%; padding: 13px;
  background: var(--dark); color: var(--gold-light);
  border: none;
  font-size: 10.5px; letter-spacing: 3px; text-transform: uppercase;
  transition: background .2s;
  border-radius: var(--r-sm);
}
.btn-checkout:hover:not(:disabled) { background: var(--gold-dark); }
.btn-checkout:disabled { opacity: .4; cursor: default; }
.btn-checkout.w100 { width: 100%; }

/* ── Checkout modal ──────────────────────────────────── */
.modal-wrap {
  position: fixed; inset: 0;
  z-index: 400;
  display: flex; align-items: center; justify-content: center;
  padding: 1rem;
}
.modal-wrap.hidden { display: none; }
.modal-backdrop {
  position: absolute; inset: 0;
  background: rgba(26,22,18,.65);
}
.modal {
  position: relative; z-index: 1;
  width: 100%; max-width: 520px;
  max-height: 92vh;
  overflow-y: auto;
  background: var(--cream);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column;
}
.modal-head {
  background: var(--dark);
  padding: 1.2rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  border-radius: var(--r-md) var(--r-md) 0 0;
  position: sticky; top: 0;
}
.modal-head h2 {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 300;
  color: var(--gold-light); letter-spacing: 2px;
}
.modal-body { padding: 1.5rem; }
.modal-section {
  font-size: 9.5px; letter-spacing: 3px;
  text-transform: uppercase; color: var(--gold);
  margin: 1.2rem 0 .9rem;
}
.modal-section:first-child { margin-top: 0; }

/* ── Récap commande ──────────────────────────────────── */
.order-summary {
  background: var(--cream2);
  padding: 1rem 1.1rem;
  border-radius: var(--r-sm);
  margin-bottom: 1.2rem;
}
.summary-line {
  display: flex; justify-content: space-between;
  font-size: 12px; color: var(--mid);
  padding: 3.5px 0;
}
.summary-total {
  display: flex; justify-content: space-between;
  margin-top: 8px; padding-top: 8px;
  border-top: 1px solid var(--cream3);
  font-family: var(--font-display);
  font-size: 20px; color: var(--gold-dark);
}

/* ── Formulaires ─────────────────────────────────────── */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field {
  display: flex; flex-direction: column; gap: 5px;
  margin-bottom: .85rem;
}
.field label {
  font-size: 9.5px; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--mid);
}
.req { color: var(--gold); }
.field input,
.field select,
.field textarea {
  border: none;
  border-bottom: 1px solid var(--cream3);
  background: transparent;
  padding: 8px 0;
  outline: none;
  transition: border-color .2s;
  width: 100%;
  resize: vertical;
}
.field input:focus,
.field select:focus,
.field textarea:focus { border-bottom-color: var(--gold); }
.field input.invalid,
.field select.invalid,
.field textarea.invalid { border-bottom-color: var(--err); }
.field-err { font-size: 10.5px; color: var(--err); min-height: 14px; }

.swatch-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 4px; }
.swatch {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--c, #ccc);
  border: 2px solid transparent;
  transition: transform .15s, border-color .15s;
  cursor: pointer;
}
.swatch:hover { transform: scale(1.1); }
.swatch.selected { border-color: var(--gold); }

.btn-submit {
  margin-top: 1.5rem;
  padding: 13px 40px;
  background: var(--dark); color: var(--gold-light);
  border: none;
  font-size: 10.5px; letter-spacing: 3px; text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
  border-radius: var(--r-sm);
  transition: background .2s;
}
.btn-submit:hover:not(:disabled) { background: var(--gold-dark); }
.btn-submit:disabled { opacity: .5; cursor: default; }

/* ── Spinner ─────────────────────────────────────────── */
@keyframes spin { to { transform: rotate(360deg); } }
.btn-spinner {
  width: 14px; height: 14px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: var(--gold-light);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.hidden { display: none !important; }

/* ── Contact page ────────────────────────────────────── */
.contact-wrap { max-width: 640px; margin: 0 auto; padding: 2.5rem 2rem; }

/* ── Success state ───────────────────────────────────── */
.success-state {
  text-align: center;
  padding: 3rem 1.5rem;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.success-icon { font-size: 3rem; color: var(--gold); }
.success-state h3 {
  font-family: var(--font-display);
  font-size: 26px; font-weight: 300;
}
.success-state p { font-size: 12px; letter-spacing: 1.5px; color: var(--muted); }

/* ── Tarifs ──────────────────────────────────────────── */
.tarifs-wrap { padding: 2.5rem 2rem; max-width: 940px; margin: 0 auto; }

.tarif-heading {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 300;
  color: var(--gold-dark);
  margin-bottom: 1.3rem;
  padding-bottom: .7rem;
  border-bottom: 1px solid var(--gold-light);
}
.tarif-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}
.tarif-card {
  border: 1px solid var(--cream2);
  padding: 1.4rem;
  background: var(--cream);
  position: relative;
  border-radius: var(--r-md);
  transition: border-color .2s, box-shadow .2s;
}
.tarif-card:hover { border-color: var(--gold-light); box-shadow: var(--shadow-sm); }
.tarif-card.featured { border-color: var(--gold); }
.tarif-badge {
  position: absolute;
  top: -1px; right: 14px;
  background: var(--gold);
  color: var(--dark);
  font-size: 8.5px; letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 0 0 var(--r-sm) var(--r-sm);
}
.tarif-name {
  font-family: var(--font-display);
  font-size: 19px; margin-bottom: 2px;
}
.tarif-price {
  font-family: var(--font-display);
  font-size: 34px; font-weight: 300;
  color: var(--gold-dark);
  margin: .6rem 0;
}
.tarif-price sup { font-size: 15px; vertical-align: super; }
.tarif-list {
  list-style: none;
  margin-top: .9rem; margin-bottom: 1.2rem;
}
.tarif-list li {
  font-size: 11px; letter-spacing: .5px; color: var(--mid);
  padding: 5px 0;
  border-bottom: 1px solid var(--cream2);
}
.tarif-list li:last-child { border-bottom: none; }
.tarif-list li::before { content: '—  '; color: var(--gold); }

.btn-tarif {
  width: 100%; padding: 10px;
  background: transparent;
  border: 1px solid var(--dark);
  color: var(--dark);
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  border-radius: var(--r-sm);
  transition: background .2s, color .2s;
}
.btn-tarif:hover { background: var(--dark); color: var(--cream); }
.tarif-card.featured .btn-tarif {
  background: var(--dark); color: var(--gold-light); border-color: var(--dark);
}
.tarif-card.featured .btn-tarif:hover { background: var(--gold-dark); border-color: var(--gold-dark); }

.tarif-note {
  background: var(--cream2);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.2rem;
  font-size: 11.5px; letter-spacing: .8px;
  color: var(--mid);
  line-height: 1.7;
  display: flex; gap: 10px; align-items: flex-start;
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
  margin-bottom: 1.8rem;
}

/* ── Toast ───────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 24px; left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: var(--dark);
  color: var(--gold-light);
  padding: 10px 22px;
  font-size: 11px; letter-spacing: 1.5px;
  border-radius: var(--r-sm);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s, transform .28s;
  white-space: nowrap;
  z-index: 9999;
  max-width: calc(100vw - 2rem);
  text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.error { background: var(--err); color: #fff; }

/* ── Footer ──────────────────────────────────────────── */
footer {
  background: var(--dark);
  padding: 2.5rem 2rem;
  text-align: center;
  margin-top: 4rem;
}
.footer-logo {
  font-family: var(--font-display);
  font-size: 20px; font-weight: 300;
  color: var(--gold-light);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.footer-logo em { font-style: italic; color: var(--gold); }
.footer-sub { font-size: 10px; letter-spacing: 2px; color: var(--muted); }

/* ── Responsive — voir les blocs @media en bas du fichier ── */

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE MOBILE — Réécriture complète
   ═══════════════════════════════════════════════════════════ */

/* ── Tablette (max 900px) ──────────────────────────────── */
@media (max-width: 900px) {
  .tarif-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-grid,
  .skeleton-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }
}

/* ── Mobile (max 640px) — Refonte complète ─────────────── */
@media (max-width: 640px) {

  /* -- Navigation mobile -- */
  #navbar {
    padding: 0 .9rem;
    height: auto;
    min-height: 56px;
    flex-wrap: wrap;
    gap: .5rem;
    padding-top: .5rem;
    padding-bottom: .5rem;
  }
  .nav-logo {
    font-size: 16px;
    letter-spacing: 2px;
    flex-shrink: 0;
  }
  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 1.2rem;
    padding-bottom: .4rem;
    border-top: 1px solid rgba(201,168,76,.12);
    padding-top: .4rem;
  }
  .nav-link {
    font-size: 9px;
    letter-spacing: 2px;
    padding: 3px 0;
  }
  .cart-btn {
    font-size: 9px;
    letter-spacing: 1.5px;
    padding: 6px 10px;
    gap: 5px;
    flex-shrink: 0;
  }
  .cart-btn svg { width: 15px; height: 15px; }

  /* -- Hero mobile -- */
  .hero {
    padding: 2.5rem 1.2rem 2.2rem;
    text-align: center;
  }
  .hero-deco { display: none; }
  .hero-eyebrow {
    font-size: 9px;
    letter-spacing: 2.5px;
    margin-bottom: .8rem;
  }
  .hero h1 {
    font-size: clamp(28px, 9vw, 38px);
    line-height: 1.15;
    margin-bottom: .7rem;
  }
  .hero-sub {
    font-size: 10px;
    letter-spacing: 1.5px;
    margin-bottom: 2rem;
  }
  .btn-outline {
    padding: 11px 28px;
    font-size: 9.5px;
    letter-spacing: 2.5px;
  }

  /* -- Catalog header mobile -- */
  .catalog-header {
    padding: 1.4rem 1rem .9rem;
    flex-direction: column;
    align-items: flex-start;
    gap: .3rem;
  }
  .section-title {
    font-size: 22px;
  }

  /* -- Grille produits mobile : 2 colonnes -- */
  .product-grid,
  .skeleton-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
  }
  .skeleton-card {
    aspect-ratio: 3/5;
  }
  .product-name { font-size: 14px; }
  .product-desc { font-size: 10px; margin-bottom: .6rem; }
  .product-price { font-size: 18px; }
  .product-info { padding: .7rem .85rem .9rem; }
  .add-btn { width: 30px; height: 30px; }

  /* -- Page header mobile -- */
  .page-header {
    padding: 1.4rem 1rem .9rem;
  }
  .page-intro {
    font-size: 10.5px;
    letter-spacing: 1px;
  }

  /* -- Tarifs mobile : 1 colonne -- */
  .tarifs-wrap {
    padding: 1.4rem 1rem;
  }
  .tarif-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .tarif-heading {
    font-size: 19px;
    margin-bottom: 1rem;
  }
  .tarif-card {
    padding: 1.2rem;
  }
  .tarif-price { font-size: 30px; }
  .tarif-name { font-size: 17px; }
  .tarif-list li { font-size: 11px; }

  /* -- Contact mobile -- */
  .contact-wrap {
    padding: 1.4rem 1rem;
    max-width: 100%;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .btn-submit {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
  }

  /* -- Panier drawer mobile -- */
  .cart-drawer {
    width: 100vw;
  }
  .cart-head { padding: 1rem 1.1rem; }
  .cart-item { gap: 8px; padding: .7rem 0; }
  .cart-item-suit { width: 38px; height: 48px; font-size: 17px; }
  .cart-item-name { font-size: 13px; }

  /* -- Checkout modal mobile -- */
  .modal-wrap {
    padding: 0;
    align-items: flex-end;
  }
  .modal {
    border-radius: var(--r-md) var(--r-md) 0 0;
    max-height: 95vh;
    width: 100%;
    max-width: 100%;
  }
  .modal-head {
    border-radius: var(--r-md) var(--r-md) 0 0;
    padding: 1rem 1.2rem;
  }
  .modal-body { padding: 1.2rem 1rem; }

  /* -- Toast mobile -- */
  .toast {
    bottom: 16px;
    font-size: 10px;
    padding: 9px 18px;
    max-width: calc(100vw - 2rem);
    white-space: normal;
    text-align: center;
  }

  /* -- Footer mobile -- */
  footer {
    padding: 2rem 1rem;
    margin-top: 2.5rem;
  }
  .footer-logo { font-size: 17px; letter-spacing: 2.5px; }
  .footer-sub { font-size: 9.5px; }
}

/* ── Très petit écran (max 380px) ──────────────────────── */
@media (max-width: 380px) {
  .nav-logo { font-size: 14px; }
  .product-grid,
  .skeleton-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero h1 { font-size: 26px; }
  .tarif-grid { grid-template-columns: 1fr; }
}

/* ── Hamburger Menu ────────────────────────────────────── */
.nav-right {
  display: flex;
  align-items: center;
  gap: .6rem;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid rgba(201,168,76,.3);
  border-radius: var(--r-sm);
  padding: 7px 8px;
  cursor: pointer;
}
.menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--gold-light);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

@media (max-width: 640px) {
  #navbar {
    padding: .6rem .9rem;
    height: auto;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0;
  }
  .nav-logo {
    flex: 1;
    font-size: 15px;
    letter-spacing: 2px;
    text-align: left;
  }
  .nav-right {
    flex-shrink: 0;
  }
  .cart-btn-label { display: none; }
  .cart-btn {
    padding: 7px 10px;
    min-width: unset;
  }
  .menu-toggle { display: flex; }
  
  /* Nav links : masquées par défaut, affichées en dropdown */
  .nav-links {
    display: none;
    order: unset;
    width: 100%;
    flex-direction: column;
    gap: 0;
    padding: .4rem 0;
    border-top: 1px solid rgba(201,168,76,.15);
    margin-top: .5rem;
  }
  .nav-links.open {
    display: flex;
  }
  .nav-link {
    font-size: 10px;
    letter-spacing: 2.5px;
    padding: .75rem .2rem;
    border-bottom: 1px solid rgba(201,168,76,.08);
    width: 100%;
    text-align: center;
  }
  .nav-link:last-child { border-bottom: none; }

  /* Nav est maintenant full width pour contenir le dropdown */
  #navbar {
    flex-wrap: wrap;
  }
  .nav-right {
    order: 2;
  }
  .nav-links {
    order: 3;
  }
}

/* ═══════════════════════════════════════════════════════════
   PRODUCT MODAL — Premium redesign
   ═══════════════════════════════════════════════════════════ */

.pm-wrap {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.pm-wrap.hidden { display: none; }

/* Backdrop */
.pm-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 11, 8, .72);
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity .35s ease;
}
.pm-wrap.pm-open .pm-backdrop { opacity: 1; }

/* Box */
.pm-box {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100%;
  max-width: 780px;
  max-height: 90vh;
  background: var(--cream);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(15,11,8,.45), 0 0 0 1px rgba(201,168,76,.15);
  transform: translateY(24px) scale(.97);
  opacity: 0;
  transition: transform .38s cubic-bezier(.2,.8,.3,1), opacity .32s ease;
}
.pm-wrap.pm-open .pm-box {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* ── Colonne gauche ──────────────────────────────────── */
.pm-left {
  background: linear-gradient(160deg, var(--dark) 0%, var(--dark2) 100%);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  overflow: hidden;
}
.pm-left::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(201,168,76,.22) 0%, transparent 65%);
  pointer-events: none;
}

/* Visuel produit */
/* ── Carousel ────────────────────────────────────────── */
.pm-carousel {
  position: relative;
  z-index: 1;
  width: 72%;
  aspect-ratio: 3/4;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.55), 0 0 0 1px rgba(201,168,76,.2);
}
.pm-carousel-track {
  width: 100%;
  height: 100%;
  position: relative;
}
.pm-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .3s ease;
  pointer-events: none;
}
.pm-slide.pm-slide-active {
  opacity: 1;
  pointer-events: auto;
}
.pm-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Fleches carousel */
.pm-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,.35);
  background: rgba(15,11,8,.65);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity .2s, background .2s;
}
.pm-carousel:hover .pm-carousel-btn { opacity: 1; }
.pm-carousel-btn { opacity: 0.55; }  /* toujours un peu visible */
.pm-carousel-btn:hover { background: rgba(201,168,76,.2); }
.pm-carousel-prev { left: 8px; }
.pm-carousel-next { right: 8px; }
/* Thumbnails */
.pm-thumbs {
  display: flex;
  gap: 7px;
  margin-top: 12px;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 88%;
}
.pm-thumb {
  width: 48px;
  height: 64px;
  border-radius: 3px;
  overflow: hidden;
  border: 2px solid rgba(201,168,76,.15);
  cursor: pointer;
  opacity: .45;
  transition: opacity .2s, border-color .2s, transform .15s;
  padding: 0;
  background: none;
  flex-shrink: 0;
}
.pm-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pm-thumb:hover { opacity: .8; transform: translateY(-2px); }
.pm-thumb.pm-thumb-active {
  opacity: 1;
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* Placeholder sans image */
.pm-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, var(--dark2) 0%, #3a2e1e 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.pm-placeholder-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  opacity: .06;
}
.pm-placeholder-grid span {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--gold);
}
.pm-placeholder-suit {
  position: relative;
  z-index: 1;
  font-size: 5rem;
  color: var(--gold);
  opacity: .8;
  text-shadow: 0 0 40px rgba(201,168,76,.4);
}

/* Déco symboles en bas */
.pm-suits {
  position: absolute;
  bottom: 1.2rem;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
  z-index: 1;
}
.pm-suits span {
  font-size: 14px;
  color: var(--gold);
  opacity: .25;
  letter-spacing: .5rem;
}

/* ── Colonne droite ──────────────────────────────────── */
.pm-right {
  display: flex;
  flex-direction: column;
  padding: 2rem 2rem 1.8rem;
  overflow-y: auto;
  position: relative;
}

/* Bouton fermer */
.pm-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--cream3);
  background: transparent;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color .18s, border-color .18s, background .18s;
  cursor: pointer;
}
.pm-close:hover {
  border-color: var(--dark);
  color: var(--dark);
  background: var(--cream2);
}

/* Eyebrow / badge */
.pm-eyebrow {
  font-size: 9px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .7rem;
  padding-top: .2rem;
}

/* Nom */
.pm-name {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 300;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 1rem;
  padding-right: 1.5rem;
}

/* Ligne déco */
.pm-divider {
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-bottom: 1rem;
}

/* Description */
.pm-desc {
  font-size: 12px;
  color: var(--mid);
  line-height: 1.75;
  letter-spacing: .3px;
  margin-bottom: 1.4rem;
  flex: 1;
}

/* Détails produit */
.pm-details {
  display: flex;
  flex-direction: column;
  gap: .55rem;
  margin-bottom: 1.6rem;
  padding: 1rem 1.1rem;
  background: var(--cream2);
  border-radius: var(--r-sm);
  border-left: 2px solid var(--gold);
}
.pm-detail-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: 11px;
  color: var(--mid);
  letter-spacing: .4px;
}
.pm-detail-icon {
  color: var(--gold);
  font-size: 12px;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}

/* Footer prix + bouton */
.pm-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--cream2);
  padding-top: 1.2rem;
}
.pm-price-block {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.pm-price-label {
  font-size: 8.5px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.pm-price {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 300;
  color: var(--gold-dark);
  line-height: 1;
}

/* Bouton ajouter */
.pm-add-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 12px 20px;
  background: var(--dark);
  color: var(--gold-light);
  border: none;
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  border-radius: var(--r-sm);
  transition: background .2s, transform .15s;
  cursor: pointer;
  white-space: nowrap;
}
.pm-add-btn:hover { background: var(--gold-dark); }
.pm-add-btn:active { transform: scale(.97); }
.pm-add-btn.pm-added { background: #2d5a27; color: #a8dba3; }
.pm-add-icon { flex-shrink: 0; }

/* ── Mobile ───────────────────────────────────────────── */
@media (max-width: 640px) {
  .pm-wrap { padding: 0; align-items: flex-end; }
  .pm-box {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    max-width: 100%;
    max-height: 95vh;
    border-radius: 12px 12px 0 0;
    transform: translateY(100%);
  }
  .pm-wrap.pm-open .pm-box { transform: translateY(0); }

  .pm-left {
    flex-direction: column !important;
    align-items: center;
    padding: 1.2rem 1rem 0.6rem;
    min-height: unset;
    gap: 0;
  }
  .pm-carousel {
    width: 140px;
    flex-shrink: 0;
    aspect-ratio: 3/4;
  }
  .pm-carousel-btn {
    opacity: 1 !important;
    width: 26px;
    height: 26px;
  }
  .pm-thumbs {
    display: flex !important;
    margin-top: 8px;
    gap: 5px;
    max-width: 100%;
    justify-content: center;
    padding-bottom: 0.4rem;
  }
  .pm-thumb {
    width: 38px;
    height: 50px;
  }
  .pm-suits { display: none; }

  .pm-right {
    padding: 1.4rem 1.3rem 1.6rem;
    max-height: 60vh;
    overflow-y: auto;
  }
  .pm-name { font-size: 22px; }
  .pm-price { font-size: 24px; }
  .pm-add-btn { padding: 11px 16px; font-size: 9.5px; }
  .pm-details { gap: .45rem; }
}

/* ── Point Relais — Google Maps ─────────────────────────────── */
/* ── Livraison point relais (saisie manuelle) ── */
.relay-finder-hint {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  padding: .85rem 1rem;
  background: #f5f2eb;
  border: 1px solid var(--cream3);
  border-radius: var(--r-sm);
  margin-bottom: .85rem;
  font-size: 12px;
  color: var(--mid);
  line-height: 1.5;
}
.relay-finder-hint svg {
  flex-shrink: 0;
  margin-top: 1px;
  color: var(--gold-dark);
}
.relay-finder-hint span { flex: 1; }

.relay-map-link {
  flex-shrink: 0;
  display: inline-block;
  padding: 5px 10px;
  background: var(--dark);
  color: var(--gold-light);
  border-radius: var(--r-sm);
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: background .2s;
}
.relay-map-link:hover { background: var(--gold-dark); }

.relay-manual-fields {
  display: flex;
  flex-direction: column;
  gap: .1rem;
}

.relay-selected {
  display: flex; align-items: center; gap: .75rem;
  padding: .85rem 1rem;
  margin-top: .75rem;
  background: #f0f4ec;
  border: 1px solid #b5c9a8;
  border-radius: var(--r-sm);
  color: #2d4a27;
}
.relay-selected.hidden { display: none; }
.relay-selected svg { flex-shrink: 0; color: #4a8c3f; }
.relay-selected > div {
  display: flex; flex-direction: column; gap: 2px;
  flex: 1; min-width: 0;
}
.relay-selected strong { font-size: 12.5px; }
.relay-selected span { font-size: 11px; opacity: .75; }

.relay-change-btn {
  flex-shrink: 0;
  background: transparent; border: none;
  font-size: 10px; letter-spacing: 1px; text-transform: uppercase;
  text-decoration: underline; cursor: pointer;
  color: #2d4a27; opacity: .7;
}
.relay-change-btn:hover { opacity: 1; }
/* ═══════════════════════════════════════════════════════════
   AMÉLIORATIONS v2
   ═══════════════════════════════════════════════════════════ */

/* ── Empty state illustré ────────────────────────────────── */
.empty-state-full {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 5rem 2rem;
  gap: 1.2rem;
}
.empty-state-suits {
  font-size: 2rem;
  letter-spacing: .8rem;
  opacity: .2;
  margin-bottom: .5rem;
}
.empty-state-full h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--dark2);
}
.empty-state-full p {
  font-size: 13px;
  color: var(--muted);
  letter-spacing: .5px;
  line-height: 1.7;
}
.error-state-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: .5rem;
}

/* ── Stock badges ─────────────────────────────────────────── */
.stock-badge {
  position: absolute;
  bottom: 8px;
  left: 8px;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 2px;
}
.stock-badge.out {
  background: #8B2635;
  color: #fff;
}
.stock-badge.low {
  background: var(--gold);
  color: var(--dark);
}
.product-card.out-of-stock {
  opacity: .65;
}
.product-card.out-of-stock .add-btn {
  cursor: not-allowed;
  opacity: .4;
  background: var(--cream3);
  color: var(--muted);
}

/* ── Relay point search ──────────────────────────────────── */
.relay-search-zone {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-bottom: 1rem;
}
.relay-search-row {
  display: flex;
  gap: .6rem;
  align-items: flex-end;
}
.btn-relay-search {
  flex-shrink: 0;
  height: 40px;
  padding: 0 1.2rem;
  background: var(--dark);
  color: var(--gold-light);
  border: none;
  border-radius: var(--r-sm);
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s;
  display: flex;
  align-items: center;
  gap: .5rem;
  white-space: nowrap;
  margin-top: 1.4rem;
}
.btn-relay-search:hover { background: var(--dark2); }
.relay-results {
  border: 1px solid var(--cream3);
  border-radius: var(--r-md);
  overflow: hidden;
  max-height: 240px;
  overflow-y: auto;
}
.relay-results.hidden { display: none; }
.relay-loading, .relay-empty {
  padding: 1rem;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  letter-spacing: .5px;
}
.relay-point-item {
  display: flex;
  align-items: center;
  gap: .8rem;
  width: 100%;
  padding: .7rem 1rem;
  background: none;
  border: none;
  border-bottom: 1px solid var(--cream2);
  text-align: left;
  cursor: pointer;
  transition: background .15s;
}
.relay-point-item:last-child { border-bottom: none; }
.relay-point-item:hover { background: var(--cream2); }
.relay-point-icon { font-size: 1rem; flex-shrink: 0; }
.relay-point-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.relay-point-info strong {
  font-size: 12px;
  font-weight: 600;
  color: var(--dark);
  letter-spacing: .5px;
}
.relay-point-info span {
  font-size: 11px;
  color: var(--muted);
}
.relay-selected {
  display: flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem .9rem;
  background: #EBF7EC;
  border: 1px solid #8BC34A55;
  border-radius: var(--r-sm);
  font-size: 12px;
  color: #2E6B1F;
}
.relay-selected.hidden { display: none; }
.relay-selected svg { flex-shrink: 0; color: #4CAF50; }
.relay-selected span { flex: 1; }
.relay-change-btn {
  background: none;
  border: none;
  font-size: 11px;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
  white-space: nowrap;
}
.relay-change-btn:hover { color: var(--dark); }

/* ── Mentions légales ────────────────────────────────────── */
.mentions-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}
.mentions-block {
  border-bottom: 1px solid var(--cream3);
  padding-bottom: 2rem;
}
.mentions-block:last-of-type { border-bottom: none; }
.mentions-heading {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--dark);
  letter-spacing: 1px;
  margin-bottom: .8rem;
}
.mentions-block p {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.8;
  margin-bottom: .5rem;
}
.mentions-block a {
  color: var(--gold-dark);
  text-decoration: underline;
}
.mentions-list {
  list-style: none;
  padding: 0;
  margin: .6rem 0;
}
.mentions-list li {
  font-size: 13px;
  color: var(--mid);
  padding: .3rem 0 .3rem 1.2rem;
  position: relative;
}
.mentions-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--gold);
}
.mentions-back {
  padding-top: 1rem;
  text-align: center;
}

/* ── Footer legal link ───────────────────────────────────── */
.footer-legal {
  margin-top: .5rem;
}
.footer-legal-link {
  background: none;
  border: none;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  text-decoration: underline;
}
.footer-legal-link:hover { color: var(--gold-light); }
