/* ==========================================================================
   Boutique — feuille de style (mobile first)
   ========================================================================== */
:root {
  --ink: #0d0f14;
  --ink-2: #1b1e27;
  --ink-soft: #5b6070;
  --paper: #f4f2ed;
  --paper-2: #ebe8e1;
  --white: #ffffff;
  --line: rgba(13, 15, 20, .12);
  --m1: #FECD06; --m2: #0469B7; --m3: #9E993E; --m4: #BE499A; --m5: #F98E4A;
  --m6: #77C697; --m7: #EB97A7; --m11: #8A6036; --m12: #008C57; --m13: #8DCEE0;
  --rer-a: #C63230;
  --ok: #00814F;
  --danger: #C63230;
  --radius: 22px;
  --radius-sm: 12px;
  --gutter: 20px;
  --header-h: 68px;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.05; letter-spacing: -.03em; margin: 0; font-weight: 600; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
::selection { background: var(--m1); color: var(--ink); }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.page { min-height: 70vh; }

/* --- Boutons ------------------------------------------------------------- */
.btn {
  --bg: var(--ink); --fg: var(--white);
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 52px; padding: 0 26px;
  border: 0; border-radius: 999px; cursor: pointer;
  background: var(--bg); color: var(--fg);
  font: 600 15px/1 var(--font-body); text-decoration: none;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.btn::before { /* remplissage coloré au survol */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, var(--m1), var(--m5), var(--rer-a), var(--m4), var(--m2));
  transform: translateY(101%); transition: transform .5s var(--ease);
}
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn:hover { color: var(--ink); transform: translateY(-2px); box-shadow: 0 14px 30px -12px rgba(13,15,20,.45); }
.btn:active { transform: translateY(0) scale(.98); }
.btn[disabled] { opacity: .45; pointer-events: none; }
.btn-light { --bg: var(--white); --fg: var(--ink); }
.btn-ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-block { width: 100%; }
.btn .arrow { transition: transform .4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.link { color: inherit; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.link:hover { color: var(--m2); }

/* --- En-tête --------------------------------------------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 0 var(--gutter);
  transition: background .4s, backdrop-filter .4s, color .4s, transform .5s var(--ease);
}
.site-header.is-scrolled { background: rgba(244, 242, 237, .78); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); }
.site-header.is-hidden { transform: translateY(-100%); }
.page-home .site-header:not(.is-scrolled) { color: var(--white); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 700 19px/1 var(--font-display); letter-spacing: -.03em; white-space: nowrap; }
@media (max-width: 380px) { .header-link { padding: 10px 8px; font-size: 14px; } .logo { font-size: 17px; gap: 8px; } }
.logo-mark { width: 34px; height: 34px; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.header-link { padding: 10px 12px; font-weight: 500; font-size: 15px; text-decoration: none; border-radius: 999px; transition: background .3s; white-space: nowrap; }
.header-link:hover { background: rgba(127,127,127,.15); }
.cart-button {
  display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 8px 0 14px;
  border-radius: 999px; background: var(--ink); color: var(--white); text-decoration: none; font-weight: 600; font-size: 15px;
  transition: transform .3s var(--ease);
}
.page-home .site-header:not(.is-scrolled) .cart-button { background: var(--white); color: var(--ink); }
.cart-button:hover { transform: scale(1.04); }
.cart-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.cart-button span { display: none; }
.cart-count {
  min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px;
  display: grid; place-items: center; background: var(--m1); color: var(--ink); font-size: 13px;
}
.cart-count.is-empty { background: rgba(127,127,127,.25); color: inherit; }
.cart-count.bump { animation: bump .6s var(--ease); }
@keyframes bump { 30% { transform: scale(1.45); } }

/* --- Chargement initial ------------------------------------------------- */
.loader {
  position: fixed; inset: 0; z-index: 200; background: var(--ink); color: var(--white);
  display: grid; place-content: center; justify-items: center; gap: 22px;
}
.loader-line { position: relative; width: min(260px, 70vw); height: 18px; }
.loader-track { position: absolute; left: 0; top: 7px; height: 4px; width: 100%; border-radius: 4px;
  background: linear-gradient(90deg, var(--m1), var(--m2), var(--rer-a), var(--m12), var(--m4));
  transform-origin: left; animation: track 1.1s var(--ease) both; }
.loader-stop { position: absolute; top: 1px; left: calc(var(--i) * 25% - 8px); width: 16px; height: 16px; border-radius: 50%;
  background: var(--paper); box-shadow: inset 0 0 0 4px var(--c); z-index: 1;
  animation: stop .5s var(--ease) both; animation-delay: calc(var(--i) * .2s + .1s); }
.loader-label { margin: 0; font: 600 14px/1 var(--font-display); letter-spacing: .3em; text-transform: uppercase; opacity: .7; }
@keyframes track { from { transform: scaleX(0); } }
@keyframes stop { from { transform: scale(0); } }
.is-loaded .loader { pointer-events: none; }
html:not(.js) .loader { display: none; }

/* --- Transition entre pages ------------------------------------------- */
.transition { position: fixed; inset: 0; z-index: 190; pointer-events: none; display: flex; flex-direction: column; }
.transition span { flex: 1; transform: scaleX(0); transform-origin: left; }

/* --- Toasts -------------------------------------------------------------------- */
.toast {
  position: fixed; z-index: 120; left: 50%; bottom: 22px; transform: translateX(-50%);
  max-width: calc(100% - 32px); padding: 14px 20px; border-radius: 14px;
  background: var(--ink); color: var(--white); font-weight: 500; font-size: 15px;
  box-shadow: 0 20px 40px -18px rgba(0,0,0,.5);
  animation: toast 4.5s var(--ease) both;
}
.toast-success { border-left: 5px solid var(--m12); }
.toast-error { border-left: 5px solid var(--rer-a); }
@keyframes toast { 0% { opacity: 0; transform: translate(-50%, 20px); } 8%, 88% { opacity: 1; transform: translate(-50%, 0); } 100% { opacity: 0; transform: translate(-50%, 10px); } }

/* ==========================================================================
   Accueil
   ========================================================================== */
.hero {
  position: sticky; top: 0; height: 100vh; height: 100svh; min-height: 560px;
  background: var(--ink); color: var(--white); overflow: hidden;
}
.hero canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.hero-content {
  position: relative; z-index: 2; height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--gutter) calc(48px + env(safe-area-inset-bottom));
  pointer-events: none;
}
.hero-content > * { pointer-events: auto; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.7); }
.hero-kicker i { width: 9px; height: 9px; border-radius: 50%; background: var(--m12); box-shadow: 0 0 0 0 rgba(0,140,87,.6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(0,140,87,0); } }
.hero h1 { font-size: clamp(44px, 12vw, 128px); line-height: .92; max-width: 11ch; font-weight: 600; }
.hero h1 .word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .16em; margin-bottom: -.1em; }
.hero h1 .word > span { display: inline-block; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, var(--m1), var(--m5) 40%, var(--rer-a) 70%, var(--m4)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { max-width: 34ch; margin: 22px 0 28px; font-size: 17px; color: rgba(255,255,255,.75); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-scroll { position: absolute; z-index: 2; right: var(--gutter); bottom: 48px; display: none; writing-mode: vertical-rl; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.hero-scroll::after { content: ""; display: block; width: 1px; height: 60px; margin: 12px auto 0; background: linear-gradient(rgba(255,255,255,.6), transparent); animation: scrollcue 2s infinite; transform-origin: top; }
@keyframes scrollcue { 0% { transform: scaleY(0); } 60% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* Sections qui remontent sur le hero */
.panel {
  position: relative; z-index: 3;
  border-radius: var(--radius) var(--radius) 0 0;
  margin-top: calc(var(--radius) * -1);
  padding: 72px 0;
  background: var(--paper);
  box-shadow: 0 -30px 60px -30px rgba(0,0,0,.35);
}
.panel-dark { background: var(--ink); color: var(--white); }
.panel-white { background: var(--white); }
.section-label { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; font: 600 13px/1 var(--font-display); letter-spacing: .16em; text-transform: uppercase; }
.section-label::before { content: ""; width: 26px; height: 4px; border-radius: 4px; background: var(--c, var(--m1)); }

/* À propos */
.about-title { font-size: clamp(30px, 7.4vw, 72px); max-width: 17ch; }
.about-title .accent { color: var(--m2); }
.about-grid { display: grid; gap: 28px; margin-top: 36px; }
.about-text { font-size: 18px; color: var(--ink-soft); max-width: 46ch; }
.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat { padding: 18px 14px; border-radius: var(--radius-sm); background: var(--white); }
.stat b { display: block; font: 600 clamp(26px, 6vw, 40px)/1 var(--font-display); letter-spacing: -.03em; }
.stat span { font-size: 13px; color: var(--ink-soft); }
.stat:nth-child(1) b { color: var(--m2); } .stat:nth-child(2) b { color: var(--rer-a); } .stat:nth-child(3) b { color: var(--m12); }

/* Nos objets : défilement horizontal piloté par le scroll vertical */
.objects { padding-bottom: 0; overflow: hidden; }
.objects-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }
.objects-head h2 { font-size: clamp(36px, 9vw, 88px); }
.objects-head p { color: rgba(255,255,255,.65); max-width: 40ch; margin: 0; }
.objects-track-wrap { overflow: hidden; padding-bottom: calc(80px + var(--radius)); } /* espace avant la section suivante, qui remonte de --radius */
.objects-track { display: flex; gap: 16px; padding: 0 var(--gutter); width: max-content; }
.object-card {
  position: relative; flex: 0 0 auto; width: min(82vw, 420px);
  border-radius: var(--radius); overflow: hidden; text-decoration: none;
  background: var(--ink-2); color: var(--white);
  transition: transform .6s var(--ease);
}
.object-card:hover { transform: translateY(-6px); }
.object-media { position: relative; aspect-ratio: 4 / 3.4; background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--accent) 45%, transparent), transparent 60%), #171a22; display: grid; place-items: center; overflow: hidden; }
.object-media img { width: 86%; transition: transform .8s var(--ease); }
.object-card:hover .object-media img { transform: scale(1.05) rotate(-1deg); }
.object-badge { position: absolute; top: 16px; left: 16px; padding: 6px 12px; border-radius: 999px; background: var(--rer-a); color: var(--white); font-weight: 600; font-size: 13px; }
.object-body { padding: 22px 22px 26px; display: grid; gap: 8px; }
.object-body h3 { font-size: 28px; }
.object-body p { margin: 0; color: rgba(255,255,255,.65); font-size: 15px; }
.object-price { display: flex; align-items: baseline; gap: 10px; margin-top: 8px; font: 600 22px/1 var(--font-display); }
.object-price s { font-size: 16px; color: rgba(255,255,255,.45); font-weight: 400; }
.object-cta { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 600; }
.object-card--soon { display: grid; place-content: center; text-align: center; min-height: 360px; padding: 32px; background: transparent; border: 1.5px dashed rgba(255,255,255,.25); }
.object-card--soon h3 { font-size: 26px; margin-bottom: 8px; }
.object-card--soon p { color: rgba(255,255,255,.55); margin: 0; }
.soon-dots { display: flex; justify-content: center; gap: 8px; margin-bottom: 20px; }
.soon-dots i { width: 12px; height: 12px; border-radius: 50%; background: var(--c); animation: dot 1.4s infinite ease-in-out; animation-delay: calc(var(--i) * .15s); }
@keyframes dot { 40% { transform: translateY(-8px); } }

/* FAQ */
.faq-grid { display: grid; gap: 28px; }
.faq-title { font-size: clamp(34px, 8vw, 72px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 0; font: 600 19px/1.3 var(--font-display); letter-spacing: -.01em;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon { flex: none; position: relative; width: 34px; height: 34px; border-radius: 50%; background: var(--paper-2); transition: background .4s, transform .5s var(--ease); }
.faq-icon::before, .faq-icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: currentColor; transform: translate(-50%, -50%); }
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease); }
.faq-item[open] .faq-icon { background: var(--c, var(--m1)); transform: rotate(180deg); }
.faq-item[open] .faq-icon::after { transform: translate(-50%, -50%) rotate(0); }
.faq-answer { overflow: hidden; }
.faq-answer p { padding: 0 0 22px; margin: 0; color: var(--ink-soft); max-width: 58ch; }

/* ==========================================================================
   Pied de page
   ========================================================================== */
.site-footer { position: relative; z-index: 3; background: var(--ink); color: rgba(255,255,255,.75); }
.footer-lines { display: flex; height: 6px; }
.footer-lines span { flex: 1; }
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 48px var(--gutter) calc(32px + env(safe-area-inset-bottom)); display: grid; gap: 32px; }
.footer-brand .logo { color: var(--white); margin-bottom: 14px; }
.footer-brand p { margin: 0; max-width: 34ch; }
.footer-social { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(255,255,255,.18); text-decoration: none; color: var(--white); transition: background .3s, border-color .3s; }
.footer-social a:hover { background: var(--white); color: var(--ink); }
.footer-social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; }
.footer-legal a { text-decoration: none; }
.footer-legal a:hover { color: var(--white); text-decoration: underline; }

/* ==========================================================================
   Pages intérieures
   ========================================================================== */
.inner { padding: calc(var(--header-h) + 28px) 0 80px; }
.page-title { font-size: clamp(38px, 9vw, 76px); margin-bottom: 10px; }
.page-intro { color: var(--ink-soft); font-size: 17px; max-width: 52ch; margin-bottom: 32px; }
.breadcrumb { display: flex; gap: 8px; font-size: 14px; color: var(--ink-soft); margin-bottom: 18px; }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.card { background: var(--white); border-radius: var(--radius); padding: 24px; }
.muted { color: var(--ink-soft); }

/* --- Produit ------------------------------------------------------------ */
.product { display: grid; gap: 28px; }
.gallery { position: relative; min-width: 0; }
.gallery-main { border-radius: var(--radius); overflow: hidden; background: radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--accent) 35%, transparent), transparent 65%), var(--white); }
.gallery-main .swiper-slide { display: grid; place-items: center; aspect-ratio: 1 / .92; }
.gallery-main img { width: 88%; height: auto; }
.gallery-main .slide-3d { cursor: grab; }
.gallery-main .slide-3d canvas { width: 100% !important; height: 100% !important; }
.slide-3d-hint { position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%); padding: 7px 14px; border-radius: 999px; background: rgba(13,15,20,.75); color: #fff; font-size: 13px; pointer-events: none; }
.gallery-thumbs { margin-top: 10px; }
.gallery-thumbs .swiper-slide { width: 78px; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--white); cursor: pointer; opacity: .55; transition: opacity .3s, box-shadow .3s; display: grid; place-items: center; }
.gallery-thumbs .swiper-slide-thumb-active { opacity: 1; box-shadow: inset 0 0 0 2px var(--ink); }
.gallery-thumbs img { width: 80%; }
.thumb-3d { font: 700 15px/1 var(--font-display); }
.gallery .swiper-pagination-bullet-active { background: var(--ink); }

.product-info { display: grid; gap: 20px; align-content: start; }
.product-info h1 { font-size: clamp(40px, 10vw, 72px); }
.product-tagline { font-size: 19px; color: var(--ink-soft); margin: 0; }
.price-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.price { font: 600 36px/1 var(--font-display); letter-spacing: -.03em; }
.price-old { font-size: 20px; color: var(--ink-soft); }
.promo-badge { padding: 7px 12px; border-radius: 999px; background: var(--rer-a); color: #fff; font-weight: 600; font-size: 14px; }
.promo-ends { font-size: 14px; color: var(--rer-a); font-weight: 500; }
.buy-row { display: grid; grid-template-columns: auto 1fr; gap: 10px; }
.options { border: 0; margin: 0; padding: 0; min-width: 0; }
.options legend { padding: 0; margin-bottom: 10px; font-weight: 600; font-size: 15px; }
.option-list { display: flex; flex-wrap: wrap; gap: 10px; }
.option-pill { position: relative; cursor: pointer; }
.option-pill input { position: absolute; opacity: 0; pointer-events: none; }
.option-pill span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 18px 0 14px;
  border-radius: 999px; background: var(--white); box-shadow: inset 0 0 0 2px var(--line);
  font-weight: 600; transition: box-shadow .25s, transform .25s var(--ease), background .25s;
}
.option-pill span::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 3.5px var(--c); transition: background .25s; }
.option-pill small { font-weight: 500; color: var(--ink-soft); }
.option-pill:hover span { transform: translateY(-2px); }
.option-pill input:checked + span { box-shadow: inset 0 0 0 2.5px var(--ink); }
.option-pill input:checked + span::before { background: var(--c); }
.option-pill input:focus-visible + span { outline: 3px solid var(--m1); outline-offset: 2px; }
.qty { display: inline-flex; align-items: center; height: 52px; border-radius: 999px; box-shadow: inset 0 0 0 1.5px var(--line); background: var(--white); }
.qty button { width: 44px; height: 100%; border: 0; background: none; cursor: pointer; font-size: 20px; border-radius: 999px; }
.qty button:hover { background: var(--paper-2); }
.qty input { width: 34px; border: 0; text-align: center; font: 600 16px var(--font-body); background: transparent; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.info-list { display: grid; gap: 10px; }
.info-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--radius-sm); background: var(--white); }
.info-item i { flex: none; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: var(--ink); font-style: normal; }
.info-item i svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.info-item b { display: block; font-weight: 600; }
.info-item span { font-size: 14px; color: var(--ink-soft); }
.product-desc { font-size: 17px; }
.product-desc p { color: var(--ink-soft); }
.features { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.features li { display: flex; gap: 10px; align-items: baseline; }
.features li::before { content: ""; flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--c); transform: translateY(1px); }
.sticky-buy { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 10px 10px 20px; border-radius: 999px; background: var(--ink); color: #fff; transform: translateY(150%); transition: transform .5s var(--ease); }
.sticky-buy.is-visible { transform: translateY(0); }
.sticky-buy b { font: 600 18px var(--font-display); }
.sticky-buy .btn { min-height: 44px; }

/* --- Formulaires --------------------------------------------------------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; align-items: start; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 600; font-size: 14px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--white); color: var(--ink);
  font: 16px var(--font-body); transition: border-color .3s, box-shadow .3s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(254,205,6,.45); }
.field-error input { border-color: var(--danger); }
.field small { color: var(--ink-soft); font-size: 13px; }
.errors { padding: 14px 18px; border-radius: 14px; background: #fde7e6; color: #8a1f1d; font-size: 15px; }
.errors ul { margin: 0; padding-left: 18px; }
.notice { padding: 14px 18px; border-radius: 14px; background: #e3f3ea; color: #0b5a37; font-size: 15px; }
.auth { max-width: 460px; margin: 0 auto; }
.auth .page-title { font-size: clamp(36px, 8vw, 56px); }
.auth-alt { margin-top: 20px; text-align: center; color: var(--ink-soft); font-size: 15px; }
.password-field { position: relative; }
.password-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; padding: 8px 10px; cursor: pointer; font-size: 13px; font-weight: 600; color: var(--ink-soft); }

/* --- Panier ------------------------------------------------------------------ */
.cart-layout { display: grid; gap: 24px; align-items: start; }
.cart-items { display: grid; gap: 12px; }
.cart-item { display: grid; grid-template-columns: 84px 1fr; gap: 14px; align-items: center; padding: 14px; border-radius: var(--radius); background: var(--white); }
.cart-item-media { aspect-ratio: 1; border-radius: 14px; background: var(--paper); display: grid; place-items: center; overflow: hidden; }
.cart-item-media img { width: 84%; }
.cart-item h3 { font-size: 19px; margin-bottom: 4px; }
.cart-item h3 a { text-decoration: none; }
.cart-item-price { font-size: 14px; color: var(--ink-soft); }
.cart-item-option { display: inline-block; margin: 0 0 6px; padding: 3px 10px; border-radius: 999px; background: var(--paper-2); font-size: 13px; font-weight: 600; }
.cart-item-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cart-item-total { font: 600 18px var(--font-display); }
.cart-remove { border: 0; background: none; color: var(--ink-soft); cursor: pointer; font-size: 14px; text-decoration: underline; }
.summary { display: grid; gap: 14px; }
.summary-row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.summary-row.discount { color: var(--ok); }
.summary-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); font: 600 24px var(--font-display); }
.promo-form { display: flex; gap: 8px; }
.promo-form input { flex: 1; min-width: 0; min-height: 48px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); font: 15px var(--font-body); text-transform: uppercase; background: var(--paper); }
.promo-form input:focus { outline: none; border-color: var(--ink); }
.promo-form .btn { min-height: 48px; padding: 0 18px; }
.promo-applied { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; border-radius: 12px; background: #e3f3ea; color: var(--ok); font-weight: 600; font-size: 14px; }
.promo-applied button { border: 0; background: none; color: inherit; cursor: pointer; text-decoration: underline; font-size: 13px; }
.promo-message { font-size: 14px; margin: -4px 0 0; }
.promo-message.is-error { color: var(--danger); }
.checkout-mode { display: grid; gap: 10px; }
.mode-option { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--white); cursor: pointer; transition: border-color .3s, box-shadow .3s; }
.mode-option:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(4,105,183,.12); }
.mode-option input { margin-top: 4px; accent-color: var(--ink); width: 18px; height: 18px; }
.mode-option b { display: block; }
.mode-option span { font-size: 14px; color: var(--ink-soft); }
.empty-state { text-align: center; padding: 56px 20px; }
.empty-state svg { width: 120px; margin: 0 auto 20px; }
.empty-state h2 { font-size: 30px; margin-bottom: 10px; }
.secure-note { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 13px; color: var(--ink-soft); }
.secure-note svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }

/* --- Paiement ------------------------------------------------------------- */
.pay-layout { display: grid; gap: 24px; align-items: start; }
#payment-element { min-height: 220px; }
.pay-skeleton { display: grid; gap: 12px; }
.pay-skeleton span { height: 52px; border-radius: 12px; background: linear-gradient(90deg, var(--paper) 25%, var(--paper-2) 50%, var(--paper) 75%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* --- Succès / échec ------------------------------------------------------- */
.result { text-align: center; max-width: 620px; margin: 0 auto; }
.result-icon { width: 108px; height: 108px; margin: 0 auto 26px; border-radius: 50%; display: grid; place-items: center; }
.result-icon svg { width: 52px; height: 52px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.result-icon.ok { background: var(--m12); color: #fff; }
.result-icon.ko { background: var(--rer-a); color: #fff; }
.result-icon path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .8s .4s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.result .card { text-align: left; margin: 28px 0; }
.result-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.order-ref { font: 600 15px var(--font-display); letter-spacing: .08em; padding: 6px 12px; border-radius: 8px; background: var(--paper-2); }

/* --- Compte ------------------------------------------------------------------ */
.account-grid { display: grid; gap: 20px; }
.order-list { display: grid; gap: 10px; }
.order-row { display: grid; gap: 4px 12px; grid-template-columns: 1fr auto; padding: 16px 18px; border-radius: 16px; background: var(--paper); }
.order-row b { font-family: var(--font-display); }
.status-pill { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; font-size: 13px; font-weight: 600; background: var(--paper-2); }
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-paid, .status-processing { color: #0469B7; background: #e4effa; }
.status-shipped, .status-delivered { color: #00814F; background: #e3f3ea; }
.status-pending { color: #8a6a00; background: #fff4c7; }
.status-failed, .status-cancelled { color: #a1201e; background: #fde7e6; }

/* --- Pages légales ------------------------------------------------------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 24px; margin: 34px 0 12px; }
.legal p, .legal li { color: var(--ink-soft); }

/* --- Animations d'apparition (pilotées en JS) ---------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(30px); }

/* ==========================================================================
   Tablette / desktop
   ========================================================================== */
@media (min-width: 720px) {
  :root { --gutter: 32px; --header-h: 76px; }
  .cart-button span { display: inline; }
  .hero-content { padding-bottom: 72px; }
  .hero-scroll { display: block; }
  .about-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: end; }
  .panel { padding: 110px 0; --radius: 34px; }
  .objects { padding-bottom: 0; }
  .objects-track-wrap { padding-bottom: calc(120px + var(--radius)); }
  .objects-head { flex-direction: row; justify-content: space-between; align-items: flex-end; }
  .objects-track { gap: 24px; }
  .faq-grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 48px; }
  .faq-title { font-size: clamp(34px, 5.2vw, 72px); }
  .footer-inner { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: start; }
  .footer-social { justify-content: flex-end; }
  .footer-legal { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.12); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .cart-item { grid-template-columns: 110px 1fr auto; }
  .cart-item-actions { grid-column: auto; flex-direction: column; align-items: flex-end; }
  .card { padding: 32px; }
  .sticky-buy { left: 50%; right: auto; width: 460px; transform: translate(-50%, 150%); }
  .sticky-buy.is-visible { transform: translate(-50%, 0); }
}
@media (min-width: 1000px) {
  .product { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 56px; align-items: start; }
  .gallery { position: sticky; top: calc(var(--header-h) + 20px); }
  .cart-layout, .pay-layout { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 32px; }
  .cart-aside { position: sticky; top: calc(var(--header-h) + 20px); }
  .account-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
  .object-card { width: 460px; }
}

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

/* Hero : voile en bas pour la lisibilité du texte au-dessus du circuit */
.hero::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(to top, rgba(13,15,20,.92) 0%, rgba(13,15,20,.55) 35%, rgba(13,15,20,0) 65%); }

/* ==========================================================================
   Logo LEDoMATIC (images assets/img/brand/)
   ========================================================================== */
.logo picture, .logo img { display: block; }
.site-header .logo img { height: 28px; width: auto; }
.site-header .logo-white { display: none; }
.page-home .site-header:not(.is-scrolled) .logo-dark { display: none; }
.page-home .site-header:not(.is-scrolled) .logo-white { display: block; }
.footer-brand .logo img { height: 40px; width: auto; }
.loader-logo img { height: 38px; width: auto; opacity: 0; animation: logo-in .7s .55s var(--ease) forwards; }
@keyframes logo-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (min-width: 720px) { .site-header .logo img { height: 34px; } }
@media (max-width: 380px) { .site-header .logo img { height: 24px; } }

/* ==========================================================================
   Bandeau cookies
   ========================================================================== */
.consent {
  position: fixed; z-index: 150; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  padding: 22px 20px 20px; border-radius: var(--radius); background: var(--white); color: var(--ink);
  box-shadow: 0 24px 60px -20px rgba(13, 15, 20, .45), 0 0 0 1px rgba(13, 15, 20, .06);
  opacity: 0; transform: translateY(24px); transition: opacity .4s var(--ease), transform .5s var(--ease);
}
.consent.is-visible { opacity: 1; transform: none; }
.consent-dots { display: flex; gap: 6px; margin-bottom: 12px; }
.consent-dots i { width: 14px; height: 14px; border-radius: 50%; background: var(--white); box-shadow: inset 0 0 0 4px var(--c); }
.consent-skip { position: absolute; top: 16px; right: 16px; border: 0; background: none; padding: 4px; cursor: pointer; font-size: 13px; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; }
.consent-skip:hover { color: var(--ink); }
.consent-title { margin: 0 0 6px; font: 600 20px/1.2 var(--font-display); letter-spacing: -.02em; }
.consent-text { margin: 0 0 16px; font-size: 14px; color: var(--ink-soft); }
.consent-text a { color: var(--ink); }
.consent-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.consent-actions .btn { min-height: 48px; padding: 0 14px; }
.footer-legal [data-cookie-settings] { cursor: pointer; }
@media (min-width: 720px) {
  .consent { left: auto; right: 24px; bottom: 24px; width: 420px; }
}

/* Tableaux des pages légales (défilement horizontal sur mobile) */
.legal-table { overflow-x: auto; margin: 0 0 1.2em; border-radius: var(--radius-sm); background: var(--white); }
.legal-table table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 14px; }
.legal-table th, .legal-table td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); color: var(--ink-soft); }
.legal-table th { color: var(--ink); font-weight: 600; background: var(--paper-2); }
.legal-table tr:last-child td { border-bottom: 0; }
.legal-table code { font-size: 13px; color: var(--ink); }
.legal ul { padding-left: 20px; }

/* --- Panier : pays de livraison ------------------------------------------ */
.summary-note { display: block; margin-top: 2px; font-size: 12.5px; color: var(--ink-soft); }

/* --- Contact et demande sur-mesure ---------------------------------------- */
.form-layout { display: grid; gap: 24px; align-items: start; }
.form-aside h2 { font-size: 24px; margin-bottom: 14px; }
.form-aside p { font-size: 15px; }
.form-aside-cta { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 12px; justify-items: start; }
.form-aside-cta p { margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* champ piège anti-robots */
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-soft); }
.check input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ink); }
.dropzone {
  position: relative; display: grid; justify-items: center; gap: 6px; padding: 26px 18px; text-align: center;
  border: 1.5px dashed var(--line); border-radius: 14px; background: var(--paper); cursor: pointer;
  transition: border-color .3s, background .3s;
}
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone svg { width: 28px; height: 28px; fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dropzone span { font-weight: 600; font-size: 15px; word-break: break-word; }
.dropzone small { color: var(--ink-soft); font-size: 13px; }
.dropzone.is-over, .dropzone:hover { border-color: var(--ink); background: var(--paper-2); }
.dropzone.has-files { border-style: solid; border-color: var(--ok); }
.steps { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 16px; }
.steps li { position: relative; display: grid; gap: 2px; padding-left: 30px; font-size: 15px; }
.steps li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 4px var(--c); }
.steps li:not(:last-child)::after { content: ""; position: absolute; left: 7px; top: 22px; bottom: -14px; width: 2px; background: var(--line); }
.steps span { color: var(--ink-soft); font-size: 14px; }

/* --- Collection : carte "Demande sur-mesure" ------------------------------ */
.object-card--custom { display: flex; flex-direction: column; justify-content: flex-end; min-height: 420px; background: #171a22; }
.custom-lines { position: absolute; inset: 0; width: 100%; height: 62%; }
.custom-lines path { fill: none; stroke: var(--c); stroke-width: 10; stroke-linecap: round; stroke-linejoin: round; opacity: .9;
  stroke-dasharray: 700; stroke-dashoffset: 700; animation: custom-draw 2.4s var(--ease) forwards; }
.custom-lines path:nth-of-type(2) { animation-delay: .3s; }
.custom-lines path:nth-of-type(3) { animation-delay: .6s; }
.custom-lines circle { fill: #171a22; stroke: var(--c); stroke-width: 5; }
@keyframes custom-draw { to { stroke-dashoffset: 0; } }
.object-card--custom .object-body { position: relative; }
.custom-kicker { justify-self: start; padding: 5px 12px; border-radius: 999px; background: var(--m1); color: var(--ink); font: 600 12px/1.2 var(--font-display); letter-spacing: .12em; text-transform: uppercase; }
.object-card--custom:hover .custom-lines path { stroke-width: 12; }

@media (min-width: 720px) {
  .form-row-3 { grid-template-columns: 1fr 1fr 1fr; }
}
@media (min-width: 1000px) {
  .form-layout { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 32px; }
  .form-aside { position: sticky; top: calc(var(--header-h) + 20px); }
}
@media (prefers-reduced-motion: reduce) {
  .custom-lines path { animation: none; stroke-dashoffset: 0; }
}
