/* ================= LAPERLEUSE — Noir & Or ================= */
:root {
  --black: #0a0a0a;
  --black-2: #111111;
  --black-3: #1a1a1a;
  --line: rgba(212, 175, 55, .25);
  --gold: #d4af37;
  --gold-light: #f1d98a;
  --gold-dark: #a8812a;
  --gold-grad: linear-gradient(135deg, #a8812a 0%, #f1d98a 45%, #d4af37 60%, #a8812a 100%);
  --text: #f4efe3;
  --muted: #b5ad9c;
  --danger: #e57373;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Montserrat", system-ui, sans-serif;
  --radius: 4px;
  --ease: cubic-bezier(.22, .8, .3, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0; background: var(--black); color: var(--text);
  font-family: var(--sans); font-weight: 300; line-height: 1.65; font-size: 15px;
  -webkit-font-smoothing: antialiased;
}
body.lock { overflow: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* --- Typo utilitaires --- */
.eyebrow {
  font-size: 11px; letter-spacing: .32em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 12px; font-weight: 500;
}
.gold-text, .section__title, .logo, .hero__title em {
  background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section__title { font-family: var(--serif); font-weight: 500; font-size: clamp(34px, 5vw, 52px); line-height: 1.1; margin: 0; }
.section__sub { color: var(--muted); max-width: 560px; margin: 0 auto; }
.divider { display: flex; align-items: center; justify-content: center; gap: 14px; color: var(--gold); margin: 18px 0 22px; font-size: 12px; }
.divider::before, .divider::after { content: ""; width: 60px; height: 1px; background: var(--line); }
.divider--left { justify-content: flex-start; }
.divider--left::before { display: none; }

/* --- Topbar --- */
.topbar {
  display: flex; justify-content: center; gap: 36px; flex-wrap: wrap;
  padding: 8px 16px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--black); background: var(--gold-grad); font-weight: 500;
}

/* --- Header --- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,10,10,.85); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { font-family: var(--serif); font-size: 26px; letter-spacing: .3em; font-weight: 500; }
.logo--sm { font-size: 20px; }
.nav { display: flex; align-items: center; gap: 30px; min-width: 0; }
.nav a { white-space: nowrap; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); position: relative; transition: color .3s; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px; background: var(--gold); transition: width .35s var(--ease); }
.nav a:hover { color: var(--gold-light); }
.nav a:hover::after { width: 100%; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.cart-btn { position: relative; background: none; border: 1px solid var(--line); color: var(--gold); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: background .3s, border-color .3s; }
.cart-btn:hover { background: rgba(212,175,55,.08); border-color: var(--gold); }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 10px; background: var(--gold-grad); color: var(--black); font-size: 11px; font-weight: 600; display: grid; place-items: center; }
.cart-count.bump { animation: bump .45s var(--ease); }
@keyframes bump { 50% { transform: scale(1.35); } }
.burger { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; flex-direction: column; justify-content: center; gap: 7px; align-items: center; }
.burger span { width: 22px; height: 1px; background: var(--gold); transition: transform .3s; }
.burger.open span:first-child { transform: translateY(4px) rotate(45deg); }
.burger.open span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 30px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; font-weight: 500;
  border-radius: var(--radius); cursor: pointer; border: 1px solid transparent; transition: transform .25s var(--ease), box-shadow .3s, background .3s, color .3s;
}
.btn:active { transform: scale(.98); }
.btn--gold { background: var(--gold-grad); background-size: 200% 100%; color: var(--black); }
.btn--gold:hover { background-position: 100% 0; box-shadow: 0 8px 30px rgba(212,175,55,.3); }
.btn--ghost { border-color: var(--gold); color: var(--gold-light); background: transparent; }
.btn--ghost:hover { background: rgba(212,175,55,.1); }
.btn--whatsapp { background: #1fa855; color: #fff; letter-spacing: .1em; }
.btn--whatsapp:hover { background: #22bf60; box-shadow: 0 8px 30px rgba(31,168,85,.3); }
.btn--block { width: 100%; }
.link-gold { background: none; border: 0; padding: 0; color: var(--gold); font-size: 13px; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line); }
.link-gold:hover { color: var(--gold-light); }

/* --- Hero --- */
.hero { position: relative; overflow: hidden; padding: clamp(80px, 14vw, 150px) 0 clamp(70px, 10vw, 110px); text-align: center; border-bottom: 1px solid var(--line); }
.hero__glow { position: absolute; inset: -30% -10% auto; height: 120%; background: radial-gradient(ellipse at 50% 30%, rgba(212,175,55,.18), transparent 60%); pointer-events: none; }
.hero::before { content: ""; position: absolute; inset: 18px; border: 1px solid var(--line); pointer-events: none; }
.hero__inner { position: relative; }
.hero__logo { width: 150px; height: 150px; border-radius: 50%; margin: 0 auto 26px; border: 1px solid var(--line); box-shadow: 0 0 60px rgba(212,175,55,.25); object-fit: cover; }
.product__tt { display: block; margin: -10px 0 22px; }
.product__tt[hidden] { display: none; }
.hero__title { font-family: var(--serif); font-weight: 400; font-size: clamp(46px, 8vw, 92px); line-height: 1; margin: 0 0 22px; }
.hero__title em { font-style: italic; }
.hero__text { color: var(--muted); max-width: 520px; margin: 0 auto 34px; font-size: 16px; }
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.notice { display: inline-flex; gap: 12px; align-items: flex-start; text-align: left; max-width: 640px; margin-top: 44px; padding: 16px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(212,175,55,.05); color: var(--muted); font-size: 13.5px; }
.notice svg { color: var(--gold); flex: none; margin-top: 2px; }
.notice strong { color: var(--gold-light); font-weight: 500; }

/* --- Sections --- */
.section { padding: clamp(70px, 10vw, 110px) 0; }
.section--dark { background: var(--black-2); border-block: 1px solid var(--line); }
.section__head { text-align: center; margin-bottom: 40px; }

/* --- Filtres --- */
.filters { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.filter { background: none; border: 1px solid var(--line); color: var(--muted); padding: 9px 20px; border-radius: 40px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: all .3s; }
.filter:hover { color: var(--gold-light); border-color: var(--gold); }
.filter.active { background: var(--gold-grad); color: var(--black); border-color: transparent; font-weight: 500; }

/* --- Grille produits --- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 28px; }
.card { cursor: pointer; background: var(--black-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .45s var(--ease), border-color .3s, box-shadow .45s; animation: fadeUp .6s var(--ease) both; }
.card:hover { transform: translateY(-6px); border-color: var(--gold); box-shadow: 0 20px 50px rgba(0,0,0,.6), 0 0 0 1px rgba(212,175,55,.15); }
.card:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.card__media { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--black-3); }
.card__media > * { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card:hover .card__media > * { transform: scale(1.05); }
.card__badge { position: absolute; top: 14px; left: 14px; z-index: 2; background: var(--gold-grad); color: var(--black); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; padding: 5px 10px; font-weight: 600; width: auto; height: auto; }
.card__video { position: absolute; top: 14px; right: 14px; z-index: 2; width: 30px !important; height: 30px !important; border-radius: 50%; background: rgba(0,0,0,.6); display: grid; place-items: center; color: var(--gold); font-size: 11px; }
.card__body { padding: 20px 20px 22px; text-align: center; }
.card__cat { font-size: 10px; letter-spacing: .25em; text-transform: uppercase; color: var(--gold); margin: 0 0 6px; }
.card__name { font-family: var(--serif); font-size: 24px; font-weight: 500; margin: 0 0 10px; line-height: 1.2; }
.card__dots { display: flex; justify-content: center; gap: 6px; margin-bottom: 14px; }
.dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(255,255,255,.25); }
.card__cta { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-light); border-bottom: 1px solid var(--line); padding-bottom: 3px; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } }

/* Illustration générée (placeholder perles) */
.art { width: 100%; height: 100%; display: block; }

/* --- Atelier (vidéos) --- */
.reels { display: grid; grid-template-columns: repeat(2, minmax(0, 300px)); justify-content: center; gap: 28px; }
.reel { position: relative; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--black); aspect-ratio: 9/16; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.reel video { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.reel figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 16px; background: linear-gradient(transparent, rgba(0,0,0,.85)); font-family: var(--serif); font-size: 20px; color: var(--gold-light); text-align: center; pointer-events: none; }
.reel__sound { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: rgba(0,0,0,.6); cursor: pointer; font-size: 16px; }
@media (max-width: 560px) { .reels { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; } .reel figcaption { font-size: 15px; padding: 30px 8px 10px; } }

/* --- Guide --- */
.guide { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.guide__img { text-align: center; }
.guide__img img { border: 1px solid var(--line); border-radius: var(--radius); cursor: zoom-in; margin-bottom: 14px; box-shadow: 0 30px 60px rgba(0,0,0,.5); }
.steps { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 16px; }
.steps li { position: relative; padding: 5px 0 0 50px; min-height: 34px; color: var(--muted); }
.steps li strong { color: var(--gold-light); font-weight: 500; }
.steps span { position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold); display: grid; place-items: center; font-family: var(--serif); font-size: 18px; }
.tip { padding: 16px 22px; border: 1px solid var(--line); border-radius: 40px; text-align: center; color: var(--muted); font-size: 14px; margin: 0; }
.tip em { font-family: var(--serif); color: var(--gold); font-size: 18px; }

/* --- Comment commander --- */
.how { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.how__item { background: var(--black); padding: 36px 26px; text-align: center; }
.how__num { font-family: var(--serif); font-size: 46px; line-height: 1; margin-bottom: 14px; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.how__item h3 { font-family: var(--serif); font-size: 24px; font-weight: 500; margin: 0 0 8px; }
.how__item p { color: var(--muted); margin: 0; font-size: 14px; }

/* --- Contact --- */
.contact { text-align: center; }
.socials { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.social { display: inline-flex; align-items: center; gap: 10px; padding: 13px 26px; border: 1px solid var(--line); border-radius: 40px; color: var(--gold-light); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; transition: all .3s; }
.social:hover { border-color: var(--gold); background: rgba(212,175,55,.08); transform: translateY(-2px); }

/* --- Footer --- */
.footer { padding: 40px 0; text-align: center; border-top: 1px solid var(--line); }
.footer p { color: var(--muted); font-size: 12px; letter-spacing: .12em; margin: 8px 0 0; }
.footer__copy { opacity: .6; }

/* --- Modales --- */
.modal { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; padding: 20px; visibility: hidden; opacity: 0; transition: opacity .35s, visibility .35s; }
.modal.open { visibility: visible; opacity: 1; }
.modal__backdrop, .drawer__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.8); backdrop-filter: blur(4px); }
.modal__panel { position: relative; background: var(--black-2); border: 1px solid var(--line); border-radius: var(--radius); width: min(1040px, 100%); max-height: calc(100vh - 40px); overflow: auto; transform: translateY(20px) scale(.98); transition: transform .45s var(--ease); }
.modal.open .modal__panel { transform: none; }
.modal__panel--img { width: auto; max-width: min(720px, 100%); padding: 0; background: #000; }
.modal__panel--img img { max-height: calc(100vh - 40px); width: auto; margin: auto; }
.modal__close { position: absolute; top: 12px; right: 12px; z-index: 5; width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,.6); border: 1px solid var(--line); color: var(--gold); font-size: 24px; line-height: 1; cursor: pointer; transition: background .3s; }
.modal__close:hover { background: rgba(212,175,55,.15); }
.modal__close--static { position: static; }

/* Fiche produit */
.product { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); }
.product__media { padding: 24px; border-right: 1px solid var(--line); }
.product__main { aspect-ratio: 4/5; background: var(--black-3); border-radius: var(--radius); overflow: hidden; }
.product__main > * { width: 100%; height: 100%; object-fit: cover; }
.product__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumb { width: 64px; height: 80px; padding: 0; border: 1px solid var(--line); border-radius: 3px; overflow: hidden; cursor: pointer; background: var(--black-3); position: relative; opacity: .6; transition: opacity .3s, border-color .3s; }
.thumb.active, .thumb:hover { opacity: 1; border-color: var(--gold); }
.thumb > img, .thumb > video, .thumb > svg { width: 100%; height: 100%; object-fit: cover; }
.thumb__play { position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold); background: rgba(0,0,0,.35); font-size: 14px; }
.product__info { padding: 36px 32px 32px; }
.product__name { font-family: var(--serif); font-size: clamp(30px, 4vw, 40px); font-weight: 500; line-height: 1.1; margin: 0 0 8px; }
.product__price { color: var(--gold-light); font-size: 15px; letter-spacing: .08em; margin: 0 0 14px; }
.product__desc { color: var(--muted); margin: 0 0 18px; }
.badge-order { display: inline-block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--line); padding: 7px 14px; border-radius: 40px; margin-bottom: 24px; }

/* Champs */
.field { border: 0; padding: 0; margin: 0 0 22px; }
.field legend, .field label { display: block; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 10px; font-weight: 500; color: var(--text); padding: 0; }
.field legend small { text-transform: none; letter-spacing: 0; color: var(--muted); font-weight: 300; }
.req { color: var(--gold); }
.field input[type=text], .field textarea {
  width: 100%; background: var(--black); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 12px 14px; font-size: 14px; resize: vertical; transition: border-color .3s, box-shadow .3s;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(212,175,55,.12); }
.field textarea + .link-gold { margin-top: 8px; }
.field.invalid textarea, .field.invalid .swatches { border-color: var(--danger); }
.field__err { color: var(--danger); font-size: 12.5px; margin: 6px 0 0; min-height: 0; }
.field__err:empty { display: none; }
.field__sel { font-size: 12.5px; color: var(--muted); margin: 10px 0 0; }
.field--row { display: flex; align-items: center; justify-content: space-between; }
.field--row label { margin: 0; }

.swatches { display: flex; flex-wrap: wrap; gap: 10px; border: 1px solid transparent; border-radius: var(--radius); }
.swatch { position: relative; width: 38px; height: 38px; border-radius: 50%; padding: 0; cursor: pointer; border: 1px solid rgba(255,255,255,.25); transition: transform .2s var(--ease); }
.swatch::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid transparent; transition: border-color .25s; }
.swatch:hover { transform: scale(1.08); }
.swatch[aria-pressed="true"]::after { border-color: var(--gold); }
.swatch[aria-pressed="true"]::before { content: "✓"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 15px; font-weight: 600; color: #fff; text-shadow: 0 0 3px #000, 0 0 6px #000; }
.swatch:focus-visible { outline: 2px solid var(--gold); outline-offset: 5px; }

.qty { display: inline-flex; border: 1px solid var(--line); border-radius: var(--radius); }
.qty button { width: 38px; background: none; border: 0; color: var(--gold); font-size: 18px; cursor: pointer; }
.qty input { width: 46px; text-align: center; background: none; border: 0; border-inline: 1px solid var(--line); padding: 8px 0; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }

/* --- Panier (drawer) --- */
.drawer { position: fixed; inset: 0; z-index: 110; visibility: hidden; }
.drawer.open { visibility: visible; }
.drawer__backdrop { opacity: 0; transition: opacity .35s; }
.drawer.open .drawer__backdrop { opacity: 1; }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); background: var(--black-2); border-left: 1px solid var(--line); display: flex; flex-direction: column; transform: translateX(100%); transition: transform .45s var(--ease); }
.drawer.open .drawer__panel { transform: none; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h2 { font-family: var(--serif); font-weight: 500; font-size: 28px; margin: 0; }
.drawer__body { flex: 1; overflow: auto; padding: 8px 24px; }
.drawer__foot { padding: 20px 24px 24px; border-top: 1px solid var(--line); overflow: auto; max-height: 55vh; }
.drawer__foot .field { margin-bottom: 14px; }
.drawer__foot .field label { font-size: 11px; margin-bottom: 6px; }
.drawer__note { font-size: 12px; color: var(--muted); text-align: center; margin: 12px 0 0; }
.cart-total { text-align: right; color: var(--gold-light); margin: 4px 0 14px; font-size: 14px; }
.cart-total:empty { display: none; }

.cart-item { display: grid; grid-template-columns: 70px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-item__img { width: 70px; height: 88px; border-radius: 3px; overflow: hidden; background: var(--black-3); }
.cart-item__img > * { width: 100%; height: 100%; object-fit: cover; }
.cart-item h4 { font-family: var(--serif); font-size: 19px; font-weight: 500; margin: 0 0 4px; line-height: 1.2; }
.cart-item p { margin: 2px 0; font-size: 12.5px; color: var(--muted); }
.cart-item p b { color: var(--text); font-weight: 500; }
.cart-item__side { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.cart-item__rm { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: 12px; text-decoration: underline; }
.cart-item__rm:hover { color: var(--danger); }
.cart-item__edit { background: none; border: 0; color: var(--gold); cursor: pointer; font-size: 12px; text-decoration: underline; padding: 0; }
.cart-item .qty button { width: 28px; font-size: 15px; }
.cart-item .qty input { width: 32px; padding: 4px 0; font-size: 13px; }

.empty { text-align: center; padding: 60px 10px; color: var(--muted); }
.empty__icon { font-size: 34px; color: var(--gold); margin-bottom: 10px; }
.empty .btn { margin-top: 20px; }

/* --- Toast --- */
.toast { position: fixed; left: 50%; bottom: 28px; z-index: 200; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; background: var(--black-3); border: 1px solid var(--gold); color: var(--gold-light); padding: 13px 24px; border-radius: 40px; font-size: 13.5px; transition: all .4s var(--ease); box-shadow: 0 12px 40px rgba(0,0,0,.5); max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* --- Responsive --- */
@media (max-width: 900px) {
  .guide { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .how { grid-template-columns: 1fr 1fr; }
  .product { grid-template-columns: minmax(0, 1fr); }
  .product__media { border-right: 0; border-bottom: 1px solid var(--line); }
  .product__main { aspect-ratio: 1/1; }
}
@media (max-width: 1480px) and (min-width: 1201px) { .nav { gap: 18px; } .nav a { letter-spacing: .1em; font-size: 11px; } .logo { font-size: 22px; letter-spacing: .22em; } .prefs { gap: 8px; margin-left: 2px; } .seg button { padding: 5px 7px; } }
@media (max-width: 1200px) {
  .burger { display: flex; }
  .nav { position: fixed; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--black); border-bottom: 1px solid var(--line); max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
  .nav.open { max-height: 340px; }
  .nav a { padding: 16px; text-align: center; border-top: 1px solid var(--line); font-size: 12px; }
  .nav a::after { display: none; }
}
@media (max-width: 760px) {
  .nav { position: fixed; top: 70px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--black); border-bottom: 1px solid var(--line); max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
  .nav.open { max-height: 320px; }
  .nav a { padding: 16px; text-align: center; border-top: 1px solid var(--line); }
  .nav a::after { display: none; }
  .topbar { gap: 14px; font-size: 9.5px; letter-spacing: .1em; }
  .logo { font-size: 21px; letter-spacing: .22em; }
  .hero::before { inset: 10px; }
  .grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .card__body { padding: 14px 10px 16px; }
  .card__name { font-size: 19px; }
  .modal { padding: 0; align-items: end; }
  .modal__panel { max-height: 94vh; border-radius: 14px 14px 0 0; }
  .modal__panel--img { align-self: center; border-radius: 0; }
  .product__media { padding: 14px; }
  .product__info { padding: 24px 18px 28px; }
}
@media (max-width: 420px) {
  .how { grid-template-columns: 1fr; }
  .btn { padding: 14px 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Vidéo Google Drive dans la fiche produit */
.product__main iframe { border: 0; background: #000; }
.thumb__embed { display: grid; place-items: center; width: 100%; height: 100%; color: var(--gold); font-size: 18px; background: var(--black-3); }

/* --- Préférences langue / devise --- */
.prefs { display: flex; align-items: center; gap: 14px; margin-left: 6px; }
.prefs__row { display: flex; align-items: center; gap: 8px; }
.prefs__label { display: none; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 40px; padding: 2px; background: rgba(255,255,255,.02); }
.seg button { background: none; border: 0; color: var(--muted); font-size: 11px; letter-spacing: .08em; font-weight: 500; padding: 5px 9px; border-radius: 40px; cursor: pointer; transition: background .25s, color .25s; }
.seg button:hover { color: var(--gold-light); }
.seg button[aria-pressed="true"] { background: var(--gold-grad); color: var(--black); }
.seg button:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
@media (max-width: 1200px) {
  .prefs { flex-direction: column; align-items: stretch; gap: 0; margin: 0; border-top: 1px solid var(--line); padding: 8px 16px 14px; }
  .prefs__row { justify-content: space-between; padding: 8px 0; }
  .prefs__label { display: inline; }
  .seg button { font-size: 12px; padding: 7px 14px; }
  .nav.open { max-height: 480px; }
}

/* --- Fiche : pièces à discuter sur WhatsApp --- */
.talk-note { color: var(--muted); font-size: 14px; margin: 0 0 16px; padding: 12px 14px; border-left: 2px solid var(--gold); background: rgba(212,175,55,.05); }
.card__price { color: var(--gold-light); font-size: 13px; margin: -4px 0 10px; letter-spacing: .04em; }
.steps i { font-style: normal; }
[hidden] { display: none !important; }

/* --- Formations --- */
.training { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.training__intro h3 { font-family: var(--serif); font-size: 28px; font-weight: 500; margin: 0 0 16px; color: var(--gold-light); }
.training__list { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 10px; }
.training__list li { position: relative; padding-left: 26px; color: var(--muted); }
.training__list li::before { content: "✦"; position: absolute; left: 0; top: 0; color: var(--gold); font-size: 12px; line-height: 1.9; }
.training__why { color: var(--muted); font-size: 14px; border-left: 2px solid var(--gold); padding: 4px 0 4px 14px; margin: 0 0 26px; }
.training__cta { display: flex; gap: 12px; flex-wrap: wrap; }
.modules { list-style: none; padding: 0; margin: 0; display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.modules li { display: flex; align-items: center; gap: 16px; padding: 16px 18px; background: var(--black-2); color: var(--text); font-size: 14.5px; }
.modules li span { flex: none; font-family: var(--serif); font-size: 24px; width: 34px; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.modules li i { font-style: normal; }
@media (max-width: 900px) { .training { grid-template-columns: minmax(0, 1fr); gap: 32px; } .training__cta .btn { flex: 1 1 100%; } }
