/* ====================================
   MENU ACTIF
   ==================================== */

.menu-active {
    background: #147a83;
    color: white !important;
    border-radius: 6px;
    padding: 15px 20px;
}


/* ====================================
   HERO VÉLOS (MOBILE)
   ==================================== */

.velos-hero {
    background: #ffffff;
    position: relative;
    padding: 40px 20px 80px 20px;
    overflow: hidden;
}

.velos-hero-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.velos-hero-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 260px;
}

.velos-hero-circle {
    width: 260px;
    height: 260px;
    background: #7b7fc4;
    border-radius: 50%;
    position: absolute;
    left: 58%;
    transform: translateX(-62%);
}

.velos-hero-img {
    position: relative;
    z-index: 1;
    width: 230px;
    left: -3%;
    object-fit: contain;
    filter: drop-shadow(4px 6px 18px rgba(0, 0, 0, 0.18));
    margin-left: 20px;
}

.velos-hero-text {
    text-align: center;
}

.velos-hero-text h1 {
    font-family: "Saira", sans-serif;
    font-size: 52px;
    font-weight: 900;
    line-height: 0.92;
    color: #0d1f24;
    text-transform: uppercase;
    margin-bottom: 20px;
}

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

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

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

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

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

@keyframes velos-bounce {

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

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

@media (min-width: 768px) {

    .velos-hero {
        padding: 60px 40px;
    }

    .velos-hero-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
    }

    .velos-hero-visual {
        position: relative;
        width: 320px;
        height: 300px;
        flex-shrink: 0;
        order: 1;
    }

    .velos-hero-circle {
        position: absolute;
        width: 320px;
        height: 320px;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .velos-hero-img {
        position: absolute;
        width: 300px;
        right: 0;
        left: 90px;
        top: 50%;
        transform: translateY(-50%);
        margin-left: 0;
    }

    .velos-hero-text {
        order: 2;
        text-align: right;
        flex: 1;
        min-width: 0;
        overflow: hidden;
    }

    .velos-hero-text h1 {
        font-size: clamp(38px, 5.5vw, 80px);
        line-height: 0.92;
    }

    .velos-hero-text p {
        margin-left: auto;
        max-width: 280px;
    }

}

@media (min-width: 1024px) {

    .velos-hero {
        padding: 80px 60px;
        max-width: 1600px;
        margin: auto;
    }

    .velos-hero-text h1 {
        font-size: clamp(52px, 6.5vw, 96px);
    }

    .velos-hero-text p {
        font-size: 16px;
        max-width: 340px;
    }

    .velos-hero-visual {
        width: 380px;
        height: 380px;
        flex-shrink: 0;
    }

    .velos-hero-circle {
        width: 400px;
        height: 400px;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
    }

    .velos-hero-img {
        width: 420px;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        margin-left: 0;
        left: 100px;
    }
}

@media (min-width: 1300px) {

    .velos-hero-visual {
        width: 500px;
        height: 460px;
    }

    .velos-hero-circle {
        width: 490px;
        height: 490px;
    }

    .velos-hero-img {
        width: 520px;
        left: 120px;
    }

}


/* ====================================
   SECTION NOS VÉLOS (MOBILE)
   ==================================== */

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

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

.nos-velos-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-velos-header h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 3px;
    background: #147a83;
    border-radius: 2px;
}

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

.velo-vedette {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    background: #ffffff;
    border-top: 1px solid #ebebeb;
    padding-top: 40px;
}

.velo-vedette-name {
    display: inline-block;
    font-family: "Saira", sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #147a83;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: rgba(20, 122, 131, 0.08);
    padding: 5px 14px;
    border-radius: 20px;
    border: 1px solid rgba(20, 122, 131, 0.2);
    margin-bottom: 28px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    cursor: pointer;
    text-decoration: none;
}

.velo-vedette-name:hover {
    background: #147a83;
    color: #fff;
    border-color: #147a83;
}



.velo-vedette-visual {
    position: relative;
    width: 320px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    /* évite que l'image déborde sur le bouton Filtres en mobile */
}

.velo-vedette-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 260px;
    height: 260px;
    background: #147a83;
    border-radius: 50%;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.velo-vedette-img {
    position: relative;
    z-index: 1;
    width: 300px;
    object-fit: contain;
    filter: drop-shadow(2px 6px 16px rgba(0, 0, 0, 0.15));
    transition: transform 0.35s ease, filter 0.35s ease;
}

.velo-vedette-visual:hover .velo-vedette-img {
    transform: translateY(-8px) scale(1.04);
    filter: drop-shadow(4px 12px 24px rgba(0, 0, 0, 0.22));
}

.velo-vedette-visual:hover .velo-vedette-circle {
    transform: translate(-50%, -50%) scale(1.06);
    box-shadow: 0 12px 30px rgba(20, 122, 131, 0.25);
}

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

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

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

    .nos-velos-header p {
        font-size: 16px;
    }

    .velo-vedette-name {
        font-size: 13px;
    }

    .velo-vedette-visual {
        width: 480px;
        height: 420px;
        overflow: visible;
        /* le cercle est plus grand, on retire le clip */
    }

    .velo-vedette-circle {
        width: 360px;
        height: 360px;
        border-radius: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .velo-vedette-img {
        width: 440px;
    }
}

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

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

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

    .velo-vedette-name {
        font-size: 13px;
    }

    .velo-vedette-visual {
        width: 500px;
    }

    .velo-vedette-circle {
        width: 420px;
        height: 420px;
        border-radius: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
    }

    .velo-vedette-img {
        width: 400px;
    }
}


/* ====================================
   CATALOGUE AVEC FILTRES (MOBILE)
   ==================================== */

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


/* ====================================
   CATALOGUE — LAYOUT
   ==================================== */

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

/* ====================================
   OVERLAY (fond sombre mobile)
   ==================================== */

.filters-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    z-index: 998;
    backdrop-filter: blur(2px);
}

.filters-overlay.active {
    display: block;
}

/* ====================================
   BOUTON FILTRES — visible sur mobile, caché desktop
   ==================================== */

.btn-filtres-mobile {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: #0d1f24;
    color: #fff;
    border: none;
    border-radius: 24px;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-filtres-mobile:hover {
    background: #147a83;
}

.filtre-badge {
    background: #147a83;
    color: #fff;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    font-weight: 700;
    display: none;
    align-items: center;
    justify-content: center;
    margin-left: 2px;
}

/* ====================================
   SIDEBAR — MOBILE : bottom sheet caché
   ==================================== */

.filters-sidebar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #ffffff;
    border-radius: 20px 20px 0 0;
    border-top: 2px solid #0d1f24;
    padding: 0 20px 32px 20px;
    max-height: 80vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.32, 0.72, 0, 1);
    box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.15);
}

.filters-sidebar.open {
    transform: translateY(0);
}

.filter-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0 14px 0;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 4px;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 1;
}

.filter-sidebar-header::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background: #ddd;
    border-radius: 2px;
}

.filter-sidebar-header h3 {
    font-family: "Saira", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0d1f24;
    margin: 0;
}

.btn-close-filters {
    background: #f5f5f5;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #444;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-close-filters:hover {
    background: #e0e0e0;
}

.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 0;
}

.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;
}

/* ====================================
   DESKTOP 1024px+ : sidebar sticky visible
   ==================================== */

@media (min-width: 1024px) {

    .btn-filtres-mobile {
        display: none;
    }

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

    .filters-sidebar {
        position: sticky;
        top: 20px;
        bottom: auto;
        left: auto;
        right: auto;
        transform: none !important;
        transition: none;
        border-radius: 12px;
        border: 2px solid #0d1f24;
        border-top: 2px solid #0d1f24;
        padding: 24px;
        max-height: none;
        overflow-y: visible;
        box-shadow: none;
        width: 250px;
        min-width: 250px;
    }

    .filter-sidebar-header {
        position: static;
    }

    .filter-sidebar-header::before {
        display: none;
    }

    .btn-close-filters {
        display: none;
    }
}

.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 ease, border-color 0.3s;
    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;
}

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

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

.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-badge-precommande {
    background: rgba(91, 125, 216, 0.88);
}

.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;
        gap: 20px;
    }
}

@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;
        gap: 20px;
    }
}

/* ====================================
   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;
}