/* ═══════════════════════════════════════════════════════════════════════
   CRAP.com — Pièces informatiques | Gatineau, QC
   Bold tech-industrial aesthetic with neon accents
   ═══════════════════════════════════════════════════════════════════════ */

:root {
    /* ── Thème CLAIR / lumineux ── */
    --bg-dark: #ffffff;          /* fond principal */
    --bg-card: #ffffff;          /* cartes */
    --bg-card-hover: #f7f9fc;
    --bg-surface: #f4f6fa;       /* barres / sections alt */
    --text-primary: #1a1d29;
    --text-secondary: #5a6172;
    --text-muted: #9aa0ad;
    --accent: #1b4f72;
    --accent-glow: rgba(27, 79, 114, 0.16);
    --accent-2: #00b894;
    --gold: #c9a227;
    --promo: #e11d48;
    --promo-glow: rgba(225, 29, 72, 0.12);
    --intel: #0071c5;
    --amd: #ed1c24;
    --nvidia: #76b900;
    --border: rgba(13, 30, 60, 0.10);
    --border-hover: rgba(27, 79, 114, 0.38);
    --radius: 10px;
    --radius-lg: 16px;
    --font-display: 'Chakra Petch', sans-serif;
    --font-body: 'DM Sans', sans-serif;
    --shadow: 0 6px 24px rgba(13, 30, 60, 0.10);
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; display: block; }

.container { max-width: 1320px; margin: 0 auto; padding: 0 24px; }

/* ─── TOP BAR ─────────────────────────────────────────────── */
.top-bar {
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid var(--border);
    font-size: 0.8rem;
    color: var(--text-secondary);
    padding: 6px 0;
}
.top-bar__inner { display: flex; justify-content: space-between; align-items: center; }
.top-bar__right { display: flex; gap: 12px; align-items: center; }
.top-bar__link { transition: color var(--transition); }
.top-bar__link:hover { color: var(--accent); }
.top-bar__sep { opacity: 0.3; }
.lang-switch {
    background: rgba(255,255,255,0.06);
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ─── HEADER ──────────────────────────────────────────────── */
.header {
    background: var(--bg-dark);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
}
.header__inner {
    display: flex;
    align-items: center;
    gap: 24px;
}
.header__logo { display: flex; align-items: baseline; gap: 2px; flex-shrink: 0; }
.logo-text {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--accent);
    letter-spacing: -0.02em;
    text-shadow: 0 0 30px var(--accent-glow);
}
.logo-sub {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--text-muted);
    font-weight: 500;
}

.header__search {
    flex: 1;
    max-width: 560px;
    position: relative;
}
.header__search input {
    width: 100%;
    padding: 12px 50px 12px 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 0.95rem;
    font-family: var(--font-body);
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.header__search input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 20px var(--accent-glow);
}
.header__search input::placeholder { color: var(--text-muted); }
.search-btn {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--accent);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    cursor: pointer;
    transition: transform var(--transition), background var(--transition);
}
.search-btn:hover { transform: translateY(-50%) scale(1.1); }

.header__actions { display: flex; gap: 20px; flex-shrink: 0; }
.header__action {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: color var(--transition);
}
.header__action:hover { color: var(--accent); }
.header__action span { display: none; }
@media (min-width: 1024px) { .header__action span { display: inline; } }

.cart-badge {
    background: var(--promo);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

.header__mobile-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.header__mobile-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}
@media (min-width: 900px) { .header__mobile-toggle { display: none; } }

/* ─── NAV ─────────────────────────────────────────────────── */
.nav {
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 70px;
    z-index: 99;
}
.nav__list {
    display: flex;
    gap: 0;
}
.nav__item { position: relative; }
.nav__link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition), background var(--transition);
    white-space: nowrap;
}
.nav__link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.04);
}
.nav__link--promo { color: var(--promo); }
.nav__link--promo:hover { color: #ff6e40; }

/* Mega menu */
.nav__mega, .nav__dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    box-shadow: var(--shadow);
    z-index: 200;
    animation: fadeSlideDown 0.2s ease;
}
.nav__item--dropdown:hover .nav__mega,
.nav__item--dropdown:hover .nav__dropdown-menu { display: block; }

@keyframes fadeSlideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.nav__mega { min-width: 700px; padding: 28px; }
.mega__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.mega__heading {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.mega__links li a {
    display: block;
    padding: 5px 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: color var(--transition), padding-left var(--transition);
}
.mega__links li a:hover { color: var(--text-primary); padding-left: 6px; }
.mega__more { color: var(--accent) !important; font-weight: 500; }

.nav__dropdown-menu {
    min-width: 260px;
    padding: 16px;
}
.nav__dropdown-menu h4 {
    font-family: var(--font-display);
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 12px 0 6px;
}
.nav__dropdown-menu h4:first-child { margin-top: 0; }
.nav__dropdown-menu a {
    display: block;
    padding: 6px 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-radius: 6px;
    transition: var(--transition);
}
.nav__dropdown-menu a:hover {
    background: rgba(0, 184, 148, 0.06);
    color: var(--accent);
}

@media (max-width: 899px) {
    .nav { display: none; }
    .nav.active { display: block; position: fixed; top: 70px; left: 0; right: 0; bottom: 0; overflow-y: auto; }
    .nav__list { flex-direction: column; }
    .nav__mega, .nav__dropdown-menu { position: static; min-width: unset; }
}

/* ─── HERO / SLIDER ───────────────────────────────────────── */
.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #0d1117 50%, #111827 100%);
    padding: 60px 0;
}
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(118, 255, 3, 0.06) 0%, transparent 70%);
    pointer-events: none;
}
.hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}
.hero__badge {
    display: inline-block;
    background: rgba(0, 184, 148, 0.1);
    border: 1px solid rgba(0, 184, 148, 0.2);
    color: var(--accent);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 20px;
    animation: fadeIn 0.6s ease 0.2s both;
}
.hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 16px;
    animation: fadeIn 0.6s ease 0.3s both;
}
.hero__title span { color: var(--accent); }
.hero__sub {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
    animation: fadeIn 0.6s ease 0.4s both;
}
.hero__actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeIn 0.6s ease 0.5s both;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ─── BANNER LOGOS (brand slider) ─────────────────────────── */
.brand-ticker {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
    overflow: hidden;
}
.brand-ticker__track {
    display: flex;
    gap: 48px;
    animation: tickerScroll 30s linear infinite;
    width: max-content;
}
.brand-ticker__item {
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    white-space: nowrap;
    opacity: 0.5;
    transition: opacity var(--transition);
}
.brand-ticker__item:hover { opacity: 1; }
@keyframes tickerScroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.btn--primary {
    background: var(--accent);
    color: var(--bg-dark);
    box-shadow: 0 0 20px var(--accent-glow);
}
.btn--primary:hover { box-shadow: 0 0 40px rgba(0, 184, 148, 0.35); transform: translateY(-2px); }
.btn--outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }
.btn--promo {
    background: var(--promo);
    color: white;
}
.btn--promo:hover { box-shadow: 0 0 30px var(--promo-glow); transform: translateY(-2px); }
.btn--sm { padding: 8px 18px; font-size: 0.8rem; }

/* ─── SECTION ─────────────────────────────────────────────── */
.section { padding: 64px 0; }
.section--alt { background: var(--bg-surface); }
.section__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 36px;
    flex-wrap: wrap;
    gap: 16px;
}
.section__title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
}
.section__title span { color: var(--accent); }
.section__subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 4px;
}

/* ─── PRODUCT CARDS ───────────────────────────────────────── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition);
    position: relative;
}
.product-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0, 184, 148, 0.08);
}
.product-card__img {
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
    overflow: hidden;
}
.product-card__img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, var(--bg-card));
}
.product-card__badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--promo);
    color: white;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 2;
}
.product-card__body { padding: 20px; }
.product-card__category {
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 600;
    margin-bottom: 6px;
}
.product-card__name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 12px;
    line-height: 1.3;
}
.product-card__prices { display: flex; align-items: baseline; gap: 10px; }
.product-card__price {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
}
.product-card__old-price {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-decoration: line-through;
}
.product-card__actions { margin-top: 14px; display: flex; gap: 8px; }

/* product image placeholder icons */
.pi-gpu::before { content: '🎮'; }
.pi-cpu::before { content: '⚡'; }
.pi-ssd::before { content: '💾'; }
.pi-ram::before { content: '🧩'; }
.pi-mobo::before { content: '🔧'; }
.pi-psu::before { content: '🔋'; }
.pi-monitor::before { content: '🖥️'; }
.pi-mouse::before { content: '🖱️'; }

/* ─── CONFIG CARDS ────────────────────────────────────────── */
.configs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}
.config-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.config-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--card-accent, var(--accent));
}
.config-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0, 184, 148, 0.08);
}
.config-card__badge {
    display: inline-block;
    background: rgba(0, 184, 148, 0.1);
    color: var(--accent);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.config-card__name {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.config-card__specs { margin-bottom: 20px; }
.config-card__spec {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 0.85rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}
.config-card__spec:last-child { border: none; }
.config-card__spec::before {
    content: '▸';
    color: var(--card-accent, var(--accent));
    font-size: 0.7rem;
}
.config-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.config-card__price {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
}

/* ─── BRANDS ──────────────────────────────────────────────── */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}
.brand-tile {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px 12px;
    text-align: center;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all var(--transition);
}
.brand-tile:hover {
    border-color: var(--border-hover);
    color: var(--accent);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

/* ─── CATEGORY CARDS ──────────────────────────────────────── */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}
.cat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 18px;
    transition: all var(--transition);
}
.cat-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}
.cat-card__name {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
}

/* ─── FORMS ───────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}
.form-control {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 16px var(--accent-glow);
}
textarea.form-control { min-height: 140px; resize: vertical; }

/* ─── PAGE HEADER ─────────────────────────────────────────── */
.page-header {
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-surface) 100%);
    padding: 48px 0 36px;
    border-bottom: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    pointer-events: none;
}
.page-header__title {
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
}
.page-header__title span { color: var(--accent); }
.page-header__breadcrumb {
    margin-top: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.page-header__breadcrumb a { color: var(--text-secondary); transition: color var(--transition); }
.page-header__breadcrumb a:hover { color: var(--accent); }

/* ─── INFO / CONTENT PAGES ────────────────────────────────── */
.content-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 48px 24px;
}
.content-page h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin: 32px 0 12px;
    color: var(--accent);
}
.content-page p { color: var(--text-secondary); margin-bottom: 16px; }
.content-page ul { padding-left: 20px; margin-bottom: 16px; }
.content-page li {
    color: var(--text-secondary);
    padding: 4px 0;
    list-style: disc;
}

/* ─── LOGIN / AUTH ────────────────────────────────────────── */
.auth-box {
    max-width: 440px;
    margin: 60px auto;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
}
.auth-box__title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 28px;
}
.auth-box__divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0;
    color: var(--text-muted);
    font-size: 0.8rem;
}
.auth-box__divider::before,
.auth-box__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* ─── CART ─────────────────────────────────────────────────── */
.cart-empty {
    text-align: center;
    padding: 80px 24px;
}
.cart-empty__icon { font-size: 4rem; margin-bottom: 16px; opacity: 0.3; }
.cart-empty__text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}

/* ─── SERVICES ────────────────────────────────────────────── */
.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    transition: all var(--transition);
}
.service-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
}
.service-card__icon { font-size: 3rem; margin-bottom: 16px; }
.service-card__title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
}
.service-card__desc { color: var(--text-secondary); font-size: 0.9rem; }

/* ─── FOOTER ──────────────────────────────────────────────── */
.footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    padding: 60px 0 0;
    margin-top: 40px;
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}
.footer__logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent);
}
.footer__logo span { color: var(--text-muted); font-size: 0.9rem; }
.footer__tagline {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 8px 0 16px;
}
.footer__address {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.8;
}
.footer__col h4 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.footer__col ul li a {
    display: block;
    padding: 5px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: color var(--transition), padding-left var(--transition);
}
.footer__col ul li a:hover { color: var(--accent); padding-left: 4px; }

.footer__hours li {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.footer__hours li span:last-child { color: var(--text-secondary); }

.footer__bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    margin-top: 40px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

@media (max-width: 899px) {
    .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 599px) {
    .footer__grid { grid-template-columns: 1fr; }
    .header__search { display: none; }
}

/* ─── UTILITIES ───────────────────────────────────────────── */
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 599px) { .grid-2 { grid-template-columns: 1fr; } }

/* ─── SCROLL REVEAL ───────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── CONTACT INFO GRID ──────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}
@media (max-width: 768px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}
.contact-info-card h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--accent);
}
.contact-info-item {
    display: flex;
    gap: 12px;
    padding: 10px 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
}
.contact-info-item:last-child { border: none; }

/* ─── EMPLOIS ─────────────────────────────────────────────── */
.job-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px;
    margin-bottom: 16px;
    transition: all var(--transition);
}
.job-card:hover { border-color: var(--border-hover); }
.job-card__title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.job-card__meta { font-size: 0.85rem; color: var(--text-muted); }

/* ─── PRODUCT DETAIL ──────────────────────────────────────── */
.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
@media (max-width: 768px) { .product-detail { grid-template-columns: 1fr; } }
.product-detail__img {
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--bg-surface) 0%, var(--bg-dark) 100%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
}
.product-detail__name {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.2;
}
.product-detail__brand {
    display: inline-block;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 20px;
    transition: opacity var(--transition);
}
.product-detail__brand:hover { opacity: 0.8; }
.product-detail__prices {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.product-detail__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 28px;
}
.product-detail__meta {
    border-top: 1px solid var(--border);
    padding-top: 20px;
}
.product-detail__meta-item {
    padding: 8px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}
.product-detail__meta-item:last-child { border: none; }
.product-detail__meta-item strong { color: var(--text-primary); margin-right: 8px; }
.product-detail__meta-item a { color: var(--accent); }

/* ─── BRAND IN CARD ───────────────────────────────────────── */
.product-card__brand {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.product-card__name a { color: inherit; transition: color var(--transition); }
.product-card__name a:hover { color: var(--accent); }
.product-card__category a { color: inherit; }

/* ─── SUBHEADING ──────────────────────────────────────────── */
.subheading {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin: 28px 0 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.mb-4 { margin-bottom: 32px; }

/* Config card as link */
a.config-card { display: block; color: inherit; }
a.config-card:hover { text-decoration: none; }
/* ═══════════════════════════════════════════════════════════
   TUILES PRODUIT PREMIUM — placeholder élégant par catégorie
   (icône SVG injectée par main.js · remplace les emojis)
   ═══════════════════════════════════════════════════════════ */
.product-card__img {
    background:
        radial-gradient(130% 110% at 50% 0%, rgba(0, 184, 148, 0.09), transparent 62%),
        linear-gradient(150deg, #15151f 0%, #0b0b11 100%);
    border-bottom: 1px solid var(--border);
}
.product-card__img::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: radial-gradient(circle at 50% 42%, #000 0%, transparent 72%);
    mask-image: radial-gradient(circle at 50% 42%, #000 0%, transparent 72%);
    z-index: 1;
}
.product-card__img .pi-svg {
    width: 68px;
    height: 68px;
    position: relative;
    z-index: 2;
    color: var(--accent);
    stroke: currentColor;
    fill: none;
    filter: drop-shadow(0 6px 18px rgba(0, 184, 148, 0.30));
    transition: transform var(--transition);
}
.product-card:hover .pi-svg {
    transform: translateY(-4px) scale(1.07);
}
/* watermark de marque discret en bas de la tuile */
.product-card__img .pi-brand {
    position: absolute;
    bottom: 10px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 2;
    font-family: var(--font-display);
    font-size: 0.62rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--text-muted);
    opacity: 0.7;
}
/* bouton "Ajouté" (feedback panier) */
.js-add-cart.is-added {
    background: var(--accent-2) !important;
    color: #0a0a0f !important;
    border-color: var(--accent-2) !important;
}

/* Functional cart, search, product photos and mobile fixes */
.product-card__img.has-photo,
.product-detail__img.has-photo {
    background: #f6f8fb;
}
.product-card__img.has-photo::before,
.product-card__img.has-photo::after {
    opacity: 0.12;
}
.product-card__photo {
    width: 86%;
    height: 82%;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.28));
}
.product-detail__photo {
    width: 82%;
    height: 82%;
    object-fit: contain;
    filter: drop-shadow(0 22px 32px rgba(0, 0, 0, 0.28));
}
.product-card__img.has-photo .pi-brand {
    color: rgba(10, 10, 15, 0.58);
    font-weight: 700;
}
.cart-panel {
    text-align: left;
    padding: 0;
}
.cart-panel__header,
.cart-summary,
.cart-actions {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
}
.cart-panel__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.cart-panel__header h2 {
    font-family: var(--font-display);
    font-size: 1.35rem;
}
.cart-panel__header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}
.cart-lines {
    display: grid;
    gap: 12px;
    margin-bottom: 16px;
}
.cart-line {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto auto;
    gap: 16px;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px;
}
.cart-line__main strong {
    display: block;
    font-family: var(--font-display);
    line-height: 1.3;
}
.cart-line__main span {
    color: var(--text-secondary);
    font-size: 0.85rem;
}
.cart-line__qty {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 4px 8px;
}
.cart-line__qty button,
.cart-line__remove {
    border: 0;
    cursor: pointer;
    font-family: var(--font-display);
}
.cart-line__qty button {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    color: var(--text-primary);
}
.cart-line__total {
    font-family: var(--font-display);
    color: var(--accent);
    font-weight: 700;
}
.cart-line__remove {
    background: transparent;
    color: var(--text-muted);
}
.cart-line__remove:hover { color: var(--promo); }
.cart-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 16px 0;
    font-family: var(--font-display);
}
.cart-summary strong {
    color: var(--accent);
    font-size: 1.4rem;
}
.cart-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.form-status {
    margin-top: 14px;
    color: var(--accent);
    font-size: 0.9rem;
}
.search-results-grid {
    margin-top: 24px;
}

@media (max-width: 899px) {
    .top-bar {
        font-size: 0.72rem;
    }
    .top-bar__inner,
    .top-bar__right {
        gap: 8px;
    }
    .top-bar__sep {
        display: none;
    }
    .header {
        padding: 12px 0;
    }
    .header__inner {
        display: grid;
        grid-template-columns: 1fr auto auto auto;
        gap: 12px;
    }
    .header__search {
        display: block;
        order: 5;
        grid-column: 1 / -1;
        max-width: none;
    }
    .header__actions {
        gap: 12px;
    }
    .nav.active {
        top: var(--mobile-nav-top, 118px);
    }
    .nav__link {
        padding: 16px 24px;
    }
    .nav__mega,
    .nav__dropdown-menu {
        display: none !important;
    }
}

@media (max-width: 599px) {
    .container {
        padding: 0 18px;
    }
    .top-bar__inner {
        align-items: center;
    }
    .top-bar__affiliation {
        max-width: 46%;
        line-height: 1.25;
    }
    .top-bar__right {
        justify-content: flex-end;
        max-width: 54%;
    }
    .top-bar__link {
        white-space: normal;
        line-height: 1.25;
    }
    .lang-switch {
        white-space: nowrap;
    }
    .logo-text {
        font-size: 2rem;
    }
    .logo-sub {
        font-size: 0.95rem;
    }
    .cart-line {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .cart-line__qty,
    .cart-line__total,
    .cart-line__remove {
        justify-self: start;
    }
    .cart-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ═══════════════════════════════════════════════════════════
   PAGE PANIER
   ═══════════════════════════════════════════════════════════ */
.cart-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 28px;
    align-items: start;
}
.cart-items { display: flex; flex-direction: column; gap: 12px; }
.cart-row {
    display: grid;
    grid-template-columns: 1fr auto auto auto;
    align-items: center;
    gap: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 18px;
    transition: border-color var(--transition);
}
.cart-row:hover { border-color: var(--border-hover); }
.cart-row__name { font-family: var(--font-display); font-weight: 600; color: var(--text-primary); }
.cart-row__unit { font-size: 0.8rem; color: var(--text-secondary); margin-top: 2px; }
.cart-qty { display: inline-flex; align-items: center; gap: 10px; }
.cart-qty__btn {
    width: 30px; height: 30px; border-radius: 8px;
    border: 1px solid var(--border); background: var(--bg-surface);
    color: var(--text-primary); font-size: 1.1rem; cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    transition: all var(--transition);
}
.cart-qty__btn:hover { border-color: var(--accent); color: var(--accent); }
.cart-qty__val { min-width: 24px; text-align: center; font-weight: 600; }
.cart-row__total { font-family: var(--font-display); font-weight: 700; color: var(--accent); min-width: 90px; text-align: right; }
.cart-row__remove {
    width: 32px; height: 32px; border-radius: 8px; border: 1px solid var(--border);
    background: transparent; color: var(--text-muted); cursor: pointer;
    transition: all var(--transition);
}
.cart-row__remove:hover { border-color: var(--promo); color: var(--promo); }
.cart-summary {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px;
    position: sticky;
    top: 90px;
}
.cart-summary h3 { font-family: var(--font-display); margin-bottom: 18px; }
.cart-summary__line {
    display: flex; justify-content: space-between;
    padding: 10px 0; color: var(--text-secondary); font-size: 0.92rem;
    border-bottom: 1px solid var(--border);
}
.cart-summary__total {
    color: var(--text-primary); font-family: var(--font-display);
    font-size: 1.15rem; font-weight: 700; border-bottom: none; margin-top: 4px;
}
.cart-summary__total span:last-child { color: var(--accent); }
.cart-summary__cta { width: 100%; margin-top: 16px; }
.btn--ghost { background: transparent; border: 1px solid var(--border); color: var(--text-primary); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); }
.cart-summary__note { font-size: 0.78rem; color: var(--text-muted); margin-top: 16px; line-height: 1.5; }
@media (max-width: 880px) {
    .cart-layout { grid-template-columns: 1fr; }
    .cart-summary { position: static; }
    .cart-row { grid-template-columns: 1fr auto; grid-template-areas: "main remove" "qty total"; row-gap: 12px; }
    .cart-row__main { grid-area: main; }
    .cart-qty { grid-area: qty; }
    .cart-row__total { grid-area: total; }
    .cart-row__remove { grid-area: remove; }
}

/* ═══════════════════════════════════════════════════════════
   CONFIGURATEUR PC INTERACTIF
   ═══════════════════════════════════════════════════════════ */
.cfg { display: grid; grid-template-columns: 1fr 360px; gap: 28px; align-items: start; }
.cfg__build { display: flex; flex-direction: column; gap: 12px; }
.cfg__row {
    display: grid;
    grid-template-columns: 230px 1fr;
    align-items: center;
    gap: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 18px;
    transition: border-color var(--transition);
}
.cfg__row:hover { border-color: var(--border-hover); }
.cfg__cat { display: flex; align-items: center; gap: 12px; }
.cfg__icon { width: 34px; height: 34px; display: inline-flex; flex: 0 0 auto; }
.cfg__icon .pi-svg { width: 30px; height: 30px; filter: none; }
.cfg__cat label { font-family: var(--font-display); font-weight: 600; color: var(--text-primary); font-size: 0.95rem; }
.cfg__select {
    width: 100%;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    color: var(--text-primary);
    border-radius: 8px;
    padding: 11px 14px;
    font-family: var(--font-body);
    font-size: 0.92rem;
    cursor: pointer;
    transition: border-color var(--transition);
}
.cfg__select:focus { outline: none; border-color: var(--accent); }
.cfg__summary {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 26px;
    position: sticky;
    top: 90px;
}
.cfg__summary h3 { font-family: var(--font-display); margin-bottom: 16px; }
.cfg__list { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.cfg__list li {
    display: flex; justify-content: space-between; gap: 12px;
    font-size: 0.84rem; color: var(--text-secondary);
    padding-bottom: 8px; border-bottom: 1px solid var(--border);
}
.cfg__list li span:last-child { color: var(--text-primary); white-space: nowrap; }
.cfg__line {
    display: flex; justify-content: space-between;
    font-size: 0.84rem; color: var(--text-secondary); padding: 6px 0;
}
.cfg__total {
    display: flex; justify-content: space-between; align-items: baseline;
    margin: 14px 0 4px; padding-top: 14px; border-top: 1px solid var(--border);
}
.cfg__total span { font-family: var(--font-display); color: var(--text-primary); }
.cfg__total-val { font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; color: var(--accent); }
.cfg__cta { width: 100%; margin-top: 12px; }
.cfg__note { font-size: 0.76rem; color: var(--text-muted); margin-top: 14px; line-height: 1.5; }
@media (max-width: 900px) {
    .cfg { grid-template-columns: 1fr; }
    .cfg__summary { position: static; }
    .cfg__row { grid-template-columns: 1fr; gap: 10px; }
}

/* Correctif : icônes SVG cohérentes partout (pas seulement dans les tuiles produit) */
.pi-svg { fill: none; stroke: currentColor; }
.cfg__icon .pi-svg { color: var(--accent); }

/* ═══════════════════════════════════════════════════════════
   THÈME CLAIR — overrides des couleurs codées en dur
   ═══════════════════════════════════════════════════════════ */
body { background: var(--bg-surface); }
.top-bar { background: var(--bg-surface); border-bottom: 1px solid var(--border); }
.top-bar__sep { opacity: 0.35; }
.header { background: #ffffff; border-bottom: 1px solid var(--border); box-shadow: 0 1px 0 rgba(13,30,60,0.04); }
.header.is-scrolled { box-shadow: 0 4px 20px rgba(13,30,60,0.08); }
.nav { background: #ffffff; border-bottom: 1px solid var(--border); }
.nav__link:hover { background: rgba(27,79,114,0.06); }
.nav__mega, .nav__dropdown-menu { box-shadow: var(--shadow); }

/* Hero clair */
.hero { background: linear-gradient(135deg, #eaf1fc 0%, #f4f6fa 55%, #e6edf8 100%); }
.hero__badge { background: rgba(27,79,114,0.08); border: 1px solid rgba(27,79,114,0.22); color: var(--accent); }

/* Sections claires */
.section--alt { background: var(--bg-surface); }
.card, .config-card, .product-card { box-shadow: 0 2px 10px rgba(13,30,60,0.05); }

/* Tuiles produit — fond clair au lieu du dégradé noir */
.product-card__img {
    background:
        radial-gradient(130% 110% at 50% 0%, rgba(27,79,114,0.10), transparent 60%),
        linear-gradient(150deg, #eef2f8 0%, #e3e9f3 100%);
    border-bottom: 1px solid var(--border);
}
.product-card__img::before {
    background-image:
        linear-gradient(rgba(13,30,60,0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13,30,60,0.05) 1px, transparent 1px);
}
.pi-brand { color: var(--text-muted); }

/* Champs de formulaire / selects clairs */
.cfg__select, .header__search input { background: #ffffff; }

/* Boutons : garder un bon contraste */
.btn--primary { color: #ffffff; }
.js-add-cart.is-added { color: #ffffff !important; }

/* ═══════════════════════════════════════════════════════════
   SLIDESHOW PROMO (accueil)
   ═══════════════════════════════════════════════════════════ */
.promo-slider {
    position: relative;
    height: 300px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-top: 8px;
}
.promo-slide {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 10px;
    padding: 0 8% ;
    color: #fff;
    background: linear-gradient(120deg, var(--g1) 0%, var(--g2) 100%);
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.7s ease, transform 0.7s ease;
    pointer-events: none;
}
.promo-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(60% 120% at 85% 30%, rgba(255,255,255,0.18), transparent 60%),
        linear-gradient(90deg, rgba(0,0,0,0.25), transparent 55%);
    pointer-events: none;
}
.promo-slide.is-active {
    opacity: 1;
    transform: scale(1);
    pointer-events: auto;
    z-index: 2;
}
.promo-slide > * { position: relative; z-index: 3; }
.promo-slide__brand {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    opacity: 0.9;
}
.promo-slide__title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.8rem);
    font-weight: 700;
    line-height: 1.1;
    max-width: 620px;
}
.promo-slide__sub { font-size: 1.05rem; opacity: 0.92; max-width: 540px; }
.promo-slide__cta {
    margin-top: 8px;
    display: inline-block;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.45);
    padding: 10px 20px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.92rem;
    backdrop-filter: blur(6px);
    transition: background var(--transition);
}
.promo-slide:hover .promo-slide__cta { background: rgba(255,255,255,0.28); }
.promo-slider__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(6px);
    transition: background var(--transition);
}
.promo-slider__nav:hover { background: rgba(255,255,255,0.4); }
.promo-slider__prev { left: 16px; }
.promo-slider__next { right: 16px; }
.promo-slider__dots {
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    z-index: 5;
    display: flex;
    justify-content: center;
    gap: 8px;
}
.promo-slider__dots button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.45);
    cursor: pointer;
    padding: 0;
    transition: background var(--transition), transform var(--transition);
}
.promo-slider__dots button.is-active { background: #fff; transform: scale(1.25); }
@media (max-width: 640px) {
    .promo-slider { height: 260px; }
    .promo-slider__nav { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   LOOK PROFESSIONNEL — réduction des icônes
   On retire les icônes décoratives, on garde les fonctionnelles
   (recherche, panier, compte dans l'en-tête).
   ═══════════════════════════════════════════════════════════ */
.nav__link svg { display: none; }          /* icônes décoratives du menu */
.cfg__icon { display: none; }              /* icônes du configurateur */
.pi-svg { display: none; }                 /* icônes des tuiles produit */
.product-card__img .pi-brand {
    position: absolute;
    inset: 0;
    bottom: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-secondary);
    opacity: 0.45;
}

/* ── Vraies photos produit (quand disponibles) ── */
.product-card__img.has-photo { background: #ffffff; }
.product-card__img.has-photo::before { display: none; }
.product-card__photo { width: 100%; height: 100%; object-fit: contain; padding: 16px; }
.product-card__img.has-photo .pi-brand { display: none; }
.product-detail__img.has-photo { background: #ffffff; }
.product-detail__photo { width: 100%; height: 100%; object-fit: contain; padding: 24px; }

/* Product 3D scenes */
.product-card {
    transform-style: preserve-3d;
}
.product-card__img--3d,
.product-detail__img--3d {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(80% 70% at 50% 26%, rgba(27, 79, 114, 0.18), transparent 68%),
        radial-gradient(65% 75% at 72% 12%, rgba(22, 163, 74, 0.12), transparent 64%),
        linear-gradient(148deg, #f7faff 0%, #e8eef7 58%, #dce6f1 100%) !important;
}
.product-card__img--3d::before,
.product-detail__img--3d::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background-image:
        linear-gradient(rgba(13, 30, 60, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(13, 30, 60, 0.055) 1px, transparent 1px);
    background-size: 24px 24px;
    -webkit-mask-image: radial-gradient(circle at 50% 42%, #000 0%, transparent 72%);
    mask-image: radial-gradient(circle at 50% 42%, #000 0%, transparent 72%);
}
.product-card__img--3d::after,
.product-detail__img--3d::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 42%;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.72));
}
.product-3d {
    position: absolute;
    inset: 0;
    display: block;
    z-index: 3;
}
.product-3d canvas {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    display: block;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.98);
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.product-3d.is-rendered canvas {
    opacity: 1;
    transform: scale(1);
}
.product-card:hover .product-3d.is-rendered canvas {
    transform: scale(1.045);
}
.product-3d__fallback {
    position: absolute;
    inset: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.18;
    overflow-wrap: anywhere;
    opacity: 0.42;
    transition: opacity 0.2s ease;
}
.product-3d.is-rendered .product-3d__fallback {
    opacity: 0;
}
.product-3d__brand {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 10px;
    z-index: 4;
    text-align: center;
    color: rgba(26, 29, 41, 0.52);
    font-family: var(--font-display);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.product-detail__img--3d {
    min-height: 360px;
    border-color: rgba(27, 79, 114, 0.16);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.72), 0 22px 60px rgba(13,30,60,0.10);
}
.product-detail__img--3d .product-3d__brand {
    bottom: 18px;
    font-size: 0.78rem;
}
.product-3d--fallback .product-3d__fallback {
    opacity: 0.72;
}
@media (max-width: 640px) {
    .product-detail__img--3d { min-height: 280px; }
    .product-3d__fallback { inset: 16px; font-size: 0.92rem; }
    .product-3d__brand { font-size: 0.6rem; letter-spacing: 0.08em; }
}

.page-header__title,
.page-header__breadcrumb,
.product-detail__name,
.product-card__name {
    overflow-wrap: anywhere;
}
@media (max-width: 640px) {
    .page-header__title {
        font-size: 1.65rem;
        line-height: 1.15;
    }
    .product-detail__name {
        font-size: 1.35rem;
    }
}

/* ═══════════════════════════════════════════════════════════
   DESIGN 3D — effet de profondeur / tilt au survol
   ═══════════════════════════════════════════════════════════ */
.products-grid, .configs-grid, .product-grid, .promo-grid { perspective: 1200px; }
.product-card, .config-card {
    transform-style: preserve-3d;
    transition: transform 0.18s cubic-bezier(0.22,1,0.36,1), box-shadow 0.3s ease;
    will-change: transform;
}
.product-card.tilt-3d, .config-card.tilt-3d {
    box-shadow: 0 28px 55px rgba(13, 30, 60, 0.22);
    border-color: var(--border-hover);
}
.product-card__img, .product-card__body, .config-card > * {
    transition: transform 0.25s ease;
}
.product-card.tilt-3d .product-card__photo { transform: translateZ(38px) scale(1.05); }
.product-card.tilt-3d .pi-brand { transform: translateZ(26px); }
.product-card.tilt-3d .product-card__body { transform: translateZ(18px); }
.product-card.tilt-3d .product-card__badge { transform: translateZ(46px); }
.config-card.tilt-3d > * { transform: translateZ(20px); }

/* ─────────────────────────────────────────────
   GALERIE MULTI-IMAGES PAR PRODUIT
   ───────────────────────────────────────────── */
.product-card__img.has-gallery,
.product-detail__img.has-gallery { position: relative; }
.gal-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 6; border: none; cursor: pointer;
    width: 32px; height: 32px; border-radius: 50%;
    background: rgba(255, 255, 255, 0.92); color: #14151a;
    font-size: 20px; line-height: 1; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
    opacity: 0; transition: opacity 0.2s ease, background 0.2s ease, transform 0.15s ease;
}
.gal-nav:hover { background: var(--accent); color: #fff; }
.gal-prev { left: 10px; } .gal-next { right: 10px; }
.product-card__img.has-gallery:hover .gal-nav,
.product-detail__img.has-gallery:hover .gal-nav { opacity: 1; }
.gal-dots {
    position: absolute; bottom: 10px; left: 0; right: 0;
    display: flex; gap: 6px; justify-content: center; z-index: 6;
}
.gal-dots span {
    width: 7px; height: 7px; border-radius: 50%;
    background: rgba(20, 22, 30, 0.28); cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}
.gal-dots span.active { background: var(--accent); transform: scale(1.35); }
.gal-count {
    position: absolute; top: 10px; right: 10px; z-index: 6;
    background: rgba(20, 22, 30, 0.72); color: #fff;
    font-size: 0.7rem; font-weight: 600; letter-spacing: 0.02em;
    padding: 3px 8px; border-radius: 999px;
    opacity: 0; transition: opacity 0.2s ease;
}
.product-card__img.has-gallery:hover .gal-count,
.product-detail__img.has-gallery:hover .gal-count { opacity: 1; }
@media (hover: none) {
    .gal-nav, .gal-count { opacity: 1; }
}

/* ─────────────────────────────────────────────
   RÉVÉLATION CINÉMATIQUE 3D AU DÉFILEMENT
   (anneau portail lumineux + rayons radiaux + zoom/flou)
   ───────────────────────────────────────────── */
.product-card__img.has-photo,
.product-detail__img.has-photo { position: relative; }

/* Rayons radiaux qui jaillissent derrière le produit */
.cine-rays {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background: repeating-conic-gradient(from 0deg at 50% 50%,
        rgba(166, 124, 0, 0) 0deg, rgba(166, 124, 0, 0) 2.6deg,
        rgba(166, 124, 0, 0.16) 2.6deg, rgba(166, 124, 0, 0.16) 3.1deg);
    -webkit-mask: radial-gradient(closest-side, transparent 20%, #000 44%, #000 72%, transparent 100%);
            mask: radial-gradient(closest-side, transparent 20%, #000 44%, #000 72%, transparent 100%);
    opacity: 0; transform: scale(0.55) rotate(-6deg);
    transition: opacity 0.9s ease, transform 1.3s cubic-bezier(0.16, 0.84, 0.3, 1);
}

/* Anneau / portail lumineux autour du produit */
.cine-ring {
    position: absolute; left: 50%; top: 50%; width: 74%; aspect-ratio: 1 / 1;
    transform: translate(-50%, -50%) scale(0.62); border-radius: 50%; z-index: 1; pointer-events: none;
    background: conic-gradient(from 0deg,
        rgba(201, 162, 39, 0) 0deg, rgba(201, 162, 39, 0) 250deg,
        rgba(201, 162, 39, 0.5) 300deg, rgba(255, 240, 198, 0.98) 322deg,
        rgba(201, 162, 39, 0.5) 344deg, rgba(201, 162, 39, 0) 360deg);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
            mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 3px));
    opacity: 0; filter: drop-shadow(0 0 10px rgba(201, 162, 39, 0.4));
    transition: opacity 0.85s ease, transform 1s cubic-bezier(0.16, 0.84, 0.3, 1);
}

/* État révélé (carte entrée dans le viewport) */
.product-card__img.cine-in .cine-rays,
.product-detail__img.cine-in .cine-rays { opacity: 1; transform: scale(1) rotate(6deg); }
.product-card__img.cine-in .cine-ring,
.product-detail__img.cine-in .cine-ring { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.product-card__img.cine-in .product-card__photo { animation: cinePhoto 1.15s cubic-bezier(0.16, 0.84, 0.3, 1) both; }
.product-detail__img.cine-in .product-detail__photo { animation: cinePhoto 1.15s cubic-bezier(0.16, 0.84, 0.3, 1) both; }

/* Animation continue (uniquement quand visible → perf) */
.product-card__img.cine-view .cine-ring,
.product-detail__img.cine-view .cine-ring { animation: cineRingSpin 16s linear infinite; }
.product-card__img.cine-view .cine-rays,
.product-detail__img.cine-view .cine-rays { animation: cineRaysSpin 70s linear infinite; }

@keyframes cinePhoto {
    0%   { transform: scale(0.82); filter: blur(11px) brightness(0.62); }
    55%  { filter: blur(0) brightness(1.09); }
    100% { transform: scale(1); filter: blur(0) brightness(1); }
}
@keyframes cineRingSpin { to { transform: translate(-50%, -50%) rotate(360deg); } }
@keyframes cineRaysSpin { from { transform: scale(1) rotate(6deg); } to { transform: scale(1) rotate(366deg); } }

/* Lueur d'ambiance + zoom cinématique au survol */
.product-card__img.has-photo::after { transition: opacity 0.5s ease; }
.product-card:hover .cine-ring { filter: drop-shadow(0 0 16px rgba(201, 162, 39, 0.7)); }
.product-card:hover .cine-rays { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
    .cine-rays, .cine-ring { transition: none; animation: none !important; }
    .product-card__img.cine-in .product-card__photo,
    .product-detail__img.cine-in .product-detail__photo { animation: none; }
}

/* Badge doré "Vedette" sur l'accueil */
.product-card__badge--gold {
    background: linear-gradient(135deg, #e8c87a 0%, #c9a227 55%, #a67c00 100%);
    color: #1a1a1a; font-weight: 700; letter-spacing: 0.02em;
    box-shadow: 0 4px 14px rgba(201, 162, 39, 0.4);
}

/* ═══════════════════════════════════════════════
   ACCUEIL — HERO CINÉMATIQUE + STYLE LUXE DORÉ
   ═══════════════════════════════════════════════ */
.hero--cine {
    position: relative; overflow: hidden; color: #fff;
    padding: clamp(48px, 8vw, 112px) 0;
    background: radial-gradient(120% 110% at 72% 18%, #16213d 0%, #0b1020 55%, #06080f 100%);
}
.hero--cine .container.hero__inner {
    position: relative; z-index: 2;
    display: grid; grid-template-columns: 1.05fr 0.95fr;
    align-items: center; gap: clamp(24px, 5vw, 64px);
}
.hero--cine .hero__badge {
    display: inline-block; margin-bottom: 22px;
    color: #e8c87a; border: 1px solid rgba(232, 200, 122, 0.4);
    background: rgba(232, 200, 122, 0.08);
    padding: 6px 15px; border-radius: 999px;
    font-size: 0.78rem; letter-spacing: 0.09em; text-transform: uppercase;
}
.hero--cine .hero__title {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.04;
    margin: 0 0 18px; font-weight: 700; letter-spacing: -0.01em; color: #fff;
}
.hero--cine .hero__title span {
    background: linear-gradient(135deg, #f6e3ad 0%, #d4af37 45%, #b8860b 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero--cine .hero__sub {
    font-size: clamp(1rem, 1.4vw, 1.2rem); color: rgba(255, 255, 255, 0.78);
    max-width: 520px; margin: 0 0 30px; line-height: 1.6;
}
.hero--cine .hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero--cine .btn--outline { color: #fff; border-color: rgba(255, 255, 255, 0.45); background: transparent; }
.hero--cine .btn--outline:hover { color: #1a1a1a; background: #e8c87a; border-color: #e8c87a; }

/* Rayons radiaux en fond */
.hero--cine .hero__rays {
    position: absolute; top: 50%; left: 72%; width: 920px; height: 920px;
    transform: translate(-50%, -50%); z-index: 1; pointer-events: none; opacity: 0.85;
    background: repeating-conic-gradient(from 0deg at 50% 50%,
        rgba(232, 200, 122, 0) 0deg, rgba(232, 200, 122, 0) 2.4deg,
        rgba(232, 200, 122, 0.1) 2.4deg, rgba(232, 200, 122, 0.1) 2.9deg);
    -webkit-mask: radial-gradient(closest-side, transparent 26%, #000 40%, #000 70%, transparent 100%);
            mask: radial-gradient(closest-side, transparent 26%, #000 40%, #000 70%, transparent 100%);
    animation: cineRaysSpin 90s linear infinite;
}

/* Portail produit */
.hero--cine .hero__visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 360px; }
.hero--cine .hero__disc {
    position: absolute; left: 50%; top: 50%; width: 80%; aspect-ratio: 1/1;
    transform: translate(-50%, -50%); border-radius: 50%; z-index: 1;
    background: radial-gradient(circle at 50% 44%, #ffffff 0%, #eef2fa 36%, rgba(238, 242, 250, 0) 70%);
}
.hero--cine .hero__ring {
    position: absolute; left: 50%; top: 50%; width: 88%; aspect-ratio: 1/1;
    transform: translate(-50%, -50%); border-radius: 50%; z-index: 2;
    background: conic-gradient(from 0deg,
        rgba(201, 162, 39, 0.30) 0deg,
        rgba(201, 162, 39, 0.30) 250deg,
        rgba(201, 162, 39, 0.62) 300deg,
        rgba(255, 244, 214, 1) 322deg,
        rgba(201, 162, 39, 0.62) 344deg,
        rgba(201, 162, 39, 0.30) 360deg);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 4px));
            mask: radial-gradient(farthest-side, transparent calc(100% - 4px), #000 calc(100% - 4px));
    filter: drop-shadow(0 0 16px rgba(201, 162, 39, 0.55));
    animation: cineRingSpin 18s linear infinite;
}
.hero--cine .hero__product {
    position: relative; z-index: 3; width: 60%; max-width: 400px; height: auto;
    object-fit: contain; filter: drop-shadow(0 28px 48px rgba(0, 0, 0, 0.45));
    animation: heroFloat 6s ease-in-out infinite;
}
@keyframes heroFloat { 0%, 100% { transform: translateY(-9px); } 50% { transform: translateY(9px); } }

@media (max-width: 860px) {
    .hero--cine .container.hero__inner { grid-template-columns: 1fr; text-align: center; }
    .hero--cine .hero__sub { margin-left: auto; margin-right: auto; }
    .hero--cine .hero__actions { justify-content: center; }
    .hero--cine .hero__rays { left: 50%; }
    .hero--cine .hero__visual { min-height: 280px; }
}
@media (prefers-reduced-motion: reduce) {
    .hero--cine .hero__rays, .hero--cine .hero__ring, .hero--cine .hero__product { animation: none; }
}

/* Touches dorées + respiration — page d'accueil uniquement */
.section__title span {
    background: linear-gradient(135deg, #e8c87a 0%, #c9a227 55%, #a67c00 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.section { padding-top: clamp(48px, 6vw, 86px); padding-bottom: clamp(48px, 6vw, 86px); }
.subheading {
    border-left: 3px solid #c9a227; padding-left: 14px;
    margin-top: 8px; margin-bottom: 20px;
}

/* ── Accueil : retouches (bouton doré, transition slider, aura disque) ── */
/* Bouton principal du hero en doré (scopé au hero uniquement) */
.hero--cine .btn--primary {
    background: linear-gradient(135deg, #f0d690 0%, #c9a227 55%, #a67c00 100%);
    color: #1a1a1a; border: none;
    box-shadow: 0 8px 24px rgba(201, 162, 39, 0.35);
}
.hero--cine .btn--primary:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(201, 162, 39, 0.45);
}

/* Aura dorée autour du disque lumineux */
.hero--cine .hero__disc { box-shadow: 0 0 90px 24px rgba(201, 162, 39, 0.14); }

/* Transition douce nuit → clair : le slider promo sur un fond sombre dégradé */
.home .promo-stage {
    background: linear-gradient(180deg, #06080f 0%, #0a0e1c 45%, #f4f6fa 100%);
    padding: 4px 0 44px;
}
.home .promo-stage .promo-slider { margin-top: 0; }

/* ── Accueil : harmonisation "Systèmes sur mesure" + slider promo (thème doré) ── */
/* Cartes de configuration : bouton, prix et badge en doré */
.config-card .btn--primary {
    background: linear-gradient(135deg, #f0d690 0%, #c9a227 55%, #a67c00 100%);
    color: #1a1a1a; border: none;
}
.config-card .btn--primary:hover { filter: brightness(1.06); box-shadow: 0 8px 22px rgba(201,162,39,0.35); }
.config-card__price { color: #a67c00; }
.config-card__badge { background: rgba(201, 162, 39, 0.13); color: #a67c00; }

/* Slider promo : couleurs vives assagies + CTA/points/flèches dorés */
.home .promo-slide::after {
    background:
        radial-gradient(60% 120% at 85% 30%, rgba(255, 255, 255, 0.12), transparent 60%),
        linear-gradient(115deg, rgba(7, 9, 16, 0.64) 0%, rgba(7, 9, 16, 0.34) 45%, rgba(7, 9, 16, 0.12) 100%);
}
.home .promo-slide__cta {
    background: linear-gradient(135deg, #f0d690 0%, #c9a227 55%, #a67c00 100%);
    border: none; color: #1a1a1a; font-weight: 700;
}
.home .promo-slide:hover .promo-slide__cta { filter: brightness(1.06); background: linear-gradient(135deg, #f0d690 0%, #c9a227 55%, #a67c00 100%); }
.home .promo-slider__dots button.is-active { background: #e8c87a; }
.home .promo-slider__nav:hover { background: rgba(232, 200, 122, 0.55); }

/* ── Logo Cadence Numérique (mark SVG) dans l'en-tête et le pied ── */
.logo-mark {
    height: 40px; width: 40px; display: inline-block;
    vertical-align: middle; border-radius: 9px; flex-shrink: 0;
}
.header__logo { align-items: center; gap: 9px; }
.footer__logo { display: inline-flex; align-items: center; gap: 9px; }
.footer__logo .logo-mark { height: 30px; width: 30px; border-radius: 7px; }
@media (max-width: 600px) { .logo-mark { height: 34px; width: 34px; } }

/* Mot-symbole aux couleurs officielles Cadence Numérique (bleu + teal) */
.logo-text { color: #1b4f72; text-shadow: none; }
.logo-sub { color: #00b894; font-weight: 700; }
.footer__logo { color: #1b4f72; }
.footer__logo span { color: #00b894; }

/* ── Outils des pages catégories (filtre / tri / voir plus) ── */
.cat-tools {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
    gap: 14px; margin: 4px 0 24px;
    padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.cat-tools__count { font-weight: 700; color: var(--text-primary); }
.cat-tools__group { display: flex; gap: 16px; flex-wrap: wrap; }
.cat-tools__field {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.82rem; font-weight: 700; letter-spacing: 0.02em;
    text-transform: uppercase; color: var(--text-secondary);
}
.cat-tools__select {
    padding: 9px 14px; border: 1px solid var(--border); border-radius: 9px;
    background: #fff; font-family: inherit; font-size: 0.9rem; font-weight: 500;
    color: var(--text-primary); cursor: pointer; transition: border-color 0.2s ease;
    text-transform: none; letter-spacing: 0;
}
.cat-tools__select:hover { border-color: #c9a227; }
.cat-tools__select:focus { outline: none; border-color: #c9a227; box-shadow: 0 0 0 3px rgba(201,162,39,0.18); }
.cat-more { text-align: center; margin-top: 30px; }
.cat-more .btn { min-width: 180px; }

/* ── Méga-menu : scinder la longue liste "Composantes" en 2 sous-colonnes ── */
.nav__mega { min-width: 880px; }
.mega__grid { grid-template-columns: 2fr 1fr 1fr; }
.mega__col:first-child .mega__links { column-count: 2; column-gap: 30px; }
.mega__col:first-child .mega__links li { break-inside: avoid; }

/* ── Aperçu rapide produit (quick-view) ── */
.product-card__img, .product-card__name { cursor: pointer; }
.qv-overlay {
    position: fixed; inset: 0; z-index: 2000;
    background: rgba(10, 14, 28, 0.62); backdrop-filter: blur(4px);
    display: flex; align-items: center; justify-content: center; padding: 24px;
    animation: qvFade 0.2s ease;
}
.qv-overlay[hidden] { display: none; }
@keyframes qvFade { from { opacity: 0; } to { opacity: 1; } }
.qv-modal {
    background: #fff; border-radius: 18px; max-width: 880px; width: 100%;
    max-height: 88vh; overflow: auto; position: relative;
    display: grid; grid-template-columns: 1.1fr 1fr;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}
.qv-close {
    position: absolute; top: 12px; right: 14px; z-index: 3; border: none;
    width: 38px; height: 38px; border-radius: 50%; background: rgba(0, 0, 0, 0.06);
    font-size: 24px; line-height: 1; cursor: pointer; color: #222;
}
.qv-close:hover { background: rgba(0, 0, 0, 0.12); }
.qv-media { padding: 28px; background: #f6f8fb; display: flex; flex-direction: column; gap: 14px; }
.qv-main { width: 100%; height: 320px; object-fit: contain; }
.qv-thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.qv-thumb { width: 54px; height: 54px; object-fit: contain; background: #fff; border: 1px solid var(--border); border-radius: 8px; padding: 4px; cursor: pointer; transition: border-color 0.15s ease; }
.qv-thumb.active { border-color: var(--gold); box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.25); }
.qv-info { padding: 36px 30px; display: flex; flex-direction: column; gap: 14px; }
.qv-cat { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; color: var(--accent-2); }
.qv-name { font-family: var(--font-display); font-size: 1.4rem; line-height: 1.25; color: var(--text-primary); }
.qv-prices { display: flex; align-items: baseline; gap: 12px; }
.qv-price { font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: var(--accent); }
.qv-old { text-decoration: line-through; color: var(--text-muted); font-size: 1.1rem; }
.qv-actions { margin-top: 6px; }
.qv-actions .btn { width: 100%; justify-content: center; }
.qv-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 4px; }
@media (max-width: 720px) {
    .qv-modal { grid-template-columns: 1fr; }
    .qv-main { height: 240px; }
    .qv-info { padding: 24px 22px; }
}

/* ── Image sur les cartes "Systèmes sur mesure" ── */
.config-card__img {
    width: 100%; height: 168px; object-fit: contain;
    background: #f6f8fb; border-radius: 12px; padding: 10px;
    margin-bottom: 16px; display: block;
}
