/* ==========================================================================
   SenMakete — Site vitrine (accueil, inscription, connexion)
   Mêmes fondations que vitrine.css et console.css.
   ========================================================================== */

:root {
    --s-brand: var(--brand);
    --s-brand-600: var(--brand-600);
    --s-brand-700: var(--brand-700);
    --s-brand-50: var(--brand-50);
    --s-brand-100: var(--brand-100);
    --s-accent: var(--accent);
    --s-bg: #ffffff;
    --s-bg-soft: var(--surface-soft);
    --s-text: var(--ink);
    --s-text-2: var(--ink-2);
    --s-muted: var(--ink-muted);
    --s-border: var(--line);
    --s-border-strong: var(--line-strong);
    --s-danger: #dc2626;
    --s-whatsapp: #1fa855;
    --s-radius: 16px;
    --s-shadow: 0 1px 3px rgba(17, 24, 39, .06), 0 8px 24px rgba(17, 24, 39, .06);
    --s-shadow-lg: 0 24px 60px rgba(17, 24, 39, .14);
    --s-header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--s-header-h) + 16px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

body.site {
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    font-size: 16px; line-height: 1.6;
    color: var(--s-text); background: var(--s-bg);
    -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.15; letter-spacing: -.025em; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.s-container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .s-container { padding: 0 32px; } }

/* --------------------------------------------------------------------------
   Boutons
   -------------------------------------------------------------------------- */

.s-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    min-height: 48px; padding: .7rem 1.35rem;
    border-radius: 12px; border: 1px solid var(--s-border-strong);
    background: #fff; color: var(--s-text);
    font: inherit; font-weight: 600; font-size: .98rem; line-height: 1.2;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: background .15s, border-color .15s, box-shadow .15s, transform .05s;
}
.s-btn:hover { background: var(--s-bg-soft); }
.s-btn:active { transform: scale(.98); }
.s-btn:focus-visible { outline: 3px solid var(--brand-ring); outline-offset: 2px; }
.s-btn-primary { background: var(--s-brand); border-color: var(--s-brand); color: #fff; box-shadow: 0 6px 16px var(--brand-shadow); }
.s-btn-primary:hover { background: var(--s-brand-600); border-color: var(--s-brand-600); }
.s-btn-light { background: #fff; border-color: #fff; color: var(--s-brand-700); }
.s-btn-light:hover { background: var(--s-brand-50); }
.s-btn-ghost-light { background: transparent; border-color: rgba(255, 255, 255, .4); color: #fff; }
.s-btn-ghost-light:hover { background: rgba(255, 255, 255, .1); }
.s-btn-sm { min-height: 40px; padding: .5rem 1rem; font-size: .9rem; border-radius: 10px; box-shadow: none; }
.s-btn-lg { min-height: 54px; padding: .85rem 1.6rem; font-size: 1.02rem; }
.s-btn-block { width: 100%; }

/* --------------------------------------------------------------------------
   En-tête
   -------------------------------------------------------------------------- */

.s-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, .85);
    backdrop-filter: saturate(180%) blur(12px);
    border-bottom: 1px solid transparent;
    transition: border-color .2s, box-shadow .2s;
}
.s-header.is-scrolled { border-bottom-color: var(--s-border); }
.s-header-inner { height: var(--s-header-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.s-logo { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.12rem; letter-spacing: -.02em; text-decoration: none; color: var(--s-text); }
.s-logo-mark { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; background: var(--s-brand); color: #fff; font-size: 1rem; }

.s-nav { display: flex; align-items: center; gap: 1.4rem; }
.s-nav > a:not(.s-btn) { text-decoration: none; font-weight: 500; font-size: .94rem; color: var(--s-text-2); }
.s-nav > a:not(.s-btn):hover { color: var(--s-text); }
.s-nav > a[aria-current="page"] { color: var(--s-brand); font-weight: 600; }
.s-nav-sep { width: 1px; height: 22px; background: var(--s-border); }

.s-burger { display: none; width: 44px; height: 44px; border: 1px solid var(--s-border); border-radius: 12px; background: #fff; cursor: pointer; position: relative; }
.s-burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--s-text); border-radius: 2px; transition: transform .2s, top .2s; }
.s-burger span:first-child { top: 16px; }
.s-burger span:last-child { top: 25px; }
.s-burger.is-open span:first-child { top: 21px; transform: rotate(45deg); }
.s-burger.is-open span:last-child { top: 21px; transform: rotate(-45deg); }

@media (max-width: 1079px) {
    .s-burger { display: block; }
    .s-nav {
        position: fixed; inset: var(--s-header-h) 0 0 0; z-index: 49;
        flex-direction: column; align-items: stretch; gap: 0;
        padding: 1rem 16px 2rem; background: #fff;
        transform: translateY(-8px); opacity: 0; pointer-events: none;
        transition: opacity .2s, transform .2s;
        overflow-y: auto;
    }
    .s-nav.is-open { transform: none; opacity: 1; pointer-events: auto; }
    .s-nav > a:not(.s-btn) { padding: 1rem 0; border-bottom: 1px solid var(--s-border); font-size: 1.05rem; }
    .s-nav-sep { display: none; }
    .s-nav .s-btn { margin-top: 1.25rem; min-height: 50px; font-size: 1rem; }
}

.s-flashes { padding-top: 1rem; display: grid; gap: .5rem; }
.s-alert { padding: .85rem 1rem; border-radius: 12px; font-size: .92rem; font-weight: 500; border: 1px solid; }
.s-alert-success { background: #ecfdf5; border-color: #a7f3d0; color: #065f46; }
.s-alert-error { background: #fef2f2; border-color: #fecaca; color: #991b1b; }

/* --------------------------------------------------------------------------
   Sections génériques
   -------------------------------------------------------------------------- */

.s-section { padding: 4rem 0; }
.s-section-soft { background: var(--s-bg-soft); }
@media (min-width: 900px) { .s-section { padding: 6rem 0; } }
.s-eyebrow {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--s-brand);
}
.s-head { max-width: 640px; margin-bottom: 2.5rem; }
.s-head-center { text-align: center; margin-left: auto; margin-right: auto; }
.s-head h2 { font-size: 1.85rem; font-weight: 800; margin-top: .6rem; }
.s-head p { color: var(--s-muted); font-size: 1.05rem; margin-top: .75rem; }
@media (min-width: 900px) { .s-head h2 { font-size: 2.5rem; } }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.s-hero { position: relative; overflow: hidden; padding: 2.5rem 0 3.5rem; }
.s-hero::before {
    content: ''; position: absolute; inset: -30% -20% auto auto; width: 720px; height: 720px; z-index: -1;
    background: radial-gradient(closest-side, var(--brand-100), transparent);
}
.s-hero::after {
    content: ''; position: absolute; inset: auto auto -30% -20%; width: 600px; height: 600px; z-index: -1;
    background: radial-gradient(closest-side, var(--accent-50), transparent);
}
.s-hero-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .s-hero { padding: 4.5rem 0 6rem; } .s-hero-grid { grid-template-columns: 1.1fr .9fr; gap: 4rem; } }

.s-pill {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .35rem .8rem .35rem .4rem; border-radius: 999px;
    background: #fff; border: 1px solid var(--s-border); box-shadow: var(--s-shadow);
    font-size: .85rem; font-weight: 600; color: var(--s-text-2);
}
.s-pill b { background: var(--s-brand-50); color: var(--s-brand-700); padding: .1rem .55rem; border-radius: 999px; font-size: .78rem; }
.s-hero h1 { font-size: 2.35rem; font-weight: 800; margin-top: 1.25rem; letter-spacing: -.035em; }
.s-hero h1 em { font-style: normal; color: var(--s-brand); position: relative; white-space: nowrap; }
.s-hero h1 em::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: .06em; height: .22em; z-index: -1;
    background: var(--s-brand-100); border-radius: 4px;
}
@media (min-width: 600px) { .s-hero h1 { font-size: 3rem; } }
@media (min-width: 1100px) { .s-hero h1 { font-size: 3.35rem; } }
.s-hero-sub { font-size: 1.1rem; color: var(--s-muted); margin-top: 1.25rem; max-width: 560px; }
.s-hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
@media (max-width: 599px) { .s-hero-ctas .s-btn { flex: 1 1 100%; } }
.s-hero-points { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; margin: 1.5rem 0 0; padding: 0; list-style: none; font-size: .9rem; color: var(--s-text-2); }
.s-hero-points li { display: inline-flex; align-items: center; gap: .4rem; }
.s-hero-points svg { color: var(--s-brand); flex-shrink: 0; }

/* Maquette de téléphone (entièrement en HTML/CSS) */
.s-mockup { position: relative; justify-self: center; width: 100%; max-width: 330px; }
.s-phone {
    position: relative; border-radius: 42px; padding: 12px; background: #0f172a;
    box-shadow: var(--s-shadow-lg), inset 0 0 0 2px #334155;
}
.s-phone-screen { border-radius: 32px; overflow: hidden; background: #fff; color: var(--s-text); aspect-ratio: 9 / 18.5; display: flex; flex-direction: column; }
.s-phone-notch { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); width: 90px; height: 22px; border-radius: 999px; background: #0f172a; z-index: 2; }
.m-top { padding: 40px 14px 10px; display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--s-border); }
.m-logo { width: 30px; height: 30px; border-radius: 9px; background: linear-gradient(135deg, #f59e0b, #ea580c); display: grid; place-items: center; color: #fff; font-weight: 800; font-size: .8rem; }
.m-name { font-weight: 700; font-size: .82rem; line-height: 1.1; }
.m-name small { display: block; font-weight: 500; color: var(--s-muted); font-size: .66rem; }
.m-wa { margin-left: auto; background: var(--s-whatsapp); color: #fff; font-size: .62rem; font-weight: 700; padding: 5px 8px; border-radius: 8px; }
.m-chips { display: flex; gap: 5px; padding: 10px 14px 4px; }
.m-chip { font-size: .6rem; font-weight: 600; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--s-border); color: var(--s-text-2); white-space: nowrap; }
.m-chip.on { background: var(--s-text); border-color: var(--s-text); color: #fff; }
.m-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 8px; padding: 10px 14px; flex: 1; align-content: start; }
.m-card { display: flex; flex-direction: column; gap: 3px; }
.m-img { aspect-ratio: 1; border-radius: 10px; position: relative; }
.m-img::after { content: '+'; position: absolute; right: 5px; bottom: 5px; width: 18px; height: 18px; border-radius: 50%; background: #fff; color: var(--s-text); font-size: .75rem; font-weight: 700; display: grid; place-items: center; box-shadow: 0 1px 4px rgba(0, 0, 0, .15); }
.m-img.a { background: linear-gradient(145deg, #fde68a, #f59e0b); }
.m-img.b { background: linear-gradient(145deg, #bbf7d0, #10b981); }
.m-img.c { background: linear-gradient(145deg, #fecaca, #ef4444); }
.m-img.d { background: linear-gradient(145deg, #c7d2fe, #6366f1); }
.m-img.e { background: linear-gradient(145deg, #e5e7eb, #94a3b8); }
.m-img.f { background: linear-gradient(145deg, #fbcfe8, #db2777); }
.m-t { font-size: .62rem; color: var(--s-text-2); }
.m-p { font-size: .68rem; font-weight: 800; }

.s-float {
    position: absolute; z-index: 3; background: #fff; border-radius: 14px; box-shadow: var(--s-shadow-lg);
    padding: .65rem .8rem; display: flex; align-items: center; gap: .6rem; font-size: .8rem; line-height: 1.25;
    border: 1px solid var(--s-border);
    animation: s-float 5s ease-in-out infinite;
}
.s-float b { display: block; font-size: .85rem; }
.s-float small { color: var(--s-muted); }
.s-float-ico { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex-shrink: 0; }
.s-float-order { top: 18%; left: -12%; }
.s-float-order .s-float-ico { background: var(--s-brand-50); color: var(--s-brand); }
.s-float-qr { bottom: 12%; right: -10%; animation-delay: -2.5s; }
.s-float-qr .s-float-ico { background: #fff7ed; color: #c2410c; }
@media (max-width: 480px) { .s-float-order { left: -4%; } .s-float-qr { right: -4%; } }
@keyframes s-float { 50% { transform: translateY(-8px); } }

/* --------------------------------------------------------------------------
   Bandeau « pour qui »
   -------------------------------------------------------------------------- */

.s-audience { border-top: 1px solid var(--s-border); border-bottom: 1px solid var(--s-border); padding: 1.5rem 0; }
.s-audience-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .6rem 1rem; }
.s-audience p { font-size: .9rem; color: var(--s-muted); font-weight: 500; width: 100%; text-align: center; }
@media (min-width: 900px) { .s-audience p { width: auto; margin-right: .5rem; } }
.s-tag { display: inline-flex; align-items: center; gap: .4rem; padding: .4rem .85rem; border-radius: 999px; background: var(--s-bg-soft); font-size: .88rem; font-weight: 600; color: var(--s-text-2); }

/* --------------------------------------------------------------------------
   Étapes
   -------------------------------------------------------------------------- */

.s-steps { display: grid; gap: 1rem; counter-reset: etape; }
@media (min-width: 800px) { .s-steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.s-step { position: relative; padding: 1.75rem; border-radius: var(--s-radius); background: #fff; border: 1px solid var(--s-border); }
.s-step-num {
    width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center;
    background: var(--s-brand); color: #fff; font-weight: 800; font-size: 1.1rem; margin-bottom: 1.25rem;
}
.s-step h3 { font-size: 1.15rem; font-weight: 700; }
.s-step p { color: var(--s-muted); margin-top: .5rem; font-size: .96rem; }
.s-step-time { display: inline-block; margin-top: 1rem; font-size: .8rem; font-weight: 600; color: var(--s-brand-700); background: var(--s-brand-50); padding: .2rem .6rem; border-radius: 999px; }

/* --------------------------------------------------------------------------
   Fonctionnalités
   -------------------------------------------------------------------------- */

.s-features { display: grid; gap: 1rem; }
@media (min-width: 640px) { .s-features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .s-features { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.s-feature { padding: 1.5rem; border-radius: var(--s-radius); background: #fff; border: 1px solid var(--s-border); transition: border-color .15s, box-shadow .15s; }
.s-feature:hover { border-color: var(--s-border-strong); box-shadow: var(--s-shadow); }
.s-feature-ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--s-brand-50); color: var(--s-brand); margin-bottom: 1rem; }
.s-feature h3 { font-size: 1.05rem; font-weight: 700; }
.s-feature p { color: var(--s-muted); margin-top: .4rem; font-size: .94rem; }

/* Bloc mis en avant : WhatsApp */
.s-highlight {
    display: grid; gap: 2rem; align-items: center; margin-top: 1.25rem;
    padding: 2rem; border-radius: 24px; background: #0f172a; color: #fff; overflow: hidden; position: relative;
}
@media (min-width: 900px) { .s-highlight { grid-template-columns: 1.1fr .9fr; padding: 3rem; } }
.s-highlight h3 { font-size: 1.6rem; font-weight: 800; }
.s-highlight p { color: #cbd5e1; margin-top: .75rem; }
.s-highlight ul { list-style: none; padding: 0; margin: 1.25rem 0 0; display: grid; gap: .6rem; }
.s-highlight li { display: flex; gap: .6rem; color: #e2e8f0; font-size: .95rem; }
.s-highlight li svg { color: #4ade80; flex-shrink: 0; margin-top: 3px; }
.s-chat { background: #e7ded3; border-radius: 18px; padding: 1rem; display: grid; gap: .5rem; max-width: 380px; justify-self: center; width: 100%; }
.s-bubble { max-width: 88%; padding: .55rem .75rem; border-radius: 12px; font-size: .82rem; line-height: 1.45; color: #111827; box-shadow: 0 1px 1px rgba(0, 0, 0, .08); }
.s-bubble-in { background: #fff; border-top-left-radius: 4px; }
.s-bubble-out { background: #d9fdd3; justify-self: end; border-top-right-radius: 4px; }
.s-bubble small { display: block; text-align: right; color: #6b7280; font-size: .66rem; margin-top: .15rem; }

/* --------------------------------------------------------------------------
   Vitrine des boutiques
   -------------------------------------------------------------------------- */

.s-stores { display: grid; gap: .75rem; }
@media (min-width: 640px) { .s-stores { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .s-stores { grid-template-columns: repeat(3, 1fr); gap: 1rem; } }
.s-store {
    display: flex; align-items: center; gap: .9rem; padding: 1rem;
    border-radius: var(--s-radius); background: #fff; border: 1px solid var(--s-border);
    text-decoration: none; transition: border-color .15s, box-shadow .15s, transform .15s;
}
.s-store:hover { border-color: var(--s-border-strong); box-shadow: var(--s-shadow); transform: translateY(-2px); }
.s-store-logo { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; flex-shrink: 0; border: 1px solid var(--s-border); }
.s-store-initiale { display: grid; place-items: center; background: var(--s-brand-50); color: var(--s-brand); font-weight: 800; font-size: 1.3rem; border-color: transparent; }
.s-store-body { flex: 1; min-width: 0; }
.s-store-name { display: block; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-store-meta { display: block; font-size: .85rem; color: var(--s-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-store > svg { color: var(--s-muted); flex-shrink: 0; }
.s-center { text-align: center; margin-top: 2rem; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */

.s-faq { max-width: 760px; margin: 0 auto; display: grid; gap: .75rem; }
.s-faq details { border: 1px solid var(--s-border); border-radius: 14px; background: #fff; }
.s-faq details[open] { border-color: var(--s-border-strong); box-shadow: var(--s-shadow); }
.s-faq summary {
    list-style: none; cursor: pointer; padding: 1.1rem 1.25rem;
    display: flex; justify-content: space-between; align-items: center; gap: 1rem;
    font-weight: 600; font-size: 1rem;
}
.s-faq summary::-webkit-details-marker { display: none; }
.s-faq summary::after { content: '+'; font-size: 1.4rem; font-weight: 400; color: var(--s-muted); transition: transform .2s; flex-shrink: 0; }
.s-faq details[open] summary::after { transform: rotate(45deg); }
.s-faq details p { padding: 0 1.25rem 1.2rem; color: var(--s-muted); font-size: .96rem; }

/* --------------------------------------------------------------------------
   Appel à l'action final
   -------------------------------------------------------------------------- */

.s-cta {
    border-radius: 28px; padding: 2.5rem 1.5rem; text-align: center; color: #fff;
    background: radial-gradient(120% 140% at 0% 0%, var(--brand-400) 0%, var(--s-brand) 45%, var(--s-brand-700) 100%);
    position: relative; overflow: hidden;
}
@media (min-width: 900px) { .s-cta { padding: 4rem; } }
.s-cta h2 { font-size: 1.9rem; font-weight: 800; }
@media (min-width: 900px) { .s-cta h2 { font-size: 2.6rem; } }
.s-cta p { margin: .9rem auto 0; max-width: 520px; color: rgba(255, 255, 255, .85); font-size: 1.05rem; }
.s-cta .s-hero-ctas { justify-content: center; }

/* --------------------------------------------------------------------------
   Pied de page
   -------------------------------------------------------------------------- */

.s-footer { background: var(--s-bg-soft); border-top: 1px solid var(--s-border); padding: 3rem 0 1.5rem; margin-top: 4rem; font-size: .92rem; }
.s-footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; }
.s-footer-grid > div:first-child { grid-column: 1 / -1; }
@media (min-width: 800px) { .s-footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; } .s-footer-grid > div:first-child { grid-column: auto; } }
.s-footer h3 { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--s-muted); margin-bottom: .8rem; }
.s-footer-grid a:not(.s-logo), .s-footer-grid span { display: block; color: var(--s-text-2); text-decoration: none; padding: .2rem 0; }
.s-footer-grid a:not(.s-logo):hover { color: var(--s-brand); }
.s-footer-tag { color: var(--s-muted); margin-top: .75rem; max-width: 300px; }
.s-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--s-border); color: var(--s-muted); font-size: .85rem; }

/* --------------------------------------------------------------------------
   Pages d'authentification (inscription, connexion, mot de passe)
   -------------------------------------------------------------------------- */

body.auth { background: var(--s-bg); }
.s-auth { display: grid; min-height: 100vh; }
@media (min-width: 1000px) { .s-auth { grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); } }
.s-auth-main { display: flex; flex-direction: column; padding: 1.25rem 16px 2.5rem; }
@media (min-width: 768px) { .s-auth-main { padding: 1.75rem 3rem 3rem; } }
.s-auth-top { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 2.5rem; font-size: .92rem; color: var(--s-muted); }
.s-auth-top a:not(.s-logo) { color: var(--s-brand); font-weight: 600; text-decoration: none; }
.s-auth-box { width: 100%; max-width: 440px; margin: 0 auto; }
@media (min-width: 768px) { .s-auth-box { margin: auto; } }
@media (max-width: 479px) { .s-auth-top > span { display: none; } .s-auth-top { margin-bottom: 1.75rem; } }
.s-auth-box h1 { font-size: 1.85rem; font-weight: 800; }
.s-auth-lead { color: var(--s-muted); margin-top: .5rem; }
.s-auth-form { margin-top: 1.75rem; }
.s-auth-foot { margin-top: 1.5rem; text-align: center; color: var(--s-muted); font-size: .92rem; }
.s-auth-foot a { color: var(--s-brand); font-weight: 600; text-decoration: none; }
.s-auth-legal { margin-top: 1rem; font-size: .8rem; color: var(--s-muted); text-align: center; }

.s-auth-aside {
    display: none; position: relative; overflow: hidden; color: #fff;
    background: radial-gradient(120% 120% at 100% 0%, var(--brand-400) 0%, var(--s-brand) 40%, var(--s-brand-700) 100%);
    padding: 3rem; flex-direction: column; justify-content: center;
}
@media (min-width: 1000px) { .s-auth-aside { display: flex; } }
.s-auth-aside h2 { font-size: 2rem; font-weight: 800; max-width: 440px; }
.s-auth-aside > p { color: rgba(255, 255, 255, .85); margin-top: .75rem; max-width: 420px; }
.s-auth-aside ul { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; max-width: 420px; }
.s-auth-aside li { display: flex; gap: .85rem; align-items: flex-start; }
.s-auth-aside li span:first-child { width: 36px; height: 36px; border-radius: 10px; background: rgba(255, 255, 255, .14); display: grid; place-items: center; flex-shrink: 0; }
.s-auth-aside li b { display: block; }
.s-auth-aside li small { color: rgba(255, 255, 255, .75); font-size: .88rem; }
.s-auth-aside .s-mockup { max-width: 250px; margin-top: 2.5rem; }

/* Champs */
.s-field, .site .field { margin-bottom: 1.1rem; }
.s-field label, .site .field-label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .4rem; color: var(--s-text); }
.site .field-required { color: var(--s-danger); margin-left: .15rem; }
.s-input, .site .field input:not([type=checkbox]):not([type=radio]) {
    width: 100%; height: 50px; padding: 0 .95rem;
    border: 1px solid var(--s-border-strong); border-radius: 12px; background: #fff;
    font: inherit; font-size: 16px; color: var(--s-text);
    transition: border-color .15s, box-shadow .15s;
}
.s-input:focus, .site .field input:focus { outline: none; border-color: var(--s-brand); box-shadow: 0 0 0 4px var(--brand-ring); }
.site .field--error input { border-color: var(--s-danger); }
.site .field-help { margin: .35rem 0 0; font-size: .82rem; color: var(--s-muted); }
.site .field-errors { list-style: none; margin: .4rem 0 0; padding: 0; color: var(--s-danger); font-size: .85rem; font-weight: 500; }
.s-form-error { padding: .8rem 1rem; border-radius: 12px; background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; font-size: .9rem; font-weight: 500; margin-bottom: 1.25rem; }
.s-row-2 { display: grid; gap: 0 1rem; }
@media (min-width: 560px) { .s-row-2 { grid-template-columns: 1fr 1fr; } }

.s-pass { position: relative; }
.s-pass input { padding-right: 3.2rem !important; }
.s-pass-toggle {
    position: absolute; right: 4px; top: 4px; width: 42px; height: 42px; border-radius: 10px;
    border: 0; background: none; color: var(--s-muted); cursor: pointer; display: grid; place-items: center;
}
.s-pass-toggle:hover { color: var(--s-text); background: var(--s-bg-soft); }
.s-strength { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin-top: .5rem; }
.s-strength i { height: 4px; border-radius: 4px; background: var(--s-border); transition: background .2s; }
.s-strength[data-niveau="1"] i:nth-child(-n+1) { background: #ef4444; }
.s-strength[data-niveau="2"] i:nth-child(-n+2) { background: #f59e0b; }
.s-strength[data-niveau="3"] i:nth-child(-n+3) { background: #10b981; }
.s-strength[data-niveau="4"] i { background: var(--s-brand); }

.s-link-row { display: flex; justify-content: space-between; align-items: center; margin: -.25rem 0 1.25rem; font-size: .9rem; }
.s-link-row a { color: var(--s-brand); font-weight: 600; text-decoration: none; }
.s-check { display: inline-flex; align-items: center; gap: .45rem; color: var(--s-text-2); cursor: pointer; }
.s-check input { width: 18px; height: 18px; accent-color: var(--s-brand); }
.s-url-preview { margin-top: .4rem; font-size: .82rem; color: var(--s-muted); word-break: break-all; }
.s-url-preview b { color: var(--s-brand-700); font-weight: 600; }

/* ==========================================================================
   Pages de contenu : en-tête de page, cartes, contenu éditorial, contact
   ========================================================================== */

.s-page-hero {
    position: relative; overflow: hidden; isolation: isolate;
    padding: 3rem 0 3.25rem;
    background: linear-gradient(180deg, var(--brand-50) 0%, #fff 100%);
    border-bottom: 1px solid var(--s-border);
}
.s-page-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background-image: radial-gradient(color-mix(in srgb, var(--brand) 16%, transparent) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 90% at 50% 0%, #000 30%, transparent 75%);
}
.s-page-hero::after {
    content: ""; position: absolute; z-index: -1; right: -120px; top: -160px; width: 420px; height: 420px; border-radius: 50%;
    background: radial-gradient(closest-side, var(--accent-50), transparent);
}
@media (min-width: 900px) { .s-page-hero { padding: 4.5rem 0 4.75rem; } }
.s-page-hero h1 { font-size: 2.1rem; font-weight: 800; letter-spacing: -.035em; margin-top: .75rem; max-width: 760px; }
@media (min-width: 900px) { .s-page-hero h1 { font-size: 3rem; } }
.s-page-hero p { color: var(--s-muted); font-size: 1.1rem; margin-top: 1rem; max-width: 620px; }
.s-page-hero-center { text-align: center; }
.s-page-hero-center h1, .s-page-hero-center p { margin-left: auto; margin-right: auto; }

.s-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; font-size: .85rem; color: var(--s-muted); }
.s-crumbs a { color: var(--s-muted); text-decoration: none; }
.s-crumbs a:hover { color: var(--s-brand); }
.s-page-hero-center .s-crumbs { justify-content: center; }

/* Cartes génériques */
.s-card { background: #fff; border: 1px solid var(--s-border); border-radius: 20px; padding: 1.5rem; }
@media (min-width: 900px) { .s-card { padding: 2rem; } }
.s-card-elevated { box-shadow: var(--s-shadow-lg); border-color: transparent; }
.s-card h2 { font-size: 1.35rem; font-weight: 800; }
.s-card > p { color: var(--s-muted); margin-top: .4rem; }

.s-ico {
    width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
    display: grid; place-items: center; background: var(--brand-50); color: var(--s-brand); font-size: 1.4rem;
}
.s-ico-accent { background: var(--accent-50); color: var(--accent-700); }

/* Contenu éditorial (textes saisis dans l'administration) */
.s-prose { color: var(--s-text-2); font-size: 1.05rem; line-height: 1.75; }
.s-prose p + p { margin-top: 1rem; }
.s-prose a { color: var(--s-brand); font-weight: 600; }

/* Deux colonnes titre / texte */
.s-split { display: grid; gap: 1.25rem 3rem; align-items: start; }
@media (min-width: 900px) { .s-split { grid-template-columns: .8fr 1.2fr; } }
.s-split + .s-split { margin-top: 3.5rem; padding-top: 3.5rem; border-top: 1px solid var(--s-border); }
.s-split h2 { font-size: 1.75rem; font-weight: 800; margin-top: .5rem; }
@media (min-width: 900px) { .s-split h2 { font-size: 2.1rem; } .s-split > div:first-child { position: sticky; top: calc(var(--s-header-h) + 2rem); } }

/* Valeurs */
.s-values { display: grid; gap: 1rem; }
@media (min-width: 640px) { .s-values { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .s-values { grid-template-columns: repeat(4, 1fr); } }
.s-value { padding: 1.5rem; border-radius: 20px; background: #fff; border: 1px solid var(--s-border); position: relative; overflow: hidden; }
.s-value::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: linear-gradient(90deg, var(--brand), var(--accent)); }
.s-value-num { font-size: .8rem; font-weight: 800; color: var(--s-brand); letter-spacing: .06em; }
.s-value h3 { font-size: 1.1rem; font-weight: 700; margin-top: .75rem; }
.s-value p { color: var(--s-muted); margin-top: .45rem; font-size: .95rem; }

/* Bandeau sombre */
.s-dark {
    background: radial-gradient(90% 120% at 0% 0%, var(--brand-700) 0%, var(--brand-900) 55%, #0b1020 100%);
    color: #fff; border-radius: 28px; padding: 2.25rem 1.5rem; position: relative; overflow: hidden;
}
@media (min-width: 900px) { .s-dark { padding: 3.5rem; } }
.s-dark h2 { font-size: 1.8rem; font-weight: 800; }
.s-dark p { color: rgba(255, 255, 255, .78); margin-top: .75rem; }
.s-dark .s-eyebrow { color: color-mix(in srgb, var(--accent) 75%, #fff); }
.s-dark-grid { display: grid; gap: 1.5rem; align-items: center; }
@media (min-width: 900px) { .s-dark-grid { grid-template-columns: 1.3fr .7fr; } .s-dark-grid .s-hero-ctas { justify-content: flex-end; margin-top: 0; } }

/* Services */
.s-services { display: grid; gap: 1rem; }
@media (min-width: 640px) { .s-services { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .s-services { grid-template-columns: repeat(3, 1fr); gap: 1.25rem; } }
.s-service {
    display: flex; flex-direction: column; gap: 1rem; padding: 1.75rem;
    background: #fff; border: 1px solid var(--s-border); border-radius: 20px;
    text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.s-service:hover { border-color: var(--brand-200); box-shadow: var(--s-shadow-lg); transform: translateY(-3px); }
.s-service h2 { font-size: 1.15rem; font-weight: 700; }
.s-service p { color: var(--s-muted); font-size: .96rem; flex: 1; }
.s-service-more { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; font-size: .92rem; color: var(--s-brand); }
.s-service-more svg { transition: transform .2s; }
.s-service:hover .s-service-more svg { transform: translateX(3px); }

/* Contact */
.s-contact { display: grid; gap: 1.5rem; align-items: start; }
@media (min-width: 960px) { .s-contact { grid-template-columns: .85fr 1.15fr; gap: 2.5rem; } }
.s-contact-list { display: grid; gap: .75rem; }
.s-contact-item {
    display: flex; gap: 1rem; align-items: center; padding: 1.1rem 1.25rem;
    background: #fff; border: 1px solid var(--s-border); border-radius: 16px; text-decoration: none;
    transition: border-color .15s, box-shadow .15s;
}
a.s-contact-item:hover { border-color: var(--brand-200); box-shadow: var(--s-shadow); }
.s-contact-item b { display: block; font-size: .98rem; }
.s-contact-item small { display: block; color: var(--s-muted); font-size: .88rem; }
.s-contact-item .s-ico { width: 44px; height: 44px; font-size: 1.2rem; }

.site .field textarea {
    width: 100%; min-height: 150px; padding: .8rem .95rem; resize: vertical;
    border: 1px solid var(--s-border-strong); border-radius: 12px; background: #fff;
    font: inherit; font-size: 16px; color: var(--s-text); line-height: 1.5;
    transition: border-color .15s, box-shadow .15s;
}
.site .field textarea:focus { outline: none; border-color: var(--s-brand); box-shadow: 0 0 0 4px var(--brand-ring); }
.site .field--error textarea { border-color: var(--s-danger); }
.s-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.s-note { font-size: .85rem; color: var(--s-muted); margin-top: .9rem; }

/* Pages d'erreur et de maintenance */
.s-status { min-height: calc(100vh - var(--s-header-h) - 1px); display: grid; place-items: center; text-align: center; padding: 3rem 0; }
.s-status-code {
    font-size: 6rem; font-weight: 800; letter-spacing: -.05em; line-height: 1;
    background: linear-gradient(135deg, var(--brand), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (min-width: 768px) { .s-status-code { font-size: 9rem; } }
.s-status h1 { font-size: 1.8rem; font-weight: 800; margin-top: 1rem; }
.s-status p { color: var(--s-muted); margin: .75rem auto 0; max-width: 460px; }
.s-status .s-hero-ctas { justify-content: center; }

/* Motif de points discret */
.s-dots {
    background-image: radial-gradient(color-mix(in srgb, var(--brand) 16%, transparent) 1px, transparent 1px);
    background-size: 22px 22px;
}

/* ==========================================================================
   Annuaire des boutiques (/boutique)
   ========================================================================== */

.s-dir-hero { padding-bottom: 3.5rem; }
.s-dir-search {
    display: flex; align-items: center; gap: .5rem;
    max-width: 640px; margin: 2rem auto 0; padding: .4rem .4rem .4rem 1rem;
    background: #fff; border: 1px solid var(--s-border); border-radius: 16px; box-shadow: var(--s-shadow-lg);
}
.s-dir-search > svg { color: var(--s-muted); flex-shrink: 0; }
.s-dir-search input { flex: 1; min-width: 0; height: 46px; border: 0; outline: none; font: inherit; font-size: 16px; background: none; color: var(--s-text); }
.s-dir-search .s-btn { min-height: 46px; box-shadow: none; }
@media (max-width: 480px) { .s-dir-search .s-btn { padding: .6rem .9rem; } }

.s-dir-toolbar { display: grid; gap: 1rem; margin-bottom: 1.75rem; }
.s-chips { display: flex; gap: .5rem; overflow-x: auto; padding-bottom: .25rem; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.s-chips::-webkit-scrollbar { display: none; }
.s-chip {
    flex-shrink: 0; display: inline-flex; align-items: center; gap: .4rem;
    padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--s-border); background: #fff;
    font-size: .9rem; font-weight: 600; color: var(--s-text-2); text-decoration: none; white-space: nowrap;
    transition: border-color .15s, background .15s;
}
.s-chip:hover { border-color: var(--s-border-strong); }
.s-chip.is-active { background: var(--s-brand); border-color: var(--s-brand); color: #fff; }
.s-chip small { font-size: .75rem; font-weight: 700; opacity: .7; }

.s-dir-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; font-size: .92rem; color: var(--s-muted); }
.s-dir-meta b { color: var(--s-text); }
.s-sort { display: inline-flex; align-items: center; gap: .5rem; margin: 0; }
.s-sort label { font-weight: 500; }
.s-sort select {
    height: 40px; padding: 0 2.2rem 0 .8rem; border-radius: 10px; border: 1px solid var(--s-border-strong);
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .75rem center;
    -webkit-appearance: none; appearance: none;
    font: inherit; font-size: .9rem; font-weight: 600; color: var(--s-text); cursor: pointer;
}
.s-sort select:focus { outline: none; border-color: var(--s-brand); box-shadow: 0 0 0 3px var(--brand-ring); }

.s-shops { display: grid; gap: 1.25rem; }
@media (min-width: 620px) { .s-shops { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .s-shops { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }
.s-shop {
    display: flex; flex-direction: column; overflow: hidden;
    background: #fff; border: 1px solid var(--s-border); border-radius: 20px;
    text-decoration: none; transition: border-color .2s, box-shadow .2s, transform .2s;
}
.s-shop:hover { border-color: var(--brand-200); box-shadow: var(--s-shadow-lg); transform: translateY(-4px); }
.s-shop:focus-visible { outline: 3px solid var(--brand-ring); outline-offset: 2px; }

.s-shop-cover { display: grid; gap: 3px; aspect-ratio: 16 / 9; background: var(--s-bg-soft); overflow: hidden; }
.s-shop-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.s-shop:hover .s-shop-cover img { transform: scale(1.04); }
.s-shop-cover-2 { grid-template-columns: 1fr 1fr; }
.s-shop-cover-3 { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; }
.s-shop-cover-3 img:first-child { grid-row: 1 / 3; }
.s-shop-cover-empty {
    display: block; width: 100%; height: 100%;
    background:
        radial-gradient(rgba(255, 255, 255, .28) 1px, transparent 1px) 0 0 / 18px 18px,
        radial-gradient(60% 90% at 100% 0%, color-mix(in srgb, var(--accent) 55%, transparent), transparent),
        radial-gradient(120% 120% at 0% 0%, var(--brand-400), var(--brand) 50%, var(--brand-700));
}

.s-shop-body { position: relative; padding: 0 1.25rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.s-shop-logo {
    width: 60px; height: 60px; border-radius: 16px; object-fit: cover; margin-top: -30px; margin-bottom: .75rem;
    border: 3px solid #fff; box-shadow: var(--s-shadow); background: #fff;
}
.s-shop-logo-initiale { display: grid; place-items: center; background: var(--brand-50); color: var(--s-brand); font-weight: 800; font-size: 1.4rem; }
.s-shop-name { font-size: 1.1rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.s-shop-desc { color: var(--s-muted); font-size: .9rem; margin-top: .35rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.s-shop-meta { display: flex; flex-wrap: wrap; gap: .4rem .9rem; margin-top: 1rem; padding-top: .9rem; border-top: 1px solid var(--s-border); font-size: .82rem; color: var(--s-text-2); font-weight: 500; }
.s-shop-meta span { display: inline-flex; align-items: center; gap: .3rem; }
.s-shop-meta svg { color: var(--s-muted); }
.s-shop-wa { margin-left: auto; color: #15803d; background: #dcfce7; padding: .1rem .55rem; border-radius: 999px; font-weight: 700; font-size: .75rem; }

.s-dir-empty { text-align: center; padding: 3rem 1rem; border: 1px dashed var(--s-border-strong); border-radius: 24px; }
.s-dir-empty h2 { font-size: 1.3rem; font-weight: 800; margin-top: 1.25rem; }
.s-dir-empty p { color: var(--s-muted); max-width: 420px; margin: .5rem auto 0; }

.s-pager { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: .4rem; margin-top: 2.5rem; }
.s-pager-num {
    min-width: 40px; height: 40px; display: grid; place-items: center; padding: 0 .5rem;
    border-radius: 10px; border: 1px solid var(--s-border); text-decoration: none; font-weight: 600; font-size: .9rem; color: var(--s-text-2);
}
.s-pager-num:hover { border-color: var(--s-border-strong); }
.s-pager-num.is-active { background: var(--s-brand); border-color: var(--s-brand); color: #fff; }
.s-pager-gap { color: var(--s-muted); padding: 0 .25rem; }

/* ==========================================================================
   Place de marché (inspiration petites annonces)
   En-tête avec recherche, barre de catégories, cartes produit, recherche filtrée
   ========================================================================== */

.s-btn-accent { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 30%, transparent); }
.s-btn-accent:hover { background: var(--accent-700); border-color: var(--accent-700); }

/* ---------- En-tête ---------- */
.m-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--s-border); }
.m-header.is-scrolled { box-shadow: 0 4px 16px rgba(15, 23, 42, .06); }
.m-header-row {
    display: grid; align-items: center; gap: .6rem 1rem;
    grid-template-columns: auto 1fr auto; grid-template-areas: "logo actions actions" "search search search";
    padding-top: .6rem; padding-bottom: .6rem;
}
.m-header .s-logo { grid-area: logo; }
.m-cta { grid-area: cta; display: none !important; }
.m-search { grid-area: search; }
.m-actions { grid-area: actions; justify-self: end; display: flex; align-items: center; gap: .15rem; }
@media (min-width: 900px) {
    .m-header-row { grid-template-columns: auto auto minmax(0, 1fr) auto; grid-template-areas: "logo cta search actions"; padding-top: .75rem; padding-bottom: .75rem; gap: 1.25rem; }
    .m-cta { display: inline-flex !important; }
}

.m-search { position: relative; display: flex; }
.m-search input {
    width: 100%; height: 46px; padding: 0 3.25rem 0 1rem;
    border: 1px solid var(--s-border); border-radius: 12px; background: var(--s-bg-soft);
    font: inherit; font-size: 16px; color: var(--s-text);
}
.m-search input:focus { outline: none; background: #fff; border-color: var(--s-brand); box-shadow: 0 0 0 4px var(--brand-ring); }
.m-search button {
    position: absolute; right: 5px; top: 5px; width: 36px; height: 36px; border: 0; border-radius: 9px;
    background: var(--s-brand); color: #fff; display: grid; place-items: center; cursor: pointer;
}
.m-search button:hover { background: var(--s-brand-600); }

.m-action {
    display: flex; flex-direction: column; align-items: center; gap: 2px; padding: .3rem .55rem; border-radius: 10px;
    border: 0; background: none; font: inherit; color: var(--s-text-2); text-decoration: none; cursor: pointer;
}
.m-action:hover, .m-action.is-active { color: var(--s-brand); background: var(--brand-50); }
.m-action-ico { position: relative; display: grid; place-items: center; }
.m-action-label { font-size: .7rem; font-weight: 600; white-space: nowrap; }
@media (max-width: 480px) { .m-action-label { display: none; } .m-action { padding: .45rem; } }
.m-badge {
    position: absolute; top: -6px; right: -9px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 999px;
    background: var(--accent); color: #fff; font-size: .66rem; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff;
}
.m-badge[hidden] { display: none !important; }
@media (min-width: 900px) { .m-burger { display: none; } }

/* Menu déroulant (toutes tailles) */
.m-header .s-nav {
    position: fixed; inset: 0 0 0 auto; width: min(340px, 88vw); z-index: 60;
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    padding: 1.25rem 1.25rem 2rem; background: #fff; box-shadow: var(--s-shadow-lg);
    transform: translateX(100%); opacity: 1; pointer-events: none; transition: transform .25s ease; overflow-y: auto;
}
.m-header .s-nav.is-open { transform: none; pointer-events: auto; }
.m-header .s-nav > a:not(.s-btn) { padding: .95rem 0; border-bottom: 1px solid var(--s-border); font-size: 1rem; font-weight: 500; color: var(--s-text); text-decoration: none; }
.m-header .s-nav .s-btn { margin-top: 1rem; }
body.nav-open::after { content: ""; position: fixed; inset: 0; z-index: 55; background: rgba(15, 23, 42, .4); }

/* Barre de catégories */
.m-cats { border-top: 1px solid var(--s-border); background: #fff; }
.m-cats-inner { display: flex; align-items: center; gap: .25rem; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-top: .35rem; padding-bottom: .35rem; }
.m-cats-inner::-webkit-scrollbar { display: none; }
.m-cat {
    flex-shrink: 0; display: inline-flex; align-items: center; gap: .35rem; padding: .45rem .7rem; border-radius: 8px;
    font-size: .88rem; font-weight: 500; color: var(--s-text-2); text-decoration: none; white-space: nowrap;
}
.m-cat:hover { background: var(--s-bg-soft); color: var(--s-text); }
.m-cat.is-active { color: var(--s-brand); font-weight: 700; background: var(--brand-50); }
.m-cat-strong { color: var(--accent-700); font-weight: 700; }
.m-cats-sep { flex-shrink: 0; width: 1px; height: 20px; background: var(--s-border); margin: 0 .35rem; }

/* ---------- Accueil ---------- */
.is-home h1, .is-home .m-section-head h2, .h-cats-head h2, .h-how-head h2, .is-home .m-sell h2 {
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif; letter-spacing: -.03em;
}

/* Hero */
.h-hero {
    position: relative; overflow: hidden; isolation: isolate; padding: 2.25rem 0 5.5rem; color: #fff;
    background: linear-gradient(155deg, var(--brand-900) 0%, var(--brand-700) 45%, var(--brand) 100%);
}
.h-hero::before {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35;
    background-image: radial-gradient(rgba(255, 255, 255, .35) 1px, transparent 1px); background-size: 24px 24px;
    mask-image: radial-gradient(70% 80% at 30% 40%, #000, transparent);
    -webkit-mask-image: radial-gradient(70% 80% at 30% 40%, #000, transparent);
}
.h-blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); pointer-events: none; }
.h-blob-1 { width: 460px; height: 460px; right: -120px; top: -140px; background: color-mix(in srgb, var(--accent) 70%, transparent); opacity: .55; }
.h-blob-2 { width: 420px; height: 420px; left: -160px; bottom: -220px; background: #22d3ee; opacity: .28; }
.h-hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 3rem; align-items: center; }
@media (min-width: 1000px) {
    .h-hero { padding: 4rem 0 7.5rem; }
    .h-hero-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 3.5rem; }
}
.h-pill {
    display: inline-flex; align-items: center; gap: .55rem; padding: .35rem .9rem .35rem .65rem; border-radius: 999px;
    background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); font-size: .82rem; font-weight: 600;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.h-pill-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: #4ade80; }
.h-pill-dot::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #4ade80; animation: h-ping 2s ease-out infinite; }
@keyframes h-ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }
.h-hero h1 { font-size: 2.2rem; font-weight: 800; line-height: 1.06; margin-top: 1.1rem; max-width: 640px; text-wrap: balance; }
@media (min-width: 600px) { .h-hero h1 { font-size: 2.9rem; } }
@media (min-width: 1100px) { .h-hero h1 { font-size: 3.5rem; } }
.h-lead { color: rgba(255, 255, 255, .78); margin-top: 1rem; max-width: 540px; font-size: 1.06rem; line-height: 1.6; }

.h-search {
    display: grid; gap: .45rem; margin-top: 1.9rem; max-width: 640px;
    background: #fff; padding: .5rem; border-radius: 20px; box-shadow: 0 30px 70px rgba(2, 6, 23, .35), 0 0 0 6px rgba(255, 255, 255, .08);
}
@media (min-width: 640px) { .h-search { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) auto; align-items: center; } }
.h-field { min-width: 0; display: flex; align-items: center; gap: .6rem; padding: 0 .9rem; border-radius: 14px; background: var(--s-bg-soft); color: var(--s-muted); transition: background .15s, box-shadow .15s; }
.h-field input { flex: 1; min-width: 0; height: 52px; border: 0; background: none; outline: none; font: inherit; font-size: 16px; color: var(--s-text); }
.h-field:focus-within { background: #fff; box-shadow: inset 0 0 0 2px var(--s-brand); color: var(--s-brand); }
.h-search-btn { min-height: 52px; border-radius: 14px; box-shadow: none; gap: .5rem; padding-inline: 1.35rem; }
.h-search-btn svg { transition: transform .2s; }
.h-search-btn:hover svg { transform: translateX(3px); }

.h-garanties { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem 1.25rem; font-size: .86rem; font-weight: 500; color: rgba(255, 255, 255, .85); }
.h-garanties li { display: inline-flex; align-items: center; gap: .45rem; }
.h-garanties li > span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .14); color: #fff; }
.h-garanties li:first-child > span { background: var(--s-whatsapp); }
.h-garanties li > span svg { width: 14px; height: 14px; }

/* Vignettes du hero : produits réels ou catégories */
.h-collage { position: relative; display: none; grid-template-columns: 1fr 1fr; gap: 1rem; padding: 0 0 2rem; }
@media (min-width: 1000px) { .h-collage { display: grid; } }
.h-collage::before {
    content: ""; position: absolute; inset: 8% 4% 4% 8%; z-index: -1; border-radius: 40px;
    border: 1px dashed rgba(255, 255, 255, .22); transform: rotate(-4deg);
}
.h-tile {
    position: relative; display: block; aspect-ratio: 1; border-radius: 26px; overflow: hidden; text-decoration: none;
    background: linear-gradient(145deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .05));
    box-shadow: 0 24px 50px rgba(2, 6, 23, .35); transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.h-tile:nth-child(even) { transform: translateY(2rem); }
.h-tile:hover { transform: translateY(-.35rem); }
.h-tile:nth-child(even):hover { transform: translateY(1.65rem); }
.h-tile img { width: 100%; height: 100%; object-fit: cover; }
.h-tile.is-vide { background: linear-gradient(145deg, var(--brand-400), var(--brand-700)) ; }
.h-tile.is-vide::before {
    content: ""; position: absolute; inset: 0 0 25% 0; opacity: .5;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.5'%3E%3Cpath d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z'/%3E%3Cpath d='M3 6h18'/%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3C/svg%3E") no-repeat center;
}
.h-tile-cat { display: grid; place-items: center; }
.h-tile-cat:nth-of-type(4n+1) { background: linear-gradient(145deg, #fde68a, #f59e0b); }
.h-tile-cat:nth-of-type(4n+2) { background: linear-gradient(145deg, #fbcfe8, #db2777); }
.h-tile-cat:nth-of-type(4n+3) { background: linear-gradient(145deg, #a7f3d0, #059669); }
.h-tile-cat:nth-of-type(4n) { background: linear-gradient(145deg, #bae6fd, #0284c7); }
.h-tile-emoji { font-size: 4.25rem; line-height: 1; margin-bottom: 2.5rem; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, .2)); }
.h-tile-tag {
    position: absolute; left: .7rem; right: .7rem; bottom: .7rem; display: flex; flex-direction: column; padding: .55rem .75rem; border-radius: 14px;
    background: rgba(255, 255, 255, .95); color: var(--s-muted); font-size: .74rem; line-height: 1.3; box-shadow: 0 6px 16px rgba(2, 6, 23, .12);
}
.h-tile-tag b { color: var(--s-text); font-size: .95rem; font-weight: 800; }
.h-tile-tag > * { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.h-bubble {
    position: absolute; z-index: 2; display: flex; align-items: center; gap: .65rem; padding: .7rem 1.05rem .7rem .7rem;
    border-radius: 18px; background: #fff; color: var(--s-text); box-shadow: 0 22px 44px rgba(2, 6, 23, .3);
    animation: h-float 6s ease-in-out infinite;
}
.h-bubble b { display: block; font-size: .86rem; }
.h-bubble small { color: var(--s-muted); font-size: .74rem; }
.h-bubble-ico { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.h-bubble-wa { left: -2.75rem; top: 57%; }
.h-bubble-wa .h-bubble-ico { background: var(--s-whatsapp); }
.h-bubble-cash { right: -1.5rem; top: -1.25rem; animation-delay: -3s; }
.h-bubble-cash .h-bubble-ico { background: var(--accent); }
@keyframes h-float { 50% { transform: translateY(-10px); } }

/* Catégories : carte flottante qui chevauche le hero */
.h-cats-wrap { position: relative; z-index: 2; margin-top: -3.5rem; }
@media (min-width: 1000px) { .h-cats-wrap { margin-top: -4.5rem; } }
.h-cats-card { background: #fff; border-radius: 24px; padding: 1.1rem 1.1rem .4rem; box-shadow: 0 24px 60px rgba(15, 23, 42, .12), 0 0 0 1px rgba(15, 23, 42, .04); }
@media (min-width: 900px) { .h-cats-card { padding: 1.5rem 1.75rem .6rem; } }
.h-cats-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 0 .25rem; }
.h-cats-head h2 { font-size: 1.1rem; font-weight: 800; }
.h-cats { display: flex; gap: .4rem; overflow-x: auto; padding: 1rem 0 .9rem; scrollbar-width: none; scroll-snap-type: x proximity; }
.h-cats::-webkit-scrollbar { display: none; }
.h-cat {
    flex: 0 0 auto; width: 112px; display: flex; flex-direction: column; align-items: center; gap: .3rem; padding: .6rem .35rem .7rem;
    text-decoration: none; color: var(--s-text); text-align: center; scroll-snap-align: start; border-radius: 18px; transition: background .15s;
}
.h-cat:hover { background: var(--s-bg-soft); }
.h-cat:focus-visible { outline: 3px solid var(--brand-ring); outline-offset: 2px; }
.h-cat-ico {
    width: 64px; height: 64px; border-radius: 20px; display: grid; place-items: center; font-size: 1.9rem; margin-bottom: .25rem;
    background: linear-gradient(145deg, var(--brand-50), var(--brand-100)); transition: transform .2s cubic-bezier(.2, .7, .2, 1);
}
.h-cat:nth-child(5n+2) .h-cat-ico { background: linear-gradient(145deg, #fff7ed, #fed7aa); }
.h-cat:nth-child(5n+3) .h-cat-ico { background: linear-gradient(145deg, #ecfdf5, #a7f3d0); }
.h-cat:nth-child(5n+4) .h-cat-ico { background: linear-gradient(145deg, #fdf2f8, #fbcfe8); }
.h-cat:nth-child(5n) .h-cat-ico { background: linear-gradient(145deg, #f0f9ff, #bae6fd); }
.h-cat:hover .h-cat-ico { transform: translateY(-4px) rotate(-4deg); }
.h-cat.h-cat-alt .h-cat-ico { background: linear-gradient(145deg, #334155, #0f172a); }
.h-cat-name { font-size: .84rem; font-weight: 700; line-height: 1.2; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.h-cat-count { font-size: .72rem; color: var(--s-muted); }

/* En-têtes de section */
.is-home .m-section-head { align-items: flex-end; margin-bottom: 1.4rem; }
.is-home .m-section-head h2 { font-size: 1.55rem; }
@media (min-width: 900px) { .is-home .m-section-head h2 { font-size: 2rem; } }
.h-kicker { display: inline-flex; align-items: center; gap: .45rem; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--s-brand); margin-bottom: .3rem; }
.h-kicker::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }

/* Boutiques premium (publicités) */
.h-premium-head { display: grid; gap: 1rem; align-items: end; margin-bottom: 1.5rem; }
@media (min-width: 900px) { .h-premium-head { grid-template-columns: 1fr minmax(0, 420px); gap: 2rem; } }
.h-premium-head h2 { font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif; letter-spacing: -.03em; font-size: 1.55rem; font-weight: 800; }
@media (min-width: 900px) { .h-premium-head h2 { font-size: 2rem; } }
.h-premium-head p { color: var(--s-muted); font-size: .92rem; margin-top: .2rem; }
.h-kicker-premium { color: var(--accent-700); }
.h-kicker-premium::before { display: none; }
.h-kicker-premium span { color: var(--accent); }
.h-premium-search {
    display: flex; align-items: center; gap: .5rem; padding: .35rem .35rem .35rem .9rem; border-radius: 14px;
    background: #fff; border: 1px solid var(--s-border-strong); color: var(--s-muted); transition: border-color .15s, box-shadow .15s;
}
.h-premium-search:focus-within { border-color: var(--s-brand); box-shadow: 0 0 0 4px var(--brand-ring); color: var(--s-brand); }
.h-premium-search input[type=search] { flex: 1; min-width: 0; height: 40px; border: 0; outline: none; background: none; font: inherit; font-size: 16px; color: var(--s-text); }
.h-premium-search .s-btn { flex-shrink: 0; }

.h-pub {
    display: grid; gap: 1rem; padding: .75rem; border-radius: 28px; margin-top: 1.25rem;
    background: linear-gradient(135deg, var(--accent-50) 0%, #fff 55%, var(--brand-50) 100%);
    border: 1px solid color-mix(in srgb, var(--accent) 18%, #fff);
}
@media (min-width: 1000px) { .h-pub { grid-template-columns: 320px minmax(0, 1fr); gap: 1.5rem; padding: 1rem; align-items: stretch; } }
.h-pub-banner {
    position: relative; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; gap: .35rem;
    min-height: 220px; padding: 1.25rem; border-radius: 22px; color: #fff; text-decoration: none;
    background: radial-gradient(120% 120% at 0% 0%, var(--brand-400), var(--brand-700) 55%, var(--brand-900));
}
.h-pub-banner::before { content: ""; position: absolute; z-index: -1; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(closest-side, color-mix(in srgb, var(--accent) 60%, transparent), transparent); }
.h-pub-banner.has-image { background: #0f172a var(--pub-image) center / cover no-repeat; }
.h-pub-banner.has-image::before { inset: 0; width: auto; height: auto; border-radius: 0; background: linear-gradient(180deg, rgba(2, 6, 23, .05) 20%, rgba(2, 6, 23, .82)); }
.h-pub-badge {
    position: absolute; left: 1rem; top: 1rem; padding: .2rem .6rem; border-radius: 999px; font-size: .7rem; font-weight: 700; letter-spacing: .04em;
    background: rgba(255, 255, 255, .92); color: var(--accent-700);
}
.h-pub-shop { display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; font-weight: 600; color: rgba(255, 255, 255, .9); }
.h-pub-shop img, .h-pub-shop > span { width: 30px; height: 30px; border-radius: 9px; object-fit: cover; background: #fff; color: var(--s-brand); display: grid; place-items: center; font-weight: 800; font-size: .85rem; }
.h-pub-title { font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif; font-size: 1.45rem; font-weight: 800; line-height: 1.15; letter-spacing: -.02em; }
.h-pub-text { font-size: .9rem; color: rgba(255, 255, 255, .85); line-height: 1.45; }
.h-pub-cta { display: inline-flex; align-items: center; gap: .4rem; margin-top: .5rem; font-weight: 700; font-size: .9rem; }
.h-pub-cta svg { transition: transform .2s; }
.h-pub-banner:hover .h-pub-cta svg { transform: translateX(4px); }
@media (min-width: 1000px) { .h-pub-banner { min-height: 100%; padding: 1.5rem; } .h-pub-title { font-size: 1.6rem; } }
.h-pub-produits { position: relative; min-width: 0; align-self: center; }
.h-pub-nav { justify-content: flex-end; margin-bottom: .6rem; }
.h-pub-nav:not(:has(.h-arrow:not(:disabled))) { display: none; }
.h-rail-nav { display: flex; align-items: center; gap: .4rem; }
.h-arrow {
    display: none; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--s-border-strong); background: #fff; color: var(--s-text);
    place-items: center; cursor: pointer; transition: background .15s, color .15s, border-color .15s, opacity .15s;
}
.h-arrow:hover:not(:disabled) { background: var(--s-text); border-color: var(--s-text); color: #fff; }
.h-arrow:disabled { opacity: .35; cursor: default; }
@media (min-width: 900px) { .h-arrow { display: grid; } }
.h-rail {
    position: relative; display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - .75rem) / 2.2); gap: .75rem;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: .25rem;
}
.h-rail::-webkit-scrollbar { display: none; }
.h-rail > * { scroll-snap-align: start; }
@media (min-width: 640px) { .h-rail { grid-auto-columns: calc((100% - 2 * .9rem) / 3.2); gap: .9rem; } }
@media (min-width: 1000px) { .h-rail { grid-auto-columns: calc((100% - 3 * 1.1rem) / 4); gap: 1.1rem; } }
.h-rail-pub .ad-media { background-color: #fff; }
@media (min-width: 1000px) { .h-rail-pub { grid-auto-columns: calc((100% - 2 * 1.1rem) / 3); } }

/* En-tête simplifié de l'accueil (sans recherche produits) */
.m-header-row-simple { grid-template-areas: "logo actions actions"; }
@media (min-width: 900px) { .m-header-row-simple { grid-template-columns: auto auto 1fr auto; grid-template-areas: "logo cta . actions"; } }

/* Sélecteur de domaine du hero */
.h-field-select select {
    flex: 1; min-width: 0; height: 52px; border: 0; background: none; outline: none; font: inherit; font-size: 16px; color: var(--s-text); cursor: pointer;
    -webkit-appearance: none; appearance: none; padding-right: 1.4rem;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right center;
}

/* Acheter en 3 étapes */
.h-how {
    --how-bg: var(--brand-50);
    display: grid; gap: 1.75rem; padding: 1.75rem 1.25rem; border-radius: 28px; background: var(--how-bg);
}
@media (min-width: 900px) { .h-how { grid-template-columns: .8fr 2fr; align-items: center; gap: 3rem; padding: 3rem; } }
.h-how-head h2 { font-size: 1.6rem; font-weight: 800; line-height: 1.15; }
@media (min-width: 900px) { .h-how-head h2 { font-size: 2rem; } }
.h-how-head p { color: var(--s-text-2); margin-top: .6rem; font-size: .95rem; line-height: 1.55; }
.h-steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: 1.5rem; counter-reset: etape; }
.h-steps::before { content: ""; position: absolute; left: 27px; top: 28px; bottom: 28px; border-left: 2px dashed var(--brand-200); }
.h-steps li { position: relative; display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; counter-increment: etape; }
.h-step-ico {
    position: relative; grid-row: 1 / 3; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center;
    background: #fff; color: var(--s-brand); box-shadow: 0 0 0 6px var(--how-bg), 0 10px 24px rgba(15, 23, 42, .08);
}
.h-step-ico::after {
    content: counter(etape); position: absolute; right: -7px; top: -7px; width: 22px; height: 22px; border-radius: 50%;
    display: grid; place-items: center; background: var(--s-text); color: #fff; font-size: .7rem; font-weight: 800; border: 2px solid var(--how-bg);
}
.h-step-wa { color: #15803d; }
.h-step-cash { color: var(--accent-700); }
.h-steps b { font-size: 1.02rem; align-self: end; }
.h-steps small { color: var(--s-text-2); font-size: .9rem; line-height: 1.5; }
@media (min-width: 720px) {
    .h-steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
    .h-steps::before { left: 28px; right: 16%; top: 28px; bottom: auto; border-left: 0; border-top: 2px dashed var(--brand-200); }
    .h-steps li { grid-template-columns: 1fr; gap: .35rem; }
    .h-step-ico { grid-row: auto; margin-bottom: .75rem; }
}

/* Apparition au défilement (uniquement si JavaScript est actif) */
.h-js .h-reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.h-js .h-reveal.is-in { opacity: 1; transform: none; }

.m-section { padding: 2.25rem 0; }
@media (min-width: 900px) { .m-section { padding: 3rem 0; } }
.m-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; }
.m-section-head h2 { font-size: 1.35rem; font-weight: 800; }
@media (min-width: 900px) { .m-section-head h2 { font-size: 1.6rem; } }
.m-more { font-weight: 600; font-size: .92rem; color: var(--s-brand); text-decoration: none; white-space: nowrap; }
.m-more:hover { text-decoration: underline; }

/* Cartes produit */
.ads { display: grid; gap: 1.25rem .75rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 640px) { .ads { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .ads { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.75rem 1.1rem; } }
@media (min-width: 1000px) { .ads-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .ads-3 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ad { position: relative; display: flex; flex-direction: column; min-width: 0; }
.ad-media { position: relative; display: block; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--s-bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40' viewBox='0 0 24 24' fill='none' stroke='%23cbd5e1' stroke-width='1.5'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-3.1-3.1a2 2 0 0 0-2.8 0L6 21'/%3E%3C/svg%3E") no-repeat center; }
.ad-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.ad:hover .ad-media img { transform: scale(1.04); }
.ad.is-out .ad-media img { opacity: .5; }
.ad-badge { position: absolute; left: .5rem; top: .5rem; padding: .15rem .55rem; border-radius: 999px; font-size: .72rem; font-weight: 700; background: var(--s-brand); color: #fff; }
.ad-badge-dark { background: rgba(15, 23, 42, .82); }
.ad-badge-warn { background: #fff; color: var(--accent-700); }
.ad-fav {
    position: absolute; right: .5rem; top: .5rem; z-index: 2; width: 38px; height: 38px; border-radius: 50%;
    border: 0; background: rgba(255, 255, 255, .92); display: grid; place-items: center; cursor: pointer;
    box-shadow: 0 2px 8px rgba(15, 23, 42, .15); transition: transform .15s;
}
.ad-fav svg { fill: none; stroke: var(--s-text); stroke-width: 2; transition: fill .15s, stroke .15s; }
.ad-fav:hover { transform: scale(1.08); }
.ad-fav.is-on svg { fill: #e11d48; stroke: #e11d48; }
.ad-fav.is-pop { animation: m-pop .3s ease; }
@keyframes m-pop { 50% { transform: scale(1.25); } }
.ad-body { display: flex; flex-direction: column; gap: .15rem; padding: .6rem .1rem 0; text-decoration: none; color: var(--s-text); min-width: 0; }
.ad-title { font-size: .92rem; font-weight: 500; color: var(--s-text-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.35; }
.ad-price { font-weight: 800; font-size: 1.02rem; margin-top: .1rem; }
.ad-meta { display: flex; flex-direction: column; font-size: .78rem; color: var(--s-muted); margin-top: .2rem; min-width: 0; }
.ad-meta span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ad-shop { font-weight: 600; color: var(--s-text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.ad-date { font-size: .74rem; color: var(--s-muted); }

/* Carrousel horizontal de boutiques */
.m-rail { display: grid; grid-auto-flow: column; grid-auto-columns: 78%; gap: .9rem; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; scrollbar-width: none; }
.m-rail::-webkit-scrollbar { display: none; }
.m-rail > * { scroll-snap-align: start; }
@media (min-width: 640px) { .m-rail { grid-auto-columns: 45%; } }
@media (min-width: 1000px) { .m-rail { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; gap: 1.25rem; } }

.m-sell {
    display: grid; gap: 2rem; align-items: center; overflow: hidden; border-radius: 28px; padding: 2rem 1.5rem; color: #fff;
    background: radial-gradient(100% 120% at 0% 0%, var(--brand-700) 0%, var(--brand-900) 55%, #0b1020 100%);
}
@media (min-width: 900px) { .m-sell { grid-template-columns: 1.3fr .7fr; padding: 3rem; } }
.m-sell h2 { font-size: 1.8rem; font-weight: 800; margin-top: .5rem; }
.m-sell p { color: rgba(255, 255, 255, .8); margin-top: .75rem; }
.m-sell ul { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: .55rem; color: #e2e8f0; font-size: .95rem; }
.m-sell li { display: flex; align-items: center; gap: .6rem; }
.m-sell li > span { width: 22px; height: 22px; flex-shrink: 0; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #fff; font-size: .72rem; font-weight: 800; }
.m-sell .s-eyebrow { color: color-mix(in srgb, var(--accent) 75%, #fff); }
.m-sell .s-mockup { max-width: 250px; }
@media (max-width: 899px) { .m-sell .s-mockup { display: none; } }

/* ---------- Page de recherche ---------- */
.r-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1rem; padding: .75rem 0 1.25rem; }
.r-head h1 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
.r-head h1 span { color: var(--s-muted); font-weight: 600; }
.r-head p { color: var(--s-muted); font-size: .95rem; }
.r-layout { display: grid; gap: 1rem; padding-bottom: 3rem; align-items: start; }
@media (min-width: 1000px) { .r-layout { grid-template-columns: 270px minmax(0, 1fr); gap: 2rem; } }

.r-filters > summary { list-style: none; cursor: pointer; width: max-content; }
.r-filters > summary::-webkit-details-marker { display: none; }
.r-count { min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--s-brand); color: #fff; font-size: .72rem; display: inline-grid; place-items: center; }
.r-form { display: grid; gap: 1.1rem; margin-top: .75rem; padding: 1.25rem; border: 1px solid var(--s-border); border-radius: 16px; background: #fff; }
@media (min-width: 1000px) {
    .r-filters { position: sticky; top: 140px; }
    .r-filters > summary { display: none; }
    .r-filters .r-form { margin-top: 0; }
    .r-filters:not([open]) > .r-form { display: grid; }
}
.r-group { display: grid; gap: .4rem; border: 0; padding: 0; margin: 0; min-width: 0; }
.r-group > label, .r-group > legend { font-weight: 700; font-size: .88rem; padding: 0; margin-bottom: .1rem; }
.r-input {
    width: 100%; height: 44px; padding: 0 .8rem; border: 1px solid var(--s-border-strong); border-radius: 10px; background: #fff;
    font: inherit; font-size: 16px; color: var(--s-text); min-width: 0;
}
.r-input:focus { outline: none; border-color: var(--s-brand); box-shadow: 0 0 0 3px var(--brand-ring); }
select.r-input { -webkit-appearance: none; appearance: none; padding-right: 2rem; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='3'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .7rem center; }
.r-price { display: grid; grid-template-columns: 1fr auto 1fr; gap: .4rem; align-items: center; color: var(--s-muted); }
.r-check { display: flex; align-items: center; gap: .6rem; font-weight: 600; font-size: .92rem; cursor: pointer; }
.r-check input { width: 19px; height: 19px; accent-color: var(--s-brand); }
.r-actions { display: grid; gap: .5rem; }

.r-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: 1.25rem; }
.r-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.r-chip {
    display: inline-flex; align-items: center; gap: .4rem; padding: .35rem .75rem; border-radius: 999px;
    background: var(--brand-50); color: var(--s-brand-700); font-size: .84rem; font-weight: 600; text-decoration: none;
}
.r-chip span { opacity: .6; font-size: .75rem; }
.r-chip:hover span { opacity: 1; }

/* « À la une » */
.ad-badge-une { background: var(--accent); color: #fff; box-shadow: 0 2px 8px color-mix(in srgb, var(--accent) 40%, transparent); }
.ad.is-une .ad-media { box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 55%, transparent); }

/* ==========================================================================
   Parcours de commande : panier, coordonnées, confirmation
   ========================================================================== */

body.parcours { background: var(--s-bg-soft); }
body.parcours main { min-height: calc(100vh - 140px); }

/* En-tête épuré */
.co-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--s-border); }
.co-header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1rem; height: 64px; }
.co-steps ol { display: flex; justify-content: center; align-items: center; gap: .5rem; list-style: none; margin: 0; padding: 0; }
.co-steps li { display: inline-flex; align-items: center; gap: .45rem; font-size: .85rem; font-weight: 600; color: var(--s-muted); }
.co-steps li a { display: inline-flex; align-items: center; gap: .45rem; color: inherit; text-decoration: none; }
.co-steps li + li::before { content: ""; width: 32px; height: 2px; border-radius: 2px; background: var(--s-border-strong); margin-right: .1rem; }
.co-steps b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .78rem; border: 2px solid var(--s-border-strong); background: #fff; }
.co-steps .is-done { color: var(--s-brand); }
.co-steps .is-done b { background: var(--s-brand); border-color: var(--s-brand); color: #fff; }
.co-steps .is-current { color: var(--s-text); }
.co-steps .is-current b { border-color: var(--s-brand); color: var(--s-brand); box-shadow: 0 0 0 4px var(--brand-ring); }
@media (max-width: 719px) {
    .co-header-inner { grid-template-columns: auto 1fr auto; gap: .5rem; }
    .co-steps li:not(.is-current) span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
    .co-steps li + li::before { width: 14px; }
    .co-header .m-logo-text { display: none; }
}
.co-back { display: inline-flex; align-items: center; gap: .3rem; font-size: .88rem; font-weight: 600; color: var(--s-text-2); text-decoration: none; white-space: nowrap; }
.co-back:hover { color: var(--s-brand); }
@media (max-width: 719px) { .co-back span { display: none; } .co-back { width: 40px; height: 40px; justify-content: center; border: 1px solid var(--s-border); border-radius: 10px; } }

.co-footer { border-top: 1px solid var(--s-border); background: #fff; padding: 1.1rem 0; font-size: .82rem; color: var(--s-muted); }
.co-footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; }
.co-footer a { color: var(--s-text-2); font-weight: 600; }

/* Mise en page */
.co-page { padding-top: 1.5rem; padding-bottom: 2.5rem; }
.co-title { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .25rem 1rem; margin-bottom: 1.25rem; }
.co-title h1 { font-size: 1.6rem; font-weight: 800; letter-spacing: -.02em; }
@media (min-width: 900px) { .co-title h1 { font-size: 1.9rem; } }
.co-title > span { color: var(--s-muted); font-size: .95rem; flex: 1; }
.co-layout { display: grid; gap: 1.25rem; align-items: start; }
@media (min-width: 960px) { .co-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 1.75rem; } }
.co-main { display: grid; gap: 1rem; min-width: 0; }
.co-card { background: #fff; border: 1px solid var(--s-border); border-radius: 18px; overflow: hidden; }
.co-link { font-size: .88rem; font-weight: 600; color: var(--s-brand); text-decoration: none; white-space: nowrap; }
.co-link:hover { text-decoration: underline; }
.co-muted { color: var(--s-muted); font-weight: 500; }
.co-note { font-size: .88rem; color: var(--s-text-2); background: var(--brand-50); border-radius: 12px; padding: .75rem 1rem; display: grid; gap: .3rem; }
.co-help { font-size: .82rem; color: var(--s-muted); margin-top: .5rem; }

.co-alert { display: flex; gap: .75rem; align-items: flex-start; padding: .9rem 1rem; margin-bottom: 1rem; border-radius: 14px; background: #fffbeb; border: 1px solid #fde68a; color: #92400e; font-size: .9rem; font-weight: 500; }
.co-alert svg { flex-shrink: 0; }
.co-alert ul { margin: 0; padding: 0; list-style: none; display: grid; gap: .2rem; }

/* Boutique */
.co-shop { display: flex; align-items: center; justify-content: space-between; gap: .75rem; padding: .9rem 1.1rem; border-bottom: 1px solid var(--s-border); }
.co-shop-id { display: flex; align-items: center; gap: .7rem; min-width: 0; text-decoration: none; color: var(--s-text); }
.co-shop-id b { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.co-shop-id small { display: block; font-size: .78rem; color: var(--s-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.co-shop-logo { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; flex-shrink: 0; border: 1px solid var(--s-border); }
.co-shop-initiale { display: grid; place-items: center; background: var(--brand-50); color: var(--s-brand); font-weight: 800; border-color: transparent; }

/* Lignes */
.co-lines { list-style: none; margin: 0; padding: 0; }
.co-line { display: flex; gap: .9rem; padding: 1rem 1.1rem; border-bottom: 1px solid var(--s-border); }
.co-line:last-child { border-bottom: 0; }
.co-line-img { width: 84px; height: 84px; border-radius: 12px; overflow: hidden; flex-shrink: 0; background: var(--s-bg-soft); }
.co-line-img img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 640px) { .co-line-img { width: 100px; height: 100px; } }
.co-line-body { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: .6rem; }
.co-line-top { display: flex; justify-content: space-between; gap: .75rem; }
.co-line-name { font-weight: 600; color: var(--s-text); text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.co-line-name:hover { color: var(--s-brand); }
.co-line-sub { display: block; font-size: .8rem; color: var(--s-muted); margin-top: .15rem; }
.co-line-sub em { font-style: normal; color: var(--accent-700); font-weight: 600; }
.co-line-total { white-space: nowrap; font-size: 1rem; }
.co-line-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem .75rem; }
.co-line-actions form { margin: 0; }
.co-qty { display: inline-flex; align-items: center; height: 38px; border: 1px solid var(--s-border-strong); border-radius: 10px; overflow: hidden; background: #fff; margin-right: .25rem; }
.co-qty button { width: 36px; height: 100%; border: 0; background: none; font-size: 1.1rem; cursor: pointer; color: var(--s-text); }
.co-qty button:hover:not(:disabled) { background: var(--s-bg-soft); }
.co-qty button:disabled { color: var(--s-border-strong); cursor: default; }
.co-qty input { width: 38px; height: 100%; border: 0; text-align: center; font: inherit; font-weight: 700; font-size: 15px; -moz-appearance: textfield; background: none; }
.co-qty input::-webkit-outer-spin-button, .co-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.co-action { display: inline-flex; align-items: center; gap: .3rem; border: 0; background: none; padding: .35rem .2rem; font: inherit; font-size: .82rem; font-weight: 600; color: var(--s-muted); cursor: pointer; }
.co-action:hover { color: var(--s-text); }
.co-remove:hover { color: var(--s-danger); }
.co-fav svg { fill: none; stroke: currentColor; stroke-width: 2; }
.co-fav.is-on { color: #e11d48; }
.co-fav.is-on svg { fill: #e11d48; stroke: #e11d48; }
@media (max-width: 420px) { .co-action-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); } }
.co-card-foot { display: flex; justify-content: space-between; align-items: center; padding: .85rem 1.1rem; background: var(--s-bg-soft); border-top: 1px solid var(--s-border); font-size: .9rem; color: var(--s-text-2); }

/* Récapitulatif */
.co-summary { position: sticky; top: 84px; }
.co-summary-card { padding: 1.25rem; }
.co-summary-card h2 { font-size: 1.1rem; font-weight: 800; margin-bottom: .85rem; }
.co-summary-shop { font-weight: 700; font-size: .85rem; margin: .75rem 0 .1rem; }
.co-row { display: flex; justify-content: space-between; gap: 1rem; padding: .4rem 0; font-size: .9rem; color: var(--s-text-2); }
.co-row span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.co-total { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .9rem 0; margin-top: .4rem; border-top: 1px solid var(--s-border); font-size: 1.05rem; font-weight: 700; }
.co-total strong { font-size: 1.35rem; font-weight: 800; }
.co-trust { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .45rem; font-size: .82rem; color: var(--s-text-2); }
.co-mini { display: flex; align-items: center; gap: .75rem; padding: .5rem 0; font-size: .9rem; }
.co-mini-img { position: relative; width: 48px; height: 48px; border-radius: 10px; background: var(--s-bg-soft); flex-shrink: 0; }
.co-mini-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }
.co-mini-img b { position: absolute; top: -7px; right: -7px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--s-text); color: #fff; font-size: .7rem; display: grid; place-items: center; border: 2px solid #fff; }
.co-mini-name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.co-mini > span:last-child { font-weight: 600; white-space: nowrap; }

/* Formulaire */
.co-form { padding: 1.25rem; }
@media (min-width: 640px) { .co-form { padding: 1.5rem; } }
.co-form h2 { display: flex; align-items: center; gap: .6rem; font-size: 1.05rem; font-weight: 800; margin-bottom: 1.1rem; }
.co-num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--s-brand); color: #fff; font-size: .8rem; }
.co-choices { display: grid; gap: .6rem; margin-bottom: 1rem; }
@media (min-width: 560px) { .co-choices { grid-template-columns: 1fr 1fr; } }
.co-choice { display: flex; gap: .75rem; align-items: flex-start; padding: .9rem 1rem; border: 1.5px solid var(--s-border-strong); border-radius: 14px; cursor: pointer; transition: border-color .15s, background .15s; }
.co-choice:hover { border-color: var(--brand-200); }
.co-choice input { width: 18px; height: 18px; margin-top: .15rem; accent-color: var(--s-brand); flex-shrink: 0; }
.co-choice:has(input:checked) { border-color: var(--s-brand); background: var(--brand-50); box-shadow: 0 0 0 3px var(--brand-ring); }
.co-choice-body b { display: block; font-size: .95rem; }
.co-choice-body small { display: block; font-size: .8rem; color: var(--s-muted); margin-top: .1rem; }
.co-remember { display: flex; align-items: center; gap: .6rem; font-size: .9rem; color: var(--s-text-2); cursor: pointer; padding: 0 .25rem; }
.co-remember input { width: 18px; height: 18px; accent-color: var(--s-brand); }
.co-submit { margin-top: .25rem; }

/* Panier vide & suggestions */
.co-empty { text-align: center; padding: 3rem 1.25rem; background: #fff; border: 1px solid var(--s-border); border-radius: 22px; }
.co-empty-ico { font-size: 3rem; margin-bottom: .75rem; }
.co-empty h2 { font-size: 1.35rem; font-weight: 800; }
.co-empty p { color: var(--s-muted); margin: .5rem auto 0; max-width: 420px; }
.co-suggest { margin-top: 2.5rem; }

/* Barre collante mobile */
.co-bar { position: fixed; inset: auto 0 0 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 16px calc(.75rem + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--s-border); box-shadow: 0 -6px 20px rgba(15, 23, 42, .08); }
.co-bar small { display: block; font-size: .75rem; color: var(--s-muted); }
.co-bar strong { font-size: 1.1rem; }
body.has-cobar { padding-bottom: 80px; }
@media (min-width: 960px) { .co-bar { display: none; } body.has-cobar { padding-bottom: 0; } }

/* Confirmation */
.co-confirm { max-width: 720px; }
.co-success { text-align: center; padding: 1.5rem 0 1.75rem; }
.co-success-ico { width: 80px; height: 80px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: #dcfce7; color: #15803d; animation: co-pop .5s ease; }
@keyframes co-pop { from { transform: scale(.6); opacity: 0; } }
.co-success h1 { font-size: 1.8rem; font-weight: 800; }
.co-success p { color: var(--s-text-2); margin-top: .5rem; }
.co-order { margin-bottom: 1rem; }
.co-order-body { padding: 1rem 1.1rem 1.2rem; }
.co-status { font-size: .75rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; background: #fffbeb; color: #92400e; white-space: nowrap; }
.co-dl { margin: .25rem 0 0; display: grid; gap: .35rem; font-size: .88rem; }
.co-dl div { display: grid; grid-template-columns: 90px 1fr; gap: .75rem; }
.co-dl dt { color: var(--s-muted); }
.co-dl dd { margin: 0; color: var(--s-text); }
.co-wa { margin-top: 1rem; background: var(--s-whatsapp); border-color: var(--s-whatsapp); color: #fff; }
.co-wa:hover { background: #178f47; border-color: #178f47; }
.co-next { padding: 1.25rem 1.4rem; }
.co-next h2 { font-size: 1.05rem; font-weight: 800; }
.co-next ol { list-style: none; padding: 0; margin: .9rem 0 0; display: grid; gap: .7rem; }
.co-next li { display: flex; gap: .75rem; font-size: .92rem; color: var(--s-text-2); }
.co-next li b { width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0; display: grid; place-items: center; background: var(--brand-50); color: var(--s-brand); font-size: .8rem; }

@media (max-width: 559px) {
    .co-shop { flex-wrap: wrap; row-gap: .4rem; }
    .co-shop-id { flex: 1 1 100%; }
    .co-shop > .co-link { margin-left: 52px; font-size: .82rem; }
}

/* ==========================================================================
   Fiche produit
   ========================================================================== */

.pd { padding-bottom: 1rem; }
.pd-crumbs { padding: 1rem 0; white-space: nowrap; overflow: hidden; flex-wrap: nowrap; }
.pd-crumbs span:last-child { overflow: hidden; text-overflow: ellipsis; color: var(--s-text); }

/* Mobile : photo, panneau d'achat, détails ; grand écran : 2 colonnes, panneau collant */
.pd-grid { display: grid; gap: 1.25rem; }
.pd-media { order: 1; }
.pd-side { order: 2; }
.pd-main { order: 3; }
@media (min-width: 960px) {
    .pd-grid { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); grid-template-areas: "media side" "main side"; gap: 1.5rem 2.5rem; align-items: start; }
    .pd-media { grid-area: media; }
    .pd-main { grid-area: main; }
    .pd-side { grid-area: side; position: sticky; top: 140px; }
}

.pd-media {
    position: relative; aspect-ratio: 1; border-radius: 20px; overflow: hidden; cursor: zoom-in;
    background: var(--s-bg-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64' viewBox='0 0 24 24' fill='none' stroke='%23cbd5e1' stroke-width='1.5'%3E%3Crect x='3' y='3' width='18' height='18' rx='2'/%3E%3Ccircle cx='9' cy='9' r='2'/%3E%3Cpath d='m21 15-3.1-3.1a2 2 0 0 0-2.8 0L6 21'/%3E%3C/svg%3E") no-repeat center;
}
@media (max-width: 639px) { .pd-media { margin: 0 -16px; border-radius: 0; } }
@media (min-width: 960px) { .pd-media { aspect-ratio: 4 / 3.4; } }
.pd-media img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.pd-media.is-out img { opacity: .55; }
.pd-media:focus-visible { outline: 3px solid var(--brand-ring); outline-offset: 3px; }
.pd-zoom { position: absolute; right: .9rem; bottom: .9rem; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--s-text); box-shadow: var(--s-shadow); }
.pd-badges { position: absolute; left: .9rem; top: .9rem; display: flex; gap: .4rem; }
.pd-badges .ad-badge { position: static; font-size: .78rem; padding: .25rem .7rem; }

/* Panneau d'achat */
.pd-buy { background: #fff; border: 1px solid var(--s-border); border-radius: 20px; padding: 1.25rem; box-shadow: 0 10px 30px rgba(15, 23, 42, .06); }
@media (min-width: 960px) { .pd-buy { padding: 1.5rem; } }
.pd-cat a { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--s-brand); text-decoration: none; }
.pd-title { font-size: 1.45rem; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin-top: .35rem; }
@media (min-width: 960px) { .pd-title { font-size: 1.7rem; } }
.pd-price { font-size: 1.75rem; font-weight: 800; letter-spacing: -.02em; margin-top: .6rem; color: var(--s-text); }
.pd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; margin-top: .5rem; font-size: .85rem; color: var(--s-muted); }
.pd-stock { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; font-size: .85rem; }
.pd-stock::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.pd-stock-ok { color: #047857; }
.pd-stock-low { color: var(--accent-700); }
.pd-stock-out { color: var(--s-danger); }
.pd-form { display: grid; gap: .75rem; margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--s-border); }
.pd-qty-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.pd-qty-label { font-weight: 600; font-size: .92rem; }
.pd-qty-row .co-qty { height: 44px; margin: 0; }
.pd-qty-row .co-qty button { width: 42px; }
.pd-qty-row .co-qty input { width: 46px; }
.pd-incart { font-size: .85rem; color: #047857; margin-top: .6rem; }
.pd-incart a { color: var(--s-brand); font-weight: 600; }
.pd-contact { display: grid; gap: .6rem; margin-top: .75rem; }
.pd-wa { background: var(--s-whatsapp); border-color: var(--s-whatsapp); color: #fff; }
.pd-wa:hover { background: #178f47; border-color: #178f47; }
.pd-mini-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; margin-top: .15rem; }
.pd-mini {
    display: inline-flex; align-items: center; justify-content: center; gap: .4rem; min-height: 42px; padding: .5rem .75rem;
    border: 1px solid var(--s-border); border-radius: 12px; background: var(--s-bg-soft);
    font: inherit; font-size: .85rem; font-weight: 600; color: var(--s-text-2); cursor: pointer;
}
.pd-mini:hover { background: #fff; border-color: var(--s-border-strong); }
.pd-fav svg { fill: none; stroke: currentColor; stroke-width: 2; }
.pd-fav.is-on { color: #e11d48; border-color: #fecdd3; background: #fff1f2; }
.pd-fav.is-on svg { fill: #e11d48; stroke: #e11d48; }
.pd-fav.is-pop { animation: m-pop .3s ease; }

/* Vendeur */
.pd-seller {
    display: grid; gap: .9rem; margin-top: 1rem; padding: 1.1rem 1.25rem;
    background: #fff; border: 1px solid var(--s-border); border-radius: 18px; text-decoration: none; color: var(--s-text);
    transition: border-color .15s, box-shadow .15s;
}
.pd-seller:hover { border-color: var(--brand-200); box-shadow: var(--s-shadow); }
.pd-seller-top { display: flex; align-items: center; gap: .85rem; }
.pd-seller-top > span { min-width: 0; }
.pd-seller-top small { display: block; font-size: .78rem; color: var(--s-muted); }
.pd-seller-top b { display: block; font-size: 1.05rem; }
.pd-seller-logo { width: 54px; height: 54px; border-radius: 16px; object-fit: cover; flex-shrink: 0; border: 1px solid var(--s-border); }
.pd-seller-initiale { display: grid; place-items: center; background: var(--brand-50); color: var(--s-brand); font-weight: 800; font-size: 1.3rem; border-color: transparent; }
.pd-seller-stats { display: flex; flex-wrap: wrap; gap: .4rem; font-size: .8rem; color: var(--s-text-2); }
.pd-seller-stats > span { padding: .25rem .6rem; border-radius: 999px; background: var(--s-bg-soft); }
.pd-seller-wa { display: inline-flex; align-items: center; gap: .25rem; background: #dcfce7 !important; color: #15803d; font-weight: 700; }
.pd-seller-cta { font-weight: 700; font-size: .9rem; color: var(--s-brand); }

/* Sections de détail */
.pd-main { display: grid; gap: 1rem; min-width: 0; }
.pd-section { background: #fff; border: 1px solid var(--s-border); border-radius: 18px; padding: 1.25rem; }
@media (min-width: 960px) { .pd-section { padding: 1.5rem; } }
.pd-section h2 { font-size: 1.1rem; font-weight: 800; margin-bottom: .85rem; }
.pd-desc { color: var(--s-text-2); line-height: 1.7; position: relative; }
.pd-desc p { white-space: pre-line; margin: 0; }
.pd-desc.is-clamped { max-height: 190px; overflow: hidden; }
.pd-desc.is-clamped::after { content: ""; position: absolute; inset: auto 0 0 0; height: 70px; background: linear-gradient(transparent, #fff); }
.pd-more { margin-top: .5rem; border: 0; background: none; padding: 0; font: inherit; font-weight: 700; color: var(--s-brand); cursor: pointer; }
.pd-specs { display: grid; margin: 0; }
@media (min-width: 640px) { .pd-specs { grid-template-columns: 1fr 1fr; column-gap: 2rem; } }
.pd-specs > div { display: flex; justify-content: space-between; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid var(--s-border); font-size: .9rem; }
.pd-specs dt { color: var(--s-muted); }
.pd-specs dd { margin: 0; text-align: right; font-weight: 600; color: var(--s-text); }
.pd-specs dd a { color: var(--s-brand); text-decoration: none; }
.code-ref { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .82rem; background: var(--s-bg-soft); padding: .1rem .4rem; border-radius: 6px; }
.pd-map { display: flex; align-items: center; gap: .85rem; padding: .9rem 1rem; border-radius: 14px; text-decoration: none; color: var(--s-text); background: linear-gradient(135deg, var(--brand-50), #fff); border: 1px solid var(--brand-100); }
.pd-map:hover { border-color: var(--brand-200); }
.pd-map-pin { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #fff; font-size: 1.3rem; box-shadow: var(--s-shadow); }
.pd-map b { display: block; }
.pd-map small { display: block; color: var(--s-brand); font-weight: 600; font-size: .85rem; }
.pd-safety { background: #f8fafc; }
.pd-safety ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .45rem; color: var(--s-text-2); font-size: .9rem; }

/* Barre d'achat mobile */
.pd-bar { position: fixed; inset: auto 0 0 0; z-index: 40; display: flex; align-items: center; gap: .6rem; padding: .7rem 16px calc(.7rem + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--s-border); box-shadow: 0 -6px 20px rgba(15, 23, 42, .08); }
.pd-bar > div { flex: 1; min-width: 0; line-height: 1.2; }
.pd-bar small { display: block; font-size: .75rem; color: var(--s-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pd-bar strong { font-size: 1.05rem; }
.pd-bar-wa { width: 48px; padding: 0; }
body.has-pdbar { padding-bottom: 82px; }
@media (min-width: 960px) { .pd-bar { display: none; } body.has-pdbar { padding-bottom: 0; } }

/* Visionneuse */
.pd-lightbox { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 16px; background: rgba(2, 6, 23, .92); cursor: zoom-out; }
.pd-lightbox img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: 12px; }
.pd-lightbox button { position: absolute; top: 16px; right: 16px; width: 44px; height: 44px; border-radius: 12px; border: 0; background: rgba(255, 255, 255, .14); color: #fff; font-size: 1.3rem; cursor: pointer; }
@media (max-width: 479px) { .pd-mini { font-size: .8rem; padding: .5rem .5rem; gap: .3rem; white-space: nowrap; } }
.r-chip.r-chip-premium { background: var(--accent-50); color: var(--accent-700); }
