/* Styles de l'offre instrumentale : page liste (/offre-instrumentale) et fiches instrument. */

:root {
    --deep: #0f3d4f;
    --primary: #1a6b7a;
    --primary-light: #2a8a9a;
    --tint: #e8f4f6;
    --tint-warm: #f0f7f4;
    --accent: #d4a053;
    --accent-light: #e8c88a;
    --text: #1a2a2e;
    --text-mid: #4a5e63;
    --text-light: #7a8e93;
    --white: #ffffff;
    --off-white: #f8fafb;
    --border: #d8e4e7;
    --radius: 8px;
    --radius-lg: 16px;
    --shadow-sm: 0 1px 3px rgba(15, 61, 79, 0.08);
    --shadow-md: 0 4px 20px rgba(15, 61, 79, 0.1);
    --shadow-lg: 0 8px 40px rgba(15, 61, 79, 0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

html {
    scroll-behavior: smooth;
    font-size: 16px
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased
}

/* NAV */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border)
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--deep);
    z-index: 120
}

.nav-logo-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem
}

.nav-logo-text {
    font-weight: 600;
    font-size: 1.1rem
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    list-style: none
}

.nav-links a {
    text-decoration: none;
    color: var(--text-mid);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: var(--radius);
    transition: color 0.2s ease, background 0.2s ease
}

.nav-links a:hover, .nav-links a.active {
    color: var(--primary);
    background: var(--tint)
}

.nav-cta {
    background: var(--primary) !important;
    color: var(--white) !important;
    padding: 0.55rem 1.25rem !important
}

.nav-cta:hover {
    background: var(--deep) !important;
    color: var(--white) !important
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 44px;
    height: 44px;
    z-index: 120;
    position: relative;
    border-radius: var(--radius)
}

.nav-toggle:hover {
    background: var(--tint)
}

.nav-toggle-bar {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text);
    position: absolute;
    left: 12px;
    transition: transform 0.35s ease, opacity 0.25s ease;
    border-radius: 2px
}

.nav-toggle-bar:nth-child(1) {
    top: 15px
}

.nav-toggle-bar:nth-child(2) {
    top: 21px
}

.nav-toggle-bar:nth-child(3) {
    top: 27px
}

.nav-toggle.open .nav-toggle-bar:nth-child(1) {
    transform: translateY(6px) rotate(45deg)
}

.nav-toggle.open .nav-toggle-bar:nth-child(2) {
    opacity: 0;
    transform: scaleX(0)
}

.nav-toggle.open .nav-toggle-bar:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg)
}

/* PAGE HEADER */
.page-header {
    padding: 10rem 2rem 4rem;
    background: linear-gradient(90deg, rgba(15, 61, 79, 0.95) 0%, rgba(15, 61, 79, 0.85) 45%, rgba(26, 107, 122, 0.55) 100%), url('/assets/photos/header-reconditionne.webp') center 55%/cover no-repeat;
    position: relative;
    overflow: hidden
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none
}

.page-header-inner {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1
}

.page-header .section-label {
    color: var(--accent-light)
}

.page-header .section-label::before {
    background: var(--accent)
}

.page-header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 1rem
}

.page-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 600px;
    line-height: 1.7
}

/* SECTIONS */
.section {
    padding: 6rem 2rem
}

.section-inner {
    max-width: 1200px;
    margin: 0 auto
}

.section-header {
    max-width: 640px;
    margin-bottom: 3.5rem
}

.section-header.center {
    margin-left: auto;
    margin-right: auto;
    text-align: center
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 1rem
}

.section-label::before {
    content: '';
    width: 20px;
    height: 2px;
    background: var(--primary);
    border-radius: 1px
}

h2 {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--deep);
    line-height: 1.25;
    margin-bottom: 1rem
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-mid);
    line-height: 1.7
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border-radius: var(--radius);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer
}

.btn-accent {
    background: var(--primary);
    color: var(--white)
}

.btn-accent:hover {
    background: var(--deep);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md)
}


.metiers-section {
    background: var(--off-white)
}

.accordion {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--white)
}

.accordion-item {
    border-bottom: 1px solid var(--border)
}

.accordion-item:last-child {
    border-bottom: none
}

.accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.75rem;
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Plus Jakarta Sans', sans-serif;
    text-align: left;
    transition: var(--transition)
}

.accordion-trigger:hover {
    background: var(--tint)
}

.accordion-trigger-left {
    display: flex;
    align-items: center;
    gap: 1rem
}

.accordion-trigger-icon {
    width: 40px;
    height: 40px;
    background: var(--tint);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    flex-shrink: 0
}

.accordion-trigger h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--deep);
    margin: 0
}

.accordion-trigger .subtitle {
    font-size: 0.85rem;
    color: var(--text-light);
    margin-top: 0.15rem
}

.accordion-chevron {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    color: var(--text-light)
}

.accordion-item.open .accordion-chevron {
    transform: rotate(180deg)
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease
}

.accordion-content-inner {
    padding: 0 1.75rem 1.5rem;
    color: var(--text-mid);
    font-size: 0.92rem;
    line-height: 1.7
}

/* FOOTER */
.footer {
    background: var(--off-white);
    color: var(--text-mid);
    padding: 4rem 2rem 2rem;
    border-top: 1px solid var(--border)
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto
}

.footer-grid {
    display: grid;
    grid-template-columns:2fr 1fr 1fr 1.5fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid var(--border)
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-top: 1rem;
    max-width: 280px
}

.footer h4 {
    color: var(--deep);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 1.25rem
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem
}

.footer-links a {
    color: var(--text-mid);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition)
}

.footer-links a:hover {
    color: var(--primary)
}

.footer-contact-item {
    display: flex;
    align-items: start;
    gap: 0.6rem;
    font-size: 0.9rem;
    margin-bottom: 0.75rem
}

.footer-contact-item .icon {
    margin-top: 0.1rem;
    font-size: 0.85rem;
    flex-shrink: 0
}

.footer-contact-item a {
    color: var(--text-mid);
    text-decoration: none;
    transition: var(--transition)
}

.footer-contact-item a:hover {
    color: var(--primary)
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    font-size: 0.8rem;
    color: var(--text-light);
    flex-wrap: wrap;
    gap: 0.75rem
}

.footer-bottom-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1.25rem
}

.footer-bottom-left a {
    color: var(--text-light);
    text-decoration: none;
    transition: color 0.2s ease
}

.footer-bottom-left a:hover {
    color: var(--primary)
}

.footer-social {
    display: flex;
    gap: 0.75rem
}

.footer-social a {
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    background: var(--tint);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: var(--transition)
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white)
}

/* RESPONSIVE */
@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        list-style: none;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-lg);
        transform: translateY(-110%);
        opacity: 0;
        transition: transform 0.35s ease, opacity 0.3s ease;
        pointer-events: none;
        padding: 0.75rem 1rem;
        z-index: 105
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto
    }

    .nav-links a {
        font-size: 1rem;
        padding: 0.85rem 1rem;
        border-radius: var(--radius);
        display: block
    }

    .nav-links .nav-cta {
        text-align: center;
        margin-top: 0.5rem
    }

    .nav-toggle {
        display: block
    }

    .poles-grid {
        grid-template-columns:1fr
    }

    .tools-grid {
        grid-template-columns:repeat(2, 1fr)
    }

    .footer-grid {
        grid-template-columns:1fr 1fr;
        gap: 2rem
    }
}

@media (max-width: 600px) {
    .section {
        padding: 4rem 1.25rem
    }

    .page-header {
        padding: 8rem 1.25rem 3rem
    }

    .tools-grid {
        grid-template-columns:1fr 1fr
    }

    .footer-grid {
        grid-template-columns:1fr
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center
    }

    .footer-bottom-left {
        justify-content: center
    }
}

.btn-light {
    background: var(--white);
    color: var(--deep)
}

.btn-light:hover {
    background: var(--tint);
    transform: translateY(-2px)
}

.btn-ghost {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.5)
}

.btn-ghost:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.1)
}

.page-header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 2rem
}

.stock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #5fd68a;
    box-shadow: 0 0 0 4px rgba(95, 214, 138, 0.25)
}

.page-header .header-lead {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 620px
}

.page-header .header-lead strong {
    color: var(--white);
    font-weight: 600
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap
}

/* ─── HEADER COMPACT ─── */
.shop-hero {
    padding: 7rem 2rem 2.5rem
}

.shop-hero h1 {
    margin-bottom: 0.6rem
}

.hero-checks {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 1.75rem;
    margin-top: 1.25rem
}

.hero-checks li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--white)
}

.hero-checks li::before {
    content: '✓';
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--deep);
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center
}

/* ─── NOTRE PHILOSOPHIE ─── */
.philosophy-band {
    background: var(--tint);
    padding: 1.75rem 2rem
}

.philosophy-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 2.5rem
}

.philosophy-text {
    flex: 1
}

.philosophy-text .section-label {
    margin-bottom: 0.5rem
}

.philosophy-text p {
    font-size: 1rem;
    color: var(--text-mid);
    line-height: 1.65;
    max-width: 760px
}

.philosophy-text strong {
    color: var(--deep)
}

.philosophy-stat {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 1rem 1.5rem;
    max-width: 230px;
    box-shadow: var(--shadow-sm)
}

.philosophy-stat strong {
    font-family: 'Outfit', sans-serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.1
}

.philosophy-stat span {
    font-size: 0.85rem;
    color: var(--text-mid);
    line-height: 1.4;
    margin-top: 0.25rem
}

@media (max-width: 760px) {
    .philosophy-band {
        padding: 1.5rem 1.25rem
    }

    .philosophy-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem
    }

    .philosophy-stat {
        max-width: none;
        flex-direction: row;
        gap: 0.75rem;
        text-align: left;
        padding: 0.85rem 1.1rem
    }

    .philosophy-stat strong {
        font-size: 1.5rem;
        white-space: nowrap
    }
}

/* ─── AUTRE BESOIN ─── */
.other-need {
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse 60% 80% at 85% 20%, rgba(42, 138, 154, 0.35), transparent 70%),
    linear-gradient(160deg, #0f3d4f 0%, #12495b 100%);
    color: var(--white)
}

.other-need-trace {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 220px;
    fill: none;
    stroke: rgba(232, 200, 138, 0.22);
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
    pointer-events: none
}

.other-need-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 3.5rem;
    align-items: center
}

.other-need-eyebrow {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent-light);
    margin-bottom: 0.75rem
}

.other-need-head h2 {
    color: var(--white);
    font-size: clamp(1.7rem, 3vw, 2.4rem);
    line-height: 1.15;
    margin-bottom: 1rem
}

.other-need-head > p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.05rem;
    line-height: 1.7;
    max-width: 480px
}

.supply-title {
    margin: 2rem 0 0.75rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6)
}

.supply-grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 0.6rem
}

.supply-grid li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.7rem 0.85rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.25
}

.supply-grid svg {
    flex-shrink: 0;
    color: var(--accent-light)
}

/* ─── NEUF / RECONDITIONNÉ ─── */
.offers-stack {
    display: grid;
    gap: 1rem
}

.offer-card {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding: 1.6rem 1.75rem;
    background: var(--white);
    color: var(--text);
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 40px rgba(5, 25, 33, 0.28);
    transition: transform .2s ease, box-shadow .2s ease
}

.offer-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 50px rgba(5, 25, 33, 0.34)
}

.offer-icon {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: var(--tint);
    color: var(--primary)
}

.offer-card--new .offer-icon {
    background: #fbf1e1;
    color: #a8762a
}

.offer-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0
}

.offer-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--primary);
    margin-bottom: 0.3rem
}

.offer-card--new .offer-tag {
    color: #a8762a
}

.offer-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--deep);
    margin-bottom: 0.4rem
}

.offer-card p {
    font-size: 0.98rem;
    color: var(--text-mid);
    line-height: 1.6;
    margin-bottom: 1.1rem
}

.btn-gold {
    background: var(--accent);
    color: var(--deep)
}

.btn-gold:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md)
}

@media (max-width: 1000px) {
    .other-need-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.25rem
    }

    .other-need-head > p {
        max-width: 620px
    }
}

@media (max-width: 600px) {
    .offer-card {
        flex-direction: column;
        gap: 0.9rem;
        padding: 1.4rem 1.25rem
    }

    .offer-icon {
        width: 46px;
        height: 46px;
        border-radius: 12px
    }

    .supply-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .other-need-trace {
        height: 140px
    }
}

/* ─── CATALOGUE ─── */
.catalogue-section {
    background: var(--white);
    padding-top: 2.25rem
}

.shop-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem
}

.shop-head h2 {
    font-size: clamp(1.6rem, 2.6vw, 2rem);
    margin-bottom: 0.2rem
}

.shop-head-sub {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1rem;
    color: var(--text-mid);
    font-weight: 500
}

.stock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #3fbf6f;
    box-shadow: 0 0 0 4px rgba(63, 191, 111, 0.2);
    flex-shrink: 0
}

.shop-search {
    position: relative;
    flex: 0 1 380px;
    color: var(--text-light)
}

.shop-search svg {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none
}

.shop-search input {
    width: 100%;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    color: var(--text);
    background: var(--off-white);
    border: 1.5px solid var(--border);
    border-radius: 999px;
    padding: 0.8rem 1.25rem 0.8rem 2.75rem;
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease
}

.shop-search input:focus {
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(26, 107, 122, 0.1)
}

.category-tabs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    margin-bottom: 1.5rem;
    scrollbar-width: none
}

.category-tabs::-webkit-scrollbar {
    display: none
}

.category-tab {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--deep);
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 999px;
    padding: 0.6rem 1.1rem;
    cursor: pointer;
    transition: var(--transition)
}

.category-tab:hover {
    border-color: var(--primary)
}

.category-tab.active {
    background: var(--deep);
    border-color: var(--deep);
    color: var(--white)
}

.category-tab .count {
    font-size: 0.78rem;
    font-weight: 600;
    background: var(--tint);
    color: var(--primary);
    border-radius: 999px;
    padding: 0.05rem 0.5rem
}

.category-tab.active .count {
    background: rgba(255, 255, 255, 0.18);
    color: var(--white)
}

.meter-legend {
    font: inherit;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    background: none;
    border: 0;
    padding: 0.35rem 0;
    cursor: help;
    white-space: nowrap
}

.meter-legend:hover, .states-tip.is-open .meter-legend {
    text-decoration: underline;
    text-underline-offset: 3px
}

/* Aide « Comment lire les états ? » (survol / toucher) */
.states-tip {
    position: relative
}

.shop-toolbar .states-tip {
    margin-right: auto;
    margin-left: 1.25rem
}

.states-tip-panel {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 30;
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: min(560px, calc(100vw - 2.5rem));
    margin-top: 0.7rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    box-shadow: 0 18px 48px rgba(15, 61, 79, 0.18), 0 2px 6px rgba(15, 61, 79, 0.06);
    text-align: left;
    white-space: normal;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s
}

/* Petite flèche vers le lien */
.states-tip-panel::after {
    content: "";
    position: absolute;
    top: -7px;
    right: 1.6rem;
    width: 12px;
    height: 12px;
    background: var(--white);
    border-left: 1px solid var(--border);
    border-top: 1px solid var(--border);
    border-radius: 3px 0 0 0;
    transform: rotate(45deg)
}

.states-tip.is-left .states-tip-panel::after {
    right: auto;
    left: 1.6rem
}

/* Zone tampon pour ne pas perdre le survol entre le lien et le panneau */
.states-tip-panel::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -0.8rem;
    height: 0.8rem
}

.states-tip.is-left .states-tip-panel {
    right: auto;
    left: 0
}

.states-tip.is-open .states-tip-panel {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .2s ease, transform .2s ease, visibility 0s
}

@media (hover: hover) {
    .states-tip:hover .states-tip-panel {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: opacity .2s ease, transform .2s ease, visibility 0s
    }
}

.states-tip-group {
    padding: 1.1rem 1.2rem 1.2rem
}

.states-tip-group + .states-tip-group {
    border-left: 1px solid var(--border)
}

.states-tip-title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.85rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--primary)
}

.states-tip-title::before {
    content: "";
    width: 18px;
    height: 3px;
    border-radius: 2px;
    background: currentColor
}

.states-tip-group--esth .states-tip-title {
    color: #8a6020
}

.states-tip-group ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.8rem
}

.states-tip-group li {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    font-size: 0.8rem;
    line-height: 1.45;
    color: var(--text-mid)
}

.states-tip-group li .state-pill {
    font-size: 0.78rem;
    padding: 0.2rem 0.6rem
}

@media (max-width: 600px) {
    .states-tip-panel {
        grid-template-columns: 1fr
    }

    .states-tip-group + .states-tip-group {
        border-left: 0;
        border-top: 1px solid var(--border)
    }

    .states-tip-group ul {
        gap: 0.65rem
    }
}

@media (prefers-reduced-motion: reduce) {
    .states-tip-panel {
        transition: none
    }
}

/* Signification d'un état : petite bulle au-dessus de la ligne */
.state-row {
    position: relative
}

.state-info {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0;
    border: 0;
    background: none;
    font: inherit;
    color: var(--text-light);
    cursor: help
}

.state-info-icon {
    flex-shrink: 0;
    transition: color .15s ease
}

.state-info:hover .state-info-icon, .state-info:focus-visible .state-info-icon,
.state-info[aria-expanded="true"] .state-info-icon {
    color: var(--primary)
}

.state-info:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
    border-radius: 999px
}

.state-tip {
    position: absolute;
    left: -0.4rem;
    right: -0.4rem;
    bottom: calc(100% + 0.45rem);
    z-index: 20;
    padding: 0.55rem 0.75rem;
    background: #0f3d4f;
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1.4;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(15, 61, 79, 0.22);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(3px);
    transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s
}

.state-info[aria-expanded="true"] + .state-tip, .state-info:focus-visible + .state-tip {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity .15s ease, transform .15s ease, visibility 0s
}

@media (hover: hover) {
    .state-info:hover + .state-tip {
        opacity: 1;
        visibility: visible;
        transform: none;
        transition: opacity .15s ease .1s, transform .15s ease .1s, visibility 0s linear .1s
    }
}

@media (prefers-reduced-motion: reduce) {
    .state-tip {
        transition: none
    }
}

/* Étiquettes d'état (performance technique / esthétique) */
.state-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1.3
}

.state-pill--perf {
    background: var(--tint);
    color: var(--primary)
}

.state-pill--esth {
    background: #fbf1e1;
    color: #8a6020
}

/* Explication des deux états */
.states-explainer {
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: var(--white);
    margin-top: 2.5rem;
    padding-top: 1.5rem
}

.states-explainer > .states-explainer-title {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    padding: 0 1.5rem 0.5rem
}

.states-explainer summary {
    list-style: none;
    cursor: pointer;
    padding: 1.1rem 1.5rem;
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem 1rem;
    position: relative;
    padding-right: 3rem
}

.states-explainer summary::-webkit-details-marker {
    display: none
}

.states-explainer summary::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    color: var(--primary);
    font-weight: 300
}

.states-explainer[open] summary::after {
    content: '−'
}

.states-explainer-title {
    font-weight: 600;
    color: var(--deep)
}

.states-explainer-sub {
    font-size: 0.9rem;
    color: var(--text-mid)
}

.states-explainer-grid {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 2rem;
    padding: 0.5rem 1.5rem 1.75rem
}

.states-explainer h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--deep);
    margin-bottom: 0.25rem
}

.states-explainer-grid > div > p {
    font-size: 0.88rem;
    color: var(--text-light);
    margin-bottom: 0.9rem
}

.states-explainer ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.7rem
}

.states-explainer li {
    display: grid;
    grid-template-columns:135px 1fr;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-mid);
    line-height: 1.5
}

.states-explainer li .state-pill {
    justify-self: start
}

.states-explainer li strong {
    color: var(--deep);
    font-weight: 600
}

/* Mise en page boutique : filtres + grille */
.shop-layout {
    display: grid;
    grid-template-columns:250px minmax(0, 1fr);
    grid-template-areas: "filters toolbar" "filters main";
    grid-template-rows:auto 1fr;
    column-gap: 2.5rem;
    align-items: start
}

.shop-toolbar {
    grid-area: toolbar
}

.shop-filters {
    grid-area: filters;
    position: sticky;
    top: 96px
}

.shop-main {
    grid-area: main
}

.shop-filters-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--border)
}

.shop-filters-head strong {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    color: var(--deep)
}

.filters-reset {
    background: none;
    border: none;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px
}

.filter-block {
    border-bottom: 1px solid var(--border);
    padding: 0.9rem 0
}

.filter-block summary {
    list-style: none;
    cursor: pointer;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--deep);
    display: flex;
    justify-content: space-between;
    align-items: center
}

.filter-block summary::-webkit-details-marker {
    display: none
}

.filter-block summary::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--text-light);
    border-bottom: 2px solid var(--text-light);
    transform: rotate(45deg);
    transition: transform 0.2s ease;
    margin-right: 4px
}

.filter-block[open] summary::after {
    transform: rotate(-135deg)
}

.filter-block ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-top: 0.65rem
}

.filter-block label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--text-mid);
    cursor: pointer;
    padding: 0.3rem 0
}

.filter-block label:hover {
    color: var(--deep)
}

.filter-block input {
    width: 17px;
    height: 17px;
    accent-color: var(--primary);
    flex-shrink: 0;
    cursor: pointer
}

.filter-block .count {
    margin-left: auto;
    font-size: 0.78rem;
    color: var(--text-light);
    background: var(--off-white);
    border-radius: 999px;
    padding: 0.05rem 0.5rem
}

.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border)
}

.filters-toggle {
    display: none;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--deep);
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 0.55rem 1rem;
    cursor: pointer
}

.catalogue-count {
    font-size: 0.92rem;
    color: var(--text-mid);
    font-weight: 500
}

.shop-sort {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    white-space: nowrap;
    font-size: 0.88rem;
    color: var(--text-mid)
}

.shop-sort select {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.9rem;
    color: var(--text);
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 0.5rem 0.8rem;
    cursor: pointer
}

/* Fiches produit */
.products-grid {
    display: grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap: 1.25rem
}

.product-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition)
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-3px)
}

.product-card[hidden] {
    display: none
}

.product-media {
    position: relative;
    aspect-ratio: 16 / 10;
    background: linear-gradient(160deg, var(--tint) 0%, var(--tint-warm) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 0.75rem
}

/* Photos détourées sur fond blanc : affichées en entier */
.product-media:has(img) {
    background: var(--white);
    border-bottom: 1px solid var(--border)
}

.product-media-icon {
    font-size: 2.5rem;
    opacity: 0.8
}

.product-media .badge {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem
}

.badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
    background: var(--white);
    color: var(--deep);
    box-shadow: var(--shadow-sm)
}

.badge-status-reserve {
    background: var(--accent-light);
    color: var(--deep)
}

.badge-status-vendu {
    background: var(--text-light);
    color: var(--white)
}

.product-body {
    padding: 1.25rem 1.35rem 1.35rem;
    display: flex;
    flex-direction: column;
    flex: 1
}

.product-brand {
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-light)
}

.product-body h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--deep);
    line-height: 1.3
}

.product-config {
    font-size: 0.9rem;
    color: var(--text-mid);
    margin: 0.25rem 0 1rem
}

.product-states {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    background: var(--off-white);
    border-radius: var(--radius);
    padding: 0.75rem 0.9rem;
    margin-bottom: 1rem
}

.state-row {
    display: grid;
    grid-template-columns:minmax(0, 100px) auto;
    justify-content: start;
    align-items: center;
    gap: 0.75rem;
    min-width: 0
}

.state-row dt {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-light);
    line-height: 1.3
}

.state-row dd {
    display: flex;
    flex-shrink: 0
}

.product-specs {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1.25rem
}

.product-specs li {
    font-size: 0.88rem;
    color: var(--text-mid);
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.45
}

.product-specs li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-light);
    font-weight: 700
}

.product-footer {
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem
}

.product-price {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--deep)
}

.product-price small {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-light)
}

.product-cta {
    text-wrap: balance;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--white);
    background: var(--primary);
    border: none;
    border-radius: var(--radius);
    padding: 0.7rem 1rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: normal;
    width: 100%
}

.product-cta:hover {
    background: var(--deep)
}

.product-cta:disabled {
    background: var(--border);
    color: var(--text-light);
    cursor: not-allowed
}

.catalogue-empty {
    text-align: center;
    background: var(--off-white);
    border: 1px dashed var(--border);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    color: var(--text-mid)
}

.catalogue-empty[hidden] {
    display: none
}

.catalogue-empty strong {
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    color: var(--deep);
    margin-bottom: 0.5rem
}

.catalogue-search {
    margin-top: 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    background: var(--white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem
}

.catalogue-search h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    color: var(--deep);
    margin-bottom: 0.25rem
}

.catalogue-search p {
    font-size: 0.9rem;
    color: var(--text-mid)
}

.products-grid--wide {
    grid-template-columns:repeat(4, minmax(0, 1fr))
}

.badge-status-stock {
    background: #3fbf6f;
    color: var(--white)
}

.product-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--primary);
    margin-bottom: 0.2rem
}

.product-body h3 .product-brand {
    font-size: inherit;
    text-transform: none;
    letter-spacing: 0;
    color: var(--text-light);
    font-weight: 500
}

/* Points forts (fiche mise en avant) */
.product-highlights {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1rem
}

.product-highlights li {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--tint);
    color: var(--deep);
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 999px;
    padding: 0.3rem 0.8rem
}

.product-highlights li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700
}

.product-highlights li.has-icon::before {
    content: none
}

.product-highlights li.has-icon img {
    border-radius: 4px;
    flex-shrink: 0
}

.product-location {
    font-weight: 500
}

.product-price-from {
    display: block;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light)
}

.product-ref-price {
    font-size: 0.85rem;
    color: var(--text-mid)
}

.product-ref-price strong {
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    color: var(--deep)
}

/* Étiquette « pack analyseur » */
.pack-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    align-self: flex-start;
    margin-top: 0.4rem;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    background: var(--deep);
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 600;
    line-height: 1.3
}

.pack-badge svg {
    color: var(--accent-light);
    flex-shrink: 0
}

/* ─── Instruments vendus : étiquette « Vendu » discrète + photo légèrement désaturée ─── */
.sold-stamp {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.75rem;
    border-radius: 999px;
    background: var(--deep);
    color: var(--white);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    pointer-events: none
}

.sold-stamp--large {
    top: 1rem;
    left: 1rem;
    font-size: 0.82rem;
    padding: 0.38rem 0.9rem
}

.product-card--sold .product-media img,
.product-card--sold .product-media-icon,
.gallery-main.is-sold img,
.gallery-main.is-sold .product-media-icon {
    filter: grayscale(0.85);
    opacity: 0.8;
    transition: opacity 0.3s ease, filter 0.3s ease
}

.product-card--sold:hover .product-media img,
.product-card--sold:hover .product-media-icon,
.gallery-main.is-sold:hover img {
    filter: grayscale(0);
    opacity: 1
}

.product-card--sold .product-config {
    color: var(--text-light)
}

/* ─── Grille unique : disponibles + vendus ─── */
.product-card--stock {
    border-color: var(--primary-light);
    box-shadow: 0 0 0 1px var(--primary-light)
}

.products-grid .product-card--featured {
    grid-column: span 2
}

.products-grid .product-card--featured .product-media {
    flex: 0 0 46%;
    min-height: 0
}

.products-grid .product-card--featured .product-body {
    padding: 1.5rem 1.75rem;
    min-width: 0
}

.products-grid .product-card--featured .product-states {
    max-width: none
}

.products-grid .product-card--featured .state-row {
    grid-template-columns:minmax(0, 135px) auto
}

.products-grid .product-card--featured h3 {
    font-size: 1.45rem
}

.products-grid .product-card--featured .product-cta {
    width: 100%
}

.products-grid .product-card--featured .product-footer {
    flex-direction: column;
    align-items: stretch
}

.products-grid.is-only-available .product-card--sold {
    display: none
}

.only-available {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--deep);
    cursor: pointer;
    user-select: none
}

.only-available input {
    position: absolute;
    opacity: 0;
    pointer-events: none
}

.only-available-switch {
    position: relative;
    width: 40px;
    height: 22px;
    border-radius: 999px;
    background: var(--border);
    transition: background 0.2s ease;
    flex-shrink: 0
}

.only-available-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s ease
}

.only-available input:checked + .only-available-switch {
    background: var(--primary)
}

.only-available input:checked + .only-available-switch::after {
    transform: translateX(18px)
}

.only-available input:focus-visible + .only-available-switch {
    outline: 2px solid var(--primary);
    outline-offset: 2px
}

/* Exemplaire unique / déjà parti */
.product-unique {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: -0.25rem
}

.product-sold-note {
    font-size: 0.85rem;
    font-style: italic;
    color: var(--text-light)
}

.shop-head-note {
    font-size: 0.95rem;
    color: var(--text-mid);
    margin-top: 0.1rem;
    max-width: 640px
}

.shop-head-note a {
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap
}

.shop-head-note a:hover {
    text-decoration: underline;
    text-underline-offset: 3px
}

/* Liens vers la fiche détaillée */
a.product-media {
    text-decoration: none
}

.product-title-link {
    color: inherit;
    text-decoration: none
}

.product-title-link:hover {
    color: var(--primary)
}

.product-more {
    align-self: flex-start;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
    margin-bottom: 1rem
}

.product-more:hover {
    text-decoration: underline;
    text-underline-offset: 3px
}

/* Détail repliable */
.product-details {
    margin-bottom: 1rem
}

.product-details summary {
    list-style: none;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem
}

.product-details summary::-webkit-details-marker {
    display: none
}

.product-details summary::after {
    content: '+';
    font-weight: 400;
    font-size: 1.05rem;
    line-height: 1
}

.product-details[open] summary::after {
    content: '−'
}

.product-details .product-specs {
    margin: 0.6rem 0 0
}

/* Instrument seul en stock : fiche horizontale mise en avant */
.product-card--featured {
    flex-direction: row;
    border: 2px solid var(--primary);
    box-shadow: var(--shadow-md)
}

.product-card--featured:hover {
    transform: none
}

.product-card--featured .product-media {
    flex: 0 0 42%;
    aspect-ratio: auto;
    min-height: 300px
}

.product-card--featured .product-media-icon {
    font-size: 4rem
}

.product-card--featured .product-body {
    padding: 2rem 2.25rem
}

.product-card--featured h3 {
    font-size: 1.7rem
}

.product-card--featured .product-config {
    font-size: 1rem
}

.product-card--featured .product-states {
    max-width: 420px
}

.product-card--featured .state-row {
    grid-template-columns:minmax(0, 170px) auto
}

/* Pied de la carte mise en avant : prix, lieu et « exemplaire unique » à gauche, bouton à droite */
.product-card--featured .product-footer {
    display: grid;
    grid-template-columns:minmax(0, 1fr) auto;
    grid-template-areas: "price cta" "unique cta";
    align-items: center;
    column-gap: 1.5rem;
    row-gap: 0.3rem
}

.product-card--featured .product-price {
    grid-area: price;
    font-size: 1.5rem;
    white-space: nowrap
}

.product-card--featured .product-location {
    display: block;
    margin-top: 0.15rem;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.85rem;
    white-space: normal
}

.product-card--featured .product-unique {
    grid-area: unique;
    margin: 0
}

.product-card--featured .product-cta {
    grid-area: cta;
    width: auto;
    padding: 0.9rem 1.75rem;
    font-size: 0.98rem;
    white-space: nowrap
}

@media (max-width: 900px) {
    .product-card--featured .product-footer {
        grid-template-columns:minmax(0, 1fr);
        grid-template-areas: "price" "unique" "cta";
        row-gap: 0.5rem
    }

    .product-card--featured .product-cta {
        width: 100%;
        margin-top: 0.4rem
    }
}

/* Déjà vendus */
.sold-block {
    margin-top: 3.5rem;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border)
}

.sold-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem 2rem;
    margin-bottom: 1.5rem
}

.sold-head h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--deep)
}

.sold-head p {
    color: var(--text-mid);
    font-size: 0.98rem
}

.product-card--sold .product-media {
    aspect-ratio: 16 / 10
}

.product-card--sold .product-media-icon {
    filter: grayscale(0.6);
    opacity: 0.55;
    font-size: 2rem
}

.product-card--sold .product-body {
    padding: 1rem 1.1rem 1.1rem
}

.product-card--sold h3 {
    font-size: 1.1rem
}

.product-card--sold .product-config {
    font-size: 0.85rem;
    margin-bottom: 0.75rem
}

.product-card--sold .product-states {
    padding: 0.6rem 0.75rem;
    margin-bottom: 0.75rem
}

.product-card--sold .product-footer {
    padding-top: 0.75rem
}

.product-cta--same {
    background: var(--white);
    color: var(--primary);
    border: 1.5px solid var(--primary)
}

.product-cta--same:hover {
    background: var(--primary);
    color: var(--white)
}

@media (max-width: 1100px) {
    .products-grid {
        grid-template-columns:repeat(2, minmax(0, 1fr))
    }

    .products-grid--wide {
        grid-template-columns:repeat(3, minmax(0, 1fr))
    }
}

@media (max-width: 900px) {
    .products-grid--wide {
        grid-template-columns:repeat(2, minmax(0, 1fr))
    }
}

@media (max-width: 760px) {

    .product-card--featured {
        flex-direction: column
    }

    .product-card--featured .product-media {
        flex-basis: auto;
        min-height: 0;
        aspect-ratio: 4 / 3
    }

    .product-card--featured .product-body {
        padding: 1.5rem
    }

    .product-card--featured .product-footer {
        flex-direction: column;
        align-items: stretch
    }

    .product-card--featured .product-cta {
        width: 100%
    }

    .buyback-band-inner {
        flex-direction: column;
        align-items: flex-start
    }
}

@media (max-width: 900px) {
    .shop-layout {
        grid-template-columns:minmax(0, 1fr);
        grid-template-areas: "toolbar" "filters" "main";
        grid-template-rows:auto
    }

    .shop-filters {
        position: static;
        display: none;
        background: var(--off-white);
        border-radius: var(--radius-lg);
        padding: 1.25rem 1.25rem 0.5rem;
        margin-bottom: 1.25rem
    }

    .shop-filters.open {
        display: block
    }

    .filters-toggle {
        display: inline-flex
    }

    .states-explainer-grid {
        grid-template-columns:1fr
    }

}

@media (max-width: 600px) {
    .products-grid, .products-grid--wide {
        grid-template-columns:minmax(0, 1fr)
    }

    .product-card--sold .product-media {
        aspect-ratio: 16 / 9
    }

    .sold-block {
        margin-top: 2.5rem;
        padding-top: 2rem
    }

    .shop-toolbar {
        flex-wrap: wrap
    }

    .shop-sort span {
        display: none
    }

    .shop-hero {
        padding: 6rem 1.25rem 1.75rem
    }

    .hero-checks {
        gap: 0.4rem 1rem
    }

    .hero-checks li {
        font-size: 0.85rem
    }

    .catalogue-section {
        padding-top: 2rem
    }

    .shop-search {
        flex-basis: 100%
    }

    .catalogue-count {
        font-size: 0.85rem
    }

    .shop-sort select {
        max-width: 132px;
        padding: 0.5rem 0.6rem
    }

    .shop-toolbar {
        gap: 0.5rem
    }

    .shop-hero h1 {
        font-size: 1.75rem
    }

    .page-header .header-lead {
        font-size: 1.02rem
    }

    .hero-checks {
        margin-top: 0.9rem
    }

    .shop-head {
        margin-bottom: 1.1rem;
        gap: 1rem
    }

    .category-tabs {
        margin: 0 -1.25rem 1.1rem;
        padding: 0 1.25rem 0.25rem
    }

    .states-explainer li {
        grid-template-columns:1fr;
        gap: 0.3rem
    }

    .states-explainer li .state-pill {
        justify-self: start
    }
}

/* ─── PROCESS ─── */
.process-section {
    background: var(--off-white)
}

.process-steps {
    display: grid;
    grid-template-columns:repeat(5, 1fr);
    gap: 1.25rem;
    counter-reset: step;
    list-style: none
}

.process-step {
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.75rem 1.5rem
}

.process-step::before {
    counter-increment: step;
    content: counter(step, decimal-leading-zero);
    display: block;
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 0.75rem
}

.process-step h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--deep);
    margin-bottom: 0.4rem
}

.process-step p {
    font-size: 0.92rem;
    color: var(--text-mid);
    line-height: 1.6
}

/* ─── REPRISE (bandeau) ─── */
.buyback-band {
    background: var(--deep);
    padding: 2.25rem 2rem
}

.buyback-band-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.25rem
}

.buyback-band-icon {
    font-size: 1.8rem
}

.buyback-band p {
    flex: 1;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem
}

.buyback-band strong {
    color: var(--white)
}

/* ─── FAQ ─── */
.faq-section {
    background: var(--off-white)
}

.faq-wrap {
    max-width: 820px;
    margin: 0 auto
}

/* ─── DEVIS ─── */
.quote-inner {
    display: grid;
    grid-template-columns:1fr 1.3fr;
    gap: 3rem;
    align-items: start
}

.quote-aside p {
    color: var(--text-mid);
    line-height: 1.7;
    margin-bottom: 1.5rem
}

.quote-contact {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: var(--tint);
    border-radius: var(--radius-lg);
    padding: 1.25rem 1.5rem
}

.quote-contact img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0
}

.quote-contact strong {
    display: block;
    color: var(--deep);
    font-size: 0.95rem
}

.quote-contact span, .quote-contact a {
    font-size: 0.85rem;
    color: var(--text-mid)
}

.quote-contact a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600
}

.quote-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm)
}

.form-row {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 1rem
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    margin-bottom: 1rem
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text)
}

.form-group label .required {
    color: var(--accent)
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    min-width: 0;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    background: var(--off-white);
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 107, 122, 0.1);
    background: var(--white)
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light)
}

.form-group textarea {
    resize: vertical;
    min-height: 120px
}

.form-group input.highlight {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(212, 160, 83, 0.2)
}

.form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: var(--radius);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    background: var(--primary);
    color: var(--white);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    width: 100%
}

.form-submit:hover {
    background: var(--deep);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md)
}

@media (max-width: 1100px) {
    .process-steps {
        grid-template-columns:repeat(3, 1fr)
    }


}

@media (max-width: 900px) {
    .quote-inner {
        grid-template-columns:minmax(0, 1fr)
    }

    .process-steps {
        grid-template-columns:repeat(2, 1fr)
    }

    .catalogue-search {
        flex-direction: column;
        align-items: flex-start
    }
}

@media (max-width: 600px) {
    .process-steps, .form-row {
        grid-template-columns:1fr
    }

    .quote-form {
        padding: 1.75rem 1.25rem
    }
}

.fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0)
}

.stagger-1 {
    transition-delay: 0.05s
}

.stagger-2 {
    transition-delay: 0.1s
}

.stagger-3 {
    transition-delay: 0.15s
}

/* Carte mise en avant dans la grille : verticale sur petit écran, 1 colonne sur mobile */
@media (max-width: 760px) {
    .products-grid .product-card--featured .product-media {
        flex: none;
        aspect-ratio: 4 / 3
    }
}

@media (max-width: 600px) {
    .products-grid .product-card--featured {
        grid-column: auto
    }
}

/* Tablettes paysage : 3 colonnes jusqu'à 1200 px (4 colonnes trop étroites) */
@media (min-width: 901px) and (max-width: 1200px) {
    .products-grid--wide {
        grid-template-columns:repeat(3, minmax(0, 1fr))
    }
}

/* Grille sous la carte mise en avant : les cartes occupent toute la largeur, quel que soit leur nombre */
.sold-block .products-grid--wide {
    grid-template-columns:repeat(auto-fit, minmax(260px, 1fr))
}

/* Cartes de la grille (étroites) : libellé de l'état au-dessus de la pastille, pour qu'il ne soit jamais rogné */
.products-grid .product-card:not(.product-card--featured) .product-states {
    gap: 0.65rem
}

.products-grid .product-card:not(.product-card--featured) .state-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.3rem
}

.products-grid .product-card:not(.product-card--featured) .state-row dt {
    font-size: 0.66rem
}

/* Peu d'instruments dans la grille (1 ou 2) : cartes horizontales, photo à gauche */
@media (min-width: 761px) {
    .sold-block .products-grid--few {
        grid-template-columns: minmax(0, 1fr)
    }

    .products-grid--few .product-card {
        flex-direction: row
    }

    .products-grid--few .product-media {
        flex: 0 0 40%;
        aspect-ratio: auto;
        min-height: 300px
    }

    .products-grid--few .product-media:has(img) {
        border-bottom: 0;
        border-right: 1px solid var(--border)
    }

    .products-grid--few .product-body {
        min-width: 0;
        padding: 1.5rem 1.6rem
    }
}

@media (min-width: 1100px) {
    .sold-block .products-grid--few-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }
}

/* ─── SERVICES À LA CARTE ─── */
/* Formulaire : options à inclure dans le devis */
.quote-options {
    border: 0;
    padding: 0;
    margin: 0 0 1.25rem
}

.quote-options legend {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--deep);
    margin-bottom: 0.5rem
}

.quote-options legend span {
    font-weight: 400;
    color: var(--text-light)
}

.quote-options-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem
}

.quote-option {
    position: relative;
    display: inline-flex;
    cursor: pointer
}

.quote-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none
}

.quote-option span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.8rem;
    border: 1.5px solid var(--border);
    border-radius: 999px;
    background: var(--white);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-mid);
    transition: border-color .15s ease, background .15s ease, color .15s ease
}

.quote-option span::before {
    content: '+';
    font-weight: 700;
    color: var(--primary)
}

.quote-option:hover span {
    border-color: var(--primary-light)
}

.quote-option input:checked + span {
    border-color: var(--primary);
    background: var(--tint);
    color: var(--deep)
}

.quote-option input:checked + span::before {
    content: '✓'
}

.quote-option input:focus-visible + span {
    outline: 2px solid var(--primary);
    outline-offset: 2px
}

.quote-option--instrument span::before {
    color: #a8762a
}

/* Fiche : cartes « Ajouter au devis » */
.addons-intro {
    font-size: 0.95rem;
    color: var(--text-mid);
    margin: -0.25rem 0 1rem
}

.addons-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
    margin-bottom: 1.25rem
}

.addon {
    position: relative;
    display: flex;
    gap: 0.8rem;
    align-items: flex-start;
    padding: 1rem 1.1rem;
    border: 1.5px solid var(--border);
    border-radius: 12px;
    background: var(--white);
    cursor: pointer;
    transition: border-color .15s ease, background .15s ease
}

.addon:hover {
    border-color: var(--primary-light)
}

.addon input {
    position: absolute;
    opacity: 0;
    pointer-events: none
}

.addon-check {
    flex-shrink: 0;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    margin-top: 0.1rem;
    border: 1.5px solid var(--border);
    border-radius: 6px;
    background: var(--white);
    transition: background .15s ease, border-color .15s ease
}

.addon input:checked ~ .addon-check {
    background: var(--primary);
    border-color: var(--primary)
}

.addon input:checked ~ .addon-check::after {
    content: '✓';
    color: var(--white);
    font-size: 0.8rem;
    font-weight: 700
}

.addon:has(input:checked) {
    border-color: var(--primary);
    background: var(--tint)
}

.addon input:focus-visible ~ .addon-check {
    outline: 2px solid var(--primary);
    outline-offset: 2px
}

.addon-text {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0
}

.addon-text strong {
    font-size: 0.95rem;
    color: var(--deep)
}

.addon-text span {
    font-size: 0.84rem;
    line-height: 1.45;
    color: var(--text-mid)
}

.addon--instrument .addon-text span {
    color: #a8762a;
    font-weight: 600
}

/* Page offre : bandeau des services */
.services-band {
    background: var(--tint);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2.25rem 2rem
}

.services-band-inner {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 2rem;
    align-items: center
}

.services-band-head h2 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    margin-bottom: 0.4rem
}

.services-band-head p {
    font-size: 0.95rem;
    color: var(--text-mid);
    line-height: 1.6
}

.services-band-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem
}

.services-band-list a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.95rem;
    border: 1.5px solid rgba(26, 107, 122, 0.25);
    border-radius: 999px;
    background: var(--white);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--deep);
    text-decoration: none;
    transition: border-color .15s ease, transform .15s ease
}

.services-band-list a span {
    color: var(--primary);
    font-weight: 700
}

.services-band-list a:hover {
    border-color: var(--primary);
    transform: translateY(-1px)
}

@media (max-width: 900px) {
    .services-band-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.1rem
    }
}

@media (max-width: 600px) {
    .addons-grid {
        grid-template-columns: minmax(0, 1fr)
    }

    .services-band {
        padding: 1.75rem 1.25rem
    }
}
