/* ==========================================================================
   CABERLI Couture — Design system "Haute Couture Camerounaise Avant-Garde"
   Bleu Nuit Impérial · Or Brossé · Bordeaux Ébène · Lin Ivoire
   ========================================================================== */
:root {
  --navy: #0d223f;
  --navy-deep: #000b20;
  --navy-soft: #344766;
  --gold: #c5a059;
  --gold-deep: #775a19;
  --gold-light: #e9c176;
  --gold-pale: #ffdea5;
  --bordeaux: #7d1d29;
  --ivory: #fbf9f5;
  --linen: #f5f3ef;
  --linen-2: #efeeea;
  --linen-3: #eae8e4;
  --ink: #1b1c1a;
  --ink-2: #44474d;
  --line: #c4c6ce;
  --muted: #74777e;
  --green: #1f7a4d;
  --wa: #128c7e;
  --red: #ba1a1a;
  --white: #fff;

  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --r-sm: .5rem; --r: 1rem; --r-md: 1.5rem; --r-lg: 2rem; --r-pill: 999px;
  --shadow: 0 10px 30px rgba(13, 34, 63, .07);
  --shadow-lg: 0 24px 60px rgba(13, 34, 63, .12);
  --gold-border: 1px solid rgba(197, 160, 89, .3);
  --gutter: 1.25rem;
  --header-h: 76px;
  --tabbar-h: 64px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--ivory); color: var(--ink);
  font: 400 15px/1.6 var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--gold-deep); }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold-pale); color: var(--navy-deep); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.ms { font-family: "Material Symbols Outlined"; font-weight: 300; font-style: normal; font-size: 22px; line-height: 1; letter-spacing: normal; text-transform: none; display: inline-block; white-space: nowrap; direction: ltr; -webkit-font-feature-settings: "liga"; font-feature-settings: "liga"; font-variation-settings: "FILL" 0, "wght" 300, "GRAD" 0, "opsz" 24; vertical-align: middle; user-select: none; }
.ms.fill { font-variation-settings: "FILL" 1, "wght" 400; }
.ms.sm { font-size: 18px; } .ms.lg { font-size: 30px; }

/* ---------- Typographie ---------- */
h1, h2, h3, h4, .serif { font-family: var(--serif); font-weight: 600; color: var(--navy-deep); line-height: 1.2; margin: 0 0 .6em; }
.h-display { font-size: clamp(2.2rem, 5.5vw, 3.6rem); line-height: 1.12; letter-spacing: -.02em; font-weight: 700; }
.h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); letter-spacing: -.01em; }
.h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
.h3 { font-size: 1.35rem; }
.h4 { font-size: 1.1rem; }
.italic-gold { font-style: italic; color: var(--gold-deep); font-weight: 500; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; font: 600 11px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .9rem; }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--gold); }
.eyebrow.pill { background: var(--gold-pale); padding: .35rem .8rem; border-radius: var(--r-pill); color: var(--navy); }
.eyebrow.pill::before { display: none; }
.lead { font-size: 1.08rem; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.xs { font-size: 11.5px; }
.label-caps { font: 600 11px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.prose { max-width: 72ch; font-size: 1.02rem; line-height: 1.8; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { font-size: 1.25rem; margin-top: 1.4em; }
.prose img { border-radius: var(--r); margin: 1.2rem 0; }
.prose a { color: var(--gold-deep); text-decoration: underline; }
.prose blockquote { border-left: 3px solid var(--gold); margin: 1.4rem 0; padding: .3rem 0 .3rem 1.2rem; font-family: var(--serif); font-style: italic; font-size: 1.2rem; color: var(--navy); }

/* ---------- Mise en page ---------- */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 860px; }
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section.tight { padding: 2.5rem 0; }
.section.linen { background: var(--linen); }
.section.navy { background: var(--navy-deep); color: #dfe5f0; }
.section.navy h1, .section.navy h2, .section.navy h3 { color: var(--white); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: 2.2rem; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head .lead { margin: 0; }
.grid { display: grid; gap: var(--gutter); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-auto { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(1.5rem, 5vw, 4rem); align-items: center; }
.split.wide-left { grid-template-columns: 1.4fr 1fr; align-items: start; }
.flex { display: flex; } .wrap { flex-wrap: wrap; } .items-center { align-items: center; } .between { justify-content: space-between; } .gap-s { gap: .5rem; } .gap { gap: 1rem; } .gap-l { gap: 2rem; }
.stack > * + * { margin-top: 1rem; }
.stack-s > * + * { margin-top: .5rem; }
.center { text-align: center; } .right { text-align: right; }
.mt-0 { margin-top: 0 } .mt-1 { margin-top: .5rem } .mt-2 { margin-top: 1rem } .mt-3 { margin-top: 1.5rem } .mt-4 { margin-top: 2.5rem }
.mb-0 { margin-bottom: 0 } .mb-1 { margin-bottom: .5rem } .mb-2 { margin-bottom: 1rem } .mb-3 { margin-bottom: 1.5rem }
.w-full { width: 100%; }
.hidden { display: none !important; }

/* ---------- Boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 46px; padding: .7rem 1.4rem; border-radius: var(--r-pill); border: 1px solid transparent; font: 600 13.5px/1.2 var(--sans); letter-spacing: .04em; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s; white-space: nowrap; text-align: center; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn[disabled], .btn.is-loading { opacity: .6; pointer-events: none; }
.btn-primary { background: var(--navy-deep); color: var(--gold-light); }
.btn-primary:hover { color: var(--gold-pale); box-shadow: 0 8px 26px rgba(197, 160, 89, .35); }
.btn-gold { background: linear-gradient(135deg, #d9b56c, var(--gold) 45%, #a8853f); color: var(--navy-deep); }
.btn-gold:hover { color: var(--navy-deep); box-shadow: 0 8px 24px rgba(197, 160, 89, .45); }
.btn-outline { background: transparent; border-color: var(--gold); color: var(--navy-deep); }
.btn-outline:hover { background: rgba(197, 160, 89, .1); color: var(--navy-deep); }
.btn-light { background: var(--white); color: var(--navy-deep); border-color: var(--linen-3); }
.btn-ghost { background: transparent; color: var(--navy); padding-inline: .8rem; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { color: #fff; box-shadow: 0 8px 22px rgba(18, 140, 126, .35); }
.btn-danger { background: var(--bordeaux); color: #fff; }
.btn-danger:hover { color: #fff; }
.btn-sm { min-height: 36px; padding: .45rem 1rem; font-size: 12.5px; }
.btn-xs { min-height: 30px; padding: .3rem .75rem; font-size: 12px; }
.btn-block { width: 100%; }
.btn-icon { width: 44px; min-height: 44px; padding: 0; }
.link-gold { color: var(--gold-deep); font-weight: 600; display: inline-flex; align-items: center; gap: .3rem; }
.link-gold:hover { text-decoration: underline; }

/* ---------- Cartes ---------- */
.card { background: var(--white); border: var(--gold-border); border-radius: var(--r-md); padding: clamp(1.1rem, 2.5vw, 1.75rem); box-shadow: var(--shadow); }
.card.flat { box-shadow: none; }
.card.linen { background: var(--linen); }
.card.navy { background: var(--navy-deep); color: #dbe2ee; border-color: rgba(197, 160, 89, .35); }
.card.navy h2, .card.navy h3, .card.navy h4 { color: #fff; }
.card-title { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1rem; }
.card-title h3, .card-title h2 { margin: 0; font-size: 1.15rem; }
.divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(197, 160, 89, .5), transparent); border: 0; margin: 1.5rem 0; }

/* ---------- Badges & chips ---------- */
.badge { display: inline-flex; align-items: center; gap: .3rem; padding: .25rem .65rem; border-radius: var(--r-pill); font: 600 10.5px/1.4 var(--sans); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.badge-gold { background: var(--gold-pale); color: #5d4201; }
.badge-navy { background: #d6e3ff; color: #051b38; }
.badge-green { background: #d7f2e3; color: #0c5132; }
.badge-red { background: #ffdad6; color: #93000a; }
.badge-grey { background: var(--linen-3); color: var(--ink-2); }
.badge-bordeaux { background: var(--bordeaux); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { display: inline-flex; align-items: center; gap: .35rem; padding: .5rem 1rem; border-radius: var(--r-pill); border: 1px solid var(--linen-3); background: var(--white); font-size: 13px; font-weight: 500; cursor: pointer; transition: all .15s; user-select: none; }
.chip:hover { border-color: var(--gold); color: var(--navy-deep); }
.chip.active, .chip:has(input:checked) { background: var(--navy-deep); color: var(--gold-light); border-color: var(--navy-deep); }
.chip input { position: absolute; opacity: 0; pointer-events: none; }

/* ---------- Formulaires ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: .4rem; }
.field > label, .field > .label { font: 600 11px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.input, .select, .textarea { width: 100%; min-height: 48px; padding: .75rem 1rem; border: 1px solid var(--linen-3); background: var(--linen); border-radius: var(--r); font-size: 15px; transition: border .15s, background .15s, box-shadow .15s; appearance: none; -webkit-appearance: none; }
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23775a19' d='M6 8 0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }
.textarea { min-height: 120px; resize: vertical; line-height: 1.55; }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--gold); background: var(--white); box-shadow: 0 2px 0 0 var(--gold); }
.input[type=file] { padding: .6rem; min-height: auto; }
.help { font-size: 12px; color: var(--muted); }
.check { display: flex; align-items: flex-start; gap: .6rem; font-size: 14px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--navy); margin-top: 2px; flex-shrink: 0; }
.input-group { display: flex; gap: .5rem; }
.input-group .input { flex: 1; }

/* Tuiles de paiement */
.pay-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: .75rem; }
.pay-tile { position: relative; display: flex; align-items: center; gap: .75rem; padding: .9rem 1rem; border: 1px solid var(--linen-3); border-radius: var(--r); background: var(--white); cursor: pointer; transition: all .15s; }
.pay-tile:hover { border-color: var(--gold); }
.pay-tile input { position: absolute; opacity: 0; }
.pay-tile:has(input:checked) { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(197, 160, 89, .35); background: #fffcf4; }
.pay-tile:has(input:checked)::after { content: "check_circle"; font-family: "Material Symbols Outlined"; position: absolute; top: .5rem; right: .6rem; color: var(--gold-deep); font-size: 18px; }
.pay-logo { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font: 800 11px/1 var(--sans); flex-shrink: 0; }
.pay-logo.momo { background: #ffcc00; color: #003366; }
.pay-logo.om { background: #ff7900; color: #fff; }
.pay-logo.cash { background: var(--linen-2); color: var(--navy); }
.pay-logo.wa { background: var(--wa); color: #fff; }
.pay-logo.np { background: var(--navy); color: var(--gold-light); }
.pay-tile strong { display: block; font-size: 13.5px; }
.pay-tile small { color: var(--muted); font-size: 11.5px; }

/* ---------- Alertes ---------- */
.flash-zone { position: fixed; top: calc(var(--header-h) + 10px); right: 16px; left: 16px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: .5rem; pointer-events: none; }
.alert { padding: .9rem 1.1rem; border-radius: var(--r); font-size: 14px; display: flex; gap: .6rem; align-items: flex-start; border: 1px solid; }
.flash-zone .alert { pointer-events: auto; max-width: 440px; box-shadow: var(--shadow-lg); animation: slideIn .3s ease; }
.alert-success { background: #ecf8f1; border-color: #a8dcbf; color: #0c5132; }
.alert-error { background: #fff0ee; border-color: #f3b4ad; color: #7a1010; }
.alert-info { background: #f2f6ff; border-color: #c4d3f0; color: #1d3561; }
.alert-gold { background: #fff8e8; border-color: var(--gold-light); color: #5d4201; }
@keyframes slideIn { from { opacity: 0; transform: translateY(-8px); } }

/* ---------- En-tête ---------- */
.topbar { background: var(--navy-deep); color: var(--gold-light); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 34px; gap: 1rem; }
.topbar a { color: var(--gold-light); }
.topbar-msg { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(251, 249, 245, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(197, 160, 89, .22); }
.site-header .container { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: .7rem; flex-shrink: 0; }
.brand img { width: 52px; height: auto; }
.brand-text strong { display: block; font: 700 1.45rem/1 var(--serif); letter-spacing: .08em; color: var(--navy-deep); }
.brand-text span { display: block; font: 600 9px/1.5 var(--sans); letter-spacing: .26em; text-transform: uppercase; color: var(--gold-deep); margin-top: 3px; }
.main-nav { display: flex; align-items: center; gap: .2rem; margin-left: auto; }
.main-nav a { position: relative; padding: .55rem .75rem; font-size: 13.5px; font-weight: 500; color: var(--ink-2); border-radius: var(--r-pill); }
.main-nav a:hover { color: var(--navy-deep); }
.main-nav a.active { color: var(--navy-deep); }
.main-nav a.active::after { content: ""; position: absolute; left: .75rem; right: .75rem; bottom: .15rem; height: 1.5px; background: var(--gold); }
.nav-ai { display: inline-flex; align-items: center; gap: .35rem; }
.nav-ai .tag { background: var(--gold-pale); color: var(--gold-deep); font-size: 9px; font-weight: 700; padding: .1rem .4rem; border-radius: 999px; letter-spacing: .06em; }
.header-actions { display: flex; align-items: center; gap: .35rem; }
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; color: var(--navy); background: transparent; border: 0; cursor: pointer; }
.icon-btn:hover { background: var(--linen-2); color: var(--navy-deep); }
.icon-btn .count { position: absolute; top: 3px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--gold); color: var(--navy-deep); font: 700 10px/18px var(--sans); text-align: center; }
.lang-switch { display: inline-flex; border: 1px solid var(--linen-3); border-radius: var(--r-pill); padding: 2px; font: 600 11px/1 var(--sans); letter-spacing: .08em; }
.lang-switch a { padding: .45rem .6rem; border-radius: var(--r-pill); color: var(--muted); }
.lang-switch a.on { background: var(--navy-deep); color: var(--gold-light); }
.menu-toggle { display: none; }
.mobile-menu { position: fixed; inset: 0; z-index: 100; background: rgba(0, 11, 32, .45); opacity: 0; pointer-events: none; transition: opacity .25s; }
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu-panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(86vw, 360px); background: var(--ivory); padding: 1.25rem 1.25rem calc(1.25rem + var(--safe-b)); transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; display: flex; flex-direction: column; gap: .25rem; }
.mobile-menu.open .mobile-menu-panel { transform: none; }
.mobile-menu-panel a.m-link { display: flex; align-items: center; gap: .8rem; padding: .85rem .5rem; border-bottom: 1px solid var(--linen-3); font-weight: 500; }
.mobile-menu-panel a.m-link .ms { color: var(--gold-deep); }

/* Barre d'onglets mobile (style application) */
.tabbar { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; height: calc(var(--tabbar-h) + var(--safe-b)); padding-bottom: var(--safe-b); background: rgba(251, 249, 245, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid rgba(197, 160, 89, .3); }
.tabbar nav { display: grid; grid-template-columns: repeat(5, 1fr); height: var(--tabbar-h); }
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 10.5px; font-weight: 600; color: var(--muted); position: relative; }
.tabbar a.active { color: var(--navy-deep); }
.tabbar a.active .ms { font-variation-settings: "FILL" 1; color: var(--gold-deep); }
.tabbar a.tab-ai .bubble { width: 50px; height: 50px; margin-top: -22px; border-radius: 50%; display: grid; place-items: center; background: var(--navy-deep); color: var(--gold-light); box-shadow: 0 8px 20px rgba(0, 11, 32, .3); border: 3px solid var(--ivory); }
.tabbar .count { position: absolute; top: 6px; left: 55%; min-width: 16px; height: 16px; border-radius: 8px; background: var(--gold); color: var(--navy-deep); font-size: 9.5px; line-height: 16px; text-align: center; padding: 0 3px; }

/* Boutons flottants WhatsApp / chat */
.fab-stack { position: fixed; right: 18px; bottom: 22px; z-index: 75; display: flex; flex-direction: column; gap: .7rem; align-items: flex-end; }
.fab { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; border: 0; cursor: pointer; box-shadow: 0 10px 28px rgba(0, 0, 0, .2); transition: transform .2s; position: relative; }
.fab:hover { transform: scale(1.06); }
.fab-wa { background: #25d366; color: #fff; }
.fab-chat { background: var(--navy-deep); color: var(--gold-light); }
.fab .dot { position: absolute; top: 4px; right: 4px; width: 12px; height: 12px; border-radius: 50%; background: var(--bordeaux); border: 2px solid #fff; }
.wa-svg { width: 28px; height: 28px; fill: currentColor; }

/* Panneaux (chat, WhatsApp) */
.panel { position: fixed; right: 18px; bottom: 92px; z-index: 80; width: min(380px, calc(100vw - 24px)); max-height: min(620px, calc(100vh - 140px)); background: var(--ivory); border: var(--gold-border); border-radius: var(--r-md); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden; opacity: 0; transform: translateY(12px) scale(.98); pointer-events: none; transition: all .22s ease; }
.panel.open { opacity: 1; transform: none; pointer-events: auto; }
.panel-head { background: var(--navy-deep); color: #fff; padding: 1rem 1.1rem; display: flex; align-items: center; gap: .75rem; }
.panel-head img { width: 38px; height: 38px; border-radius: 50%; background: var(--ivory); padding: 4px; }
.panel-head strong { font-family: var(--serif); font-size: 1.05rem; display: block; }
.panel-head small { color: var(--gold-light); font-size: 11.5px; }
.panel-head .icon-btn { color: #fff; margin-left: auto; }
.panel-head .icon-btn:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.panel-body { padding: 1rem; overflow-y: auto; flex: 1; }
.panel-foot { padding: .75rem; border-top: 1px solid var(--linen-3); background: var(--white); }
.wa-item { display: flex; align-items: center; gap: .8rem; padding: .8rem; border-radius: var(--r); background: var(--white); border: 1px solid var(--linen-3); margin-bottom: .6rem; }
.wa-item:hover { border-color: #25d366; color: inherit; }
.wa-item .av { width: 42px; height: 42px; border-radius: 50%; background: #e7f8ee; color: #128c7e; display: grid; place-items: center; }
.wa-item strong { display: block; font-size: 14px; }
.wa-item small { color: var(--muted); }
.wa-item .call { margin-left: auto; }

/* Fil de messages */
.msgs { display: flex; flex-direction: column; gap: .55rem; }
.msg { max-width: 82%; padding: .6rem .85rem; border-radius: 16px; font-size: 14px; line-height: 1.5; white-space: pre-wrap; word-wrap: break-word; }
.msg.me { align-self: flex-end; background: var(--navy-deep); color: #eef2f8; border-bottom-right-radius: 4px; }
.msg.them { align-self: flex-start; background: var(--white); border: 1px solid var(--linen-3); border-bottom-left-radius: 4px; }
.msg.sys { align-self: center; background: var(--gold-pale); color: #5d4201; font-size: 12px; border-radius: 10px; }
.msg time { display: block; font-size: 10px; opacity: .6; margin-top: .2rem; }
.msg img { border-radius: 10px; margin-top: .4rem; max-height: 260px; }
.composer { display: flex; gap: .5rem; align-items: flex-end; }
.composer textarea { flex: 1; min-height: 44px; max-height: 120px; padding: .65rem .9rem; border-radius: 22px; border: 1px solid var(--linen-3); background: var(--linen); resize: none; font-size: 14px; }
.composer textarea:focus { outline: none; border-color: var(--gold); background: #fff; }
.composer .btn-icon { flex-shrink: 0; }

/* ---------- Hero ---------- */
.hero { padding: clamp(2rem, 5vw, 4.5rem) 0 clamp(2.5rem, 6vw, 5rem); position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 85% 20%, rgba(197, 160, 89, .14), transparent 70%), radial-gradient(40% 40% at 10% 90%, rgba(13, 34, 63, .06), transparent 70%); pointer-events: none; }
.hero .container { position: relative; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.8rem 0; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; margin-top: 1.5rem; }
.hero-trust div { display: flex; align-items: center; gap: .55rem; font-size: 12.5px; color: var(--ink-2); max-width: 200px; }
.hero-trust .ms { color: var(--gold-deep); }
.hero-visual { position: relative; }
.hero-visual .frame { border-radius: 220px 220px var(--r-lg) var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; box-shadow: var(--shadow-lg); border: 1px solid rgba(197, 160, 89, .45); background: var(--linen-2); }
.hero-visual .frame img { width: 100%; height: 100%; object-fit: cover; }
.hero-badge { position: absolute; left: -14px; bottom: 28px; background: var(--white); border: var(--gold-border); border-radius: var(--r); padding: .8rem 1rem; display: flex; align-items: center; gap: .7rem; box-shadow: var(--shadow-lg); }
.hero-badge .num { width: 44px; height: 44px; border-radius: 50%; background: var(--navy-deep); color: var(--gold-light); display: grid; place-items: center; font: 700 1rem var(--serif); }
.hero-badge strong { display: block; font-family: var(--serif); color: var(--navy-deep); }
.hero-badge small { color: var(--muted); font-size: 11.5px; }

.stats { display: flex; flex-wrap: wrap; gap: 2rem 3rem; }
.stat strong { display: block; font: 700 2.2rem/1 var(--serif); color: var(--navy-deep); }
.stat span { font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.section.navy .stat strong { color: var(--gold-light); }

/* ---------- Cartes collection / produit ---------- */
.collection-card { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 3 / 4; background: var(--linen-2); display: block; isolation: isolate; }
.collection-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.collection-card:hover img { transform: scale(1.05); }
.collection-card .overlay { position: absolute; inset: auto 0 0 0; padding: 1.2rem; background: linear-gradient(to top, rgba(0, 11, 32, .88), rgba(0, 11, 32, 0)); color: #fff; z-index: 1; }
.collection-card h3 { color: #fff; font-size: 1.2rem; margin: 0 0 .2rem; }
.collection-card p { margin: 0; font-size: 12.5px; color: #d5dbe6; }
.collection-card .badge { position: absolute; top: 1rem; left: 1rem; z-index: 1; }

.product-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid rgba(197, 160, 89, .22); border-radius: var(--r-md); overflow: hidden; transition: box-shadow .25s, transform .25s; }
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.product-card .pic { position: relative; aspect-ratio: 3 / 4; background: var(--linen-2); overflow: hidden; display: block; }
.product-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.product-card:hover .pic img { transform: scale(1.04); }
.product-card .pic .badges { position: absolute; top: .75rem; left: .75rem; display: flex; flex-direction: column; gap: .35rem; align-items: flex-start; }
.product-card .body { padding: 1rem 1.1rem 1.1rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.product-card .meta { font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-deep); }
.product-card h3 { font-size: 1.05rem; margin: 0; line-height: 1.3; }
.product-card .foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding-top: .6rem; }
.price { font: 700 1.15rem/1.2 var(--serif); color: var(--navy-deep); }
.price-old { font-size: .82rem; color: var(--muted); text-decoration: line-through; display: block; font-family: var(--sans); font-weight: 400; }
.price-deal { color: var(--bordeaux); }
.countdown { font: 600 11px var(--sans); color: var(--bordeaux); letter-spacing: .04em; }

/* Fiche produit */
.gallery-main { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 3 / 4; background: var(--linen-2); border: var(--gold-border); }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: .6rem; margin-top: .75rem; overflow-x: auto; }
.thumbs button { width: 72px; height: 92px; border-radius: var(--r-sm); overflow: hidden; border: 2px solid transparent; padding: 0; cursor: pointer; flex-shrink: 0; background: var(--linen-2); }
.thumbs button.on { border-color: var(--gold); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.spec-list { display: grid; grid-template-columns: auto 1fr; gap: .5rem 1.2rem; font-size: 14px; }
.spec-list dt { color: var(--muted); }
.spec-list dd { margin: 0; font-weight: 500; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--linen-3); border-radius: var(--r-pill); background: var(--white); }
.qty button { width: 40px; height: 44px; border: 0; background: none; cursor: pointer; font-size: 18px; color: var(--navy); }
.qty input { width: 44px; text-align: center; border: 0; background: none; font-weight: 600; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* Filtres boutique */
.shop-layout { display: grid; grid-template-columns: 250px 1fr; gap: 2rem; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 16px); }
.filters h4 { font: 600 11px/1.4 var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); margin: 1.4rem 0 .6rem; }
.filters h4:first-child { margin-top: 0; }
.filter-link { display: flex; justify-content: space-between; padding: .45rem .7rem; border-radius: var(--r-sm); font-size: 14px; color: var(--ink-2); }
.filter-link:hover, .filter-link.on { background: var(--linen-2); color: var(--navy-deep); }
.filter-link.on { font-weight: 600; }
.toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1.25rem; }
.search-box { position: relative; flex: 1; max-width: 380px; }
.search-box .ms { position: absolute; left: .9rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-box .input { padding-left: 2.6rem; border-radius: var(--r-pill); background: var(--white); }

.pagination { display: flex; justify-content: center; gap: .35rem; margin-top: 2.5rem; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; font-size: 14px; border: 1px solid var(--linen-3); background: var(--white); padding: 0 .6rem; }
.pagination .on { background: var(--navy-deep); color: var(--gold-light); border-color: var(--navy-deep); }

/* Tableau */
.table-wrap { overflow-x: auto; border-radius: var(--r); border: 1px solid var(--linen-3); background: var(--white); }
.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th { text-align: left; font: 600 10.5px/1.4 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); background: var(--linen); padding: .85rem 1rem; white-space: nowrap; }
.table td { padding: .85rem 1rem; border-top: 1px solid var(--linen-3); vertical-align: middle; }
.table tr:hover td { background: #fffdf8; }
.table .thumb { width: 48px; height: 60px; border-radius: 8px; object-fit: cover; background: var(--linen-2); }
.table .num { text-align: right; white-space: nowrap; }

/* Panier / récap */
.summary-row { display: flex; justify-content: space-between; padding: .45rem 0; font-size: 14.5px; }
.summary-row.total { border-top: 1px solid var(--linen-3); margin-top: .5rem; padding-top: .9rem; font: 700 1.25rem var(--serif); color: var(--navy-deep); }
.cart-line { display: grid; grid-template-columns: 84px 1fr auto; gap: 1rem; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--linen-3); }
.cart-line img { width: 84px; height: 104px; object-fit: cover; border-radius: var(--r-sm); background: var(--linen-2); }

/* Timeline (suivi) */
.timeline { list-style: none; padding: 0; margin: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 15px; top: 6px; bottom: 6px; width: 1.5px; background: var(--linen-3); }
.timeline li { position: relative; padding: 0 0 1.2rem 46px; }
.timeline li::before { content: ""; position: absolute; left: 8px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); border: 2px solid var(--line); }
.timeline li.done::before { background: var(--gold); border-color: var(--gold); }
.timeline li.current::before { background: var(--navy-deep); border-color: var(--gold); box-shadow: 0 0 0 4px rgba(197, 160, 89, .25); }
.timeline strong { display: block; font-size: 14.5px; }
.timeline small { color: var(--muted); }
.progress { height: 6px; border-radius: 3px; background: var(--linen-3); overflow: hidden; }
.progress > span { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 3px; }

/* Studio IA */
.studio-shell { display: grid; grid-template-columns: 380px 1fr; gap: 1.5rem; align-items: start; }
.studio-side { display: flex; flex-direction: column; gap: 1rem; }
.studio-step { display: flex; align-items: center; justify-content: space-between; margin-bottom: .9rem; }
.studio-step h3 { margin: 0; font-size: 1.02rem; display: flex; align-items: center; gap: .5rem; }
.studio-step .n { font-size: 11px; color: var(--gold-deep); letter-spacing: .1em; font-weight: 600; }
.fabric-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .6rem; }
.fabric { position: relative; border: 1px solid var(--linen-3); border-radius: var(--r); padding: .5rem; cursor: pointer; background: var(--white); font-size: 12px; }
.fabric img { width: 100%; height: 64px; object-fit: cover; border-radius: 10px; margin-bottom: .4rem; }
.fabric input { position: absolute; opacity: 0; }
.fabric:has(input:checked) { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(197, 160, 89, .35); }
.fabric strong { display: block; font-size: 12.5px; }
.stage { position: relative; border-radius: var(--r-md); overflow: hidden; background: radial-gradient(circle at 50% 30%, #1b3358, var(--navy-deep)); min-height: 520px; display: grid; place-items: center; color: #cfd8e6; }
.stage img.render { width: 100%; height: 100%; max-height: 720px; object-fit: contain; background: #f1ede4; }
.stage .placeholder { text-align: center; padding: 2rem; max-width: 420px; }
.stage .placeholder img { width: 120px; margin: 0 auto 1rem; opacity: .9; }
.stage .loader { position: absolute; inset: 0; display: none; place-items: center; background: rgba(0, 11, 32, .72); color: var(--gold-light); text-align: center; z-index: 2; }
.stage.loading .loader { display: grid; }
.needle { width: 70px; height: 70px; border-radius: 50%; border: 2px solid rgba(197, 160, 89, .25); border-top-color: var(--gold); animation: spin 1s linear infinite; margin: 0 auto 1rem; }
@keyframes spin { to { transform: rotate(360deg); } }
.concept h3 { font-size: 1.5rem; margin-bottom: .3rem; }
.concept ul { padding-left: 1.1rem; margin: .4rem 0; }
.concept .kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .8rem; margin: 1rem 0; }
.concept .kv div { background: var(--linen); border-radius: var(--r); padding: .7rem .9rem; }
.concept .kv small { display: block; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.concept .kv strong { font-family: var(--serif); color: var(--navy-deep); font-size: 1.05rem; }
.ai-chat { height: 360px; overflow-y: auto; padding: .5rem; background: var(--linen); border-radius: var(--r); }
.ai-chat .msg.them { background: var(--white); }
.ai-chat .msg p { margin: 0 0 .4rem; } .ai-chat .msg ul { margin: .3rem 0; padding-left: 1.1rem; }
.suggestions { display: flex; flex-wrap: wrap; gap: .4rem; margin: .6rem 0; }
.suggestions button { border: 1px dashed var(--gold); background: #fffcf4; border-radius: 999px; padding: .35rem .75rem; font-size: 12px; cursor: pointer; color: var(--gold-deep); }
.tabs { display: inline-flex; background: var(--linen-2); border-radius: var(--r-pill); padding: 4px; gap: 2px; flex-wrap: wrap; }
.tabs button, .tabs a { border: 0; background: none; padding: .55rem 1rem; border-radius: var(--r-pill); font-size: 13px; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.tabs .on { background: var(--navy-deep); color: var(--gold-light); }
.tab-pane { display: none; } .tab-pane.on { display: block; }

/* Flyers */
.flyer-card { border-radius: var(--r); overflow: hidden; background: var(--white); border: var(--gold-border); }
.flyer-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--linen-2); }
.flyer-card .body { padding: .9rem 1rem; display: flex; justify-content: space-between; align-items: center; gap: .5rem; }

/* Témoignages */
.quote-card { background: var(--white); border: var(--gold-border); border-radius: var(--r-md); padding: 1.5rem; }
.stars { color: var(--gold); letter-spacing: 2px; font-size: 15px; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: .2rem; }
.star-input input { display: none; }
.star-input label { font-size: 30px; color: var(--linen-3); cursor: pointer; line-height: 1; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--gold); }

/* Ateliers */
.atelier-card { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.atelier-card .map { border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 9; background: var(--linen-2); border: 0; width: 100%; }
.info-line { display: flex; gap: .7rem; align-items: flex-start; font-size: 14px; margin: .5rem 0; }
.info-line .ms { color: var(--gold-deep); }

/* Accordéon FAQ */
details.faq { border-bottom: 1px solid var(--linen-3); padding: 1rem 0; }
details.faq summary { cursor: pointer; font-family: var(--serif); font-size: 1.1rem; color: var(--navy-deep); list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: "add"; font-family: "Material Symbols Outlined"; color: var(--gold-deep); }
details.faq[open] summary::after { content: "remove"; }
details.faq p { margin: .7rem 0 0; color: var(--ink-2); }

/* Bannière installation PWA */
.install-banner { position: fixed; left: 12px; right: 12px; bottom: calc(var(--tabbar-h) + var(--safe-b) + 12px); z-index: 85; background: var(--navy-deep); color: #fff; border-radius: var(--r-md); padding: .9rem 1rem; display: none; align-items: center; gap: .8rem; box-shadow: var(--shadow-lg); border: 1px solid rgba(197, 160, 89, .4); max-width: 520px; margin: 0 auto; }
.install-banner.show { display: flex; }
.install-banner img { width: 44px; height: 44px; border-radius: 12px; }
.install-banner strong { display: block; font-family: var(--serif); font-size: 1rem; }
.install-banner small { color: var(--gold-light); font-size: 12px; }
.install-banner .x { background: none; border: 0; color: #aab4c6; cursor: pointer; margin-left: auto; }

.modal { position: fixed; inset: 0; z-index: 120; background: rgba(0, 11, 32, .55); display: none; align-items: flex-end; justify-content: center; padding: 1rem; }
.modal.open { display: flex; }
.modal-box { background: var(--ivory); border-radius: var(--r-md); width: min(520px, 100%); max-height: 88vh; overflow-y: auto; padding: 1.5rem; box-shadow: var(--shadow-lg); animation: slideIn .25s; }
@media (min-width: 700px) { .modal { align-items: center; } }

/* ---------- Pied de page ---------- */
.site-footer { background: var(--navy-deep); color: #b9c3d4; padding: 4rem 0 calc(2rem + var(--safe-b)); font-size: 14px; }
.site-footer h4 { color: var(--gold-light); font: 600 11px/1.4 var(--sans); letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1rem; }
.site-footer a { color: #d4dbe7; }
.site-footer a:hover { color: var(--gold-light); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.footer-brand strong { font: 700 1.8rem/1 var(--serif); color: var(--gold-light); letter-spacing: .08em; display: block; margin-bottom: .6rem; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 3rem; padding-top: 1.5rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: 12.5px; color: #8b97ad; }
.pay-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1rem; }
.pay-badges span { border: 1px solid rgba(197, 160, 89, .35); border-radius: 999px; padding: .3rem .7rem; font-size: 11px; color: var(--gold-light); }

/* Page header (pages intérieures) */
.page-head { padding: clamp(2rem, 5vw, 3.5rem) 0 1.5rem; border-bottom: 1px solid rgba(197, 160, 89, .2); background: linear-gradient(180deg, var(--linen), var(--ivory)); }
.breadcrumb { font-size: 12px; color: var(--muted); margin-bottom: .8rem; display: flex; gap: .4rem; flex-wrap: wrap; }
.breadcrumb a:hover { color: var(--gold-deep); }

.empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.empty .ms { font-size: 48px; color: var(--gold); display: block; margin: 0 auto .7rem; }

/* Image en erreur → motif monogramme */
img.img-fallback { object-fit: contain !important; padding: 18%; background: var(--linen-2); }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
  .main-nav a { padding: .5rem .5rem; font-size: 13px; }
  .studio-shell { grid-template-columns: 340px 1fr; }
}
@media (max-width: 1020px) {
  .main-nav, .header-actions .hide-tablet { display: none; }
  .menu-toggle { display: inline-grid; }
  .header-actions { margin-left: auto; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .filters .filter-groups { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .4rem; }
  .studio-shell { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  :root { --header-h: 64px; --gutter: 1rem; }
  body { padding-bottom: calc(var(--tabbar-h) + var(--safe-b)); }
  .tabbar { display: block; }
  .fab-stack { bottom: calc(var(--tabbar-h) + var(--safe-b) + 14px); right: 12px; }
  .fab { width: 50px; height: 50px; }
  .panel { right: 12px; bottom: calc(var(--tabbar-h) + var(--safe-b) + 76px); max-height: calc(100vh - var(--tabbar-h) - 120px); }
  .brand img { width: 42px; }
  .brand-text strong { font-size: 1.2rem; }
  .brand-text span { font-size: 8px; letter-spacing: .2em; }
  .header-actions .hide-mobile { display: none; }
  .grid-2, .grid-3, .split, .split.wide-left { grid-template-columns: 1fr; }
  .grid-4, .grid-auto.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .product-card .body { padding: .75rem; }
  .product-card h3 { font-size: .95rem; }
  .product-card .foot { flex-direction: column; align-items: stretch; }
  .product-card .foot .btn { width: 100%; }
  .price { font-size: 1rem; }
  .hero-visual .frame { border-radius: 160px 160px var(--r-md) var(--r-md); }
  .hero-badge { left: 8px; }
  .topbar .hide-mobile { display: none; }
  .stage { min-height: 380px; }
  .cart-line { grid-template-columns: 64px 1fr; }
  .cart-line img { width: 64px; height: 80px; }
  .cart-line .line-actions { grid-column: 1 / -1; }
  .table { font-size: 13px; }
  .table th, .table td { padding: .65rem .7rem; }
  .flash-zone { top: calc(var(--header-h) + 6px); }
}
@media (display-mode: standalone) {
  .topbar { display: none; }
  .site-header { padding-top: env(safe-area-inset-top, 0px); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  .site-header, .topbar, .tabbar, .fab-stack, .site-footer, .no-print { display: none !important; }
  body { background: #fff; padding: 0; }
}

/* Ajustements navigation */
.main-nav a, .topbar a { white-space: nowrap; }
.site-header .container { gap: 1rem; }
@media (max-width: 1360px) { .header-actions .btn.hide-tablet { display: none; } .main-nav a { padding: .5rem .55rem; font-size: 13px; } }
.fab-stack { transition: transform .25s ease, opacity .25s ease; }
@media (max-width: 760px) { .fab { width: 46px; height: 46px; } .fab-stack.tuck { transform: translateX(80px); opacity: 0; pointer-events: none; } }
