/* =========================================================
   Boutique de tableaux — design
   Couleurs principales : modifiez les variables ci-dessous
   ========================================================= */
:root {
  --ink: #161412;
  --ink-2: #3b3631;
  --muted: #7a726a;
  --paper: #fbf9f6;
  --sand: #f3eee7;
  --line: #e7e0d6;
  --gold: #a8823c;
  --gold-2: #c9a45c;
  --accent: #b4532a;
  --green: #1f8a4c;
  --wa: #25d366;
  --radius: 14px;
  --shadow: 0 10px 30px -12px rgba(22, 20, 18, .25);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--paper); font-size: 15.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
/* protection des tableaux : pas de glisser-déposer, pas de menu « Enregistrer l'image » (appui long mobile) */
img, .detail-img, .stage, .hc { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; -webkit-touch-callout: none; }
.pcard img, .view-photo img, .thumb img, .room-card img, .theme-card img, .stage img { pointer-events: none; }

/* barre d'administration (visible uniquement quand l'admin est connecté) */
.adminbar { display: flex; align-items: center; gap: 6px; padding: 7px 12px; background: #1d2327; color: #f0f0f1; font-size: 13.5px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; position: relative; z-index: 70; }
.adminbar::-webkit-scrollbar { display: none; }
.adminbar form { margin: 0; display: inline-flex; }
.adminbar a, .adminbar button { color: #f0f0f1; background: rgba(255,255,255,.09); border: 0; border-radius: 7px; padding: 6px 11px; font-size: 13.5px; line-height: 1.25; display: inline-flex; align-items: center; gap: 5px; text-decoration: none; }
.adminbar a:hover, .adminbar button:hover { background: rgba(255,255,255,.2); }
.adminbar .ab-brand { background: #c9a35c; color: #1d2327; font-weight: 700; }
.adminbar .ab-del { background: rgba(214,54,56,.35); }
.adminbar .ab-del:hover { background: #d63638; }
.adminbar .ab-warn { background: #d63638; color: #fff; padding: 6px 11px; border-radius: 7px; font-weight: 700; }
.adminbar .ab-msg { color: #9fe0a8; padding: 0 6px; font-weight: 600; }
.adminbar .ab-out { margin-left: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.1; margin: 0 0 .4em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.container { width: min(1320px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 32px); }
.muted { color: var(--muted); }
.small { font-size: .85rem; }
.center { text-align: center; }
.green { color: var(--green); }
.spacer { height: 70px; }
.only-mobile { display: none !important; }
.ico { flex-shrink: 0; }

.eyebrow { display: inline-block; font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: .7rem; }
.eyebrow.light { color: #f0d9a8; }

/* ---------- boutons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; background: var(--ink); color: #fff; border: 1.5px solid var(--ink); padding: .8rem 1.4rem; border-radius: 999px; font-weight: 700; font-size: .95rem; transition: transform .15s, background .2s, box-shadow .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-lg { padding: 1rem 1.8rem; font-size: 1rem; }
.btn-sm { padding: .5rem 1rem; font-size: .85rem; }
.btn-block { width: 100%; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-dark { background: var(--ink-2); border-color: var(--ink-2); }
.btn-wa { background: var(--wa); border-color: var(--wa); color: #fff; }
.btn-wa:hover { background: #1fbe5a; }
.btn:disabled { opacity: .55; cursor: wait; transform: none; }
.link-btn { display: block; text-align: center; margin-top: .6rem; color: var(--muted); text-decoration: underline; font-size: .9rem; background: none; border: 0; }
.link-arrow { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }
.icon-btn { background: none; border: 0; padding: 8px; display: inline-flex; position: relative; border-radius: 10px; }
.icon-btn:hover { background: var(--sand); }

/* ---------- barre défilante ---------- */
.topbar { background: var(--ink); color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; overflow: hidden; }
.marquee { overflow: hidden; white-space: nowrap; padding: 9px 0; }
.marquee-track { display: inline-flex; gap: 2.2rem; animation: marquee 45s linear infinite; padding-left: 2rem; }
.marquee-track i { color: var(--gold-2); font-style: normal; }
.topbar:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: rgba(251, 249, 246, .92); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 1.6rem; height: 74px; }
.logo { display: flex; align-items: center; gap: .55rem; font-family: var(--serif); font-size: 1.65rem; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.logo img { max-height: 46px; width: auto; }
.logo-mark { width: 34px; height: 34px; border-radius: 8px; background: var(--ink); color: var(--gold-2); display: grid; place-items: center; font-size: 1.1rem; }
.logo.light { color: #fff; }
.logo.light .logo-mark { background: #fff; color: var(--ink); }
.nav { display: flex; align-items: center; gap: 1.25rem; font-size: .92rem; font-weight: 600; }
.nav > a, .nav-item > a { padding: 25px 0; position: relative; white-space: nowrap; }
.nav > a::after, .nav-item > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 18px; height: 2px; background: var(--ink); transform: scaleX(0); transition: transform .2s; }
.nav > a:hover::after, .nav-item:hover > a::after { transform: scaleX(1); }
.nav a.accent { color: var(--accent); }
.caret { font-size: .7em; }
.mega { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 30px 50px -30px rgba(0,0,0,.3); display: grid; grid-template-columns: 1fr 2fr 1fr; gap: 2.5rem; padding: 2rem max(16px, calc((100vw - 1320px) / 2)); opacity: 0; visibility: hidden; transform: translateY(6px); transition: .2s; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.mega h4 { margin: 0 0 .8rem; font-size: .75rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.mega-col a { display: block; padding: .3rem 0; font-weight: 500; color: var(--ink-2); }
.mega-col a:hover { color: var(--ink); text-decoration: underline; }
.mega-grid { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 1.5rem; }
.mega-promo { background: var(--sand); border-radius: var(--radius); padding: 1.4rem; }
.mega-promo strong { display: block; font-family: var(--serif); font-size: 1.5rem; margin-bottom: .4rem; }
.mega-promo p { font-size: .9rem; color: var(--muted); font-weight: 500; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: .6rem; }
.search { display: flex; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 0 .3rem 0 1rem; height: 42px; }
.search input { border: 0; outline: 0; background: none; width: 180px; font: inherit; font-size: .9rem; }
.search button { background: none; border: 0; padding: 8px; display: flex; }
.phone-pill { display: flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .9rem; padding: .55rem .9rem; border-radius: 999px; background: var(--sand); white-space: nowrap; }
.cart-count { position: absolute; top: 0; right: 0; background: var(--accent); color: #fff; font-size: .68rem; font-weight: 800; min-width: 18px; height: 18px; border-radius: 9px; display: grid; place-items: center; padding: 0 4px; }
.cart-count.bump { animation: bump .4s; }
@keyframes bump { 50% { transform: scale(1.35); } }

/* ---------- tiroirs (menu mobile + panier) ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(15, 12, 10, .45); opacity: 0; visibility: hidden; transition: .25s; z-index: 90; }
.drawer-backdrop.show { opacity: 1; visibility: visible; }
.mobile-menu, .cart-drawer { position: fixed; top: 0; bottom: 0; width: min(420px, 92vw); background: var(--paper); z-index: 100; transition: transform .3s cubic-bezier(.2, .8, .2, 1); display: flex; flex-direction: column; overflow-y: auto; }
.mobile-menu { left: 0; transform: translateX(-100%); padding: 1rem 1.2rem 2rem; }
.cart-drawer { right: 0; transform: translateX(100%); }
.mobile-menu.open, .cart-drawer.open { transform: none; }
.mm-head, .cd-head { display: flex; align-items: center; justify-content: space-between; font-size: 1.1rem; }
.cd-head { padding: 1rem 1.2rem; border-bottom: 1px solid var(--line); }
.mm-search { margin: 1rem 0; }
.mm-search input { width: 100%; }
.mm-link { display: block; padding: .7rem 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.mm-link.strong { font-size: 1.05rem; }
.mobile-menu h5 { margin: 1.2rem 0 .6rem; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.mm-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: .6rem; }
.mm-chips a { padding: .4rem .8rem; border: 1px solid var(--line); border-radius: 999px; font-size: .85rem; font-weight: 600; background: #fff; }
.mm-call { margin-top: 1.2rem; }
.cd-free { display: flex; align-items: center; gap: .5rem; background: #eaf6ee; color: var(--green); font-size: .88rem; padding: .7rem 1.2rem; }
.cd-items { flex: 1; overflow-y: auto; padding: .5rem 1.2rem; }
.cd-foot { border-top: 1px solid var(--line); padding: 1rem 1.2rem 1.4rem; background: #fff; }
.cd-total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .8rem; font-size: 1.05rem; }
.cd-total strong { font-size: 1.4rem; }
.ci { display: grid; grid-template-columns: 64px 1fr auto; gap: .8rem; align-items: center; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.ci img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.ci b { display: block; font-size: .92rem; line-height: 1.3; }
.ci small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.ci-actions { display: flex; align-items: center; gap: .4rem; margin-top: .35rem; }
.ci-actions button { border: 1px solid var(--line); background: #fff; border-radius: 6px; width: 26px; height: 26px; display: grid; place-items: center; padding: 0; }
.ci-actions .rm { border: 0; color: var(--muted); width: auto; padding: 0 4px; font-size: .8rem; text-decoration: underline; }
.cd-empty { text-align: center; padding: 3rem 1rem; color: var(--muted); }

/* ---------- HERO ---------- */
.hero { position: relative; min-height: min(86vh, 760px); display: flex; align-items: center; color: #fff; overflow: hidden; background: #1c1814; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-collage { position: absolute; inset: -4%; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: repeat(2, 1fr); gap: 14px; transform: rotate(-4deg) scale(1.08); animation: drift 40s ease-in-out infinite alternate; }
.hc { background-size: cover; background-position: center; border-radius: 6px; box-shadow: 0 20px 40px rgba(0,0,0,.4); }
.hc-1 { grid-column: 1 / 3; grid-row: 1 / 3; } .hc-2 { grid-column: 3 / 4; } .hc-3 { grid-column: 4 / 6; } .hc-4 { grid-column: 6 / 7; grid-row: 1 / 3; } .hc-5 { grid-column: 3 / 5; grid-row: 2; } .hc-6 { grid-column: 5 / 6; grid-row: 2; }
@keyframes drift { to { transform: rotate(-4deg) scale(1.16) translateX(-3%); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14,11,9,.88) 0%, rgba(14,11,9,.6) 45%, rgba(14,11,9,.15) 100%); }
.hero-content { position: relative; padding: 5rem 0; max-width: 1320px; }
.hero-content h1 { max-width: 14ch; font-size: clamp(2.6rem, 6vw, 5rem); }
.hero-content p { max-width: 52ch; font-size: 1.1rem; color: rgba(255,255,255,.85); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 1.4rem; font-size: .9rem; font-weight: 600; color: rgba(255,255,255,.9); }
.hero-points li { display: flex; align-items: center; gap: .45rem; }

/* ---------- sections ---------- */
.section { padding: 80px 0; }
.section-alt { background: var(--sand); }
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 2rem; }
.section-head.center { justify-content: center; text-align: center; }
.section-head h2 { margin: 0; }
.section-head p { margin: .6rem 0 0; }

.rooms-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: thin; }
.room-card { scroll-snap-align: start; border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.room-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.room-img { aspect-ratio: 4 / 5; background-size: cover; background-position: center; background-color: var(--sand); }
.room-info { padding: .9rem 1rem; display: flex; justify-content: space-between; align-items: baseline; }
.room-info strong { font-family: var(--serif); font-size: 1.3rem; }
.room-info span { font-size: .8rem; color: var(--muted); }

/* ---------- carte produit ---------- */
.grid-products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px 20px; }
.pcard { display: block; }
.pcard-media { position: relative; aspect-ratio: 4 / 5; background: linear-gradient(180deg, #efe9e1, #e6ded3); border-radius: 10px; overflow: hidden; display: grid; place-items: center; }
.pcard-media img { position: absolute; width: 74%; height: auto; max-height: 78%; object-fit: contain; box-shadow: 6px 10px 22px rgba(30, 20, 10, .35), 1px 1px 0 rgba(0,0,0,.05); transition: transform .45s, opacity .45s; }
.pcard-media.paysage img { width: 84%; max-height: 66%; }
.pcard-media.carre img { width: 72%; }
.pcard-media img.alt { opacity: 0; }
/* vue « toile 3D posée contre le mur » : la photo occupe toute la carte */
.pcard-media.mock { background: #f1f0ed; }
.pcard-media.mock img { inset: 0; width: 100%; height: 100%; max-height: none; object-fit: cover; box-shadow: none; }
.pcard:hover .pcard-media.mock img { transform: scale(1.035); }
.pcard:hover .pcard-media img { transform: scale(1.04); }
.pcard:hover .pcard-media img.alt { opacity: 1; }
.pcard-cta { position: absolute; left: 12px; right: 12px; bottom: 12px; background: rgba(255,255,255,.95); text-align: center; font-weight: 700; font-size: .85rem; padding: .6rem; border-radius: 999px; transform: translateY(140%); transition: transform .25s; }
.pcard:hover .pcard-cta { transform: none; }
.badge { position: absolute; top: 12px; left: 12px; background: var(--ink); color: #fff; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .6rem; border-radius: 6px; z-index: 2; }
.badge.sale { background: var(--accent); }
.badge.static { position: static; display: inline-block; margin-bottom: .8rem; }
.pcard-body { padding: .8rem .2rem 0; }
.pcard-body h3 { font-family: var(--sans); font-size: .98rem; font-weight: 700; margin: 0 0 .2rem; letter-spacing: 0; line-height: 1.35; }
.price { display: flex; align-items: baseline; gap: .4rem; font-size: .95rem; }
.price .from { color: var(--muted); font-size: .8rem; }
.price s { color: var(--muted); font-size: .85rem; }

/* ---------- thèmes ---------- */
.themes-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; grid-auto-rows: 240px; }
.themes-grid.cols-4 { grid-auto-rows: 260px; margin-bottom: 2rem; }
.theme-card { position: relative; border-radius: var(--radius); overflow: hidden; background: #2a241f; }
.theme-card.big { grid-row: span 2; }
.theme-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; opacity: .92; }
.theme-card:hover img { transform: scale(1.06); }
.theme-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10,8,6,.8)); }
.theme-info { position: absolute; left: 18px; right: 18px; bottom: 16px; color: #fff; z-index: 1; }
.theme-info strong { display: block; font-family: var(--serif); font-size: 1.6rem; line-height: 1.1; }
.theme-info span { font-size: .85rem; opacity: .85; }

/* ---------- guide des tailles ---------- */
.size-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; }
.size-chips { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; margin-top: 1.5rem; }
.size-chip { border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: .8rem; display: flex; flex-direction: column; }
.size-chip b { font-size: 1.1rem; }
.size-chip span { font-size: .85rem; color: var(--ink-2); }
.size-chip em { font-style: normal; font-size: .78rem; color: var(--gold); font-weight: 700; }
.size-chip.custom { background: var(--ink); color: #fff; border-color: var(--ink); }
.size-chip.custom span { color: #fff; }
.sv-wall { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.sv-wall img { position: absolute; inset: 0; width: 100%; height: 100%; }
.sv-frame { position: absolute; border: 2px dashed rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .05); }
.sv-frame span { position: absolute; left: 4px; top: 3px; color: #fff; font-weight: 800; font-size: .72rem; line-height: 1; text-shadow: 0 1px 3px rgba(0,0,0,.5); }
/* ---------- bannière sur mesure ---------- */
.custom-banner { background: linear-gradient(120deg, #1c1814, #3a2a1e); color: #fff; border-radius: 22px; padding: clamp(2rem, 5vw, 4rem); position: relative; overflow: hidden; }
.custom-banner::after { content: "◧"; position: absolute; right: -2rem; bottom: -5rem; font-size: 22rem; color: rgba(201, 164, 92, .12); line-height: 1; }
.custom-banner > div { max-width: 640px; position: relative; z-index: 1; }
.custom-banner p { color: rgba(255,255,255,.82); }

/* ---------- engagements ---------- */
.reviews { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; }
.review-ico { width: 52px; height: 52px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; color: var(--gold); margin-bottom: 1rem; }
.review-title { display: block; font-family: var(--serif); font-size: 1.35rem; margin-bottom: .4rem; }
.review blockquote { margin: 0; color: var(--ink-2); font-size: .93rem; }

/* ---------- FAQ ---------- */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 3rem; }
.faq details, .tabs details { border-bottom: 1px solid var(--line); }
.faq summary, .tabs summary { list-style: none; cursor: pointer; padding: 1.1rem 0; font-weight: 700; display: flex; justify-content: space-between; gap: 1rem; }
.faq summary::-webkit-details-marker, .tabs summary::-webkit-details-marker { display: none; }
.faq summary::after, .tabs summary::after { content: "+"; font-size: 1.3rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after, .tabs details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--ink-2); }

/* ---------- réassurance + footer ---------- */
.reassurance { border-top: 1px solid var(--line); background: #fff; }
.reassurance-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 2.2rem 0; }
.reassurance-grid > div { display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; align-items: center; }
.reassurance-grid svg { grid-row: span 2; color: var(--gold); }
.reassurance-grid strong { font-size: .95rem; }
.reassurance-grid span { font-size: .84rem; color: var(--muted); }
.footer { background: #141210; color: rgba(255,255,255,.75); padding: 4rem 0 1.5rem; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
.footer h4 { color: #fff; margin: 0 0 1rem; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; }
.footer-grid a { display: block; padding: .22rem 0; }
.footer-grid a:hover { color: #fff; }
.footer-brand p { margin: 1rem 0; max-width: 36ch; }
.footer-phone { display: inline-flex !important; align-items: center; gap: .5rem; color: #fff; font-size: 1.3rem; font-weight: 800; }
.socials { display: flex; gap: .6rem; margin-top: 1rem; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255,255,255,.2); display: grid !important; place-items: center; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; border-top: 1px solid rgba(255,255,255,.1); margin-top: 3rem; padding-top: 1.4rem; font-size: .8rem; }

/* ---------- WhatsApp flottant + toast ---------- */
.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 80; background: var(--wa); color: #fff; border-radius: 999px; display: flex; align-items: center; gap: .5rem; padding: 12px; box-shadow: 0 10px 30px rgba(37, 211, 102, .45); font-weight: 700; font-size: .9rem; animation: wa-pulse 2.5s infinite; }
.wa-float span { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .3s, padding .3s; }
.wa-float:hover span { max-width: 160px; padding-right: .4rem; }
@keyframes wa-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,.5); } 50% { box-shadow: 0 0 0 12px rgba(37,211,102,0); } }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 200px); visibility: hidden; background: var(--ink); color: #fff; padding: .85rem 1.3rem; border-radius: 12px; z-index: 120; font-weight: 600; transition: transform .3s; max-width: 92vw; }
.toast.show { transform: translate(-50%, 0); visibility: visible; }

/* ---------- page liste ---------- */
.page-hero { padding: 3.2rem 0 2.2rem; background: var(--sand); margin-bottom: 1.5rem; position: relative; overflow: hidden; }
.page-hero.with-img { color: #fff; background: #1c1814; }
.page-hero.with-img::before { content: ""; position: absolute; inset: 0; background: var(--bg) center / cover; opacity: .35; filter: blur(2px); transform: scale(1.05); }
.page-hero > .container { position: relative; }
.page-hero p { max-width: 62ch; margin: 0; opacity: .85; }
.seo-text { max-width: 72ch; margin: 3.5rem 0 0; padding-top: 2rem; border-top: 1px solid var(--line); }
.seo-text.wide { max-width: 80ch; margin: 0 auto; }
.seo-text h2 { font-size: 1.6rem; margin: 1.6rem 0 .7rem; }
.seo-text h2:first-child { margin-top: 0; }
.seo-text h3 { font-size: 1.25rem; margin: 1.3rem 0 .5rem; }
.seo-text p { color: var(--ink-2); line-height: 1.75; margin: 0 0 .9rem; }
.seo-text .faq { margin-top: .4rem; }
.seo-text .faq details p { margin: 0 0 1rem; }
.crumbs { font-size: .82rem; color: var(--muted); margin-bottom: .8rem; }
.page-hero.with-img .crumbs { color: rgba(255,255,255,.7); }
.crumbs a:hover { text-decoration: underline; }
.crumbs.pad { padding: 1.2rem 0; margin: 0; }
.chips-scroll { display: flex; gap: .5rem; overflow-x: auto; padding: .2rem 0 1rem; scrollbar-width: none; }
.chips-scroll::-webkit-scrollbar { display: none; }
.chip { display: inline-block; white-space: nowrap; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 600; font-size: .86rem; }
.chip.active, .chip:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .8rem 0 1.4rem; flex-wrap: wrap; }
.toolbar-right { display: flex; gap: 1rem; }
.toolbar label { font-size: .85rem; font-weight: 600; display: flex; align-items: center; gap: .5rem; }
.toolbar select { font: inherit; padding: .5rem .8rem; border-radius: 10px; border: 1px solid var(--line); background: #fff; }
.empty { text-align: center; padding: 4rem 1rem; }
.h-sub { margin: 2rem 0 1rem; }

/* ---------- page produit ---------- */
.pp { display: grid; grid-template-columns: 1.15fr 1fr; gap: 3rem; align-items: start; }
.pp > *, .checkout > *, .size-wrap > *, .faq-wrap > * { min-width: 0; }
.pp-media { position: sticky; top: 90px; }
.viewer { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.view { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .35s; }
.viewer[data-mode="room"] .view-room, .viewer[data-mode="photo"] .view-photo, .viewer[data-mode="detail"] .view-detail, .viewer[data-mode="mock"] .view-mock { opacity: 1; visibility: visible; }
.view-mock { background: #f1f0ed; }
.view-mock img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.viewer[data-mode="mock"] .viewer-tag { display: none; }
.view-photo { display: grid; place-items: center; background: linear-gradient(180deg, #efe9e1, #e3dacd); }
.view-photo img { max-width: 86%; max-height: 86%; object-fit: contain; box-shadow: 10px 16px 34px rgba(30,20,10,.35); }
.view-detail { overflow: hidden; }
.detail-img { position: absolute; inset: -60%; background-size: cover; background-position: center; transform: scale(1); }
.detail-img::after { content: ""; position: absolute; inset: 0; background-image: repeating-linear-gradient(0deg, rgba(255,255,255,.06) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, rgba(0,0,0,.06) 0 1px, transparent 1px 3px); }
.detail-label { position: absolute; left: 14px; bottom: 14px; background: rgba(255,255,255,.92); padding: .35rem .7rem; border-radius: 999px; font-size: .78rem; font-weight: 700; }

/* scène "dans la pièce" */
.view-room { overflow: hidden; background: #e9e4dc; }
.stage { position: absolute; left: 0; top: 0; transform-origin: 0 0; transition: transform .6s cubic-bezier(.2, .8, .2, 1); }
.stage-bg { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; user-select: none; pointer-events: none; }
.room-art { position: absolute; transition: left .55s cubic-bezier(.2, .8, .2, 1), top .55s cubic-bezier(.2, .8, .2, 1), width .55s cubic-bezier(.2, .8, .2, 1), height .55s cubic-bezier(.2, .8, .2, 1); display: flex; gap: var(--gap, 0); }
.room-note { position: absolute; right: 12px; bottom: 12px; background: rgba(22,20,18,.82); color: #fff; font-size: .72rem; font-weight: 700; padding: .3rem .7rem; border-radius: 999px; }
.scene-picker { display: flex; align-items: center; gap: 8px; margin-top: 10px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.scene-picker::-webkit-scrollbar { display: none; }
.scene-picker > span { font-size: .78rem; font-weight: 700; color: var(--muted); white-space: nowrap; }
.scene-btn { flex-shrink: 0; display: flex; flex-direction: column; align-items: center; gap: 3px; background: none; border: 0; padding: 0; }
.scene-btn img { width: 64px; height: 46px; object-fit: cover; border-radius: 8px; border: 2px solid transparent; }
.scene-btn small { font-size: .66rem; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.scene-btn.active img { border-color: var(--ink); }
.viewer:not([data-mode="room"]) ~ .thumbs ~ .scene-picker { opacity: .55; }
.room-art .panel { flex: 1; height: 100%; background-size: var(--bgw) 100%; background-repeat: no-repeat; position: relative; }
.room-art .panel::after { content: ""; position: absolute; inset: 0; box-shadow: inset -3px 0 4px -2px rgba(0,0,0,.25), inset 3px 0 4px -2px rgba(255,255,255,.2); }
.room-art.f-cadre .panel { outline: var(--fw, 4px) solid var(--fc, #1b1b1b); outline-offset: var(--fo, 2px); }
.room-art.f-plexi .panel::before { content: ""; position: absolute; inset: 0; background: linear-gradient(125deg, rgba(255,255,255,.35) 0%, rgba(255,255,255,0) 35%, rgba(255,255,255,0) 70%, rgba(255,255,255,.12) 100%); z-index: 1; }
.room-art.f-alu .panel::after { box-shadow: none; }
.room-dim { position: absolute; font-weight: 800; color: var(--ink-2); background: rgba(255,255,255,.9); padding: .2em .65em; border-radius: 999px; transition: left .55s, top .55s; white-space: nowrap; line-height: 1.3; box-shadow: 0 .2em .6em rgba(0,0,0,.12); }
.viewer-tag { position: absolute; top: 14px; left: 14px; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 700; padding: .35rem .75rem; border-radius: 999px; z-index: 3; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; }
.thumb { width: 82px; height: 82px; flex-shrink: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--sand); padding: 0; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb.active { border-color: var(--ink); }
.thumb-room { display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%; gap: 4px; }
.thumb-room small { font-size: .66rem; font-weight: 700; line-height: 1.1; }

.pp-info h1 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin-bottom: .3rem; }
.pp-short { color: var(--ink-2); }
.pp-price { display: flex; align-items: baseline; gap: .7rem; margin: .4rem 0 .3rem; flex-wrap: wrap; }
.pp-price strong { font-size: 2rem; font-weight: 800; }
.pp-price s { color: var(--muted); font-size: 1.1rem; }
.save { background: #fbe9e1; color: var(--accent); font-weight: 800; font-size: .8rem; padding: .2rem .55rem; border-radius: 6px; }
.save:empty { display: none; }
.pp-ship { display: flex; align-items: center; gap: .45rem; color: var(--green); font-size: .9rem; font-weight: 600; }
.opt { margin: 1.5rem 0; }
.opt-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .7rem; font-weight: 800; font-size: .92rem; }
.opt-head b { font-weight: 600; color: var(--muted); font-size: .85rem; }
.sizes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.size-btn { border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: .65rem .4rem; display: flex; flex-direction: column; align-items: center; line-height: 1.25; transition: .15s; }
.size-btn b { font-size: 1.05rem; }
.size-btn span { font-size: .76rem; color: var(--ink-2); }
.size-btn em { font-style: normal; font-size: .76rem; font-weight: 700; color: var(--gold); }
.size-btn:hover { border-color: var(--ink-2); }
.size-btn.active { border-color: var(--ink); background: var(--ink); color: #fff; }
.size-btn.active span, .size-btn.active em { color: #fff; }
.custom-dims { display: flex; align-items: flex-end; gap: .6rem; flex-wrap: wrap; margin-top: .8rem; background: var(--sand); padding: 1rem; border-radius: 12px; }
.custom-dims label { display: flex; flex-direction: column; font-size: .8rem; font-weight: 700; gap: .3rem; }
.custom-dims input { width: 110px; padding: .6rem .7rem; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-weight: 700; font-size: 1rem; }
.custom-dims .x { font-size: 1.3rem; padding-bottom: .5rem; }
.custom-dims .hint { width: 100%; margin: 0; font-size: .8rem; color: var(--muted); }
.custom-dims .hint.err { color: var(--accent); font-weight: 700; }
.finishes { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.finish-btn { display: flex; align-items: center; gap: .7rem; text-align: left; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: .7rem; transition: .15s; }
.finish-btn.active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.fin-swatch { width: 34px; height: 34px; border-radius: 6px; flex-shrink: 0; background: linear-gradient(135deg, #d9c7a7, #a37f4f); }
.fin-cadre { box-shadow: inset 0 0 0 4px #1b1b1b, inset 0 0 0 6px #fff; }
.fin-plexi { background: linear-gradient(135deg, #8fc6e8, #3d6fa0); box-shadow: inset 6px 6px 10px rgba(255,255,255,.6); }
.fin-alu { background: linear-gradient(135deg, #e6e8ea, #9aa1a8); }
.fin-txt { flex: 1; line-height: 1.25; }
.fin-txt b { display: block; font-size: .86rem; }
.fin-txt small { color: var(--muted); font-size: .72rem; }
.finish-btn em { font-style: normal; font-size: .75rem; font-weight: 800; color: var(--gold); }
.frames { display: flex; align-items: center; gap: .6rem; margin-top: .8rem; font-size: .85rem; font-weight: 600; }
.frame-sw { width: 30px; height: 30px; border-radius: 50%; background: var(--c); border: 2px solid #fff; box-shadow: 0 0 0 1.5px var(--line); padding: 0; }
.frame-sw.active { box-shadow: 0 0 0 2px var(--ink); }
.panels { display: flex; gap: 8px; flex-wrap: wrap; }
.panel-btn { display: flex; align-items: center; gap: .6rem; border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: .65rem .9rem; font-weight: 700; font-size: .88rem; }
.panel-btn em { font-style: normal; color: var(--gold); font-size: .78rem; }
.panel-btn.active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.pn-ico { display: flex; gap: 2px; }
.pn-ico i { width: 8px; height: 18px; background: var(--ink-2); border-radius: 1px; }
.buy { display: flex; gap: .7rem; margin: 1.6rem 0 .7rem; }
.grow { flex: 1; }
.qty { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; }
.qty button { background: none; border: 0; width: 42px; height: 100%; display: grid; place-items: center; }
.qty input { width: 38px; text-align: center; border: 0; font: inherit; font-weight: 800; -moz-appearance: textfield; background: none; }
.qty input::-webkit-inner-spin-button { display: none; }
#buyNow { margin-bottom: .7rem; }
.call-line { display: flex; align-items: center; justify-content: center; gap: .4rem; margin: .9rem 0 0; font-size: .9rem; }
.pp-trust { list-style: none; padding: 1.1rem; margin: 1.4rem 0; display: grid; grid-template-columns: 1fr 1fr; gap: .8rem; background: var(--sand); border-radius: 12px; font-size: .85rem; }
.pp-trust li { display: flex; align-items: center; gap: .55rem; }
.pp-trust svg { color: var(--gold); }
.trust-list { list-style: none; padding: 1.1rem 1.2rem; margin: 1.4rem 0; background: var(--sand); border-radius: 12px; display: grid; gap: .55rem; font-size: .9rem; font-weight: 600; }
.tabs { border-top: 1px solid var(--line); }
.rich h3 { font-family: var(--sans); font-size: 1rem; font-weight: 800; margin: 1.3rem 0 .6rem; letter-spacing: 0; }
.rich h3 + ul { list-style: none; padding: 0; }
.rich h3 + ul li { padding: .35rem 0; border-bottom: 1px dashed var(--line); }
.rich .ideal { font-weight: 700; color: var(--ink); }
.details-blocks { display: grid; gap: 1rem; }
.details-blocks h4 { margin: 0 0 .25rem; font-size: .95rem; color: var(--ink); }
.details-blocks p { margin: 0; }
.delivery-list { list-style: none; padding: 0 !important; }
.delivery-list li { padding: .4rem 0; }
.rich { color: var(--ink-2); }
.rich ul { padding-left: 1.2rem; }
.rich li { margin-bottom: .35rem; }
.pp-cols { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.2rem; }
.sticky-buy { display: none; }

/* ---------- panier / commande ---------- */
.page-title { margin: 2.4rem 0 1.4rem; }
.cart-page .ci { grid-template-columns: 96px 1fr auto; }
.cart-page .ci img { width: 96px; height: 96px; }
.cart-sum { margin-top: 1.4rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; }
.checkout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: start; }
.cod-note { display: flex; gap: .7rem; align-items: center; background: #eaf6ee; color: #155f35; padding: 1rem; border-radius: 12px; font-size: .92rem; }
.field { display: flex; flex-direction: column; gap: .35rem; font-weight: 700; font-size: .88rem; margin-bottom: 1rem; }
.field input, .field select, .field textarea { font: inherit; font-weight: 500; font-size: 1rem; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; outline: none; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field.err input, .field.err select { border-color: var(--accent); }
.field small { color: var(--accent); font-weight: 600; }
.form-error { background: #fbe9e1; color: var(--accent); padding: .8rem 1rem; border-radius: 10px; font-weight: 600; }
.co-summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem; position: sticky; top: 100px; margin-top: 2.4rem; }
.co-line { display: flex; justify-content: space-between; align-items: baseline; padding: .7rem 0; }
.co-line.total { border-top: 1px solid var(--line); margin-top: .4rem; font-weight: 700; }
.co-line.total strong { font-size: 1.5rem; }
.thanks { text-align: center; padding: 3rem 0 0; }
.thanks-ok { width: 80px; height: 80px; border-radius: 50%; background: #eaf6ee; color: var(--green); display: grid; place-items: center; margin: 0 auto 1.4rem; }
.thanks-box { text-align: left; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1rem 1.4rem; margin: 2rem 0; }

/* ---------- pages info ---------- */
.page-text h2 { margin-top: 2rem; font-size: 1.7rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 1rem 0 2rem; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.step span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: #fff; font-weight: 800; margin-bottom: 1rem; }
.cta-block { margin: 1rem 0 2rem; }
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem; display: flex; flex-direction: column; align-items: center; gap: .4rem; text-align: center; transition: .2s; }
.contact-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.contact-card svg { color: var(--gold); }
.contact-card strong { font-size: 1.1rem; }

/* ---------- recherche mobile + barre du bas ---------- */
.msearch { position: fixed; left: 0; right: 0; top: 0; z-index: 100; background: var(--paper); padding: calc(12px + env(safe-area-inset-top)) 16px 18px; transform: translateY(-110%); transition: transform .28s cubic-bezier(.2, .8, .2, 1); box-shadow: 0 20px 40px -20px rgba(0,0,0,.35); }
.msearch.open { transform: none; }
.msearch-form { display: flex; align-items: center; gap: .6rem; background: #fff; border: 1.5px solid var(--ink); border-radius: 14px; padding: 0 .3rem 0 .9rem; }
.msearch-form input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 16px; padding: .9rem 0; background: none; min-width: 0; }
.msearch-chips span { display: block; margin: 1rem 0 .6rem; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.bottom-nav { display: none; }

/* ---------- langues (FR / عربي / EN) ---------- */
.lang-switch { display: flex; gap: 2px; background: var(--sand); border-radius: 999px; padding: 3px; flex-shrink: 0; }
.lang-switch a { font-size: .76rem; font-weight: 800; padding: .32rem .55rem; border-radius: 999px; color: var(--ink-2); line-height: 1.2; }
.lang-switch a.on { background: var(--ink); color: #fff; }
.mm-langs { display: flex; gap: .4rem; margin-top: .9rem; }
.mm-langs a { flex: 1; text-align: center; padding: .55rem; border: 1px solid var(--line); border-radius: 10px; font-weight: 700; }
.mm-langs a.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.footer-langs { display: flex; gap: 1rem; }
.footer-langs a { text-decoration: underline; }

/* ---------- version arabe : de droite à gauche ---------- */
[dir="rtl"] { --serif: "Amiri", "Cormorant Garamond", Georgia, serif; --sans: "Tajawal", "Manrope", system-ui, "Segoe UI", sans-serif; }
[dir="rtl"] body { font-size: 16.5px; }
[dir="rtl"] * { letter-spacing: 0 !important; }   /* l'espacement des lettres casse l'écriture arabe liée */
[dir="rtl"] h1, [dir="rtl"] h2, [dir="rtl"] h3 { font-weight: 700; line-height: 1.4; }
[dir="rtl"] .logo { font-family: var(--serif); }
[dir="rtl"] .marquee { direction: ltr; }
[dir="rtl"] .marquee-track span { direction: rtl; unicode-bidi: isolate; }
[dir="rtl"] .adminbar .ab-out { margin-left: 0; margin-right: auto; }
[dir="rtl"] .header-actions { margin-left: 0; margin-right: auto; }
[dir="rtl"] .search { padding: 0 1rem 0 .3rem; }
[dir="rtl"] .cart-count { right: auto; left: 0; }
[dir="rtl"] .mobile-menu { left: auto; right: 0; transform: translateX(100%); }
[dir="rtl"] .cart-drawer { right: auto; left: 0; transform: translateX(-100%); }
[dir="rtl"] .mobile-menu.open, [dir="rtl"] .cart-drawer.open { transform: none; }
[dir="rtl"] .badge { left: auto; right: 12px; }
[dir="rtl"] .finish-btn { text-align: right; }
[dir="rtl"] .rich ul { padding-left: 0; padding-right: 1.2rem; }
[dir="rtl"] .thanks-box { text-align: right; }
[dir="rtl"] .wa-float { right: auto; left: 18px; }
[dir="rtl"] .wa-float:hover span { padding-right: 0; padding-left: .4rem; }
[dir="rtl"] .custom-banner::after { right: auto; left: -2rem; }
[dir="rtl"] .link-arrow .ico, [dir="rtl"] .hero-ctas .ico { transform: scaleX(-1); }
[dir="rtl"] .view-room, [dir="rtl"] .stage, [dir="rtl"] .sv-wall { direction: ltr; }   /* aperçu à l'échelle : calculs de gauche à droite */
[dir="rtl"] .viewer-tag { left: auto; right: 14px; }
[dir="rtl"] .detail-label { left: auto; right: 14px; }
[dir="rtl"] .room-note { right: auto; left: 12px; }
[dir="rtl"] .pp-short, [dir="rtl"] .rich, [dir="rtl"] .seo-text p { line-height: 1.85; }

/* =========================== RESPONSIVE =========================== */
/* en-tête : le menu ne doit jamais élargir la page (3 langues, longueurs différentes) */
.nav { min-width: 0; overflow: hidden; }
.logo, .header-actions { flex-shrink: 0; }
.nav-link.opt { display: none; }   /* liens secondaires : restent dans « Collections » */
@media (min-width: 641px) and (max-width: 1600px) {
  .header .search { display: none; }
  .header .icon-btn[data-open-search] { display: inline-flex !important; }
  .nav { gap: 1rem; }
  .header-inner { gap: 1.2rem; }
}
@media (max-width: 1180px) {
  .nav { display: none; }
  .only-mobile { display: inline-flex !important; }
  .phone-pill span { display: none; }
  .grid-products { grid-template-columns: repeat(3, 1fr); }
  .reviews { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .pp, .checkout, .size-wrap, .faq-wrap { grid-template-columns: 1fr; gap: 1.6rem; }
  .pp-media { position: static; }
  .co-summary { position: static; margin-top: 0; order: -1; }
  .themes-grid, .themes-grid.cols-4 { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 190px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .reassurance-grid { grid-template-columns: 1fr 1fr; row-gap: 1.4rem; }
  .steps { grid-template-columns: 1fr; }
  /* barre de navigation en bas, comme une application */
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); -webkit-tap-highlight-color: transparent; }
  .bottom-nav { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 75; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .bottom-nav > * { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 62px; background: none; border: 0; font-size: .68rem; font-weight: 700; color: var(--muted); position: relative; }
  .bottom-nav .on { color: var(--ink); }
  .bottom-nav .on::before { content: ""; position: absolute; top: 0; width: 28px; height: 3px; border-radius: 0 0 3px 3px; background: var(--ink); }
  .bottom-nav .bn-wa { color: #128c4b; }
  .bottom-nav .cart-count { position: absolute; top: 7px; right: calc(50% - 20px); font-style: normal; }
  [dir="rtl"] .bottom-nav .cart-count { right: auto; left: calc(50% - 20px); }
  .wa-float { display: none; }
  .toast { bottom: calc(80px + env(safe-area-inset-bottom)); }
  .cart-drawer, .mobile-menu { padding-bottom: env(safe-area-inset-bottom); }
  .sticky-buy { display: flex; position: fixed; left: 0; right: 0; bottom: calc(62px + env(safe-area-inset-bottom)); z-index: 70; background: #fff; border-top: 1px solid var(--line); padding: .7rem 16px; align-items: center; justify-content: space-between; gap: 1rem; transform: translateY(100%); transition: transform .25s; box-shadow: 0 -10px 30px -15px rgba(0,0,0,.25); }
  .sticky-buy.show { transform: none; }
  .sticky-buy small { display: block; font-size: .75rem; color: var(--muted); }
  .sticky-buy strong { font-size: 1.2rem; }
  .sticky-buy { transform: translateY(calc(100% + 70px)); }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .header-inner { height: 62px; gap: .6rem; }
  .logo { font-size: 1.35rem; }
  .logo-mark { width: 30px; height: 30px; }
  .header .search { display: none; }
  .header [data-open-search] { display: none !important; }   /* la recherche reste dans la barre du bas */
  .lang-switch a { padding: .3rem .45rem; font-size: .72rem; }
  .phone-pill { padding: .5rem; }
  .section { padding: 54px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .grid-products { grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
  .pcard-cta { display: none; }
  .pcard-body h3 { font-size: .88rem; }
  .rooms-scroll { grid-auto-columns: 62%; }
  .hero { min-height: 78vh; }
  .hero-collage { grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); }
  .hc { grid-column: auto !important; grid-row: auto !important; }
  .hero-shade { background: linear-gradient(180deg, rgba(14,11,9,.5), rgba(14,11,9,.85)); }
  .hero-points { gap: .7rem 1.2rem; }
  .theme-card.big { grid-row: span 1; }
  .theme-info strong { font-size: 1.25rem; }
  .theme-info span { display: none; }
  .reviews { grid-template-columns: 1fr; }
  .sizes { grid-template-columns: repeat(3, 1fr); }
  .finishes { grid-template-columns: 1fr; }
  .viewer { aspect-ratio: 4 / 3; margin-inline: -14px; border-radius: 0; }
  .thumb { width: 66px; height: 66px; }
  .pp-trust { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .toolbar-right { width: 100%; justify-content: space-between; }
  /* champs en 16px : évite le zoom automatique sur iPhone */
  input, select, textarea, .toolbar select { font-size: 16px !important; }
  .container { width: calc(100% - 28px); }
  .header .phone-pill { background: var(--ink); color: #fff; }
  .cart-btn { display: none; }
  .topbar { font-size: .72rem; }
  .marquee { padding: 7px 0; }
  .hero-content { padding: 3.5rem 0 3rem; }
  .hero-content h1 { font-size: 2.5rem; }
  .hero-content p { font-size: 1rem; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .section-head h2, h2 { font-size: 1.85rem; }
  .page-hero { padding: 2rem 0 1.4rem; }
  .page-hero h1 { font-size: 2rem; }
  .pp-info h1 { font-size: 1.9rem; }
  .pp-price strong { font-size: 1.75rem; }
  .size-btn { padding: .7rem .2rem; min-height: 66px; }
  .finish-btn, .panel-btn { min-height: 54px; }
  .panel-btn { flex: 1; justify-content: center; }
  .frame-sw { width: 36px; height: 36px; }
  .buy { margin-top: 1.2rem; }
  .btn-lg { padding: .95rem 1.2rem; font-size: .95rem; }
  #buyNow { white-space: normal; text-align: center; }
  .qty button { width: 44px; height: 50px; }
  .cart-drawer, .mobile-menu { width: 100vw; }
  .ci { grid-template-columns: 56px 1fr auto; }
  .ci img { width: 56px; height: 56px; }
  .ci-actions button { width: 32px; height: 32px; }
  .cart-page .ci { grid-template-columns: 72px 1fr auto; }
  .cart-page .ci img { width: 72px; height: 72px; }
  .checkout .page-title { margin-top: 1.4rem; }
  .reassurance-grid { grid-template-columns: 1fr; padding: 1.6rem 0; }
  .footer { padding-top: 2.6rem; }
  .footer-bottom { flex-direction: column; }
  .faq summary { padding: 1rem 0; }
  .size-chips { grid-template-columns: repeat(2, 1fr); }
}
