/* polices des versets (fichiers locaux, aussi utilisés pour l'export SVG) */
@font-face { font-family: 'Kaushan Script'; src: url('/assets/fonts/KaushanScript-Regular.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'Caveat Verset'; src: url('/assets/fonts/Caveat-500.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'Playfair Verset'; src: url('/assets/fonts/PlayfairDisplay-500Italic.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'Cinzel Verset'; src: url('/assets/fonts/Cinzel-500.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'Montserrat Verset'; src: url('/assets/fonts/Montserrat-500.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'Amatic Verset'; src: url('/assets/fonts/AmaticSC-700.ttf') format('truetype'); font-display: swap; }
@font-face { font-family: 'Special Elite'; src: url('/assets/fonts/SpecialElite-Regular.ttf') format('truetype'); font-display: swap; }
/* Gourdes Gospel Center — design inspiré des pages produit Apple :
   grands titres serrés, fonds noir / blanc / gris clair, tuiles arrondies, une seule couleur d'action (bleu). */
:root {
  color-scheme: light;
  --black: #000;
  --ink: #1d1d1f;
  --gray: #6e6e73;
  --gray-2: #86868b;
  --bg-gray: #f5f5f7;
  --white: #fff;
  --line: #d2d2d7;
  --line-soft: rgba(0, 0, 0, .08);
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --blue-link: #0066cc;
  --blue-dark-link: #2997ff;
  --brand-red: #e52639;
  --radius: 28px;
  --radius-sm: 18px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  --script: "Parisienne", cursive;
  --nav-h: 48px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--white);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-size: 17px; line-height: 1.47; letter-spacing: -.022em; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; letter-spacing: inherit; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: 1024px; margin: 0 auto; padding-inline: max(22px, env(safe-area-inset-left, 0px)); }

/* ---------- Actions ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 0 22px; border-radius: 980px; background: var(--blue); color: #fff;
  font-size: 17px; font-weight: 500; letter-spacing: -.01em; border: 0; cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.pill:hover { background: var(--blue-hover); }
.pill:active { transform: scale(.98); }
.pill-small { min-height: 28px; padding: 0 12px; font-size: 12px; font-weight: 500; }
.link { color: var(--blue-dark-link); font-size: 17px; display: inline-flex; align-items: center; gap: .15em; }
.link::after { content: "›"; font-size: 1.15em; line-height: 1; transform: translateY(-1px); }
.link:hover { text-decoration: underline; }
.block-gray .link, .block-white .link { color: var(--blue-link); }

/* ---------- Navigation (verre dépoli) ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 30; height: calc(var(--nav-h) + env(safe-area-inset-top, 0px));
  padding-top: env(safe-area-inset-top, 0px);
  background: rgba(22, 22, 23, .72); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  color: #f5f5f7; transition: background .3s ease, color .3s ease;
}
.nav.light { background: rgba(251, 251, 253, .8); color: var(--ink); border-bottom: 1px solid var(--line-soft); }
.nav-inner { max-width: 1024px; height: var(--nav-h); margin: 0 auto; padding-inline: max(22px, env(safe-area-inset-left, 0px)); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.brand-mark { width: 22px; height: 21px; color: var(--brand-red); flex: none; }
.nav-links { display: flex; gap: 34px; font-size: 12px; }
.nav-links a { opacity: .8; transition: opacity .2s; }
.nav-links a:hover { opacity: 1; }

/* ---------- Hero ---------- */
.hero {
  position: relative; background: var(--black); color: #f5f5f7; overflow: hidden; text-align: center;
  padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 56px) 0 64px;
}
.hero::before {
  content: ""; position: absolute; left: 50%; top: 52%; width: 900px; height: 900px; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgb(var(--glow, 40 70 220) / .28) 0%, rgb(var(--glow, 40 70 220) / .08) 35%, transparent 65%);
  pointer-events: none;
}
.hero-copy { position: relative; z-index: 2; padding-inline: 22px; }
.hero-kicker { margin: 0 0 6px; font-size: 21px; font-weight: 600; color: #f5f5f7; letter-spacing: .004em; }
.hero h1 {
  margin: 0; font-size: clamp(56px, 10vw, 96px); line-height: 1.02; font-weight: 700; letter-spacing: -.035em; text-wrap: balance;
}
.grad {
  background: linear-gradient(90deg, #f5f5f7 0%, #c9d4ff 35%, #7f9cff 70%, #b8c6ff 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-sub { margin: 14px auto 0; font-size: clamp(19px, 2.4vw, 24px); line-height: 1.25; color: #a1a1a6; max-width: 30ch; font-weight: 500; letter-spacing: -.01em; }
.hero-cta { margin-top: 26px; display: flex; gap: 28px; justify-content: center; align-items: center; flex-wrap: wrap; }
.hero-stage { position: relative; z-index: 1; height: min(62vh, 640px); min-height: 380px; margin-top: 8px; }
.hero-stage canvas { width: 100%; height: 100%; display: block; }
.verse-ticker { position: relative; z-index: 2; margin: 0 auto; padding: 0 22px; min-height: 118px; max-width: 34rem; }
.verse-ticker blockquote { margin: 0; font-family: var(--script); font-size: clamp(26px, 3.4vw, 34px); line-height: 1.25; color: #f5f5f7; letter-spacing: 0; transition: opacity .3s; }
.verse-ticker figcaption { margin-top: 8px; font-size: 12px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: #86868b; transition: opacity .4s ease; }
.hero-colors { position: relative; z-index: 2; margin-top: 18px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.hero-dots { display: flex; gap: 12px; }
.hero-dots i { width: 14px; height: 14px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); position: relative; transition: transform .5s ease; }
.hero-dots i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1.5px solid #f5f5f7; opacity: 0; transform: scale(.7); transition: opacity .5s ease, transform .5s ease; }
.hero-dots i.on::after { opacity: 1; transform: scale(1); }
#heroColorName { margin: 0; font-size: 14px; color: #a1a1a6; letter-spacing: .01em; transition: opacity .5s ease; }
.caret { display: inline-block; width: 1.5px; height: 1em; margin-left: 3px; vertical-align: -.12em; background: #f5f5f7; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Accueil au défilement : la gourde reste, les infos arrivent ---------- */
.story { position: relative; background: var(--black); color: #f5f5f7; }
.story-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; z-index: 1; }
.story-stage::before {
  content: ""; position: absolute; left: var(--gx, 50%); top: var(--gy, 50%); width: 900px; height: 900px; transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgb(var(--glow, 40 70 220) / .28) 0%, rgb(var(--glow, 40 70 220) / .08) 35%, transparent 65%);
  pointer-events: none;
}
.story-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.story-steps { position: relative; z-index: 2; margin-top: -100vh; margin-top: -100svh; pointer-events: none; }
.step { min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; justify-content: center; padding: 0 16px calc(7svh + env(safe-area-inset-bottom, 0px)); }
.step-card {
  pointer-events: auto; width: 100%; max-width: 30rem; text-align: center; padding: 22px 22px 24px; border-radius: 24px;
  background: rgba(22, 22, 24, .62); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
  opacity: 0; transform: translateY(36px) scale(.97); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1);
}
.step-card.in { opacity: 1; transform: none; }
.step-card h2 { margin: 0; font-size: clamp(30px, 8vw, 44px); line-height: 1.08; font-weight: 700; letter-spacing: -.03em; text-wrap: balance; }
.step-card p { margin: 10px 0 0; color: #a1a1a6; font-size: 17px; line-height: 1.35; }
.step-card .kicker { margin: 0 0 6px; font-size: 15px; color: #86868b; }
.step-intro { align-items: flex-start; padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 26px); }
.step-intro .step-card { background: none; backdrop-filter: none; -webkit-backdrop-filter: none; box-shadow: none; padding: 0 6px; }
.story h1 { margin: 0; font-size: clamp(52px, 15vw, 96px); line-height: 1.02; font-weight: 700; letter-spacing: -.035em; text-wrap: balance; }
.story .hero-kicker { font-size: 17px; }
.story .hero-sub { margin: 12px auto 0; font-size: 19px; color: #a1a1a6; }
.story .hero-cta { margin-top: 20px; }
.story-verse { min-height: 4.2em; }
.story-verse span { display: block; font-family: var(--script); font-size: 28px; line-height: 1.2; color: #f5f5f7; letter-spacing: 0; }
.story-verse small { display: block; margin-top: 6px; font-size: 12px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #86868b; transition: opacity .3s; }
.story-colors { position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 16px); display: flex; flex-direction: column; align-items: center; gap: 8px; opacity: 0; transition: opacity .4s; pointer-events: none; }
.story-hint { position: absolute; left: 0; right: 0; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); margin: 0; text-align: center; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: #86868b; transition: opacity .3s; pointer-events: none; }
.story-hint span { display: block; width: 9px; height: 9px; margin: 6px auto 0; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg); animation: hint 1.6s ease-in-out infinite; }
@keyframes hint { 50% { transform: translateY(5px) rotate(45deg); } }
.story-labels { position: absolute; inset: 0; pointer-events: none; }
.tag { position: absolute; left: 0; top: 0; opacity: 0; transition: opacity .35s ease; will-change: transform; }
.tag i { position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.18); }
.tag em { position: absolute; left: 0; top: -.5px; height: 1px; width: var(--len, 30px); background: rgba(255,255,255,.55); transform-origin: 0 50%; }
.tag .tx { position: absolute; left: calc(var(--len, 30px) + 8px); top: -11px; width: var(--w, 170px); font-size: 13px; line-height: 1.3; color: #a1a1a6; }
.tag b { display: block; font-size: 15px; color: #f5f5f7; font-weight: 600; margin-bottom: 1px; }
.story-fallback .step-card { opacity: 1; transform: none; }

@media (min-width: 835px) {
  .step { justify-content: flex-start; align-items: center; padding: 0 max(40px, calc(50vw - 480px)); }
  .step-card { text-align: left; max-width: 480px; }
  .step-intro { padding-top: 0; }
  .story .hero-sub { margin-left: 0; }
  .story .hero-cta { justify-content: flex-start; }
  .story h1 { font-size: clamp(64px, 7vw, 96px); }
  .story-colors { top: auto; bottom: 40px; left: 50%; }
}
@media (prefers-reduced-motion: reduce) {
  .step-card { transition: none; opacity: 1; transform: none; }
  .story-hint span { animation: none; }
}

/* ---------- Blocs ---------- */
.block { padding: clamp(72px, 11vw, 120px) 0; }
.block-gray { background: var(--bg-gray); }
.block-white { background: var(--white); }
.block-black { background: var(--black); color: #f5f5f7; }
.headline {
  margin: 0 0 clamp(36px, 6vw, 64px); font-size: clamp(40px, 6.4vw, 64px); line-height: 1.06; font-weight: 700; letter-spacing: -.03em; text-wrap: balance;
}
.headline-sm { font-size: clamp(32px, 4.6vw, 48px); }
.headline .muted { color: var(--gray-2); }
.block-black .headline .muted { color: #86868b; }
.kicker { margin: 0 0 10px; font-size: 19px; font-weight: 600; color: #86868b; }
.grad-silver { background: linear-gradient(180deg, #fff 0%, #c7ccd3 55%, #8e949c 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(19px, 2.2vw, 21px); line-height: 1.38; color: #a1a1a6; max-width: 34ch; margin: -28px 0 48px; font-weight: 500; letter-spacing: -.01em; }

/* ---------- Galerie ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.model-card { background: var(--white); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .4s cubic-bezier(.2,.8,.2,1), box-shadow .4s; }
.model-card:hover { transform: scale(1.012); box-shadow: 0 18px 50px -24px rgba(0,0,0,.25); }
.model-visual { aspect-ratio: 4 / 4.6; position: relative; background: linear-gradient(180deg, #fff 0%, #f2f2f4 100%); }
.model-visual img { width: 100%; height: 100%; object-fit: contain; opacity: 0; transition: opacity .6s ease; }
.model-visual img.ready { opacity: 1; }
.model-badge { position: absolute; top: 18px; left: 22px; font-size: 12px; font-weight: 600; color: #bf4800; letter-spacing: 0; }
.model-body { padding: 4px 26px 28px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.model-body h3 { margin: 0; font-size: 24px; line-height: 1.16; font-weight: 700; letter-spacing: -.02em; }
.model-body p { margin: 0; color: var(--gray); font-size: 15px; line-height: 1.45; letter-spacing: -.01em; }
.model-dots { display: flex; gap: 6px; align-items: center; margin: 6px 0 4px; }
.model-dots i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0,0,0,.1); }
.model-dots small { color: var(--gray); font-size: 12px; margin-left: 2px; }
.model-body .link { margin-top: auto; padding-top: 6px; font-size: 17px; }

/* ---------- En vrai (photos) ---------- */
.feature-photo { margin: 0; border-radius: var(--radius); overflow: hidden; }
.feature-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 62%; }
.photo-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.photo-row .feature-photo[hidden] { display: none; }
.model-foot { margin-top: auto; padding-top: 6px; display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.model-foot b { font-size: 17px; font-weight: 600; }
.model-foot .link { margin-top: 0; padding-top: 0; }
.story-note { font-size: 14px !important; color: #86868b !important; margin-top: 8px !important; }
.story-price { font-size: 15px !important; color: #86868b !important; }
.story-price b { color: #f5f5f7; font-weight: 600; }

/* apparitions douces : seulement opacité et léger glissement */
.reveal-on .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1), box-shadow .4s; }
.reveal-on .feature-photo.reveal { transform: translateY(28px) scale(.96); }
.reveal-on .reveal.in { opacity: 1; transform: none; }

/* ---------- Bento ---------- */

/* ---------- Configurateur ---------- */
.configurator-section .headline { margin-bottom: 36px; }
.configurator {
  max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(340px, .85fr);
  height: min(780px, calc(100vh - var(--nav-h) - 40px)); background: var(--white); border-radius: var(--radius); overflow: hidden;
}
.config-stage { position: relative; background: radial-gradient(70% 60% at 50% 45%, #fff 0%, #f0f0f2 75%, #e8e8ed 100%); min-height: 0; display: flex; flex-direction: column; }
.stage-canvas { position: relative; flex: 1; min-height: 0; }
.config-stage canvas { touch-action: pan-y; }
.config-stage.zoomed canvas { cursor: grab; }
.config-stage.zoomed canvas:active { cursor: grabbing; }
.zoom-hint { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); margin: 0; font-size: 11px; color: var(--gray); pointer-events: none; white-space: nowrap; transition: opacity .3s; }
.zoom-hint .hint-touch { display: none; }
@media (hover: none) { .zoom-hint .hint-touch { display: inline; } .zoom-hint .hint-mouse { display: none; } }
.config-stage.zoomed .zoom-hint { opacity: 0; }
.zoom-reset { position: absolute; right: 12px; top: 12px; opacity: 0; pointer-events: none; transition: opacity .25s; }
.config-stage.zoomed .zoom-reset { opacity: 1; pointer-events: auto; }
.view-btn .vs { display: none; }
.views { flex: none; display: flex; justify-content: center; gap: 10px; padding: 8px 12px 16px; }
.view-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; border: 0; background: none; padding: 0; cursor: pointer; color: var(--gray); font-size: 11px; font-weight: 500; }
.view-btn span.thumb { width: 64px; height: 64px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--line); overflow: hidden; display: block; transition: box-shadow .2s; }
.view-btn img { width: 100%; height: 100%; object-fit: cover; display: block; opacity: 0; transition: opacity .3s; }
.view-btn img.ready { opacity: 1; }
.view-btn[aria-checked="true"] { color: var(--ink); }
.view-btn[aria-checked="true"] span.thumb { box-shadow: 0 0 0 2px var(--blue); }
.view-btn:focus-visible span.thumb { outline: 2px solid var(--blue); outline-offset: 2px; }
.config-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.chip-btn {
  border: 0; background: rgba(255,255,255,.75); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 0 0 1px rgba(0,0,0,.06), 0 2px 8px rgba(0,0,0,.06);
  height: 34px; padding: 0 14px; border-radius: 980px; font-size: 13px; font-weight: 500; cursor: pointer; color: var(--ink);
}
.chip-btn[aria-pressed="true"] { background: var(--ink); color: #fff; }

.config-panel { display: flex; flex-direction: column; min-height: 0; overflow: hidden; border-left: 1px solid var(--line-soft); margin: 0; }
.stepper { display: grid; grid-template-columns: repeat(5, 1fr); gap: 2px; padding: 10px 12px; background: var(--white); flex: none; border-bottom: 1px solid var(--line-soft); }
.stepper [role="tab"] {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 2px; border: 0; border-radius: 12px;
  background: transparent; color: var(--gray); font: inherit; font-size: 12px; font-weight: 500; cursor: pointer; transition: background .2s, color .2s; min-width: 0;
}
.stepper [role="tab"] i {
  font-style: normal; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 600;
  box-shadow: inset 0 0 0 1.5px var(--line); color: var(--gray); transition: background .2s, color .2s, box-shadow .2s;
}
.stepper [role="tab"].done i { background: var(--ink); color: transparent; box-shadow: none; position: relative; }
.stepper [role="tab"].done i::before { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 5px; margin: -4px 0 0 -5px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: rotate(-45deg); }
.stepper [role="tab"][aria-selected="true"] { color: var(--ink); font-weight: 600; }
.stepper [role="tab"][aria-selected="true"] i { background: var(--blue); color: #fff; box-shadow: none; }
.stepper [role="tab"]:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.stepper span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }

.panels { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 22px 24px 28px; }
.panel { display: flex; flex-direction: column; gap: 18px; }
.panel[hidden] { display: none; }
.panel-title { margin: 0; font-size: 24px; line-height: 1.17; font-weight: 700; letter-spacing: -.02em; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.legend-value { margin-left: auto; font-size: 15px; font-weight: 500; color: var(--gray); letter-spacing: -.01em; }

.model-picker { display: grid; grid-template-columns: 1fr; gap: 12px; }
.model-opt {
  display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 14px; text-align: left; font: inherit; color: var(--ink);
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 12px 18px 12px 14px; cursor: pointer; min-height: 72px;
  transition: border-color .2s, box-shadow .2s;
}
.model-opt svg { width: 32px; height: 44px; color: var(--ink); }
.mo-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.mo-text b { font-size: 17px; font-weight: 600; }
.mo-text small { font-size: 13px; color: var(--gray); }
.mo-price { font-size: 15px; font-weight: 600; white-space: nowrap; }
.mo-price::after { content: " CHF"; font-weight: 400; color: var(--gray); font-size: 13px; }
.model-opt:hover { border-color: var(--gray-2); }
.model-opt[aria-checked="true"] { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }

.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(40px, 1fr)); gap: 14px 12px; }
.swatch { width: 100%; aspect-ratio: 1; border-radius: 50%; border: 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); cursor: pointer; padding: 0; position: relative; transition: transform .15s; }
.swatch:hover { transform: scale(1.06); }
.stock-line { margin: -2px 0 14px; font-size: 13px; color: var(--gray); display: flex; align-items: center; gap: 7px; }
.dot-ok { width: 7px; height: 7px; border-radius: 50%; background: #30d158; flex: none; }
.special-card { margin-top: 22px; padding: 16px 16px 18px; border-radius: 18px; background: #f5f5f7; transition: box-shadow .2s; }
.special-card.on { box-shadow: inset 0 0 0 1.5px var(--blue); }
.special-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 15px; letter-spacing: -.01em; }
.special-fee { font-size: 12px; font-weight: 600; color: var(--blue); background: rgba(0,113,227,.1); padding: 4px 9px; border-radius: 980px; }
.special-sub { margin: 4px 0 14px; font-size: 13px; color: var(--gray); }
.swatches.small { grid-template-columns: repeat(auto-fill, minmax(32px, 1fr)); gap: 12px 10px; }
.special-note { margin: 14px 0 0; font-size: 12px; color: var(--gray); }
.it-special { display: inline-block; margin-left: 4px; font-style: normal; font-size: 11px; font-weight: 600; color: var(--blue); background: rgba(0,113,227,.1); padding: 2px 8px; border-radius: 980px; vertical-align: 1px; }
.swatch[aria-checked="true"]::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--blue); }

.field { display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.field > span { font-weight: 600; display: flex; justify-content: space-between; gap: 8px; }
.field output { font-weight: 400; color: var(--gray); }
.counter { color: var(--gray); font-size: 12px; }

.verse-card { background: var(--bg-gray); border-radius: var(--radius-sm); padding: 14px 16px 10px; display: flex; flex-direction: column; gap: 6px; }
.verse-card .field > span { font-size: 12px; font-weight: 600; color: var(--gray); }
.verse-card textarea { border: 0; padding: 0; background: transparent; font-size: 17px; line-height: 1.4; resize: none; outline: none; }
.verse-meta { display: flex; align-items: center; gap: 10px; border-top: 1px solid var(--line); padding-top: 8px; }
.ref-field { flex: 1; min-width: 0; }
.ref-field input { width: 100%; border: 0; background: transparent; font-weight: 600; font-size: 15px; outline: none; padding: 2px 0; }
.ref-field input::placeholder { font-weight: 400; color: var(--gray-2); }

.segmented { display: flex; background: #e8e8ed; border-radius: 10px; padding: 2px; gap: 2px; }
.segmented button {
  flex: 1; border: 0; background: transparent; border-radius: 8px; padding: 7px 6px; cursor: pointer; font-size: 13px; font-weight: 500; color: var(--ink);
  transition: background .2s, box-shadow .2s;
}
.segmented button[aria-checked="true"], .segmented button[aria-selected="true"] { background: #fff; box-shadow: 0 3px 8px rgba(0,0,0,.12), 0 3px 1px rgba(0,0,0,.04); }
.segmented button.font-opt { font-size: 22px; font-weight: 400; padding: 4px 6px; }
.source[hidden] { display: none; }

.suggestions { border-radius: 14px; background: var(--white); border: 1px solid var(--line); overflow: hidden; }
.suggestions .verse-row, .search-results .verse-row { grid-template-columns: 14px 1fr; }

.custom-btn {
  display: flex; align-items: center; gap: 12px; width: 100%; text-align: left; cursor: pointer;
  border: 1px dashed #c7c7cc; background: var(--white); border-radius: 14px; padding: 14px 16px; font-size: 16px; font-weight: 600; color: var(--blue-link);
  transition: border-color .2s, background .2s;
}
.custom-btn:hover { border-color: var(--blue); background: rgba(0,113,227,.04); }
.custom-btn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; flex: none; }
.custom-btn span { flex: 1; }
.custom-btn i { width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.custom-btn[aria-expanded="true"] { border-style: solid; border-color: var(--blue); }
.custom-btn[aria-expanded="true"] i { transform: rotate(-135deg) translateY(-2px); }
.verse-card[hidden] { display: none; }
.search-results { max-height: 320px; }

.font-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.font-opt {
  border: 1px solid var(--line); background: var(--white); border-radius: 12px; height: 58px; font-size: 26px; line-height: 1; cursor: pointer;
  color: var(--ink); padding: 0 4px; white-space: nowrap; overflow: hidden; transition: border-color .2s, box-shadow .2s;
}
.font-opt:hover { border-color: var(--gray-2); }
.font-opt[aria-checked="true"] { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.motif-drawer { margin: 0; padding: 14px 14px 16px; border-radius: var(--radius-sm); background: var(--gray-bg, #f5f5f7); animation: motifIn .25s ease; }
@keyframes motifIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.motif-title { margin: 0 0 10px; font-size: 15px; font-weight: 600; display: flex; align-items: baseline; gap: 6px; }
.motif-fee { color: var(--gray); font-weight: 500; font-size: 13px; }
.motif-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.motif-opt {
  display: flex; flex-direction: column; align-items: stretch; gap: 6px; padding: 5px 5px 7px; border: 1px solid var(--line); background: var(--white);
  border-radius: 12px; font: inherit; font-size: 13px; font-weight: 500; color: var(--ink); cursor: pointer; transition: border-color .2s, box-shadow .2s;
}
.motif-opt img { width: 100%; aspect-ratio: 3 / 2; border-radius: 8px; display: block; object-fit: cover; }
.motif-opt:hover { border-color: var(--gray-2); }
.motif-opt[aria-checked="true"] { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.motif-opt:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.view-btn[hidden] { display: none; }

.bible { display: flex; flex-direction: column; gap: 10px; }
.bible-tr { color: var(--gray-2); }
.bible-search { position: relative; }
.bible-search svg { position: absolute; left: 12px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--gray); pointer-events: none; }
.bible-search input { width: 100%; height: 40px; border: 0; border-radius: 10px; padding: 0 12px 0 36px; background: #e8e8ed; font-size: 15px; outline: none; }
.bible-search input:focus { box-shadow: 0 0 0 3px rgba(0,113,227,.35); background: #fff; }
.bible-nav { display: grid; grid-template-columns: 1fr 120px; gap: 8px; }
.crumb {
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; align-items: center; column-gap: 8px; text-align: left; min-width: 0;
  border: 1px solid var(--line); background: var(--white); border-radius: 12px; padding: 6px 12px 7px; cursor: pointer; transition: border-color .2s, box-shadow .2s;
}
.crumb[aria-expanded="true"] { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.crumb small { grid-column: 1; font-size: 11px; color: var(--gray); font-weight: 500; }
.crumb span { grid-column: 1; font-weight: 600; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crumb i { grid-column: 2; grid-row: 1 / 3; width: 7px; height: 7px; border-right: 1.6px solid var(--gray); border-bottom: 1.6px solid var(--gray); transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
.crumb[aria-expanded="true"] i { transform: rotate(-135deg) translateY(-2px); }
.bible-list { max-height: 360px; overflow-y: auto; border-radius: 14px; background: var(--white); border: 1px solid var(--line); overscroll-behavior: contain; }
.bible-list:empty { display: none; }
.picker { padding: 14px; display: flex; flex-direction: column; gap: 12px; }
.picker h4 { margin: 0; font-size: 12px; font-weight: 600; color: var(--gray); }
.book-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 6px; }
.chap-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 6px; }
.book-chip, .chap-chip {
  border: 0; background: var(--bg-gray); border-radius: 10px; cursor: pointer; font-size: 14px; padding: 9px 10px; text-align: left;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: background .15s, color .15s;
}
.chap-chip { text-align: center; padding: 10px 0; font-weight: 600; font-variant-numeric: tabular-nums; }
.book-chip:hover, .chap-chip:hover { background: #e8e8ed; }
.book-chip[aria-current="true"], .chap-chip[aria-current="true"] { background: var(--blue); color: #fff; }
.verse-row {
  display: grid; grid-template-columns: 30px 1fr; gap: 4px; width: 100%; text-align: left; border: 0; background: transparent;
  padding: 11px 14px 11px 6px; cursor: pointer; font-size: 15px; line-height: 1.42; border-bottom: 1px solid var(--line-soft);
}
.verse-row:last-child { border-bottom: 0; }
.verse-row:hover { background: var(--bg-gray); }
.verse-row b { font-size: 11px; color: var(--gray); text-align: right; padding: 3px 6px 0 0; font-weight: 600; }
.verse-row small { display: block; font-size: 12px; font-weight: 600; color: var(--gray); margin-bottom: 2px; }
.verse-row[aria-selected="true"] { background: rgba(0,113,227,.1); }
.verse-row[aria-selected="true"] b { color: var(--blue); }
.verse-row mark { background: #ffe58f; color: inherit; border-radius: 3px; padding: 0 1px; }
.bible-status { padding: 16px; font-size: 14px; color: var(--gray); }
.crumb:focus-visible, .book-chip:focus-visible, .chap-chip:focus-visible, .verse-row:focus-visible, .model-opt:focus-visible, .swatch:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
input[type="range"]::-webkit-slider-runnable-track { height: 4px; background: #d2d2d7; border-radius: 4px; }
input[type="range"]::-moz-range-track { height: 4px; background: #d2d2d7; border-radius: 4px; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; margin-top: -11px; box-shadow: 0 0 0 .5px rgba(0,0,0,.04), 0 3px 8px rgba(0,0,0,.15), 0 3px 1px rgba(0,0,0,.06); }
input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0,0,0,.15), 0 3px 1px rgba(0,0,0,.06); }

.toggle { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 15px; font-weight: 600; cursor: pointer; }
.toggle > span:last-child { order: -1; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle-ui { width: 51px; height: 31px; border-radius: 999px; background: #e9e9ea; position: relative; transition: background .25s; flex: none; }
.toggle-ui::after { content: ""; position: absolute; top: 2px; left: 2px; width: 27px; height: 27px; border-radius: 50%; background: #fff; box-shadow: 0 3px 8px rgba(0,0,0,.15), 0 3px 1px rgba(0,0,0,.06); transition: transform .25s; }
.toggle input:checked + .toggle-ui { background: #34c759; }
.toggle input:checked + .toggle-ui::after { transform: translateX(20px); }
.toggle input:focus-visible + .toggle-ui { outline: 2px solid var(--blue); outline-offset: 2px; }

.extra-actions { display: flex; }
.extra-actions .btn { border: 1px solid var(--line); background: var(--white); border-radius: 980px; height: 36px; padding: 0 16px; font-size: 14px; cursor: pointer; }
.extra-actions .btn[hidden] { display: none; }

.action-bar {
  flex: none; display: flex; align-items: center; gap: 14px; padding: 12px 20px; border-top: 1px solid var(--line-soft);
  background: rgba(255,255,255,.9); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.summary-text { flex: 1; min-width: 0; }
.summary-title { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.summary-sub { margin: 1px 0 0; font-size: 12px; color: var(--gray); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.action-bar .btn { min-height: 44px; padding: 0 20px; border-radius: 980px; border: 0; background: var(--blue); color: #fff; font-size: 15px; font-weight: 500; cursor: pointer; flex: none; transition: background .2s; }
.action-bar .btn:hover { background: var(--blue-hover); }
.config-panel .summary-note { margin: 0; padding: 0 20px; font-size: 12px; color: var(--gray); }
.config-panel .summary-note:not(:empty) { padding-bottom: 10px; }

/* ---------- Étapes ---------- */

/* ---------- Pied de page ---------- */
.footer { background: var(--bg-gray); color: var(--gray); font-size: 12px; padding: 22px 0 calc(28px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line-soft); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer .brand { color: var(--ink); font-size: 12px; }
.footer p { margin: 0; }

/* ---------- Tablette ---------- */
@media (max-width: 1068px) {
  .gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .model-body { padding: 4px 20px 22px; }
}

/* ---------- Téléphone ---------- */
@media (max-width: 834px) {
  .nav-links { display: none; }
  .hero { padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 36px); padding-bottom: 40px; }
  .hero-kicker { font-size: 17px; }
  .hero h1 { font-size: clamp(52px, 15vw, 72px); }
  .hero-sub { font-size: 19px; }
  .hero { padding-top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 28px); }
  .hero-cta { margin-top: 20px; }
  .hero-stage { height: max(300px, calc(100svh - 372px)); min-height: 0; max-height: 520px; margin-top: 6px; }
  .verse-ticker { margin-top: -6px; }
  .verse-ticker { min-height: 112px; }
  .verse-ticker blockquote { font-size: 26px; }

  .block { padding: 64px 0; }
  .headline { font-size: clamp(36px, 10vw, 48px); margin-bottom: 32px; }
  .lead { margin-top: -18px; margin-bottom: 32px; font-size: 19px; }

  .gallery {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(-1 * max(22px, env(safe-area-inset-left, 0px))); padding: 0 max(22px, env(safe-area-inset-left, 0px)) 8px;
    scroll-padding-inline: 22px;
  }
  .gallery::-webkit-scrollbar { display: none; }
  .model-card { flex: 0 0 82%; scroll-snap-align: start; }
  .model-card:hover { transform: none; box-shadow: none; }

  .photo-row {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin: 0 calc(-1 * max(22px, env(safe-area-inset-left, 0px))); padding: 0 max(22px, env(safe-area-inset-left, 0px)) 8px;
    scroll-padding-inline: 22px;
  }
  .photo-row::-webkit-scrollbar { display: none; }
  .photo-row .feature-photo { flex: 0 0 84%; scroll-snap-align: start; }
  .photo-row .feature-photo:only-child { flex-basis: 100%; }

  .configurator-section { padding-bottom: 0; }
  .model-picker { gap: 10px; }
  .font-opt { height: 54px; font-size: 24px; }
  .panels { padding: 18px 20px 24px; }
  .panel-title { font-size: 21px; }

  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .caret { animation: none; }
  .model-card, .pill { transition: none; }
}

/* =========================================================
   Boutique : panier, compte, commandes, suivi (style Apple Store)
   ========================================================= */
.nav-tools { display: flex; align-items: center; gap: 6px; margin-left: auto; margin-right: 6px; }
.nav-inner { justify-content: flex-start; }
.nav-links { margin-left: auto; margin-right: 18px; }
.nav-icon { position: relative; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; opacity: .85; transition: opacity .2s, background .2s; }
.nav-icon:hover { opacity: 1; background: rgba(127,127,127,.14); }
.nav-icon svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.bag-count {
  position: absolute; right: 1px; bottom: 3px; min-width: 15px; height: 15px; padding: 0 4px; border-radius: 8px;
  background: #f5f5f7; color: #1d1d1f; font-size: 9.5px; font-weight: 700; line-height: 15px; text-align: center; font-style: normal; letter-spacing: 0;
}
.nav.light .bag-count { background: #1d1d1f; color: #fff; }
.bag-count[hidden] { display: none; }
.nav-avatar { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; }
.nav-avatar.initials { background: linear-gradient(135deg, #5e5ce6, #0a84ff); color: #fff; font-size: 10px; font-weight: 600; letter-spacing: 0; }

body.in-view > section { display: none; }
.view[hidden] { display: none; }
.view { min-height: 100svh; background: var(--white); padding: calc(var(--nav-h) + env(safe-area-inset-top, 0px)) 0 80px; outline: none; }
.view-inner { max-width: 980px; margin: 0 auto; padding-inline: max(22px, env(safe-area-inset-left, 0px)); animation: v-in .5s cubic-bezier(.2,.8,.2,1); }
@keyframes v-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.v-section { padding-top: 56px; }
.v-center { text-align: center; display: flex; flex-direction: column; align-items: center; padding-top: 12vh; }
.v-title { margin: 0 0 14px; font-size: clamp(32px, 5vw, 48px); line-height: 1.08; font-weight: 600; letter-spacing: -.015em; }
.v-muted-title { color: var(--gray-2); }
.v-lead { margin: 0 0 28px; font-size: 19px; line-height: 1.42; color: var(--ink); max-width: 46ch; letter-spacing: .012em; }
.v-center .v-lead { margin-inline: auto; }
.v-muted { color: var(--gray); }
.small, .v-muted.small { font-size: 12px; line-height: 1.4; }
.v-loading { padding: 20vh 0; text-align: center; }
.v-h2 { margin: 30px 0 12px; font-size: 21px; font-weight: 600; letter-spacing: .01em; }
.v-h2.big { font-size: 28px; margin-top: 56px; padding-top: 0; }
.v-link { border: 0; background: none; padding: 0; color: var(--blue-link); font-size: 17px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.v-link:hover { text-decoration: underline; }
.v-back { display: inline-flex; align-items: center; gap: 4px; color: var(--blue-link); font-size: 14px; margin-bottom: 18px; }
.v-back::before { content: "‹"; font-size: 20px; line-height: 1; transform: translateY(-1px); }
.v-eyebrow { margin: 0 0 6px; font-size: 17px; font-weight: 600; color: var(--gray); }
.v-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 28px; }
.v-icon svg, .v-brand { width: 56px; height: 56px; fill: none; stroke: var(--ink); stroke-width: 1.1; stroke-linejoin: round; margin-bottom: 22px; }
.v-brand { color: var(--brand-red); stroke: none; width: 48px; height: 46px; }
.pill-wide { min-width: 280px; min-height: 50px; border-radius: 12px; font-size: 17px; }
.pill:disabled { opacity: .5; cursor: default; }
.demo-note { margin: 0 0 24px; padding: 12px 16px; border-radius: 12px; background: #fff8e6; color: #6b4e00; font-size: 13px; line-height: 1.45; max-width: 640px; }
.v-center .demo-note { margin-top: 28px; }

.google-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-width: 280px; height: 50px; padding: 0 24px;
  border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 17px; font-weight: 500; cursor: pointer; margin-bottom: 16px;
  transition: background .2s, box-shadow .2s;
}
.google-btn:hover { background: #fafafa; box-shadow: 0 4px 14px rgba(0,0,0,.06); }
.google-btn svg { width: 20px; height: 20px; }
.google-btn:disabled { opacity: .6; }
.signin .v-muted.small { max-width: 34ch; }

/* Panier */
.bag-list { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid var(--line); }
.bag-item { display: grid; grid-template-columns: 160px 1fr auto; gap: 28px; align-items: start; padding: 32px 0; border-bottom: 1px solid var(--line); }
.bag-thumb { width: 160px; height: 160px; border-radius: 18px; object-fit: cover; background: var(--bg-gray); }
.it-name { margin: 0 0 6px; font-size: 24px; font-weight: 600; letter-spacing: .005em; line-height: 1.15; }
.it-name span { font-weight: 400; color: var(--gray); }
.it-verse { margin: 0 0 8px; font-family: var(--script); font-size: 22px; line-height: 1.3; letter-spacing: 0; color: var(--ink); }
.it-meta { margin: 0; color: var(--gray); font-size: 14px; }
.bag-side { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; text-align: right; }
.bag-price { margin: 0; font-size: 24px; font-weight: 600; white-space: nowrap; }
.qty select {
  appearance: none; -webkit-appearance: none; border: 0; background: transparent; color: var(--blue-link); font-size: 17px; cursor: pointer;
  padding: 2px 18px 2px 4px; background-image: linear-gradient(45deg, transparent 50%, var(--blue-link) 50%), linear-gradient(135deg, var(--blue-link) 50%, transparent 50%);
  background-position: right 6px top 55%, right 1px top 55%; background-size: 5px 5px; background-repeat: no-repeat;
}
.bag-list.compact { margin-top: 0; border-top: 0; }
.bag-list.compact .bag-item { grid-template-columns: 84px 1fr auto; gap: 16px; padding: 18px 0; }
.bag-list.compact .bag-item:last-child { border-bottom: 0; }
.bag-list.compact .bag-thumb { width: 84px; height: 84px; border-radius: 14px; }
.bag-list.compact .it-name { font-size: 17px; }
.bag-list.compact .it-verse { font-size: 18px; }
.bag-list.compact .it-meta { font-size: 12px; }
.bag-list.compact .bag-price { font-size: 17px; }
.totals { margin: 0 0 0 auto; padding: 22px 0 0; max-width: 560px; }
.totals div { display: flex; justify-content: space-between; gap: 18px; padding: 6px 0; font-size: 17px; }
.totals dt { color: var(--ink); }
.totals dd { margin: 0; text-align: right; }
.totals .grand { border-top: 1px solid var(--line); margin-top: 12px; padding-top: 18px; font-size: 24px; font-weight: 600; }
.v-section > .totals + .v-actions { justify-content: flex-end; }

/* Commande */
.co-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; margin-top: 14px; }
.co-main .v-h2:first-child { margin-top: 10px; }
.choice { display: grid; gap: 12px; }
.choice-opt input { position: absolute; opacity: 0; pointer-events: none; }
.choice-ui {
  display: grid; grid-template-columns: 30px 1fr; column-gap: 14px; align-items: center; padding: 18px 20px; border-radius: 14px;
  border: 1px solid var(--line); cursor: pointer; transition: border-color .2s, box-shadow .2s;
}
.choice-ui svg { grid-row: span 2; width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 1.3; stroke-linejoin: round; stroke-linecap: round; }
.choice-ui b { font-size: 17px; font-weight: 600; }
.choice-ui small { color: var(--gray); font-size: 14px; }
.choice-opt input:checked + .choice-ui { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
.choice-opt input:focus-visible + .choice-ui { outline: 2px solid var(--blue); outline-offset: 2px; }

.fl { position: relative; display: block; margin-bottom: 12px; }
.fl input, .fl textarea {
  width: 100%; height: 56px; padding: 22px 16px 6px; border: 1px solid #86868b; border-radius: 12px; background: #fff; font-size: 17px; outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.fl textarea { height: auto; min-height: 96px; padding-top: 26px; resize: vertical; line-height: 1.4; }
.fl span { position: absolute; left: 17px; top: 17px; color: var(--gray); font-size: 17px; pointer-events: none; transition: transform .15s ease, font-size .15s ease, top .15s ease; transform-origin: left top; }
.fl input:focus, .fl textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,113,227,.18); }
.fl input:focus + span, .fl input:not(:placeholder-shown) + span,
.fl textarea:focus + span, .fl textarea:not(:placeholder-shown) + span { top: 8px; font-size: 12px; }
.fl.invalid input, .fl.invalid textarea { border-color: #e30000; background: #fff5f5; }
.fl.invalid span { color: #e30000; }
.fl-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fl-zip { grid-template-columns: 120px 1fr; }
.ship-fields[hidden] { display: none; }
.co-side { position: sticky; top: calc(var(--nav-h) + 24px); }
.co-card { background: var(--bg-gray); border-radius: 22px; padding: 26px; }
.co-card .v-h2 { margin-top: 0; }
.co-card .totals { padding-top: 10px; margin-bottom: 22px; }
.co-card .totals .grand { font-size: 21px; }
.co-card .pill-wide { width: 100%; min-width: 0; }
.co-card .v-muted.small { margin: 14px 0 0; text-align: center; }
.co-error { margin: 10px 0 0; color: #e30000; font-size: 14px; text-align: center; }
.co-error:empty { display: none; }
.mini-list { list-style: none; margin: 0; padding: 0 0 6px; border-bottom: 1px solid var(--line); }
.mini-list li { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 8px 0; font-size: 14px; }
.mini-list img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; background: #fff; }
.mini-list b { display: block; font-weight: 600; }
.mini-list small { color: var(--gray); font-size: 12px; display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-list div { min-width: 0; }

/* Suivi de commande */
.track {
  --p: 0; list-style: none; margin: 40px 0 34px; padding: 0; position: relative;
  display: grid; grid-template-columns: repeat(5, 1fr); text-align: center;
}
.track::before, .track::after { content: ""; position: absolute; top: 15px; left: 10%; height: 4px; border-radius: 2px; }
.track::before { right: 10%; background: #e8e8ed; }
.track::after { width: calc(80% * var(--p)); background: linear-gradient(90deg, #0071e3, #34c759); transform-origin: left center; animation: track-x 1.1s .2s cubic-bezier(.2,.8,.2,1) both; }
@keyframes track-x { from { transform: scaleX(0); } }
@keyframes track-y { from { transform: scaleY(0); } }
.track li { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.track .dot { width: 34px; height: 34px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px #d2d2d7; display: grid; place-items: center; margin-bottom: 8px; }
.track .dot svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.track li.done .dot { background: var(--blue); box-shadow: none; }
.track li.now .dot { background: #34c759; box-shadow: 0 0 0 6px rgba(52,199,89,.18); animation: pulse 2.4s ease-in-out infinite; }
.track b { font-size: 14px; font-weight: 600; }
.track li:not(.done):not(.now) b { color: var(--gray-2); font-weight: 500; }
.track small { font-size: 12px; color: var(--gray); min-height: 1.4em; }
@keyframes pulse { 50% { box-shadow: 0 0 0 11px rgba(52,199,89,0); } }
.track.cancelled { display: block; background: var(--bg-gray); border-radius: 18px; padding: 20px 24px; text-align: left; }
.track.cancelled::before, .track.cancelled::after { display: none; }
.track.cancelled p { margin: 0; color: var(--gray); }

.status-pill { display: inline-flex; align-items: center; gap: 6px; height: 22px; padding: 0 10px; border-radius: 11px; font-size: 12px; font-weight: 600; letter-spacing: 0; white-space: nowrap; vertical-align: middle; }
.status-pill::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.s-recue { background: #e8f1fd; color: #0066cc; }
.s-preparation { background: #fff4e0; color: #b25e00; }
.s-gravure { background: #f1ebff; color: #6e3fd6; }
.s-expediee { background: #e3f6fb; color: #0a7ea4; }
.s-livree { background: #e5f7ea; color: #1e8a3a; }
.s-annulee { background: #f2f2f4; color: #6e6e73; }

.tile-track { display: flex; align-items: center; justify-content: space-between; gap: 16px; background: var(--bg-gray); border-radius: 18px; padding: 18px 22px; margin-bottom: 20px; }
.tile-track small { display: block; color: var(--gray); font-size: 12px; }
.tile-track b { font-size: 19px; font-weight: 600; letter-spacing: .02em; }
.order-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; }
.o-card { background: var(--bg-gray); border-radius: 22px; padding: 26px 28px; }
.o-card .v-h2 { margin: 0 0 10px; font-size: 17px; }
.o-card .v-h2 ~ .v-h2 { margin-top: 22px; }
.o-card p { margin: 0; line-height: 1.5; }
.o-card .totals { max-width: none; border-top: 1px solid var(--line); margin-top: 6px; }
.o-card .totals .grand { font-size: 19px; }

/* Compte */
.acc-head { display: flex; align-items: center; gap: 22px; margin-bottom: 26px; }
.acc-head .v-title { margin-bottom: 2px; }
.acc-head p { margin: 0; }
.acc-avatar { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; flex: none; display: grid; place-items: center; box-shadow: 0 6px 22px rgba(0,0,0,.12); }
.acc-avatar.initials { background: linear-gradient(135deg, #5e5ce6, #0a84ff); color: #fff; font-size: 30px; font-weight: 600; letter-spacing: 0; }
.admin-banner {
  display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; column-gap: 12px; align-items: center;
  padding: 20px 24px; border-radius: 18px; background: #000; color: #f5f5f7; margin-bottom: 8px;
  background-image: radial-gradient(120% 140% at 100% 0%, rgba(41,151,255,.35), transparent 60%);
}
.admin-banner b { font-size: 19px; font-weight: 600; }
.admin-banner span { color: #a1a1a6; font-size: 14px; }
.admin-banner svg { grid-row: 1 / span 2; grid-column: 2; width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; }
.orders { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.order-card {
  display: grid; grid-template-columns: auto 1fr auto; gap: 20px; align-items: center; padding: 18px 22px 18px 18px;
  background: var(--bg-gray); border-radius: 22px; transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
.order-card:hover { transform: scale(1.01); box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.oc-thumbs { display: flex; }
.oc-thumbs img { width: 88px; height: 88px; border-radius: 16px; object-fit: cover; background: #fff; box-shadow: 0 0 0 3px var(--bg-gray); }
.oc-thumbs img + img { margin-left: -46px; }
.oc-body { min-width: 0; }
.oc-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.oc-top small { color: var(--gray); font-size: 12px; }
.oc-title { margin: 6px 0 10px; font-size: 19px; font-weight: 600; }
.oc-bar { height: 4px; border-radius: 2px; background: #e0e0e5; overflow: hidden; margin-bottom: 8px; max-width: 360px; }
.oc-bar i { display: block; height: 100%; min-width: 6%; background: linear-gradient(90deg, #0071e3, #34c759); border-radius: 2px; }
.order-card small.v-muted { font-size: 13px; }
.oc-chev svg { width: 16px; height: 16px; fill: none; stroke: var(--gray-2); stroke-width: 2; }
.empty-tile { background: var(--bg-gray); border-radius: 22px; padding: 34px; text-align: center; }
.empty-tile p { margin: 0 0 8px; color: var(--gray); }
.profile-form { max-width: 620px; }
.profile-form .v-actions { margin-top: 10px; }
.saved-note { color: #1e8a3a; font-size: 14px; }
.acc-foot { margin-top: 48px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; flex-wrap: wrap; }
.uid { font-size: 12px; color: var(--gray); text-align: right; }
.uid summary { cursor: pointer; list-style: none; }
.uid summary::-webkit-details-marker { display: none; }
.uid code { display: block; margin: 6px 0 4px; font-size: 12px; color: var(--ink); user-select: all; word-break: break-all; }
.uid .v-link { font-size: 12px; }
.uid-big code { display: inline-block; padding: 12px 16px; border-radius: 12px; background: var(--bg-gray); font-size: 15px; user-select: all; word-break: break-all; }

/* Admin */
.admin-filter { max-width: 720px; margin-bottom: 22px; overflow-x: auto; scrollbar-width: none; }
.admin-filter button { white-space: nowrap; }
.admin-filter small { color: var(--gray); margin-left: 3px; }
.admin-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.admin-card { background: var(--bg-gray); border-radius: 22px; padding: 22px 24px; display: grid; gap: 16px; }
.ac-head { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.ac-head > div { display: flex; flex-direction: column; gap: 3px; }
.ac-head > div:first-child b { font-size: 19px; margin-right: 8px; }
.ac-head > div:first-child { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 4px 6px; }
.ac-head > div:first-child small { flex-basis: 100%; }
.ac-head small { color: var(--gray); font-size: 13px; }
.ac-head a { color: var(--blue-link); }
.ac-client { text-align: right; }
.ac-note { margin: 0; padding: 12px 16px; background: #fff; border-radius: 12px; font-size: 15px; color: var(--ink); }
.ac-items { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.ac-items li { display: grid; grid-template-columns: 72px 1fr; gap: 14px; background: #fff; border-radius: 16px; padding: 12px; align-items: start; }
.ac-items img { width: 72px; height: 72px; border-radius: 12px; object-fit: cover; background: var(--bg-gray); }
.ac-items .it-name { font-size: 16px; margin-bottom: 2px; }
.ac-items .it-verse { font-size: 19px; margin-bottom: 4px; }
.ac-items .it-meta { font-size: 12px; margin-bottom: 6px; }
.dl { font-size: 14px; }
.dl svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ac-status { display: grid; gap: 8px; justify-items: start; }
.ac-status small { color: var(--gray); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; }
.ac-status .segmented { width: 100%; max-width: 620px; }
.ac-status .segmented button { font-size: 12px; }
.danger { color: #e30000; font-size: 14px; }
.ac-track { display: grid; grid-template-columns: 1fr 1.4fr auto auto; gap: 10px; align-items: center; }
.ac-track .fl { margin: 0; }
.ac-track .fl input { height: 48px; padding-top: 18px; font-size: 15px; }
.ac-track .fl span { top: 14px; font-size: 15px; }
.ac-track .fl input:focus + span, .ac-track .fl input:not(:placeholder-shown) + span { top: 6px; font-size: 11px; }

/* Toast « ajouté au panier » */
.bag-toast {
  position: fixed; z-index: 40; right: 22px; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 10px); width: min(360px, calc(100vw - 32px));
  display: grid; grid-template-columns: 64px 1fr; gap: 6px 14px; align-items: center; padding: 16px; border-radius: 18px;
  background: rgba(255,255,255,.86); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  box-shadow: 0 18px 50px rgba(0,0,0,.18), 0 0 0 1px rgba(0,0,0,.05);
  opacity: 0; transform: translateY(-10px) scale(.98); transition: opacity .3s, transform .35s cubic-bezier(.2,.8,.2,1);
}
.bag-toast.on { opacity: 1; transform: none; }
.bag-toast[hidden] { display: none; }
.bag-toast img { width: 64px; height: 64px; border-radius: 12px; object-fit: cover; background: var(--bg-gray); }
.bag-toast b { display: block; font-size: 15px; }
.bag-toast small { color: var(--gray); font-size: 13px; }
.bt-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 6px; }
.bt-actions .pill { flex: 1; min-height: 36px; font-size: 14px; }
.bt-actions .v-link { font-size: 14px; padding: 0 8px; }

@media (max-width: 834px) {
  .nav-links { display: none; }
  .nav-tools { margin-right: 4px; gap: 2px; }
  .v-section { padding-top: 34px; }
  .v-center { padding-top: 9vh; }
  .v-lead { font-size: 17px; }
  .pill-wide { width: 100%; min-width: 0; }
  .google-btn { width: 100%; min-width: 0; }
  .bag-list { margin-top: 28px; }
  .bag-item { grid-template-columns: 96px 1fr; gap: 16px; padding: 22px 0; }
  .bag-thumb { width: 96px; height: 96px; border-radius: 14px; }
  .bag-side { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; text-align: left; }
  .bag-side .bag-price { order: -1; }
  .it-name { font-size: 19px; }
  .it-verse { font-size: 19px; }
  .bag-price { font-size: 19px; }
  .bag-list.compact .bag-side { grid-column: auto; }
  .bag-list.compact .bag-item { grid-template-columns: 64px 1fr auto; }
  .bag-list.compact .bag-thumb { width: 64px; height: 64px; }
  .totals .grand { font-size: 21px; }
  .co-grid { grid-template-columns: 1fr; gap: 26px; }
  .co-side { position: static; }
  .co-card { padding: 22px 20px; }
  .track { grid-template-columns: 1fr; text-align: left; gap: 0; margin: 28px 0; }
  .track::before, .track::after { top: 17px; left: 15px; width: 4px; height: auto; }
  .track::before { bottom: 17px; right: auto; }
  .track::after { height: calc((100% - 34px) * var(--p)); width: 4px; bottom: auto; background: linear-gradient(180deg, #0071e3, #34c759); transform-origin: center top; animation-name: track-y; }
  .track li { display: grid; grid-template-columns: 34px 1fr auto; column-gap: 16px; align-items: center; padding: 0 0 22px; }
  .track li:last-child { padding-bottom: 0; }
  .track .dot { margin: 0; }
  .track b { font-size: 17px; }
  .track small { min-height: 0; }
  .order-grid { grid-template-columns: 1fr; }
  .o-card { padding: 22px 20px; }
  .acc-head { gap: 16px; }
  .acc-avatar { width: 64px; height: 64px; }
  .acc-avatar.initials { font-size: 23px; }
  .order-card { grid-template-columns: 1fr auto; gap: 14px; padding: 16px; }
  .oc-thumbs { grid-column: 1 / -1; }
  .oc-thumbs img { width: 64px; height: 64px; border-radius: 12px; }
  .oc-thumbs img + img { margin-left: -30px; }
  .oc-chev { grid-row: 2; grid-column: 2; }
  .oc-body { grid-row: 2; }
  .acc-foot { flex-direction: column; }
  .uid { text-align: left; }
  .ac-head { flex-direction: column; }
  .ac-client { text-align: left; }
  .ac-track { grid-template-columns: 1fr; }
  .admin-card { padding: 18px 16px; }
  .bag-toast { right: 16px; }
}
.tile-track .pill { white-space: nowrap; flex: none; }
.dl { text-align: left; }
.v-h2.big .v-muted { font-size: .78em; font-weight: 500; }
@media (max-width: 834px) {
  .bag-list.compact .bag-item { grid-template-columns: 64px 1fr; }
  .bag-list.compact .bag-side { grid-column: 2; justify-content: flex-start; }
  .tile-track { padding: 16px 18px; }
  .tile-track b { font-size: 16px; word-break: break-all; }
  .v-h2.big { font-size: 24px; }
}
.dl-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.dl-svg { gap: 6px; min-height: 32px; font-size: 13px; padding: 0 14px; }
.dl-svg svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.alert-btn { display: flex; align-items: center; gap: 14px; width: 100%; max-width: 720px; text-align: left; margin-bottom: 18px; padding: 16px 18px; border-radius: 16px; border: 0; background: #e8f1fd; color: var(--ink); cursor: pointer; }
.alert-btn svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--blue); stroke-width: 1.6; stroke-linejoin: round; }
.alert-btn b { display: block; font-size: 15px; color: var(--blue-link); }
.alert-btn small { color: var(--gray); font-size: 13px; }
.ntfy-hint { margin: -6px 0 20px; } .ntfy-hint code { user-select: all; background: var(--bg-gray); padding: 2px 6px; border-radius: 6px; color: var(--ink); }
.ac-danger { display: flex; gap: 22px; flex-wrap: wrap; } .bulk-row { display: flex; justify-content: flex-end; max-width: 100%; margin: -8px 0 14px; } .bulk-row .danger { font-size: 14px; }
.legal { max-width: 720px; }
.legal p { margin: 0 0 12px; font-size: 17px; line-height: 1.55; color: #333336; }
.legal .v-h2 { margin-top: 34px; }
.legal-date { margin-top: 36px !important; }
.v-inline { color: var(--blue-link); text-decoration: underline; text-underline-offset: 2px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--gray); }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
.mail-link { font-size: 14px; } .mail-now { animation: v-in .4s ease; }
.changed-banner { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 720px; margin-bottom: 18px; padding: 16px 18px; border-radius: 16px; background: #e5f7ea; animation: v-in .4s ease; }
.changed-banner b { display: block; font-size: 15px; }
.changed-banner small { color: #3a5a40; font-size: 13px; }
.changed-banner .pill { flex: none; }
@media (max-width: 834px) { .changed-banner { flex-direction: column; align-items: stretch; } }
.pay-methods { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 12px 0 0; font-size: 12px; color: var(--gray); }
.pay-methods svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.pay-tile, .paid-tile { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-radius: 18px; padding: 18px 22px; margin: 0 0 20px; }
.pay-tile { background: #fff8e6; }
.pay-tile b, .paid-tile b { display: block; font-size: 17px; }
.pay-tile small, .paid-tile small { color: var(--gray); font-size: 13px; }
.pay-tile .pill { flex: none; }
.paid-tile { background: #e5f7ea; justify-content: flex-start; }
.paid-tile svg { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: #34c759; fill: none; stroke: #fff; stroke-width: 2.6; flex: none; }
.s-paid { background: #e5f7ea; color: #1e8a3a; }
.s-unpaid { background: #fff4e0; color: #b25e00; }
.spinner { width: 34px; height: 34px; border-radius: 50%; border: 3px solid #e8e8ed; border-top-color: var(--blue); animation: spin .8s linear infinite; margin-bottom: 22px; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 834px) { .pay-tile { flex-direction: column; align-items: stretch; } }

/* ---------- Multi-églises (Withim) ---------- */
.church-tag { display: inline-block; margin-top: 4px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600;
  color: var(--c, var(--brand-red)); background: color-mix(in srgb, var(--c, var(--brand-red)) 12%, transparent); }
.church-filter { margin-bottom: 10px; }
.withim-sign { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--gray); opacity: .85; }
.withim-sign small { font-size: 12px; }
.withim-sign img { height: 16px; width: auto; }
.withim-sign:hover { opacity: 1; }
.draft-banner { position: fixed; left: 0; right: 0; top: var(--nav-h); z-index: 200; padding: 5px 16px; pointer-events: none;
  background: #ffcc00; color: #1d1d1f; font-size: 13px; font-weight: 600; text-align: center; }
html.church-loading body { visibility: hidden; }
.church-list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 10px; }
.church-row { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--bg-gray); border-radius: var(--radius-sm); }
.church-row > span:first-of-type { flex: 1; min-width: 0; }
.church-row b { display: block; font-size: 17px; }
.church-row small { color: var(--gray); font-size: 13px; }
.church-row svg:last-child { width: 14px; height: 14px; color: var(--gray-2); }
.ch-mark { width: 38px; height: 36px; flex: none; }
.ch-mark-big { width: 100%; height: 100%; }
.church-form form { max-width: 620px; }
.church-form .v-h2 { margin-top: 30px; }
.ch-url { margin: -4px 0 8px; }
.ch-logo { display: flex; gap: 16px; align-items: center; margin-bottom: 14px; }
.ch-logo-prev { width: 104px; height: 100px; flex: none; display: grid; place-items: center; padding: 10px; background: var(--bg-gray); border-radius: var(--radius-sm); }
.ch-upload { cursor: pointer; }
.ch-color input[type=color] { padding: 22px 12px 6px; height: 58px; cursor: pointer; }
.ch-engrave { background: #1f5fc8; border-radius: var(--radius-sm); padding: 18px; display: grid; place-items: center; }
.ch-engrave canvas { width: min(240px, 70%); height: auto; filter: drop-shadow(0 0 0 #fff); mix-blend-mode: screen; }
.ch-live { margin: 26px 0 8px; }
.ch-live small { font-weight: 400; display: block; }
.nav:not(.light) .brand-mark { color: var(--brand-on-dark, var(--brand-red)); }

/* ---------- Configurateur : éléments du parcours par étapes ---------- */
.studio-head, .studio-launch, .sheet-head, .sheet-foot { display: none; }
.ref-only { font-weight: 500; }
.ref-only > span:last-child { display: flex; flex-direction: column; gap: 1px; }
.ref-only small { font-size: 12px; color: var(--gray); font-weight: 400; }
.verse-card.ref-only-on label.field, .verse-card.ref-only-on .counter { display: none; }
.verse-card.ref-only-on .verse-meta { border-top: 0; padding-top: 0; }
.verse-card.ref-only-on .ref-field input { font-size: 17px; }
.opt-tag { font-size: 11px; font-weight: 600; color: var(--gray); background: #e8e8ed; padding: 2px 8px; border-radius: 980px; }
.motif-off { margin: 0; font-size: 13px; color: var(--gray); }
.motif-title { flex-wrap: wrap; }
.motif-title .motif-fee { margin-left: auto; }
.current-verse { background: var(--bg-gray); border-radius: 14px; padding: 10px 14px; font-size: 14px; line-height: 1.4; display: flex; flex-direction: column; gap: 2px; }
.current-verse small { font-size: 11px; font-weight: 600; color: var(--gray); text-transform: uppercase; letter-spacing: .04em; }
.current-verse q { quotes: "« " " »"; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.current-verse b { font-size: 13px; }
.source-switch button { min-height: 36px; }
.stepper-range { display: grid; grid-template-columns: 40px 1fr 40px; align-items: center; gap: 10px; }
.round-btn { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); font-size: 20px; line-height: 1; color: var(--ink); cursor: pointer; display: grid; place-items: center; padding: 0; }
.round-btn:active { background: var(--bg-gray); }
.recap-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.recap-list li.wide { grid-column: 1 / -1; }
.rtile { width: 100%; height: 100%; text-align: left; font: inherit; color: var(--ink); cursor: pointer; display: flex; flex-direction: column; gap: 2px;
  background: var(--bg-gray); border: 0; border-radius: 14px; padding: 10px 12px; position: relative; }
.rtile:active { background: #e8e8ed; }
.rtile .rl { font-size: 12px; color: var(--gray); }
.rtile .rv { font-size: 15px; font-weight: 600; min-width: 0; overflow-wrap: anywhere; padding-right: 54px; }
li.wide .rtile .rv { font-weight: 400; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rtile .rv small { color: var(--gray); font-size: 12px; font-weight: 600; white-space: nowrap; }
.redit { position: absolute; right: 12px; top: 10px; font-style: normal; font-size: 12px; color: var(--blue-link); }
.recap-price .total small { display: block; font-size: 12px; font-weight: 400; color: var(--gray); }
.rdot { display: inline-block; width: 14px; height: 14px; border-radius: 50%; vertical-align: -2px; margin-right: 6px; box-shadow: inset 0 0 0 1px rgba(0,0,0,.12); }
.recap-bottom { display: flex; flex-direction: column; gap: 14px; }
.recap-price { flex: 1; margin: 0; display: flex; flex-direction: column; gap: 6px; font-size: 15px; }
.recap-price div { display: flex; justify-content: space-between; gap: 12px; }
.recap-price dt { color: var(--gray); }
.recap-price dd { margin: 0; white-space: nowrap; }
.recap-price .total { border-top: 1px solid var(--line); padding-top: 10px; margin-top: 4px; font-weight: 700; font-size: 19px; }
.recap-price .total dt { color: var(--ink); }
.recap-note { margin: 0; font-size: 13px; color: var(--gray); line-height: 1.45; }
.back-btn { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--white); cursor: pointer; display: grid; place-items: center; padding: 0; color: var(--ink); }
.back-btn[hidden] { display: none; }
.back-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.summary-title { font-variant-numeric: tabular-nums; }
.action-bar .btn { min-width: 116px; }
.action-bar .btn.add { background: var(--ink); }

/* ---------- Téléphone : personnalisation en plein écran ---------- */
@media (max-width: 834px) {
  .configurator-section .headline { margin-bottom: 18px; }
  .configurator { display: block; height: auto; border-radius: 0; overflow: visible; background: var(--white); }
  /* fermé : un aperçu + un gros bouton */
  .configurator:not(.open) .config-stage { position: relative; top: auto; height: min(56svh, 460px); min-height: 300px; max-height: none; box-shadow: none; }
  .configurator:not(.open) .views, .configurator:not(.open) .zoom-hint, .configurator:not(.open) .config-panel { display: none; }
  .configurator:not(.open) .stage-canvas { cursor: pointer; }
  .studio-launch { display: flex; flex-direction: column; align-items: stretch; gap: 12px; padding: 20px 22px 36px; text-align: center; }
  .launch-sub { margin: 0; font-size: 15px; line-height: 1.45; color: var(--gray); }
  .launch-sub b { color: var(--ink); font-weight: 600; }
  .launch-btn { min-height: 52px; border: 0; border-radius: 980px; background: var(--blue); color: #fff; font-size: 17px; font-weight: 600; cursor: pointer; }
  .launch-price { margin: 0; font-size: 13px; color: var(--gray); }

  /* ouvert : application plein écran */
  html.studio-on, html.studio-on body { overflow: hidden; overscroll-behavior: none; }
  .configurator.open {
    position: fixed; left: 0; right: 0; top: var(--studio-top, 0px); height: var(--studio-h, 100svh); z-index: 60;
    display: flex; flex-direction: column; background: var(--white);
  }
  .configurator.open .studio-launch { display: none; }
  .configurator.open .studio-head {
    display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 8px; flex: none;
    padding: calc(4px + env(safe-area-inset-top, 0px)) 12px 4px 8px; height: calc(52px + env(safe-area-inset-top, 0px)); background: var(--white);
  }
  .studio-close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--bg-gray); display: grid; place-items: center; cursor: pointer; padding: 0; color: var(--ink); }
  .studio-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
  .studio-title { margin: 0; display: flex; flex-direction: column; align-items: center; line-height: 1.15; }
  .studio-title small { font-size: 11px; color: var(--gray); font-weight: 500; }
  .studio-title b { font-size: 17px; font-weight: 600; }
  .studio-price { visibility: hidden; font-size: 15px; font-weight: 600; min-width: 44px; text-align: right; font-variant-numeric: tabular-nums; }
  .configurator.open .config-stage { position: relative; top: auto; flex: none; height: 38%; min-height: 0; max-height: none; box-shadow: 0 1px 0 var(--line-soft); }
  .configurator.open.typing .config-stage { height: 34%; }
  .configurator.open.typing .views, .configurator.open.typing .zoom-hint { display: none; }
  /* vues : petites pastilles posées sur l'aperçu */
  .configurator.open .views { position: absolute; left: 0; right: 0; bottom: 8px; padding: 0 10px; gap: 6px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; justify-content: flex-start; }
  .configurator.open .views::before, .configurator.open .views::after { content: ""; flex: 1 0 0px; }
  .configurator.open .view-btn .vl { display: none; }
  .configurator.open .view-btn .vs { display: inline; }
  .configurator.open .views::-webkit-scrollbar { display: none; }
  .configurator.open .view-btn { flex: none; flex-direction: row; height: 30px; padding: 0 12px; border-radius: 980px; font-size: 12px; font-weight: 500; color: var(--ink);
    background: rgba(255,255,255,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
  .configurator.open .view-btn span.thumb { display: none; }
  .configurator.open .view-btn[aria-checked="true"] { background: var(--ink); color: #fff; box-shadow: none; }
  .configurator.open .view-btn[hidden] { display: none; }
  .configurator.open .zoom-hint { display: none; }
  .configurator.open .zoom-reset { top: 8px; right: 10px; }
  .configurator.open .config-panel { flex: 1; min-height: 0; display: flex; flex-direction: column; overflow: hidden; border-left: 0; background: var(--white); }
  .configurator.open .stepper { padding: 6px 8px; }
  .configurator.open .stepper [role="tab"] { font-size: 11px; padding: 4px 0; gap: 3px; }
  .configurator.open .stepper [role="tab"] i { width: 24px; height: 24px; font-size: 12px; }
  .configurator.open .panels { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; padding: 16px 18px 24px; }
  .configurator.open .panel { gap: 14px; }
  .configurator.open .panel-title { font-size: 21px; }
  .configurator.open .bible-list { max-height: none; }
  .configurator.open .bible-list#bibleList { max-height: 50vh; }
  .configurator.open .action-bar { position: static; flex: none; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px)); }
  .configurator.open.typing .action-bar { padding-bottom: 8px; }
  .configurator.open .summary-title { font-size: 17px; }
  .configurator.open .action-bar .btn { min-width: 0; padding: 0 22px; }
  .bag-toast { z-index: 80; }
}

/* ---------- Téléphone : chaque étape tient sur un écran, les choix défilent de gauche à droite ---------- */
@media (max-width: 834px) {
  .configurator.open .config-stage { height: 36%; }
  .configurator.open .stepper { padding: 4px 8px; }
  .configurator.open .stepper [role="tab"] { flex-direction: row; justify-content: center; gap: 4px; padding: 6px 0; font-size: 11px; }
  .configurator.open .stepper [role="tab"] i { width: 20px; height: 20px; font-size: 11px; flex: none; }
  .configurator.open .stepper [role="tab"]:not([aria-selected="true"]) span { display: none; }
  .configurator.open .stepper { grid-template-columns: 1fr 1fr 2.2fr 1fr 1fr; }
  .configurator.open .stepper { display: flex; }
  .configurator.open .stepper [role="tab"] { flex: 1 1 0; }
  .configurator.open .stepper [role="tab"][aria-selected="true"] { flex: 2.4 1 0; background: var(--bg-gray); }
  .configurator.open .panels { padding: 12px 0 10px; overflow-x: hidden; }
  .configurator.open .panel { gap: 12px; height: 100%; }
  .configurator.open .panel > * { margin-inline: 16px; }
  .configurator.open .panel-title, .configurator.open .current-verse, .configurator.open .recap-note, .configurator.open #bibleHint { display: none; }
  /* bandes horizontales : pleine largeur, qui défilent au doigt */
  .configurator.open .hscroll, .configurator.open .motif-grid, .configurator.open .font-grid, .configurator.open .suggestions, .configurator.open .swatches {
    display: flex; flex-wrap: nowrap; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none;
    margin-inline: -16px; padding: 4px 16px 6px; scroll-padding-inline: 16px; gap: 8px;
  }
  .configurator.open .motif-grid::-webkit-scrollbar, .configurator.open .font-grid::-webkit-scrollbar, .configurator.open .suggestions::-webkit-scrollbar, .configurator.open .swatches::-webkit-scrollbar { display: none; }
  /* 1. modèles côte à côte */
  .configurator.open .model-picker { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .configurator.open .model-opt { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 4px; padding: 10px 4px; min-height: 0; }
  .configurator.open .model-opt svg { width: 24px; height: 32px; }
  .configurator.open .mo-text b { font-size: 14px; }
  .configurator.open .mo-text small { display: none; }
  .configurator.open .mo-price { font-size: 13px; }
  .configurator.open .motif-drawer { background: none; padding: 0; }
  .configurator.open .motif-title { margin: 0 0 4px; font-size: 14px; }
  .configurator.open .motif-opt { flex: 0 0 84px; scroll-snap-align: start; padding: 4px 4px 5px; font-size: 12px; gap: 4px; }
  /* 2. couleurs */
  .configurator.open .stock-line { margin: 0 0 2px; }
  .configurator.open .swatches { padding-block: 8px; gap: 14px; }
  .configurator.open .swatch { flex: 0 0 44px; width: 44px; height: 44px; scroll-snap-align: start; }
  .configurator.open .swatches.small .swatch { flex-basis: 38px; width: 38px; height: 38px; }
  .configurator.open .special-card { margin-top: 6px; padding: 10px 16px 6px; border-radius: 14px; }
  .configurator.open .special-sub { margin: 2px 0 0; font-size: 12px; }
  .configurator.open .special-card .swatches { margin-inline: -16px; }
  .configurator.open .special-note { margin: 4px 0 6px; }
  /* 3. versets en cartes à faire glisser */
  .configurator.open #panel-verse .source:not([hidden]) { flex: 1; min-height: 0; display: flex; flex-direction: column; gap: 8px; }
  .configurator.open .suggestions { border: 0; border-radius: 0; background: none; flex: 1; align-items: stretch; }
  .configurator.open .suggestions .verse-row { flex: 0 0 78%; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 14px 16px; scroll-snap-align: start;
    border: 1px solid var(--line); border-radius: 16px; background: var(--white); font-size: 16px; line-height: 1.35; max-height: 170px; overflow: hidden; }
  .configurator.open .suggestions .verse-row b { display: none; }
  .configurator.open .suggestions .verse-row[aria-selected="true"] { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); background: rgba(0,113,227,.06); }
  .configurator.open .bible-search input { height: 38px; }
  .configurator.open .bible-nav { grid-template-columns: 1fr 96px; }
  .configurator.open .crumb { padding: 4px 12px 5px; }
  .configurator.open #bibleList, .configurator.open .search-results:not(:empty) { flex: 1; min-height: 80px; max-height: none; }
  .configurator.open .search-results:not(:empty) ~ .bible-nav, .configurator.open .search-results:not(:empty) ~ #bibleList { display: none; }
  .configurator.open .verse-card { flex: 1; }
  .configurator.open .verse-card textarea { flex: 1; min-height: 60px; }
  /* 4. style : écritures en bande, réglages sur une ligne */
  .configurator.open #panel-style { gap: 10px; }
  .configurator.open #panel-style .field { gap: 4px; font-size: 14px; }
  .configurator.open .font-opt { flex: 0 0 96px; height: 50px; font-size: 22px; scroll-snap-align: start; }
  .configurator.open .field.range { display: grid; grid-template-columns: 78px 1fr; align-items: center; gap: 8px; }
  .configurator.open .field.range > span { flex-direction: column; gap: 0; font-size: 13px; line-height: 1.2; }
  .configurator.open .field.range output { font-size: 12px; }
  .configurator.open .stepper-range { grid-template-columns: 36px 1fr 36px; gap: 8px; }
  .configurator.open .round-btn { width: 36px; height: 36px; }
  .configurator.open .toggle { font-size: 14px; }
  /* 5. récap en tuiles */
  .configurator.open #panel-recap { gap: 10px; }
  .configurator.open .recap-list { gap: 6px; }
  .configurator.open .rtile { padding: 8px 10px; }
  .configurator.open .rtile .rv { font-size: 14px; padding-right: 0; }
  .configurator.open .redit { display: none; }
  .configurator.open .recap-price .total { border: 0; padding: 0; margin: 0; font-size: 17px; align-items: center; }
  .configurator.open #panel-recap .extra-actions .btn { height: 32px; font-size: 13px; }
}

/* ---------- Téléphone : la Bible en fenêtre plein écran ---------- */
@media (max-width: 834px) {
  .configurator.open #bibleSheet.sheet {
    position: fixed; left: 0; right: 0; top: var(--studio-top, 0px); height: var(--studio-h, 100svh); z-index: 70; margin: 0;
    display: flex; flex-direction: column; gap: 10px; background: var(--white); padding: 0 16px; animation: sheetIn .25s ease;
  }
  @keyframes sheetIn { from { transform: translateY(24px); opacity: 0; } to { transform: none; opacity: 1; } }
  #bibleSheet.sheet .sheet-head { display: flex; align-items: center; justify-content: space-between; flex: none; height: calc(52px + env(safe-area-inset-top, 0px)); padding-top: env(safe-area-inset-top, 0px); }
  #bibleSheet.sheet .sheet-head b { font-size: 20px; font-weight: 700; letter-spacing: -.01em; }
  .sheet-close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--bg-gray); display: grid; place-items: center; cursor: pointer; padding: 0; color: var(--ink); }
  .sheet-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
  #bibleSheet.sheet > * { flex: none; }
  #bibleSheet.sheet #bibleList, #bibleSheet.sheet .search-results:not(:empty) { flex: 1 1 auto; min-height: 0; max-height: none; }
  #bibleSheet.sheet #bibleHint { display: block; }
  #bibleSheet.sheet .sheet-foot { display: flex; align-items: center; gap: 12px; padding: 10px 0 calc(10px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line-soft); margin: 0 -16px; padding-inline: 16px; }
  .sheet-foot p { flex: 1; min-width: 0; margin: 0; font-size: 13px; line-height: 1.3; color: var(--gray); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .sheet-foot p b { color: var(--ink); }
  .sheet-done { flex: none; min-height: 44px; padding: 0 18px; border: 0; border-radius: 980px; background: var(--blue); color: #fff; font-size: 15px; font-weight: 600; cursor: pointer; }
  .configurator.open.sheet-on .bible-search input { height: 40px; }
  /* récap : tuiles sur 3 colonnes, gourde un peu plus petite */
  .configurator.open .recap-list { grid-template-columns: repeat(3, 1fr); }
  .configurator.open .rtile .rl { font-size: 11px; }
  .configurator.open .rtile .rv { font-size: 13px; }
  .configurator.open .rtile .rv[style] { font-size: 17px !important; }
  .configurator.open:has(#tab-recap[aria-selected="true"]) .config-stage { height: 30%; }
  #panel-recap .recap-bottom { display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; }
}
/* petits téléphones (iPhone SE…) */
@media (max-width: 834px) and (max-height: 620px) {
  .configurator.open .config-stage { height: 30%; }
  .configurator.open:has(#tab-recap[aria-selected="true"]) .config-stage { height: 24%; }
  .configurator.open .studio-head { height: calc(44px + env(safe-area-inset-top, 0px)); }
  .configurator.open .panels { padding-top: 8px; }
  .configurator.open .panel { gap: 8px; }
  .configurator.open .model-opt { padding: 6px 4px; }
  .configurator.open .motif-opt { flex-basis: 72px; }
  .configurator.open .special-card { padding-top: 8px; }
  .configurator.open .font-opt { height: 44px; }
  .configurator.open .action-bar { padding-top: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 834px) {
  .configurator.open .verse-card textarea { height: 0; overflow-y: auto; }
  .configurator.open [data-source-panel="custom"] > .counter { display: none; }
  .configurator.open .rtile .rv small { display: block; font-weight: 500; }
  .configurator.open .rtile .rv[style] { font-size: 16px !important; }
}
@media (max-width: 834px) and (max-height: 620px) {
  .configurator.open:has(#tab-recap[aria-selected="true"]) .views { display: none; }
  .configurator.open li.wide .rtile .rv { -webkit-line-clamp: 1; }
}

/* étape 4 : logo et référence seule */
.toggles { display: flex; flex-direction: column; gap: 12px; }
.ref-only-field[hidden] { display: none; }
.ref-only-field input { width: 100%; height: 44px; border: 1px solid var(--line); border-radius: 12px; padding: 0 14px; font-size: 16px; font-weight: 600; background: var(--white); outline: none; }
.ref-only-field input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(0,113,227,.2); }
.studio-ok { display: none; }
@media (max-width: 834px) {
  .configurator.open .toggles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .configurator.open .toggles .toggle { background: var(--bg-gray); border-radius: 14px; padding: 8px 10px; font-size: 13px; gap: 6px; }
  .configurator.open .toggles .toggle-ui { transform: scale(.8); transform-origin: right center; }
  .configurator.open .toggles .ref-only small { font-size: 11px; }
  .configurator.open .ref-only-field { grid-column: 1 / -1; }
  .configurator.open .ref-only-field input { height: 40px; }
  /* en écrivant : tout l'écran pour le texte (la gourde se cache) */
  .configurator.open.typing .config-stage, .configurator.open.typing .stepper, .configurator.open.typing .action-bar,
  .configurator.open.typing .source-switch { display: none; }
  .configurator.open.typing .studio-price { display: none; }
  .configurator.open.typing .studio-ok { display: block; border: 0; background: var(--blue); color: #fff; font: inherit; font-size: 15px; font-weight: 600; height: 36px; padding: 0 16px; border-radius: 980px; cursor: pointer; }
  .configurator.open.typing .panels { padding-top: 8px; }
  .configurator.open.typing .verse-card textarea { font-size: 18px; }
  .configurator.open.typing #panel-style > :not(.toggles) { display: none; }
}
.nav-links a[hidden] { display: none; }
@media (max-width: 834px) { .model-visual { aspect-ratio: 1 / 1; } }

/* =========================================================
   Sections épinglées : la page reste en place, le défilement anime
   ========================================================= */
.pin { position: relative; }
.pin-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.pin h2 { margin: 0; font-size: clamp(34px, 8.6vw, 60px); line-height: 1.06; font-weight: 700; letter-spacing: -.03em; text-wrap: balance; }
.pin .kicker { margin: 0 0 6px; font-size: 15px; }
.pin .muted { color: var(--gray-2); }

/* --- Modèles : droite → gauche --- */
.pin-models { height: 330vh; height: 330svh; background: var(--bg-gray); }
.pin-head { position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 18px); text-align: center; padding: 0 22px; z-index: 2; }
.pin-head h2 { font-size: clamp(30px, 7.4vw, 52px); }
.hs-track { position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 128px); bottom: calc(34px + env(safe-area-inset-bottom, 0px)); }
.hs-slide.model-card { position: absolute; inset: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; background: none; border-radius: 0; overflow: visible; will-change: transform; transition: none; }
.hs-slide.model-card:hover { transform: none; box-shadow: none; }
.hs-slide .model-visual { aspect-ratio: auto; background: none; min-height: 0; will-change: transform; }
.hs-slide .model-visual img { width: 100%; height: 100%; object-fit: contain; }
.hs-slide .model-body { width: 100%; max-width: 26rem; margin: 0 auto; padding: 0 24px; text-align: center; align-items: center; gap: 6px; flex: none; }
.hs-slide .model-badge { position: static; }
.hs-slide .model-body h3 { font-size: 28px; }
.hs-slide .model-body p { font-size: 15px; }
.hs-slide .model-dots { justify-content: center; flex-wrap: wrap; margin: 4px 0; }
.hs-slide .model-dots i { width: 16px; height: 16px; }
.hs-slide .model-foot { width: 100%; justify-content: center; align-items: center; gap: 16px; margin-top: 4px; }
.hs-slide .model-foot b { font-size: 19px; }
.hs-dots { position: absolute; left: 0; right: 0; bottom: calc(14px + env(safe-area-inset-bottom, 0px)); display: flex; justify-content: center; gap: 6px; }
.hs-dots i { width: 6px; height: 6px; border-radius: 3px; background: #c7c7cc; transition: width .3s, background .3s; }
.hs-dots i.on { width: 18px; background: var(--ink); }

/* --- Couleurs : la roue --- */
.pin-colors { height: 260vh; height: 260svh; background: var(--black); color: #f5f5f7; }
.pin-colors .pin-stage::before { content: ""; position: absolute; left: 50%; top: 40%; width: 760px; height: 760px; transform: translate(-50%, -50%); background: radial-gradient(circle, color-mix(in srgb, var(--wc, #1f5fc8) 34%, transparent) 0%, transparent 62%); transition: background .5s; pointer-events: none; }
.wheel { position: absolute; left: 50%; top: 40%; width: 0; height: 0; }
.wheel-dots i { position: absolute; left: -12px; top: -12px; width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); will-change: transform; }
.wheel-dots i::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; box-shadow: 0 0 0 2px #fff; opacity: 0; transform: scale(.6); transition: opacity .25s, transform .25s; }
.wheel-dots i.on::after { opacity: 1; transform: none; }
.wheel-center { position: absolute; transform: translate(-50%, -50%); text-align: center; white-space: nowrap; }
.wheel-center b { display: block; font-size: clamp(64px, 18vw, 104px); font-weight: 700; letter-spacing: -.04em; line-height: 1; font-variant-numeric: tabular-nums; }
.wheel-center span { font-size: 15px; color: #86868b; letter-spacing: .18em; text-transform: uppercase; }
.pin-copy { position: absolute; left: 0; right: 0; bottom: calc(6svh + env(safe-area-inset-bottom, 0px)); text-align: center; padding: 0 22px; }
.pin-copy h2 { font-size: clamp(32px, 8vw, 52px); }
.wheel-name { margin: 12px 0 0; font-size: 19px; font-weight: 600; min-height: 1.4em; display: flex; align-items: center; justify-content: center; gap: 8px; }
.wheel-name i { width: 12px; height: 12px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
.wheel-name small { font-weight: 400; color: #86868b; font-size: 15px; }
.pin-sub { margin: 8px auto 0; max-width: 30ch; color: #a1a1a6; font-size: 15px; line-height: 1.4; }

/* --- Photos : grandit jusqu'à remplir l'écran --- */
.pin-photos { height: 240vh; height: 240svh; background: var(--black); color: #f5f5f7; }
.pin-photos[hidden] { display: none; }
.ph { position: absolute; inset: 0; margin: 0; overflow: hidden; }
.ph img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; will-change: transform; }
.ph-1 { clip-path: inset(27% 9% 10% round 28px); }
.ph-2 { transform: translate3d(100%, 0, 0); will-change: transform; }
.ph-2 img { object-position: 50% 50%; }
.ph[hidden] { display: none; }
.ph-copy { position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 20px); text-align: center; padding: 0 22px; z-index: 2; }
.ph-copy h2 { font-size: clamp(30px, 7.4vw, 52px); }

/* --- Portail vers l'atelier --- */
.pin-portal { height: 220vh; height: 220svh; background: var(--black); color: #f5f5f7; }
.portal-copy { position: absolute; left: 0; right: 0; top: calc(var(--nav-h) + env(safe-area-inset-top, 0px) + 22px); text-align: center; padding: 0 22px; z-index: 2; }
.portal-copy h2 { font-size: clamp(30px, 7.4vw, 52px); }
.portal-win { position: absolute; inset: 0; background: linear-gradient(180deg, #fff 0%, var(--bg-gray) 70%); color: var(--ink); clip-path: inset(28% 8% 16% round 32px); }
.portal-win img { position: absolute; left: 0; top: 9%; width: 100%; height: 62%; object-fit: contain; will-change: transform; }
.portal-in { position: absolute; left: 0; right: 0; bottom: calc(8svh + env(safe-area-inset-bottom, 0px)); text-align: center; padding: 0 22px; }
.portal-in p { margin: 0 0 16px; color: var(--gray); font-size: 17px; line-height: 1.4; }
.portal-in b { color: var(--ink); font-weight: 600; }
.portal-hint { z-index: 2; }

@media (min-width: 835px) {
  .hs-track { top: calc(var(--nav-h) + 150px); }
  .hs-slide.model-card { grid-template-rows: 100%; grid-template-columns: 1.1fr 1fr; align-items: center; max-width: 1024px; margin: 0 auto; }
  .hs-slide .model-visual { height: 100%; }
  .hs-slide .model-body { text-align: left; align-items: flex-start; margin: 0; }
  .hs-slide .model-dots, .hs-slide .model-foot { justify-content: flex-start; }
  .wheel { left: 66%; top: 50%; }
  .pin-colors .pin-stage::before { left: 66%; top: 50%; }
  .pin-copy { left: max(40px, calc(50vw - 480px)); right: auto; top: 50%; bottom: auto; transform: translateY(-50%); text-align: left; max-width: 400px; padding: 0; }
  .wheel-name { justify-content: flex-start; }
  .pin-sub { margin-left: 0; }
  .portal-win img { top: 6%; height: 64%; }
}
