/* SPIRIT · boutique — esprit thème Shopify « Dawn » : blanc, noir, net. Jaune en petite touche. */
:root {
  --noir: #17140f; --blanc: #fffdf9; --ivoire: #faf8f3; --gris: #f1ede5; --gris-2: #e7e1d5; --filet: #e4ddd0; --texte-2: #6f685d;
  --rouge: #9e1c1c; --rouge-2: #b8312a; --or: #a8874d; --or-2: #c9a96a; --jaune: #e9b82e;
  --f: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --serif: "Cormorant Garamond", "Noto Serif SC", Georgia, serif;
  --cjk: "Noto Serif SC", "Songti SC", serif;
  --page: 1280px; --g: clamp(16px, 4vw, 48px); --header: 76px;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-padding-top: calc(var(--header) + 12px); }
body { font-family: var(--f); font-size: 16px; line-height: 1.65; color: var(--noir); background: var(--ivoire); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 3px; }
button, input, select { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--noir); outline-offset: 3px; }
::selection { background: var(--rouge); color: #fff; }
.wrap { width: 100%; max-width: var(--page); margin: 0 auto; padding-left: var(--g); padding-right: var(--g); }
.muted { color: var(--texte-2); }
.small { font-size: 14px; }
.upper { text-transform: uppercase; letter-spacing: .06em; }
.center { text-align: center; }
.cjk { font-family: var(--cjk); font-weight: 900; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--noir); color: var(--blanc); padding: 10px 14px; }
.skip:focus { top: 12px; }
.todo { background: rgba(245, 196, 0, .35); }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 28px; border: 1px solid var(--noir); background: transparent; color: var(--noir); font-size: 15px; font-weight: 600; letter-spacing: .02em; text-decoration: none; cursor: pointer; transition: box-shadow .15s ease, background .15s ease, color .15s ease; }
.btn:hover { box-shadow: 0 0 0 1px var(--noir); }
.btn-dark { background: var(--noir); color: var(--blanc); }
.btn-dark:hover { box-shadow: 0 0 0 2px var(--noir); }
.btn-outline { background: var(--blanc); }
.btn-light { background: var(--blanc); color: var(--noir); border-color: var(--blanc); }
.btn-light:hover { box-shadow: 0 0 0 2px var(--blanc); }
.btn-block { width: 100%; }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 13px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; box-shadow: none; }
.link { font-size: 14px; font-weight: 600; text-decoration: underline; }
.link-btn { background: none; border: 0; padding: 0; text-decoration: underline; font-size: 13px; cursor: pointer; color: var(--texte-2); }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; color: inherit; }
.icon-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn:hover svg { transform: scale(1.07); }
.badge { display: inline-block; background: var(--jaune); color: var(--noir); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; }
.tag { position: absolute; left: 10px; bottom: 10px; background: var(--jaune); color: var(--noir); font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 40px; }
.tag-dark { background: var(--noir); color: var(--blanc); }

/* Bandeau et en-tête */
.announce { background: var(--noir); color: var(--blanc); text-align: center; font-size: 13px; letter-spacing: .04em; padding: 10px var(--g); }
.header { position: sticky; top: 0; z-index: 40; background: var(--blanc); border-bottom: 1px solid var(--filet); }
.header.scrolled { box-shadow: 0 1px 8px rgba(0, 0, 0, .05); }
.header-in { max-width: var(--page); margin: 0 auto; padding: 0 var(--g); height: var(--header); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.nav { display: flex; gap: 26px; font-size: 15px; }
.nav a { text-decoration: none; color: var(--texte-2); padding: 6px 0; }
.nav a:hover, .nav a[aria-current] { color: var(--noir); text-decoration: underline; text-underline-offset: 6px; }
.logo { display: flex; align-items: center; gap: 9px; text-decoration: none; justify-self: center; }
.logo img { height: 34px; width: auto; filter: invert(1); }
.logo b { display: block; font-size: 22px; font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; line-height: 1; }
.logo small { display: block; font-size: 9.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--texte-2); margin-top: 2px; }
.header-icons { display: flex; justify-content: flex-end; gap: 2px; }
.bubble { position: absolute; right: 4px; bottom: 6px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 19px; background: var(--noir); color: var(--blanc); font-size: 11px; font-weight: 700; display: grid; place-items: center; }
.menu-toggle { display: none; }
.drawer-menu { position: fixed; inset: calc(var(--header) + 40px) 0 0 0; z-index: 39; background: var(--blanc); padding: 24px var(--g); overflow-y: auto; border-top: 1px solid var(--filet); }
.drawer-menu nav { display: flex; flex-direction: column; }
.drawer-menu a { font-size: 22px; font-weight: 600; padding: 14px 0; text-decoration: none; border-bottom: 1px solid var(--filet); }

/* Sections */
.section { padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(40px, 6vw, 80px); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 24px; }
.section-head h2 { font-size: clamp(24px, 2.6vw, 34px); }
.page-title { font-size: clamp(30px, 3.4vw, 46px); margin-bottom: 18px; }
.crumbs { display: flex; gap: 8px; font-size: 13px; color: var(--texte-2); margin-bottom: 22px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.lead { font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; max-width: 62ch; }

/* Héros */
.hero { position: relative; min-height: min(86vh, 860px); display: flex; align-items: flex-end; color: var(--blanc); overflow: hidden; background: var(--noir); }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .05) 30%, rgba(0, 0, 0, .55)); }
.hero-text { position: relative; z-index: 1; padding-bottom: clamp(32px, 6vw, 72px); display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.hero h1 { font-size: clamp(44px, 7vw, 108px); line-height: .95; letter-spacing: -.035em; text-transform: uppercase; font-weight: 800; max-width: 12ch; }
.hero-sub { font-size: clamp(16px, 1.4vw, 19px); max-width: 48ch; opacity: .95; }

/* Grille produits (cartes Dawn) */
.grid-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 16px; }
.card { text-decoration: none; display: flex; flex-direction: column; gap: 12px; }
.card-media { position: relative; aspect-ratio: 4 / 5; background: var(--gris); overflow: hidden; }
.card-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .4s ease, transform .6s ease; }
.card-media img.alt { opacity: 0; }
.card:hover .card-media img.alt { opacity: 1; }
.card:hover .card-media img { transform: scale(1.03); }
.card-info h3 { font-size: 15px; font-weight: 600; }
.card:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.price { font-size: 15px; margin-top: 2px; }
.price s, .buy-price s { color: var(--texte-2); margin-right: 4px; }
.low { color: var(--texte-2); font-size: 13px; }

/* Engagements */
.trust { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; padding-top: 40px; padding-bottom: 40px; border-top: 1px solid var(--filet); border-bottom: 1px solid var(--filet); }
.trust div { display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.trust svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 6px; }
.trust b { font-size: 15px; }
.trust span { color: var(--texte-2); }

/* Lookbook */
.lookbook .section-head { margin-bottom: 20px; }
.lb-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.lb-grid figure { margin: 0; position: relative; overflow: hidden; background: var(--gris); }
.lb-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .7s ease; }
.lb-grid figure:hover img { transform: scale(1.03); }
.lb-grid figcaption { position: absolute; left: 10px; bottom: 10px; background: var(--blanc); font-size: 12px; font-weight: 600; padding: 3px 8px; }

/* Bannière */
.banner { position: relative; min-height: 70vh; display: flex; align-items: flex-end; color: var(--blanc); overflow: hidden; background: var(--noir); }
.banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .6)); }
.banner-text { position: relative; z-index: 1; padding-bottom: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.banner h2 { font-size: clamp(32px, 5vw, 72px); text-transform: uppercase; letter-spacing: -.03em; font-weight: 800; line-height: .95; max-width: 14ch; }
.banner p { max-width: 50ch; }

/* Film */
.film { display: grid; grid-template-columns: 1fr minmax(0, 360px); gap: clamp(24px, 5vw, 80px); align-items: center; }
.film > div { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.film h2 { font-size: clamp(26px, 3vw, 40px); }
.film video { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; background: var(--noir); }

/* Collection */
.collection-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; margin-bottom: 24px; border-bottom: 1px solid var(--filet); }
.sort { font-size: 14px; color: var(--texte-2); display: flex; align-items: center; gap: 8px; }
.sort select { border: 1px solid var(--filet); padding: 8px 10px; background: var(--blanc); color: var(--noir); }

/* Fiche produit */
.pdp { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.gallery { position: sticky; top: calc(var(--header) + 16px); }
.gallery-main { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.gallery-main .g-item:first-child { grid-column: 1 / -1; }
.g-item { padding: 0; border: 0; background: var(--gris); cursor: zoom-in; display: block; }
.g-item img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gallery-main .g-item:first-child img { aspect-ratio: 4 / 4.4; }
.gallery-thumbs { display: none; }
.buy { display: flex; flex-direction: column; gap: 16px; }
.buy h1 { font-size: clamp(30px, 3.2vw, 44px); }
.buy-sub { color: var(--texte-2); font-size: 17px; margin-top: -8px; }
.buy-price { font-size: 22px; }
.meter { display: flex; flex-direction: column; gap: 6px; }
.meter-head { display: flex; justify-content: space-between; font-size: 13px; color: var(--texte-2); }
.meter-head span:first-child { color: var(--noir); font-weight: 600; }
.meter-bar { height: 4px; background: var(--gris-2); overflow: hidden; }
.meter-bar i { display: block; height: 100%; background: var(--noir); }
.note { background: var(--gris); padding: 12px 14px; font-size: 14px; }
.sizes { border: 0; padding: 0; margin: 0; }
.sizes legend { font-size: 14px; padding: 0; margin-bottom: 10px; }
.size-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.size { position: relative; }
.size input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.size span { display: grid; place-items: center; min-width: 54px; height: 44px; padding: 0 14px; border: 1px solid var(--filet); border-radius: 40px; font-size: 14px; font-weight: 500; }
.size input:checked + span { background: var(--noir); color: var(--blanc); border-color: var(--noir); }
.size input:focus-visible + span { outline: 2px solid var(--noir); outline-offset: 2px; }
.size:hover span { border-color: var(--noir); }
.size.out span { color: var(--texte-2); text-decoration: line-through; background: var(--gris); border-color: var(--gris); }
.qty-buy { display: flex; flex-direction: column; gap: 8px; }
.lbl { font-size: 14px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--noir); width: max-content; }
.qty button { width: 44px; height: 44px; border: 0; background: none; cursor: pointer; font-size: 18px; }
.qty output { min-width: 28px; text-align: center; font-variant-numeric: tabular-nums; }
.buy-btns { display: flex; flex-direction: column; gap: 10px; }
.desc { display: flex; flex-direction: column; gap: 12px; color: #333; }
.accordions details { border-top: 1px solid var(--filet); }
.accordions details:last-child { border-bottom: 1px solid var(--filet); }
.accordions summary { list-style: none; cursor: pointer; padding: 16px 30px 16px 0; font-weight: 600; position: relative; }
.accordions summary::-webkit-details-marker { display: none; }
.accordions summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 20px; font-weight: 400; }
.accordions details[open] summary::after { content: "−"; }
.accordions details > *:not(summary) { margin-bottom: 14px; }
.accordions ul { margin: 0; padding-left: 18px; }
.specs { display: grid; grid-template-columns: max-content 1fr; gap: 8px 18px; margin: 0; font-size: 14px; }
.specs dt { color: var(--texte-2); }
.specs dd { margin: 0; }
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: 14px; }
th, td { border-bottom: 1px solid var(--filet); padding: 9px 10px; text-align: center; }
tbody th { text-align: left; font-weight: 500; color: var(--texte-2); }

/* Panier (tiroir) */
.overlay { position: fixed; inset: 0; background: rgba(0, 0, 0, .4); z-index: 60; }
.cart { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--blanc); z-index: 70; display: flex; flex-direction: column; transform: translateX(105%); transition: transform .35s ease; visibility: hidden; }
.cart.open { transform: none; visibility: visible; }
.cart-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 24px; border-bottom: 1px solid var(--filet); }
.cart-head h2 { font-size: 22px; }
.cart-body { flex: 1; overflow-y: auto; padding: 8px 24px 20px; }
.cart-empty { display: flex; flex-direction: column; align-items: center; gap: 18px; padding: 60px 0; text-align: center; font-size: 18px; }
.cart-lines { list-style: none; margin: 0; padding: 0; }
.cart-line { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--filet); align-items: start; }
.cart-line img { width: 84px; height: 100px; object-fit: cover; background: var(--gris); }
.cart-name { font-weight: 600; text-decoration: none; }
.cart-name:hover { text-decoration: underline; }
.qty-row { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.qty-row .qty button { width: 36px; height: 36px; }
.delivery { border: 0; padding: 0; margin: 20px 0 0; display: flex; flex-direction: column; gap: 8px; }
.delivery legend { font-weight: 600; margin-bottom: 10px; padding: 0; }
.opt { display: flex; gap: 12px; align-items: flex-start; padding: 12px 14px; border: 1px solid var(--filet); cursor: pointer; }
.opt:has(input:checked) { border-color: var(--noir); }
.opt input { margin-top: 4px; accent-color: var(--noir); }
.opt span { display: flex; flex-direction: column; flex: 1; font-size: 14px; }
.opt small { color: var(--texte-2); }
.opt em { font-style: normal; font-size: 14px; font-weight: 600; }
.cart-foot { border-top: 1px solid var(--filet); padding: 16px 24px 22px; display: flex; flex-direction: column; gap: 8px; }
.cart-foot:empty { display: none; }
.row { display: flex; justify-content: space-between; gap: 12px; }
.row.total { font-size: 18px; font-weight: 700; padding-top: 4px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 13.5px; margin: 6px 0 4px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--noir); flex: none; }
.form-msg { color: var(--rouge); font-size: 14px; min-height: 1em; }

/* Merci */
.thanks { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; max-width: 760px; }
.summary { width: 100%; border: 1px solid var(--filet); padding: 18px; display: flex; flex-direction: column; gap: 10px; }
.sum-line { display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; }
.sum-line img { width: 56px; height: 64px; object-fit: cover; background: var(--gris); }
.sum-line small { display: block; color: var(--texte-2); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; width: 100%; }
.steps li { border-top: 3px solid var(--noir); padding-top: 12px; display: flex; flex-direction: column; gap: 4px; font-size: 14px; }
.steps span { color: var(--texte-2); }

/* Collectif */
.about-hero { position: relative; min-height: 70vh; display: flex; align-items: flex-end; color: var(--blanc); background: var(--noir); overflow: hidden; }
.about-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .75; }
.about-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(0, 0, 0, .65)); }
.about-hero-text { position: relative; z-index: 1; padding-bottom: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.about-hero h1 { font-size: clamp(34px, 5vw, 76px); line-height: .95; text-transform: uppercase; letter-spacing: -.03em; font-weight: 800; max-width: 18ch; }
.about { max-width: 900px; display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.about h2 { font-size: clamp(24px, 2.6vw, 32px); margin-top: 24px; }
.timeline { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; width: 100%; }
.timeline li { border-top: 3px solid var(--noir); padding-top: 12px; }
.timeline b { font-size: 28px; font-weight: 800; }
.timeline h3 { font-size: 15px; margin: 4px 0; }
.timeline p { font-size: 14px; color: var(--texte-2); }
.axes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; margin-top: 12px; }
.axes article { display: flex; flex-direction: column; gap: 8px; }
.axes img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.axes h3 { font-size: 18px; }

/* FAQ et pages légales (reprises de la v1) */
.faq { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); gap: 24px 56px; align-items: start; }
.faq .section-head { grid-column: 1 / -1; flex-direction: column; align-items: flex-start; margin: 0; }
.faq .eyebrow, .legal-body .eyebrow { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--texte-2); }
.faq-list details { border-top: 1px solid var(--filet); }
.faq-list details:last-child { border-bottom: 1px solid var(--filet); }
.faq-list summary { list-style: none; cursor: pointer; padding: 18px 30px 18px 0; font-weight: 600; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 20px; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.acc-body { padding-bottom: 18px; color: #333; display: flex; flex-direction: column; gap: 10px; }
.contact-box { background: var(--gris); padding: 24px; display: flex; flex-direction: column; gap: 12px; position: sticky; top: calc(var(--header) + 20px); }
.contact-box h2 { font-size: 22px; }
.contact-line { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; font-weight: 600; }
.legal-body { max-width: 860px; display: flex; flex-direction: column; gap: 14px; }
.legal-body h2 { font-size: 20px; margin-top: 18px; }
.legal-body p, .legal-body li { color: #333; }
.legal-body .encadre { background: var(--gris); padding: 18px 20px; display: flex; flex-direction: column; gap: 10px; }
.legal-body table th, .legal-body table td { text-align: left; vertical-align: top; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Pied de page */
.footer { border-top: 1px solid var(--filet); padding-top: 56px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; padding-bottom: 40px; }
.footer h3 { font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.footer nav { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.footer nav a, .footer-grid p a { color: var(--texte-2); text-decoration: none; }
.footer nav a:hover, .footer-grid p a:hover { color: var(--noir); text-decoration: underline; }
.footer-logo { font-size: 28px; font-weight: 800; text-transform: uppercase; letter-spacing: -.02em; margin-bottom: 10px; }
.footer-logo span { font-family: var(--cjk); font-size: 15px; letter-spacing: .2em; margin-left: 8px; }
.footer-about .muted { font-size: 14px; max-width: 38ch; }
.footer-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 18px; padding-bottom: 24px; border-top: 1px solid var(--filet); font-size: 12px; color: var(--texte-2); }

/* Fenêtres */
.modal { position: fixed; inset: 0; z-index: 90; background: rgba(0, 0, 0, .45); display: grid; place-items: center; padding: 20px; }
.modal-card { width: min(460px, 100%); background: var(--blanc); padding: 26px; display: flex; flex-direction: column; gap: 14px; }
.modal-card h2 { font-size: 22px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; flex-wrap: wrap; }
.lightbox { position: fixed; inset: 0; z-index: 95; background: rgba(255, 255, 255, .97); display: grid; place-items: center; padding: 40px; }
.lightbox img { max-height: 90vh; width: auto; }
.lightbox .icon-btn { position: absolute; top: 12px; right: 12px; }
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 150%); background: var(--noir); color: var(--blanc); padding: 12px 18px; font-size: 14px; z-index: 99; transition: transform .3s ease, visibility 0s .3s; visibility: hidden; max-width: calc(100% - 32px); }
.toast.show { transform: translate(-50%, 0); visibility: visible; transition: transform .3s ease; }

/* Responsive */
@media (max-width: 1000px) {
  .grid-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-about { grid-column: 1 / -1; }
  .trust { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .menu-toggle { display: inline-grid; justify-self: start; }
  .header-in { grid-template-columns: 44px 1fr auto; }
  .pdp, .film, .faq { grid-template-columns: minmax(0, 1fr); }
  .gallery { position: static; }
  .gallery-main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 6px; scrollbar-width: none; }
  .gallery-main::-webkit-scrollbar { display: none; }
  .g-item { flex: 0 0 88%; scroll-snap-align: start; }
  .g-item img, .gallery-main .g-item:first-child img { aspect-ratio: 4 / 5; }
  .gallery-thumbs { display: flex; gap: 6px; margin-top: 8px; overflow-x: auto; }
  .gallery-thumbs button { flex: 0 0 56px; padding: 0; border: 1px solid transparent; background: var(--gris); cursor: pointer; }
  .gallery-thumbs button[aria-current] { border-color: var(--noir); }
  .gallery-thumbs img { width: 56px; height: 64px; object-fit: cover; }
  .lb-grid { grid-template-columns: repeat(2, 1fr); }
  .film video { max-width: 320px; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .contact-box { position: static; }
}
@media (max-width: 600px) {
  :root { --header: 60px; }
  .grid-products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 10px; }
  .logo b { font-size: 19px; }
  .logo small { display: none; }
  .hero { min-height: 78vh; }
  .hero .btn { width: 100%; }
  .trust { grid-template-columns: 1fr; gap: 18px; }
  .steps, .axes, .timeline { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .announce { font-size: 12px; }
  .section-head { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* =====================================================================
   v5 · plus soigné : serif éditoriale, ivoire, touches de rouge laque et d'or ancien,
   détails asiatiques discrets (sceau, frise en grecque, ornements, caractères en surtitre)
   ===================================================================== */
h1, h2, .page-title, .buy h1, .hero h1, .banner h2, .about-hero h1, .section-head h2, .film h2, .cart-head h2, .modal-card h2, .footer-logo {
  font-family: var(--serif); font-weight: 600; letter-spacing: -.01em; text-transform: none;
}
.hero h1 { font-size: clamp(48px, 7.4vw, 112px); line-height: .95; max-width: 11ch; font-weight: 500; }
.banner h2 { font-size: clamp(38px, 5.4vw, 80px); line-height: .98; font-weight: 500; }
.about-hero h1 { font-size: clamp(36px, 5vw, 72px); font-weight: 500; line-height: 1; }
.section-head h2, .film h2 { font-size: clamp(30px, 3.2vw, 44px); }
.page-title { font-size: clamp(36px, 4vw, 56px); }
.buy h1 { font-size: clamp(36px, 3.8vw, 54px); }
.about h2 { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); }
.card-info h3 { font-family: var(--f); font-size: 14.5px; font-weight: 500; letter-spacing: .02em; }
.price { color: var(--noir); font-weight: 500; }
.buy-price { font-family: var(--serif); font-size: 30px; font-weight: 600; }
.cjk { font-family: var(--cjk); font-weight: 600; }

/* Surtitre : caractère chinois en or + libellé en petites capitales */
.kicker { display: inline-flex; align-items: center; gap: 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--texte-2); margin-bottom: 10px; }
.kicker .cjk { font-size: 15px; letter-spacing: .15em; color: var(--or); padding-right: 10px; border-right: 1px solid var(--or-2); }
.kicker.light { color: rgba(255, 255, 255, .9); }
.kicker.light .cjk { color: var(--or-2); }

/* Sceau (印章) rouge laque */
.seal { display: inline-grid; place-items: center; width: 34px; height: 34px; background: var(--rouge); color: #fff6ec; border-radius: 3px; font-family: var(--cjk); font-weight: 900; font-size: 13px; line-height: 1; padding: 3px; box-shadow: inset 0 0 0 2px var(--rouge), inset 0 0 0 3px rgba(255, 246, 236, .55); flex: none; vertical-align: middle; }
.seal i { font-style: normal; display: block; }
.seal-sm { width: 30px; height: 36px; font-size: 12px; }
.seal-xs { width: 22px; height: 26px; font-size: 9px; padding: 2px; border-radius: 2px; }
.logo { gap: 11px; }
.logo b { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: .02em; text-transform: uppercase; }
.logo small { letter-spacing: .32em; color: var(--or); }

/* Bandeau d'annonce : noir, frise en grecque dorée */
.announce { background: var(--noir); color: #f3ead9; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; position: relative; padding-bottom: 16px; }
.announce::after, .fret {
  content: ""; display: block; height: 8px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='8' viewBox='0 0 16 8'><path d='M0 7.5h3.5V1.5h7v4h-3v-2' fill='none' stroke='%23a8874d' stroke-width='1'/><path d='M10.5 7.5H16' stroke='%23a8874d' stroke-width='1'/></svg>");
  background-repeat: repeat-x; opacity: .9;
}
.announce::after { position: absolute; left: 0; right: 0; bottom: 4px; }
.header { background: var(--ivoire); border-bottom-color: var(--filet); }
.nav a { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; }
.nav a:hover, .nav a[aria-current] { text-decoration-color: var(--rouge); text-decoration-thickness: 1px; }
.bubble { background: var(--rouge); }
.account-link .dot { position: absolute; right: 9px; bottom: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--or); box-shadow: 0 0 0 2px var(--ivoire); }

/* Boutons plus nets */
.btn { font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase; font-weight: 600; min-height: 50px; }
.btn-dark { background: var(--noir); border-color: var(--noir); }
.btn-dark:hover { background: var(--rouge); border-color: var(--rouge); box-shadow: none; }
.btn-outline { background: transparent; }
.btn-outline:hover { box-shadow: none; background: var(--noir); color: var(--blanc); }
.btn-light:hover { box-shadow: none; background: transparent; color: #fff; }
.link { text-decoration-color: var(--rouge); letter-spacing: .12em; text-transform: uppercase; font-size: 12px; }
.badge { background: var(--rouge); color: #fff6ec; border-radius: 2px; letter-spacing: .12em; }

/* Héros : caractères verticaux */
.hero::after { background: linear-gradient(180deg, rgba(23, 20, 15, .05) 30%, rgba(23, 20, 15, .62)); }
.hero-cjk { position: absolute; z-index: 1; right: var(--g); top: 50%; transform: translateY(-50%); writing-mode: vertical-rl; font-family: var(--cjk); font-weight: 600; font-size: clamp(22px, 2.4vw, 34px); letter-spacing: .5em; color: rgba(255, 246, 236, .92); border-left: 1px solid rgba(201, 169, 106, .7); padding-left: 14px; margin: 0; }

/* Cartes produit */
.card-media { background: var(--gris); }
.tag { border-radius: 2px; background: var(--rouge); color: #fff6ec; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; left: 10px; top: 10px; bottom: auto; }
.tag-dark { background: var(--noir); }
.low { color: var(--rouge); }

/* Ornement entre sections */
.orn { display: flex; align-items: center; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.orn span { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, var(--or-2), transparent); }
.orn svg { width: 46px; height: 18px; fill: none; stroke: var(--or); stroke-width: 1.2; }
.orn svg circle { fill: var(--rouge); stroke: none; }
.trust { border-color: transparent; padding-top: 32px; }
.trust svg { stroke: var(--or); }

/* Lookbook */
.lb-grid { gap: 10px; }
.lb-grid figcaption { background: var(--ivoire); letter-spacing: .06em; }

/* Fiche produit */
.meter-bar i { background: linear-gradient(90deg, var(--rouge), var(--rouge-2)); }
.size span { border-radius: 2px; letter-spacing: .06em; }
.qty { border-color: var(--gris-2); background: var(--blanc); }
.note { background: var(--gris); border-left: 2px solid var(--or); }
.accordions summary { letter-spacing: .12em; text-transform: uppercase; font-size: 12.5px; }
.accordions summary::after { color: var(--or); }

/* Panier */
.cart { background: var(--ivoire); }
.opt:has(input:checked) { border-color: var(--noir); background: var(--blanc); }
.cart-user { font-size: 13px; color: var(--texte-2); padding: 10px 12px; background: var(--blanc); border: 1px solid var(--filet); margin-top: 14px; }
.cart-user b { color: var(--noir); }

/* Collectif et merci */
.timeline li { border-top-color: var(--or); }
.timeline b { font-family: var(--serif); font-size: 34px; font-weight: 600; color: var(--rouge); }
.steps li { border-top-color: var(--or); }
.thanks-line { display: flex; align-items: center; gap: 12px; color: var(--texte-2); flex-wrap: wrap; }

/* Pied de page sombre */
.footer { background: var(--noir); color: #e9e1d2; border-top: 0; padding-top: 0; margin-top: 56px; }
.footer .fret { margin-bottom: 52px; height: 10px; background-size: 20px 10px; }
.footer h3 { color: var(--or-2); letter-spacing: .16em; text-transform: uppercase; font-size: 12px; font-family: var(--f); }
.footer nav a, .footer-grid p a { color: #cfc6b6; }
.footer nav a:hover, .footer-grid p a:hover { color: #fff; }
.footer .muted { color: #a59c8c; }
.footer-logo { display: flex; align-items: center; gap: 12px; color: #fff6ec; font-size: 32px; text-transform: uppercase; }
.footer-logo .cjk { font-size: 15px; letter-spacing: .3em; color: var(--or-2); margin-left: 4px; }
.footer-base { border-top-color: rgba(201, 169, 106, .25); color: #a59c8c; }
.drawer-menu { background: var(--ivoire); }
.drawer-menu a { font-family: var(--serif); font-size: 28px; font-weight: 500; }
.drawer-menu .cjk-line { font-family: var(--cjk); color: var(--or); letter-spacing: .5em; margin-top: 28px; }

/* Compte client */
.account { max-width: 1040px; }
.acc-auth { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--filet); background: var(--blanc); }
.acc-auth > div { padding: clamp(24px, 4vw, 48px); display: flex; flex-direction: column; gap: 14px; }
.acc-auth > div + div { border-left: 1px solid var(--filet); background: var(--ivoire); }
.acc-auth h2 { font-size: 32px; }
.fld { display: flex; flex-direction: column; gap: 6px; }
.fld label { font-size: 11.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--texte-2); }
.fld input { min-height: 48px; padding: 10px 14px; border: 1px solid var(--gris-2); background: var(--blanc); font-size: 16px; border-radius: 0; }
.fld input:focus { outline: none; border-color: var(--noir); }
.fld-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.acc-err { color: var(--rouge); font-size: 14px; min-height: 1.2em; }
.acc-note { font-size: 13px; color: var(--texte-2); }
.acc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid var(--filet); }
.acc-head h1 { font-size: clamp(36px, 4vw, 52px); }
.acc-tabs { display: flex; gap: 24px; margin-bottom: 24px; border-bottom: 1px solid var(--filet); flex-wrap: wrap; }
.acc-tabs button { background: none; border: 0; padding: 12px 0; cursor: pointer; font-size: 12.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--texte-2); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.acc-tabs button[aria-pressed="true"] { color: var(--noir); border-bottom-color: var(--rouge); }
.acc-orders { display: flex; flex-direction: column; gap: 14px; }
.acc-order { background: var(--blanc); border: 1px solid var(--filet); padding: 18px 20px; display: grid; grid-template-columns: 1fr auto; gap: 10px 20px; }
.acc-order h3 { font-family: var(--serif); font-size: 22px; font-weight: 600; }
.acc-order .items { grid-column: 1 / -1; display: flex; gap: 10px; flex-wrap: wrap; }
.acc-order .items span { display: flex; gap: 8px; align-items: center; font-size: 13px; background: var(--ivoire); padding: 4px 10px 4px 4px; }
.acc-order .items img { width: 34px; height: 40px; object-fit: cover; }
.st { display: inline-block; font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 4px 9px; border: 1px solid currentColor; }
.st-a_preparer, .st-preparee { color: var(--or); }
.st-expediee, .st-retiree { color: #2f6b3a; }
.st-annulee { color: var(--rouge); }
.acc-panel { background: var(--blanc); border: 1px solid var(--filet); padding: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; gap: 16px; max-width: 640px; }
.acc-empty { background: var(--blanc); border: 1px solid var(--filet); padding: 40px; text-align: center; display: flex; flex-direction: column; gap: 16px; align-items: center; }
.check-inline { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check-inline input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--noir); }

@media (max-width: 860px) {
  .acc-auth { grid-template-columns: 1fr; }
  .acc-auth > div + div { border-left: 0; border-top: 1px solid var(--filet); }
  .hero-cjk { display: none; }
}
@media (max-width: 600px) {
  .fld-row { grid-template-columns: 1fr; }
  .acc-order { grid-template-columns: 1fr; }
  .logo b { font-size: 21px; }
  .announce { letter-spacing: .06em; font-size: 11px; }
}

/* ===== v6 : langues, aperçu, cadrage, livraison offerte, stock ===== */
img[data-f] { object-position: var(--fx) var(--fy); transform: scale(var(--fz)); transform-origin: var(--fx) var(--fy); }
.card:hover .card-media img[data-f] { transform: scale(calc(var(--fz) * 1.03)); }
.g-item, .gallery-thumbs button { overflow: hidden; }
.lang { display: flex; align-items: center; margin-right: 6px; border: 1px solid var(--filet); border-radius: 2px; }
.lang button { font: 600 11px/1 var(--sans, sans-serif); letter-spacing: .08em; padding: 7px 8px; background: none; border: 0; color: var(--texte-2, #6f685d); cursor: pointer; }
.lang button[lang="zh-Hans"] { font-family: var(--cjk, serif); letter-spacing: 0; }
.lang button[aria-pressed="true"] { background: var(--noir); color: var(--ivoire); }
.lang button:focus-visible { outline: 2px solid var(--rouge); outline-offset: 1px; }
.lang-mobile { display: none; margin-top: 24px; width: max-content; }
.lang-mobile button { font-size: 14px; padding: 10px 14px; }
@media (max-width: 860px) { .header-icons .lang { display: none; } .lang-mobile { display: flex; } }
.preview-bar { position: sticky; top: 0; z-index: 60; background: var(--rouge); color: #fff; text-align: center; font: 600 12px/1 var(--sans, sans-serif); letter-spacing: .1em; text-transform: uppercase; padding: 9px 16px; }
.tag-draft { left: auto; right: 10px; background: var(--rouge); color: #fff; }
.legal-note { border-left: 3px solid var(--or); background: rgba(168, 135, 77, .08); padding: 12px 16px; margin-bottom: 24px; font-size: 14px; }
.free-meter { margin: 16px 0 4px; padding: 12px 14px; border: 1px solid var(--filet); }
.free-meter p { font-size: 13px; margin-bottom: 8px; }
.free-meter.done p { color: var(--rouge); font-weight: 600; }
.size-left { min-height: 20px; margin-top: 10px; font-size: 13px; font-weight: 600; color: var(--rouge); }
.size.few span::after { content: ""; position: absolute; top: 5px; right: 5px; width: 5px; height: 5px; border-radius: 50%; background: var(--rouge); }
.size span { position: relative; }

/* Logo 精神。 */
.logo .logo-mark { height: 46px; width: auto; filter: invert(1); display: block; }
@media (max-width: 860px) { .logo .logo-mark { height: 38px; } }

/* =====================================================================
   v7 · Apparence réglable depuis le back-office
   ===================================================================== */
[hidden] { display: none !important; }
.announce { background: var(--ann-bg, var(--noir)); color: var(--ann-ink, #f3ead9); }
.header { background: var(--header-bg, var(--ivoire)); }
.hdr-static .header { position: relative; }
.footer { background: var(--footer-bg, var(--noir)); }
.btn { border-radius: var(--btn-r, 0); }
.logo .logo-mark { height: var(--logo-h, 46px); width: auto; max-width: 220px; object-fit: contain; filter: none; display: block; }
.logo.logo-invert .logo-mark { filter: invert(1); }
.logo .logo-txt { display: block; }
@media (max-width: 860px) { .logo .logo-mark { height: var(--logo-hm, 38px); max-width: 150px; } }
.hdr-left .header-in { grid-template-columns: auto 1fr auto; }
.hdr-left .header-in .logo { order: -1; justify-self: start; }
.hdr-left .header-in .nav { justify-content: center; }
@media (max-width: 860px) { .hdr-left .header-in { grid-template-columns: 44px 1fr auto; } .hdr-left .header-in .logo { order: 0; } }
.hero { min-height: var(--hero-h, min(86vh, 860px)); }
.hero::after { background: linear-gradient(180deg, rgba(23, 20, 15, calc(var(--hero-shade, .62) * .1)) 30%, rgba(23, 20, 15, var(--hero-shade, .62))); }
.hero.hero-center .hero-text { align-items: center; text-align: center; margin-left: auto; margin-right: auto; }
.hero.hero-center h1, .hero.hero-center .hero-sub { margin-left: auto; margin-right: auto; }
.footer-logo .footer-mark { height: 44px; width: auto; }
