/* ==========================================================
   MAKAHO SHOP — feuille de style commune
   Charte groupe : #0D1527 · #FFB800 · #10B981 — version mode : ivoire + or champagne
   ========================================================== */
:root {
  --ink: #0D1527;
  --ink-2: #1b2640;
  --ivory: #FAF7F2;
  --sand: #F1EBE1;
  --line: #E4DCCD;
  --gold: #C9A24B;
  --amber: #FFB800;
  --green: #10B981;
  --green-dark: #0B8F64;
  --muted: #5d6578;
  --white: #fff;
  --font-display: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 1200px;
  --radius: 18px;
  --header-h: 72px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; color: var(--ink); background: var(--ivory); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(2.8rem, 7vw, 5.2rem); }
h2 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); }
h3 { font-size: 1.5rem; }
p { margin: 0 0 1rem; }
.wrap { width: min(var(--wrap), 100% - 2rem); margin-inline: auto; }
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 1rem; top: -100px; z-index: 200; background: var(--amber); color: var(--ink); padding: .6rem 1rem; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 1rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .75rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 56ch; }
.section-head { margin-bottom: 2.5rem; }
.section-head.center { text-align: center; } .section-head.center .lead { margin-inline: auto; } .section-head.center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; }

/* Boutons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; font-weight: 700; font-size: 1rem; border: 0; border-radius: 999px; padding: .95rem 1.7rem; text-decoration: none; transition: transform .2s, box-shadow .25s, background .2s, color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn svg { width: 1.2em; height: 1.2em; flex: none; }
.btn-wa { background: var(--green); color: #04261b; box-shadow: 0 10px 26px -10px rgba(16,185,129,.8); }
.btn-wa:hover { background: #19d197; box-shadow: 0 16px 34px -10px rgba(16,185,129,.9); }
.btn-dark { background: var(--ink); color: #fff; } .btn-dark:hover { background: var(--ink-2); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); } .btn-line:hover { background: var(--ink); color: #fff; }
.btn-line-light { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); } .btn-line-light:hover { box-shadow: inset 0 0 0 1.5px var(--amber); color: var(--amber); }
.btn-sm { padding: .6rem 1.1rem; font-size: .9rem; }
.btn-block { width: 100%; }

/* Bandeau + en-tête */
.topbar { background: var(--ink); color: #e9dfc7; text-align: center; font-size: .82rem; font-weight: 600; letter-spacing: .04em; padding: .55rem 1rem; }
.topbar a { color: var(--amber); text-decoration: none; font-weight: 800; }
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(250,247,242,.88); backdrop-filter: blur(14px) saturate(160%); border-bottom: 1px solid var(--line); }
.header-in { height: var(--header-h); display: flex; align-items: center; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: .7rem; text-decoration: none; margin-right: auto; }
.brand-mark { width: 38px; height: 38px; flex: none; }
.brand-name { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; letter-spacing: .06em; line-height: 1; }
.brand-name small { display: block; font-family: var(--font-body); font-size: .6rem; font-weight: 800; letter-spacing: .38em; color: var(--gold); margin-top: .25rem; }
.nav { display: flex; gap: 2rem; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; position: relative; padding: .3rem 0; }
.nav a::after { content: ""; position: absolute; inset: auto 0 -2px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s; }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.cart-btn { position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; transition: border-color .2s, transform .2s; }
.cart-btn:hover { border-color: var(--gold); transform: translateY(-2px); }
.cart-btn svg { width: 22px; height: 22px; }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--amber); color: var(--ink); font-size: .72rem; font-weight: 800; display: grid; place-items: center; }
.cart-count[data-n="0"] { display: none; }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; }
.header-cta { display: inline-flex; }
@media (max-width: 960px) {
  .nav { position: absolute; inset: var(--header-h) 0 auto 0; background: var(--ivory); flex-direction: column; gap: 0; padding: .5rem 1rem 1rem; border-bottom: 1px solid var(--line); display: none; }
  .nav.open { display: flex; }
  .nav a { padding: 1rem 0; border-bottom: 1px solid var(--line); font-size: 1.1rem; }
  .nav-toggle { display: inline-grid; place-items: center; }
  .header-cta { display: none; }
}

/* Hero */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60rem 34rem at 85% -10%, rgba(201,162,75,.35), transparent 60%), radial-gradient(40rem 30rem at -10% 110%, rgba(16,185,129,.22), transparent 60%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 20%, transparent 75%); mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, #000 20%, transparent 75%); }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; padding: clamp(3rem, 8vw, 6rem) 0; }
.hero h1 em { font-style: italic; color: var(--amber); font-weight: 500; }
.hero .lead { color: #c9d0e0; margin-top: 1.4rem; font-size: 1.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }
.hero-points { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 2.2rem 0 0; padding: 0; list-style: none; font-size: .9rem; color: #c9d0e0; }
.hero-points li::before { content: "✦"; color: var(--amber); margin-right: .5rem; }
.hero-art { position: relative; min-height: 480px; display: grid; place-items: center; }
.hero-art .orb { position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, rgba(255,184,0,.55), rgba(201,162,75,.15) 55%, transparent 70%); filter: blur(6px); animation: breathe 8s ease-in-out infinite; }
.hero-card { position: absolute; width: 190px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16); backdrop-filter: blur(10px); border-radius: 22px; padding: 1rem; text-align: center; box-shadow: 0 30px 60px -25px rgba(0,0,0,.7); animation: floaty 7s ease-in-out infinite; }
.hero-card svg { width: 100%; height: 130px; }
.hero-card b { display: block; font-size: .85rem; margin-top: .4rem; }
.hero-card span { font-size: .75rem; color: #c9d0e0; }
.hero-card:nth-child(2) { left: 0; top: 0; animation-delay: -1s; transform: rotate(-5deg); }
.hero-card:nth-child(3) { right: 0; top: 18%; animation-delay: -3s; transform: rotate(4deg); width: 210px; }
.hero-card:nth-child(4) { left: 24%; bottom: 0; animation-delay: -5s; transform: rotate(2deg); }
@keyframes floaty { 0%,100% { translate: 0 0; } 50% { translate: 0 -14px; } }
@keyframes breathe { 0%,100% { scale: 1; opacity: .8; } 50% { scale: 1.1; opacity: 1; } }
@media (max-width: 860px) { .hero-in { grid-template-columns: 1fr; gap: 1.5rem; } .hero-art { min-height: 250px; } .hero-art .orb { width: 240px; height: 240px; } .hero-card { width: 118px; padding: .55rem; border-radius: 16px; } .hero-card svg { height: 70px; } .hero-card b { font-size: .7rem; } .hero-card span { font-size: .65rem; } .hero-card:nth-child(2) { left: 0; top: 6%; } .hero-card:nth-child(3) { right: 0; top: 0; width: 128px; } .hero-card:nth-child(4) { left: 31%; bottom: 0; } .topbar { font-size: .72rem; } .tb-extra { display: none; } }

/* Catégories */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 1rem; }
.cat-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 250px; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: #fff; padding: 1.3rem; background: var(--ink); isolation: isolate; transition: transform .35s, box-shadow .35s; }
.cat-tile:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -28px rgba(13,21,39,.6); }
.cat-tile .art { position: absolute; inset: 0; z-index: -1; display: grid; place-items: center; transition: transform .5s; }
.cat-tile:hover .art { transform: scale(1.08) rotate(-3deg); }
.cat-tile .art svg { width: 62%; opacity: .95; }
.cat-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(13,21,39,.85), transparent 60%); }
.cat-tile h3 { font-size: 1.7rem; } .cat-tile span { font-size: .85rem; opacity: .85; }

/* Cartes produit */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.5rem 1.2rem; }
.product { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s, border-color .3s; }
.product:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -28px rgba(13,21,39,.4); border-color: var(--gold); }
.product.is-hidden { display: none; }
.p-media { position: relative; aspect-ratio: 1 / 1; background: var(--sand); display: grid; place-items: center; overflow: hidden; border: 0; width: 100%; padding: 0; }
.p-media svg, .p-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.product:hover .p-media svg, .product:hover .p-media img { transform: scale(1.06); }
.p-badge { position: absolute; top: .8rem; left: .8rem; background: var(--ink); color: var(--amber); font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .7rem; border-radius: 99px; }
.p-badge.promo { background: var(--amber); color: var(--ink); }
.p-body { display: flex; flex-direction: column; gap: .25rem; padding: 1rem 1.1rem 1.2rem; flex: 1; }
.p-cat { font-size: .72rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.p-name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 600; line-height: 1.15; margin: 0; }
.p-name button { all: unset; cursor: pointer; } .p-name button:hover { text-decoration: underline; text-decoration-color: var(--gold); }
.p-price { display: flex; align-items: baseline; gap: .6rem; font-weight: 800; margin-top: .3rem; }
.p-price s { font-weight: 500; font-size: .85rem; color: var(--muted); }
.p-actions { display: grid; grid-template-columns: 1fr auto; gap: .5rem; margin-top: auto; padding-top: .9rem; }
.p-actions .btn { padding: .7rem 1rem; font-size: .9rem; }
.btn-icon { width: 46px; padding: 0; border-radius: 50%; background: var(--sand); color: var(--ink); }
.btn-icon:hover { background: var(--ink); color: #fff; }

/* Boutique : filtres */
.page-hero { background: var(--ink); color: #fff; padding: clamp(2.5rem, 6vw, 4.5rem) 0; position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(40rem 20rem at 90% 0%, rgba(201,162,75,.3), transparent 60%); }
.page-hero .lead { color: #c9d0e0; }
.toolbar { position: sticky; top: var(--header-h); z-index: 30; background: rgba(250,247,242,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); padding: .8rem 0; }
.toolbar-in { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: center; justify-content: space-between; }
.chips { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1.5px solid var(--line); background: #fff; border-radius: 99px; padding: .55rem 1.1rem; font-weight: 700; font-size: .9rem; transition: all .2s; }
.chip:hover { border-color: var(--gold); }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--amber); border-color: var(--ink); }
.tools { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; }
.field { border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: .6rem .9rem; min-width: 0; }
.field:focus { border-color: var(--green); outline: none; box-shadow: 0 0 0 4px rgba(16,185,129,.15); }
.count { font-size: .85rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.empty { text-align: center; padding: 4rem 1rem; } .empty[hidden] { display: none; }

/* Atouts / étapes */
.perks { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; }
.perk { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; transition: transform .3s, border-color .3s; }
.perk:hover { transform: translateY(-5px); border-color: var(--gold); }
.perk .ic { width: 52px; height: 52px; display: grid; place-items: center; border-radius: 16px; background: var(--sand); font-size: 1.5rem; margin-bottom: 1rem; }
.perk h3 { font-size: 1.4rem; margin-bottom: .4rem; } .perk p { color: var(--muted); font-size: .98rem; margin: 0; }
.dark { background: var(--ink); color: #fff; } .dark .lead { color: #c9d0e0; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; counter-reset: s; }
.step { position: relative; padding: 1.8rem 1.5rem; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); background: rgba(255,255,255,.04); }
.step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--amber); color: var(--ink); font-weight: 800; margin-bottom: 1rem; font-family: var(--font-display); font-size: 1.4rem; }
.step h3 { font-size: 1.5rem; margin-bottom: .4rem; } .step p { color: #c9d0e0; margin: 0; font-size: .98rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 1.1rem 1.3rem; margin-bottom: .7rem; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--gold); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .8rem 0 0; color: var(--muted); }
.cta-band { background: linear-gradient(135deg, var(--ink), #1d2a4a); color: #fff; border-radius: 28px; padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem; text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; width: 400px; height: 400px; right: -80px; top: -120px; background: radial-gradient(circle, rgba(255,184,0,.35), transparent 70%); }
.cta-band > * { position: relative; } .cta-band p { color: #c9d0e0; max-width: 52ch; margin: 1rem auto 1.8rem; }

/* Pied de page */
.site-footer { background: var(--ink); color: #c9d0e0; padding: 4rem 0 6rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2.5rem; }
.site-footer h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .16em; margin: 0 0 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.site-footer a { text-decoration: none; } .site-footer a:hover { color: var(--amber); }
.site-footer .brand-name { color: #fff; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .6rem; font-size: .85rem; color: #8e98b0; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

/* Tiroirs : panier & fiche produit (éléments <dialog>) */
dialog { border: 0; padding: 0; color: var(--ink); background: var(--ivory); }
dialog::backdrop { background: rgba(13,21,39,.6); backdrop-filter: blur(3px); }
.cart-drawer { margin: 0 0 0 auto; height: 100dvh; max-height: 100dvh; width: min(440px, 100vw); display: none; flex-direction: column; box-shadow: -30px 0 60px -30px rgba(0,0,0,.5); }
.cart-drawer[open] { display: flex; animation: slideIn .3s ease; }
@keyframes slideIn { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.8rem; }
.x { width: 42px; height: 42px; border-radius: 50%; border: 0; background: var(--sand); font-size: 1.4rem; line-height: 1; }
.x:hover { background: var(--ink); color: #fff; }
.cart-items { flex: 1; overflow-y: auto; padding: 1rem 1.4rem; display: grid; align-content: start; gap: 1rem; }
.cart-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.ci { display: grid; grid-template-columns: 74px 1fr auto; gap: .9rem; align-items: center; }
.ci-media { width: 74px; height: 74px; border-radius: 14px; overflow: hidden; background: var(--sand); }
.ci-media svg, .ci-media img { width: 100%; height: 100%; object-fit: cover; }
.ci b { display: block; line-height: 1.25; } .ci small { color: var(--muted); }
.qty { display: inline-flex; align-items: center; gap: .4rem; margin-top: .4rem; }
.qty button { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font-weight: 800; line-height: 1; }
.qty button:hover { border-color: var(--gold); }
.ci-rm { border: 0; background: none; color: var(--muted); font-size: .8rem; text-decoration: underline; }
.drawer-foot { border-top: 1px solid var(--line); padding: 1.2rem 1.4rem 1.4rem; display: grid; gap: .8rem; background: #fff; }
.total { display: flex; justify-content: space-between; font-weight: 800; font-size: 1.15rem; }
.drawer-foot .field { width: 100%; }
.hint { font-size: .8rem; color: var(--muted); margin: 0; text-align: center; }
.quick { margin: auto; width: min(900px, calc(100vw - 1.5rem)); border-radius: 26px; overflow: hidden; max-height: 92dvh; }
.quick[open] { display: grid; grid-template-columns: 1fr 1fr; animation: pop .3s ease; }
@keyframes pop { from { transform: scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
.quick .q-media { background: var(--sand); aspect-ratio: 1; } .quick .q-media svg, .quick .q-media img { width: 100%; height: 100%; object-fit: cover; }
.quick .q-body { padding: 2rem; overflow-y: auto; display: flex; flex-direction: column; gap: .9rem; position: relative; }
.quick .x { position: absolute; top: .8rem; right: .8rem; }
.quick h2 { font-size: 2.3rem; } .q-price { font-size: 1.5rem; font-weight: 800; } .q-price s { font-size: 1rem; font-weight: 500; color: var(--muted); margin-left: .5rem; }
.q-opt label { display: block; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; margin-bottom: .4rem; }
.q-opt .opts { display: flex; flex-wrap: wrap; gap: .5rem; }
.q-opt .opts button { border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: .5rem .9rem; font-weight: 700; }
.q-opt .opts button[aria-pressed="true"] { background: var(--ink); color: var(--amber); border-color: var(--ink); }
@media (max-width: 720px) { .quick[open] { grid-template-columns: 1fr; overflow-y: auto; } .quick .q-media { aspect-ratio: 4/3; } }

/* WhatsApp flottant (mobile) + toast */
.wa-float { position: fixed; z-index: 55; right: 1rem; bottom: 1rem; display: none; }
.wa-float .btn { box-shadow: 0 14px 34px -8px rgba(16,185,129,.9); padding: .9rem 1.3rem; }
@media (max-width: 700px) { .wa-float { display: block; left: 1rem; } .wa-float .btn { width: 100%; } }
.toast { position: fixed; left: 50%; bottom: 5.5rem; translate: -50% 20px; background: var(--ink); color: #fff; padding: .7rem 1.2rem; border-radius: 99px; font-weight: 700; font-size: .9rem; opacity: 0; pointer-events: none; transition: all .3s; z-index: 300; }
.toast.show { opacity: 1; translate: -50% 0; }

/* Apparition */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } .reveal { opacity: 1; transform: none; } }

[hidden] { display: none !important; }

/* Corrections : fiche rapide et barre d'outils mobile */
.quick[open] { grid-template-rows: minmax(0, 1fr); height: min(640px, 92dvh); }
.quick .q-media { aspect-ratio: auto; height: 100%; min-height: 0; }
.btn-block { white-space: normal; text-align: center; }
@media (max-width: 720px) { .quick[open] { grid-template-rows: 200px minmax(0, 1fr); height: 92dvh; } .quick .q-media { aspect-ratio: auto; } }
@media (max-width: 700px) { .toolbar { position: static; } }

/* Photos produit */
.hero-card img { width: 100%; height: 130px; object-fit: cover; border-radius: 14px; }
.ci-media img, .p-media img { background: #fff; }
.from { font-size: .75rem; font-weight: 600; color: var(--muted); }
.quick .q-media { display: flex; flex-direction: column; }
.q-main { flex: 1; min-height: 0; }
.q-main svg, .q-main img { width: 100%; height: 100%; object-fit: cover; }
.q-thumbs { display: flex; gap: .5rem; padding: .6rem; background: var(--sand); }
.q-thumbs button { width: 64px; height: 64px; padding: 0; border-radius: 10px; border: 2px solid transparent; overflow: hidden; background: #fff; }
.q-thumbs button[aria-pressed="true"] { border-color: var(--gold); }
.q-thumbs img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .hero-card img { height: 70px; } }

/* Bouton d'appel */
.btn-call { background: var(--ink); color: #fff; box-shadow: 0 10px 26px -10px rgba(13,21,39,.8); }
.btn-call:hover { background: var(--ink-2); }
.cta-band .btn + .btn { margin-top: .5rem; }
@media (max-width: 700px) { .wa-float { display: flex; gap: .5rem; } .wa-float .btn-call { flex: none; width: 56px; padding: 0; } .wa-float .btn-wa { flex: 1; } }
