@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=DM+Sans:wght@300;400;500;600&family=DM+Mono:wght@400;500&display=swap');

/* ── Tokens (sync with header/auth) ── */
:root {
    --p-bg: #ffffff;
    --p-surface: #f4f6f9;
    --p-card: #eef1f5;
    --p-border: rgba(15, 52, 96, 0.10);
    --p-border-m: rgba(15, 52, 96, 0.18);
    --p-accent: #0f3460;
    --p-accent-d: rgba(15, 52, 96, 0.10);
    --p-accent-g: rgba(15, 52, 96, 0.18);
    --p-text: #0d1b2a;
    --p-soft: #4a5568;
    --p-muted: #7a8a9a;
    --p-danger: #f87171;
    --ease: cubic-bezier(0.4, 0, 0.2, 1);
    --t: 0.25s;
}

/* ─────────────────────────────────────
   SECTION HELPERS
───────────────────────────────────── */
.section-header {
    margin-bottom: 48px;
}

.section-header--center {
    text-align: center;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'DM Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--p-muted);
    margin-bottom: 12px;
}

.label-dot {
    width: 6px;
    height: 6px;
    background: var(--p-accent);
    border-radius: 50%;
    display: inline-block;
    animation: dotPulse 2s ease-out infinite;
}

.label-dot--red {
    background: var(--p-danger);
}

@keyframes dotPulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(0.7);
    }
}

.section-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: var(--p-text);
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 12px;
}

.title-accent {
    color: var(--p-accent);
}

.section-sub {
    font-size: 0.95rem;
    color: var(--p-soft);
    max-width: 480px;
    line-height: 1.65;
}

.section-header--center .section-sub {
    margin: 0 auto;
}

/* ─────────────────────────────────────
   HERO
───────────────────────────────────── */
.hero-section {
    position: relative;
    height: 92vh;
    min-height: 600px;
    max-height: 900px;
    overflow: hidden;
    background: var(--p-bg);
}

.hero-carousel {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s var(--ease);
    background: var(--bg) center/cover no-repeat;
}

.hero-slide.active {
    opacity: 1;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.65) 60%, rgba(255, 255, 255, 0.85) 100%),
        rgba(255, 255, 255, 0.45);
}

.hero-content {
    position: relative;
    z-index: 2;
    align-items: center;
    text-align: center;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 120px 140px 120px;
    max-width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'DM Mono', monospace;
    font-size: 0.68rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--p-accent);
    background: var(--p-accent-d);
    border: 1px solid rgba(15, 52, 96, 0.2);
    padding: 6px 14px;
    border-radius: 6px;
    margin-bottom: 32px;
    width: fit-content;
    animation: fadeUp 0.6s var(--ease) 0.2s both;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--p-accent);
    border-radius: 50%;
    animation: dotPulse 2s ease-out infinite;
}

.hero-title {
    font-family: 'Syne', sans-serif;
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    font-weight: 800;
    color: #0d1b2a;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 28px;
    animation: fadeUp 0.6s var(--ease) 0.35s both;
}

.hero-accent {
    color: var(--p-accent);
}

.hero-sub {
    font-size: 1rem;
    color: rgba(13, 27, 42, 0.7);
    line-height: 1.6;
    margin-bottom: 48px;
    animation: fadeUp 0.6s var(--ease) 0.48s both;
}

.hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    animation: fadeUp 0.6s var(--ease) 0.58s both;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: var(--p-accent);
    color: #ffffff;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    border-radius: 10px;
    text-decoration: none;
    transition: background var(--t) var(--ease), transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
    position: relative;
    overflow: hidden;
}

.btn-hero-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
    transition: left 0.5s var(--ease);
}

.btn-hero-primary:hover::before {
    left: 160%;
}

.btn-hero-primary:hover {
    background: #1a4a7a;
    box-shadow: 0 0 28px var(--p-accent-g);
    transform: translateY(-2px);
    color: #ffffff;
}

.btn-hero-ghost {
    display: inline-flex;
    align-items: center;
    padding: 13px 24px;
    background: transparent;
    border: 1px solid rgba(13, 27, 42, 0.2);
    color: rgba(13, 27, 42, 0.85);
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 10px;
    text-decoration: none;
    transition: all var(--t) var(--ease);
}

.btn-hero-ghost:hover {
    background: rgba(13, 27, 42, 0.06);
    border-color: rgba(13, 27, 42, 0.35);
    color: #0d1b2a;
}

/* Hero arrows */
.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 54px;
    height: 54px;
    background: rgba(244, 246, 249, 0.75);
    border: 1px solid var(--p-border-m, rgba(15, 52, 96, 0.18));
    border-radius: 50%;
    color: var(--p-text);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--t) var(--ease);
    backdrop-filter: blur(8px);
}

.hero-arrow:hover {
    background: var(--p-accent);
    color: #ffffff;
    border-color: transparent;
}

.hero-prev {
    left: 32px;
}

.hero-next {
    right: 32px;
}

/* Hero dots */
.hero-dots {
    position: absolute;
    bottom: 110px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 10px;
}

.hero-dot {
    width: 24px;
    height: 3px;
    background: rgba(13, 27, 42, 0.25);
    border-radius: 2px;
    cursor: pointer;
    transition: all var(--t) var(--ease);
}

.hero-dot.active {
    background: var(--p-accent);
    width: 40px;
}

/* Stats bar */
.hero-stats {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background: rgba(244, 246, 249, 0.85);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--p-border);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 64px;
    padding: 24px 40px;
}

.hero-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.stat-num {
    font-family: 'Syne', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--p-accent);
    letter-spacing: -0.03em;
}

.stat-label {
    font-family: 'DM Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--p-muted);
}

.hero-stat-sep {
    width: 1px;
    height: 44px;
    background: var(--p-border);
}

/* ─────────────────────────────────────
   PROMO CAROUSEL (section "Nos bons plans")
───────────────────────────────────── */
.category-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0;
}

.scrolling-row,
.scrolling-row-mobile {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding: 8px 4px 16px;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
}

.scrolling-row::-webkit-scrollbar,
.scrolling-row-mobile::-webkit-scrollbar {
    display: none;
}

/* Scroll buttons */
.scroll-btn {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: var(--p-card);
    border: 1px solid var(--p-border-m);
    border-radius: 50%;
    color: var(--p-text);
    font-size: 1.5rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--t) var(--ease);
    z-index: 2;
}

.scroll-btn:hover {
    background: var(--p-accent);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 0 20px var(--p-accent-g);
}

.scroll-btn.disabled {
    opacity: 0.2;
    pointer-events: none;
}

/* Card scroll */
.card-scroll {
    flex: 0 0 210px;
    min-width: 210px;
    background: var(--p-card) !important;
    border: 1px solid var(--p-border) !important;
    border-radius: 14px !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease), transform var(--t) var(--ease);
}

/* Ligne rouge en haut au hover */
.card-scroll::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--p-danger), transparent);
    opacity: 0;
    transition: opacity var(--t) var(--ease);
    z-index: 3;
}

.card-scroll:hover {
    border-color: var(--p-border-m) !important;
    box-shadow: 0 20px 40px rgba(15, 52, 96, 0.15) !important;
    transform: translateY(-4px);
}

.card-scroll:hover::before {
    opacity: 1;
}

/* Image */
.card-scroll .card-img-top {
    background: #e8edf3;
    border-bottom: 1px solid var(--p-border);
    height: 155px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 0;
    cursor: pointer;
}

.card-scroll .card-img-top img {
    height: 120px;
    width: auto;
    max-width: 88%;
    object-fit: contain;
    transition: transform 0.5s var(--ease);
    display: block;
}

.card-scroll:hover .card-img-top img {
    transform: scale(1.07);
}

/* Badge remise */
.card-scroll .badge.bg-danger {
    font-family: 'DM Mono', monospace !important;
    font-size: 0.68rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    background: var(--p-danger) !important;
    border-radius: 6px !important;
    padding: 4px 9px !important;
    box-shadow: 0 4px 10px rgba(248, 113, 113, 0.3);
}

/* Card body */
.card-scroll .card-body {
    padding: 14px 14px 16px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    background: var(--p-card);
}

.card-scroll .card-body h5 {
    font-family: 'DM Sans', sans-serif;
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--p-text) !important;
    line-height: 1.4;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: center;
    width: 100%;
}

/* Prix barré */
.card-scroll .text-muted {
    font-family: 'DM Mono', monospace;
    font-size: 0.72rem !important;
    color: var(--p-muted) !important;
    text-decoration: line-through;
}

/* Prix final */
.card-scroll .fw-bold[style*="color:#d90429"],
.card-scroll .fw-bold[style*="color: #d90429"] {
    font-family: 'DM Mono', monospace !important;
    font-size: 1rem !important;
    color: var(--p-danger) !important;
    font-weight: 700 !important;
}

/* Quantity selector */
.card-scroll .quantity-selector {
    background: var(--p-surface) !important;
    border: 1px solid var(--p-border-m) !important;
    border-radius: 8px !important;
    overflow: hidden;
    gap: 0 !important;
    margin-bottom: 10px !important;
    width: 100%;
    justify-content: center;
    padding: 0 !important;
}

.card-scroll .btn-qty {
    background: transparent;
    border: none;
    color: var(--p-soft);
    width: 32px;
    height: 34px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--t) var(--ease);
    flex-shrink: 0;
}

.card-scroll .btn-qty:hover {
    background: var(--p-accent-d);
    color: var(--p-accent);
}

.card-scroll .form-control {
    background: transparent !important;
    border: none !important;
    border-left: 1px solid var(--p-border) !important;
    border-right: 1px solid var(--p-border) !important;
    color: var(--p-text) !important;
    font-family: 'DM Mono', monospace !important;
    font-size: 0.82rem !important;
    font-weight: 600;
    text-align: center;
    box-shadow: none !important;
    outline: none !important;
    padding: 0 !important;
    height: 34px;
    width: 50px !important;
}

/* Bouton ajouter au panier */
.card-scroll .btn-ajout,
.btn-ajout {
    width: 100% !important;
    height: 40px;
    background: var(--p-accent) !important;
    color: #ffffff !important;
    font-family: 'Syne', sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.76rem !important;
    letter-spacing: 0.02em;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: background var(--t) var(--ease), transform var(--t) var(--ease), box-shadow var(--t) var(--ease) !important;
    text-transform: none !important;
    padding: 0 10px !important;
}

.card-scroll .btn-ajout::before,
.btn-ajout::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s var(--ease);
}

.card-scroll .btn-ajout:hover::before,
.btn-ajout:hover::before {
    left: 160%;
}

.card-scroll .btn-ajout:hover,
.btn-ajout:hover {
    background: #1a4a7a !important;
    box-shadow: 0 0 20px var(--p-accent-g) !important;
    transform: translateY(-1px);
    color: #ffffff !important;
}


/* ─────────────────────────────────────
   PROMO SECTION BACKGROUND FIX
───────────────────────────────────── */
#promotions {
    background: var(--p-bg) !important;
    padding: 64px 0 !important;
}

body {
    background-color: var(--p-bg) !important;
}

/* Bootstrap containers transparents */
.container,
.container-xl,
.container-fluid,
.container-lg,
.container-md,
.container-sm {
    background: transparent !important;
}

#promotions .section-title {
    color: var(--p-text) !important;
}

#promotions .section-label {
    color: var(--p-muted) !important;
}

/* ─────────────────────────────────────
   CATÉGORIES
───────────────────────────────────── */
.categories-section {
    background: var(--p-bg);
    padding: 96px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.cat-right-grid {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 16px;
}

.cat-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--p-border);
    text-decoration: none;
    background: var(--p-card);
    transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}

.cat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 24px 48px rgba(15, 52, 96, 0.15);
}

.cat-card--large {
    min-height: 480px;
}

.cat-card--small {
    min-height: 228px;
}

.cat-img-wrap {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.cat-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.cat-card:hover .cat-img-wrap img {
    transform: scale(1.05);
}

.cat-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.2) 55%, transparent 100%);
    pointer-events: none;
}

.cat-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px;
    z-index: 2;
}

.cat-tag {
    font-family: 'DM Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--p-accent);
    display: block;
    margin-bottom: 6px;
}

.cat-name {
    font-family: 'Syne', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0d1b2a;
    margin-bottom: 6px;
    letter-spacing: -0.02em;
}

.cat-card--small .cat-name {
    font-size: 1.2rem;
}

.cat-desc {
    font-size: 0.85rem;
    color: rgba(13, 27, 42, 0.65);
    line-height: 1.5;
    margin-bottom: 12px;
}

.cat-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--p-accent);
    opacity: 0;
    transform: translateY(6px);
    transition: all var(--t) var(--ease);
}

.cat-card:hover .cat-cta {
    opacity: 1;
    transform: translateY(0);
}

/* ─────────────────────────────────────
   MARQUES
───────────────────────────────────── */
.brands-section {
    background: var(--p-surface);
    border-top: 1px solid var(--p-border);
    border-bottom: 1px solid var(--p-border);
    padding: 96px 0;
    overflow: hidden;
}

.brands-track-wrap {
    position: relative;
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, black 15%, black 85%, transparent);
}

.brands-track {
    display: flex;
    align-items: center;
    gap: 20px;
    animation: brandScroll 18s linear infinite;
    width: max-content;
}

.brands-track:hover {
    animation-play-state: paused;
}

@keyframes brandScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}
.brands-track-wrap {
    overflow: hidden;
    width: 100%;
    padding: 1rem 0;
}

.brands-track {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: max-content;
    animation: scrollBrands 20s linear infinite;
}

.brands-track:hover {
    animation-play-state: paused;
}

.brand-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 160px;
    height: 80px;
    padding: 0.5rem;
}

.brand-chip img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: none;
    opacity: 1;
    transition: none;
}

@keyframes scrollBrands {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.brand-chip:hover {
    background: var(--p-accent-d);
    border-color: rgba(15, 52, 96, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(15, 52, 96, 0.12);
}

/* ─────────────────────────────────────
   POURQUOI
───────────────────────────────────── */
.why-section {
    background: var(--p-bg);
    padding: 96px 0;
}

.why-logo {
    height: 36px;
    vertical-align: middle;
    margin-left: 10px;
    margin-top: -4px;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.why-card {
    background: var(--p-card);
    border: 1px solid var(--p-border);
    border-radius: 16px;
    padding: 32px 28px;
    transition: all var(--t) var(--ease);
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--p-accent), transparent);
    opacity: 0;
    transition: opacity var(--t) var(--ease);
}

.why-card:hover {
    border-color: var(--p-border-m);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(15, 52, 96, 0.12);
}

.why-card:hover::before {
    opacity: 1;
}

.why-icon {
    width: 48px;
    height: 48px;
    background: var(--p-accent-d);
    border: 1px solid rgba(15, 52, 96, 0.18);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    color: var(--p-accent);
    margin-bottom: 20px;
}

.why-title {
    font-family: 'Syne', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: var(--p-text);
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.why-desc {
    font-size: 0.85rem;
    color: var(--p-soft);
    line-height: 1.65;
    margin: 0;
}

/* ─────────────────────────────────────
   CTA BAND
───────────────────────────────────── */
.cta-band {
    background: var(--p-surface);
    border-top: 1px solid var(--p-border);
    padding: 64px 0;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 0 24px;
}

.cta-title {
    font-family: 'Syne', sans-serif;
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--p-text);
    letter-spacing: -0.03em;
    margin-bottom: 6px;
}

.cta-sub {
    font-size: 0.9rem;
    color: var(--p-soft);
    margin: 0;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    padding: 14px 32px;
    background: var(--p-accent);
    color: #ffffff;
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    border-radius: 10px;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all var(--t) var(--ease);
    position: relative;
    overflow: hidden;
}

.btn-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22), transparent);
    transition: left 0.5s var(--ease);
}

.btn-cta:hover::before {
    left: 160%;
}

.btn-cta:hover {
    background: #1a4a7a;
    box-shadow: 0 0 28px var(--p-accent-g);
    transform: translateY(-2px);
    color: #ffffff;
}

.section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(15, 52, 96, 0.10), transparent);
    margin: 0;
}

/* ─────────────────────────────────────
   ANIMATIONS
───────────────────────────────────── */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─────────────────────────────────────
   RESPONSIVE
───────────────────────────────────── */
@media (max-width: 1024px) {
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-section {
        height: 80vh;
    }

    .hero-content {
        padding: 60px 32px 130px;
        align-items: center;
        text-align: center;
    }

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

    .cat-right-grid {
        grid-template-rows: auto;
        grid-template-columns: 1fr 1fr;
    }

    .cat-card--large {
        min-height: 340px;
    }

    .cat-card--small {
        min-height: 200px;
    }

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

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .hero-stats {
        gap: 20px;
    }

    .hero-stat-sep {
        display: none;
    }

    .card-scroll {
        flex: 0 0 175px;
        min-width: 175px;
    }

    .card-scroll .card-img-top {
        height: 130px;
    }

    .card-scroll .card-img-top img {
        height: 100px;
    }
}

@media (max-width: 480px) {
    .why-grid {
        grid-template-columns: 1fr;
    }

    .cat-right-grid {
        grid-template-columns: 1fr;
    }

    .hero-arrow {
        display: none;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .card-scroll {
        flex: 0 0 155px;
        min-width: 155px;
    }

    .card-scroll .card-body h5 {
        font-size: 0.76rem;
    }

    .card-scroll .btn-ajout {
        font-size: 0.68rem !important;
        height: 36px;
    }
}
