/* ============ COLIX, Identité visuelle v2 (éditoriale, chaleureuse) ============ */
:root {
  --encart: #F9F9F8;      /* gris très léger : encarts et pied de page uniquement */
  --noir: #1C1C1A;
  --noir-2: #34342F;
  --sauge: #9BAA9A;
  --sauge-clair: #E7ECE5;
  --taupe: #C8B9A6;
  --taupe-clair: #EEE7DD;
  --terracotta: #C98268;
  --terracotta-fonce: #B06B52;
  --blanc: #FFFFFF;
  --ligne: #E7E7E4;
  --ligne-forte: #D3D3CF;
  --zone: #F9F9F8;
  --texte-2: #5F5B53;
  --vert: #3F6B4E;
  --rouge: #A33A2A;
  --rayon: 14px;
  --serif: "Cormorant Garamond", "DM Serif Display", Georgia, serif;
  --sans: "DM Sans", "Manrope", "Helvetica Neue", Arial, sans-serif;
  --vite: .25s cubic-bezier(.4, 0, .2, 1);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--blanc); color: var(--noir); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; line-height: 1.12; margin: 0 0 .45em; }
h1 { font-size: clamp(2.3rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.45rem; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--texte-2); }
.small { font-size: .875rem; }
.hidden { display: none !important; }
.lead { font-size: 1.12rem; color: var(--texte-2); max-width: 620px; }
.price { font-family: var(--sans); font-weight: 700; }

/* ---------- Bande défilante ---------- */
.ticker { background: var(--noir); color: var(--blanc); font-size: .82rem; overflow: hidden; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 0; padding: 9px 0; animation: ticker 45s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { padding: 0 22px; letter-spacing: .02em; }
.ticker-track span::after { content: "•"; margin-left: 44px; color: var(--taupe); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; white-space: normal; display: block; text-align: center; padding: 9px 16px; }
  .ticker-track span.dup { display: none; }
}

/* ---------- En-tête & menu ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--blanc); border-bottom: 1px solid var(--ligne); }
.site-header .wrap { display: flex; align-items: center; gap: 18px; height: 72px; }
.brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.brand img { height: 44px; width: auto; }
.brand-text { font-family: var(--serif); font-weight: 600; font-size: 2.1rem; letter-spacing: .01em; line-height: 1; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav > a, .nav > button.nav-link {
  text-decoration: none; padding: 9px 11px; border-radius: 8px; font: 500 .93rem var(--sans); color: var(--noir);
  background: none; border: 0; cursor: pointer; white-space: nowrap; transition: background var(--vite);
}
.nav > a:hover, .nav > button.nav-link:hover, .nav > a.on, .nav > button.nav-link.on { background: var(--zone); }
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: 10px; }
.cart-btn {
  display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--ligne-forte); background: var(--blanc);
  border-radius: 10px; padding: 9px 12px; font: 600 .9rem var(--sans); cursor: pointer; color: var(--noir);
}
.cart-btn .cart-count { color: var(--terracotta-fonce); }
.burger { display: none; border: 1px solid var(--ligne-forte); background: var(--blanc); border-radius: 10px; padding: 9px 12px; font: 600 .9rem var(--sans); cursor: pointer; }

/* Méga-menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%; background: var(--blanc); border-bottom: 1px solid var(--ligne);
  box-shadow: 0 18px 30px -24px rgba(28,28,26,.35);
  opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity var(--vite), transform var(--vite), visibility var(--vite);
}
.mega.open { opacity: 1; visibility: visible; transform: none; }
.mega .wrap { display: block; height: auto; padding-top: 28px; padding-bottom: 32px; }
.mega-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.mega-head h3 { margin: 0; font-size: 1.6rem; }
.mega-head .min { font-size: .9rem; color: var(--texte-2); }
.mega-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.mega-col a { text-decoration: none; display: block; }
.mega-col .u { font-family: var(--serif); font-size: 1.22rem; font-weight: 600; margin-bottom: 8px; line-height: 1.2; }
.mega-col .u:hover { color: var(--terracotta-fonce); }
.mega-col .s { font-size: .9rem; color: var(--texte-2); padding: 3px 0; }
.mega-col .s:hover { color: var(--noir); text-decoration: underline; }
.mega-col .m { font-size: .76rem; color: var(--sauge); margin-top: 8px; font-weight: 600; letter-spacing: .02em; }

@media (max-width: 1080px) {
  .nav, .header-actions .btn-devis { display: none; }
  .burger { display: inline-flex; }
  .header-actions { margin-left: auto; }
  .mega { display: none; }
}

/* Menu mobile */
.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: var(--blanc); overflow-y: auto; padding: 20px 16px 40px;
  opacity: 0; visibility: hidden; transition: opacity var(--vite), visibility var(--vite);
}
.mobile-menu.open { opacity: 1; visibility: visible; }
.mobile-menu .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.mobile-menu a.ml, .mobile-menu button.ml { display: block; width: 100%; text-align: left; text-decoration: none; padding: 14px 0; border: 0; border-bottom: 1px solid var(--ligne); background: none; font: 500 1.1rem var(--sans); color: var(--noir); cursor: pointer; }
.mobile-cats { padding: 6px 0 10px 12px; border-bottom: 1px solid var(--ligne); }
.mobile-cats a { display: block; padding: 7px 0; text-decoration: none; color: var(--texte-2); }
.mobile-cats a.u { color: var(--noir); font-family: var(--serif); font-size: 1.2rem; font-weight: 600; padding-top: 12px; }

/* ---------- Boutons & champs ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 10px;
  padding: 13px 22px; font: 600 .98rem var(--sans); cursor: pointer; text-decoration: none; min-height: 48px;
  transition: background var(--vite), border-color var(--vite), color var(--vite);
}
.btn-noir { background: var(--noir); color: var(--blanc); }
.btn-noir:hover { background: var(--noir-2); }
.btn-or, .btn-terra { background: var(--terracotta); color: var(--noir); }
.btn-or:hover, .btn-terra:hover { background: var(--terracotta-fonce); color: var(--blanc); }
.btn-devis { background: var(--terracotta); color: var(--noir); padding: 10px 16px; min-height: 42px; font-size: .9rem; }
.btn-devis:hover { background: var(--terracotta-fonce); color: var(--blanc); }
.btn-ligne { background: transparent; color: var(--noir); border: 1px solid var(--noir); }
.btn-ligne:hover { background: var(--noir); color: var(--blanc); }
.btn-wa { background: #1F8F4E; color: #fff; }
.btn-wa:hover { background: #18773F; }
.btn-danger { background: transparent; color: var(--rouge); border: 1px solid #DDB2A8; }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 12px; min-height: 38px; font-size: .88rem; border-radius: 8px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

label { display: block; font-weight: 600; font-size: .9rem; margin: 16px 0 6px; }
label .req { color: var(--terracotta-fonce); }
label .opt { font-weight: 400; color: var(--texte-2); }
input[type=text], input[type=tel], input[type=number], input[type=email], input[type=password], textarea, select {
  width: 100%; padding: 12px 14px; font: 1rem var(--sans); color: var(--noir);
  border: 1px solid var(--ligne-forte); border-radius: 10px; background: var(--blanc);
}
input[type=file] { font: .92rem var(--sans); }
input:focus, textarea:focus, select:focus { outline: 2px solid var(--sauge); outline-offset: 0; border-color: var(--sauge); }
textarea { min-height: 120px; resize: vertical; }
.hint { font-size: .84rem; color: var(--texte-2); margin-top: 4px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: .92rem; border: 1px solid var(--ligne-forte); padding: 14px; border-radius: 10px; cursor: pointer; background: var(--blanc); }
.check input { width: 22px; height: 22px; margin-top: 1px; flex-shrink: 0; accent-color: var(--noir); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }

/* ---------- Vues (navigation sans rechargement) ---------- */
.view { display: none; }
.view.active { display: block; animation: vue var(--vite) both; }
@keyframes vue { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .view.active { animation: none; } }
.section { padding: 64px 0; }
.section-tight { padding: 40px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; }
.section-head h2 { margin: 0; }
.rule { border: 0; border-top: 1px solid var(--ligne); margin: 0; }

/* ---------- Accueil ---------- */
.hero { padding: 56px 0 64px; }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 1fr; gap: 56px; } }
.hero h1 { max-width: 640px; }
.hero .cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.collage { display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: 170px 170px; gap: 12px; }
.collage .tile { position: relative; border-radius: var(--rayon); overflow: hidden; background: var(--taupe-clair) center/cover no-repeat; text-decoration: none; display: flex; align-items: flex-end; }
.collage .tile:nth-child(1) { grid-row: span 2; background-color: var(--sauge-clair); }
.collage .tile:nth-child(2) { background-color: var(--taupe-clair); }
.collage .tile:nth-child(3) { background-color: #F2E2DA; }
.collage .tile:nth-child(4) { grid-column: span 2; background-color: var(--zone); }
.collage .tile span { position: relative; margin: 12px; padding: 6px 12px; border-radius: 8px; background: rgba(248,246,242,.92); font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
.collage .tile.empty span { background: none; padding: 0 4px; font-size: 1.5rem; margin: 18px; }
@media (max-width: 560px) {
  .collage { grid-template-columns: 1fr 1fr; grid-template-rows: repeat(3, 120px); }
  .collage .tile:nth-child(4) { grid-column: span 2; }
  .collage .tile span { font-size: 1rem; }
}

.universe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid var(--ligne); border-left: 1px solid var(--ligne); }
@media (max-width: 860px) { .universe-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .universe-grid { grid-template-columns: 1fr; } }
.universe { padding: 26px 22px; border-right: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); text-decoration: none; transition: background var(--vite); }
.universe:hover { background: var(--blanc); }
.universe h3 { margin-bottom: 6px; }
.universe p { margin: 0; color: var(--texte-2); font-size: .92rem; }

/* Étapes */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { border-top: 1px solid var(--noir); padding-top: 18px; }
.step .n { font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--terracotta); margin-bottom: 10px; }
.step h3 { font-size: 1.35rem; }
.step p { margin: 0; color: var(--texte-2); font-size: .95rem; }
.reseller { margin-top: 48px; background: var(--encart); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 32px; display: grid; gap: 20px; align-items: center; }
@media (min-width: 860px) { .reseller { grid-template-columns: 1.6fr auto; padding: 40px 44px; } }
.reseller h3 { font-size: 1.8rem; margin-bottom: 8px; }
.reseller p { margin: 0; color: var(--texte-2); }

/* ---------- Catalogue ---------- */
.cat-layout { display: grid; gap: 28px; }
@media (min-width: 960px) { .cat-layout { grid-template-columns: 230px 1fr; gap: 40px; } }
.cat-side a { display: block; text-decoration: none; padding: 7px 0; color: var(--texte-2); font-size: .93rem; }
.cat-side a.u { color: var(--noir); font-family: var(--serif); font-size: 1.2rem; font-weight: 600; padding-top: 14px; }
.cat-side a.on { color: var(--terracotta-fonce); font-weight: 600; }
@media (max-width: 959px) { .cat-side { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; } .cat-side a { white-space: nowrap; border: 1px solid var(--ligne-forte); border-radius: 999px; padding: 6px 14px; font-family: var(--sans) !important; font-size: .88rem !important; } .cat-side a.s { display: none; } }
.min-note { font-size: .88rem; color: var(--texte-2); }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px 14px; }
@media (min-width: 720px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 36px 22px; } }
.product { text-decoration: none; display: flex; flex-direction: column; gap: 8px; cursor: pointer; }
.product .ph { aspect-ratio: 4 / 5; border-radius: var(--rayon); background: var(--zone) center/cover no-repeat; }
.product .t { font-weight: 500; font-size: .96rem; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product:hover .t { text-decoration: underline; }
.product .p { font-weight: 700; font-size: 1.05rem; }
.product .u { font-size: .8rem; color: var(--texte-2); margin-top: -4px; }

/* ---------- Fiche produit ---------- */
.pdp { display: grid; gap: 28px; padding: 32px 0 64px; }
@media (min-width: 900px) { .pdp { grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; } }
.gallery .main { aspect-ratio: 1; border-radius: var(--rayon); background: var(--blanc) center/contain no-repeat; border: 1px solid var(--ligne); }
.thumbs { display: flex; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; }
.thumbs button { flex: 0 0 66px; height: 66px; border-radius: 10px; border: 2px solid var(--ligne); background: var(--zone) center/cover no-repeat; cursor: pointer; }
.thumbs button.on { border-color: var(--noir); }
.back-link { font-size: .9rem; color: var(--texte-2); text-decoration: none; background: none; border: 0; padding: 0; cursor: pointer; font-family: var(--sans); }
.back-link:hover { text-decoration: underline; }
.crumb { font-size: .85rem; color: var(--texte-2); margin-bottom: 6px; }
.price-line { margin: 14px 0 6px; }
.price-line .big { font-size: 2rem; font-weight: 700; }
.price-line .sub { color: var(--texte-2); font-size: .92rem; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--ligne-forte); font-size: .9rem; background: var(--blanc); }
.desc { white-space: pre-line; color: #33332F; }
.buy-box { border-top: 1px solid var(--ligne); border-bottom: 1px solid var(--ligne); padding: 20px 0; margin-top: 22px; }

/* ---------- Sélecteur de quantité ---------- */
.stepper { display: inline-flex; align-items: center; border: 1px solid var(--ligne-forte); border-radius: 10px; overflow: hidden; background: var(--blanc); }
.stepper button { width: 46px; height: 46px; border: 0; background: var(--blanc); font-size: 1.3rem; font-weight: 500; cursor: pointer; color: var(--noir); }
.stepper button:hover { background: var(--zone); }
.stepper button[disabled] { color: #BDB6AA; cursor: not-allowed; background: var(--blanc); }
.stepper .val { min-width: 92px; text-align: center; font-weight: 700; border-left: 1px solid var(--ligne); border-right: 1px solid var(--ligne); line-height: 1.2; padding: 4px 0; }
.stepper .val small { display: block; font-size: .72rem; font-weight: 500; color: var(--texte-2); }
.qty-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.total-live { text-align: right; }
.total-live .lbl { font-size: .82rem; color: var(--texte-2); }
.total-live .amt { font-size: 1.35rem; font-weight: 700; white-space: nowrap; }

/* ---------- Tiroir panier ---------- */
.overlay { position: fixed; inset: 0; background: rgba(28,28,26,.38); z-index: 80; opacity: 0; visibility: hidden; transition: opacity var(--vite), visibility var(--vite); }
.overlay.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--blanc); z-index: 85;
  transform: translateX(100%); visibility: hidden; transition: transform var(--vite), visibility var(--vite);
  display: flex; flex-direction: column; box-shadow: -20px 0 40px -30px rgba(28,28,26,.5);
}
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--ligne); }
.drawer-head h2 { margin: 0; font-size: 1.8rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 0 20px; }
.drawer-foot { border-top: 1px solid var(--ligne); padding: 16px 20px 20px; background: var(--blanc); }
.close-btn { border: 0; background: none; font: 500 .92rem var(--sans); cursor: pointer; text-decoration: underline; color: var(--noir); padding: 6px; }
@media (prefers-reduced-motion: reduce) { .drawer, .overlay, .mega, .mobile-menu, .modal { transition: none; } }

.line { display: grid; grid-template-columns: 70px 1fr; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--ligne); }
.line .ph { width: 70px; height: 70px; border-radius: 10px; background: var(--zone) center/cover no-repeat; }
.line .info { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.variants-split { background: var(--blanc); border: 1px solid var(--ligne); border-radius: 10px; padding: 12px 14px; }
.variants-split .row { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 4px 0; }
.variants-split input { width: 84px; padding: 8px; text-align: center; }
.split-status { font-size: .84rem; font-weight: 600; margin-top: 6px; }
.split-status.ok { color: var(--vert); }
.split-status.ko { color: var(--rouge); }
.summary-row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; }
.summary-row > span:last-child { white-space: nowrap; }
.summary-total { font-size: 1.25rem; font-weight: 700; border-top: 1px solid var(--ligne); padding-top: 12px; margin-top: 6px; }
.link-btn { background: none; border: 0; color: var(--texte-2); cursor: pointer; font-size: .86rem; padding: 0; text-decoration: underline; width: fit-content; font-family: var(--sans); }

/* ---------- Commande ---------- */
.checkout { display: grid; gap: 32px; padding: 32px 0 64px; }
@media (min-width: 900px) { .checkout { grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; } }
.panel { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 24px; }
.form-title { font-size: 1.4rem; margin: 28px 0 0; padding-top: 20px; border-top: 1px solid var(--ligne); }
.form-title:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.success-code { font-size: 2rem; font-weight: 700; margin: 4px 0 12px; }

/* ---------- Suivi ---------- */
.track-steps { list-style: none; padding: 0; margin: 24px 0; }
.track-steps li { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding-bottom: 22px; position: relative; }
.track-steps li::before { content: ""; position: absolute; left: 17px; top: 36px; bottom: 0; width: 2px; background: var(--ligne); }
.track-steps li:last-child::before { display: none; }
.track-steps li.done::before { background: var(--sauge); }
.track-steps .dot { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: .9rem; background: var(--blanc); border: 2px solid var(--ligne-forte); color: var(--texte-2); z-index: 1; }
.track-steps li.done .dot { background: var(--sauge); border-color: var(--sauge); color: var(--noir); }
.track-steps .lbl { font-weight: 600; padding-top: 6px; }
.track-steps .date { font-size: .84rem; color: var(--texte-2); }
.progress { height: 6px; background: var(--ligne); border-radius: 99px; overflow: hidden; }
.progress > div { height: 100%; background: var(--sauge); }
.proof { margin-top: 12px; border-radius: var(--rayon); overflow: hidden; border: 1px solid var(--ligne-forte); background: var(--blanc); }
.proof img { width: 100%; max-height: 640px; object-fit: contain; background: #111; }
.proof .cap { padding: 10px 14px; font-weight: 600; font-size: .92rem; }
.invoice-box { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; background: var(--encart); border: 1px solid var(--ligne); border-radius: 12px; padding: 14px 16px; margin-top: 16px; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--ligne); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-family: var(--serif); font-size: 1.4rem; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); font-weight: 400; color: var(--texte-2); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 20px; color: var(--texte-2); max-width: 720px; }

/* ---------- Modale devis ---------- */
.modal { position: fixed; inset: 0; z-index: 95; display: grid; place-items: center; padding: 16px; opacity: 0; visibility: hidden; transition: opacity var(--vite), visibility var(--vite); }
.modal.open { opacity: 1; visibility: visible; }
.modal-bg { position: absolute; inset: 0; background: rgba(28,28,26,.45); }
.modal-box { position: relative; background: var(--blanc); border-radius: 16px; width: min(640px, 100%); max-height: calc(100vh - 32px); overflow-y: auto; padding: 28px; }
.modal-box h2 { font-size: 2.1rem; }

/* ---------- Divers ---------- */
.notice { padding: 12px 14px; border-radius: 10px; font-size: .92rem; }
.notice.warn { background: var(--encart); border: 1px solid var(--ligne-forte); }
.notice.err { background: #F7E6E1; border: 1px solid #E2B9AD; color: #7A2A1D; }
.notice.ok { background: var(--sauge-clair); border: 1px solid var(--sauge); color: #2E4A35; }
.empty { text-align: center; padding: 48px 16px; color: var(--texte-2); }
.toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); display: none; background: var(--noir); color: var(--blanc); padding: 12px 18px; border-radius: 10px; font-weight: 600; z-index: 200; max-width: calc(100% - 32px); }
.toast.show { display: block; }
.site-footer { background: var(--encart); border-top: 1px solid var(--ligne); color: var(--texte-2); padding: 40px 0; font-size: .92rem; margin-top: 24px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.site-footer .brand-text { font-size: 1.6rem; color: var(--noir); }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer nav a { text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }
.spinner { width: 26px; height: 26px; border: 3px solid var(--ligne); border-top-color: var(--noir); border-radius: 50%; animation: spin .8s linear infinite; margin: 40px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.legal { max-width: 780px; }
.legal h2 { margin-top: 1.4em; font-size: 1.6rem; }
.legal p, .legal li { color: #33332F; }

/* ---------- Admin ---------- */
.admin-header .brand-text { font-size: 1.8rem; }
.tabs { display: flex; gap: 4px; overflow-x: auto; padding: 4px; border: 1px solid var(--ligne); border-radius: 12px; margin: 18px 0; background: var(--blanc); }
.tabs button { flex: 1; border: 0; background: transparent; padding: 11px 8px; border-radius: 8px; font: 600 .9rem var(--sans); cursor: pointer; white-space: nowrap; color: var(--noir); }
.tabs button.on { background: var(--noir); color: var(--blanc); }
.admin-list { display: grid; gap: 14px; }
.order-card { border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 18px; background: var(--blanc); }
.order-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: flex-start; }
.order-code { font-weight: 700; font-size: 1.1rem; }
.status-text { font-size: .88rem; font-weight: 600; }
.st-0 { color: var(--rouge); }
.st-4 { color: var(--vert); }
.kv { display: grid; grid-template-columns: 130px 1fr; gap: 4px 10px; font-size: .92rem; margin: 14px 0; }
.kv dt { color: var(--texte-2); }
.kv dd { margin: 0; word-break: break-word; }
.status-btns { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 8px; margin-top: 8px; }
.status-btns .btn.on { background: var(--noir); color: var(--blanc); border-color: var(--noir); }
.pay-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 12px; padding: 12px; background: var(--zone); border-radius: 10px; }
.pay-row select { width: auto; min-width: 160px; padding: 9px 12px; }
.admin-prod { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-top: 1px solid var(--ligne); }
.admin-prod .ph { width: 64px; height: 64px; border-radius: 8px; background: var(--zone) center/cover no-repeat; }
.img-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(90px, 1fr)); gap: 8px; margin-top: 8px; }
.img-grid .it { position: relative; aspect-ratio: 1; border-radius: 8px; background: var(--zone) center/cover no-repeat; border: 1px solid var(--ligne); cursor: pointer; }
.img-grid .it button { position: absolute; top: 4px; right: 4px; border: 0; border-radius: 6px; background: rgba(28,28,26,.8); color: #fff; cursor: pointer; font-size: .72rem; padding: 3px 6px; }
.img-grid .it .first { position: absolute; left: 4px; bottom: 4px; background: var(--noir); color: #fff; font-size: .68rem; font-weight: 600; padding: 2px 6px; border-radius: 5px; }
.upload-zone { border: 1px dashed var(--ligne-forte); border-radius: 10px; padding: 18px; text-align: center; cursor: pointer; display: block; font-weight: 500; margin: 0; background: var(--blanc); }
.upload-zone:hover { border-color: var(--noir); }
.calc-box { background: var(--zone); border-radius: 10px; padding: 14px 16px; margin-top: 16px; }
.calc-box .big { font-size: 1.4rem; font-weight: 700; }
.three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
@media (max-width: 520px) { .three { grid-template-columns: 1fr 1fr; } }
.msg-card { border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 16px; background: var(--blanc); }
.msg-card.unread { border-color: var(--terracotta); }
.card { background: var(--blanc); border: 1px solid var(--ligne); border-radius: var(--rayon); padding: 22px; }

/* ---------- Bouton Retour ---------- */
.back-bar { padding-top: 22px; }
.back-btn {
  display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--ligne-forte); background: var(--blanc);
  color: var(--noir); border-radius: 999px; padding: 8px 16px; font: 600 .9rem var(--sans); cursor: pointer;
  transition: background var(--vite), border-color var(--vite);
}
.back-btn:hover { background: var(--encart); border-color: var(--noir); }
.view[data-view="produit"] .pdp, .view[data-view="commande"] .checkout { padding-top: 18px; }
.view .back-bar + .section, .view .back-bar + .section-tight { padding-top: 24px; }

/* ---------- Champs obligatoires manquants ---------- */
input.invalid, select.invalid, textarea.invalid { border-color: var(--rouge); outline: 2px solid rgba(163,58,42,.18); }

/* ---------- Photographies ---------- */
.hero-photo { border-radius: var(--rayon); aspect-ratio: 4 / 3.3; background: var(--encart) center/cover no-repeat; }
.universe { display: flex; flex-direction: column; gap: 0; padding: 0 0 22px; }
.universe .u-photo { aspect-ratio: 16 / 10; background: var(--encart) center/cover no-repeat; margin-bottom: 18px; }
.universe h3, .universe p { padding: 0 22px; }
.cat-banner { aspect-ratio: 16 / 5; border-radius: var(--rayon); background: var(--encart) center/cover no-repeat; margin-bottom: 26px; }
@media (max-width: 560px) { .cat-banner { aspect-ratio: 16 / 8; } }
.mega-col .ph { aspect-ratio: 4 / 3; border-radius: 10px; background: var(--encart) center/cover no-repeat; margin-bottom: 10px; display: block; }
.hero-collage { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.hc-tile { position: relative; aspect-ratio: 4 / 4.6; border-radius: var(--rayon); background: var(--encart) center/cover no-repeat; display: flex; align-items: flex-end; text-decoration: none; }
.hc-tile:nth-child(2), .hc-tile:nth-child(4) { transform: translateY(28px); }
.hc-tile span { margin: 10px; padding: 6px 11px; border-radius: 8px; background: rgba(255,255,255,.94); font-family: var(--serif); font-size: 1.08rem; font-weight: 600; line-height: 1.2; }
@media (max-width: 560px) { .hc-tile { aspect-ratio: 1; } .hc-tile:nth-child(2), .hc-tile:nth-child(4) { transform: none; } .hc-tile span { font-size: .95rem; } }
.chip-btn { cursor: pointer; font: 500 .92rem var(--sans); color: var(--noir); }
.chip-btn.on { background: var(--noir); color: var(--blanc); border-color: var(--noir); }
.form-note { margin-top: 14px; }
/* ---------- Étapes de paiement Wave ---------- */
.pay-steps { margin: 12px 0 16px; padding-left: 22px; }
.pay-steps li { margin-bottom: 8px; color: #33332F; }
.proof-form { background: var(--encart); border: 1px solid var(--ligne); border-radius: 12px; padding: 16px; }
.proof-form label { margin-top: 0; }

/* ---------- Bulle WhatsApp flottante ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); z-index: 70;
  width: 54px; height: 54px; border-radius: 50%; background: #1FA855; display: grid; place-items: center;
  box-shadow: 0 6px 18px -6px rgba(28,28,26,.45); text-decoration: none; transition: transform var(--vite), background var(--vite);
}
.wa-float:hover { background: #178F45; transform: translateY(-2px); }
.wa-tip {
  position: absolute; right: 64px; top: 50%; transform: translateY(-50%); white-space: nowrap;
  background: var(--noir); color: var(--blanc); font: 500 .82rem var(--sans); padding: 7px 11px; border-radius: 8px;
  opacity: 0; visibility: hidden; transition: opacity var(--vite), visibility var(--vite); pointer-events: none;
}
.wa-float:hover .wa-tip, .wa-float:focus-visible .wa-tip { opacity: 1; visibility: visible; }
@media (max-width: 560px) { .wa-float { width: 50px; height: 50px; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); } .wa-tip { display: none; } }
@media (prefers-reduced-motion: reduce) { .wa-float { transition: none; } }

/* ---------- Confort sur téléphone (Android et iPhone) ---------- */
html { -webkit-tap-highlight-color: rgba(28,28,26,.08); }
.modal-box { max-height: calc(100dvh - 32px); }
.drawer { height: 100dvh; }
/* Laisse de la place sous le contenu pour que la bulle WhatsApp ne cache jamais un bouton */
@media (max-width: 760px) { .site-footer { padding-bottom: 96px; } main { padding-bottom: 24px; } }

/* ---------- DA du 1er décembre : slogans et cartes texte ---------- */
.universe { padding: 26px 22px; }
.universe h3, .universe p { padding: 0; }
.hero .hero-slogan { color: var(--noir); font-size: 1.3rem; font-weight: 500; margin: 6px 0 0; }
.hero .hero-concept { color: var(--texte-2); font-size: 1rem; max-width: 560px; margin: 12px 0 0; }
.footer-slogan { font-family: var(--serif); font-size: 1.3rem; font-weight: 600; color: var(--noir); margin-top: 2px; }
.eta-box { margin-top: 16px; padding: 14px 16px; border: 1px solid var(--sauge); background: #F4F7F3; border-radius: 12px; }

/* ---------- Vidéo produit ---------- */
.thumb-video { position: relative; }
.thumb-video::after { content: ""; position: absolute; inset: 0; background: rgba(28,28,26,.35); border-radius: 8px; }
.thumb-video .play { position: absolute; z-index: 1; left: 50%; top: 50%; transform: translate(-40%, -50%); width: 0; height: 0;
  border-left: 16px solid #fff; border-top: 10px solid transparent; border-bottom: 10px solid transparent; }
.gallery .main.is-video { background: #111 !important; overflow: hidden; }
.gallery .main.is-video video { width: 100%; height: 100%; object-fit: contain; display: block; }

/* ---------- Logo Colix ---------- */
.brand-logo { height: 40px; width: auto; display: block; }
.mobile-menu .brand-logo { height: 34px; }
.brand-logo-footer { height: 30px; }
@media (max-width: 560px) { .site-header .brand-logo { height: 34px; } }
/* Le fond blanc du logo disparaît sur les fonds clairs (pied de page gris) */
.brand-logo { mix-blend-mode: multiply; }
