/* =========================================================
   SILLAGE — Feuille de style
   Direction : maison de café éditoriale. La photographie porte
   le site ; typographie Garamond pour les titres, Jost pour le
   texte et l’interface ; papier chaud, encre presque noire,
   un seul accent brun torréfié.
   ========================================================= */
:root {
  --bg: #FFFFFF;
  --paper: #FFFFFF;
  --surface: #F6F5F2;
  --ink: #151515;
  --muted: #6B6966;
  --line: rgba(21, 21, 21, .1);
  --accent: #151515;
  --accent-ink: #FFFFFF;
  --gold: #A8843F;
  --sage: #4D6A4F;
  --overlay: rgba(10, 10, 10, .38);
  --img-bg: #F1EFEB;

  --f-display: "Cormorant Garamond", "Cormorant", Garamond, "Times New Roman", serif;
  --f-body: "Jost", "Futura", "Avenir Next", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-mono: var(--f-body);

  --s-xs: .75rem; --s-sm: .875rem; --s-md: 1rem; --s-lg: 1.2rem;
  --max: 1400px;
  --gutter-l: max(24px, env(safe-area-inset-left, 0px));
  --gutter-r: max(24px, env(safe-area-inset-right, 0px));
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.locked { overflow: hidden; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 16px; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
img, svg { max-width: 100%; display: block; }
img { color: transparent; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 1.5px solid var(--ink); outline-offset: 3px; }
main:focus { outline: none; }
[hidden] { display: none !important; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--bg); padding: 8px 14px; z-index: 100; border: 0; }
.skip:focus { top: 12px; }

h1, h2, h3, h4 { margin: 0; font-weight: 400; text-wrap: balance; }
h1, h2, .display { font-family: var(--f-display); font-weight: 500; letter-spacing: -.005em; line-height: 1.02; }
h1 { font-size: clamp(2.8rem, 6vw, 5.4rem); }
h2 { font-size: clamp(2.1rem, 3.8vw, 3.3rem); }
h3 { font-size: var(--s-lg); font-weight: 500; line-height: 1.3; }
p { margin: 0; }
.it { font-style: italic; }
.eyebrow { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.12rem); color: var(--muted); max-width: 56ch; font-weight: 300; }
.mono, .price { font-variant-numeric: tabular-nums lining-nums; }

.wrap { max-width: var(--max); margin-inline: auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
.section { padding-block: clamp(4rem, 9vw, 8rem); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem 3rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head > div { display: grid; gap: .9rem; min-width: 0; max-width: 680px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .7rem;
  min-height: 50px; padding: 0 1.8rem; border-radius: 0; border: 1px solid var(--ink);
  background: var(--ink); color: var(--bg); font-weight: 500; font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; transition: background .25s, color .25s, border-color .25s; white-space: nowrap;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn--accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: transparent; color: var(--accent); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); }
.btn--light { background: #FBF9F6; color: #1C1A17; border-color: #FBF9F6; }
.btn--light:hover { background: transparent; color: #FBF9F6; }
.btn--outline-light { background: transparent; color: #FBF9F6; border-color: rgba(251,249,246,.7); }
.btn--outline-light:hover { background: #FBF9F6; color: #1C1A17; }
.btn--block { width: 100%; }
.btn--sm { min-height: 40px; padding: 0 1.1rem; font-size: 11px; }
.btn svg { width: 16px; height: 16px; }
.link { background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: 5px; color: inherit; font-size: var(--s-sm); letter-spacing: .02em; }
.link:hover { color: var(--accent); }
.icon-btn { width: 44px; height: 44px; display: inline-grid; place-items: center; background: transparent; border: 0; color: var(--ink); position: relative; }
.icon-btn svg { width: 21px; height: 21px; }
.icon-btn:hover { color: var(--accent); }
.badge-count {
  position: absolute; top: 5px; right: 3px; min-width: 17px; height: 17px; padding: 0 4px; border-radius: 999px;
  background: var(--ink); color: var(--bg); font-size: 10px; font-weight: 500; display: grid; place-items: center;
}
.badge-count.bump { animation: bump .4s ease; }
@keyframes bump { 50% { transform: scale(1.3); } }

/* ---------- Bandeau & en-tête ---------- */
.announce { background: var(--ink); color: var(--bg); font-size: 12px; letter-spacing: .06em; }
.announce .wrap { display: flex; justify-content: center; gap: 3rem; min-height: 36px; align-items: center; text-align: center; padding-block: 6px; }
.announce span + span { display: none; }
@media (min-width: 1100px) { .announce span + span { display: inline; } }

.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40; background: var(--bg); border-bottom: 1px solid var(--line); }
.header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; min-height: var(--header-h); gap: 1rem; }
.logo { font-family: var(--f-display); font-size: 1.85rem; font-weight: 500; letter-spacing: .26em; text-decoration: none; justify-self: center; line-height: 1; display: grid; justify-items: center; gap: 4px; padding-left: .26em; }
.logo small { font-family: var(--f-body); font-size: 8.5px; letter-spacing: .42em; color: var(--muted); font-weight: 400; }
.nav { display: none; }
@media (max-width: 1099px) { .header .wrap { grid-template-columns: auto minmax(0, 1fr) auto; gap: .4rem; } }
@media (max-width: 480px) { .logo { font-size: 1.45rem; letter-spacing: .2em; padding-left: .2em; } .logo small { letter-spacing: .3em; } .icon-btn { width: 40px; } }
.header-tools { display: flex; justify-content: flex-end; gap: 0; }
.menu-btn { justify-self: start; }
@media (min-width: 1100px) {
  .menu-btn { display: none; }
  .nav { display: flex; gap: .2rem; grid-column: 1; grid-row: 1; }
  .logo { grid-column: 2; grid-row: 1; }
  .header-tools { grid-column: 3; grid-row: 1; }
}
.nav-item { position: static; }
.nav-link {
  display: inline-flex; align-items: center; gap: .35rem; height: var(--header-h); padding: 0 .8rem;
  text-decoration: none; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; background: none; border: 0; position: relative;
}
.nav-link::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: 22px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link svg { width: 9px; height: 9px; }
.mega {
  position: absolute; left: 0; right: 0; top: 100%; background: var(--bg); border-bottom: 1px solid var(--line);
  opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s;
}
.nav-item:hover .mega, .nav-item:focus-within .mega { opacity: 1; visibility: visible; }
.header.nav-quiet .mega { opacity: 0 !important; visibility: hidden !important; }
.mega .wrap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) 1.3fr; gap: 2.5rem; padding-block: 2.4rem 2.8rem; min-height: 0; align-items: start; }
.mega h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .2em; color: var(--muted); margin-bottom: 1rem; font-weight: 500; }
.mega ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.mega a { text-decoration: none; font-size: 15px; }
.mega a:hover { text-decoration: underline; }
.mega-feature { position: relative; display: block; text-decoration: none; color: #FBF9F6; overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; }
.mega-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mega-feature:hover img { transform: scale(1.04); }
.mega-feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(18,15,12,.7), rgba(18,15,12,0) 60%); }
.mega-feature span { position: absolute; left: 1.2rem; right: 1.2rem; bottom: 1.1rem; z-index: 1; font-family: var(--f-display); font-size: 1.55rem; line-height: 1.1; }
.mega-feature small { display: block; font-family: var(--f-body); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; margin-top: .5rem; }

/* ---------- Tiroirs ---------- */
.scrim { position: fixed; inset: 0; background: var(--overlay); z-index: 70; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s; }
.scrim.open { opacity: 1; visibility: visible; }
.drawer {
  position: fixed; top: 0; bottom: 0; z-index: 80; width: min(460px, 100%); background: var(--bg);
  display: flex; flex-direction: column; transition: transform .45s var(--ease), visibility .45s; visibility: hidden;
  padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px);
}
.drawer--right { right: 0; transform: translateX(100%); padding-right: env(safe-area-inset-right, 0px); }
.drawer--left { left: 0; transform: translateX(-100%); padding-left: env(safe-area-inset-left, 0px); }
.drawer.open { transform: none; visibility: visible; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--line); gap: 1rem; }
.drawer-head h2 { font-size: 1.9rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 1.5rem; overscroll-behavior: contain; }
.drawer-foot { border-top: 1px solid var(--line); padding: 1.2rem 1.5rem 1.4rem; display: grid; gap: .9rem; background: var(--bg); }

.mobile-nav { display: grid; }
.mobile-nav details { border-bottom: 1px solid var(--line); }
.mobile-nav summary { list-style: none; display: flex; justify-content: space-between; align-items: center; padding: 1.05rem 0; font-family: var(--f-display); font-size: 1.7rem; cursor: pointer; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary::after { content: "+"; font-family: var(--f-body); font-weight: 300; font-size: 1.4rem; }
.mobile-nav details[open] summary::after { content: "–"; }
.mobile-nav ul { list-style: none; padding: 0 0 1.1rem; margin: 0; display: grid; gap: .6rem; }
.mobile-nav ul a { text-decoration: none; color: var(--muted); }
.mobile-nav > a { padding: 1.05rem 0; font-family: var(--f-display); font-size: 1.7rem; text-decoration: none; border-bottom: 1px solid var(--line); }

/* ---------- Recherche ---------- */
.search-panel { position: fixed; left: 0; right: 0; top: 0; z-index: 80; background: var(--bg); transform: translateY(-100%); visibility: hidden; transition: transform .45s var(--ease), visibility .45s; max-height: 88vh; overflow-y: auto; padding-top: env(safe-area-inset-top, 0px); }
.search-panel.open { transform: none; visibility: visible; }
.search-panel .wrap { padding-block: 1.8rem 2.4rem; display: grid; gap: 1.4rem; }
.search-field { display: flex; align-items: center; gap: .8rem; border-bottom: 1px solid var(--ink); }
.search-field input { flex: 1; min-width: 0; border: 0; background: transparent; font-family: var(--f-display); font-size: clamp(1.7rem, 4vw, 2.8rem); padding: .5rem 0; outline: none; }
.search-field input::placeholder { color: var(--muted); opacity: .55; }
.search-results { display: grid; gap: .2rem; }
.search-hit { display: grid; grid-template-columns: 60px 1fr auto; gap: 1.1rem; align-items: center; padding: .55rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.search-hit:hover strong { text-decoration: underline; }
.search-hit .thumb { width: 60px; height: 75px; overflow: hidden; background: var(--img-bg); }
.thumb img, .thumb svg { width: 100%; height: 100%; object-fit: cover; }
.search-hit strong { font-weight: 500; }
.search-hit small { color: var(--muted); display: block; font-size: var(--s-xs); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 36px; padding: 0 1rem; border-radius: 0;
  border: 1px solid var(--line); background: transparent; font-size: 13px; text-decoration: none; transition: border-color .2s, background .2s;
}
.chip:hover { border-color: var(--ink); }
.chip.active, .chip[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip .n { font-size: 11px; opacity: .6; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(84vh, 780px); display: grid; align-items: end; overflow: hidden; color: #FBF9F6; background: #2B2420; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,11,9,.78) 0%, rgba(14,11,9,.35) 45%, rgba(14,11,9,.1) 100%); }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-block: 6rem clamp(3rem, 7vw, 5.5rem); display: grid; gap: 1.6rem; }
.hero h1 { max-width: 13ch; font-weight: 400; }
.hero h1 em { font-style: italic; }
.hero .lead { color: rgba(251,249,246,.86); }
.hero-kicker { font-size: 12px; letter-spacing: .26em; text-transform: uppercase; }
.hero-ctas { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-note { position: absolute; z-index: 1; right: var(--gutter-r); bottom: clamp(3rem, 7vw, 5.5rem); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; text-align: right; display: none; }
.hero-note strong { display: block; font-family: var(--f-display); font-size: 1.6rem; letter-spacing: 0; text-transform: none; font-weight: 400; }
@media (min-width: 900px) { .hero-note { display: block; } }

.perks { border-bottom: 1px solid var(--line); }
.perks .wrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 0; }
@media (min-width: 900px) { .perks .wrap { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.perk { display: flex; gap: .9rem; align-items: center; padding: 1.4rem .4rem; font-size: var(--s-sm); min-width: 0; }
.perk svg { width: 22px; height: 22px; flex: none; color: var(--accent); stroke-width: 1.3; }
.perk strong { display: block; font-weight: 500; }
.perk span { color: var(--muted); font-size: var(--s-xs); }

/* ---------- Tuiles catégories ---------- */
.cat-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.4rem; }
@media (min-width: 560px) { .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .cat-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cat-tile { position: relative; display: block; text-decoration: none; overflow: hidden; aspect-ratio: 4 / 4.6; max-width: 100%; background: var(--img-bg); color: #FBF9F6; }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.cat-tile:hover img { transform: scale(1.04); }
.cat-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,11,9,.72), rgba(14,11,9,0) 55%); }
.cat-tile .txt { position: absolute; left: 1.5rem; right: 1.5rem; bottom: 1.4rem; z-index: 1; display: grid; gap: .25rem; }
.cat-tile h3 { font-family: var(--f-display); font-size: clamp(1.7rem, 2.4vw, 2.1rem); font-weight: 500; line-height: 1.05; }
.cat-tile p { font-size: 13px; opacity: .85; }

/* ---------- Cartes produit ---------- */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.6rem 1rem; }
@media (min-width: 760px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem 1.4rem; } }
@media (min-width: 1180px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.catalog .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 760px) { .catalog .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.card { display: grid; grid-template-rows: auto 1fr; gap: 1rem; min-width: 0; position: relative; }
.card-media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; max-width: 100%; background: var(--img-bg); }
.card-media .img { position: absolute; inset: 0; transition: opacity .6s ease, transform 1.2s var(--ease); }
.card-media .img img, .card-media .img svg { width: 100%; height: 100%; object-fit: cover; }
.card-media .img.b { opacity: 0; }
@media (hover: hover) {
  .card:hover .card-media .img.a { transform: scale(1.03); }
  .card.has-alt:hover .card-media .img.a { opacity: 0; }
  .card.has-alt:hover .card-media .img.b { opacity: 1; }
}
.tag {
  position: absolute; top: .8rem; left: .8rem; z-index: 2; background: var(--bg); color: var(--ink);
  font-size: 10px; letter-spacing: .16em; text-transform: uppercase; padding: .35rem .6rem;
}
.card-body { display: grid; gap: .3rem; align-content: start; }
.card-eyebrow { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.card h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.4rem; line-height: 1.12; }
.card h3 a { text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0 0 52px 0; }
.card-notes { font-size: 13px; color: var(--muted); font-weight: 300; }
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-top: .35rem; position: relative; z-index: 2; }
.price { font-size: var(--s-sm); letter-spacing: .02em; }
.price s { color: var(--muted); margin-left: .4rem; }
.quick-add {
  padding: 0 0 2px; border: 0; border-bottom: 1px solid currentColor; background: none; font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: .35rem;
}
.quick-add:hover { color: var(--accent); }
.quick-add svg { width: 12px; height: 12px; }
.meter { display: flex; gap: 4px; align-items: center; }
.meter i { width: 100%; height: 3px; background: var(--line); display: block; flex: 1; }
.meter i.on { background: var(--ink); }
.tile-1, .tile-2, .tile-3, .tile-4, .tile-5, .tile-6 { background: var(--img-bg); }

/* ---------- Catalogue ---------- */
.page-head { padding-block: clamp(2.4rem, 5vw, 4rem) 1.6rem; display: grid; gap: 1.1rem; }
.page-head h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: .5rem; font-size: 12px; color: var(--muted); letter-spacing: .04em; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }
.catalog { display: grid; gap: 2rem; padding-bottom: 6rem; }
@media (min-width: 1000px) { .catalog { grid-template-columns: 230px minmax(0, 1fr); gap: 3.5rem; } }
.filters { display: grid; gap: 1.5rem; align-content: start; }
@media (min-width: 1000px) { .filters { position: sticky; top: calc(var(--header-h) + 24px + env(safe-area-inset-top, 0px)); max-height: calc(100vh - var(--header-h) - 48px); overflow-y: auto; padding-right: .5rem; } }
.filters-drawer-only { display: none; }
@media (max-width: 999px) {
  .filters { position: fixed; inset: 0 auto 0 0; width: min(380px, 92vw); background: var(--bg); z-index: 80; padding: calc(1.25rem + env(safe-area-inset-top, 0px)) 1.4rem calc(1.25rem + env(safe-area-inset-bottom, 0px)) max(1.4rem, env(safe-area-inset-left, 0px)); overflow-y: auto; transform: translateX(-105%); visibility: hidden; transition: transform .45s var(--ease), visibility .45s; }
  .filters.open { transform: none; visibility: visible; }
  .filters-drawer-only { display: flex; }
}
.fgroup { display: grid; gap: .5rem; border-top: 1px solid var(--line); padding-top: 1.2rem; }
.fgroup h3 { font-size: 11px; text-transform: uppercase; letter-spacing: .2em; color: var(--ink); font-weight: 500; margin-bottom: .2rem; }
.check { display: flex; align-items: center; gap: .65rem; font-size: 14px; cursor: pointer; min-height: 30px; font-weight: 300; }
.check input { width: 16px; height: 16px; accent-color: var(--ink); margin: 0; flex: none; }
.check .n { margin-left: auto; font-size: 12px; color: var(--muted); }
.check.disabled { opacity: .38; }
.range-row { display: grid; gap: .4rem; }
.range-row input[type=range] { width: 100%; accent-color: var(--ink); }
.toolbar { display: flex; gap: .8rem; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 1.8rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.toolbar .count { font-size: 13px; color: var(--muted); }
.select { min-height: 40px; padding: 0 2rem 0 .9rem; border-radius: 0; border: 1px solid var(--line); background: transparent; appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 16px) 52%, calc(100% - 11px) 52%; background-size: 5px 5px; background-repeat: no-repeat; font-size: 13px; }
.subnav { display: flex; gap: .2rem 1.8rem; flex-wrap: wrap; margin-bottom: 2.4rem; border-bottom: 1px solid var(--line); }
.subnav .chip { border: 0; padding: .9rem 0; min-height: 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); border-bottom: 1px solid transparent; margin-bottom: -1px; background: none; }
.subnav .chip:hover { color: var(--ink); }
.subnav .chip.active { color: var(--ink); background: none; border-bottom-color: var(--ink); }
.empty { padding: 3.5rem 1rem; text-align: center; display: grid; gap: 1.1rem; justify-items: center; border: 1px solid var(--line); }
.only-mobile { display: inline-flex; }
@media (min-width: 1000px) { .only-mobile { display: none; } }

/* ---------- Fiche produit ---------- */
.pdp { display: grid; gap: 2.5rem; padding-bottom: 4rem; }
@media (min-width: 980px) { .pdp { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 4.5rem; align-items: start; } }
.gallery { display: grid; gap: .8rem; min-width: 0; }
@media (min-width: 980px) { .gallery { position: sticky; top: calc(var(--header-h) + 24px + env(safe-area-inset-top, 0px)); } }
.gallery-main { aspect-ratio: 4 / 4.8; overflow: hidden; position: relative; max-width: 100%; background: var(--img-bg); color: var(--ink); }
.gallery-main > div { position: absolute; inset: 0; display: grid; place-items: center; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-main svg { width: 92%; height: 92%; }
.thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
.thumb-btn { aspect-ratio: 4 / 5; overflow: hidden; border: 0; padding: 0; color: var(--ink); max-width: 100%; background: var(--img-bg); opacity: .55; transition: opacity .25s; position: relative; }
.thumb-btn:hover { opacity: 1; }
.thumb-btn img { width: 100%; height: 100%; object-fit: cover; }
.thumb-btn svg { width: 100%; height: 100%; }
.thumb-btn[aria-current="true"] { opacity: 1; box-shadow: inset 0 -2px 0 var(--ink); }
.pinfo { display: grid; gap: 1.5rem; min-width: 0; }
.pinfo h1 { font-size: clamp(2.4rem, 4vw, 3.6rem); }
.notes-line { font-family: var(--f-display); font-style: italic; font-size: 1.35rem; color: var(--muted); }
.profile { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.4rem; padding: 1.2rem 0; border-block: 1px solid var(--line); }
.profile > div { display: grid; gap: .5rem; }
.profile span { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.opt { display: grid; gap: .6rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.opt legend { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--ink); padding: 0; margin-bottom: .7rem; font-weight: 500; }
.pills { display: flex; flex-wrap: wrap; gap: .45rem; }
.pill input { position: absolute; opacity: 0; pointer-events: none; }
.pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; border: 1px solid var(--line); font-size: 14px; cursor: pointer; transition: border-color .2s, background .2s; }
.pill span:hover { border-color: var(--ink); }
.pill span small { margin-left: .5rem; color: var(--muted); font-size: 12px; }
.pill input:checked + span { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pill input:focus-visible + span { outline: 1.5px solid var(--ink); outline-offset: 2px; }
.buy-modes { display: grid; gap: .5rem; }
.mode { display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: center; padding: 1rem 1.1rem; border: 1px solid var(--line); cursor: pointer; }
.mode input { accent-color: var(--ink); width: 17px; height: 17px; margin: 0; }
.mode:has(input:checked) { border-color: var(--ink); }
.mode strong { display: block; font-size: 14px; font-weight: 500; }
.mode small { color: var(--muted); font-size: 12px; }
.mode .save { font-size: 11px; letter-spacing: .12em; color: var(--sage); text-transform: uppercase; }
.freq { margin-top: .2rem; }
.buy-row { display: grid; grid-template-columns: auto 1fr; gap: .7rem; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); height: 50px; }
.qty button { width: 42px; height: 100%; border: 0; background: none; font-size: 1.1rem; }
.qty input { width: 32px; text-align: center; border: 0; background: transparent; -moz-appearance: textfield; font-variant-numeric: tabular-nums; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty--sm { height: 34px; }
.qty--sm button { width: 30px; }
.qty--sm input { width: 26px; font-size: var(--s-sm); }
.reassure { display: grid; gap: .6rem; font-size: 13px; color: var(--muted); }
.reassure div { display: flex; gap: .7rem; align-items: center; }
.reassure svg { width: 18px; height: 18px; color: var(--ink); flex: none; stroke-width: 1.3; }
.acc { border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 1.15rem 0; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; font-weight: 500; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; font-weight: 300; font-size: 1.3rem; letter-spacing: 0; }
.acc details[open] summary::after { content: "–"; }
.acc .content { padding-bottom: 1.4rem; color: var(--muted); display: grid; gap: .8rem; font-weight: 300; }
.faq summary { font-family: var(--f-display); font-size: 1.45rem; letter-spacing: 0; text-transform: none; font-weight: 500; }
.spec { width: 100%; border-collapse: collapse; font-size: 14px; }
.spec th, .spec td { text-align: left; padding: .6rem 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec th { font-weight: 400; color: var(--muted); width: 38%; padding-right: 1rem; }
.spec td { color: var(--ink); }
.recipes { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); gap: .8rem; }
.recipe { border: 1px solid var(--line); padding: 1.1rem; display: grid; gap: .5rem; color: var(--ink); }
.recipe h4 { font-family: var(--f-display); font-size: 1.35rem; font-weight: 500; }
.recipe dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .3rem .8rem; font-size: 13px; }
.recipe dt { color: var(--muted); }
.recipe dd { margin: 0; }
.contents { margin: 0; padding-left: 1.1rem; color: var(--ink); display: grid; gap: .3rem; }

.fbt { border-top: 1px solid var(--line); padding-top: 3rem; display: grid; gap: 1.8rem; }
.fbt-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 1rem; }
.fbt-item { display: grid; grid-template-columns: 80px 1fr; gap: 1rem; align-items: center; padding: .7rem; border: 1px solid var(--line); cursor: pointer; min-width: 0; }
.fbt-item .thumb { width: 80px; height: 100px; overflow: hidden; background: var(--img-bg); }
.fbt-item input { accent-color: var(--ink); width: 16px; height: 16px; margin: 0 0 .4rem; }
.fbt-item strong { display: block; font-size: 14px; font-weight: 500; line-height: 1.3; }
.fbt-foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.fbt-foot .total { font-family: var(--f-display); font-size: 1.8rem; }

/* ---------- Panier ---------- */
.ship-bar { display: grid; gap: .6rem; font-size: 13px; }
.ship-bar p svg { display: inline; width: 15px; height: 15px; vertical-align: -3px; color: var(--sage); }
.ship-bar .track { height: 2px; background: var(--line); overflow: hidden; }
.ship-bar .fill { height: 100%; background: var(--ink); transition: width .6s var(--ease); }
.line-item { display: grid; grid-template-columns: 84px minmax(0, 1fr) auto; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid var(--line); align-items: start; }
.line-item .thumb { width: 84px; height: 105px; overflow: hidden; display: block; background: var(--img-bg); }
.line-item h4 { font-family: var(--f-display); font-size: 1.2rem; font-weight: 500; line-height: 1.2; }
.line-item h4 a { text-decoration: none; }
.line-item .meta { font-size: 12px; color: var(--muted); display: grid; gap: .1rem; margin: .25rem 0 .7rem; }
.line-item .right { display: grid; justify-items: end; gap: .5rem; }
.remove { background: none; border: 0; padding: 0; color: var(--muted); font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.totals { display: grid; gap: .5rem; font-size: 14px; }
.totals div { display: flex; justify-content: space-between; gap: 1rem; }
.totals .grand { font-size: 1.05rem; font-weight: 500; padding-top: .7rem; border-top: 1px solid var(--line); }
.totals .disc { color: var(--sage); }
.upsell { display: grid; gap: .2rem; margin-top: 1.8rem; }
.upsell h3 { font-size: 11px; text-transform: uppercase; letter-spacing: .2em; font-weight: 500; margin-bottom: .6rem; }
.upsell-item { display: grid; grid-template-columns: 56px 1fr auto; gap: .9rem; align-items: center; padding: .6rem 0; border-top: 1px solid var(--line); }
.upsell-item .thumb { width: 56px; height: 70px; overflow: hidden; background: var(--img-bg); }
.upsell-item strong { font-size: 14px; font-weight: 500; display: block; line-height: 1.25; }
.upsell-item a { text-decoration: none; }
.upsell-item .quick-add { border: 1px solid var(--line); width: 36px; height: 36px; justify-content: center; padding: 0; }
.upsell-item .quick-add:hover { border-color: var(--ink); }
.promo-form { display: flex; gap: .5rem; }
.promo-form input { flex: 1; min-width: 0; }
.input, .promo-form input, .field input, .field select, .field textarea {
  min-height: 48px; border: 1px solid var(--line); border-radius: 0; background: var(--paper); padding: 0 .95rem; width: 100%;
}
.field textarea { padding: .8rem .95rem; min-height: 130px; resize: vertical; }
.input:focus, .field input:focus, .field select:focus, .field textarea:focus, .promo-form input:focus { outline: 1.5px solid var(--ink); outline-offset: -1px; }
.toggle-line { display: flex; gap: .65rem; align-items: center; font-size: 14px; cursor: pointer; font-weight: 300; }
.toggle-line input { accent-color: var(--ink); width: 16px; height: 16px; margin: 0; }
.toggle-line svg { width: 17px; height: 17px; flex: none; }
.msg { font-size: 12px; }
.msg.ok { color: var(--sage); } .msg.err { color: #A3362B; }
.cart-page { display: grid; gap: 2.5rem; padding-bottom: 6rem; }
@media (min-width: 980px) { .cart-page { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 4.5rem; align-items: start; } }
.summary { background: var(--paper); border: 1px solid var(--line); padding: 1.8rem; display: grid; gap: 1.2rem; }
@media (min-width: 980px) { .summary { position: sticky; top: calc(var(--header-h) + 24px + env(safe-area-inset-top, 0px)); } }

/* ---------- Formulaires ---------- */
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: .35rem; min-width: 0; }
.field label { font-size: 12px; letter-spacing: .06em; }
.field .err-text { color: #A3362B; font-size: 12px; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #A3362B; }
fieldset.block { border: 0; padding: 0; margin: 0 0 2.4rem; display: grid; gap: 1rem; min-width: 0; }
fieldset.block legend { font-family: var(--f-display); font-size: 1.9rem; font-weight: 500; margin-bottom: 1rem; padding: 0; }
.ship-opt { display: grid; grid-template-columns: auto 1fr auto; gap: .9rem; align-items: center; padding: 1rem 1.1rem; border: 1px solid var(--line); cursor: pointer; }
.ship-opt:has(input:checked) { border-color: var(--ink); }
.ship-opt input { accent-color: var(--ink); width: 17px; height: 17px; margin: 0; }
.ship-opt strong { font-weight: 500; font-size: 14px; }
.ship-opt small { display: block; color: var(--muted); font-size: 12px; }
.notice { font-size: 13px; color: var(--muted); padding: .9rem 1.1rem; border-left: 2px solid var(--accent); background: var(--paper); }

/* ---------- Quiz ---------- */
.quiz { display: grid; background: var(--surface); }
@media (min-width: 960px) { .quiz { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.quiz-photo { position: relative; min-height: 280px; overflow: hidden; }
.quiz-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quiz .inner { display: grid; gap: 1.6rem; padding: clamp(1.8rem, 5vw, 4rem); align-content: center; min-width: 0; }
.quiz h2 em { font-style: italic; }
.quiz-steps { display: flex; gap: .4rem; }
.quiz-steps i { width: 32px; height: 2px; background: var(--line); display: block; }
.quiz-steps i.on { background: var(--ink); }
.quiz-q { display: grid; gap: 1.1rem; min-width: 0; }
.quiz-q h3 { font-family: var(--f-display); font-size: 1.9rem; font-weight: 500; }
.quiz-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); gap: .6rem; }
.quiz-opt { text-align: left; padding: 1rem 1.1rem; border: 1px solid var(--line); background: var(--bg); color: var(--ink); display: grid; gap: .15rem; transition: border-color .2s; }
.quiz-opt:hover { border-color: var(--ink); }
.quiz-opt strong { font-weight: 500; }
.quiz-opt small { color: var(--muted); font-size: 12px; }
.quiz-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .9rem; }
@media (max-width: 560px) { .quiz-results { grid-template-columns: 1fr; } }
.quiz-result { color: var(--ink); display: grid; gap: .6rem; text-decoration: none; align-content: start; }
.quiz-result .media { aspect-ratio: 4 / 5; overflow: hidden; background: var(--img-bg); }
.quiz-result .media img { width: 100%; height: 100%; object-fit: cover; }
.quiz-result .t { display: grid; gap: .15rem; }
.quiz-result .t strong { font-family: var(--f-display); font-weight: 500; font-size: 1.25rem; line-height: 1.15; }
.quiz-result .t small { color: var(--muted); font-size: 12px; }

/* ---------- Altitudes ---------- */
.alt-board { display: grid; gap: 1.4rem; }
.alt-list { display: grid; border-top: 1px solid var(--line); }
.alt-row { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr) auto; gap: 1.4rem; align-items: center; padding: .95rem 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.alt-row:hover strong { text-decoration: underline; }
.alt-row strong { font-family: var(--f-display); font-weight: 500; font-size: 1.3rem; line-height: 1.2; }
.alt-row small { display: block; color: var(--muted); font-size: 12px; font-weight: 300; }
.alt-track { position: relative; height: 2px; background: var(--line); }
.alt-range { position: absolute; top: -2px; bottom: -2px; background: var(--accent); }
.alt-val { font-size: 13px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.alt-scale { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr) auto; gap: 1.4rem; font-size: 11px; color: var(--muted); }
.alt-scale .ticks { display: flex; justify-content: space-between; }
.alt-scale .ghost { visibility: hidden; }
@media (max-width: 640px) {
  .alt-row, .alt-scale { grid-template-columns: minmax(0, 1fr) auto; }
  .alt-row .alt-track { grid-column: 1 / -1; grid-row: 2; }
  .alt-scale .first, .alt-scale .ghost { display: none; }
  .alt-scale { grid-template-columns: 1fr; }
}

/* ---------- Rituels ---------- */
.ritual { display: grid; gap: 2.2rem; }
@media (min-width: 960px) { .ritual { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 4.5rem; align-items: center; } }
.ritual-photo { margin: 0; aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--img-bg); max-width: 100%; }
.ritual-photo img { width: 100%; height: 100%; object-fit: cover; }
.ritual-copy { display: grid; gap: 1.3rem; align-content: start; min-width: 0; }
.ritual-steps { display: grid; gap: .6rem; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.ritual-steps li { display: grid; grid-template-columns: 26px 1fr; gap: .6rem; font-size: 14px; counter-increment: s; font-weight: 300; }
.ritual-steps li::before { content: counter(s) "."; font-family: var(--f-display); font-size: 1.15rem; line-height: 1.3; }
.mini-list { display: grid; border-bottom: 1px solid var(--line); }

/* ---------- Bandes éditoriales ---------- */
.band { background: var(--surface); }
.split { display: grid; gap: 2.8rem; align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 5rem; } }
.split > * { min-width: 0; }
.split-photo { aspect-ratio: 4 / 4.4; overflow: hidden; background: var(--img-bg); max-width: 100%; }
.split-photo img { width: 100%; height: 100%; object-fit: cover; }
.values { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 2.6rem 2rem; }
.value { display: grid; gap: .6rem; align-content: start; padding-top: 1.2rem; border-top: 1px solid var(--ink); }
.value h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.6rem; }
.value p { color: var(--muted); font-size: 14px; font-weight: 300; }
.big-num { font-family: var(--f-display); font-size: clamp(3rem, 6vw, 4.6rem); line-height: 1; font-weight: 500; }
.sub-card { border: 1px solid var(--line); padding: 2rem; display: grid; gap: 1rem; background: var(--bg); align-content: start; }
.sub-card .big-num { font-size: 3.2rem; }
.steps-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 2rem; }
.steps-3 > div { display: grid; gap: .5rem; padding-top: 1.2rem; border-top: 1px solid var(--ink); }
.steps-3 h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.6rem; }
.steps-3 p { color: var(--muted); font-size: 14px; font-weight: 300; }

.newsletter { display: grid; gap: 1.6rem; }
@media (min-width: 900px) { .newsletter { grid-template-columns: 1fr 1fr; align-items: end; gap: 5rem; } }
.nl-form { display: flex; gap: .5rem; flex-wrap: wrap; }
.nl-form input { flex: 1 1 220px; min-width: 0; }
.code-reveal { font-size: 1.1rem; letter-spacing: .14em; padding: .9rem 1.1rem; border: 1px dashed var(--ink); display: inline-flex; gap: 1rem; align-items: center; flex-wrap: wrap; }

/* ---------- Guide ---------- */
.guide-nav { display: flex; gap: .2rem 1.8rem; flex-wrap: wrap; position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); background: var(--bg); z-index: 5; border-bottom: 1px solid var(--line); }
.guide-nav .chip { border: 0; padding: 0; min-height: 50px; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.guide-nav .chip:hover { color: var(--ink); }
.guide-sec { padding-block: 3.5rem; border-bottom: 1px solid var(--line); display: grid; gap: 2.2rem; scroll-margin-top: calc(var(--header-h) + 80px); }
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 2.4rem 2rem; }
.gcard { display: grid; gap: .7rem; align-content: start; padding-top: 1.2rem; border-top: 1px solid var(--ink); }
.gcard h3 { font-family: var(--f-display); font-weight: 500; font-size: 1.7rem; }
.gcard p { color: var(--muted); font-size: 14px; font-weight: 300; }
.gcard .facts { font-size: 12px; color: var(--ink); letter-spacing: .04em; display: flex; gap: .3rem 1rem; flex-wrap: wrap; }
.gcard .link { justify-self: start; }
.prose { max-width: 68ch; display: grid; gap: 1.1rem; }
.prose p { color: var(--muted); font-weight: 300; }
.prose h2 { font-size: 2.1rem; margin-top: 1.5rem; }
.faq { max-width: 860px; }

/* ---------- Pied de page ---------- */
.footer { background: var(--surface); color: var(--ink); padding-bottom: env(safe-area-inset-bottom, 0px); border-top: 1px solid var(--line); }
.footer .wrap { display: grid; gap: 3.5rem; padding-block: 4.5rem 2rem; }
.footer-top { display: grid; gap: 2.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.footer-brand { display: grid; gap: .8rem; align-content: start; }
.footer-brand .logo { justify-self: start; justify-items: start; padding-left: 0; }
.footer-brand p { color: var(--muted); font-size: 14px; font-weight: 300; max-width: 30ch; }
.footer h4 { font-size: 11px; text-transform: uppercase; letter-spacing: .2em; margin-bottom: 1.1rem; font-weight: 500; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: 14px; font-weight: 300; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 12px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1.6rem; }

/* ---------- Toast ---------- */
.toast-zone { position: fixed; z-index: 90; left: 50%; transform: translateX(-50%); bottom: calc(18px + env(safe-area-inset-bottom, 0px)); display: grid; gap: .5rem; width: min(440px, calc(100% - 40px)); pointer-events: none; }
.toast { background: var(--ink); color: var(--bg); padding: 1rem 1.2rem; font-size: 14px; display: flex; justify-content: space-between; gap: 1rem; align-items: center; animation: toastIn .35s ease both; pointer-events: auto; }
.toast button { background: none; border: 0; color: inherit; text-decoration: underline; padding: 0; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* Garde-fous mobile */
.pinfo, .ritual-copy, .quiz .inner { grid-template-columns: minmax(0, 1fr); }
.buy-row .btn { white-space: normal; text-align: center; line-height: 1.3; padding-inline: 1rem; }
@media (max-width: 480px) { .btn { padding-inline: 1.1rem; letter-spacing: .12em; } }

/* Logo : symbole + nom */
.logo { display: inline-flex !important; align-items: center; gap: .55rem; padding-left: 0 !important; }
.logo .mark { width: 46px; height: auto; flex: none; color: var(--accent); }
.logo-text { display: grid; justify-items: center; gap: 4px; padding-left: .26em; }
.footer-brand .logo-text { justify-items: start; }
@media (max-width: 480px) { .logo .mark { width: 34px; } .logo { gap: .35rem; } }
/* Sachets */
svg.pack { width: 100% !important; height: 100% !important; }
.nav-link { white-space: nowrap; }
.header .logo .mark { width: 40px; }
@media (min-width: 1100px) and (max-width: 1320px) { .nav-link { padding: 0 .5rem; letter-spacing: .1em; } }
.logo .mark { width: 44px !important; color: var(--accent); }
@media (max-width: 480px) { .logo .mark { width: 34px !important; } }

/* Bannière de catégorie */
.cat-banner { position: relative; aspect-ratio: 21 / 8; min-height: 300px; max-width: 100%; overflow: hidden; background: #120D0A; color: #FBF9F6; margin-bottom: 2.4rem; display: grid; align-items: end; }
.cat-banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.cat-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to right, rgba(14,11,9,.82) 0%, rgba(14,11,9,.35) 45%, rgba(14,11,9,0) 70%); }
.cat-banner-txt { position: relative; z-index: 1; padding: clamp(1.4rem, 4vw, 3rem); display: grid; gap: .8rem; max-width: 560px; }
.cat-banner-txt h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); }
.cat-banner-txt p { color: rgba(251,249,246,.85); font-weight: 300; }
@media (max-width: 700px) { .cat-banner { aspect-ratio: 4 / 4.4; } .cat-banner::after { background: linear-gradient(to top, rgba(14,11,9,.85), rgba(14,11,9,0) 65%); } .cat-banner img { object-position: center 20%; } }
.hero-img { object-position: center 40%; }
.hero::after { background: linear-gradient(to top, rgba(14,11,9,.85) 0%, rgba(14,11,9,.25) 42%, rgba(14,11,9,0) 70%) !important; }
.hero-img { object-position: 68% 45% !important; }
.hero::after { background: linear-gradient(to right, rgba(14,11,9,.7) 0%, rgba(14,11,9,.35) 40%, rgba(14,11,9,0) 60%), linear-gradient(to top, rgba(14,11,9,.6), rgba(14,11,9,0) 40%) !important; }
.hero .wrap { align-self: center; }
@media (max-width: 760px) { .hero::after { background: linear-gradient(to top, rgba(14,11,9,.92) 0%, rgba(14,11,9,.55) 45%, rgba(14,11,9,.1) 75%) !important; } .hero .wrap { align-self: end; } }
@media (min-width: 761px) { .hero h1 { font-size: clamp(2.6rem, 4.6vw, 4.6rem); max-width: 11ch; } .hero .lead { max-width: 36ch; } }

/* =========================================================
   THÈME BLANC — épure maison de luxe
   ========================================================= */
body { background: #fff; }
.announce { background: #151515; }
.header { background: rgba(255,255,255,.96); }
.band { background: var(--surface); }
.footer { background: var(--surface); }
.btn { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn:hover { background: #fff; color: var(--ink); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--accent { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--accent:hover { background: #fff; color: var(--ink); }
h1, h2 { font-weight: 400; letter-spacing: -.01em; }
.logo .mark { color: var(--ink) !important; }

/* Couverture en deux colonnes */
.hero { background: #fff !important; color: var(--ink) !important; min-height: 0 !important; display: block !important; overflow: visible; }
.hero::after { display: none !important; }
.hero-split { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .hero-split { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); min-height: calc(100vh - var(--header-h) - 36px); max-height: 920px; } }
.hero-copy { display: grid; align-content: center; gap: 1.8rem; padding: clamp(2.5rem, 6vw, 5rem) var(--gutter-r) clamp(2.5rem, 6vw, 5rem) max(var(--gutter-l), calc((100vw - var(--max)) / 2 + 24px)); }
.hero-copy h1 { font-size: clamp(2.8rem, 5vw, 5rem); line-height: 1.02; max-width: 12ch; }
.hero-copy .lead { color: var(--muted) !important; max-width: 40ch; }
.hero-kicker { color: var(--muted); }
.hero-media { position: relative; background: var(--img-bg); min-height: 420px; overflow: hidden; }
.hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero-note-inline { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); display: flex; gap: .6rem; align-items: baseline; flex-wrap: wrap; }
.hero-note-inline strong { font-family: var(--f-display); font-size: 1.35rem; letter-spacing: 0; text-transform: none; font-weight: 500; color: var(--ink); }

/* Tuiles : texte sous l'image */
.cat-tile { background: transparent !important; color: var(--ink) !important; aspect-ratio: auto !important; display: grid !important; gap: 1rem; }
.cat-tile::after { display: none !important; }
.cat-tile .media { position: relative; aspect-ratio: 1000 / 1150; overflow: hidden; background: var(--img-bg); max-width: 100%; }
.cat-tile .media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cat-tile:hover .media img { transform: scale(1.035); }
.cat-tile .txt { position: static !important; display: grid; gap: .2rem; padding: 0; }
.cat-tile h3 { font-size: 1.7rem; }
.cat-tile p { color: var(--muted); opacity: 1; font-size: 14px; font-weight: 300; }

/* Bannière de catégorie claire */
.cat-banner { background: var(--surface) !important; color: var(--ink) !important; aspect-ratio: auto !important; min-height: 0 !important; display: grid !important; grid-template-columns: minmax(0, 1fr); align-items: center !important; }
@media (min-width: 800px) { .cat-banner { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); } }
.cat-banner::after { display: none !important; }
.cat-banner img { position: static !important; width: 100%; height: auto !important; aspect-ratio: 1000 / 1150; object-fit: cover; max-height: 520px; }
.cat-banner-txt { padding: clamp(1.8rem, 5vw, 4rem) !important; max-width: 620px; }
.cat-banner-txt p { color: var(--muted) !important; }
@media (max-width: 799px) { .cat-banner img { order: -1; max-height: 420px; } }

/* Mega menu : légende sous l'image */
.mega-feature { aspect-ratio: auto !important; color: var(--ink) !important; display: grid !important; gap: .7rem; }
.mega-feature::after { display: none !important; }
.mega-feature img { position: static !important; width: 100%; aspect-ratio: 4 / 3; height: auto !important; object-fit: cover; background: var(--img-bg); }
.mega-feature span { position: static !important; font-size: 1.3rem !important; }
.mega-feature small { color: var(--muted); }

.quiz { background: var(--surface) !important; }
.quiz-photo { background: var(--img-bg); }
.quiz-photo img { object-position: center 60%; }
.tag { background: #fff; border: 1px solid var(--line); }
.card-media, .gallery-main, .thumb-btn, .line-item .thumb, .upsell-item .thumb, .fbt-item .thumb, .quiz-result .media, .search-hit .thumb { background: var(--img-bg); }
.gallery-main { aspect-ratio: 4 / 5 !important; }
.notice { background: var(--surface); border-left-color: var(--gold); }
.summary { background: var(--surface); }
@media (max-width: 959px) { .hero-media { order: -1; min-height: 0; aspect-ratio: 1 / 1.05; } .hero-copy { padding-top: 2rem; } }

/* ============ FOOTER (sombre, éditorial) ============ */
.footer { --f-ink: #F3EEE4; --f-muted: rgba(243, 238, 228, .66); --f-line: rgba(243, 238, 228, .14);
  background: #141311; color: var(--f-muted); border-top: 0; }
.footer .wrap { gap: 0; padding-block: clamp(3.5rem, 7vw, 6rem) 2rem; }
.footer-motto { display: flex; align-items: baseline; flex-wrap: wrap; gap: .6rem 2.2rem; padding-bottom: clamp(2.5rem, 5vw, 3.8rem); border-bottom: 1px solid var(--f-line); }
.footer-motto-big { font-family: var(--f-display); font-weight: 400; font-size: clamp(2.8rem, 7vw, 5.6rem); line-height: .95; letter-spacing: -.01em; color: var(--f-ink); margin: 0; }
.footer-motto-sub { font-family: var(--f-display); font-style: italic; font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: #C4A46B; margin: 0; }
.footer-top { grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2.5rem 3rem; padding-block: clamp(2.5rem, 5vw, 3.8rem); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }
.footer-brand { gap: 1.2rem; }
.footer-brand .logo { color: var(--f-ink); text-decoration: none; }
.footer-brand .logo small { color: var(--f-muted); }
.footer-brand p { color: var(--f-muted); max-width: 34ch; font-size: 14px; line-height: 1.7; }
.footer h4 { color: var(--f-ink); font-family: var(--f-body); font-size: 11px; letter-spacing: .26em; margin-bottom: 1.3rem; }
.footer ul { gap: .75rem; }
.footer a { color: var(--f-muted); transition: color .2s; }
.footer a:hover { color: var(--f-ink); text-decoration: none; }
.footer a:focus-visible { outline: 1px solid #C4A46B; outline-offset: 3px; }
.footer-bottom { border-top: 1px solid var(--f-line); color: var(--f-muted); align-items: flex-end; gap: 1.4rem 2rem; padding-top: 1.8rem; }
.footer-legal { display: grid; gap: .35rem; font-size: 12px; line-height: 1.6; }
.pay-chips { display: flex !important; flex-wrap: wrap; gap: .5rem !important; list-style: none; margin: 0; padding: 0; }
.pay-chips li { border: 1px solid rgba(243, 238, 228, .3); padding: .45rem .8rem; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--f-muted); line-height: 1; }

/* ============ PAGES LÉGALES ============ */
.legal-page { padding-bottom: 6rem; }
.legal-date { font-size: 12px; letter-spacing: .08em; color: var(--muted); margin-top: .6rem; }
.legal-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 4rem; align-items: start; }
@media (max-width: 900px) { .legal-layout { grid-template-columns: 1fr; gap: 2rem; } }
.legal-nav { position: sticky; top: 110px; }
@media (max-width: 900px) { .legal-nav { position: static; } .legal-nav ul { display: flex; flex-wrap: wrap; gap: .5rem; } .legal-nav li a { border: 1px solid var(--line); padding: .45rem .8rem; border-left-width: 1px !important; } }
.legal-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .2rem; }
.legal-nav a { display: block; padding: .5rem 0 .5rem 1rem; border-left: 1px solid var(--line); font-size: 14px; color: var(--muted); text-decoration: none; }
.legal-nav a:hover { color: var(--ink); }
.legal-nav a[aria-current="page"] { color: var(--ink); border-left: 2px solid var(--gold); font-weight: 500; }
.prose.legal { max-width: 72ch; }
.prose.legal h2 { font-size: 1.75rem; margin-top: 1.8rem; }
.prose.legal h2:first-child { margin-top: 0; }
.prose.legal ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .5rem; color: var(--muted); font-weight: 300; }
.prose.legal a { color: var(--ink); }
.prose.legal .notice p { font-size: 13px; line-height: 1.7; }
.legal-id { display: grid; margin: 0; border-top: 1px solid var(--line); }
.legal-id div { display: grid; grid-template-columns: 170px 1fr; gap: 1rem; padding: .75rem 0; border-bottom: 1px solid var(--line); font-size: 14px; }
@media (max-width: 520px) { .legal-id div { grid-template-columns: 1fr; gap: .15rem; } }
.legal-id dt { color: var(--muted); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; padding-top: .15rem; }
.legal-id dd { margin: 0; color: var(--ink); }
.legal-form { border: 1px solid var(--line); padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; gap: .9rem; background: var(--surface); }
.legal-form .line { border-bottom: 1px dotted rgba(0,0,0,.25); padding-bottom: .9rem; color: var(--ink); }
.nl-legal { font-size: 12px; color: var(--muted); flex-basis: 100%; margin: 0; }
.nl-legal a { color: inherit; }
.cgv-field .toggle-line { font-size: 14px; line-height: 1.5; align-items: flex-start; }
.cgv-field .toggle-line a { color: var(--ink); }
.cgv-field.invalid .toggle-line { color: #A33; }
@media print {
  .header, .footer, .legal-nav, .hero-ctas, .toast-zone, .page-head .crumbs { display: none !important; }
  .legal-layout { display: block; }
}
.footer .footer-brand .logo { grid-column: auto; grid-row: auto; justify-self: start; display: inline-flex; align-items: center; gap: .9rem; padding-left: 0; font-size: 1.7rem; }
.footer .footer-brand .logo .mark { color: var(--f-ink) !important; width: 44px !important; }
.footer .footer-brand .logo-text { padding-left: 0; }
.vat-note { font-size: 11px; color: var(--muted); margin: .4rem 0 0; text-align: right; }
@media (max-width: 900px) {
  .legal-nav ul { display: flex; flex-wrap: nowrap; overflow-x: auto; gap: .5rem; scrollbar-width: none; margin-left: calc(-1 * var(--gutter-l)); margin-right: calc(-1 * var(--gutter-r)); padding-left: var(--gutter-l); padding-right: var(--gutter-r); }
  .legal-nav ul::-webkit-scrollbar { display: none; }
  .legal-nav li { flex: none; }
  .legal-nav a { white-space: nowrap; border: 1px solid var(--line); padding: .55rem .9rem; font-size: 13px; }
  .legal-nav a[aria-current="page"] { border: 1px solid var(--ink); background: var(--ink); color: #fff; }
}
.legal-layout > * { min-width: 0; } .legal-layout { grid-template-columns: minmax(0, 240px) minmax(0, 1fr); } @media (max-width: 900px) { .legal-layout { grid-template-columns: minmax(0, 1fr); } }
