/* ============================================================
   HOME PAGE — EPI Côte d'Ivoire
   Aligné sur epi-design.css : utilise les variables --epi-*
   déjà définies globalement. Ne redéfinit AUCUN token.
   ============================================================ */

/* En-têtes de section réutilisables */
.section-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--epi-red);
    margin-bottom: 6px;
}

.section-heading {
    font-size: clamp(22px, 3vw, 34px);
    font-weight: 900;
    color: var(--epi-text);
    letter-spacing: -0.5px;
}

.section-heading span {
    color: var(--epi-red);
}

.epi-section-title {
    font-size: clamp(24px, 3.2vw, 38px);
    font-weight: 900;
    color: var(--epi-text);
    letter-spacing: -0.5px;
    margin-bottom: 6px;
}

.epi-divider {
    width: 64px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--epi-red), var(--epi-red-light));
    margin: 14px auto 0;
}

.section-intro {
    text-align: center;
    margin-bottom: 8px;
}

/* ============================================================ SECTION 1 — Hero Slider ============================================================ */
.home-hero {
    position: relative;
}

/* wrap-pagination : flottante sur le slide → n'ajoute plus de hauteur dans le flux */
.home-hero .wrap-pagination {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    z-index: 5;
    pointer-events: none;
}
.home-hero .wrap-pagination > * { pointer-events: auto; }

/* wrap-slider positionné pour overlay et box-content */
.home-hero .wrap-slider {
    position: relative;
    overflow: hidden;
    font-size: 0; /* supprime l'espace inline sous <img> */
}

.home-hero .tf-slideshow .wrap-slider img {
    display: block;
    height: clamp(340px, 50vw, 620px);
    width: 100%;
    object-fit: cover;
    object-position: center;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
    -ms-interpolation-mode: bicubic;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.home-hero .wrap-slider::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.30) 45%, transparent 75%);
    z-index: 1;
    pointer-events: none;
}

.home-hero .box-content {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    z-index: 2;
    /* Padding-bottom = réserve de place pour la pagination flottante */
    padding-bottom: 56px;
}

.home-hero .box-content .slide-inner {
    max-width: 660px;
}

.home-hero .box-content .slide-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(227, 6, 19, 0.92);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 30px;
    margin-bottom: 18px;
    box-shadow: 0 6px 18px rgba(227, 6, 19, 0.35);
}

.home-hero .box-content h1 {
    font-size: clamp(32px, 4.6vw, 64px);
    font-weight: 900;
    line-height: 1.08;
    color: #fff !important;
    text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
    margin-bottom: 18px;
    letter-spacing: -1px;
}

.home-hero .box-content p {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.92) !important;
    margin-bottom: 30px;
    max-width: 520px;
    line-height: 1.7;
    text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.home-hero .slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--epi-red) 0%, var(--epi-red-dark) 100%);
    color: #fff;
    padding: 14px 34px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--epi-transition);
    box-shadow: 0 10px 32px rgba(227, 6, 19, 0.42);
}

.home-hero .slide-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 44px rgba(227, 6, 19, 0.55);
    color: #fff;
}

.home-hero .slide-btn-outline {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid rgba(255, 255, 255, 0.65);
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--epi-transition);
    backdrop-filter: blur(4px);
}

.home-hero .slide-btn-outline:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: #fff;
    color: #fff;
}

.hero-badge-float {
    position: absolute;
    bottom: 44px;
    right: 60px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

@media(max-width:768px) {
    .hero-badge-float {
        display: none;
    }
}

.hero-badge-item {
    background: rgba(255, 255, 255, 0.14);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 16px;
    padding: 12px 20px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.hero-badge-item .badge-icon {
    width: 38px;
    height: 38px;
    background: var(--epi-red);
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(227, 6, 19, 0.45);
}

.hero-badge-small {
    font-size: 11px;
    opacity: 0.75;
    letter-spacing: 0.5px;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    width: 42px;
    height: 42px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    text-decoration: none;
    animation: heroScrollBounce 2s ease-in-out infinite;
    transition: background 0.3s ease;
}

.hero-scroll-indicator:hover {
    background: var(--epi-red);
    border-color: var(--epi-red);
    color: #fff;
}

@keyframes heroScrollBounce {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(6px);
    }
}

@media(max-width:576px) {
    .hero-scroll-indicator {
        display: none;
    }
}

/* ============================================================ TRUST BAR ============================================================ */
.home-trust-bar {
    background: var(--epi-dark);
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    position: relative;
    z-index: 2;
}

.trust-bar-track {
    display: flex;
    animation: trustScroll 28s linear infinite;
    width: max-content;
}

.trust-bar-track:hover {
    animation-play-state: paused;
}

@keyframes trustScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.trust-bar-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 40px;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    font-weight: 600;
    flex-shrink: 0;
}

.trust-bar-item i {
    color: var(--epi-red-light);
    font-size: 16px;
    flex-shrink: 0;
}

/* ============================================================ SECTION 2 — Catégories ============================================================ */
.home-categories {
    padding: 56px 0 40px;
}

.home-categories .section-heading {
    margin-bottom: 28px;
}

.cat-pill-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 6px 2px 14px;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    cursor: grab;
}

.cat-pill-track:active {
    cursor: grabbing;
}

.cat-pill-track::-webkit-scrollbar {
    display: none;
}

.cat-pill-item {
    flex-shrink: 0;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.cat-pill-img {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--epi-gray-2);
    transition: var(--epi-transition);
    position: relative;
    background: var(--epi-gray);
    box-shadow: var(--epi-shadow-sm);
}

.cat-pill-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.cat-pill-item:hover .cat-pill-img {
    border-color: var(--epi-red);
    box-shadow: 0 0 0 5px var(--epi-red-10), var(--epi-shadow-sm);
    transform: translateY(-5px);
}

.cat-pill-item:hover .cat-pill-img img {
    transform: scale(1.12);
}

.cat-pill-name {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--epi-text);
    text-align: center;
    max-width: 100px;
    line-height: 1.3;
    transition: color 0.3s;
}

.cat-pill-item:hover .cat-pill-name {
    color: var(--epi-red);
}

.cat-pill-all {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.cat-pill-all .cat-pill-img {
    background: linear-gradient(135deg, var(--epi-red) 0%, var(--epi-red-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-color: var(--epi-red);
}

.cat-pill-all .cat-pill-img i {
    color: #fff;
    font-size: 2rem;
}

.cat-pill-all .cat-pill-name,
.cat-pill-all-name {
    color: var(--epi-red);
}

.hsh-link {
    font-size: 14px;
    font-weight: 600;
    color: var(--epi-red);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    padding: 9px 18px;
    border: 2px solid var(--epi-red);
    border-radius: 30px;
    transition: var(--epi-transition);
}

.hsh-link:hover {
    background: var(--epi-red);
    color: #fff;
    transform: translateY(-1px);
}

/* ============================================================ SECTION 3 — Collections ============================================================ */
.home-collections {
    padding: 0 0 56px;
    position: relative;
    z-index: 2;
}

.home-collections .section-intro {
    padding: 56px 0 36px;
}

.home-collections .section-intro h2 {
    font-size: clamp(24px, 3vw, 38px);
    font-weight: 900;
    color: var(--epi-text);
    letter-spacing: -0.5px;
}

.home-collections .section-intro h2 span {
    color: var(--epi-red);
}

.collections-grid {
    display: grid;
    grid-template-columns: 3fr 2fr;
    grid-template-rows: 280px 280px;
    gap: 18px;
}

.coll-item:first-child {
    grid-row: 1 / 3;
}

@media(max-width:992px) {
    .collections-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 290px auto;
    }

    .coll-item:first-child {
        grid-row: unset;
    }

    .coll-item:nth-child(3) {
        grid-column: span 2;
    }
}

@media(max-width:576px) {
    .collections-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .coll-item:nth-child(3) {
        grid-column: span 1;
    }
}

.coll-item {
    position: relative;
    border-radius: var(--epi-radius-lg);
    overflow: hidden;
    cursor: pointer;
    min-height: 280px;
    display: block;
    text-decoration: none;
    box-shadow: var(--epi-shadow-sm);
}

.coll-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    position: absolute;
    inset: 0;
}

.coll-item:hover img {
    transform: scale(1.08);
}

.coll-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.22) 55%, transparent 80%);
    transition: var(--epi-transition);
}

.coll-item:hover .coll-overlay {
    background: linear-gradient(to top, rgba(184, 0, 15, 0.85) 0%, rgba(0, 0, 0, 0.25) 55%, transparent 80%);
}

.coll-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 2;
    transition: transform 0.3s ease;
}

.coll-item:hover .coll-content {
    transform: translateY(-4px);
}

.coll-sub {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 6px;
    display: block;
}

.coll-title {
    font-size: clamp(18px, 2vw, 28px);
    font-weight: 900;
    color: #fff;
    line-height: 1.18;
    margin-bottom: 16px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.coll-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    padding: 9px 22px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: var(--epi-transition);
}

.coll-item:hover .coll-btn {
    opacity: 1;
    transform: translateY(0);
    background: var(--epi-red);
    border-color: var(--epi-red);
}

/* ============================================================ WHY US ============================================================ */
.home-why-us {
    padding: 72px 0;
    position: relative;
    z-index: 1;
}

.why-us-desc {
    color: var(--epi-text-muted);
    max-width: 580px;
    margin: 16px auto 0;
    font-size: 15.5px;
    line-height: 1.75;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

@media(max-width:992px) {
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:480px) {
    .why-us-grid {
        grid-template-columns: 1fr;
    }
}

.why-card {
    text-align: center;
    padding: 40px 26px;
    border-radius: var(--epi-radius-lg);
    background: var(--epi-gray);
    border: 2px solid transparent;
    transition: var(--epi-transition);
    position: relative;
    overflow: hidden;
    cursor: default;
}

.why-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--epi-red), var(--epi-red-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.why-card:hover {
    border-color: rgba(227, 6, 19, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 22px 50px rgba(227, 6, 19, 0.12);
    background: #fff;
}

.why-card:hover::after {
    transform: scaleX(1);
}

.why-icon-wrap {
    width: 74px;
    height: 74px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--epi-red), var(--epi-red-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    margin: 0 auto 22px;
    transition: var(--epi-transition);
    box-shadow: 0 8px 22px rgba(227, 6, 19, 0.28);
}

.why-card:hover .why-icon-wrap {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 14px 34px rgba(227, 6, 19, 0.4);
}

.why-card-title {
    font-size: 16.5px;
    font-weight: 800;
    color: var(--epi-text);
    margin-bottom: 10px;
}

.why-card-text {
    font-size: 13.5px;
    color: var(--epi-text-muted);
    line-height: 1.7;
}

/* ============================================================ SECTION 4 — Banner Pied ============================================================ */
.home-banner-split {
    position: relative;
    overflow: hidden;
    min-height: 440px;
    display: flex;
    align-items: stretch;
    margin: 56px 0;
    background: var(--epi-dark) !important;
    z-index: 2;
}

.home-banner-split .split-image {
    position: absolute;
    right: 0;
    top: 0;
    width: 60%;
    height: 100%;
}

.home-banner-split .split-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.58;
    transition: transform 6s ease;
}

.home-banner-split:hover .split-image img {
    transform: scale(1.06);
}

.home-banner-split .split-image::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, var(--epi-dark) 8%, transparent 82%);
    z-index: 1;
}

.home-banner-split .split-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px;
    max-width: 580px;
}

@media(max-width:768px) {
    .home-banner-split {
        margin: 32px 0;
    }

    .home-banner-split .split-image {
        width: 100%;
        opacity: 0.32;
    }

    .home-banner-split .split-content {
        padding: 44px 24px;
        max-width: 100%;
    }
}

.split-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--epi-red);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 15px;
    border-radius: 20px;
    margin-bottom: 22px;
    width: fit-content;
}

.split-content h2 {
    font-size: clamp(28px, 4vw, 54px);
    font-weight: 900;
    color: #fff !important;
    line-height: 1.08;
    margin-bottom: 18px;
    letter-spacing: -0.5px;
}

.split-content h2 span {
    color: var(--epi-red-light);
}

.split-content p {
    color: rgba(255, 255, 255, 0.78);
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.7;
}

.split-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.split-actions .slide-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--epi-red) 0%, var(--epi-red-dark) 100%);
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: var(--epi-transition);
    box-shadow: 0 10px 28px rgba(227, 6, 19, 0.4);
}

.split-actions .slide-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 38px rgba(227, 6, 19, 0.5);
    color: #fff;
}

.split-actions .slide-btn-outline {
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid rgba(255, 255, 255, 0.6);
    color: #fff;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--epi-transition);
    display: inline-flex;
    align-items: center;
}

.split-actions .slide-btn-outline:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: #fff;
    color: #fff;
}

.banner-split-container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

/* ============================================================ En-têtes sections produits ============================================================ */
.home-products-section,
.home-offers,
.home-articles {
    padding: 56px 0;
}

.home-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 36px;
    flex-wrap: wrap;
    gap: 12px;
}

.home-section-header .hsh-left {
    display: flex;
    flex-direction: column;
}

.home-section-header .hsh-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 13px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
    width: fit-content;
}

.badge-new {
    background: var(--epi-red-pale);
    color: var(--epi-red);
}

.badge-hot {
    background: #fff3e0;
    color: #f57c00;
}

.badge-seen {
    background: #e3f2fd;
    color: #1976d2;
}

.home-section-header h2 {
    font-size: clamp(22px, 2.6vw, 30px);
    font-weight: 900;
    color: var(--epi-text);
    margin: 0;
    letter-spacing: -0.5px;
}

.home-section-header h2 span {
    color: var(--epi-red);
}

/* ============================================================ SECTION 5 — Produits Récents ============================================================ */
.products-scroll-track {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 6px 2px 10px;
    scrollbar-width: none;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

.products-scroll-track::-webkit-scrollbar {
    display: none;
}

.prod-card-h {
    flex-shrink: 0;
    width: 210px;
    scroll-snap-align: start;
    background: #fff;
    border-radius: var(--epi-radius);
    overflow: hidden;
    box-shadow: var(--epi-shadow-sm);
    transition: var(--epi-transition);
    border: 1px solid var(--epi-gray-2);
    position: relative;
    display: flex;
    flex-direction: column;
}

@media(max-width:576px) {
    .prod-card-h {
        width: 168px;
    }
}

.prod-card-h:hover {
    transform: translateY(-6px);
    box-shadow: var(--epi-shadow-lg);
    border-color: var(--epi-red-10);
}

.prod-card-h .pch-img {
    height: 168px;
    overflow: hidden;
    position: relative;
    background: var(--epi-gray);
}

.prod-card-h .pch-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.prod-card-h:hover .pch-img img {
    transform: scale(1.1);
}

.prod-card-h .pch-actions {
    position: absolute;
    top: 8px;
    right: 8px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transform: translateX(10px);
    transition: var(--epi-transition);
}

.prod-card-h:hover .pch-actions {
    opacity: 1;
    transform: translateX(0);
}

.pch-action-btn {
    width: 34px;
    height: 34px;
    background: #fff;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--epi-text);
    font-size: 13px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
    transition: all 0.2s ease;
}

.pch-action-btn:hover {
    background: var(--epi-red);
    color: #fff;
    transform: scale(1.08);
}

.prod-card-h .pch-info {
    padding: 14px 15px 16px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.pch-name {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--epi-text);
    text-decoration: none;
    margin-bottom: 8px;
    line-height: 1.4;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    transition: color 0.2s;
    min-height: 38px;
}

.pch-name:hover {
    color: var(--epi-red);
}

.pch-price {
    font-size: 15px;
    font-weight: 800;
    color: var(--epi-red);
    display: block;
    margin-bottom: 10px;
    margin-top: auto;
}

.pch-buy-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 9px;
    background: linear-gradient(135deg, var(--epi-red), var(--epi-red-dark));
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: var(--epi-transition);
    margin-top: auto;
}

.pch-buy-btn:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--epi-red-20);
}

.scroll-indicator {
    display: flex;
    gap: 5px;
    justify-content: center;
    margin-top: 18px;
}

.scroll-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--epi-gray-2);
    cursor: pointer;
    transition: var(--epi-transition);
}

.scroll-dot.active {
    background: var(--epi-red);
    width: 20px;
    border-radius: 4px;
}

/* ============================================================ SECTION 6 — Offres Spéciales ============================================================ */
.offers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

@media(max-width:992px) {
    .offers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width:768px) {
    .offers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

@media(max-width:380px) {
    .offers-grid {
        grid-template-columns: 1fr;
    }
}

.offer-card {
    background: #fff;
    border-radius: var(--epi-radius);
    overflow: hidden;
    box-shadow: var(--epi-shadow-sm);
    transition: var(--epi-transition);
    border: 1px solid var(--epi-gray-2);
    position: relative;
    display: flex;
    flex-direction: column;
}

.offer-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--epi-shadow-lg);
    border-color: rgba(227, 6, 19, 0.18);
}

.offer-card .oc-img {
    height: 210px;
    overflow: hidden;
    position: relative;
    background: var(--epi-gray);
}

.offer-card .oc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.offer-card:hover .oc-img img {
    transform: scale(1.08);
}

.oc-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #f57c00, #e65100);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.5px;
    padding: 4px 11px;
    border-radius: 20px;
    z-index: 1;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(245, 124, 0, 0.4);
}

.oc-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 18px;
    gap: 8px;
}

.offer-card:hover .oc-overlay {
    opacity: 1;
}

.oc-quick-btn {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--epi-text);
    font-size: 14px;
    transform: translateY(12px);
    transition: var(--epi-transition);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.offer-card:hover .oc-quick-btn {
    transform: translateY(0);
}

.oc-quick-btn:hover {
    background: var(--epi-red);
    color: #fff;
}

.offer-card .oc-body {
    padding: 15px 16px 6px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.oc-name {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--epi-text);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.42;
    margin-bottom: 10px;
    min-height: 38px;
    transition: color 0.2s;
}

.oc-name:hover {
    color: var(--epi-red);
}

.oc-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--epi-red);
    margin-bottom: 4px;
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 6px;
}

.oc-tag-icon {
    font-size: 12px;
}

.oc-footer {
    margin-top: auto;
    border-top: 1px solid var(--epi-gray-2);
    padding: 12px 16px 16px;
    display: flex;
    gap: 8px;
}

.oc-btn {
    flex: 1;
    padding: 9px 0;
    border-radius: 10px;
    font-size: 12.5px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: var(--epi-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: none;
    cursor: pointer;
}

.oc-btn-primary {
    background: linear-gradient(135deg, var(--epi-red), var(--epi-red-dark));
    color: #fff;
}

.oc-btn-primary:hover {
    color: #fff;
    box-shadow: 0 6px 16px var(--epi-red-20);
    transform: translateY(-2px);
}

.oc-btn-outline {
    background: transparent;
    color: var(--epi-text-muted);
    border: 1px solid var(--epi-gray-2) !important;
    flex: 0 0 44px;
}

.oc-btn-outline:hover {
    border-color: var(--epi-red) !important;
    color: var(--epi-red);
    background: var(--epi-red-pale);
}

/* ============================================================ SECTION 7 — Produits vus ============================================================ */
.home-viewed {
    padding: 48px 0;
    background: linear-gradient(135deg, var(--epi-dark) 0%, var(--epi-dark-3) 100%) !important;
    position: relative;
    overflow: hidden;
    margin: 0 16px 32px;
    border-radius: var(--epi-radius-lg);
    z-index: 2;
}

@media(max-width:768px) {
    .home-viewed {
        margin: 0 8px 24px;
        border-radius: 16px;
    }
}

.home-viewed::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -5%;
    width: 420px;
    height: 420px;
    background: rgba(227, 6, 19, 0.08);
    border-radius: 50%;
}

.home-viewed .section-heading,
.home-viewed .home-section-header h2 {
    color: #fff !important;
}

.home-viewed .hsh-link {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.85);
}

.home-viewed .hsh-link:hover {
    background: var(--epi-red);
    border-color: var(--epi-red);
    color: #fff;
}

.home-viewed .badge-seen {
    background: rgba(25, 118, 210, 0.25);
    color: #90caf9;
}

.text-epi-red-light {
    color: var(--epi-red-light);
}

.viewed-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media(max-width:992px) {
    .viewed-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width:576px) {
    .viewed-list {
        grid-template-columns: 1fr;
    }
}

.viewed-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 14px;
    text-decoration: none;
    transition: var(--epi-transition);
    backdrop-filter: blur(8px);
}

.viewed-item:hover {
    background: rgba(227, 6, 19, 0.16);
    border-color: rgba(227, 6, 19, 0.32);
    transform: translateX(4px);
}

.viewed-thumb {
    width: 66px;
    height: 66px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.1);
}

.viewed-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.viewed-item:hover .viewed-thumb img {
    transform: scale(1.1);
}

.viewed-info {
    flex: 1;
    min-width: 0;
}

.viewed-name {
    font-size: 13.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    display: block;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-bottom: 5px;
}

.viewed-price {
    font-size: 13.5px;
    font-weight: 800;
    color: var(--epi-red-light);
}

.viewed-devis {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.viewed-arrow {
    color: rgba(255, 255, 255, 0.4);
    font-size: 14px;
    flex-shrink: 0;
    transition: var(--epi-transition);
}

.viewed-item:hover .viewed-arrow {
    color: var(--epi-red-light);
    transform: translateX(4px);
}

.viewed-container {
    z-index: 1;
}

/* ============================================================ SECTION 8 — Stats ============================================================ */
.home-stats {
    padding: 0;
    background: linear-gradient(135deg, var(--epi-red) 0%, var(--epi-red-dark) 100%) !important;
    overflow: hidden;
    position: relative;
    margin: 0 16px;
    border-radius: var(--epi-radius-lg);
    box-shadow: 0 18px 44px rgba(227, 6, 19, 0.25);
    z-index: 2;
}

@media(max-width:768px) {
    .home-stats {
        margin: 0 8px;
        border-radius: 16px;
    }
}

.home-stats::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -5%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 50%;
}

.home-stats::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 200px;
    height: 200px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: relative;
    z-index: 1;
}

@media(max-width:768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stat-item {
    padding: 44px 24px;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.16);
    transition: background 0.3s ease;
}

.stat-item:last-child {
    border-right: none;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

@media(max-width:768px) {
    .stat-item:nth-child(2) {
        border-right: none;
    }

    .stat-item:nth-child(3) {
        border-right: 1px solid rgba(255, 255, 255, 0.16);
    }

    .stat-item:nth-child(4) {
        border-right: none;
    }

    .stat-item:nth-child(3),
    .stat-item:nth-child(4) {
        border-top: 1px solid rgba(255, 255, 255, 0.16);
    }
}

.stat-icon {
    font-size: 2rem;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
}

.stat-number {
    font-size: clamp(30px, 4vw, 50px);
    font-weight: 900;
    color: #fff;
    display: block;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-suffix {
    font-size: 0.6em;
    font-weight: 700;
}

.stat-label {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* ============================================================ SECTION 9 — Articles (Tabs) ============================================================ */
.articles-tabs-nav {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 4px;
    margin-bottom: 40px;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
}

.articles-tabs-nav::-webkit-scrollbar {
    display: none;
}

.art-tab-btn {
    flex-shrink: 0;
    padding: 10px 24px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    border: 2px solid var(--epi-gray-2);
    color: var(--epi-text-muted);
    cursor: pointer;
    transition: var(--epi-transition);
    background: #fff;
    white-space: nowrap;
    text-decoration: none;
}

.art-tab-btn:hover {
    border-color: var(--epi-red);
    color: var(--epi-red);
    background: var(--epi-red-pale);
}

.art-tab-btn.active {
    background: linear-gradient(135deg, var(--epi-red), var(--epi-red-dark));
    border-color: transparent;
    color: #fff;
    box-shadow: 0 6px 18px var(--epi-red-20);
}

.art-tab-btn.all-btn {
    background: var(--epi-dark);
    border-color: var(--epi-dark);
    color: #fff;
}

.art-tab-btn.all-btn:hover {
    opacity: 0.88;
    color: #fff;
}

.art-tab-pane {
    display: none;
}

.art-tab-pane.active {
    display: block;
    animation: epi-fadeInUp 0.35s ease;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}

@media(max-width:1200px) {
    .articles-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media(max-width:768px) {
    .articles-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
}

@media(max-width:400px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
}

.art-card {
    background: #fff;
    border-radius: var(--epi-radius);
    overflow: hidden;
    box-shadow: var(--epi-shadow-sm);
    border: 1px solid var(--epi-gray-2);
    transition: var(--epi-transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.art-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--epi-shadow-lg);
    border-color: rgba(227, 6, 19, 0.2);
}

.art-card .ac-img {
    height: 210px;
    overflow: hidden;
    position: relative;
    background: var(--epi-gray);
}

.art-card .ac-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.art-card:hover .ac-img img {
    transform: scale(1.08);
}

.ac-hover-overlay {
    position: absolute;
    inset: 0;
    background: rgba(184, 0, 15, 0.62);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.art-card:hover .ac-hover-overlay {
    opacity: 1;
}

.ac-hover-btn {
    width: 46px;
    height: 46px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--epi-red);
    font-size: 16px;
    transform: scale(0.7);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
}

.art-card:hover .ac-hover-btn {
    transform: scale(1);
}

.ac-hover-btn:hover {
    background: var(--epi-red);
    color: #fff;
}

.delay-1 {
    transition-delay: 0.05s;
}

.delay-2 {
    transition-delay: 0.12s;
}

.art-card .ac-body {
    padding: 15px 16px 8px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.ac-name {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--epi-text);
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.42;
    margin-bottom: 10px;
    min-height: 38px;
    transition: color 0.2s;
}

.ac-name:hover {
    color: var(--epi-red);
}

.ac-price {
    font-size: 15px;
    font-weight: 800;
    color: var(--epi-red);
    margin-bottom: 10px;
    margin-top: auto;
}

.ac-actions {
    padding: 0 16px 16px;
    display: flex;
    gap: 8px;
}

.ac-action-btn {
    flex: 1;
    padding: 9px 0;
    border-radius: 11px;
    font-size: 12.5px;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    transition: var(--epi-transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: none;
    cursor: pointer;
}

.ac-action-primary {
    background: linear-gradient(135deg, var(--epi-red), var(--epi-red-dark));
    color: #fff;
}

.ac-action-primary:hover {
    color: #fff;
    box-shadow: 0 6px 16px var(--epi-red-20);
    transform: translateY(-2px);
}

.ac-action-secondary {
    background: var(--epi-gray);
    color: var(--epi-text-muted);
    border: 1px solid var(--epi-gray-2) !important;
    flex: 0 0 44px;
}

.ac-action-secondary:hover {
    border-color: var(--epi-red) !important;
    color: var(--epi-red);
    background: var(--epi-red-pale);
}

.empty-products-msg {
    grid-column: 1 / -1;
    text-align: center;
    padding: 56px;
    color: var(--epi-text-muted);
    font-size: 15px;
}

.empty-products-icon {
    font-size: 2.4rem;
    opacity: 0.3;
    display: block;
    margin-bottom: 10px;
}

.articles-see-more {
    text-align: center;
    margin-top: 44px;
}

/* ============================================================ BRANDS ============================================================ */
.home-brands {
    padding: 52px 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

.brands-trust-label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--epi-text-muted);
}

.brands-outer {
    overflow: hidden;
    position: relative;
}

.brands-outer::before,
.brands-outer::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 90px;
    z-index: 2;
    pointer-events: none;
}

.brands-outer::before {
    left: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.9), transparent);
}

.brands-outer::after {
    right: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0.9), transparent);
}

.brands-scroll {
    display: flex;
    align-items: center;
    gap: 0;
    animation: brandsScroll 22s linear infinite;
    width: max-content;
}

.brands-scroll:hover {
    animation-play-state: paused;
}

@keyframes brandsScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.brand-item {
    padding: 0 48px;
    border-right: 1px solid var(--epi-gray-2);
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    cursor: default;
}

.brand-item:hover {
    opacity: 1;
}

.brand-item i {
    font-size: 22px;
    color: var(--epi-red);
}

.brand-item span {
    font-size: 15px;
    font-weight: 800;
    color: var(--epi-text);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.brand-item--logo {
    padding: 0 36px;
    opacity: 0.6;
}

.brand-item--logo:hover {
    opacity: 1;
}

.brand-item--logo img {
    height: 40px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.brand-item--logo:hover img {
    filter: grayscale(0%);
}

/* ============================================================ TESTIMONIALS ============================================================ */
.home-testimonials {
    padding: 72px 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.text-epi-red {
    color: var(--epi-red);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

@media(max-width:992px) {
    .testimonials-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media(max-width:576px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}

.testi-card {
    background: #fff;
    border-radius: var(--epi-radius-lg);
    padding: 30px;
    border: 1px solid var(--epi-gray-2);
    transition: var(--epi-transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.testi-card::before {
    content: '\201C';
    position: absolute;
    top: 16px;
    right: 22px;
    font-size: 64px;
    font-family: Georgia, serif;
    color: var(--epi-red);
    opacity: 0.16;
    line-height: 1;
}

.testi-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 22px 50px rgba(227, 6, 19, 0.12);
    border-color: rgba(227, 6, 19, 0.2);
}

.testi-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 16px;
}

.testi-stars i {
    color: #f59e0b;
    font-size: 15px;
}

.testi-text {
    font-size: 14.5px;
    color: #374151;
    line-height: 1.78;
    margin-bottom: 22px;
    font-style: italic;
    flex: 1;
}

.testi-author {
    display: flex;
    align-items: center;
    gap: 12px;
    border-top: 1px solid var(--epi-gray-2);
    padding-top: 18px;
}

.testi-avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--epi-red), var(--epi-red-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(227, 6, 19, 0.3);
}

.testi-name {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--epi-text);
    line-height: 1.2;
}

.testi-role {
    font-size: 11.5px;
    color: var(--epi-text-muted);
    margin-top: 3px;
}

/* ============================================================ CTA FINAL ============================================================ */
.home-cta-final {
    padding: 92px 0;
    background: linear-gradient(135deg, var(--epi-dark) 0%, #1c0305 100%) !important;
    position: relative;
    overflow: hidden;
    text-align: center;
    z-index: 2;
}

.home-cta-final::before {
    content: '';
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(227, 6, 19, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.home-cta-final .cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(227, 6, 19, 0.16);
    border: 1px solid rgba(227, 6, 19, 0.32);
    color: #ff6b7a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 7px 16px;
    border-radius: 30px;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

.home-cta-final h2 {
    font-size: clamp(28px, 4vw, 50px);
    font-weight: 900;
    color: #fff !important;
    line-height: 1.14;
    margin-bottom: 18px;
    position: relative;
    z-index: 1;
    letter-spacing: -0.5px;
}

.home-cta-final h2 span {
    color: #ff6b7a;
}

.home-cta-final p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 16px;
    max-width: 520px;
    margin: 0 auto 48px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

.cta-cards-row {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.cta-final-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--epi-radius-lg);
    padding: 26px 30px;
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 250px;
    max-width: 310px;
    transition: var(--epi-transition);
    text-decoration: none;
    text-align: left;
    backdrop-filter: blur(8px);
}

.cta-final-card:hover {
    background: rgba(227, 6, 19, 0.16);
    border-color: rgba(227, 6, 19, 0.38);
    transform: translateY(-6px);
    box-shadow: 0 20px 44px rgba(227, 6, 19, 0.22);
}

.cta-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: var(--epi-red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #fff;
    flex-shrink: 0;
    transition: var(--epi-transition);
    box-shadow: 0 8px 20px rgba(227, 6, 19, 0.4);
}

.cta-final-card:hover .cta-card-icon {
    transform: scale(1.1);
    box-shadow: 0 10px 28px rgba(227, 6, 19, 0.55);
}

/* ============================================================
   CATALOGUES SECTION — Page d'accueil
   ============================================================ */
.home-catalogues {
    padding: 56px 0 40px;
}

.catalogues-home-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.cat-home-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.cat-home-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
}

.cat-home-cover {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #0f3460, #1a1a2e);
}

.cat-home-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.cat-home-card:hover .cat-home-cover img {
    transform: scale(1.08);
}

.cat-home-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: rgba(255, 255, 255, 0.2);
    font-size: 56px;
}

.cat-home-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 52, 96, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.35s ease;
}

.cat-home-card:hover .cat-home-overlay {
    opacity: 1;
}

.cat-home-read-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    background: var(--epi-red);
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transform: translateY(12px);
    transition: transform 0.35s ease, background 0.3s ease;
}

.cat-home-card:hover .cat-home-read-btn {
    transform: translateY(0);
}

.cat-home-read-btn:hover {
    background: #b8000f;
    color: #fff;
}

.cat-home-body {
    padding: 16px 18px;
}

.cat-home-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--epi-text);
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
    line-height: 1.35;
    transition: color 0.2s;
}

.cat-home-title:hover {
    color: var(--epi-red);
}

.cat-home-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 12px;
    color: #94a3b8;
}

@media (max-width: 768px) {
    .catalogues-home-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .cat-home-cover {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .catalogues-home-grid {
        grid-template-columns: 1fr;
    }
}

.cta-card-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 4px;
}

.cta-card-title {
    font-size: 15px;
    font-weight: 800;
    color: #fff;
}

/* ============================================================ Badges & utilitaires ============================================================ */
.catalog-section-badge {
    background: var(--epi-red-pale);
    color: var(--epi-red);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 13px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.badge.gradient-red {
    background: linear-gradient(135deg, var(--epi-red), var(--epi-red-dark));
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    border-radius: 30px;
    box-shadow: 0 6px 16px rgba(227, 6, 19, 0.28);
}

.text-epi-red {
    color: var(--epi-red);
}

/* ============================================================
   RESPONSIVE MOBILE & TABLETTE — Compléments
   ============================================================ */

/* ---- Tablette (≤ 991px) ---- */
@media (max-width: 991px) {
    .home-categories                 { padding: 40px 0 28px; }
    .home-collections                { padding: 0 0 40px; }
    .home-collections .section-intro { padding: 40px 0 24px; }
    .home-why-us                     { padding: 52px 0; }
    .home-products-section,
    .home-offers,
    .home-articles                   { padding: 40px 0; }
    .home-testimonials               { padding: 52px 0; }
    .home-cta-final                  { padding: 72px 0; }
    .why-us-grid                     { margin-top: 32px; }
    .testimonials-grid               { margin-top: 32px; }
    .home-section-header             { margin-bottom: 28px; }
    .collections-grid                { grid-template-rows: 260px auto; }
}

/* ---- Mobile large (≤ 768px) ---- */
@media (max-width: 768px) {
    /* Hero */
    .home-hero .box-content .slide-inner { max-width: 100%; }
    .home-hero .box-content p            { font-size: 15px; margin-bottom: 20px; }
    .home-hero .box-content .slide-label { font-size: 11px; padding: 5px 13px; margin-bottom: 12px; }
    .home-hero .slide-btn                { padding: 11px 24px; font-size: 14px; }
    .home-hero .slide-btn-outline        { padding: 10px 20px; font-size: 14px; }

    /* Sections padding */
    .home-categories                     { padding: 30px 0 18px; }
    .home-collections                    { padding: 0 0 30px; }
    .home-collections .section-intro     { padding: 30px 0 18px; }
    .home-banner-split                   { min-height: 360px; margin: 24px 0; }
    .home-why-us                         { padding: 40px 0; }
    .home-products-section,
    .home-offers,
    .home-articles                       { padding: 30px 0; }
    .home-testimonials                   { padding: 40px 0; }
    .home-cta-final                      { padding: 56px 0; }

    /* Grids */
    .why-us-grid                         { margin-top: 24px; gap: 16px; }
    .testimonials-grid                   { margin-top: 24px; gap: 16px; }
    .home-section-header                 { margin-bottom: 20px; }
    .home-brands                         { padding: 36px 0; }

    /* Why card */
    .why-card                            { padding: 28px 18px; }
    .why-icon-wrap                       { width: 64px; height: 64px; font-size: 24px; margin-bottom: 16px; }

    /* Stats */
    .stat-item                           { padding: 30px 14px; }

    /* CTA final */
    .cta-cards-row                       { flex-direction: column; align-items: center; gap: 14px; }
    .cta-final-card                      { min-width: unset; width: 100%; max-width: 400px; }
    .home-cta-final p                    { font-size: 15px; }
    .home-cta-final h2                   { font-size: clamp(24px, 6vw, 38px); }

    /* Collections */
    .coll-item                           { min-height: 220px; }

    /* Testimonials */
    .testi-card                          { padding: 24px 20px; }

    /* Articles */
    .articles-tabs-nav                   { margin-bottom: 28px; }
    .art-tab-btn                         { padding: 9px 18px; font-size: 12.5px; }
}

/* ---- Mobile (≤ 576px) ---- */
@media (max-width: 576px) {
    /* Hero */
    .home-hero .box-content h1               { font-size: clamp(22px, 7.5vw, 36px); margin-bottom: 10px; line-height: 1.12; }
    .home-hero .box-content p                { font-size: 13.5px; margin-bottom: 16px; }
    .home-hero .box-content .slide-label     { display: none; }
    .home-hero .slide-btn,
    .home-hero .slide-btn-outline            { padding: 10px 18px; font-size: 13px; }

    /* Trust bar */
    .trust-bar-item                          { padding: 12px 22px; font-size: 12px; gap: 8px; }

    /* Categories pills */
    .cat-pill-img                            { width: 76px; height: 76px; }
    .cat-pill-name                           { font-size: 11px; max-width: 82px; }
    .home-categories                         { padding: 24px 0 14px; }

    /* Collections */
    .coll-item                               { min-height: 200px; }
    .coll-content                            { padding: 20px; }
    .coll-title                              { font-size: clamp(16px, 4.5vw, 22px); margin-bottom: 10px; }

    /* Banner split */
    .home-banner-split                       { min-height: 320px; }
    .home-banner-split .split-content        { padding: 36px 16px; }
    .split-content h2                        { font-size: clamp(24px, 7vw, 38px); }

    /* Section headers */
    .home-section-header h2                  { font-size: clamp(18px, 5vw, 24px); }
    .home-section-header                     { gap: 8px; }
    .hsh-badge                               { font-size: 10px; padding: 4px 10px; }

    /* Why cards */
    .why-card                                { padding: 22px 14px; }
    .why-icon-wrap                           { width: 56px; height: 56px; font-size: 20px; margin-bottom: 12px; }
    .why-card-title                          { font-size: 15px; }
    .why-card-text                           { font-size: 13px; }
    .why-us-grid                             { gap: 12px; }

    /* Offers grid */
    .offers-grid                             { gap: 12px; }
    .offer-card .oc-img                      { height: 170px; }
    .oc-footer                               { padding: 10px 12px 14px; }
    .oc-btn                                  { padding: 8px 0; font-size: 12px; }

    /* Stats */
    .stat-item                               { padding: 24px 10px; }
    .stat-icon                               { font-size: 1.6rem; margin-bottom: 8px; }
    .stat-label                              { font-size: 11px; }

    /* Testimonials */
    .testi-card                              { padding: 20px 16px; }
    .testi-text                              { font-size: 13.5px; }

    /* Articles grid */
    .articles-grid                           { gap: 12px; }
    .art-card .ac-img                        { height: 170px; }
    .articles-see-more                       { margin-top: 24px; }

    /* Brands */
    .brand-item                              { padding: 0 28px; }
    .brand-item span                         { font-size: 13px; }
    .home-brands                             { padding: 28px 0; }

    /* CTA final */
    .home-cta-final                          { padding: 44px 0; }
    .cta-final-card                          { padding: 18px 18px; }
    .cta-card-icon                           { width: 46px; height: 46px; font-size: 18px; border-radius: 12px; }
    .cta-card-title                          { font-size: 14px; }
    .home-cta-final p                        { margin-bottom: 36px; }

    /* Sections intro */
    .epi-section-title                       { font-size: clamp(20px, 5.5vw, 28px); }
    .why-us-desc                             { font-size: 14px; }
    .section-intro                           { margin-bottom: 4px; }
}

/* ---- Très petit mobile (≤ 400px) ---- */
@media (max-width: 400px) {
    /* Hero — boutons empilés */
    .home-hero .box-content h1               { font-size: clamp(20px, 7vw, 28px); }
    .home-hero .d-flex.gap-3                 { flex-direction: column; gap: 8px !important; align-items: flex-start; }
    .home-hero .slide-btn,
    .home-hero .slide-btn-outline            { width: 100%; justify-content: center; text-align: center; }

    /* Banner split actions empilées */
    .split-actions                           { flex-direction: column; gap: 10px; }
    .split-actions .slide-btn,
    .split-actions .slide-btn-outline        { width: 100%; justify-content: center; }
    .home-banner-split .split-content        { padding: 28px 14px; }

    /* Catégories pills réduites */
    .cat-pill-img                            { width: 66px; height: 66px; }
    .cat-pill-track                          { gap: 12px; }

    /* Offers 1 colonne */
    .offers-grid                             { grid-template-columns: 1fr; }

    /* CTA pleine largeur */
    .cta-final-card                          { max-width: 100%; }

    /* Stats tight */
    .stat-item                               { padding: 20px 8px; }
}

/* ---- Touch devices — actions produits toujours visibles ---- */
@media (hover: none) and (pointer: coarse) {
    .prod-card-h .pch-actions  { opacity: 1; transform: none; }
    .oc-overlay                { opacity: 1; }
    .oc-quick-btn              { transform: none; }
    .coll-btn                  { opacity: 1; transform: none; background: var(--epi-red); border-color: var(--epi-red); }
}

/* ---- Safe area iOS (encoche / Dynamic Island) ---- */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .home-cta-final {
        padding-bottom: max(44px, calc(44px + env(safe-area-inset-bottom)));
    }
}

/* ============================================================
   HERO SLIDER — Responsive complet
   Hauteurs fluides via clamp() au lieu de breakpoints fixes.
   ============================================================ */

/* Tablette large (≤ 1200px) */
@media (max-width: 1200px) {
    .home-hero .box-content h1               { font-size: clamp(32px, 4vw, 54px); }
}

/* Tablette (≤ 992px) */
@media (max-width: 992px) {
    .home-hero .box-content h1               { font-size: clamp(28px, 4.2vw, 48px); margin-bottom: 14px; }
    .home-hero .box-content p                { font-size: 16px; margin-bottom: 24px; }
    .home-hero .slide-btn                    { padding: 12px 28px; font-size: 14.5px; }
    .home-hero .slide-btn-outline            { padding: 11px 22px; font-size: 14.5px; }
}

/* Mobile large (≤ 768px) */
@media (max-width: 768px) {
    .home-hero .wrap-slider::after {
        background: radial-gradient(
            ellipse 80% 60% at 30% 55%,
            rgba(0, 0, 0, 0.15) 0%,
            rgba(0, 0, 0, 0.72) 100%
        );
    }

    .home-hero .box-content {
        align-items: center;
        padding-bottom: 60px;
        padding-top: 0;
    }
    .home-hero .box-content .slide-inner { max-width: 100%; }

    .home-hero .box-content h1 {
        font-size: clamp(26px, 6.5vw, 42px);
        margin-bottom: 12px;
        line-height: 1.1;
        letter-spacing: -0.5px;
    }
    .home-hero .box-content p {
        font-size: 14.5px;
        margin-bottom: 22px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        max-width: 100%;
    }
    .home-hero .box-content .slide-label { font-size: 11px; padding: 5px 12px; margin-bottom: 10px; }
    .home-hero .slide-btn                { padding: 11px 24px; font-size: 14px; }
    .home-hero .slide-btn-outline        { padding: 10px 20px; font-size: 14px; }
}

/* Mobile (≤ 576px) */
@media (max-width: 576px) {
    .home-hero .box-content                  { padding-bottom: 50px; }

    .home-hero .box-content h1 {
        font-size: clamp(22px, 7vw, 34px);
        margin-bottom: 18px;
        letter-spacing: -0.3px;
    }
    .home-hero .box-content p            { display: none; }
    .home-hero .box-content .slide-label { display: none; }

    .home-hero .slide-btn                { padding: 10px 22px; font-size: 13.5px; }
    .home-hero .slide-btn-outline        { padding: 9px 18px; font-size: 13.5px; }
}

/* Petit mobile (≤ 430px) */
@media (max-width: 430px) {
    .home-hero .box-content                  { padding-bottom: 44px; }
    .home-hero .box-content h1               { font-size: clamp(20px, 6.5vw, 28px); margin-bottom: 16px; }
    .home-hero .slide-btn                    { padding: 10px 18px; font-size: 13px; gap: 7px; }
    .home-hero .slide-btn-outline            { padding: 9px 14px; font-size: 13px; }
}

/* Très petit mobile (≤ 380px) */
@media (max-width: 380px) {
    .home-hero .box-content                  { padding-bottom: 40px; }
    .home-hero .box-content h1               { font-size: clamp(18px, 5.8vw, 24px); margin-bottom: 18px; }

    .home-hero .box-content .d-flex.gap-3 {
        flex-direction: column;
        gap: 8px !important;
        width: 100%;
    }
    .home-hero .slide-btn,
    .home-hero .slide-btn-outline {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}