/* ==========================================================================
   MON PETIT CROCHET BY ORIANA : direction artistique « lin & cacao »
   Palette : ivoire (fond) · lin (sections) · sable (filets) · cacao (texte) · terre cuite (accent) · olive (détail)
   Fil rouge : la maille (motif en V), le fil qui se dessine au scroll
   ========================================================================== */
:root {
  --ivory: #F7F2EA;
  --linen: #EFE7DA;
  --sand: #DCCFBA;
  --stone: #BFAF98;
  --cocoa: #33241F;
  --taupe: #6F5444;
  --muted: #6B5D54;
  --accent: #B0522E;
  --accent-soft: #E9C7B3;
  --olive: #6E7B3A;
  --bg: var(--ivory);
  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --max: 1360px;
  --radius: 22px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: auto; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--cocoa);
  font-family: var(--font-body); font-weight: 400; line-height: 1.6; font-size: 1.0625rem;
  transition: background-color .9s var(--ease);
  overflow-x: hidden;
}
body.is-loading { overflow: hidden; }
img, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, figure, dl, dd { margin: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 1rem; top: -4rem; z-index: 2000; background: var(--cocoa); color: var(--ivory); padding: .7rem 1rem; border-radius: 8px; transition: top .2s; }
.skip:focus { top: 1rem; }
.wrap { width: min(100% - var(--pad) * 2, var(--max)); margin-inline: auto; }

/* ---------- Typographie ---------- */
.h2 { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.4rem, 6.2vw, 5.6rem); line-height: 1; letter-spacing: -.02em; font-variation-settings: 'opsz' 144; }
.h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.7rem, 3vw, 2.4rem); line-height: 1.1; letter-spacing: -.01em; }
.h2--light { color: var(--ivory); }
.eyebrow { font-size: .78rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 500; color: var(--accent); margin-bottom: 1.1rem; display: flex; align-items: center; gap: .8rem; }
.eyebrow::before { content: ''; width: 2.2rem; height: 1px; background: currentColor; }
.eyebrow--light { color: var(--accent-soft); }
.lead { font-size: clamp(1.05rem, 1.5vw, 1.3rem); color: var(--muted); max-width: 38em; font-weight: 300; margin-top: 1.4rem; }
.small { font-size: .92rem; color: var(--muted); margin-top: 1rem; max-width: 38em; }
.link { background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 2px; transition: background-size .5s var(--ease); font-weight: 500; }
.link:hover { background-size: 0 1px; background-position: 100% 100%; }
.linkbtn { text-decoration: underline; text-underline-offset: 3px; }
.section { padding-block: clamp(5rem, 11vw, 10rem); position: relative; }
.section__head { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.section__head--row { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; }
[data-split] .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .12em; margin-bottom: -.12em; }
[data-split] .w > span { display: inline-block; will-change: transform; }

/* ---------- Boutons : fond animé + aimant ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; padding: 1.05rem 1.9rem; border-radius: 999px; font-weight: 500; letter-spacing: .02em; font-size: .98rem; overflow: hidden; isolation: isolate; transition: color .45s var(--ease), border-color .45s; will-change: transform; white-space: nowrap; }
.btn > span { position: relative; z-index: 1; }
.btn::before { content: ''; position: absolute; inset: 0; z-index: 0; transform: translateY(101%); border-radius: 50% 50% 0 0 / 100% 100% 0 0; transition: transform .6s var(--ease), border-radius .6s var(--ease); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); border-radius: 0; }
.btn--fill { background: var(--cocoa); color: var(--ivory); }
.btn--fill::before { background: var(--accent); }
.btn--ghost { border: 1px solid currentColor; }
.btn--ghost::before { background: var(--cocoa); }
.btn--ghost:hover, .btn--ghost:focus-visible { color: var(--ivory); border-color: var(--cocoa); }
.hero .btn--fill { background: var(--ivory); color: var(--cocoa); }
.hero .btn--fill::before { background: var(--accent); }
.hero .btn--fill:hover { color: var(--ivory); }
.hero .btn--ghost { color: var(--ivory); }
.hero .btn--ghost::before { background: var(--ivory); }
.hero .btn--ghost:hover { color: var(--cocoa); border-color: var(--ivory); }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; color: var(--ivory); }
.loader__strips { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(8, 1fr); }
.loader__strips i { background: var(--cocoa); transform-origin: top; }
.loader__inner { position: relative; text-align: center; padding: 1rem; }
.loader__thread { width: min(62vw, 340px); margin: 0 auto 1.4rem; color: var(--accent-soft); overflow: visible; }
.loader__title { font-family: var(--font-display); font-weight: 300; font-size: clamp(2rem, 6vw, 3.4rem); line-height: 1; overflow: hidden; }
.loader__title span { display: inline-block; }
.loader__sub { font-family: var(--font-display); font-style: italic; font-weight: 300; color: var(--accent-soft); font-size: 1.3rem; margin-top: .3rem; }
.loader__count { margin-top: 1.6rem; font-size: .8rem; letter-spacing: .3em; opacity: .7; font-variant-numeric: tabular-nums; }

.progress { position: fixed; left: 0; top: 0; right: 0; height: 3px; z-index: 900; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--accent); transform-origin: left; transform: scaleX(0); }

/* ---------- En-tête ---------- */
.header { position: fixed; inset: 0 0 auto 0; z-index: 800; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1rem var(--pad); color: var(--cocoa); transition: transform .6s var(--ease), background-color .4s, color .4s, box-shadow .4s; }
.header.is-hidden { transform: translateY(-110%); }
.header.is-solid { background: rgba(247, 242, 234, .92); background: color-mix(in srgb, var(--ivory) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 rgba(51, 36, 31, .08); }
.header.on-dark:not(.is-solid) { color: var(--ivory); }
.logo { display: flex; align-items: center; gap: .7rem; }
.logo svg { width: 38px; height: 38px; color: var(--cocoa); transition: transform .8s var(--ease); }
.header.on-dark:not(.is-solid) .logo svg { color: var(--ivory); }
.header.on-dark:not(.is-solid) .logo svg path { stroke: var(--cocoa); }
.logo:hover svg { transform: rotate(180deg); }
.logo span { font-family: var(--font-display); font-size: 1.15rem; line-height: 1.05; display: grid; font-weight: 400; }
.logo small { font-style: italic; font-weight: 300; font-size: .85rem; opacity: .75; }
.nav { display: none; gap: 1.8rem; font-size: .95rem; font-weight: 400; white-space: nowrap; }
.nav a { position: relative; padding: .3rem 0; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .5s var(--ease); }
.nav a:hover { background-size: 100% 1px; }
.header__actions { display: flex; align-items: center; gap: .6rem; }
.cart-btn { display: inline-flex; align-items: center; gap: .55rem; padding: .6rem 1rem; border: 1px solid currentColor; border-radius: 999px; font-weight: 500; font-size: .92rem; transition: background-color .3s, color .3s; }
.cart-btn svg { width: 20px; height: 20px; }
.cart-btn:hover { background: var(--cocoa); color: var(--ivory); border-color: var(--cocoa); }
.cart-btn__count { min-width: 1.5rem; height: 1.5rem; display: inline-grid; place-items: center; border-radius: 999px; background: var(--accent); color: #fff; font-size: .78rem; padding-inline: .3rem; font-variant-numeric: tabular-nums; }
.burger { width: 44px; height: 44px; border-radius: 50%; display: grid; place-content: center; gap: 7px; }
.burger span { display: block; width: 24px; height: 1.6px; background: currentColor; transition: transform .5s var(--ease); }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4.3px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4.3px) rotate(-45deg); }
.menu { position: fixed; inset: 0; z-index: 790; background: var(--cocoa); color: var(--ivory); display: flex; flex-direction: column; justify-content: flex-start; overflow-y: auto; overscroll-behavior: contain; padding: 6rem var(--pad) 3rem; clip-path: circle(0% at calc(100% - 3rem) 2.2rem); visibility: hidden; transition: clip-path .9s var(--ease), visibility 0s .9s; }
.menu.is-open { clip-path: circle(150% at calc(100% - 3rem) 2.2rem); visibility: visible; transition: clip-path .9s var(--ease); }
.menu nav { display: grid; gap: .4rem; margin-top: auto; }
.menu a { font-family: var(--font-display); font-weight: 300; font-size: clamp(2.2rem, 9vw, 3.6rem); line-height: 1.15; transform: translateY(30px); opacity: 0; transition: transform .8s var(--ease), opacity .8s; }
.menu.is-open a { transform: none; opacity: 1; }
.menu.is-open a:nth-child(2) { transition-delay: .06s; } .menu.is-open a:nth-child(3) { transition-delay: .12s; } .menu.is-open a:nth-child(4) { transition-delay: .18s; } .menu.is-open a:nth-child(5) { transition-delay: .24s; } .menu.is-open a:nth-child(6) { transition-delay: .3s; }
.menu__foot { margin-top: 2.5rem; margin-bottom: auto; color: var(--accent-soft); letter-spacing: .2em; text-transform: uppercase; font-size: .75rem; }
@media (min-width: 1000px) { .nav { display: flex; } .burger { display: none; } }
@media (max-width: 560px) { .cart-btn__label { display: none; } .logo small { display: none; } } @media (max-height: 520px) { .menu { padding-block: 4.8rem 1.5rem; } .menu a { font-size: clamp(1.6rem, 7vh, 2.4rem); line-height: 1.1; } .menu__foot { margin-top: 1rem; } }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 640px; overflow: hidden; color: var(--ivory); display: grid; align-items: end; background: var(--cocoa); }
.hero__bg { position: absolute; inset: -6% 0; will-change: transform; }
.hero__video { width: 100%; height: 100%; object-fit: cover; object-position: 50% 70%; transform: scale(1.06); }   /* photo d'Oriana au bord du lac (story à la une, 720 × 1280), recadrée sur le lac et le crochet */
.hero__veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(36, 24, 20, .55) 0%, rgba(36, 24, 20, .18) 38%, rgba(36, 24, 20, .72) 100%), radial-gradient(120% 80% at 20% 100%, rgba(36, 24, 20, .55), transparent 60%); }
.hero__content { position: relative; z-index: 2; padding: 0 var(--pad) clamp(4.5rem, 10vh, 7rem); width: min(100%, var(--max)); margin-inline: auto; }
.hero__eyebrow { color: var(--accent-soft); }
.hero__title { font-family: var(--font-display); font-weight: 300; font-size: clamp(3.6rem, 14.5vw, 13.5rem); line-height: .86; letter-spacing: -.035em; font-variation-settings: 'opsz' 144; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .1em; margin-bottom: -.1em; position: relative; }
.hero__title .line:last-child { white-space: nowrap; }
.hero__title .ch { display: inline-block; will-change: transform; }
.hero__title .by { font-style: italic; font-weight: 300; font-size: .26em; letter-spacing: 0; color: var(--accent-soft); margin-left: .35em; display: inline-block; transform: translateY(-.1em); }
.hero__lead { max-width: 30rem; font-size: clamp(1.05rem, 1.6vw, 1.35rem); font-weight: 300; margin-top: 1.6rem; color: rgba(247, 242, 234, .92); }
.hero__cta { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2rem; }
.hero__scroll { position: absolute; z-index: 2; right: var(--pad); bottom: 2.2rem; writing-mode: vertical-rl; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; display: none; align-items: center; gap: .8rem; }
.hero__scroll span { width: 1px; height: 60px; background: rgba(247, 242, 234, .35); position: relative; overflow: hidden; }
.hero__scroll span::after { content: ''; position: absolute; inset: 0; background: var(--ivory); animation: drip 2.2s var(--ease) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 60% { transform: translateY(100%); } 100% { transform: translateY(100%); } }
@media (min-width: 900px) { .hero__scroll { display: flex; } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; background: var(--cocoa); color: var(--ivory); padding: 1.15rem 0; border-block: 1px solid rgba(255, 255, 255, .08); }
.marquee__track { display: flex; align-items: center; gap: 2.2rem; width: max-content; font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: clamp(1.4rem, 3vw, 2.3rem); will-change: transform; }
.marquee__track i { width: 11px; height: 11px; border-radius: 50%; background: var(--accent); flex: none; }
.marquee__track span { white-space: nowrap; }

/* ---------- Boutique ---------- */
.shop { background: var(--ivory); }
.filters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 2.2rem; }
.chip-btn { padding: .6rem 1.2rem; border-radius: 999px; border: 1px solid var(--sand); font-size: .92rem; font-weight: 500; transition: background-color .3s, color .3s, border-color .3s; }
.chip-btn:hover { border-color: var(--cocoa); }
.chip-btn[aria-pressed="true"] { background: var(--cocoa); color: var(--ivory); border-color: var(--cocoa); }
.grid { display: grid; gap: clamp(1.2rem, 2.4vw, 2.2rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card { position: relative; display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(51, 36, 31, .07); transform-style: preserve-3d; will-change: transform; transition: box-shadow .5s var(--ease), border-color .4s; }
.card:hover { box-shadow: 0 30px 60px -20px rgba(51, 36, 31, .28); border-color: transparent; }
.card::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .55), transparent 55%); opacity: 0; transition: opacity .4s; mix-blend-mode: soft-light; }
.card:hover::after { opacity: 1; }
.card__media { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--linen); }
.card__photo, .card__svg { position: absolute; inset: 0; width: 100%; height: 100%; transition: opacity .55s var(--ease), transform 1.2s var(--ease); }
.card__photo { object-fit: cover; }
.card:hover .card__photo { transform: scale(1.05); }
.card.is-gen .card__media { background: #fff; }
.card.is-gen .card__photo { object-fit: contain; padding: 4%; }
.card.is-gen:hover .card__photo { transform: scale(1.02); }
.card__svg { display: grid; place-items: center; opacity: 0; padding: 8%; background: radial-gradient(80% 70% at 50% 40%, #fff, var(--linen)); }
.card__svg svg { width: 100%; height: auto; max-height: 100%; }
.card.is-preview .card__svg { opacity: 1; }
.badge { position: absolute; left: 1rem; top: 1rem; z-index: 2; background: var(--ivory); color: var(--cocoa); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; padding: .4rem .75rem; border-radius: 999px; }
.card__body { padding: 1.3rem 1.4rem 1.5rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.card h3 { font-family: var(--font-display); font-size: 1.45rem; font-weight: 400; line-height: 1.15; }
.price { font-weight: 500; white-space: nowrap; color: var(--accent); }
.card__tag { color: var(--muted); font-size: .98rem; font-weight: 300; }
.dots { display: flex; flex-wrap: wrap; gap: .45rem; align-items: center; margin-top: .3rem; }
.dot { width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(51, 36, 31, .22); position: relative; transition: transform .35s var(--ease), box-shadow .3s; }
.dot:hover, .dot:focus-visible { transform: scale(1.22); }
.dot[aria-pressed="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px var(--cocoa); }
.dot--more { width: auto; padding: 0 .55rem; font-size: .75rem; font-weight: 600; height: 24px; border-radius: 999px; background: var(--linen); border-color: transparent; }
/* écran tactile : zone de toucher agrandie autour des pastilles (sans changer leur taille visible) */
@media (pointer: coarse) { .dot::after { content: ''; position: absolute; inset: -5px; border-radius: inherit; } }
.card .btn { margin-top: auto; width: 100%; }
.card__cta { margin-top: auto; padding-top: .6rem; }
.shop__note { display: flex; gap: .8rem; align-items: center; margin-top: 2.6rem; color: var(--muted); font-size: .95rem; padding: 1rem 1.2rem; border: 1px dashed var(--stone); border-radius: 14px; }
.shop__note svg { width: 26px; height: 26px; flex: none; color: var(--olive); }

/* ---------- Modèles : défilement horizontal ---------- */
.models { background: var(--linen); overflow: hidden; }
.models__pin { height: 100vh; display: flex; align-items: center; }
.models__track { display: flex; gap: clamp(1.5rem, 3vw, 3rem); padding-inline: var(--pad); align-items: center; will-change: transform; }
.mpanel { flex: none; display: flex; flex-direction: column; gap: 1.2rem; width: clamp(260px, 26vw, 400px); }
.mpanel--intro { width: clamp(300px, 36vw, 540px); padding-right: 2rem; }
.mpanel__img { border-radius: 24px; overflow: hidden; aspect-ratio: 3/4; background: var(--sand); }
.mpanel__img img { width: 100%; height: 116%; object-fit: cover; }
.mpanel__n { font-family: var(--font-display); font-style: italic; font-size: 2.2rem; color: var(--accent); line-height: 1; }
.mpanel__txt h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.7rem; line-height: 1.1; margin: .3rem 0 .4rem; }
.mpanel__txt p { color: var(--muted); font-size: 1rem; font-weight: 300; }
.models__hint { display: flex; align-items: center; gap: .8rem; margin-top: 2rem; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--taupe); }
.models__hint span { width: 80px; height: 1px; background: var(--taupe); position: relative; }
.models__hint span::after { content: ''; position: absolute; right: 0; top: -4px; width: 8px; height: 8px; border-top: 1px solid var(--taupe); border-right: 1px solid var(--taupe); transform: rotate(45deg); }
@media (max-width: 899px) {
  .models__pin { height: auto; padding-block: 4.5rem; }
  .models__track { overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 1.2rem; -webkit-overflow-scrolling: touch; }
  .mpanel { scroll-snap-align: start; width: 74vw; }
  .mpanel--intro { width: 82vw; }
  .mpanel__img img { height: 100%; }
}

/* ---------- Couleurs ---------- */
.colors { transition: background-color .9s var(--ease); }
.colors__grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
@media (min-width: 960px) { .colors__grid { grid-template-columns: 1fr 1.1fr; } }
.colors .btn { margin-top: 2rem; }
.colors__wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(88px, 1fr)); gap: 1rem; }
.sw { display: grid; justify-items: center; gap: .55rem; text-align: center; font-size: .82rem; color: var(--muted); }
.sw__ball { width: 72px; height: 72px; border-radius: 50%; border: 1px solid rgba(51, 36, 31, .14); position: relative; transition: transform .5s var(--ease), box-shadow .5s; cursor: pointer; overflow: hidden; }
.sw__ball::after { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .18) 0 3px, transparent 3px 8px); mix-blend-mode: soft-light; }
.sw:hover .sw__ball, .sw__ball:focus-visible { transform: scale(1.14) rotate(8deg); box-shadow: 0 16px 30px -8px rgba(51, 36, 31, .35); }

/* ---------- Atelier (section pinnée) ---------- */
.atelier { background: var(--cocoa); color: var(--ivory); }
.atelier__pin { position: relative; min-height: 100vh; overflow: hidden; display: grid; align-items: center; padding-block: 6rem; }
/* fond : la fiche de tous les modèles d'Oriana (paniers puis sacs), qui défile du haut vers le bas pendant les quatre étapes (voir motion.js) */
.atelier__video { position: absolute; left: 0; top: 0; width: 100%; height: auto; min-height: 100%; object-fit: cover; object-position: 50% 0; filter: brightness(.55) contrast(1.08); transform-origin: 50% 0; will-change: transform; }
.atelier__veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(36, 24, 20, .82), rgba(36, 24, 20, .3)); }
.atelier__stage { position: relative; z-index: 1; display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) { .atelier__stage { grid-template-columns: 1.1fr .9fr; grid-template-areas: 'head photos' 'steps photos'; } .atelier__head { grid-area: head; } .steps { grid-area: steps; } .atelier__photos { grid-area: photos; } }
.steps { display: grid; position: relative; min-height: 14rem; }
.step { grid-area: 1/1; opacity: .0; transform: translateY(30px); pointer-events: none; transition: opacity .8s var(--ease), transform .8s var(--ease); }
.step.is-active { opacity: 1; transform: none; pointer-events: auto; }
.step__n { font-family: var(--font-display); font-style: italic; color: var(--accent-soft); font-size: 1.4rem; }
.step h3 { font-family: var(--font-display); font-weight: 300; font-size: clamp(2rem, 4.4vw, 3.6rem); line-height: 1.05; margin: .4rem 0 .8rem; }
.step p { max-width: 30rem; color: rgba(247, 242, 234, .86); font-weight: 300; font-size: 1.12rem; }
.atelier__photos { position: relative; aspect-ratio: 3/4; max-height: 70vh; justify-self: center; width: min(70vw, 380px); border-radius: 26px; overflow: hidden; box-shadow: 0 40px 80px rgba(0, 0, 0, .45); }
.aph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity .9s var(--ease), transform 1.6s var(--ease); }
.aph.is-active { opacity: 1; transform: scale(1); }
.atelier__dots { position: absolute; left: var(--pad); bottom: 2rem; display: flex; gap: .6rem; }
.atelier__dots i { width: 28px; height: 3px; background: rgba(255, 255, 255, .25); border-radius: 2px; transition: background-color .5s, width .5s var(--ease); }
.atelier__dots i.is-active { background: var(--accent-soft); width: 56px; }
.atelier__stage .steps, .atelier__stage .atelier__head { min-width: 0; }

/* ---------- Chiffres ---------- */
.numbers { background: var(--linen); padding-block: clamp(3.5rem, 8vw, 6.5rem); }
.numbers__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2.5rem 1.5rem; }
@media (min-width: 900px) { .numbers__grid { grid-template-columns: repeat(4, 1fr); } }
.num { border-top: 1px solid var(--stone); padding-top: 1.2rem; }
.num b { display: block; font-family: var(--font-display); font-weight: 300; font-size: clamp(3.4rem, 8vw, 6.6rem); line-height: 1; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.num span { color: var(--muted); font-size: 1rem; }

/* ---------- Accessoires ---------- */
.extras__grid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .extras__grid { grid-template-columns: .8fr 1.2fr .8fr; } .extras__img--b { margin-top: 6rem; } }
.extras__img { border-radius: 26px; overflow: hidden; aspect-ratio: 3/4; max-height: 560px; }
.extras__img img { width: 100%; height: 118%; object-fit: cover; }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; margin: 1.6rem 0 2rem; }
.chips li { padding: .5rem 1rem; border: 1px solid var(--stone); border-radius: 999px; font-size: .92rem; }
.extras__txt { text-align: left; }
@media (max-width: 899px) { .extras__img--b { display: none; } .extras__img { max-height: 380px; aspect-ratio: 4/3; } }

/* ---------- Demande personnalisée ---------- */
.custom { background: var(--linen); }
.custom__grid { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
@media (min-width: 960px) {
  .custom__grid { grid-template-columns: .9fr 1.1fr; grid-template-areas: 'intro form' 'viewer form'; grid-template-rows: auto 1fr; }
  .custom__intro { grid-area: intro; }
  .custom__viewer { grid-area: viewer; position: sticky; top: 6.2rem; }
  .form { grid-area: form; }
}
.custom__viewer { position: relative; z-index: 3; border-radius: 28px; overflow: hidden; aspect-ratio: 5/4; background: radial-gradient(80% 70% at 50% 35%, #fff, #f0e7d8 82%); box-shadow: 0 30px 60px -34px rgba(51, 36, 31, .4); }
.custom__stage, .custom__fallback, .preview__3d { position: absolute; inset: 0; }
.custom__fallback { display: grid; place-items: center; padding: 6% 8% 12%; }
.custom__fallback svg { width: 100%; height: auto; max-height: 100%; }
.custom__fallback[hidden], .custom__stage[hidden] { display: none; }
.custom__chip { position: absolute; left: 1rem; top: 1rem; z-index: 2; background: var(--cocoa); color: var(--ivory); font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; padding: .4rem .75rem; border-radius: 999px; }
.custom__hint { position: absolute; right: 1rem; top: 1rem; z-index: 2; display: inline-flex; align-items: center; gap: .4rem; font-size: .78rem; color: var(--taupe); pointer-events: none; }
.custom__hint svg { width: 18px; height: 18px; }
.custom__caption { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1.6rem 1.1rem .9rem; text-align: center; font-family: var(--font-display); font-style: italic; font-size: 1.05rem; color: var(--taupe); background: linear-gradient(transparent, rgba(247, 242, 234, .92) 60%); pointer-events: none; }
@media (max-width: 959px) { .custom__viewer { position: sticky; top: 4.4rem; z-index: 6; aspect-ratio: 16/10; max-height: 36vh; width: 100%; } }
/* téléphone : pendant la saisie d'un texte, l'aperçu 3D ne reste plus collé en haut (il masquerait le champ avec le clavier ouvert) */
@media (max-width: 959px) { .custom:has(#customForm textarea:focus, #customForm input:focus) .custom__viewer { position: relative; top: auto; } }
.v3d:focus-visible { outline: 2px solid var(--accent); outline-offset: -4px; border-radius: 22px; }
.ticks { margin-top: 1.6rem; display: grid; gap: .6rem; }
.ticks li { padding-left: 1.8rem; position: relative; color: var(--taupe); }
.ticks li::before { content: ''; position: absolute; left: 0; top: .55em; width: 1rem; height: 1px; background: var(--accent); }
.ticks li::after { content: ''; position: absolute; left: .5rem; top: calc(.55em - 3px); width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.custom__photo { margin-top: 2rem; border-radius: 22px; overflow: hidden; aspect-ratio: 16/10; max-width: 460px; }
.custom__photo img { width: 100%; height: 125%; object-fit: cover; }
.form { background: var(--ivory); border-radius: 28px; padding: clamp(1.4rem, 3.5vw, 2.8rem); box-shadow: 0 30px 60px -30px rgba(51, 36, 31, .25); }
.form fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 1.3rem; }
.field label, .field .label { display: block; font-size: .86rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; margin-bottom: .45rem; color: var(--taupe); }
.field small { text-transform: none; letter-spacing: 0; font-weight: 300; }
.field input, .field select, .field textarea { width: 100%; font: inherit; color: var(--cocoa); background: #fff; border: 1px solid var(--sand); border-radius: 14px; padding: .9rem 1rem; transition: border-color .3s, box-shadow .3s; appearance: none; -webkit-appearance: none; }
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--taupe) 50%), linear-gradient(135deg, var(--taupe) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 2.4rem; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cocoa); box-shadow: 0 0 0 3px rgba(176, 82, 46, .18); }
.field.two { display: grid; gap: 1.3rem; }
@media (min-width: 600px) { .field.two { grid-template-columns: 1fr 1fr; } }
.field .invalid { border-color: #b3261e; }
.err { display: block; color: #b3261e; font-size: .84rem; min-height: 0; margin-top: .3rem; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(38px, 1fr)); gap: .55rem; }
.swatch { width: 100%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(51, 36, 31, .2); position: relative; transition: transform .35s var(--ease); max-width: 44px; }
.swatch:hover { transform: scale(1.12); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2.5px var(--ivory), 0 0 0 4.5px var(--cocoa); }
.swatch[aria-pressed="true"]::after { content: ''; position: absolute; left: 50%; top: 50%; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translate(-50%, -65%) rotate(-45deg); mix-blend-mode: difference; }
.picked { font-size: .92rem; color: var(--muted); margin-top: .7rem; }
.form .btn { margin-top: 1.6rem; width: 100%; }
.form__hint { text-align: center; }
.sent { margin-top: 1.4rem; padding: 1.2rem; border-radius: 16px; background: #eef1e0; color: #3d4a1c; display: grid; gap: .8rem; }
.sent[hidden] { display: none; }
.sent .row { display: flex; flex-wrap: wrap; gap: .6rem; }
.sent .btn { margin-top: 0; width: auto; padding: .75rem 1.2rem; font-size: .9rem; }

/* ---------- Listes déroulantes sur mesure ---------- */
.native-hidden { position: absolute !important; width: 1px !important; height: 1px !important; min-width: 0 !important; margin: -1px !important; padding: 0 !important; border: 0 !important; opacity: 0; pointer-events: none; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); }
.cselect { position: relative; }
.cselect__btn { width: 100%; display: flex; align-items: center; gap: .7rem; text-align: left; font: inherit; color: var(--cocoa); background: #fff; border: 1px solid var(--sand); border-radius: 14px; padding: .9rem 1rem; transition: border-color .3s, box-shadow .3s; }
.cselect__btn:hover { border-color: var(--stone); }
.cselect.is-open .cselect__btn, .cselect__btn:focus-visible { outline: none; border-color: var(--cocoa); box-shadow: 0 0 0 3px rgba(176, 82, 46, .18); }
.cselect__val { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cselect__val.is-placeholder { color: var(--muted); }
.cselect__dot { display: none; width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(51, 36, 31, .25); flex: none; }
.cselect__chev { width: 20px; height: 20px; flex: none; color: var(--taupe); transition: transform .5s var(--ease); }
.cselect.is-open .cselect__chev { transform: rotate(180deg); }
.cselect__list { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 40; margin: 0; padding: .45rem; list-style: none; background: var(--ivory); border: 1px solid var(--sand); border-radius: 18px; box-shadow: 0 34px 60px -24px rgba(51, 36, 31, .42), 0 1px 0 rgba(255, 255, 255, .7) inset; max-height: min(320px, 55vh); overflow: auto; overscroll-behavior: contain; visibility: hidden; opacity: 0; transform: translateY(-8px) scale(.98); transform-origin: top; transition: opacity .3s var(--ease), transform .5s var(--ease), visibility 0s .5s; }
.cselect.is-open .cselect__list { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
.cselect.is-up .cselect__list { top: auto; bottom: calc(100% + 8px); transform-origin: bottom; }
.cselect__list li { display: flex; align-items: center; gap: .7rem; padding: .78rem .9rem; border-radius: 12px; cursor: pointer; font-size: 1rem; color: var(--cocoa); transition: background-color .25s, padding-left .4s var(--ease); }
.cselect__list li.is-active { background: var(--linen); padding-left: 1.15rem; }
.cselect__list li[aria-selected="true"] { font-weight: 500; }
.cselect__list li[aria-selected="true"]::after { content: ''; margin-left: auto; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.cselect__sw { width: 16px; height: 16px; border-radius: 50%; border: 1px solid rgba(51, 36, 31, .25); flex: none; }
.field .cselect__btn.invalid { border-color: #b3261e; }

/* ---------- Galerie ---------- */
.gallery { background: var(--ivory); }
.gal { columns: 2; column-gap: 1rem; }
@media (min-width: 760px) { .gal { columns: 3; column-gap: 1.3rem; } }
@media (min-width: 1100px) { .gal { columns: 4; } }
.gal__item { break-inside: avoid; margin-bottom: 1rem; position: relative; border-radius: 18px; overflow: hidden; perspective: 900px; background: var(--linen); }
@media (min-width: 760px) { .gal__item { margin-bottom: 1.3rem; } }
.gal__item img { width: 100%; height: auto; transition: transform .9s var(--ease); }
.gal__item:hover img { transform: scale(1.07); }
.gal__item figcaption { position: absolute; inset: auto 0 0 0; padding: 2.5rem 1rem .9rem; color: #fff; background: linear-gradient(transparent, rgba(36, 24, 20, .75)); transform: translateY(101%); transition: transform .6s var(--ease); font-size: .92rem; }
.gal__item:hover figcaption, .gal__item:focus-within figcaption { transform: none; }
.gal__item { transition: transform .4s var(--ease); transform-style: preserve-3d; will-change: transform; }

/* ---------- Retours clientes ---------- */
.reviews { background: var(--linen); }
.rev { display: flex; gap: 1.2rem; overflow-x: auto; padding-bottom: 1.5rem; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
.rev:focus-visible { outline-offset: 6px; }
.rcard { flex: none; width: min(78vw, 340px); scroll-snap-align: start; background: var(--ivory); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; }
.rcard figure { aspect-ratio: 4/5; overflow: hidden; }
.rcard img { width: 100%; height: 100%; object-fit: cover; }
.rcard p { padding: 1rem 1.2rem 1.3rem; font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: 1.15rem; line-height: 1.3; }
.rcard--empty { background: transparent; border: 1.5px dashed var(--stone); justify-content: center; align-items: center; text-align: center; padding: 2rem; min-height: 340px; color: var(--taupe); }
.rcard--empty b { font-family: var(--font-display); font-weight: 400; font-size: 1.4rem; display: block; margin-bottom: .5rem; }
.rcard--empty span { font-size: .92rem; }
.stars { display: flex; gap: .25rem; color: var(--stone); margin-bottom: .8rem; justify-content: center; }
.stars svg { width: 20px; height: 20px; }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; gap: 2.5rem; }
@media (min-width: 900px) { .faq__grid { grid-template-columns: .8fr 1.2fr; } }
.faq__list details { border-top: 1px solid var(--sand); padding: 1.2rem 0; }
.faq__list details:last-child { border-bottom: 1px solid var(--sand); }
.faq__list summary { cursor: pointer; font-family: var(--font-display); font-size: 1.35rem; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::after { content: '+'; font-size: 1.8rem; font-weight: 300; transition: transform .5s var(--ease); }
.faq__list details[open] summary::after { transform: rotate(45deg); }
.faq__list details p { padding-top: .8rem; color: var(--muted); max-width: 40rem; }

/* ---------- Nouveautés et pièces disponibles (articles d'Oriana, espace pro) ---------- */
.card--art .badges { position: absolute; left: 1rem; top: 1rem; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: .35rem; }
.card--art .badge { position: static; }
.card--art .badge--new { background: var(--accent); color: var(--ivory); }
.card--art .badge--sold { background: var(--cocoa); color: var(--ivory); }
.card--art.is-sold .card__photo { filter: grayscale(.85); opacity: .72; }
.card--art { cursor: pointer; }
.artmain { aspect-ratio: 4 / 5; background: #fff; border-radius: 22px; overflow: hidden; display: grid; place-items: center; }
.artmain img { width: 100%; height: 100%; object-fit: contain; }
.paused { margin: 0; padding: .9rem 1rem; border-radius: 14px; background: var(--linen); border: 1px solid var(--sand); text-align: center; font-size: .95rem; }

/* ---------- Annonce (texte libre d'Oriana, espace pro) ---------- */
.announce { display: inline-block; max-width: 34rem; margin: 0 0 1.2rem; padding: .55rem 1.1rem; border: 1px solid currentColor; border-radius: 999px; font-size: .92rem; line-height: 1.35; }

/* ---------- Contact ---------- */
.find { background: var(--linen); }
.find__grid { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: stretch; }
@media (min-width: 960px) { .find__grid { grid-template-columns: 1fr 1fr; } }
.find__cta { display: flex; flex-wrap: wrap; gap: .8rem; }   /* « M’écrire sur Instagram » et, si l'e-mail est renseigné, « M’écrire par e-mail » */
.find__cta [hidden] { display: none; }
.coords { display: grid; gap: 1rem; margin: 2rem 0; }
.coords > div { display: grid; grid-template-columns: 7.5rem minmax(0, 1fr); gap: 1rem; padding-bottom: 1rem; border-bottom: 1px solid var(--sand); }
.coords dd { min-width: 0; overflow-wrap: anywhere; }
@media (max-width: 520px) { .coords > div { grid-template-columns: minmax(0, 1fr); gap: .25rem; } .coords dt { padding-top: 0; } }
.coords dt { font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--taupe); padding-top: .25rem; }
.coords [hidden] { display: none; }
.find__map { position: relative; border-radius: 26px; overflow: hidden; min-height: 380px; background: var(--sand); }
.find__map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(.35) sepia(.15); }
.find__mapgate { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1.1rem; padding: 2rem 1.5rem 4.75rem; text-align: center; }
.find__mapgate p { max-width: 34ch; font-size: .95rem; line-height: 1.5; color: var(--taupe); }
.find__open { position: absolute; left: 1rem; bottom: 1rem; background: var(--ivory); padding: .65rem 1.1rem; border-radius: 999px; font-size: .9rem; font-weight: 500; box-shadow: 0 8px 24px rgba(0, 0, 0, .18); }

/* ---------- Footer ---------- */
.footer { background: var(--cocoa); color: var(--ivory); padding-top: clamp(4rem, 9vw, 7rem); overflow: hidden; }
.footer .footer__big { font-family: var(--font-display); font-weight: 300; font-size: clamp(4.4rem, 17.5vw, 17rem); line-height: .82; letter-spacing: -.045em; margin-bottom: clamp(2.5rem, 6vw, 5rem); color: transparent; -webkit-text-stroke: 1px rgba(247, 242, 234, .5); }
.footer__big span { display: block; overflow: hidden; padding-bottom: .1em; }
.footer__big span > b { display: inline-block; font-weight: inherit; }
.footer__cols { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; padding-bottom: 3rem; }
@media (min-width: 800px) { .footer__cols { grid-template-columns: repeat(4, 1fr); } }
.footer h3 { font-size: .75rem; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-soft); margin-bottom: 1rem; font-weight: 500; }
.footer a { display: block; padding: .2rem 0; color: rgba(247, 242, 234, .86); }
.footer a:hover { color: #fff; }
.footer p { color: rgba(247, 242, 234, .75); font-size: .95rem; }
.footer__legal { border-top: 1px solid rgba(255, 255, 255, .12); padding-block: 1.4rem 5.5rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: .8rem; font-size: .85rem; color: rgba(247, 242, 234, .65); }
@media (min-width: 900px) { .footer__legal { padding-bottom: 1.8rem; } }

/* ---------- Bouton flottant mobile ---------- */
.fab { white-space: nowrap; position: fixed; z-index: 700; left: 50%; bottom: calc(1rem + env(safe-area-inset-bottom)); transform: translate(-50%, calc(100% + 3rem + env(safe-area-inset-bottom))); opacity: 0; visibility: hidden; pointer-events: none; max-width: calc(100% - 1.5rem); display: inline-flex; align-items: center; gap: .6rem; background: var(--cocoa); color: var(--ivory); padding: .95rem 1.5rem; border-radius: 999px; font-weight: 500; box-shadow: 0 16px 40px rgba(36, 24, 20, .4); transition: transform .6s var(--ease), opacity .4s, visibility 0s .6s; }
.fab svg { width: 22px; height: 22px; flex: none; } .fab span { overflow: hidden; text-overflow: ellipsis; }
.fab.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; pointer-events: auto; transition: transform .6s var(--ease), opacity .4s, visibility 0s; }
@media (min-width: 900px) { .fab { display: none; } }

/* ---------- Configurateur (modale) ---------- */
.modal { position: fixed; inset: 0; z-index: 950; display: grid; place-items: center; padding: 1rem; }
.modal[hidden], .drawer[hidden] { display: none; }
.modal__backdrop, .drawer__backdrop { position: absolute; inset: 0; background: rgba(36, 24, 20, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transition: opacity .5s; }
.modal.is-open .modal__backdrop, .drawer.is-open .drawer__backdrop { opacity: 1; }
/* Téléphone : une colonne qui défile (aperçu 3D, couleurs, choix), le total + « Ajouter au panier » reste collé en bas */
.modal__panel { position: relative; width: min(1080px, 100%); max-height: calc(100vh - 1.4rem); max-height: calc(100svh - 1.4rem); overflow: auto; background: var(--ivory); border-radius: 28px; display: block; transform: translateY(40px) scale(.97); opacity: 0; transition: transform .7s var(--ease), opacity .5s; overscroll-behavior: contain; }
.modal.is-open .modal__panel { transform: none; opacity: 1; }
.modal__body { display: contents; }
/* Ordinateur : deux colonnes qui défilent chacune de leur côté ; à gauche l'aperçu 3D puis les couleurs, à droite les choix et, toujours visible, le total + « Ajouter au panier » */
@media (min-width: 900px) {
  .modal__panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); grid-template-rows: minmax(0, 1fr) auto; height: min(820px, calc(100vh - 2rem)); height: min(820px, calc(100svh - 2rem)); max-height: none; overflow: hidden; }
  .modal__panel > * { min-width: 0; }
  .modal__media { grid-column: 1; grid-row: 1 / span 2; }
  .modal__scroll { grid-column: 2; grid-row: 1; }
  .modal__foot { grid-column: 2; grid-row: 2; position: static; }
}
.modal__close { position: absolute; top: .9rem; right: .9rem; z-index: 5; width: 42px; height: 42px; border-radius: 50%; background: var(--ivory); border: 1px solid var(--sand); font-size: 1.6rem; line-height: 1; display: grid; place-items: center; transition: transform .4s var(--ease), background-color .3s; }
.modal__close:hover { transform: rotate(90deg); background: var(--linen); }
.modal__media { background: var(--linen); padding: clamp(1rem, 2.4vw, 1.7rem); display: flex; flex-direction: column; gap: .95rem; }
@media (min-width: 900px) { .modal__media { min-height: 0; overflow-y: auto; overscroll-behavior: contain; } }
/* aperçu : prend toute la hauteur laissée par les couleurs et les photos (jamais déformé) */
.preview-wrap { position: relative; flex: 1 1 300px; min-height: 240px; }
@media (max-width: 899px) { .preview-wrap { flex: none; min-height: 0; aspect-ratio: 5 / 4; max-height: 56vh; max-height: 56svh; } }
.preview { position: absolute; inset: 0; border-radius: 22px; background: radial-gradient(75% 65% at 50% 38%, #fff, #f3ece0 75%); display: grid; place-items: center; overflow: hidden; }
.preview svg { width: 92%; height: auto; transition: opacity .35s; }
.preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.preview-hint { position: absolute; left: 50%; bottom: .7rem; transform: translateX(-50%); z-index: 2; font-size: .74rem; letter-spacing: .04em; color: var(--taupe); background: rgba(255, 255, 255, .78); border-radius: 999px; padding: .28rem .8rem; pointer-events: none; opacity: 0; white-space: nowrap; }
.preview-wrap:has(.preview__3d) .preview-hint { opacity: 1; }
.mcolors { display: grid; gap: .8rem; }
.mcolors .opt { border-top: 0; padding-top: 0; }
.mcolors .opt__title { margin-bottom: .5rem; }
.mcolors .opt__title em b { color: var(--cocoa); font-weight: 600; }
.mphotos { display: grid; gap: .45rem; }
.preview__note { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--taupe); }
.thumbs { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .3rem; }
.thumb { flex: none; width: 54px; height: 54px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; opacity: .75; transition: opacity .3s, border-color .3s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb[aria-pressed="true"], .thumb:hover { opacity: 1; border-color: var(--cocoa); }
.modal__scroll { padding: clamp(1.4rem, 3vw, 2.4rem) clamp(1.4rem, 3vw, 2.4rem) 1rem; display: flex; flex-direction: column; gap: 1.1rem; }
@media (min-width: 900px) { .modal__scroll { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding-right: clamp(1.4rem, 3vw, 2.4rem); } }
.modal__desc { color: var(--muted); font-weight: 300; }
.opt { border-top: 1px solid var(--sand); padding-top: 1.1rem; }
.opt__title { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--taupe); margin-bottom: .7rem; }
.opt__title em { font-style: normal; text-transform: none; letter-spacing: 0; font-weight: 400; color: var(--muted); }
.pills { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .5rem; }
.pills--row { display: flex; flex-wrap: wrap; }
.pill { text-align: left; border: 1px solid var(--sand); border-radius: 14px; padding: .75rem 1rem; background: #fff; transition: border-color .3s, background-color .3s, box-shadow .3s; }
.pill b { display: block; font-weight: 500; font-size: .98rem; }
.pill small { color: var(--muted); font-size: .84rem; }
.pill:hover { border-color: var(--stone); }
.pill[aria-pressed="true"] { border-color: var(--cocoa); background: #fff; box-shadow: inset 0 0 0 1px var(--cocoa); }
.pills--row .pill { padding: .6rem 1rem; border-radius: 999px; }
/* 26 coloris : 9 par rang sur téléphone (3 rangs pleins), 13 par rang sur ordinateur (2 rangs pleins) : jamais de pastille orpheline */
.swatch-grid { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: .6rem .5rem; padding: 4px; max-width: 440px; justify-items: center; }
.swatch-grid .swatch { max-width: 38px; }
@media (min-width: 900px) { .swatch-grid { grid-template-columns: repeat(13, minmax(0, 1fr)); gap: .55rem .35rem; max-width: none; } .swatch-grid .swatch { max-width: 31px; } }
/* écran d'ordinateur peu haut : couleurs et photos plus compactes pour laisser de la place à la 3D */
@media (min-width: 900px) and (max-height: 760px) {
  .modal__media { padding: .85rem 1rem; gap: .6rem; }
  .preview-wrap { flex-basis: 280px; min-height: 260px; }
  .mcolors { gap: .5rem; }
  .mcolors .opt__title { margin-bottom: .3rem; font-size: .74rem; }
  .swatch-grid { gap: .4rem .3rem; padding: 3px; }
  .swatch-grid .swatch { max-width: 26px; }
  .thumb { width: 42px; height: 42px; border-radius: 9px; }
  .mphotos { gap: .3rem; }
}
.modal__foot { flex: none; padding: .95rem clamp(1.4rem, 3vw, 2.4rem) 1.1rem; border-top: 1px solid var(--sand); background: var(--ivory); display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; position: sticky; bottom: 0; z-index: 3; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--sand); border-radius: 999px; }
.qty button { width: 42px; height: 42px; font-size: 1.3rem; border-radius: 50%; }
.qty button:hover { background: var(--linen); }
.qty output { min-width: 2rem; text-align: center; font-variant-numeric: tabular-nums; font-weight: 500; }
.total { display: grid; line-height: 1.1; }
.total span { font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.total b { font-family: var(--font-display); font-weight: 400; font-size: 2rem; }
.modal__foot .btn { margin-left: auto; flex: 1 1 200px; }
@media (max-width: 899px) {
  .modal__foot { padding: .65rem 1.1rem calc(.75rem + env(safe-area-inset-bottom)); gap: .45rem 1rem; box-shadow: 0 -14px 24px -18px rgba(51, 36, 31, .35); }
  .modal__foot .qty button { width: 38px; height: 38px; }
  .modal__foot .total b { font-size: 1.55rem; }
  .modal__foot .btn { padding-block: .8rem; }
}

/* ---------- Panier / commande ---------- */
.drawer { position: fixed; inset: 0; z-index: 960; }
.drawer__panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(480px, 100%); background: var(--ivory); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .7s var(--ease); box-shadow: -30px 0 60px rgba(36, 24, 20, .25); }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--sand); }
.drawer__head .modal__close { position: static; }
.drawer__body { flex: 1; overflow: auto; padding: 1.2rem 1.4rem 2rem; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 1.2rem; }
.empty { text-align: center; margin: auto; color: var(--muted); display: grid; gap: 1rem; justify-items: center; padding: 2rem 0; }
.oline { display: grid; grid-template-columns: 84px 1fr; gap: 1rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--sand); }
.oline__img { width: 84px; height: 84px; border-radius: 14px; overflow: hidden; background: var(--linen); display: grid; place-items: center; }
.oline__img img { width: 100%; height: 100%; object-fit: cover; }
.oline__img svg { width: 90%; }
.oline h3 { font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; line-height: 1.2; }
.oline__meta { color: var(--muted); font-size: .86rem; margin-top: .2rem; }
.oline__chips { display: inline-flex; gap: .25rem; vertical-align: middle; margin-right: .3rem; }
.oline__chips i { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(51, 36, 31, .25); display: inline-block; }
.oline__row { display: flex; justify-content: space-between; align-items: center; margin-top: .6rem; }
.qty--sm button { width: 32px; height: 32px; font-size: 1.1rem; }
.oline .rm { font-size: .8rem; color: var(--muted); text-decoration: underline; text-underline-offset: 3px; }
.sum { display: grid; gap: .4rem; padding: 1rem; background: var(--linen); border-radius: 16px; }
.sum div { display: flex; justify-content: space-between; }
.sum .big { font-family: var(--font-display); font-size: 1.7rem; }
.sum small { display: block; font-size: .78rem; color: var(--muted); }
.cform { display: grid; gap: 1rem; }
.cform .field input, .cform .field textarea, .cform .field select { padding: .8rem .9rem; }
.mode { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }
.mode label { margin: 0; text-transform: none; letter-spacing: 0; font-size: .9rem; font-weight: 500; }
.mode input { position: absolute; opacity: 0; pointer-events: none; }
.mode span { display: block; text-align: center; padding: .7rem .4rem; border: 1px solid var(--sand); border-radius: 12px; background: #fff; cursor: pointer; transition: all .3s; }
.mode input:checked + span { border-color: var(--cocoa); box-shadow: inset 0 0 0 1px var(--cocoa); }
.mode input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- Livraison en point relais ou locker Mondial Relay (sélecteur Sendcloud, js/relais.js) ---------- */
.mode--relay label:first-child { grid-column: 1 / -1; }   /* « Livraison en point relais » sur toute la largeur, les deux autres modes dessous */
.mode--relay span { display: grid; place-items: center; min-height: 3.1rem; line-height: 1.25; padding-block: .6rem; }
/* petites images du décor (épingle et fil de crochet), réutilisées par le bloc ci-dessous et par la fenêtre de Sendcloud */
:root { --rc-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 22s-7-6.2-7-12a7 7 0 0 1 14 0c0 5.8-7 12-7 12Z' fill='%23B0522E'/%3E%3Ccircle cx='12' cy='10' r='2.6' fill='%23fff'/%3E%3C/svg%3E"); --rc-wave: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='8' viewBox='0 0 40 8'%3E%3Cpath d='M0 4Q10 .4 20 4T40 4' fill='none' stroke='%23B0522E' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); }
.mode input[value="relais"] + span { display: flex; align-items: center; justify-content: center; gap: .45rem; }
.mode input[value="relais"] + span::before { content: ""; flex: none; width: 1.05em; height: 1.05em; background: var(--rc-pin) center / contain no-repeat; }
.relay { display: grid; gap: .8rem; padding: 1rem; border: 1px solid var(--sand); border-radius: 16px; background: linear-gradient(180deg, #fff 55%, var(--ivory)); animation: relayIn .5s var(--ease) both; }
.relay[hidden], .relay__chosen[hidden], .relay__search[hidden] { display: none; }
.relay .label { margin-bottom: 0; }
.relay .label::before { content: ""; display: inline-block; width: 1.15em; height: 1.15em; margin-right: .5em; vertical-align: -.22em; background: var(--rc-pin) center / contain no-repeat; }
.relay .label small { white-space: nowrap; }
.relay .small { margin-top: 0; max-width: none; }
.relay__demo, .rpick__demo { margin: 0; padding: .55rem .8rem; border-radius: 10px; background: #FFF4D9; border: 1px dashed #D9B45B; color: #6A4A00; font-size: .84rem; line-height: 1.4; }
.relay__search { display: grid; grid-template-columns: minmax(0, 9rem) 1fr; gap: .6rem; align-items: stretch; }
.relay__search .btn { padding: .75rem 1rem; font-size: .92rem; white-space: normal; text-align: center; line-height: 1.2; }
@media (max-width: 460px) { .relay__search { grid-template-columns: 1fr; } }
/* le point choisi : une carte aux couleurs du site (épingle ronde pour un point relais, carrée pour un locker, comme sur les cartes) */
.relay__chosen { --rc-ink: var(--accent); position: relative; overflow: hidden; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: .2rem .9rem; align-items: start; padding: .95rem 1rem 1.4rem; border-radius: 16px; background: linear-gradient(180deg, #fff, var(--ivory)); border: 1px solid var(--cocoa); box-shadow: inset 0 0 0 1px var(--cocoa); font-size: .95rem; line-height: 1.4; }
.relay__chosen[data-type="locker"] { --rc-ink: var(--cocoa); }
.relay__chosen::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 9px; background: var(--rc-wave) repeat-x left bottom / 40px 8px; opacity: .55; pointer-events: none; }
.rc__pin { position: relative; display: block; width: 34px; height: 44px; filter: drop-shadow(0 3px 3px rgba(51, 36, 31, .28)); }
.rc__pin svg { display: block; }
.rc__body { display: grid; justify-items: start; gap: .22rem; min-width: 0; }
.rc__kick { display: inline-flex; align-items: center; gap: .6rem; }
.rc__ok { display: inline-flex; align-items: center; gap: .3rem; font-size: .78rem; font-weight: 600; color: var(--rc-ink); }
.rc__name { font-family: var(--font-display); font-weight: 400; font-size: 1.18rem; line-height: 1.2; color: var(--cocoa); overflow-wrap: anywhere; }
.rc__addr { color: var(--taupe); font-size: .92rem; }
.rc__chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: .15rem; }
.rc__chip { font-size: .8rem; line-height: 1; padding: .34rem .7rem; border-radius: 999px; background: #fff; border: 1px solid var(--sand); color: var(--taupe); }
.relay__chosen .rm { margin-top: .45rem; font: inherit; font-size: .82rem; font-weight: 500; color: var(--cocoa); background: #fff; border: 1px solid var(--sand); border-radius: 999px; padding: .42rem .95rem; cursor: pointer; text-decoration: none; transition: background-color .3s, border-color .3s; }
.relay__chosen .rm:hover { background: var(--linen); border-color: var(--cocoa); }
.relay__chosen .rm:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.relay__chosen.is-new { animation: rcIn .55s var(--ease) both; }
.relay__chosen.is-new .rc__pin { animation: rcDrop .75s var(--ease) .1s both; }
.relay__chosen.is-new .rc__pin::after { content: ""; position: absolute; left: 50%; bottom: -3px; width: 26px; height: 9px; margin-left: -13px; border-radius: 50%; border: 2px solid var(--rc-ink); opacity: 0; animation: rcRing .9s ease-out .55s both; }
@keyframes relayIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes rcIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes rcDrop { 0% { opacity: 0; transform: translateY(-20px) scale(.7); } 55% { opacity: 1; transform: translateY(3px) scale(1.07); } 100% { opacity: 1; transform: none; } }
@keyframes rcRing { 0% { opacity: .7; transform: scale(.3); } 100% { opacity: 0; transform: scale(2.1); } }
@media (prefers-reduced-motion: reduce) { .relay, .relay__chosen.is-new, .relay__chosen.is-new .rc__pin, .relay__chosen.is-new .rc__pin::after { animation: none; } }
.relay .invalid, .relay [aria-invalid="true"] { border-color: #B3261E; }
.rp__badge { display: inline-block; font-size: .68rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; line-height: 1; padding: .3rem .6rem; border-radius: 999px; background: var(--accent); color: #fff; vertical-align: middle; }
.rp__badge--locker { background: var(--cocoa); }

/* fenêtre de choix du point : en démonstration, la page relais-demo.html s'affiche dans un cadre ; en vrai, c'est la fenêtre officielle de Sendcloud */
.rpick { position: fixed; inset: 0; z-index: 975; display: grid; place-items: center; padding: 1rem; }
.rpick__backdrop { position: fixed; inset: 0; background: rgba(36, 24, 20, .62); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity .4s var(--ease); }
.rpick.is-open .rpick__backdrop { opacity: 1; }
.rpick__panel { position: relative; width: min(1040px, 100%); height: min(800px, calc(100vh - 2rem)); height: min(800px, calc(100svh - 2rem)); background: var(--ivory); border-radius: 24px; box-shadow: 0 40px 100px -24px rgba(0, 0, 0, .55); overflow: hidden; opacity: 0; transform: translateY(26px) scale(.98); transition: opacity .4s var(--ease), transform .6s var(--ease); }
.rpick.is-open .rpick__panel { opacity: 1; transform: none; }
.rpick__frame { display: block; width: 100%; height: 100%; border: 0; background: var(--ivory); }
@media (max-width: 759px) { .rpick { place-items: end center; padding: 0; } .rpick__panel { width: 100%; height: 92vh; height: 92svh; border-radius: 24px 24px 0 0; } }

/* ---------- Fenêtre officielle de Sendcloud, habillée aux couleurs du site ----------
   Le script de Sendcloud ajoute à la page un voile noir et un cadre plein écran : on les rend aux couleurs du site (cadre arrondi, voile brun,
   entrée en douceur, bandeau avec un fil de crochet). Leur contenu (liste, carte, boutons) reste celui de Sendcloud : on ne peut pas le modifier.
   Si Sendcloud change sa structure, ces règles cessent de s'appliquer et la fenêtre reste simplement celle de Sendcloud. */
@supports selector(:has(*)) {
  body > div:has(> #sendcloudshipping_service_point_map) { inset: clamp(.6rem, 3.5vh, 2.2rem) clamp(.6rem, 4vw, 3.2rem) !important; box-sizing: border-box; padding: 0 8px 8px; background: var(--ivory); border-radius: 24px; box-shadow: 0 40px 100px -24px rgba(0, 0, 0, .55); animation: sppIn .6s var(--ease) both; }   /* cadre ivoire de 8 px autour de la fenêtre de Sendcloud : on ne rogne rien (un rognage arrondi empêcherait les clics de passer) */
  body > div:has(> #sendcloudshipping_service_point_map)::before { content: "Choisissez votre point relais ou locker"; display: flex; align-items: center; height: 56px; margin: 0 -8px; padding: 0 calc(1.5rem + 8px); border-radius: 24px 24px 0 0; font: 400 1.2rem/1 var(--font-display); color: var(--cocoa); background: var(--ivory) var(--rc-wave) repeat-x left bottom / 40px 8px; }
  body > div:has(> #sendcloudshipping_service_point_map) > iframe { display: block !important; width: 100% !important; height: calc(100% - 56px) !important; border: 0 !important; }
  body > div[style*="2147483646"] { background-color: #241814 !important; -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); animation: sppFade .45s var(--ease) both; }
  @media (max-width: 759px) {
    body > div:has(> #sendcloudshipping_service_point_map) { inset: auto 0 0 0 !important; height: 94vh; height: 94svh; border-radius: 22px 22px 0 0; padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
    body > div:has(> #sendcloudshipping_service_point_map)::before { content: "Votre point de retrait"; border-radius: 22px 22px 0 0; }
  }
}
@keyframes sppIn { from { opacity: 0; transform: translateY(26px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes sppFade { from { opacity: 0; } to { opacity: .62; } }
@media (prefers-reduced-motion: reduce) { body > div:has(> #sendcloudshipping_service_point_map), body > div[style*="2147483646"] { animation: none !important; } }
.pay { display: grid; gap: .8rem; }
.pay .btn { width: 100%; }
.pay .note { font-size: .86rem; color: var(--muted); }
.steps-pay { display: grid; gap: .8rem; padding: 1.1rem; border: 1px solid var(--sand); border-radius: 16px; background: #fff; }
.steps-pay h4 { margin: 0; font-family: var(--font-display); font-weight: 400; font-size: 1.15rem; }
.steps-pay .row { display: flex; flex-wrap: wrap; gap: .6rem; }
.steps-pay .btn { width: auto; padding: .8rem 1.2rem; font-size: .92rem; flex: 1 1 auto; }
.orderref { font-family: var(--font-display); font-size: 1.1rem; }
.btn--sumup { background: #1a1a1a; color: #fff; }
.btn--sumup::before { background: var(--accent); }
textarea.recap { width: 100%; font: inherit; font-size: .85rem; border: 1px solid var(--sand); border-radius: 12px; padding: .7rem; min-height: 130px; background: var(--ivory); color: var(--cocoa); resize: vertical; }

.toast { position: fixed; left: 50%; bottom: calc(1.5rem + env(safe-area-inset-bottom)); transform: translate(-50%, calc(100% + 3rem + env(safe-area-inset-bottom))); opacity: 0; visibility: hidden; pointer-events: none; z-index: 1100; background: var(--cocoa); color: var(--ivory); padding: .9rem 1.4rem; border-radius: 999px; font-size: .95rem; box-shadow: 0 16px 40px rgba(0, 0, 0, .3); transition: transform .6s var(--ease), opacity .4s, visibility 0s .6s; max-width: calc(100% - 2rem); text-align: center; }
.toast.is-on { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition: transform .6s var(--ease), opacity .4s, visibility 0s; } @media (max-width: 899px) { .toast { bottom: calc(5.4rem + env(safe-area-inset-bottom)); transform: translate(-50%, calc(100% + 9rem + env(safe-area-inset-bottom))); } }

/* ---------- Révélations ---------- */
[data-reveal-mask] { clip-path: inset(0 0 0 0 round 24px); }
.js [data-reveal] { opacity: 0; transform: translateY(26px); }
.js [data-reveal-mask] { clip-path: inset(100% 0 0 0 round 24px); }
.no-motion [data-reveal], .no-motion [data-reveal-mask] { opacity: 1 !important; transform: none !important; clip-path: none !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .hero__video { display: none; }
  .hero { background: var(--cocoa) url('../assets/img/hero-lac.jpg') 50% 70% / cover; }
}
@media (max-width: 899px) {
  .atelier__pin { padding-block: 5rem 6rem; min-height: 0; }
  .atelier__stage { gap: 2rem; }
  .steps { display: grid; gap: 2.2rem; min-height: 0; }
  .step { grid-area: auto; opacity: 1; transform: none; pointer-events: auto; }
  .atelier__photos { aspect-ratio: 4/5; width: min(86vw, 380px); }
  .atelier__dots { display: none; }
  .hero__title { font-size: clamp(3.4rem, 17vw, 8rem); }
  .section { padding-block: clamp(4rem, 14vw, 6rem); }
}
@media print { .header, .fab, .loader, .modal, .drawer { display: none !important; } }

/* ---------- Instagram : en-tête, accueil et bandeau dédié ---------- */
.insta-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.05rem; border-radius: 999px; font-weight: 500; font-size: .92rem; color: #fff; background: linear-gradient(135deg, #B0522E 0%, #C46B43 55%, #D58E5A 100%); box-shadow: 0 8px 20px -12px rgba(176, 82, 46, .8); transition: transform .35s var(--ease), box-shadow .35s; }
.insta-btn svg { width: 20px; height: 20px; flex: none; }
.insta-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 26px -12px rgba(176, 82, 46, .85); }
@media (max-width: 560px) { .insta-btn { padding: .62rem; } .insta-btn__label { display: none; } }

.hero__insta { display: inline-flex; align-items: center; gap: .75rem; margin-top: 1.7rem; padding: .7rem 1.2rem .7rem 1rem; border-radius: 999px; border: 1px solid rgba(247, 242, 234, .45); background: rgba(36, 24, 20, .38); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: var(--ivory); font-size: .95rem; line-height: 1.25; transition: background-color .35s, border-color .35s, transform .35s var(--ease); }
.hero__insta svg { width: 26px; height: 26px; flex: none; }
.hero__insta b { font-weight: 600; display: block; letter-spacing: .01em; }
.hero__insta:hover { background: rgba(176, 82, 46, .85); border-color: transparent; transform: translateY(-2px); }

/* ---------- Page « Mentions légales » ---------- */
.legal__bar { border-bottom: 1px solid var(--sand); background: var(--ivory); }
.legal__barin { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-block: 1.1rem; }
.legal__brand { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; letter-spacing: -.01em; }
.legal__brand i { font-weight: 300; color: var(--accent); font-size: .8em; margin-left: .25em; }
.legal { max-width: 52rem; padding-block: clamp(3rem, 8vw, 6rem) clamp(4rem, 9vw, 7rem); }
.legal__title { font-size: clamp(2.4rem, 7vw, 4.4rem); margin-bottom: .6rem; }
.legal__sec { margin-top: clamp(2rem, 4vw, 3rem); padding-top: 1.6rem; border-top: 1px solid var(--sand); }
.legal__sec h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.15; margin-bottom: .9rem; }
.legal__sec p { color: var(--muted); max-width: 46em; margin-top: .7rem; }
.legal__sec p strong { color: var(--cocoa); font-weight: 500; }
.legal__sec .coords { margin-top: .4rem; }
.legal__back { margin-top: clamp(2.5rem, 5vw, 4rem); }

/* ---------- Pop-up de Noël : marchés de décembre (js/noel.js) ---------- */
.noel { position: fixed; inset: 0; z-index: 980; display: grid; place-items: center; padding: 1.2rem; overflow-y: auto; overscroll-behavior: contain; }
.noel[hidden] { display: none; }
.noel__backdrop { position: fixed; inset: 0; background: radial-gradient(120% 90% at 50% 15%, rgba(58, 38, 30, .62), rgba(22, 12, 9, .84)); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; transition: opacity .7s var(--ease); }
.noel.is-open .noel__backdrop { opacity: 1; }
.noel__snow { position: fixed; inset: 0; pointer-events: none; overflow: hidden; opacity: 0; transition: opacity 1s var(--ease); }
.noel.is-open .noel__snow { opacity: 1; }
.noel__snow i { position: absolute; top: 0; left: var(--x); width: var(--s); height: var(--s); border-radius: 50%; background: #fff; opacity: var(--o); filter: blur(var(--b)); box-shadow: 0 0 6px rgba(255, 255, 255, .55); animation: noel-fall var(--d) linear var(--delay) infinite; will-change: transform; }
@keyframes noel-fall { from { transform: translate3d(0, -8vh, 0); } to { transform: translate3d(var(--dx), 108vh, 0); } }
.noel__card { --w: min(100vw - 2.4rem, 31.5rem); position: relative; width: var(--w); margin-block: 3.4rem 1.6rem; padding: calc(var(--w) * .165 + 1.1rem) clamp(1.3rem, 5vw, 2.1rem) 1.8rem; background: var(--ivory); border-radius: 28px; box-shadow: 0 50px 110px -20px rgba(0, 0, 0, .6), inset 0 0 0 1px rgba(201, 171, 110, .45); opacity: 0; transform: translateY(34px) scale(.95); transition: opacity .6s var(--ease), transform .95s cubic-bezier(.2, 1.15, .3, 1); }
.noel.is-open .noel__card { opacity: 1; transform: none; transition-delay: .12s; }
.noel__garland { position: absolute; left: 0; top: 0; width: 100%; height: auto; aspect-ratio: 520 / 150; transform: translateY(-22.7%); overflow: visible; pointer-events: none; }
.noel__garland .sw { animation: noel-sway 3.6s ease-in-out infinite alternate; }
.noel__garland .lt { animation: noel-twinkle 2.4s ease-in-out infinite; }
@keyframes noel-sway { from { transform: rotate(-2.6deg); } to { transform: rotate(2.6deg); } }
@keyframes noel-twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .3; } }
.noel__close { position: absolute; right: -.5rem; top: -.5rem; z-index: 3; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: #fff; color: var(--cocoa); font-size: 1.5rem; line-height: 1; display: grid; place-items: center; box-shadow: 0 8px 22px rgba(0, 0, 0, .35); transition: transform .4s var(--ease), background-color .3s, color .3s; }
.noel__close:hover { transform: rotate(90deg); background: var(--accent); color: #fff; }
.noel__body { position: relative; z-index: 1; text-align: center; }
.noel__eyebrow { font-size: .76rem; letter-spacing: .26em; text-transform: uppercase; font-weight: 500; color: #A32F27; display: flex; align-items: center; justify-content: center; gap: .7rem; }
.noel__eyebrow i { font-style: normal; color: #C9AB6E; font-size: .85rem; letter-spacing: 0; }
.noel__title { font-family: var(--font-display); font-weight: 300; font-size: clamp(2rem, 7vw, 2.9rem); line-height: 1.04; letter-spacing: -.02em; margin-top: .55rem; font-variation-settings: 'opsz' 144; }
.noel__title em { font-style: italic; color: #A32F27; }
.noel__lead { color: var(--muted); margin: .9rem auto 0; max-width: 26em; font-weight: 300; font-size: 1.04rem; }
.noel__dates { display: grid; gap: .75rem; margin: 1.35rem 0 1.15rem; text-align: left; }
.noel__dates li { display: flex; align-items: center; gap: 1rem; padding: .8rem 1rem .8rem .8rem; background: #fff; border-radius: 18px; border: 1px solid rgba(201, 171, 110, .38); box-shadow: 0 14px 30px -20px rgba(51, 36, 31, .45); }
.noel__cal { flex: none; width: 3.9rem; text-align: center; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(51, 36, 31, .12), 0 8px 16px -8px rgba(0, 0, 0, .4); }
.noel__cal b { display: block; background: #A32F27; color: #fff; font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; padding: .24rem 0 .2rem; }
.noel__cal strong { display: block; font-family: var(--font-display); font-weight: 400; font-size: 2rem; line-height: 1.12; padding: .12rem 0 .28rem; }
.noel__what { display: grid; gap: .05rem; min-width: 0; }
.noel__what em { font-style: normal; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); font-weight: 500; }
.noel__what b { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; line-height: 1.1; }
.noel__what small { color: var(--muted); font-size: 1rem; }
.noel__map { justify-self: start; margin-top: .3rem; font-size: .86rem; font-weight: 500; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; padding-bottom: 1px; transition: background-size .5s var(--ease), color .3s; }
.noel__map:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--accent); }
.noel__sign { font-family: var(--font-display); font-style: italic; font-weight: 300; font-size: 1.25rem; color: var(--taupe); }
.noel__sign span { color: #A32F27; }
.noel__cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: 1.2rem; }
.noel__cta .btn { padding: .95rem 1.7rem; }
.noel__holly { position: absolute; left: -1.1rem; bottom: -1.2rem; width: 5.6rem; height: auto; pointer-events: none; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .3)); z-index: 2; }
@media (max-width: 420px) { .noel { padding: .8rem; } .noel__card { margin-block: 3rem 1rem; } .noel__what b { font-size: 1.4rem; } .noel__cal { width: 3.5rem; } .noel__holly { width: 4.6rem; left: -.7rem; } }
@media (prefers-reduced-motion: reduce) { .noel__snow { display: none; } .noel__garland .sw, .noel__garland .lt { animation: none; } .noel__card { transition: opacity .3s; transform: none; } }

/* ---------- Paiement par carte SumUp dans le panier (mode clés API) ---------- */
.paycard { margin-top: .7rem; padding: 1rem; border: 1px solid var(--sand); border-radius: 16px; background: #fff; }
.paycard__st { margin: 0 0 .8rem; font-weight: 500; color: var(--cocoa); }
.paycard__st[data-kind="error"] { color: #b3261e; }
#sumup-card { min-height: 3rem; }
.paid { display: grid; gap: .3rem; padding: 1rem 1.1rem; border-radius: 16px; background: #eef1e0; border: 1px solid #cdd6a8; }
.paid b { font-family: var(--font-display); font-weight: 400; font-size: 1.35rem; color: var(--olive); }
.btn--sumup[disabled] { opacity: .6; cursor: progress; }

.insta { background: var(--linen); padding-block: clamp(4rem, 9vw, 7.5rem); }
.insta__grid { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.insta__handle { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--font-display); font-weight: 300; font-size: clamp(1rem, 5vw, 2.4rem); line-height: 1.1; color: var(--accent); margin: 1.4rem 0 1.6rem; word-break: break-all; transition: color .3s; }
.insta__handle svg { width: 1.2em; height: 1.2em; flex: none; }
.insta__handle:hover { color: var(--cocoa); }
.insta__cta { display: flex; flex-wrap: wrap; gap: .8rem; }
.insta__tiles { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(.6rem, 1.4vw, 1rem); list-style: none; padding: 0; margin: 0; }
.insta__tiles li { border-radius: 20px; overflow: hidden; aspect-ratio: 4/5; background: var(--sand); }
.insta__tiles li:nth-child(even) { transform: translateY(1.4rem); }
.insta__tiles a { display: block; width: 100%; height: 100%; }
.insta__tiles img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.insta__tiles a:hover img { transform: scale(1.06); }
@media (min-width: 900px) { .insta__grid { grid-template-columns: 1.05fr 1fr; } }

/* ---------- Cartes : taille, « Ajouter au panier » et « Plus de détails » ---------- */
.card__sizes { display: flex; flex-wrap: wrap; gap: .4rem; }
.csize { border: 1px solid var(--sand); border-radius: 999px; padding: .38rem .85rem; font-size: .86rem; font-weight: 500; background: #fff; transition: background-color .3s, color .3s, border-color .3s; }
.csize small { color: var(--muted); font-weight: 400; margin-left: .25rem; }
.csize:hover { border-color: var(--cocoa); }
.csize[aria-pressed="true"] { background: var(--cocoa); color: var(--ivory); border-color: var(--cocoa); }
.csize[aria-pressed="true"] small { color: var(--accent-soft); }
.card__cta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; padding-top: .6rem; }
.card .card__cta .btn { margin-top: 0; width: auto; flex: 1 1 8.5rem; padding: .9rem .9rem; font-size: .9rem; }
.card .card__cta .btn--more { flex: 0 1 auto; font-size: .86rem; }
.card.is-gen .card__media { aspect-ratio: 1 / 1; }
.card.is-gen .card__photo { padding: 0; }
/* photo réelle d'Oriana (publication Instagram, format portrait) : même carré que les autres cartes, recadrée sur la pièce */
.card.is-real .card__media { aspect-ratio: 1 / 1; background: #fff; }
.card.is-real .card__photo { object-fit: cover; object-position: var(--pos, 50% 74%); transform: scale(var(--z, 1)); transform-origin: var(--pos, 50% 74%); padding: 0; }
.card.is-real:hover .card__photo { transform: scale(calc(var(--z, 1) * 1.03)); }
.card .card__cta .btn.is-added { background: var(--accent); }

/* ---------- Choix de taille : silhouettes à l'échelle ---------- */
.sizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: .6rem; }
.size { display: flex; flex-direction: column; align-items: center; gap: .15rem; padding: .8rem .5rem .85rem; border: 1px solid var(--sand); border-radius: 16px; background: #fff; text-align: center; transition: border-color .3s, box-shadow .3s; }
.size svg { width: 100%; height: 64px; margin-bottom: .35rem; }
.size .sh { fill: var(--linen); stroke: var(--sand); stroke-width: 1.6; transition: fill .3s, stroke .3s; }
.size b { font-size: 1.1rem; font-weight: 600; }
.size span { color: var(--accent); font-weight: 500; font-size: .95rem; }
.size small { color: var(--muted); font-size: .78rem; }
.size:hover { border-color: var(--stone); }
.size[aria-pressed="true"] { border-color: var(--cocoa); box-shadow: inset 0 0 0 1px var(--cocoa); }
.size[aria-pressed="true"] .sh { fill: var(--accent-soft); stroke: var(--accent); }
.sizes__note { font-size: .84rem; color: var(--muted); margin-top: .6rem; }

/* ==========================================================================
   « EN STOCK » : page en-stock.html (pièces prêtes à partir, expédiées sous 24 à 48 h) et bandeau de l'accueil
   ========================================================================== */
.page-stock { background: var(--ivory); }
.header__link { display: inline-flex; align-items: center; padding: .6rem 1rem; border: 1px solid currentColor; border-radius: 999px; font-weight: 500; font-size: .92rem; white-space: nowrap; transition: background-color .3s, color .3s, border-color .3s; }
.header__link:hover { background: var(--cocoa); color: var(--ivory); border-color: var(--cocoa); }
@media (max-width: 760px) { .header__long { display: none; } }
@media (max-width: 460px) { .insta-btn { display: none; } .header { gap: .6rem; } } .burger { flex: none; } @media (max-width: 380px) { .logo svg { width: 32px; height: 32px; } .logo span { font-size: 1rem; } .header { gap: .4rem; } .header__actions { gap: .4rem; } .header__link, .cart-btn { padding: .5rem .75rem; font-size: .85rem; } .cart-btn svg { width: 18px; height: 18px; } }

.stockhero { padding: clamp(7.5rem, 14vw, 10.5rem) 0 clamp(2rem, 5vw, 3.5rem); background: var(--linen); }
.stockhero .h2 { max-width: 15ch; }
.stockfacts { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 2rem; }
.stockfacts li { display: inline-flex; align-items: center; gap: .6rem; padding: .6rem 1.05rem; border: 1px solid var(--sand); border-radius: 999px; background: #fff; font-size: .94rem; }
.stockfacts li::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); flex: none; }
.stockfacts li[hidden] { display: none; }

.stock { padding-block: clamp(2rem, 5vw, 4rem) clamp(4rem, 9vw, 7rem); }
.stock__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .8rem 1.5rem; margin-bottom: 1.8rem; }
.stock__bar .filters { margin-bottom: 0; }
.stock__count { color: var(--muted); font-size: .95rem; }
.chip-btn small { opacity: .6; margin-left: .3rem; font-weight: 400; font-size: .8em; }
.card__ship { display: flex; align-items: center; gap: .5rem; color: var(--olive); font-size: .88rem; font-weight: 500; }
.card__ship::before { content: ''; width: 18px; height: 18px; flex: none; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 3h15v13H1z'/%3E%3Cpath d='M16 8h4l3 3v5h-7z'/%3E%3Ccircle cx='5.5' cy='18.5' r='2.5'/%3E%3Ccircle cx='18.5' cy='18.5' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 3h15v13H1z'/%3E%3Cpath d='M16 8h4l3 3v5h-7z'/%3E%3Ccircle cx='5.5' cy='18.5' r='2.5'/%3E%3Ccircle cx='18.5' cy='18.5' r='2.5'/%3E%3C/svg%3E") center / contain no-repeat; }
.stockempty { text-align: center; padding: clamp(2.5rem, 7vw, 5rem) 1rem; }
.stockempty .lead { margin-inline: auto; }
.stockcta { margin-top: clamp(3rem, 7vw, 5rem); padding: clamp(1.6rem, 4vw, 2.8rem); border-radius: var(--radius); background: var(--cocoa); color: var(--ivory); display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; align-items: center; justify-content: space-between; }
.stockcta p { color: rgba(247, 242, 234, .8); color: color-mix(in srgb, var(--ivory) 80%, transparent); margin-top: .6rem; max-width: 34em; font-weight: 300; }
.stockcta__btns { display: flex; flex-wrap: wrap; gap: .8rem; }
.stockcta .btn--fill { background: var(--ivory); color: var(--cocoa); }
.stockcta .btn--fill::before { background: var(--accent); }
.stockcta .btn--fill:hover { color: var(--ivory); }
.stockcta .btn--ghost { color: var(--ivory); }
.stockcta .btn--ghost::before { background: var(--ivory); }
.stockcta .btn--ghost:hover { color: var(--cocoa); border-color: var(--ivory); }
.footer--lite { padding-block: 2.2rem; }

/* bandeau « En stock » sur l'accueil (visible seulement s'il y a des pièces en stock) */
.stockbanner { background: var(--linen); padding-block: clamp(2.6rem, 6vw, 4.5rem); border-bottom: 1px solid rgba(51, 36, 31, .06); }
.stockbanner[hidden] { display: none; }
.stockbanner__in { display: grid; gap: 2rem; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .stockbanner__in { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 3rem; } }
.stockbanner__txt p:not(.eyebrow) { color: var(--muted); max-width: 34em; margin: .8rem 0 1.5rem; font-weight: 300; }
.stockbanner__txt b { font-weight: 500; margin-left: .4rem; }
.stockbanner__thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
.stockbanner__thumbs img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 14px; background: var(--sand); }