/* Bou J by Lorane — boutique
   Bleu glacier / Liquid Glass. Titres : Fraunces (droite, jamais d'italique). Texte : Montserrat.
   Ordre : tokens → base → matière (verre) → composants → accueil → pages → responsive. */

/* Polices hébergées sur le site (tools/fetch-fonts.mjs) : aucune connexion tierce avant le texte. */
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 300 600; font-display: swap; src: url(../assets/fonts/fraunces-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF }
@font-face { font-family: 'Fraunces'; font-style: normal; font-weight: 300 600; font-display: swap; src: url(../assets/fonts/fraunces-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../assets/fonts/montserrat-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF }
@font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(../assets/fonts/montserrat-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD }

:root {
  --ink: #1f3647;
  --ink-soft: #3f5a6c;
  --muted: #5b7385;
  --accent: #285c7c;
  --accent-deep: #1d4560;
  --accent-bright: #3a7aa0;
  --sky: #5aa6d4;
  --ice: #e3f2fd;
  --pastel: #b3d9f2;
  --bg: #f3f8fb;
  --night: #0e2334;
  --night-2: #183a52;
  --on-night: #e7f2fa;
  --on-night-soft: rgba(231, 242, 250, .72);
  --line: rgba(40, 92, 124, .14);
  --line-strong: rgba(40, 92, 124, .26);
  --success: #2f6b4f;
  --danger: #a83a46;

  --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
  --sans: 'Montserrat', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 36px;
  --pill: 999px;

  --glass: linear-gradient(135deg, rgba(255, 255, 255, .72), rgba(228, 242, 252, .42));
  --glass-strong: linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(240, 248, 254, .84));
  --glass-blur: blur(24px) saturate(170%);
  --glass-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(120, 170, 205, .2), 0 18px 40px -20px rgba(29, 69, 96, .32);
  --glass-shadow-lg: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -1px 0 rgba(120, 170, 205, .2), 0 40px 80px -30px rgba(18, 48, 70, .45);
  --text-gradient: linear-gradient(100deg, #24597c 0%, #4f9bc9 45%, #8cc6ea 55%, #24597c 100%);

  --ease: cubic-bezier(.22, 1, .36, 1);
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(80px, 10vw, 150px);
  --header-h: 84px;
  --header-gap: 36px;
}

@view-transition { navigation: auto }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box }
html { scroll-behavior: smooth; scroll-padding-top: 120px; -webkit-text-size-adjust: 100%; background: var(--bg) }
body {
  margin: 0;
  min-height: 100vh;
  overflow-x: clip;
  color: var(--ink);
  font: 400 15px/1.7 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: transparent;
}
/* Grain de matière, à peine perceptible. */
.ambient::after {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .045;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
body:has(dialog[open]) { overflow: hidden }
h1, h2, h3, p { margin: 0 }
h1, h2 {
  font-family: var(--serif); font-weight: 360; font-optical-sizing: auto; font-variation-settings: 'SOFT' 50;
  letter-spacing: -.025em; line-height: 1.02; text-wrap: balance; color: var(--ink);
}
h1 { font-size: clamp(46px, 6.4vw, 96px) }
h2 { font-size: clamp(36px, 4.6vw, 68px) }
h3 { font: 600 17px/1.4 var(--sans); letter-spacing: -.01em; text-wrap: balance }
h1 em, h2 em, .manifesto-text em {
  font-style: normal; color: transparent;
  background: var(--text-gradient) 0 0 / 220% 100%; -webkit-background-clip: text; background-clip: text;
  animation: sheen 7s ease-in-out 2;
}
@keyframes sheen { 50% { background-position: 100% 0 } }
p { text-wrap: pretty }
a { color: inherit; text-decoration: none }
button, input, select, textarea { font: inherit; color: inherit }
button { cursor: pointer }
button:disabled { cursor: not-allowed; opacity: .5 }
a, button, input, select, textarea, summary { -webkit-tap-highlight-color: transparent; touch-action: manipulation }
img { max-width: 100%; height: auto; display: block; object-fit: cover }
svg { flex-shrink: 0 }
em { font-style: normal; color: var(--accent) }
::selection { background: var(--pastel); color: var(--accent-deep) }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px }
[hidden] { display: none !important }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 100; padding: 12px 22px; border-radius: var(--pill); background: var(--accent-deep); color: #fff; font-weight: 600 }
.skip-link:focus { top: 12px }
.container { width: min(1280px, 100% - 2 * var(--gutter)); margin-inline: auto }

/* Lueurs d'ambiance qui dérivent lentement derrière la page. */
.ambient { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; background: var(--bg) }
.ambient span { position: absolute; width: 70vmax; aspect-ratio: 1; border-radius: 50%; opacity: .85 }
.ambient span:nth-child(1) { left: -25vmax; top: -30vmax; background: radial-gradient(closest-side, #cfe7f9, transparent) }
.ambient span:nth-child(2) { right: -30vmax; top: 10vh; background: radial-gradient(closest-side, #dcefff, transparent) }
.ambient span:nth-child(3) { left: 15vw; bottom: -45vmax; background: radial-gradient(closest-side, #d6ecf6, transparent) }

/* ---------- Matière : verre liquide ---------- */
.liquid, .product-card, .category-tabs, .catalogue-state, .contact-form, .summary-card, .form-card,
.faq-list details, .cart-dialog {
  position: relative; isolation: isolate;
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, .55);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
}
/* Arête lumineuse : dégradé sur le seul contour. */
.liquid::before, .product-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1; padding: 1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(140deg, rgba(255, 255, 255, .98), rgba(255, 255, 255, .15) 35%, rgba(255, 255, 255, .05) 60%, rgba(255, 255, 255, .75));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
/* Reflet spéculaire qui suit le pointeur (variables posées par storefront.js). */
@property --mx { syntax: '*'; inherits: false }
@property --my { syntax: '*'; inherits: false }
.liquid::after, .liquid-dark::after, .product-card::after {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 18%) var(--my, -10%), rgba(255, 255, 255, .55), transparent 60%);
  opacity: .7; transition: opacity .4s;
}
.lg-refract :is(.hero-panel, .page-hero-panel, .product-media-badge, .about-chip) { -webkit-backdrop-filter: url(#liquid-glass) blur(9px) saturate(175%) brightness(1.05); backdrop-filter: url(#liquid-glass) blur(9px) saturate(175%) brightness(1.05) }

/* ---------- Libellés, boutons, liens ---------- */
.small-label, .hero-label, .eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  margin: 0 0 20px;
  font: 600 12px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before, .hero-label::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .6 }
.muted { color: var(--muted); font-size: 13px }

.button, .btn-order {
  position: relative; isolation: isolate; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 54px; padding: 14px 28px;
  border: 1px solid #1a4560; border-radius: var(--pill);
  background: linear-gradient(180deg, #3d7699 0%, #285c7c 55%, #1f4b67 100%);
  color: #fff; font: 600 14px/1.2 var(--sans); letter-spacing: .01em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), inset 0 -1px 0 rgba(0, 0, 0, .15), 0 14px 28px -12px rgba(29, 69, 96, .65);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), filter .2s;
}
.button::before, .btn-order::before {
  content: ''; position: absolute; inset: 0 0 50% 0; z-index: -1; border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, .24), transparent);
}
.button::after, .btn-order::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 40%; z-index: -1; translate: -150% 0;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent); transform: skewX(-20deg);
  transition: translate .8s var(--ease);
}
.button:hover::after, .btn-order:hover::after { translate: 325% 0 }
.button:hover, .btn-order:hover { transform: translateY(-2px); filter: brightness(1.07); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 22px 36px -14px rgba(29, 69, 96, .7) }
.button:active, .btn-order:active { transform: translateY(0) scale(.98) }
.button span[aria-hidden], .text-link span[aria-hidden] { display: inline-block; transition: transform .3s var(--ease) }
.button:hover span[aria-hidden], .text-link:hover span[aria-hidden] { transform: translateX(4px) }
.button:disabled, .btn-order:disabled { transform: none; filter: saturate(.4); opacity: .55 }

.button-outline, .button-glass {
  background: linear-gradient(135deg, rgba(255, 255, 255, .78), rgba(227, 242, 253, .45));
  color: var(--accent-deep); border-color: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
}
.button-outline::before, .button-glass::before { display: none }
.button-outline:hover, .button-glass:hover { filter: none; background: #fff; box-shadow: var(--glass-shadow-lg) }

.text-link {
  display: inline-flex; align-items: center; gap: 10px; width: fit-content; min-height: 40px;
  padding: 0; border: 0; background: none;
  font: 600 14px/1.4 var(--sans); color: var(--accent);
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 7px; text-decoration-color: rgba(40, 92, 124, .3);
  transition: color .2s, text-decoration-color .2s;
}
.text-link:hover { color: var(--accent-deep); text-decoration-color: currentColor }

.signature { display: block; margin-top: 28px; font: 360 40px/1.1 var(--serif); font-variation-settings: 'SOFT' 100; color: var(--accent); letter-spacing: -.02em }

/* ---------- Bandeau + en-tête ---------- */
.announcement { padding: 10px 20px; text-align: center; font-size: 12px; font-weight: 500; letter-spacing: .03em; color: var(--ink-soft) }

.site-header {
  position: sticky; top: 12px; z-index: 20; view-transition-name: site-header;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  width: min(1376px, 100% - 32px); height: var(--header-h); margin: 0 auto 24px; padding: 0 12px 0 26px;
  border-radius: 28px;
  transition: width .6s var(--ease), background .4s, box-shadow .4s;
}
.is-scrolled .site-header { width: min(1180px, 100% - 32px); background: linear-gradient(135deg, rgba(255, 255, 255, .86), rgba(235, 246, 253, .72)); box-shadow: var(--glass-shadow-lg) }
.wordmark { display: block; flex-shrink: 0; width: 120px }
.wordmark img { width: 100%; height: auto; max-height: 72px; object-fit: contain }
.site-nav { display: flex; align-items: center; gap: 2px }
.site-nav a {
  position: relative; padding: 10px 16px; border-radius: var(--pill);
  font-size: 14px; font-weight: 500; color: var(--ink-soft);
  transition: background .25s, color .25s;
}
.site-nav a:hover { background: rgba(255, 255, 255, .7); color: var(--accent-deep) }
.site-nav a[aria-current] { color: var(--accent-deep); background: rgba(255, 255, 255, .85); box-shadow: inset 0 1px 0 #fff, 0 6px 16px -10px rgba(29, 69, 96, .5) }
.header-actions { display: flex; align-items: center; gap: 6px }
.icon-button {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 46px; min-height: 46px; padding: 10px; border: 0; border-radius: 50%; background: none; color: var(--ink);
  transition: background .2s;
}
.icon-button:hover { background: rgba(255, 255, 255, .8) }
.icon-button svg, .cart-button svg { width: 22px; height: 22px }
.cart-button {
  display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 6px 7px 6px 18px;
  border: 1px solid rgba(255, 255, 255, .9); border-radius: var(--pill);
  background: rgba(255, 255, 255, .78); box-shadow: inset 0 1px 0 #fff, 0 6px 16px -10px rgba(29, 69, 96, .45);
  font-size: 14px; font-weight: 600; color: var(--ink);
  transition: background .2s, box-shadow .2s, transform .3s var(--ease);
}
.cart-button:hover { background: #fff; transform: translateY(-1px) }
.cart-button #cart-count {
  display: grid; place-items: center; min-width: 34px; height: 34px; padding: 0 9px; border-radius: var(--pill);
  background: linear-gradient(180deg, #3d7699, #1f4b67); color: #fff; font-size: 13px; font-weight: 700; font-variant-numeric: tabular-nums;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
}
.menu-toggle { display: none }

/* ---------- Accueil : hero immersif ---------- */
body:is([data-page=index], [data-page=boutique]) .announcement { display: none }
body:is([data-page=index], [data-page=boutique]) .site-header { margin-top: 12px }
.hero {
  position: relative; isolation: isolate;
  min-height: max(660px, 100svh);
  margin-top: calc(-1 * (var(--header-h) + var(--header-gap)));
  display: flex; flex-direction: column;
}
.hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; border-radius: 0 0 48px 48px; background: #cfe2ee }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 56%; animation: settle 2.6s var(--ease) both }
.hero-media::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(214, 234, 248, .7) 0%, rgba(214, 234, 248, .25) 38%, transparent 60%),
    linear-gradient(180deg, rgba(214, 234, 248, .5) 0%, transparent 22%, transparent 75%, rgba(20, 52, 74, .22) 100%);
}
@keyframes settle { from { transform: scale(1.14) } }
.hero-inner {
  flex: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
  width: min(1376px, 100% - 2 * var(--gutter)); margin: 0 auto;
  /* En bas, une bande libre de 136 px : le bouton « Une question ? » s'y pose sans toucher la vignette. */
  padding: calc(var(--header-h) + var(--header-gap) + 56px) 0 136px;
}
.hero-panel {
  width: min(800px, 62%); padding: clamp(32px, 4vw, 56px); border-radius: 40px;
  animation: rise-in 1.1s .25s var(--ease) both;
}
.hero-panel h1 { font-size: clamp(48px, 5.5vw, 86px); line-height: .96; color: var(--accent-deep) }
:is(.hero-panel h1, .reveal-lines) .line { display: block; overflow: hidden; padding-bottom: .09em; margin-bottom: -.05em }
:is(.hero-panel h1, .reveal-lines) .line > span { display: inline-block; animation: line-up 1.2s var(--ease) both }
:is(.hero-panel h1, .reveal-lines) .line:nth-child(1) > span { animation-delay: .45s }
:is(.hero-panel h1, .reveal-lines) .line:nth-child(2) > span { animation-delay: .6s }
.hero-lead { max-width: 42ch; margin: 26px 0 34px; font-size: 17px; line-height: 1.7; color: var(--ink-soft); animation: rise-in 1s .8s var(--ease) both }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; animation: rise-in 1s .95s var(--ease) both }
.hero-chip {
  display: flex; align-items: center; gap: 16px; padding: 10px 20px 10px 10px; border-radius: 26px; color: var(--ink);
  animation: rise-in 1s 1.2s var(--ease) both; transition: transform .4s var(--ease);
}
.hero-chip:hover { transform: translateY(-4px) }
.hero-chip img { width: 60px; height: 74px; border-radius: 17px }
.hero-chip small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent) }
.hero-chip strong { display: block; font: 400 21px/1.2 var(--serif); font-variation-settings: 'SOFT' 50 }
.chip-arrow { display: grid; place-items: center; width: 38px; height: 38px; margin-left: 6px; border-radius: 50%; background: rgba(255, 255, 255, .8); color: var(--accent-deep); transition: transform .4s var(--ease) }
.hero-chip:hover .chip-arrow { transform: rotate(-45deg) }
@keyframes line-up { from { transform: translateY(105%) } }
@keyframes rise-in { from { opacity: 0; transform: translateY(26px) } }

/* Bandeau défilant */
.marquee { overflow: hidden; padding: clamp(28px, 4vw, 48px) 0; mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent) }
.marquee-track { display: flex; align-items: center; gap: 40px; width: max-content; animation: marquee 48s linear infinite }
.marquee span { font: 300 clamp(30px, 4vw, 56px)/1 var(--serif); font-variation-settings: 'SOFT' 100; letter-spacing: -.02em; color: var(--accent-deep); white-space: nowrap }
.marquee i { font-style: normal; font-size: 20px; color: var(--sky) }
.marquee:hover .marquee-track { animation-play-state: paused }
@keyframes marquee { to { transform: translateX(-50%) } }

/* Manifeste */
.manifesto { padding-block: clamp(40px, 6vw, 90px) var(--section) }
.manifesto-text { max-width: 24ch; font: 300 clamp(32px, 4.4vw, 64px)/1.14 var(--serif); font-variation-settings: 'SOFT' 50; letter-spacing: -.025em; color: var(--ink) }
.manifesto-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 44px 0 0; padding: 0; list-style: none }
.manifesto-tags li {
  padding: 10px 20px; border-radius: var(--pill); font-size: 14px; font-weight: 600; color: var(--accent-deep);
  background: var(--glass); border: 1px solid rgba(255, 255, 255, .85); box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
.manifesto-tags li::before { content: '✦'; margin-right: 10px; color: var(--sky) }

/* Titres de section */
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: clamp(32px, 4vw, 56px) }
.section-heading .text-link { flex-shrink: 0 }
.section-heading > p { max-width: 40ch; color: var(--muted); font-size: 16px }

/* Collections en mosaïque */
.collections, .featured-section { padding-top: var(--section) }
.collections { padding-top: 0 }
.bento { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-auto-rows: clamp(240px, 23vw, 340px); gap: 18px }
.tile {
  position: relative; overflow: hidden; display: block; border-radius: var(--r-lg);
  background: #dbe9f2; box-shadow: 0 30px 60px -36px rgba(18, 48, 70, .55);
}
.tile-xl { grid-row: span 2 }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease) }
.tile:hover img { transform: scale(1.07) }
.tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(14, 35, 52, .3)); pointer-events: none }
.tile-label {
  position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 1;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 16px 16px 20px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .8), rgba(232, 244, 252, .58));
}
.tile-label small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .16em; color: var(--accent) }
.tile-label strong { display: block; font: 400 22px/1.15 var(--serif); font-variation-settings: 'SOFT' 50; color: var(--ink) }
.tile-label > span > span { display: block; margin-top: 6px; font-size: 14px; color: var(--ink-soft) }
.tile-xl .tile-label { left: 18px; right: 18px; bottom: 18px; padding: 24px 24px 24px 28px; border-radius: 26px }
.tile-xl .tile-label strong { font-size: 34px }
.tile-arrow { display: grid; flex-shrink: 0; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(180deg, #3d7699, #1f4b67); color: #fff; transition: transform .45s var(--ease) }
.tile:hover .tile-arrow { transform: rotate(-45deg) }

/* Section nuit : savoir-faire */
.night {
  position: relative; isolation: isolate; overflow: hidden;
  width: min(1376px, 100% - 32px); margin: var(--section) auto 0; padding-block: clamp(72px, 9vw, 130px);
  border-radius: 48px; color: var(--on-night);
  background: linear-gradient(160deg, var(--night) 0%, var(--night-2) 100%);
  box-shadow: 0 50px 100px -50px rgba(14, 35, 52, .7);
}
.night-glow, .night-glow::before { position: absolute; z-index: -1; border-radius: 50%; pointer-events: none }
.night-glow { width: 60vmax; aspect-ratio: 1; right: -18vmax; top: -30vmax; background: radial-gradient(closest-side, rgba(90, 166, 212, .5), transparent)}
.night-glow::before { content: ''; width: 46vmax; aspect-ratio: 1; left: -60vmax; top: 48vmax; background: radial-gradient(closest-side, rgba(140, 198, 234, .28), transparent) }
.night h2 { color: #fff }
.night .eyebrow { color: #9fd0ef }
.night .section-heading > p { color: var(--on-night-soft) }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none }
.liquid-dark {
  position: relative; isolation: isolate; padding: 34px 28px 32px; border-radius: var(--r-lg);
  background: linear-gradient(160deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 30px 60px -40px rgba(0, 0, 0, .6);
  transition: transform .5s var(--ease), border-color .3s;
}
.liquid-dark::after { background: radial-gradient(360px circle at var(--mx, 30%) var(--my, -20%), rgba(140, 198, 234, .25), transparent 60%) }
.liquid-dark:hover { transform: translateY(-6px); border-color: rgba(255, 255, 255, .28) }
.step-number {
  display: block; margin-bottom: 40px; font: 300 64px/1 var(--serif); font-variation-settings: 'SOFT' 100;
  color: transparent; background: linear-gradient(160deg, #d9efff, #5aa6d4); -webkit-background-clip: text; background-clip: text;
}
.steps h3 { margin-bottom: 12px; font: 400 26px/1.2 var(--serif); font-variation-settings: 'SOFT' 50; color: #fff }
.steps p { font-size: 14px; line-height: 1.75; color: var(--on-night-soft) }

/* Lorane */
.maker { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(48px, 8vw, 130px); align-items: center; padding-top: var(--section) }
.maker-photo { position: relative; margin: 0 }
.maker-photo img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%;
  border-radius: 200px 200px var(--r-xl) var(--r-xl); box-shadow: 0 50px 90px -45px rgba(18, 48, 70, .6);
}
.maker-quote {
  position: absolute; right: -14%; bottom: 9%; width: min(330px, 80%); padding: 24px 26px; border-radius: 26px;
  font: 400 22px/1.3 var(--serif); font-variation-settings: 'SOFT' 50; color: var(--accent-deep);
}
.maker-quote span { display: block; margin-top: 14px; font: 600 12px/1.4 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--accent) }
.maker-copy h2 { margin-bottom: 28px }
.maker-copy .lead { margin-bottom: 18px }
.maker-copy > p:not(.eyebrow, .lead) { max-width: 52ch; margin-bottom: 26px; color: var(--ink-soft); line-height: 1.85 }

/* Sur mesure */
.bespoke { padding-top: var(--section) }
.bespoke-panel {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 80px); align-items: center;
  padding: clamp(36px, 6vw, 80px); border-radius: 48px; overflow: hidden;
  background: linear-gradient(135deg, rgba(255, 255, 255, .8), rgba(214, 236, 250, .55));
}
.bespoke-copy h2 { margin-bottom: 22px }
.bespoke-actions { display: flex; flex-wrap: wrap; gap: 12px }
/* Lien du menu vers l'atelier des senteurs : une petite étincelle le distingue. */
.nav-compose::before { content: '✦'; margin-right: 7px; font-size: 11px; color: var(--sky) }
.nav-short { display: none }
/* Ordinateurs étroits : six liens doivent tenir sur une ligne. */
@media (min-width: 861px) and (max-width: 1099px) {
  .site-nav a { padding-inline: 9px; font-size: 13.5px; white-space: nowrap }
  .nav-long, .cart-label { display: none }
  .nav-short { display: inline }
}
.bespoke-copy > p:not(.eyebrow) { max-width: 46ch; margin-bottom: 28px; font-size: 16px; color: var(--ink-soft) }
.occasions { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 34px; padding: 0; list-style: none }
.occasions li { padding: 8px 16px; border-radius: var(--pill); border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .6); font-size: 13px; font-weight: 600; color: var(--accent-deep) }
.bespoke-visual { position: relative; height: clamp(320px, 34vw, 460px) }
.bespoke-visual img {
  position: absolute; width: 62%; aspect-ratio: 4 / 5; height: auto; border-radius: 28px; border: 6px solid rgba(255, 255, 255, .85);
  box-shadow: 0 40px 70px -35px rgba(18, 48, 70, .6); transition: transform .8s var(--ease);
}
.bespoke-visual img:first-child { left: 0; top: 0; rotate: -6deg }
.bespoke-visual img:last-child { right: 0; bottom: 0; rotate: 5deg }
.bespoke-panel:hover .bespoke-visual img:first-child { transform: translate(-8px, -6px) }
.bespoke-panel:hover .bespoke-visual img:last-child { transform: translate(8px, 6px) }

/* FAQ */
.faq-section { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 6vw, 96px); padding-top: var(--section) }
.faq-section > div:first-child p:not(.eyebrow) { margin-top: 18px; color: var(--muted); max-width: 36ch }
.faq-section > div:first-child p a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px }
.faq-list { display: grid; gap: 12px }
.faq-list details { border-radius: var(--r-md); transition: background .3s }
.faq-list details[open] { background: var(--glass-strong) }
.faq-list summary {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 68px; padding: 16px 22px 16px 26px;
  list-style: none; cursor: pointer; font-size: 16px; font-weight: 600;
}
.faq-list summary::-webkit-details-marker { display: none }
.faq-list summary::after {
  content: ''; flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(179, 217, 242, .5) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23285c7c' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat;
  transition: transform .4s var(--ease), background-color .3s;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background-color: rgba(179, 217, 242, .9) }
.faq-list p { max-width: 65ch; padding: 0 26px 22px; font-size: 15px; line-height: 1.8; color: var(--ink-soft) }
.faq-list p a { color: var(--accent); text-decoration: underline; text-underline-offset: 4px }

/* ---------- Pied de page nuit ---------- */
.site-footer {
  position: relative; isolation: isolate; overflow: hidden;
  width: min(1376px, 100% - 32px); margin: var(--section) auto 16px;
  border-radius: 48px; color: var(--on-night);
  background: radial-gradient(70% 90% at 85% 0%, rgba(90, 166, 212, .35), transparent 60%), linear-gradient(170deg, var(--night-2), var(--night));
}
.footer-main { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.1fr; gap: 40px; padding-block: 64px 24px }
.footer-main h2 { margin-bottom: 20px; font: 600 12px/1.4 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: #9fd0ef }
.footer-main > div > a:not(.wordmark, .text-link) { display: block; width: fit-content; padding: 5px 0; font-size: 15px; color: var(--on-night-soft); transition: color .2s, transform .3s var(--ease) }
.footer-main > div > a:not(.wordmark, .text-link):hover { color: #fff; transform: translateX(4px) }
.footer-brand .wordmark { width: 150px; padding: 12px 16px; border-radius: 22px; background: rgba(255, 255, 255, .92); box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .6) }
.footer-brand p, .footer-social p { margin-top: 20px; max-width: 30ch; font-size: 15px; color: var(--on-night-soft) }
.footer-social p { margin: 0 0 14px }
.site-footer .text-link { color: #fff; text-decoration-color: rgba(255, 255, 255, .4) }
.footer-signature {
  margin: 0; text-align: center; white-space: nowrap; user-select: none;
  font: 300 clamp(120px, 25vw, 380px)/.82 var(--serif); font-variation-settings: 'SOFT' 100; letter-spacing: -.05em;
  color: transparent; background: linear-gradient(180deg, rgba(231, 242, 250, .2), rgba(231, 242, 250, .02) 85%); -webkit-background-clip: text; background-clip: text;
}
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-block: 22px 28px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: 13px; color: var(--on-night-soft) }

/* ---------- Fil d'Ariane, bandeaux ---------- */
.breadcrumb { display: flex; flex-wrap: wrap; gap: 10px; padding-block: 12px 32px; font-size: 13px; color: var(--muted) }
.breadcrumb a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 4px }
.breadcrumb > span:nth-child(even), .breadcrumb span[aria-hidden] { opacity: .5 }

.contact-band {
  position: relative; isolation: isolate; overflow: hidden;
  width: min(1280px, 100% - 2 * var(--gutter)); margin: var(--section) auto 0; padding: clamp(56px, 7vw, 96px) 24px;
  border-radius: 48px; text-align: center; color: var(--on-night);
  background: radial-gradient(60% 100% at 50% 0%, rgba(90, 166, 212, .45), transparent 70%), linear-gradient(160deg, var(--night-2), var(--night));
}
.contact-band h2 { color: #fff }
.contact-band .eyebrow { color: #9fd0ef }
.contact-band p { max-width: 50ch; margin: 16px auto 32px; color: var(--on-night-soft) }
.contact-band .button, .button-light { background: linear-gradient(180deg, #fff, #e3f2fd); color: var(--accent-deep); border-color: #fff }

/* ---------- À propos ---------- */
.lead { font-size: 19px; line-height: 1.65; color: var(--ink) }
.about-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 7vw, 120px); align-items: center }
.about-hero-copy h1 { margin-bottom: 30px; font-size: clamp(54px, 7.4vw, 116px); line-height: .96; color: var(--accent-deep) }
.about-hero-copy .lead { max-width: 34ch; margin-bottom: 34px; animation: rise-in 1s .7s var(--ease) both }
.about-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; animation: rise-in 1s .85s var(--ease) both }
.about-portrait { position: relative; margin: 0; animation: rise-in 1.2s .2s var(--ease) both }
.about-portrait img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%; border-radius: 240px 240px var(--r-xl) var(--r-xl); box-shadow: 0 50px 90px -45px rgba(18, 48, 70, .6) }
.about-chip { position: absolute; left: -12%; bottom: 10%; display: grid; gap: 4px; padding: 18px 26px; border-radius: 24px }
.about-chip strong { font: 400 23px/1.2 var(--serif); font-variation-settings: 'SOFT' 50; color: var(--accent-deep) }
.about-chip span { font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent) }
.about-story { padding-top: var(--section) }
.about-story .manifesto-text { max-width: 26ch }
.about-columns { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); max-width: 980px; margin-top: 48px }
.about-columns p { font-size: 17px; line-height: 1.85; color: var(--ink-soft) }
.about-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; align-items: start; padding-top: var(--section) }
.about-gallery img { width: 100%; aspect-ratio: 4 / 5; border-radius: 28px; box-shadow: 0 30px 60px -36px rgba(18, 48, 70, .55) }
.about-gallery img:nth-child(even) { margin-top: 72px }
.steps.steps-3 { grid-template-columns: repeat(3, 1fr) }

/* ---------- En-tête de page sur image (boutique) ---------- */
.page-hero { position: relative; isolation: isolate; display: flex; min-height: clamp(540px, 74svh, 740px); margin-top: calc(-1 * (var(--header-h) + var(--header-gap))) }
.page-hero-media { position: absolute; inset: 0; z-index: -2; overflow: hidden; border-radius: 0 0 48px 48px; background: #cfe2ee }
.page-hero-media img { width: 100%; height: 100%; object-fit: cover; animation: settle 2.2s var(--ease) both }
.page-hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(214, 234, 248, .78), rgba(214, 234, 248, .2) 55%, transparent), linear-gradient(180deg, rgba(214, 234, 248, .55), transparent 32%) }
.page-hero-inner { display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; gap: 20px; padding: calc(var(--header-h) + var(--header-gap) + 28px) 0 clamp(36px, 6vh, 64px) }
.page-hero .breadcrumb { margin-bottom: auto; padding: 0; color: var(--ink-soft) }
.page-hero-panel { width: min(660px, 100%); padding: clamp(28px, 4vw, 48px); border-radius: 36px; animation: rise-in 1s .2s var(--ease) both }
.page-hero-panel h1 { font-size: clamp(46px, 6vw, 92px); line-height: .98; color: var(--accent-deep) }
.page-hero-lead { max-width: 44ch; margin-top: 18px; font-size: 17px; color: var(--ink-soft) }
.hero-promises { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; animation: rise-in 1s .45s var(--ease) both }
.hero-promises li {
  padding: 9px 18px; border-radius: var(--pill); font-size: 13px; font-weight: 600; color: var(--accent-deep);
  background: rgba(255, 255, 255, .72); border: 1px solid #fff; -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
}
.hero-promises li::before { content: '✦'; margin-right: 9px; color: var(--sky) }

/* ---------- Boutique ---------- */
.catalogue { padding-top: 28px }
.bespoke-band {
  position: relative; isolation: isolate; overflow: hidden;
  display: grid; grid-template-columns: minmax(200px, 300px) 1fr; gap: clamp(32px, 5vw, 80px); align-items: center;
  padding: clamp(28px, 4vw, 56px) clamp(28px, 5vw, 72px); border-radius: 48px; color: var(--on-night);
  background: linear-gradient(160deg, var(--night-2), var(--night));
  box-shadow: 0 50px 100px -50px rgba(14, 35, 52, .7);
}
.bespoke-band img { width: 100%; aspect-ratio: 4 / 5; border-radius: 28px; border: 6px solid rgba(255, 255, 255, .14); rotate: -4deg; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .6) }
.bespoke-band h2 { margin-bottom: 18px; font-size: clamp(32px, 3.8vw, 56px); color: #fff }
.bespoke-band .eyebrow { color: #9fd0ef }
.bespoke-band p:not(.eyebrow) { max-width: 46ch; margin-bottom: 28px; font-size: 16px; color: var(--on-night-soft) }
.category-tabs {
  position: sticky; top: calc(12px + var(--header-h) + 10px); z-index: 10;
  display: flex; gap: 4px; padding: 6px; overflow-x: auto; scrollbar-width: none; border-radius: 24px;
}
.category-tabs::-webkit-scrollbar { display: none }
.category-tab {
  flex-shrink: 0; padding: 12px 22px; border-radius: 18px; border: 1px solid transparent;
  font-size: 14px; font-weight: 500; white-space: nowrap; color: var(--ink-soft);
  transition: background .25s, color .25s, box-shadow .25s;
}
.category-tab:hover { background: rgba(255, 255, 255, .8); color: var(--accent-deep) }
.category-tab.active {
  background: linear-gradient(180deg, #3d7699, #1f4b67); color: #fff; font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 10px 20px -10px rgba(29, 69, 96, .6);
}

.shop-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-block: 20px 4px }
.search-field { position: relative; display: flex; align-items: center; flex: 1; min-width: 240px }
.search-field svg { position: absolute; left: 18px; width: 20px; height: 20px; color: var(--muted); pointer-events: none }
.search-field input { width: 100%; padding-left: 50px !important }
input:not([type=checkbox], [type=radio]), select, textarea {
  min-width: 0; max-width: 100%; min-height: 50px; padding: 12px 18px;
  border: 1px solid var(--line-strong); border-radius: 16px;
  background: rgba(255, 255, 255, .88); color: var(--ink); font-size: 15px;
  box-shadow: inset 0 1px 2px rgba(29, 69, 96, .05);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
input:not([type=checkbox], [type=radio]):hover, select:hover, textarea:hover { border-color: rgba(40, 92, 124, .42) }
input:not([type=checkbox], [type=radio]):focus, select:focus, textarea:focus { outline: none; background: #fff; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(58, 122, 160, .16) }
input::placeholder, textarea::placeholder { color: #7890a0; opacity: 1 }
select {
  appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 44px;
  background: rgba(255, 255, 255, .88) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23285c7c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 16px center / 16px no-repeat;
}
input[type=checkbox], input[type=radio] { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--accent) }
.stock-filter {
  display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 20px;
  border: 1px solid var(--line-strong); border-radius: 16px; background: rgba(255, 255, 255, .7);
  font-size: 14px; cursor: pointer;
}
.stock-filter:has(:checked) { border-color: var(--accent); background: rgba(227, 242, 253, .9); color: var(--accent-deep) }
.results-line { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 14px 22px; font-size: 14px; color: var(--muted) }

/* Cartes produit */
.product-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px }
.product-card {
  -webkit-backdrop-filter: none; backdrop-filter: none;
  display: flex; flex-direction: column; min-width: 0; padding: 10px 10px 18px;
  border-radius: 28px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.product-card:hover { transform: translateY(-8px); box-shadow: var(--glass-shadow-lg) }
.product-card > a { display: block }
.product-card-image { position: relative; overflow: hidden; border-radius: 20px; background: #e3edf3 }
.product-card-image img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform 1.1s var(--ease) }
.product-card:hover .product-card-image img { transform: scale(1.07) }
.product-card :is(h2, h3) { margin: 18px 10px 6px; font: 400 21px/1.2 var(--serif); font-variation-settings: 'SOFT' 50; letter-spacing: -.01em; text-wrap: balance }
.product-card > p { margin: 0 10px; font-size: 13px; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden }
.product-card-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding: 18px 10px 0; font: 600 17px/1 var(--sans); font-variant-numeric: tabular-nums; color: var(--accent-deep) }
.quick-add {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  border: 1px solid #1a4560; background: linear-gradient(180deg, #3d7699, #1f4b67); color: #fff;
  font-size: 22px; line-height: 1; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 10px 20px -10px rgba(29, 69, 96, .7);
  transition: transform .35s var(--ease), filter .2s;
}
.quick-add:hover:not(:disabled) { transform: rotate(90deg) scale(1.08); filter: brightness(1.1) }
.quick-add:disabled { background: #c9d6df; border-color: #c9d6df; box-shadow: none }
.product-badge {
  position: absolute; top: 12px; left: 12px; padding: 7px 13px; border-radius: var(--pill);
  background: rgba(240, 248, 255, .92); border: 1px solid #fff;
  font-size: 12px; font-weight: 600; color: var(--accent-deep);
}
.product-badge.sold-out { background: rgba(236, 240, 243, .9); color: var(--muted) }
.catalogue-state { grid-column: 1 / -1; padding: clamp(40px, 6vw, 72px) 24px; border-radius: var(--r-lg); text-align: center }
.catalogue-state h1, .catalogue-state h2 { margin-bottom: 14px; font-size: clamp(28px, 3.2vw, 40px) }
.catalogue-state p { max-width: 52ch; margin: 0 auto 24px; color: var(--ink-soft) }
.catalogue-state .text-link { margin: 12px auto 0; display: flex }
.skeleton { position: relative; overflow: hidden; aspect-ratio: 4 / 6; border-radius: 28px; background: #e1edf5 }
.skeleton::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .75) 50%, transparent 70%); transform: translateX(-100%); animation: shimmer 1.6s linear infinite }
@keyframes shimmer { to { transform: translateX(100%) } }

/* ---------- Fiche produit ---------- */
.product-page { padding-bottom: 0 }
.product-layout { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 6vw, 96px); padding-bottom: var(--section) }
.product-media { position: sticky; top: 120px; align-self: start; margin: 0; animation: rise-in 1s var(--ease) both }
.product-image-main { width: 100%; height: auto; aspect-ratio: 4 / 5; max-height: 780px; object-fit: cover; border-radius: var(--r-xl); background: #e3edf3; box-shadow: 0 50px 90px -45px rgba(18, 48, 70, .6) }
.product-skeleton-media { aspect-ratio: 4 / 5; max-height: 780px; border-radius: var(--r-xl) }
.skeleton-line { display: block; aspect-ratio: auto; height: 18px; margin-bottom: 18px; border-radius: 9px }
.skeleton-short { width: 30% }
.skeleton-title { width: 80%; height: 64px; border-radius: 16px }
.skeleton-card { display: block; aspect-ratio: auto; height: 210px; margin-top: 30px; border-radius: 30px }
.product-media-badge { position: absolute; top: 18px; left: 18px; padding: 10px 18px; border-radius: var(--pill); font-size: 13px; font-weight: 600; color: var(--accent-deep) }
.product-copy { align-self: start; padding-top: 16px; animation: rise-in 1s .15s var(--ease) both }
.product-copy .small-label:hover { color: var(--accent-deep) }
.product-copy h1 { margin-bottom: 14px; font-size: clamp(44px, 5vw, 78px); line-height: 1 }
.product-copy .lead { font-size: 18px; color: var(--ink-soft) }
.product-copy .price { margin: 0; font: 300 44px/1 var(--serif); font-variation-settings: 'SOFT' 50; color: var(--accent-deep); font-variant-numeric: tabular-nums }
.stock-note { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; font-size: 14px; font-weight: 500; color: var(--success) }
.stock-note { position: relative }
.stock-note::before { content: ''; flex-shrink: 0; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px color-mix(in srgb, currentColor 18%, transparent) }
.stock-note::after { content: ''; position: absolute; left: 0; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: currentColor; opacity: 0; animation: pulse 2.4s ease-out infinite }
@keyframes pulse { 0% { opacity: .35; transform: scale(1) } 100% { opacity: 0; transform: scale(2.8) } }
.stock-note.unavailable { color: var(--muted) }
.stock-note.unavailable::after { display: none }
.purchase-row { display: flex; gap: 12px; margin-bottom: 18px }
.purchase-row > .button { flex: 1 }
.quantity-picker { display: flex; align-items: center; padding: 4px; border-radius: var(--pill); border: 1px solid var(--line-strong); background: rgba(255, 255, 255, .85) }
.quantity-picker button { min-width: 44px; min-height: 44px; border: 0; border-radius: 50%; background: none; font-size: 20px; color: var(--accent-deep); transition: background .2s }
.quantity-picker button:hover:not(:disabled) { background: var(--ice) }
.quantity-picker input { width: 40px; min-height: 44px !important; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; text-align: center; font-weight: 600; appearance: textfield; -moz-appearance: textfield }
.quantity-picker input::-webkit-inner-spin-button, .quantity-picker input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0 }
.handmade-note { font-size: 13px; color: var(--muted) }
.buy-card { margin: 30px 0 14px; padding: clamp(20px, 2.4vw, 28px); border-radius: 30px }
.price-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; margin-bottom: 22px }
.price-row .stock-note { margin: 0 }
.reassurance { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0 0 32px; padding: 0; list-style: none }
.reassurance li {
  position: relative; display: grid; align-content: center; gap: 2px; padding: 14px 12px 14px 54px; border-radius: 18px;
  background: rgba(255, 255, 255, .55); border: 1px solid rgba(255, 255, 255, .85); font-size: 12px; line-height: 1.4; color: var(--muted);
}
.reassurance strong { font-size: 13px; color: var(--ink) }
.reassurance li::before { content: ''; position: absolute; left: 12px; top: 50%; translate: 0 -50%; width: 32px; height: 32px; border-radius: 50%; background: rgba(179, 217, 242, .6) center / 16px no-repeat }
.reassurance li:nth-child(1)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23285c7c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h11v9H3zM14 9h4l3 3v3h-7'/%3E%3Ccircle cx='7' cy='17' r='2'/%3E%3Ccircle cx='17' cy='17' r='2'/%3E%3C/svg%3E") }
.reassurance li:nth-child(2)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23285c7c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='4' y='11' width='16' height='10' rx='2'/%3E%3Cpath d='M8 11V7a4 4 0 0 1 8 0v4'/%3E%3C/svg%3E") }
.reassurance li:nth-child(3)::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23285c7c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20s-7-4.4-7-10a4 4 0 0 1 7-2.6A4 4 0 0 1 19 10c0 5.6-7 10-7 10z'/%3E%3C/svg%3E") }
.reassurance:not(.reassurance-compact) li { align-content: start; padding: 16px }
.reassurance:not(.reassurance-compact) li::before { position: static; translate: none; margin-bottom: 8px }
.reassurance-compact { grid-template-columns: 1fr; margin: 14px 0 0 }
.buy-bar { display: none }
.product-copy .description { margin-bottom: 26px; font-size: 16px; line-height: 1.85; white-space: pre-line; color: var(--ink-soft) }
.product-copy details { border-top: 1px solid var(--line) }
.product-copy details:last-of-type { border-bottom: 1px solid var(--line) }
.product-copy summary { display: flex; justify-content: space-between; align-items: center; min-height: 62px; list-style: none; cursor: pointer; font-size: 16px; font-weight: 600 }
.product-copy summary::-webkit-details-marker { display: none }
.product-copy summary::after { content: '+'; font-size: 24px; font-weight: 300; color: var(--accent); transition: transform .4s var(--ease) }
.product-copy details[open] summary::after { transform: rotate(45deg) }
.product-copy details p { padding-bottom: 22px; font-size: 15px; line-height: 1.8; white-space: pre-line; color: var(--ink-soft) }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 110px); align-items: start }
.contact-intro { position: sticky; top: 130px }
.contact-intro h1 { margin-bottom: 26px; font-size: clamp(50px, 6.4vw, 100px); line-height: .96; color: var(--accent-deep) }
.contact-intro .lead { max-width: 38ch; margin-bottom: 36px; color: var(--ink-soft); animation: rise-in 1s .7s var(--ease) both }
.contact-channels { display: grid; gap: 12px; max-width: 470px; margin: 0; padding: 0; list-style: none; animation: rise-in 1s .85s var(--ease) both }
.channel { display: flex; align-items: center; gap: 16px; padding: 12px 16px 12px 12px; border-radius: 24px; transition: transform .4s var(--ease) }
.channel:hover { transform: translateY(-3px) }
.channel > span:nth-child(2) { flex: 1; min-width: 0 }
.channel small { display: block; font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent) }
.channel strong { display: block; font-size: 15px; font-weight: 600; overflow-wrap: anywhere }
.channel-icon { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 17px; background: linear-gradient(180deg, #3d7699, #1f4b67); color: #fff; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 10px 20px -10px rgba(29, 69, 96, .6) }
.channel-icon svg { width: 22px; height: 22px }
.channel:hover .chip-arrow { transform: translateX(3px) }
.contact-form { padding: clamp(26px, 4vw, 44px); border-radius: var(--r-xl); background: var(--glass-strong); animation: rise-in 1s .3s var(--ease) both }
.form-author { display: flex; align-items: center; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--line) }
.form-author img { width: 58px; height: 58px; border-radius: 50%; object-position: 50% 16%; box-shadow: 0 0 0 3px #fff, 0 10px 20px -10px rgba(29, 69, 96, .5) }
.form-author h2 { font-size: clamp(26px, 2.6vw, 34px) }
.form-author p { font-size: 14px; color: var(--muted) }
.contact-tips { padding-top: var(--section) }
.tips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none }
.tips li { padding: 32px 28px; border-radius: var(--r-lg) }
.tips .step-number { margin-bottom: 26px; font-size: 52px; background-image: linear-gradient(160deg, #5aa6d4, #1d4560) }
.tips h3 { margin-bottom: 10px; font: 400 24px/1.2 var(--serif); font-variation-settings: 'SOFT' 50 }
.tips p { font-size: 15px; color: var(--ink-soft) }
.contact-form label { display: block; margin: 22px 0 8px; font-size: 14px; font-weight: 600 }
.contact-form input, .contact-form select, .contact-form textarea { width: 100% }
.contact-form textarea { min-height: 160px }
.form-note { margin-block: 16px }
.contact-form .button { width: 100%; margin-top: 4px }
#form-message { margin-top: 16px; font-size: 14px }
#form-message:empty { display: none }
.form-error { color: var(--danger) }
.form-success { color: var(--success) }

/* ---------- Panier (tiroir) ---------- */
.cart-dialog {
  position: fixed; inset: 12px 12px 12px auto; margin: 0;
  width: min(470px, 100% - 24px); max-width: none; height: auto; max-height: none; padding: 0;
  border-radius: 32px; color: var(--ink);
  background: linear-gradient(160deg, rgba(250, 253, 255, .9), rgba(228, 242, 252, .82));
  box-shadow: var(--glass-shadow-lg);
}
.cart-dialog[open] { display: flex; flex-direction: column; animation: drawer-in .55s var(--ease) }
.cart-dialog::backdrop { background: rgba(14, 35, 52, .32); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: fade-in .35s ease-out }
.cart-heading { display: flex; align-items: center; justify-content: space-between; padding: 28px 28px 20px; border-bottom: 1px solid var(--line) }
.cart-heading .small-label { margin-bottom: 6px }
.cart-heading h2 { font-size: 38px }
.cart-heading .icon-button { background: rgba(255, 255, 255, .85); box-shadow: inset 0 1px 0 #fff, 0 6px 14px -8px rgba(29, 69, 96, .4) }
.cart-items { flex: 1; overflow-y: auto; padding: 8px 28px; overscroll-behavior: contain }
.cart-item { display: grid; grid-template-columns: 84px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); animation: rise-in .5s var(--ease) both }
.cart-item:last-child { border-bottom: 0 }
.cart-item img { width: 84px; height: 104px; border-radius: 16px }
.cart-item-info { min-width: 0 }
.cart-item h3 { font: 400 20px/1.25 var(--serif); font-variation-settings: 'SOFT' 50; overflow-wrap: anywhere }
.cart-item h3 a:hover { color: var(--accent) }
.cart-item-price { margin: 4px 0 10px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums }
.cart-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px }
.cart-controls button:not(.cart-remove) { min-width: 36px; min-height: 36px; border: 1px solid var(--line-strong); border-radius: 50%; background: #fff; font-size: 16px; color: var(--accent-deep) }
.cart-controls button:not(.cart-remove):hover { background: var(--ice) }
.cart-controls > span { min-width: 22px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums }
.cart-controls .cart-remove { margin-left: auto; padding: 4px 0; border: 0; background: none; font-size: 13px; color: var(--muted); text-decoration: underline; text-underline-offset: 4px }
.cart-controls .cart-remove:hover { color: var(--danger) }
.cart-empty { padding: 56px 12px; text-align: center }
.cart-empty > span { display: grid; place-items: center; width: 80px; height: 80px; margin: 0 auto 20px; border-radius: 50%; background: rgba(179, 217, 242, .5); color: var(--accent); font-size: 32px; box-shadow: inset 0 1px 0 #fff }
.cart-empty h3 { margin-bottom: 12px; font: 400 28px/1.2 var(--serif); font-variation-settings: 'SOFT' 50 }
.cart-empty p { max-width: 32ch; margin: 0 auto 24px; color: var(--muted) }
.cart-bottom { padding: 22px 28px 26px; border-top: 1px solid var(--line); background: rgba(255, 255, 255, .55); border-radius: 0 0 32px 32px }
#cart-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 16px; font-weight: 600 }
#cart-total span:last-child { font: 400 30px/1 var(--serif); color: var(--accent-deep); font-variant-numeric: tabular-nums }
#cart-total:empty { display: none }
.cart-bottom .muted { margin: 8px 0 18px }
.cart-bottom .button { width: 100%; margin-bottom: 8px }
.cart-bottom > .text-link { display: flex; margin: auto }
.cart-problem { padding: 8px 0; font-size: 13px; color: var(--danger) }

.toast-container { position: fixed; bottom: 24px; left: 50%; z-index: 50; transform: translateX(-50%); display: flex; flex-direction: column; gap: 10px; width: max-content; max-width: calc(100% - 32px); pointer-events: none }
.toast {
  padding: 15px 24px; border-radius: var(--pill); border: 1px solid rgba(255, 255, 255, .2);
  background: rgba(14, 35, 52, .88); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  color: #fff; font-size: 14px; font-weight: 500; box-shadow: 0 20px 44px -16px rgba(14, 35, 52, .6);
  animation: toast-in .5s var(--ease);
}
.toast.error { background: rgba(146, 44, 56, .92) }
@keyframes drawer-in { from { transform: translateX(calc(100% + 24px)) } to { transform: none } }
@keyframes fade-in { from { opacity: 0 } }
@keyframes toast-in { from { opacity: 0; transform: translateY(14px) scale(.95) } }

/* ---------- Commande ---------- */
.checkout-container { width: min(1180px, 100% - 2 * var(--gutter)); margin: auto; padding: 8px 0 0 }
.checkout-progress { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 36px; padding: 0; list-style: none; counter-reset: step }
.checkout-progress li { counter-increment: step; display: flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border-radius: var(--pill); border: 1px solid rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .55); font-size: 13px; font-weight: 600; color: var(--muted) }
.checkout-progress li::before { content: counter(step); display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(179, 217, 242, .6); font-size: 12px; color: var(--accent-deep) }
.checkout-progress li.done::before { content: '✓'; background: rgba(47, 107, 79, .14); color: var(--success) }
.checkout-progress li[aria-current] { border-color: #1a4560; background: linear-gradient(180deg, #3d7699, #1f4b67); color: #fff; box-shadow: 0 10px 20px -10px rgba(29, 69, 96, .6) }
.checkout-progress li[aria-current]::before { background: rgba(255, 255, 255, .2); color: #fff }
.checkout-progress a:hover { color: var(--accent) }
.checkout-title { margin-bottom: 14px; font-size: clamp(42px, 5vw, 72px) }
#checkout-status { padding: 4px 0 24px; font-size: 14px; color: var(--accent) }
#checkout-status:empty { padding: 0 0 24px }
.checkout-content { display: grid; grid-template-columns: 1.35fr 1fr; gap: clamp(24px, 4vw, 48px); align-items: start }
.checkout-form-section { display: grid; gap: 16px }
.form-card { padding: clamp(24px, 3vw, 34px); border-radius: var(--r-lg) }
.form-card-title { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; font: 400 26px/1.2 var(--serif); font-variation-settings: 'SOFT' 50 }
.form-card-title svg { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: rgba(179, 217, 242, .5); color: var(--accent); box-shadow: inset 0 1px 0 #fff }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px }
.form-group { margin-bottom: 16px }
.form-group:last-child { margin-bottom: 0 }
.form-group label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 600 }
.form-group input:not([type=checkbox], [type=radio]), .form-group select, .form-group textarea { width: 100% }
textarea { resize: none } /* pas de poignée d'agrandissement dans le coin */
.field-error { display: none; margin-top: 6px; font-size: 13px; color: var(--danger) }
.phone-row { display: flex; gap: 10px }
.phone-prefix-container { position: relative; width: 132px; flex-shrink: 0 }
.phone-prefix-container select { width: 100%; padding-left: 50px }
.country-flag-icon { position: absolute; left: 16px; top: 50%; z-index: 1; width: 24px; height: 16px; transform: translateY(-50%); object-fit: cover; border-radius: 3px; pointer-events: none }
.phone-row input { flex: 1 }
.shipping-options { display: grid; gap: 10px }
.shipping-option, .payment-option {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px; cursor: pointer;
  border: 1px solid var(--line-strong); border-radius: var(--r-md); background: rgba(255, 255, 255, .7);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.shipping-option:hover, .payment-option:hover { border-color: rgba(40, 92, 124, .45) }
.shipping-option:has(:checked), .payment-option:has(:checked) { border-color: var(--accent); background: #fff; box-shadow: 0 0 0 3px rgba(58, 122, 160, .14) }
.shipping-info { flex: 1 }
.shipping-name { font-size: 15px; font-weight: 600 }
.shipping-time { font-size: 13px; color: var(--muted) }
.shipping-price { font-size: 14px; font-weight: 600; color: var(--success) }
.payment-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-bottom: 18px }
.payment-option { padding: 14px; font-size: 14px; font-weight: 500 }
.payment-info { display: flex; align-items: center; gap: 10px }
.payment-info svg { width: 24px; height: 24px; color: var(--accent) }
.payment-info img { height: 24px; width: auto; object-fit: contain }
.StripeElement { min-height: 52px; padding: 16px 18px; border: 1px solid var(--line-strong); border-radius: 16px; background: #fff }
.StripeElement--focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(58, 122, 160, .16) }
.stripe-error { margin-top: 8px; font-size: 13px }
.order-summary { position: sticky; top: 120px }
.summary-card { padding: clamp(24px, 3vw, 34px); border-radius: var(--r-xl); background: var(--glass-strong) }
.summary-title { margin-bottom: 18px; font: 400 30px/1.2 var(--serif); font-variation-settings: 'SOFT' 50 }
.order-items { max-height: 340px; overflow-y: auto }
.order-item { display: flex; align-items: center; gap: 14px; padding: 12px 0 }
.order-item + .order-item { border-top: 1px solid var(--line) }
.order-item-image { width: 58px; height: 72px; border-radius: 13px; object-fit: cover }
.order-item-info { flex: 1; min-width: 0 }
.order-item-name { font-size: 14px; font-weight: 600; overflow-wrap: anywhere }
.order-item-qty { font-size: 13px; color: var(--muted) }
.order-item-price { font-size: 14px; font-weight: 600; white-space: nowrap; font-variant-numeric: tabular-nums }
.summary-line, .summary-total { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 6px 0; font-size: 14px; font-variant-numeric: tabular-nums }
.summary-line span:first-child { color: var(--muted) }
.summary-total { padding-top: 4px; font-size: 16px; font-weight: 700; color: var(--accent-deep) }
.summary-total span:last-child { font: 400 34px/1 var(--serif) }
.summary-divider { height: 1px; margin: 14px 0; background: var(--line) }
.btn-order { width: 100%; margin-top: 22px }
.btn-order svg { width: 20px; height: 20px }
.secure-payment { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 14px; font-size: 13px; color: var(--muted) }
.secure-payment svg { width: 15px; height: 15px }

/* ---------- Listes déroulantes (select personnalisable, Chromium 135+) ----------
   Ailleurs, le champ fermé garde le style ci-dessus et la liste reste celle du système. */
@supports (appearance: base-select) {
  select, ::picker(select) { appearance: base-select }
  select { display: inline-flex; align-items: center; gap: 12px; padding-right: 16px; white-space: nowrap; background-image: none }
  /* Chromium ne zoome pas au focus : le 16 px imposé pour iOS (qui garde la liste native) peut se relâcher ici. */
  @media (max-width: 600px) { .shop-toolbar select { gap: 6px; padding-inline: 14px 12px; font-size: 14px } }
  select::picker-icon { content: ''; flex-shrink: 0; width: 16px; height: 16px; margin-left: auto; background: var(--accent); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat; transition: rotate .35s var(--ease) }
  select:open { background-color: #fff; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(58, 122, 160, .16) }
  select:open::picker-icon { rotate: 180deg }
  ::picker(select) {
    margin-block: 8px; padding: 6px; max-block-size: min(340px, 55vh); overflow-y: auto;
    border: 1px solid rgba(255, 255, 255, .95); border-radius: 20px;
    background: linear-gradient(160deg, rgba(250, 253, 255, .95), rgba(230, 243, 252, .9));
    -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); box-shadow: var(--glass-shadow-lg);
    opacity: 0; translate: 0 -8px; scale: .98; transform-origin: top;
    transition: opacity .22s, translate .3s var(--ease), scale .3s var(--ease), display .3s allow-discrete, overlay .3s allow-discrete;
  }
  select:open::picker(select) { opacity: 1; translate: 0 0; scale: 1 }
  @starting-style { select:open::picker(select) { opacity: 0; translate: 0 -8px; scale: .98 } }
  option { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 10px 14px; border-radius: 14px; font-size: 14px; color: var(--ink); cursor: pointer; transition: background-color .15s, color .15s }
  option:hover, option:focus-visible { background: rgba(179, 217, 242, .45); color: var(--accent-deep); outline: none }
  option:checked { background: linear-gradient(180deg, #3d7699, #1f4b67); color: #fff; font-weight: 600 }
  option:checked:focus-visible { outline: 2px solid #fff; outline-offset: -4px }
  option::checkmark { order: 1; margin-left: auto }
  option img { width: 22px; height: 15px; border-radius: 3px; object-fit: cover }
}

/* ---------- Apparitions au défilement (CSS natif, sans JS) ---------- */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .tile, .product-card, .night .steps li, .maker-photo, .maker-copy, .bespoke-panel, .faq-list details, .manifesto-tags li, .section-heading, .about-gallery img, .tips li, .bespoke-band, .about-columns {
      animation: reveal linear both;
      animation-timeline: view();
      animation-range: entry 0% entry 55%;
    }
    .manifesto-text .word { opacity: .16; animation: word-in linear both; animation-timeline: view(); animation-range: entry 70% cover 42% }
    .footer-signature { animation: signature linear both; animation-timeline: view(); animation-range: entry 0% cover 50% }
  }
}
@keyframes reveal { from { opacity: 0; translate: 0 48px; scale: .97 } to { opacity: 1; translate: 0 0; scale: 1 } }
@keyframes word-in { to { opacity: 1 } }
@keyframes signature { from { opacity: 0; translate: 0 30% } to { opacity: 1; translate: 0 0 } }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .site-nav a { padding: 10px 11px; font-size: 13px }
  .site-header { gap: 14px }
  .hero-panel { width: min(600px, 66%) }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) }
  .steps { grid-template-columns: repeat(2, 1fr) }
  .maker-quote { right: -6% }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 36px }
}

/* Écrans d'ordinateur peu hauts : moins d'air sous le menu, pour que le héros tienne avec sa bande libre. */
@media (min-width: 861px) and (max-height: 820px) {
  .hero-inner { padding-top: calc(var(--header-h) + var(--header-gap) + 20px) }
}

/* Menu déroulant jusqu'à 939 px : six liens ne tiennent pas sur une ligne en dessous. */
@media (max-width: 939px) {
  .menu-toggle { display: inline-flex }
  .site-nav {
    display: none; position: absolute; top: calc(100% + 8px); left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 2px; padding: 10px;
    border-radius: 24px; border: 1px solid #fff;
    background: linear-gradient(160deg, rgba(250, 253, 255, .97), rgba(232, 244, 252, .95));
    box-shadow: var(--glass-shadow-lg);
  }
  .site-nav.open { display: flex; animation: toast-in .35s var(--ease) }
  .site-nav a { padding: 15px 18px; border-radius: 16px; font-size: 17px }
  .nav-long { display: inline }
  .nav-short { display: none }
}

@media (max-width: 860px) {
  :root { --header-h: 72px; --header-gap: 30px }
  .site-header { top: 8px; width: calc(100% - 20px); margin-bottom: 18px; padding: 0 8px 0 18px; border-radius: 24px }
  .is-scrolled .site-header { width: calc(100% - 20px) }
  body:is([data-page=index], [data-page=boutique]) .site-header { margin-top: 12px }
  .wordmark { width: 92px }
  .wordmark img { max-height: 58px }
  .hero-inner { flex-direction: column; align-items: stretch; justify-content: flex-end }
  .hero-panel { width: 100% }
  .hero-chip { align-self: flex-start }
  .bento { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px }
  .tile-xl { grid-column: 1 / -1; grid-row: span 2 }
  .collection-grid, .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px }
  .faq-section, .about-hero-grid, .contact-layout, .product-layout, .checkout-content, .maker, .bespoke-panel { grid-template-columns: 1fr }
  .section-heading { flex-direction: column; align-items: start; gap: 18px }
  .maker-photo { max-width: 460px }
  .maker-quote { right: -4%; bottom: -6% }
  .maker-copy { padding-top: 40px }
  .about-portrait { max-width: 480px }
  .about-chip { left: 16px }
  .about-columns { grid-template-columns: 1fr }
  .about-gallery { grid-template-columns: 1fr 1fr }
  .about-gallery img:nth-child(even) { margin-top: 40px }
  .steps.steps-3, .tips, .reassurance { grid-template-columns: 1fr }
  .contact-intro { position: static }
  .product-media { position: relative; top: 0 }
  .bespoke-band { grid-template-columns: 1fr }
  .bespoke-band img { width: 200px }
  .buy-bar {
    position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 30;
    display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 20px;
    border-radius: 24px; border: 1px solid #fff; background: linear-gradient(135deg, rgba(255, 255, 255, .94), rgba(232, 244, 252, .88));
    box-shadow: var(--glass-shadow-lg);
    translate: 0 140%; transition: translate .5s var(--ease);
  }
  .buy-bar.is-visible { translate: 0 0 }
  body:has(.buy-bar.is-visible) .site-footer { margin-bottom: 96px }
  .reassurance:not(.reassurance-compact) li { padding: 14px 14px 14px 58px }
  .reassurance:not(.reassurance-compact) li::before { position: absolute; translate: 0 -50%; margin: 0 }
  .buy-bar > div { min-width: 0 }
  .buy-bar strong { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font: 400 17px/1.25 var(--serif) }
  .buy-bar span { font-size: 14px; font-weight: 600; color: var(--accent-deep) }
  .buy-bar .button { flex-shrink: 0; min-height: 48px; padding: 12px 20px }
  .product-image-main { position: static; max-height: 600px }
  .order-summary { position: static }
  .category-tabs { position: static }
  .site-footer, .night { width: calc(100% - 20px); border-radius: 36px }
}

@media (max-width: 600px) {
  :root { --gutter: 16px }
  body { font-size: 15px }
  .announcement { padding: 8px 14px; font-size: 11px }
  .site-header { gap: 8px }
  .search-link, .cart-label { display: none }
  .cart-button { padding: 6px; gap: 6px }
  .hero { min-height: max(620px, 100svh) }
  .hero-media { border-radius: 0 0 32px 32px }
  .hero-media img { object-position: 78% 40% }
  .hero-media::after { background: linear-gradient(180deg, rgba(214, 234, 248, .55) 0%, transparent 25%, transparent 45%, rgba(214, 234, 248, .6) 100%) }
  .hero-inner { padding-bottom: 16px }
  .hero-panel { padding: 26px 22px 24px; border-radius: 28px }
  .hero-panel h1 { font-size: clamp(40px, 11.5vw, 50px) }
  .hero-lead { margin: 16px 0 22px; font-size: 15px }
  .hero-actions .button { width: 100% }
  .hero-chip { display: none }
  .marquee span { font-size: 30px }
  .manifesto-text { font-size: clamp(28px, 8vw, 36px) }
  .bento { gap: 12px; grid-auto-rows: 190px }
  .hero-actions .button-glass { display: none }
  .tile-label { left: 8px; right: 8px; bottom: 8px; padding: 12px 12px 12px 14px; border-radius: 16px }
  .tile-label strong { font-size: 17px }
  .tile-xl .tile-label strong { font-size: 26px }
  .tile-arrow { width: 34px; height: 34px }
  .tile:not(.tile-xl) .tile-arrow { display: none }
  .steps { grid-template-columns: 1fr }
  .liquid-dark { padding: 26px 22px }
  .step-number { margin-bottom: 20px; font-size: 48px }
  .maker-photo img { border-radius: 160px 160px 28px 28px }
  .maker-quote { position: relative; right: auto; bottom: auto; width: auto; margin: -60px 16px 0; font-size: 19px }
  .bespoke-panel { padding: 30px 20px; border-radius: 32px }
  .bespoke-visual { height: 300px }
  .faq-list summary { padding: 14px 16px 14px 20px; font-size: 15px }
  .faq-list p { padding: 0 20px 18px }
  .footer-main { grid-template-columns: 1fr 1fr; gap: 28px 16px; padding-block: 44px 20px }
  .footer-brand, .footer-social { grid-column: 1 / -1 }
  .footer-main > div { min-width: 0 }
  .footer-main a { overflow-wrap: anywhere }
  .footer-bottom { flex-direction: column; gap: 4px }
  .breadcrumb { padding-bottom: 22px }
  .shop-toolbar { gap: 8px }
  .search-field { flex-basis: 100%; min-width: 0 }
  .shop-toolbar > label:not(.search-field) { flex: 1 1 calc(50% - 4px) }
  .shop-toolbar select { width: 100% }
  .stock-filter { order: 4; flex-basis: 100% !important; justify-content: center }
  .collection-grid, .product-grid { gap: 12px }
  .product-card { padding: 6px 6px 12px; border-radius: 20px }
  .product-card-image { border-radius: 15px }
  .product-card :is(h2, h3) { margin: 12px 6px 4px; font-size: 18px }
  .product-card > p { margin-inline: 6px; font-size: 12px }
  .product-card-bottom { padding: 12px 6px 0; font-size: 15px }
  .quick-add { width: 40px; height: 40px }
  .product-badge { top: 8px; left: 8px; padding: 4px 9px; font-size: 11px }
  .about-portrait img { border-radius: 160px 160px 28px 28px }
  .about-chip { left: 12px; bottom: 12px; padding: 14px 18px }
  .about-gallery { gap: 10px }
  .about-gallery img { border-radius: 18px }
  .page-hero { min-height: 520px }
  .page-hero-media img { object-position: 80% 50% }
  .checkout-progress li:not([aria-current]) { padding: 5px }
  .checkout-progress li:not([aria-current]) > * { display: none }
  .checkout-progress { gap: 4px }
  .checkout-progress li[aria-current] { padding-right: 12px; font-size: 12px; white-space: nowrap }
  .page-hero-media { border-radius: 0 0 32px 32px }
  .page-hero-media::after { background: linear-gradient(180deg, rgba(214, 234, 248, .6) 0%, transparent 30%, rgba(214, 234, 248, .55) 100%) }
  .page-hero-panel { padding: 24px 22px; border-radius: 28px }
  .page-hero-panel h1 { font-size: clamp(40px, 11vw, 50px) }
  .page-hero-lead { font-size: 15px }
  .hero-promises li { padding: 7px 13px; font-size: 12px }
  .bespoke-band { padding: 28px 22px 34px; border-radius: 32px }
  .bespoke-band img { width: 160px }
  .channel strong { font-size: 14px }
  .tips li { padding: 26px 22px }
  .purchase-row { flex-wrap: wrap }
  .contact-form input, .contact-form select, .contact-form textarea, .form-group input:not([type=checkbox], [type=radio]), .form-group select, .form-group textarea, .shop-toolbar input, .shop-toolbar select { font-size: 16px }
  .cart-dialog { inset: 8px 8px 8px auto; width: calc(100% - 16px); border-radius: 26px }
  .cart-heading, .cart-items, .cart-bottom { padding-inline: 20px }
  .form-grid { grid-template-columns: 1fr }
  .payment-options { grid-template-columns: 1fr }
  .phone-prefix-container { width: 116px }
  .contact-band { border-radius: 32px }
  .site-footer, .night { border-radius: 30px }
}

/* Assistant de l'atelier (scripts/chat.js). Petit bouton de verre ; panneau opaque, sans flou
   (un flou fixe se recalcule à chaque image du défilement). */
.chat-launcher {
  position: fixed; right: 22px; bottom: 22px; z-index: 35;
  display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 22px 0 18px;
  border: 1px solid rgba(255, 255, 255, .95); border-radius: var(--pill);
  background: var(--glass-strong); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow-lg); color: var(--accent-deep); font: 600 14px/1 var(--sans); cursor: pointer;
  transition: transform .35s var(--ease), translate .45s var(--ease), opacity .25s var(--ease);
  animation: chat-arrive .7s var(--ease) 1.2s both;
}
.chat-launcher svg { width: 24px; height: 24px; flex-shrink: 0 }
.chat-launcher:hover { transform: translateY(-2px) }
.chat-launcher:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px }
@keyframes chat-arrive { from { opacity: 0; transform: translateY(16px) scale(.92) } }
.chat-open .chat-launcher, .chat-launcher.chat-away { opacity: 0; pointer-events: none; transform: scale(.9) }
/* Au-dessus de la barre d'achat mobile de la fiche produit, et du bouton de commande quand le panier est ouvert. */
body:has(.buy-bar.is-visible) .chat-launcher { translate: 0 -86px }

.chat-panel {
  position: fixed; right: 22px; bottom: 22px; z-index: 36;
  display: flex; flex-direction: column; width: min(400px, calc(100vw - 32px)); height: min(640px, calc(100dvh - 44px));
  overflow: hidden; border: 1px solid rgba(255, 255, 255, .95); border-radius: 30px;
  background: linear-gradient(165deg, #fbfdff, #eaf5fc);
  box-shadow: var(--glass-shadow-lg), 0 2px 0 rgba(255, 255, 255, .6);
  transform-origin: bottom right; animation: chat-open .45s var(--ease);
}
.chat-panel[hidden] { display: none }
.chat-panel:focus { outline: none }
@keyframes chat-open { from { opacity: 0; transform: translateY(14px) scale(.96) } }

.chat-head {
  display: flex; align-items: center; gap: 12px; padding: 16px 12px 16px 18px;
  background: linear-gradient(135deg, var(--night-2), var(--night)); color: var(--on-night);
}
.chat-head img { width: 44px; height: 44px; flex-shrink: 0; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px rgba(231, 242, 250, .35) }
.chat-head div { flex: 1; min-width: 0 }
.chat-head h2 { margin: 0; font: 400 19px/1.15 var(--serif); letter-spacing: -.01em; color: #fff }
.chat-head p { margin: 4px 0 0; font-size: 12px; color: var(--on-night-soft) }
.chat-head p::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: #7fd3a6; vertical-align: 1px }
.chat-icon {
  display: grid; place-items: center; width: 38px; height: 38px; flex-shrink: 0; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: var(--on-night); cursor: pointer; transition: background-color .2s;
}
.chat-icon:hover { background: rgba(255, 255, 255, .12) }
.chat-icon:focus-visible { outline: 2px solid var(--pastel); outline-offset: 1px }
.chat-icon svg { width: 20px; height: 20px }

.chat-thread { flex: 1; display: flex; flex-direction: column; gap: 12px; padding: 18px 16px 8px; overflow-y: auto; overscroll-behavior: contain; scroll-behavior: smooth }
.chat-row { display: flex; flex-direction: column; gap: 8px; max-width: 88%; animation: chat-message .4s var(--ease) both }
@keyframes chat-message { from { opacity: 0; transform: translateY(8px) } }
.chat-bot { align-self: flex-start }
.chat-user { align-self: flex-end; align-items: flex-end }
.chat-bubble { padding: 12px 15px; border-radius: 20px; font-size: 14px; line-height: 1.55; overflow-wrap: anywhere }
.chat-bot .chat-bubble { border: 1px solid var(--line); border-bottom-left-radius: 6px; background: #fff; color: var(--ink); box-shadow: 0 8px 20px -14px rgba(29, 69, 96, .35) }
.chat-user .chat-bubble { border-bottom-right-radius: 6px; background: linear-gradient(160deg, #3d7699, #24597c); color: #fff }

.chat-typing { flex-direction: row; gap: 5px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 20px; border-bottom-left-radius: 6px; background: #fff }
.chat-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-bright); animation: chat-dot 1s ease-in-out infinite }
.chat-typing span:nth-child(2) { animation-delay: .15s }
.chat-typing span:nth-child(3) { animation-delay: .3s }
@keyframes chat-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0) } 40% { opacity: 1; transform: translateY(-3px) } }

.chat-product {
  display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px;
  border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, .9); color: var(--ink); text-decoration: none;
  transition: border-color .2s, transform .3s var(--ease);
}
.chat-product:hover { border-color: var(--line-strong); transform: translateX(3px) }
.chat-product img { width: 52px; height: 66px; flex-shrink: 0; border-radius: 12px; object-fit: cover; background: var(--ice) }
.chat-product > span:not(.chat-product-arrow) { display: flex; flex-direction: column; gap: 3px; flex: 1; min-width: 0 }
.chat-product strong { font: 400 16px/1.2 var(--serif) }
.chat-product > span > span { font-size: 13px; font-weight: 600; color: var(--accent) }
.chat-product-arrow { color: var(--accent-bright) }

.chat-links { display: flex; flex-wrap: wrap; gap: 6px }
.chat-links :is(a, button), .chat-chip {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px;
  border: 1px solid var(--line-strong); border-radius: var(--pill); background: #fff;
  color: var(--accent-deep); font: 600 13px/1.2 var(--sans); text-decoration: none; cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.chat-links :is(a, button):hover, .chat-chip:hover { border-color: var(--accent); background: var(--ice) }
.chat-chips { display: flex; gap: 6px; padding: 4px 16px 10px; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent) }
.chat-chips:empty { display: none }
.chat-chip { flex-shrink: 0; background: rgba(255, 255, 255, .75) }

.chat-form { display: grid; gap: 10px; padding: 14px; border: 1px solid var(--line); border-radius: 20px; background: #fff; animation: chat-message .4s var(--ease) both }
.chat-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 600; color: var(--ink-soft) }
.chat-form :is(input, textarea) { width: 100%; font-size: 16px }
.chat-form-actions { display: flex; align-items: center; gap: 14px }
.chat-form .button { min-height: 44px; padding: 10px 20px }
.chat-form-status { margin: 0; font-size: 13px; color: var(--danger) }
.chat-form-status:empty { display: none }

.chat-compose { display: flex; gap: 8px; padding: 10px 12px 12px; border-top: 1px solid var(--line) }
.chat-compose input { flex: 1; min-width: 0; min-height: 48px; border-radius: var(--pill); font-size: 16px }
.chat-compose button {
  display: grid; place-items: center; width: 48px; height: 48px; flex-shrink: 0; padding: 0;
  border: 0; border-radius: 50%; background: linear-gradient(180deg, #3d7699, #1f4b67); color: #fff; cursor: pointer;
  box-shadow: 0 10px 20px -10px rgba(29, 69, 96, .7); transition: transform .25s var(--ease);
}
.chat-compose button:hover { transform: scale(1.05) }
.chat-compose button svg { width: 20px; height: 20px }

@media (max-width: 600px) {
  .chat-launcher { right: 14px; bottom: 14px; width: 56px; padding: 0; justify-content: center }
  .chat-launcher span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0) }
  body:has(.buy-bar.is-visible) .chat-launcher { translate: 0 -80px }
  .chat-panel { inset: auto 8px 8px; width: auto; height: min(680px, calc(100dvh - 16px)); border-radius: 26px }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important }
  .marquee-track { animation: none }
}

@media (hover: none) {
  .product-card:hover, .button:hover, .btn-order:hover, .liquid-dark:hover { transform: none }
  .product-card:hover .product-card-image img, .tile:hover img { transform: none }
}
