/* ====================================
   HERO PIÈCES DÉTACHÉES (MOBILE)
   ==================================== */

   .pieces-hero {
    background: #ffffff;
    position: relative;
    padding: 40px 20px 80px;
    overflow: hidden;
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cercle teal gauche */
.pieces-hero-circle-left {
    position: absolute;
    bottom: -50px;
    left: -50px;
    width: 220px;
    height: 220px;
    background: #147a83;
    border-radius: 50%;
    opacity: 0.6;
}

/* Cercle gris haut droite */
.pieces-hero-circle-right {
    position: absolute;
    top: -40px;
    right: -40px;
    width: 180px;
    height: 180px;
    background: #b5bfc2;
    border-radius: 50%;
    opacity: 0.45;
}

.pieces-hero-center {
    text-align: center;
    position: relative;
    z-index: 1;
}

.pieces-hero-center h1 {
    font-family: "Saira", sans-serif;
    font-size: 44px;
    font-weight: 700;
    color: #0d1f24;
    text-transform: uppercase;
    line-height: 1;
    margin-bottom: 14px;
}

.pieces-hero-center p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* Images gauche / droite */
.pieces-hero-img-left,
.pieces-hero-img-right {
    position: absolute;
    bottom: 0;
    z-index: 1;
    width: 120px;
    object-fit: contain;
    filter: drop-shadow(3px 5px 12px rgba(0, 0, 0, 0.15));
}

.pieces-hero-img-left {
    left: 10px;
}

.pieces-hero-img-right {
    right: 10px;
}

.pieces-scroll-arrows {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.pieces-scroll-arrows i {
    font-size: 25px;
    color: #147a83;
    line-height: 1;
    margin-top: -4px;
    animation: pieces-bounce 1.8s infinite ease-in-out;
}

.pieces-scroll-arrows i:nth-child(2) {
    animation-delay: 0.15s;
}

.pieces-scroll-arrows i:nth-child(3) {
    animation-delay: 0.30s;
}

@keyframes pieces-bounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.5;
    }

    50% {
        transform: translateY(4px);
        opacity: 1;
    }
}

@media (min-width: 768px) {
    .pieces-hero {
        padding: 120px 40px;
    }

    .pieces-hero-center h1 {
        font-size: 68px;
    }

    .pieces-hero-img-left,
    .pieces-hero-img-right {
        width: 180px;
    }

    .pieces-hero-img-left {
        left: 40px;
    }

    .pieces-hero-img-right {
        right: 40px;
    }

    .pieces-hero-circle-left {
        width: 260px;
        height: 260px;
    }

    .pieces-hero-circle-right {
        width: 240px;
        height: 240px;
    }
}

@media (min-width: 1024px) {
    .pieces-hero {
        padding: 160px 60px;
    }

    .pieces-hero-center h1 {
        font-size: 90px;
    }

    .pieces-hero-img-left,
    .pieces-hero-img-right {
        width: 220px;
    }

    .pieces-hero-img-left {
        left: 80px;
    }

    .pieces-hero-img-right {
        right: 80px;
    }
}


/* ====================================
   NOS PIÈCES — CERCLES CATÉGORIES
   ==================================== */

.nos-pieces {
    background: #f5f5f5;
    padding: 0;
    text-align: center;
}

.nos-pieces-header {
    padding: 40px 20px 40px;
}

.nos-pieces-header h2 {
    font-family: "Saira", sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #0d1f24;
    margin-bottom: 16px;
    display: inline-block;
    position: relative;
    padding-bottom: 14px;
}

.nos-pieces-header h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background: #147a83;
    border-radius: 2px;
}

.nos-pieces-header p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

.pieces-categories-wrap {
    background: #ffffff;
    border-top: 1px solid #ebebeb;
    padding: 40px 20px 60px;
}

.pieces-categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 700px;
    margin: auto;
}

.pieces-cat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.pieces-cat-item span {
    font-family: "Saira", sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #147a83;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(20, 122, 131, 0.08);
    padding: 4px 10px;
    border-radius: 20px;
    border: 1px solid rgba(20, 122, 131, 0.2);
    transition: background 0.2s, color 0.2s;
    text-align: center;
    line-height: 1.3;
}

.pieces-cat-item:hover span {
    background: #147a83;
    color: #fff;
}

.pieces-cat-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
}

.pieces-cat-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pieces-cat-circle:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

/* Couleurs cercles — reprend la maquette */
.pc-1 {
    background: #147a83;
}

.pc-2 {
    background: #b5bfc2;
}

.pc-3 {
    background: #8fbcbf;
}

.pc-4 {
    background: #5b7dd8;
}

.pc-5 {
    background: #555e62;
}

.pc-6 {
    background: #7b7fc4;
}

.pc-7 {
    background: #93c5d0;
}

.pc-8 {
    background: #40b8c8;
}

@media (min-width: 768px) {
    .nos-pieces {
        padding: 0;
    }

    .nos-pieces-header {
        padding: 60px 40px 40px;
    }

    .nos-pieces-header h2 {
        font-size: 34px;
    }

    .pieces-categories-wrap {
        padding: 40px 40px 60px;
    }

    .pieces-categories {
        max-width: 900px;
        gap: 30px;
    }

    .pieces-cat-circle {
        width: 110px;
        height: 110px;
    }

    .pieces-cat-item span {
        font-size: 13px;
    }
}

@media (min-width: 1024px) {
    .nos-pieces {
        padding: 0;
    }

    .nos-pieces-header {
        padding: 60px 60px 40px;
    }

    .nos-pieces-header h2 {
        font-size: 38px;
    }

    .pieces-categories-wrap {
        padding: 40px 60px 60px;
    }

    .pieces-cat-circle {
        width: 130px;
        height: 130px;
    }

    .pieces-cat-item span {
        font-size: 14px;
    }
}


/* ====================================
   CATALOGUE + FILTRES
   ==================================== */

.catalogue-section {
    background: #ffffff;
    padding: 40px 20px;
}

.catalogue-layout {
    max-width: 1300px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.filters-sidebar {
    background: #ffffff;
    border: 2px solid #0d1f24;
    border-radius: 12px;
    padding: 24px;
    width: 100%;
}

.filters-sidebar h3 {
    font-family: "Saira", sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #0d1f24;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f0f0f0;
}

.filter-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: #0d1f24;
    transition: color 0.2s;
    user-select: none;
}

.filter-item:last-child {
    border-bottom: none;
}

.filter-item:hover {
    color: #147a83;
}

.filter-item i {
    font-size: 12px;
    color: #888;
    transition: transform 0.25s;
}

.filter-item.open i {
    transform: rotate(180deg);
}

.filter-options {
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 10px 0 14px;
}

.filter-options.active {
    display: flex;
}

.filter-options label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #444;
    cursor: pointer;
}

.filter-options input[type="checkbox"] {
    accent-color: #147a83;
    width: 15px;
    height: 15px;
}

.products-area {
    flex: 1;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.product-card {
    border: 1.5px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: box-shadow 0.3s, border-color 0.3s, transform 0.2s;
    position: relative;
    background: #fff;
    text-decoration: none;
    color: inherit;
    display: block;
}

.product-card:hover {
    box-shadow: 0 8px 28px rgba(20, 122, 131, 0.12);
    border-color: #147a83;
    transform: translateY(-2px);
}

.product-img {
    position: relative;
    background: #f9f9f9;
}

.product-img img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    display: block;
    padding: 20px;
    transition: transform 0.3s;
}

.product-card:hover .product-img img {
    transform: scale(1.04);
}

.product-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: rgba(13, 31, 36, 0.85);
    color: white;
    font-size: 12px;
    font-weight: 700;
    font-family: "Saira", sans-serif;
    padding: 8px 14px;
    border-radius: 0 12px 0 12px;
}

.product-body {
    padding: 16px;
}

.product-body h3 {
    font-family: "Saira", sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #0d1f24;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 4px;
    line-height: 1.3;
}

.product-brand {
    font-size: 13px;
    font-weight: 600;
    color: #147a83;
    margin-bottom: 12px;
    display: inline-block;
}

.product-specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 10px;
    margin-bottom: 14px;
}

.spec {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #555;
}

.spec i {
    color: #147a83;
    font-size: 13px;
    width: 14px;
    text-align: center;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #f0f0f0;
}

.product-price {
    font-family: "Saira", sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #0d1f24;
}

.product-stock {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
}

.stock-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.in-stock .stock-dot {
    background: #22c55e;
}

.out-stock .stock-dot {
    background: #ef4444;
}

.pre-order .stock-dot {
    background: #5b7dd8;
}

.in-stock {
    color: #22c55e;
}

.out-stock {
    color: #ef4444;
}

.pre-order {
    color: #5b7dd8;
}

@media (min-width: 768px) {
    .catalogue-section {
        padding: 60px 40px;
    }

    .products-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1024px) {
    .catalogue-section {
        padding: 80px 40px;
    }

    .catalogue-layout {
        flex-direction: row;
        align-items: flex-start;
        gap: 40px;
    }

    .filters-sidebar {
        width: 250px;
        min-width: 250px;
        position: sticky;
        top: 20px;
    }

    .products-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

/* ====================================
   TOOLBAR COMPTEUR
   ==================================== */

.catalogue-toolbar {
    margin-bottom: 16px;
}

.nb-resultats {
    font-family: "Saira", sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #888;
}

/* ====================================
   BOUTON RESET FILTRES
   ==================================== */

.btn-reset-filters {
    width: 100%;
    margin-top: 20px;
    padding: 10px;
    background: none;
    border: 1.5px solid #e0e0e0;
    border-radius: 8px;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #888;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}

.btn-reset-filters:hover {
    border-color: #ef4444;
    color: #ef4444;
}

.btn-reset-filters i {
    margin-right: 6px;
}

/* ====================================
   AUCUN RÉSULTAT
   ==================================== */

.catalogue-no-results {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 60px 20px;
    text-align: center;
}

.catalogue-no-results i {
    font-size: 40px;
    color: #ddd;
}

.catalogue-no-results p {
    font-size: 15px;
    color: #888;
}

.catalogue-no-results button {
    padding: 10px 28px;
    background: #147a83;
    color: white;
    border: none;
    border-radius: 8px;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

.catalogue-no-results button:hover {
    background: #0f5f66;
}

/* Curseur pointer sur les cercles catégorie */
.pieces-cat-item {
    cursor: pointer;
}