/* ===== GLOBAL BOX-SIZING RESET ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --bg-main: #060606;
    --bg-card: rgba(20, 20, 25, 0.6);
    --bg-card-hover: rgba(30, 30, 35, 0.8);
    --primary: #e2252b;
    /* Akrapovic Racing Red */
    --primary-alt: #ff1a1a;
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.6);
    --border-color: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(226, 37, 43, 0.5);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    font-family: 'Outfit', 'Inter', sans-serif;
}

/* ----------------------------------
   NAVIGATION
----------------------------------- */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(15px);
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 5vw;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.nav-logos {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ttshop-logo {
    height: 35px;
    width: auto;
    transition: 0.5s ease;
}

.ttshop-logo:hover {
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.4));
    transform: scale(1.05);
}

.logo-separator {
    height: 18px;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.akra-logo {
    height: 12px;
    width: auto;
    transition: 0.5s ease;
}

.akra-logo:hover {
    filter: drop-shadow(0 0 8px rgba(226, 37, 43, 0.5));
    transform: scale(1.08);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    white-space: normal;
    /* Accept line breaks */
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link.active {
    color: var(--primary);
    font-weight: 700;
}

.nav-cart {
    color: #fff;
    text-decoration: none;
    position: relative;
    display: flex;
    align-items: center;
}

.nav-cart i {
    width: 20px;
    height: 20px;
}

#nav-cart-badge {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--primary);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 900;
    min-width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    border-radius: 50%;
    padding: 0 4px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
}

@media (max-width: 991px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: rgba(6, 6, 6, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 999;
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        padding: 40px;
        text-align: center;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-link {
        font-size: 1.4rem;
        width: 100%;
        padding: 10px 0;
    }

    .mobile-menu-toggle {
        display: block;
        z-index: 1001;
        position: relative;
    }

    .nav-cart {
        font-size: 1.4rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        padding-top: 20px;
        justify-content: center;
    }
}

html,
body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
    /* Avoid whole page slide */
}

/* Base link reset */
a {
    text-decoration: none;
    color: inherit;
}

/* ----------------------------------
   ANIMATIONS
----------------------------------- */
@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

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

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 10px rgba(201, 17, 17, 0.2);
    }

    50% {
        box-shadow: 0 0 25px rgba(201, 17, 17, 0.5);
    }

    100% {
        box-shadow: 0 0 10px rgba(201, 17, 17, 0.2);
    }
}

/* ----------------------------------
   HERO SECTION
----------------------------------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--bg-main);
}

.hero-media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: brightness(0.85);
    /* Leger assombrissement pour le texte */
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(6, 6, 6, 0.1) 0%, rgba(6, 6, 6, 0.6) 70%, var(--bg-main) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: left;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5vw;
    animation: fadeInUp 1s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(226, 37, 43, 0.08);
    border: 1px solid rgba(226, 37, 43, 0.3);
    padding: 6px 16px;
    border-radius: 100px;
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 40px;
}

.hero-badge .dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 0.9;
    margin: 0;
    letter-spacing: -2px;
    text-transform: uppercase;
}

.hero h1 .highlight {
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 15px;
}

.hero-logo-inline {
    height: 0.8em;
    width: auto;
    filter: brightness(0) invert(1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
    transition: 0.5s ease;
    opacity: 0.9;
}

.hero-logo-inline:hover {
    filter: brightness(0) invert(1) drop-shadow(0 0 20px rgba(255, 255, 255, 0.9));
    transform: scale(1.05);
    opacity: 1;
}

.hero .subtitle {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 400;
    color: rgba(255, 255, 255, 0.7);
    margin: 5px 0 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero p.description {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 400;
    margin-bottom: 40px;
    max-width: 600px;
    line-height: 1.6;
}

/* ----------------------------------
   SEARCH CONTAINER (SELECTOR)
----------------------------------- */
.search-container,
.search-container * {
    box-sizing: border-box;
}

.search-container {
    background: rgba(20, 20, 25, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 10px;
    width: fit-content;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    /* Align button with select fields */
    gap: 10px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.6);
    animation: fadeInUp 1.2s ease-out;
}

.search-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
    gap: 8px;
}

.search-group label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
}

.search-group select {
    background: rgba(10, 10, 12, 0.9);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: #fff;
    padding: 14px 40px 14px 15px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    appearance: none;
    text-overflow: ellipsis;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 18px;
}

.search-group select option {
    background: #111;
    color: #fff;
    padding: 10px;
}

.search-group select:focus {
    border-color: var(--primary);
    background: rgba(40, 40, 45, 0.8);
}

.search-group select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.search-btn {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0 35px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.search-btn:not(:disabled):hover {
    background: var(--primary-alt);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(227, 6, 19, 0.4);
}

.search-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #444;
}

/* ----------------------------------
   TRUST BAR
----------------------------------- */
.trust-bar {
    position: relative;
    z-index: 10;
    margin-top: -40px;
    padding-bottom: 50px;
}

.trust-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    gap: 30px;
    padding: 0 5vw;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    border-radius: 100px;
    transition: all 0.3s ease;
}

.trust-item:hover {
    background: rgba(226, 37, 43, 0.05);
    border-color: rgba(226, 37, 43, 0.3);
    color: #fff;
}

.trust-item i {
    width: 16px;
    height: 16px;
    color: var(--primary);
}

/* ----------------------------------
   SECTIONS & TYPOGRAPHY
----------------------------------- */
section {
    padding: 80px 5vw;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

h2.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-transform: capitalize;
}

h2.section-title::before {
    content: '';
    width: 30px;
    height: 3px;
    background: var(--primary);
    display: inline-block;
}

.section-subtitle {
    position: absolute;
    right: 5vw;
    top: 95px;
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* ----------------------------------
   PRODUCT CARDS GRID
----------------------------------- */
.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* For Latest horizontal scroll */
.latest-scroll {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.latest-scroll::-webkit-scrollbar {
    height: 4px;
}

.latest-scroll::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

.card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    text-decoration: none;
    min-width: 260px;
    /* For scroll */
}

.card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-5px);
}

.card-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 2;
}

.card-img {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    background: #1a1a20;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
}

.card-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
    transition: transform 0.5s ease;
}

.card:hover .card-img img {
    transform: scale(1.08) rotate(-2deg);
}

.card-sku {
    font-size: 0.65rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 1px;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.card-title {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    color: #fff;
    margin-bottom: 20px;
    flex-grow: 1;
    /* Pushes the bottom block down */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.card-price {
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.card-price .currency {
    font-size: 1rem;
}

.card-price .ttc {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 500;
}

.card-btn {
    background: rgba(200, 20, 20, 0.15);
    color: var(--primary);
    border: 1px solid rgba(200, 20, 20, 0.3);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.card:hover .card-btn {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

/* ----------------------------------
   BRAND STORY SECTIONS
----------------------------------- */
.brand-experience-section {
    display: flex;
    align-items: center;
    gap: 80px;
    margin-top: 50px;
    min-height: 500px;
}

.brand-experience-section .text-content {
    flex: 1;
}

.brand-experience-section .image-content {
    flex: 1;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 500px;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
}

.brand-experience-section .image-content img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
    filter: brightness(0.9) contrast(1.1);
}

.brand-experience-section:hover .image-content img {
    transform: scale(1.05);
    filter: brightness(1);
}

.excellence-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.brand-p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 25px;
}

/* Technical Cards */
.technical-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 60px;
}

.tech-card {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    transition: all 0.4s ease;
    text-align: center;
}

.tech-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--primary-alt);
    transform: translateY(-10px);
}

.tech-card i {
    width: 60px;
    height: 60px;
    color: var(--primary);
    margin-bottom: 30px;
    filter: grayscale(1) opacity(0.6);
    transition: all 0.4s ease;
}

.tech-card:hover i {
    filter: grayscale(0) opacity(1);
}

.tech-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.tech-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Racing Heritage section styles */
.heritage-container {
    position: relative;
    padding: 100px 0;
    margin-top: 100px;
}

.heritage-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    z-index: 1;
    mix-blend-mode: screen;
    /* Helps the orange pop against the dark image */
    filter: brightness(0.6) saturate(1.4);
}

.heritage-content {
    position: relative;
    z-index: 2;
}

.heritage-badge-large {
    font-size: clamp(4rem, 10vw, 8rem);
    font-weight: 950;
    color: transparent;
    -webkit-text-stroke: 2px var(--primary);
    margin-bottom: -30px;
    display: block;
    line-height: 1;
    letter-spacing: -2px;
    opacity: 0.8;
    text-shadow: 0 0 30px rgba(226, 37, 43, 0.4);
}

/* Sections for Catalog divisions Case */
.catalog-divisions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 100px;
}

.catalog-card {
    position: relative;
    height: 450px;
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.4s ease;
}

.catalog-card:hover {
    transform: scale(1.02);
}

.catalog-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6) contrast(1.1);
    transition: all 0.5s ease;
}

.catalog-card:hover img {
    filter: brightness(0.4) saturate(1.2);
    transform: scale(1.1);
}

/* Specific styling for the schematic view as a premium asset */
.catalog-card.spare-parts img {
    object-fit: contain;
    background: #0d0d0d;
    filter: grayscale(1) contrast(1.5) brightness(1.2);
}

.catalog-card.spare-parts:hover img {
    filter: grayscale(0.2) contrast(1.6) brightness(1.3) drop-shadow(0 0 15px var(--primary));
}

.catalog-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 50px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
}

.catalog-overlay h3 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.catalog-overlay p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Fullscreen trust indicators */
.premium-footer-trust {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6vw;
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    margin-top: 100px;
}

.trust-badge-large {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    max-width: 200px;
    transition: filter 0.4s ease, transform 0.4s ease;
    filter: grayscale(1) opacity(0.5);
    cursor: default;
}

.trust-badge-large:hover {
    filter: grayscale(0) opacity(1);
    transform: translateY(-5px);
}

.trust-badge-large img {
    height: 45px;
    object-fit: contain;
    transition: all 0.3s ease;
}

.trust-badge-large i {
    transition: all 0.3s ease;
}

.trust-badge-large span {
    font-size: 0.75rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
    text-transform: uppercase;
}

@media (max-width: 900px) {
    .hero {
        padding: 80px 0 40px;
        /* Réduit pour remonter le contenu */
        min-height: auto;
        height: auto;
        display: block;
        /* Évite les conflits de centrage flex sur mobile */
    }

    .hero h1 {
        font-size: clamp(1.8rem, 10vw, 2.5rem);
        /* Plus compact */
        text-align: center;
        letter-spacing: -1px;
        word-wrap: break-word;
        overflow-wrap: break-word;
        margin-top: 10px;
    }

    .hero-content {
        text-align: center;
        padding: 0 20px;
        max-width: 100%;
        overflow: visible;
    }

    .hero-badge {
        justify-content: center;
        margin: 0 auto 15px;
        /* Réduit */
        padding: 4px 12px;
        font-size: 0.6rem;
    }

    .hero h1 .highlight {
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-logo-inline {
        height: 0.6em;
    }

    .hero-img {
        position: fixed;
        /* Reste en place pendant le scroll */
        height: 100vh;
        object-position: center 20%;
        /* Positionne la moto plus haut pour être vue derrière le titre */
        opacity: 0.5;
    }

    .hero::after {
        background: linear-gradient(to bottom, rgba(6, 6, 6, 0.4) 0%, rgba(6, 6, 6, 0.8) 50%, var(--bg-main) 100%);
    }

    .hero p.description {
        font-size: 0.9rem;
        margin-bottom: 20px;
        padding: 0 10px;
    }

    .subtitle {
        font-size: 1.1rem !important;
        margin-bottom: 15px !important;
    }

    .search-container {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
        margin-top: 20px;
        width: 100%;
        max-width: 100%;
        border-radius: 0;
        /* Full width mobile */
        border-left: none;
        border-right: none;
        background: rgba(10, 10, 15, 0.9);
        /* Opacité renforcée */
    }

    .search-group {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        padding: 0 0 15px 0;
        width: 100%;
    }

    .search-group:last-of-type {
        border-bottom: none;
    }

    .search-group select {
        width: 100%;
        padding: 14px 40px 14px 15px;
        background: rgba(10, 10, 12, 0.6);
        border-color: rgba(255, 255, 255, 0.1);
        text-overflow: ellipsis;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 18px;
    }

    .search-btn {
        width: 100%;
        margin-left: 0;
        margin-top: 10px;
        height: 55px;
        /* Bigger button for mobile */
        justify-content: center;
        font-size: 1.1rem;
    }

    .brand-experience-section {
        display: flex;
        flex-direction: column;
        padding: 60px 0;
        /* remove side padding for full width image */
        text-align: left;
    }

    .brand-experience-section .text-content {
        display: contents;
        /* Allows reordering of h2, p, etc. */
    }

    .excellence-title {
        font-size: clamp(2rem, 8vw, 2.5rem);
        padding: 0 5vw;
        order: 1;
        text-align: left;
    }

    .brand-experience-section .image-content {
        order: 2;
        width: 100%;
        max-width: 100%;
        height: 350px;
        margin: 20px 0;
        border-radius: 0;
    }

    .brand-p {
        order: 3;
        padding: 0 5vw;
        text-align: left;
    }

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

    .tech-card {
        padding: 30px;
    }

    #best-sellers .grid-container,
    .latest-scroll {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 15px;
        padding: 15px 5vw 20px;
        /* Ajout d'un padding-top de 15px pour éviter le troncage des ombres/bordures hautes */
        margin: 0 -5vw;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-x: contain;
    }

    #best-sellers .grid-container::-webkit-scrollbar,
    .latest-scroll::-webkit-scrollbar {
        display: none;
    }

    #best-sellers .card,
    .latest-scroll .card {
        flex: 0 0 85vw;
        scroll-snap-align: center;
        min-width: unset;
        background: rgba(15, 15, 20, 0.95);
        /* Opacité renforcée pour mobile */
        backdrop-filter: blur(10px);
    }

    .heritage-badge-large {
        font-size: 15vw;
    }

    .catalog-divisions {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .catalog-card {
        height: 350px;
    }

    .catalog-card h3 {
        font-size: 1.8rem;
    }

    .trust-inner {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .trust-bar {
        margin-top: 30px;
        padding: 30px 20px;
    }

    .section-subtitle {
        order: 0;
        padding: 0 5vw;
        margin-bottom: 20px;
        display: block;
        text-align: left;
        position: static;
    }

    .premium-footer-trust {
        flex-direction: column;
        gap: 40px;
        padding: 40px 20px;
    }

    .trust-badge-large {
        max-width: 100%;
    }
}

/* ----------------------------------
   FOOTER
----------------------------------- */
footer {
    background: #050505;
    /* Un noir plus profond et opaque */
    padding: 80px 5vw 40px;
    border-top: 2px solid var(--primary);
    position: relative;
    z-index: 10;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h3 {
    margin-bottom: 25px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    font-weight: 800;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: 0.2s;
    font-size: 0.9rem;
}

.footer-col ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid var(--border-color);
    font-size: 0.8rem;
    color: #555;
    font-weight: 600;
}

.footer-logo {
    max-width: 250px;
    height: auto;
    margin-bottom: 25px;
    filter: drop-shadow(0 0 5px rgba(227, 6, 19, 0.2));
    transition: 0.5s ease;
}

.footer-logo:hover {
    filter: drop-shadow(0 0 15px rgba(227, 6, 19, 0.5));
    transform: scale(1.02);
}