/* ============================================================
   VELOSHOP HOMEPAGE — CSS
   Palette : #0057FF (bleu) | #FF6200 (orange) | #0B0F1A (dark)
   Typo    : Barlow Condensed 900 (titres) | Inter (corps)
============================================================ */

:root {
    --vs-blue:   #0057FF;
    --vs-orange: #FF6200;
    --vs-dark:   #0B0F1A;
    --vs-light:  #F5F7FF;
    --vs-grey:   #6B7280;
    --vs-white:  #FFFFFF;
    --vs-border: #E5E7EB;
    --vs-radius: 8px;
    --vs-shadow: 0 4px 24px rgba(0,87,255,0.10);
    --vs-transition: all 0.28s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset scoped ─────────────────────────────────────────── */
.vsph-wrap * { box-sizing: border-box; }
.vsph-wrap {
    font-family: 'Inter', sans-serif;
    color: var(--vs-dark);
    overflow-x: hidden;
}

/* ── Typography ───────────────────────────────────────────── */
.vsph-section-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    text-transform: uppercase;
    color: var(--vs-dark);
    margin: 0 0 6px;
    line-height: 1.1;
}
.vsph-section-subtitle {
    font-size: 0.95rem;
    color: var(--vs-grey);
    margin: 0 0 36px;
}
.vsph-section-header {
    text-align: center;
    margin-bottom: 40px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   1. HERO SLIDER
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.vsph-slider {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--vs-dark);
}
.vsph-slide {
    display: none;
    position: relative;
    min-height: 560px;
    background-size: cover;
    background-position: center;
    align-items: center;
}
.vsph-slide.active { display: flex; }
.vsph-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11,15,26,0.82) 0%, rgba(11,15,26,0.3) 60%, transparent 100%);
}
.vsph-slide-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
    width: 100%;
}
.vsph-slide-tagline {
    display: inline-block;
    background: var(--vs-orange);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 4px 12px;
    border-radius: 2px;
    margin-bottom: 16px;
}
.vsph-slide-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    text-transform: uppercase;
    color: #fff;
    line-height: 1.0;
    margin: 0 0 20px;
}
.vsph-slide-title span { color: var(--vs-orange); display: block; }
.vsph-slide-cta {
    display: inline-block;
    background: var(--vs-blue);
    color: #fff;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 32px;
    border-radius: var(--vs-radius);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--vs-transition);
}
.vsph-slide-cta:hover {
    background: var(--vs-orange);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,98,0,0.35);
}

/* Dots */
.vsph-slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.vsph-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--vs-transition);
    border: none;
    padding: 0;
}
.vsph-dot.active { background: var(--vs-orange); transform: scale(1.3); }

/* Arrows */
.vsph-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,0.15);
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--vs-transition);
    font-size: 1.1rem;
}
.vsph-slider-arrow:hover { background: var(--vs-orange); border-color: var(--vs-orange); }
.vsph-arrow-prev { left: 20px; }
.vsph-arrow-next { right: 20px; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   2. RÉASSURANCE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.vsph-reassurance {
    background: var(--vs-light);
    border-bottom: 1px solid var(--vs-border);
}
.vsph-reassurance-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.vsph-reassurance-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.vsph-reassurance-icon {
    width: 52px;
    height: 52px;
    background: var(--vs-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    font-size: 1.3rem;
}
.vsph-reassurance-text strong {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--vs-dark);
    margin-bottom: 3px;
}
.vsph-reassurance-text span {
    font-size: 0.82rem;
    color: var(--vs-grey);
    line-height: 1.4;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   3. SECTIONS COMMUNES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.vsph-section {
    padding: 60px 24px;
    max-width: 1200px;
    margin: 0 auto;
}
.vsph-section-full {
    padding: 60px 24px;
}
.vsph-section-dark {
    background: var(--vs-dark);
}

/* WooCommerce product grid override in vsph context */
.vsph-products-wrap .products {
    display: grid !important;
    grid-template-columns: repeat(5, 1fr) !important;
    gap: 20px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.vsph-products-wrap .products li.product {
    border: 1px solid var(--vs-border);
    border-radius: var(--vs-radius);
    overflow: hidden;
    transition: var(--vs-transition);
    background: #fff;
    position: relative;
}
.vsph-products-wrap .products li.product:hover {
    box-shadow: var(--vs-shadow);
    transform: translateY(-4px);
}
.vsph-products-wrap .products li.product a img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.vsph-products-wrap .products li.product .woocommerce-loop-product__title {
    font-size: 0.88rem;
    font-weight: 600;
    padding: 10px 12px 2px;
    color: var(--vs-dark);
}
.vsph-products-wrap .products li.product .price {
    padding: 0 12px 10px;
    color: var(--vs-blue);
    font-weight: 700;
    font-size: 1rem;
}
.vsph-products-wrap .products li.product .price del {
    color: var(--vs-grey);
    font-size: 0.82rem;
    font-weight: 400;
}
.vsph-products-wrap .products li.product .button {
    display: block;
    width: calc(100% - 24px);
    margin: 0 12px 12px;
    background: var(--vs-blue);
    color: #fff;
    text-align: center;
    padding: 9px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: var(--vs-transition);
    border: none;
    cursor: pointer;
}
.vsph-products-wrap .products li.product .button:hover {
    background: var(--vs-orange);
}
.vsph-products-wrap .products li.product .onsale {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--vs-orange);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    z-index: 2;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   4. CATÉGORIES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.vsph-categories-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 16px;
}
.vsph-category-card {
    text-align: center;
    text-decoration: none;
    color: var(--vs-dark);
    transition: var(--vs-transition);
}
.vsph-category-card:hover { color: var(--vs-blue); transform: translateY(-4px); }
.vsph-category-card:hover .vsph-category-img-wrap {
    box-shadow: 0 8px 24px rgba(0,87,255,0.18);
    border-color: var(--vs-blue);
}
.vsph-category-img-wrap {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid var(--vs-border);
    margin-bottom: 10px;
    transition: var(--vs-transition);
    background: var(--vs-light);
    display: flex;
    align-items: center;
    justify-content: center;
}
.vsph-category-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.vsph-category-placeholder {
    font-size: 2rem;
}
.vsph-category-name {
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   5. BANNIÈRE PROMO PLEIN ÉCRAN
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.vsph-promo-banner {
    position: relative;
    min-height: 420px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.vsph-promo-banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11,15,26,0.85) 0%, rgba(11,15,26,0.4) 60%, transparent 100%);
}
.vsph-promo-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
    width: 100%;
}
.vsph-promo-tagline {
    display: inline-block;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 12px;
}
.vsph-promo-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    text-transform: uppercase;
    color: #fff;
    line-height: 1.05;
    margin: 0 0 12px;
}
.vsph-promo-title em { color: var(--vs-orange); font-style: normal; display: block; }
.vsph-promo-sub {
    color: rgba(255,255,255,0.8);
    font-size: 1rem;
    margin-bottom: 28px;
}
.vsph-promo-cta {
    display: inline-block;
    background: var(--vs-orange);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 14px 32px;
    border-radius: var(--vs-radius);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--vs-transition);
}
.vsph-promo-cta:hover { background: var(--vs-blue); transform: translateY(-2px); }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   6. TICKER DÉFILANT
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.vsph-ticker {
    background: var(--vs-blue);
    color: #fff;
    padding: 12px 0;
    overflow: hidden;
    white-space: nowrap;
}
.vsph-ticker-inner {
    display: inline-block;
    animation: vsph-ticker-scroll 28s linear infinite;
}
.vsph-ticker-inner:hover { animation-play-state: paused; }
@keyframes vsph-ticker-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.vsph-ticker-item {
    display: inline-block;
    padding: 0 40px;
    font-size: 0.87rem;
    font-weight: 500;
}
.vsph-ticker-item::after {
    content: '⚡';
    margin-left: 40px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   7. ONGLETS CATÉGORIES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.vsph-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}
.vsph-tab-btn {
    background: transparent;
    border: 2px solid var(--vs-border);
    color: var(--vs-grey);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 10px 24px;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--vs-transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.vsph-tab-btn.active,
.vsph-tab-btn:hover {
    background: var(--vs-blue);
    border-color: var(--vs-blue);
    color: #fff;
}
.vsph-tab-panel { display: none; }
.vsph-tab-panel.active { display: block; }

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   8. DOUBLE BANNIÈRE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.vsph-double-banner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 60px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.vsph-banner-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    min-height: 280px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    text-decoration: none;
}
.vsph-banner-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11,15,26,0.85) 0%, rgba(11,15,26,0.15) 70%);
}
.vsph-banner-card-content {
    position: relative;
    z-index: 2;
    padding: 28px;
    width: 100%;
}
.vsph-banner-card-tag {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.7);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 6px;
}
.vsph-banner-card-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 1.8rem;
    text-transform: uppercase;
    color: #fff;
    line-height: 1.05;
    margin-bottom: 14px;
}
.vsph-banner-card-btn {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.4);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--vs-transition);
}
.vsph-banner-card:hover .vsph-banner-card-btn {
    background: var(--vs-orange);
    border-color: var(--vs-orange);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   9. RESPONSIVE
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 1024px) {
    .vsph-categories-grid { grid-template-columns: repeat(4, 1fr); }
    .vsph-products-wrap .products { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 768px) {
    .vsph-reassurance-inner { grid-template-columns: 1fr; }
    .vsph-categories-grid { grid-template-columns: repeat(3, 1fr); }
    .vsph-products-wrap .products { grid-template-columns: repeat(2, 1fr) !important; }
    .vsph-double-banner { grid-template-columns: 1fr; }
    .vsph-slide { min-height: 420px; }
    .vsph-slide-title { font-size: 2.5rem; }
}
@media (max-width: 480px) {
    .vsph-categories-grid { grid-template-columns: repeat(2, 1fr); }
    .vsph-products-wrap .products { grid-template-columns: repeat(2, 1fr) !important; }
}
