/* ============================================
   DSI Landing Page - Custom Styles ED6
   Palette Detandt Simon : noir / rouge / orange
   ============================================ */

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

body {
    overflow-x: hidden;
}

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

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

@keyframes ctaPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 124, 0, 0.45); }
    50% { box-shadow: 0 0 0 16px rgba(245, 124, 0, 0); }
}

#navbar.scrolled {
    box-shadow: 0 12px 30px rgba(17, 17, 17, 0.14);
}

/* V4.1-final - Animations scroll : visible par défaut, animé si JS dispo */
.fade-target {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.js-anim .fade-target {
    opacity: 0;
    transform: translateY(24px);
}

.fade-target.visible,
.fade-target.fade-visible,
.js-anim .fade-target.visible,
.js-anim .fade-target.fade-visible {
    opacity: 1;
    transform: translateY(0);
}

.category-btn {
    background-color: #ffffff;
    color: #2d2d2d;
    border: 2px solid #ece7e2;
}

.category-btn:hover {
    border-color: #f57c00;
    color: #cf2e2e;
    transform: translateY(-2px);
}

.category-btn.active {
    background: linear-gradient(135deg, #cf2e2e, #9f1717);
    color: #ffffff;
    border-color: #cf2e2e;
    box-shadow: 0 10px 22px rgba(207, 46, 46, 0.22);
}

.product-card {
    transition: transform 0.28s ease, box-shadow 0.28s ease;
    border: 1px solid #f2ece7;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 44px rgba(17, 17, 17, 0.12);
}

.product-media {
    position: relative;
    background: linear-gradient(135deg, #2c2c2c, #101010);
}

.product-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-media img {
    transform: scale(1.04);
}

.product-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.06));
}

.product-media__icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.82);
    font-size: 4rem;
}

.product-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    background: linear-gradient(135deg, #f57c00, #ff9b31);
    color: #111111;
    padding: 0.4rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(17, 17, 17, 0.18);
}

.product-category-pill {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 2;
    padding: 0.42rem 0.72rem;
    border-radius: 999px;
    background: rgba(17,17,17,0.72);
    color: #ffffff;
    backdrop-filter: blur(10px);
    font-size: 0.72rem;
    font-weight: 700;
}

.product-discount {
    min-width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #111111, #2c2c2c);
    color: #ff9b31;
    font-weight: 900;
    font-size: 1rem;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.05);
}

.qty-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #f0ece8;
}

.qty-panel__label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #5f5b57;
}

.qty-stepper {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem;
    background: #fbf8f5;
    border: 1px solid #f0e7df;
    border-radius: 999px;
}

.qty-btn {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    border: 0;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.qty-btn.plus {
    background: linear-gradient(135deg, #cf2e2e, #9f1717);
    color: #ffffff;
}

.qty-btn.minus {
    background: #ffffff;
    color: #111111;
    box-shadow: inset 0 0 0 1px #e6ddd5;
}

.qty-btn:hover:not(:disabled) {
    transform: scale(1.06);
}

.qty-btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.qty-value {
    min-width: 1.75rem;
    text-align: center;
    font-weight: 800;
    color: #111111;
}

.selection-bar {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 5.5rem;
    z-index: 55;
    transform: translateY(130%);
    opacity: 0;
    transition: transform 0.28s ease, opacity 0.28s ease;
}

.selection-bar.is-visible {
    transform: translateY(0);
    opacity: 1;
}

.selection-bar__inner {
    max-width: 1080px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.1rem;
    border-radius: 1.2rem;
    background: rgba(17,17,17,0.96);
    color: #ffffff;
    box-shadow: 0 24px 50px rgba(17,17,17,0.24);
    border: 1px solid rgba(255,255,255,0.08);
}

.selection-bar__eyebrow {
    color: #ff9b31;
    font-size: 0.76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 0.2rem;
}

.selection-bar__title {
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 0.15rem;
}

.selection-bar__meta {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.72);
}

.selection-bar__actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

.selection-bar__primary,
.selection-bar__secondary {
    border: 0;
    border-radius: 999px;
    padding: 0.9rem 1.2rem;
    font-weight: 800;
    cursor: pointer;
}

.selection-bar__primary {
    background: linear-gradient(135deg, #f57c00, #ff9b31);
    color: #111111;
}

.selection-bar__secondary {
    background: rgba(255,255,255,0.08);
    color: #ffffff;
}

.selection-bar__primary:disabled,
.selection-bar__secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.floating-toast {
    position: fixed;
    right: 1rem;
    bottom: 10rem;
    z-index: 70;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.9rem 1rem;
    border-radius: 999px;
    background: #111111;
    color: #ffffff;
    box-shadow: 0 16px 34px rgba(17,17,17,0.22);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.floating-toast.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.floating-toast i {
    color: #ff9b31;
}

#flipbook-container {
    position: relative;
    transition: all 0.3s ease;
}

#flipbookIframe {
    background: #ffffff;
    transition: opacity 0.4s ease;
}

#flipbook-container:fullscreen,
#flipbook-container.is-fullscreen {
    background: #000000;
    padding: 0;
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

#flipbook-container:fullscreen iframe,
#flipbook-container.is-fullscreen iframe {
    width: 100% !important;
    height: 100% !important;
    border-radius: 0;
}

@media (min-width: 768px) {
    #flipbook-container {
        min-height: 620px !important;
    }
}

@media (min-width: 1024px) {
    #flipbook-container {
        min-height: 720px !important;
    }
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(245, 124, 0, 0.18);
}

.cta-pulse {
    animation: ctaPulse 2s infinite;
}

.site-logo,
.site-logo-footer {
    object-fit: contain;
}

.site-logo-footer {
    filter: drop-shadow(0 10px 18px rgba(0,0,0,0.22));
}

.video-shell {
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.mobile-quick-bar {
    padding-bottom: calc(env(safe-area-inset-bottom, 0px));
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f3eee8;
}

::-webkit-scrollbar-thumb {
    background: #f57c00;
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: #cf2e2e;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid #f57c00;
    outline-offset: 2px;
}

@media (max-width: 1023px) {
    body {
        padding-bottom: 148px;
    }
}






.company-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.8rem 0.95rem;
    border-radius: 0.95rem;
    background: rgba(255,255,255,0.08);
    color: #ffffff;
    text-decoration: none;
    transition: transform 0.2s ease, background 0.2s ease;
}

.company-meta-pill:hover {
    transform: translateY(-1px);
    background: rgba(255,255,255,0.14);
}




/* ============================================
   Chatbot IA flottant
   ============================================ */
.ai-chat-toggle {
    position: fixed;
    right: 1.25rem;
    bottom: 1.5rem;
    z-index: 60;
    width: 64px;
    height: 64px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #cf2e2e, #9f1717);
    color: #ffffff;
    box-shadow: 0 18px 38px rgba(17,17,17,0.28);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ai-chat-toggle__icon {
    font-size: 1.4rem;
    z-index: 2;
}

.ai-chat-toggle__pulse {
    position: absolute;
    inset: -6px;
    border-radius: 999px;
    border: 3px solid rgba(207, 46, 46, 0.45);
    animation: aiChatPulse 2.4s infinite;
}

@keyframes aiChatPulse {
    0% { transform: scale(0.85); opacity: 0.7; }
    70% { transform: scale(1.25); opacity: 0; }
    100% { transform: scale(1.25); opacity: 0; }
}

.ai-chat-panel {
    position: fixed;
    right: 1.25rem;
    bottom: 6.5rem;
    z-index: 61;
    width: min(420px, calc(100vw - 2rem));
    max-height: min(78vh, 720px);
    background: #ffffff;
    border-radius: 1.4rem;
    box-shadow: 0 30px 70px rgba(17,17,17,0.22);
    border: 1px solid #f0e7df;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: translateY(18px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.ai-chat-panel.is-open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.ai-chat-panel__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 1rem 1.1rem;
    background: linear-gradient(135deg, #111111, #2c2c2c);
    color: #ffffff;
}

.ai-chat-panel__title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ai-chat-panel__avatar {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffb347;
    flex-shrink: 0;
}

.ai-chat-panel__name {
    font-weight: 800;
    font-size: 1rem;
}

.ai-chat-panel__meta {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.7);
}

.ai-chat-panel__close {
    width: 2.2rem;
    height: 2.2rem;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    color: #ffffff;
    cursor: pointer;
}

.ai-chat-panel__messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    background: #fbf8f5;
}

.ai-chat-bubble {
    display: flex;
    margin-bottom: 0.7rem;
}

.ai-chat-bubble--user { justify-content: flex-end; }
.ai-chat-bubble--bot { justify-content: flex-start; }

.ai-chat-bubble__content {
    max-width: 86%;
    padding: 0.8rem 1rem;
    border-radius: 1.2rem;
    font-size: 0.93rem;
    line-height: 1.5;
}

.ai-chat-bubble--user .ai-chat-bubble__content {
    background: linear-gradient(135deg, #cf2e2e, #9f1717);
    color: #ffffff;
    border-bottom-right-radius: 0.5rem;
}

.ai-chat-bubble--bot .ai-chat-bubble__content {
    background: #ffffff;
    color: #2d2d2d;
    border: 1px solid #efe4da;
    border-bottom-left-radius: 0.5rem;
    box-shadow: 0 6px 16px rgba(17,17,17,0.06);
}

.ai-chat-typing {
    display: inline-flex;
    gap: 0.3rem;
}

.ai-chat-typing span {
    width: 8px;
    height: 8px;
    background: #cf2e2e;
    border-radius: 999px;
    animation: aiTyping 1.4s infinite ease-in-out;
}

.ai-chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.ai-chat-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes aiTyping {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-4px); opacity: 1; }
}

.ai-chat-products {
    display: grid;
    gap: 0.4rem;
    margin-top: 0.6rem;
}

.ai-chat-product {
    text-align: left;
    padding: 0.7rem 0.85rem;
    border: 1px solid #efe4da;
    border-radius: 0.9rem;
    background: #fbf8f5;
    cursor: pointer;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.ai-chat-product:hover {
    border-color: #f57c00;
    transform: translateY(-1px);
}

.ai-chat-product__name {
    font-weight: 800;
    color: #151515;
    font-size: 0.9rem;
}

.ai-chat-product__meta {
    font-size: 0.78rem;
    color: #6b6660;
    margin-top: 0.15rem;
}

.ai-chat-panel__quick {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    padding: 0.75rem 1rem 0;
    border-top: 1px solid #f1ece6;
    background: #ffffff;
}

.ai-chat-panel__quick-btn {
    border: 1px solid #efe4da;
    background: #fbf8f5;
    color: #2d2d2d;
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
}

.ai-chat-panel__quick-btn:hover {
    border-color: #cf2e2e;
    color: #9f1717;
    background: #fff5ef;
}

.ai-chat-panel__form {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem 1rem;
    background: #ffffff;
}

.ai-chat-panel__form input {
    flex: 1;
    border: 1px solid #efe4da;
    background: #fbf8f5;
    border-radius: 999px;
    padding: 0.85rem 1rem;
    font-size: 0.92rem;
    outline: none;
}

.ai-chat-panel__form input:focus {
    border-color: #f57c00;
    box-shadow: 0 0 0 3px rgba(245,124,0,0.18);
}

.ai-chat-panel__form button {
    width: 2.6rem;
    height: 2.6rem;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #cf2e2e, #9f1717);
    color: #ffffff;
    cursor: pointer;
}

.ai-chat-highlight {
    box-shadow: 0 0 0 3px rgba(245,124,0,0.55), 0 18px 36px rgba(207,46,46,0.18);
    transition: box-shadow 0.4s ease;
}

@media (max-width: 768px) {
    .ai-chat-toggle {
        right: 1rem;
        bottom: 6.4rem;
    }
    .ai-chat-panel {
        right: 0.75rem;
        left: 0.75rem;
        width: auto;
        bottom: 11rem;
        max-height: 70vh;
    }
}

@media print {
    .ai-chat-toggle, .ai-chat-panel { display: none !important; }
}

/* ============================================
   Section FAQ accordéon
   ============================================ */
#faq .faq-group-btn {
    border: 2px solid #ece7e2;
    background: #ffffff;
    color: #2d2d2d;
    padding: 0.55rem 1.1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

#faq .faq-group-btn:hover {
    border-color: #f57c00;
    color: #cf2e2e;
}

#faq .faq-group-btn.is-active {
    background: linear-gradient(135deg, #cf2e2e, #9f1717);
    color: #ffffff;
    border-color: #cf2e2e;
    box-shadow: 0 10px 22px rgba(207,46,46,0.22);
}

.faq-block {
    background: #ffffff;
    border: 1px solid #ece7e2;
    border-radius: 1.2rem;
    padding: 1.25rem 1.4rem;
    box-shadow: 0 10px 28px rgba(17,17,17,0.04);
}

.faq-block__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 1.1rem;
    color: #0e0e0e;
    margin-bottom: 0.8rem;
    padding-bottom: 0.7rem;
    border-bottom: 1px solid #f3eee8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.faq-block__items {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.faq-item {
    border: 1px solid #efe7df;
    border-radius: 0.95rem;
    background: #fbf8f5;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item[open] {
    border-color: #f57c00;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(245,124,0,0.08);
}

.faq-item__summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.95rem 1.1rem;
    font-weight: 700;
    color: #2d2d2d;
}

.faq-item__summary::-webkit-details-marker { display: none; }

.faq-item__q {
    flex: 1;
    font-size: 0.96rem;
    line-height: 1.4;
}

.faq-item__icon {
    width: 2.1rem;
    height: 2.1rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #efe4da;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #cf2e2e;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.faq-item[open] .faq-item__icon i::before { content: "\f068"; }

.faq-item__answer {
    padding: 0 1.1rem 1.1rem;
    color: #5a5753;
    font-size: 0.95rem;
    line-height: 1.65;
}

/* ============================================
   Liens webshop sur cartes produits
   ============================================ */
.product-media__link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 1;
}

.product-media__link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-media__link img {
    transform: scale(1.04);
}

.product-media__link::before {
    content: "\f08e";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    bottom: 0.6rem;
    right: 0.6rem;
    z-index: 3;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.92);
    color: #cf2e2e;
    font-size: 0.75rem;
    box-shadow: 0 6px 14px rgba(17,17,17,0.2);
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.product-card:hover .product-media__link::before {
    opacity: 1;
    transform: translateY(0);
}

.product-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.product-title-link:hover {
    color: #cf2e2e;
}

.product-webshop-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.55rem 0.95rem;
    border-radius: 999px;
    background: #fff7ee;
    color: #9f1717;
    border: 1px solid #f6dfc4;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.product-webshop-link:hover {
    background: linear-gradient(135deg, #cf2e2e, #f57c00);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(207,46,46,0.18);
}

.ai-chat-product__link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.4rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #9f1717;
    text-decoration: none;
}

.ai-chat-product__link:hover {
    color: #cf2e2e;
    text-decoration: underline;
}

/* ============================================
   V3 — Fixes responsive + Checkout modal
   ============================================ */

html, body {
    overflow-x: hidden;
    max-width: 100%;
}

img, video, iframe {
    max-width: 100%;
    height: auto;
}

#promo {
    overflow: hidden;
}

#promo h1 {
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

#promo p,
#promo span,
#promo strong {
    overflow-wrap: break-word;
    word-break: normal;
}

@media (max-width: 640px) {
    #promo {
        padding-top: 5.5rem;
        padding-bottom: 3rem;
    }

    #promo h1 {
        font-size: 2.05rem !important;
        line-height: 1.1;
    }

    #promo p {
        font-size: 1rem !important;
        line-height: 1.55;
    }

    #promo .grid-cols-3 {
        gap: 0.6rem;
    }

    #promo .grid-cols-3 > div {
        padding: 0.7rem 0.6rem;
    }

    #promo .grid-cols-3 .text-3xl {
        font-size: 1.05rem !important;
    }

    .video-shell {
        margin-top: 1.5rem;
    }

    body {
        padding-bottom: 84px;
    }
}

@media (max-width: 480px) {
    #promo h1 {
        font-size: 1.75rem !important;
    }
}

.mobile-quick-bar {
    box-sizing: border-box;
}

#chatbot-container,
.chatbot-toggle,
.chatbot-fab,
[id^="chatbot"] .chatbot-toggle {
    bottom: 96px !important;
}

@media (min-width: 1024px) {
    #chatbot-container,
    .chatbot-toggle,
    .chatbot-fab,
    [id^="chatbot"] .chatbot-toggle {
        bottom: 24px !important;
    }
}

/* ===== Checkout modal ===== */
.checkout-modal { display: block; }
.checkout-modal.hidden { display: none !important; }

.checkout-modal__panel {
    animation: slideUp 0.35s ease-out;
}

.checkout-modal .line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

#checkoutItems li:hover {
    background-color: #fafafa;
}

@media (max-width: 640px) {
    .checkout-modal .checkout-modal__panel {
        max-height: 95vh;
    }
    #checkoutFooter {
        flex-direction: column-reverse;
    }
    #checkoutFooter button {
        width: 100%;
    }
}

/* ===== Selection bar mobile fix ===== */
@media (max-width: 1023px) {
    .selection-bar.is-visible {
        bottom: 84px !important;
    }
}

/* ============================================
   V4 — Auth public/pro mode + Login modal
   ============================================ */

/* Visibilité conditionnelle public/auth */
.public-only,
.public-only-wrap { display: none !important; }
.auth-only,
.auth-only-wrap { display: none !important; }

body.is-public .public-only { display: inline-flex !important; }
body.is-public .public-only-wrap { display: block !important; }
body.is-public .public-only.public-block { display: block !important; }

body.is-authenticated .auth-only { display: inline-flex !important; }
body.is-authenticated .auth-only-wrap { display: block !important; }
body.is-authenticated section.auth-only { display: block !important; }
body.is-authenticated a.auth-only { display: inline-flex !important; }
body.is-authenticated .qty-panel.auth-only-wrap { display: block !important; }

/* Forcer l'affichage flex pour les wrappers de prix authentifiés */
body.is-authenticated .auth-only-wrap.flex { display: flex !important; }

/* Avant le chargement de auth.js : afficher mode public par défaut */
body:not(.is-authenticated):not(.is-public) .auth-only,
body:not(.is-authenticated):not(.is-public) .auth-only-wrap { display: none !important; }
body:not(.is-authenticated):not(.is-public) .public-only { display: inline-flex !important; }
body:not(.is-authenticated):not(.is-public) .public-only-wrap { display: block !important; }

/* Placeholder prix verrouillé sur les cartes produits */
.product-locked-price {
    background: linear-gradient(135deg, #fff8ec 0%, #ffeac6 100%);
    border: 1.5px dashed #f57c00;
    border-radius: 14px;
    padding: 1rem;
    text-align: center;
}

.product-locked-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: linear-gradient(135deg, #cf2e2e, #9f1717);
    color: #ffffff;
    border: none;
    padding: 0.7rem 1rem;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 8px 18px rgba(207, 46, 46, 0.25);
}

.product-locked-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(207, 46, 46, 0.35);
}

.product-locked-hint {
    margin-top: 0.5rem;
    font-size: 0.72rem;
    color: #6b4a1f;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Login modal */
.login-modal { display: block; }
.login-modal.hidden { display: none !important; }

.login-modal__panel {
    animation: slideUp 0.32s ease-out;
}

#loginCds, #loginPassword {
    font-size: 1rem;
}

#loginError {
    animation: fadeIn 0.25s ease-out;
}

@media (max-width: 480px) {
    .login-modal__panel {
        max-width: 100%;
        margin: 0;
    }
    .login-modal .px-8 { padding-left: 1.25rem; padding-right: 1.25rem; }
}

/* Toast notification (auth feedback) */
.auth-toast {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    background: linear-gradient(135deg, #059669, #10b981);
    color: white;
    padding: 0.85rem 1.5rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 14px 30px rgba(5, 150, 105, 0.35);
    z-index: 200;
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.auth-toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (min-width: 1024px) {
    .auth-toast {
        bottom: 32px;
    }
}

/* Bandeaux sticky en haut (public + auth) — empilés sous le navbar fixe */
#publicBanner,
#authStatusBanner {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Bouton logout en mode auth — visible uniquement quand authentifié */
body.is-authenticated [data-auth-logout] { display: inline-flex !important; }
body.is-public [data-auth-logout],
body:not(.is-authenticated) [data-auth-logout] { display: none !important; }

/* Hero CTA adaptatif : pulse uniquement sur le bouton actif */
body.is-public .auth-only.cta-pulse,
body.is-authenticated .public-only.cta-pulse { animation: none !important; box-shadow: none !important; }

/* Cards produits : empêche les hover sur boutons cachés */
.product-card .auth-only-wrap[style*="display: none"] + .public-only-wrap { margin-top: 0; }

/* ============================================
   V4.1 — Bandeau public élégant + Cartes produits mode public
   ============================================ */

/* Bandeau public V4.1 - design moderne et élégant */
.public-banner {
    position: sticky;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
    border-bottom: 2px solid #f57c00;
    overflow: hidden;
}

.public-banner__shimmer {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(245, 124, 0, 0.08) 30%,
        rgba(245, 124, 0, 0.18) 50%,
        rgba(245, 124, 0, 0.08) 70%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: shimmerSweep 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes shimmerSweep {
    0%, 100% { background-position: -100% 0; opacity: 0.6; }
    50% { background-position: 100% 0; opacity: 1; }
}

.public-banner__icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f57c00, #ff9b31);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    font-size: 1.1rem;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(245, 124, 0, 0.4);
}

.public-banner__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.95rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.public-banner__subtitle {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 2px;
    line-height: 1.3;
}

.public-banner__cta {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #f57c00, #ff9b31);
    color: #0f172a;
    padding: 0.7rem 1.4rem;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
    box-shadow: 0 8px 18px rgba(245, 124, 0, 0.35);
    flex-shrink: 0;
}

.public-banner__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(245, 124, 0, 0.5);
    background: linear-gradient(135deg, #ff8c1a, #ffaa44);
}

.public-banner__cta-arrow {
    transition: transform 0.25s ease;
}

.public-banner__cta:hover .public-banner__cta-arrow {
    transform: translateX(4px);
}

@media (max-width: 640px) {
    .public-banner__title { font-size: 0.85rem; }
    .public-banner__subtitle { font-size: 0.72rem; }
    .public-banner__icon { width: 38px; height: 38px; font-size: 0.95rem; }
    .public-banner__cta { padding: 0.6rem 1rem; font-size: 0.8rem; }
    .public-banner__cta-arrow { display: none; }
}

/* ============================================
   V4.1 — Cartes produits mode public (prix HTVA visible)
   ============================================ */

.product-public-price {
    background: linear-gradient(135deg, #ffffff 0%, #fafaf7 100%);
    border: 1.5px solid #e5e7eb;
    border-radius: 16px;
    padding: 1rem 1.1rem;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.product-public-price::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #f57c00, #cf2e2e);
    border-radius: 2px 0 0 2px;
}

.product-card:hover .product-public-price {
    border-color: #f57c00;
    box-shadow: 0 12px 28px rgba(245, 124, 0, 0.12);
}

.product-public-price__head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px dashed #e5e7eb;
}

.product-public-price__label {
    font-size: 0.7rem;
    font-weight: 700;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-public-price__value {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: #9ca3af;
    text-decoration: line-through;
    text-decoration-color: #ef4444;
    text-decoration-thickness: 2px;
}

.product-public-price__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: linear-gradient(135deg, #cf2e2e, #9f1717);
    color: #ffffff;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-weight: 800;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 6px 14px rgba(207, 46, 46, 0.25);
    letter-spacing: 0.01em;
}

.product-public-price__cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 22px rgba(207, 46, 46, 0.4);
    background: linear-gradient(135deg, #dc3030, #b21d1d);
}

.product-public-price__cta i.fa-arrow-right {
    transition: transform 0.2s ease;
}

.product-public-price__cta:hover i.fa-arrow-right {
    transform: translateX(3px);
}

.product-public-price__hint {
    margin-top: 0.6rem;
    font-size: 0.7rem;
    color: #6b4a1f;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ============================================
   V4.1 — Fix RESPONSIVE complet (priorité absolue)
   ============================================ */

/* Reset universel anti-overflow */
*, *::before, *::after {
    box-sizing: border-box;
    max-width: 100%;
}

html {
    overflow-x: hidden !important;
    width: 100%;
}

body {
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
}

/* Container responsive cohérent */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px)  { .container { max-width: 640px; padding-left: 1.5rem; padding-right: 1.5rem; } }
@media (min-width: 768px)  { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; padding-left: 2rem; padding-right: 2rem; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }
@media (min-width: 1536px) { .container { max-width: 1400px; } }

/* HERO mobile - text overflow strict */
@media (max-width: 768px) {
    #promo {
        padding-top: 5.5rem !important;
        padding-bottom: 3rem !important;
    }

    #promo .grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    #promo h1 {
        font-size: clamp(1.75rem, 6vw, 2.4rem) !important;
        line-height: 1.1 !important;
        word-break: keep-all;
        overflow-wrap: break-word;
    }

    #promo h1 br {
        display: inline;
    }

    #promo p {
        font-size: clamp(0.95rem, 3.5vw, 1.1rem) !important;
        line-height: 1.55 !important;
    }

    #promo .grid-cols-3 {
        gap: 0.55rem !important;
    }

    #promo .grid-cols-3 > div {
        padding: 0.75rem 0.55rem !important;
    }

    #promo .grid-cols-3 .text-3xl,
    #promo .grid-cols-3 .text-2xl {
        font-size: 1rem !important;
        line-height: 1.15 !important;
    }

    #promo .grid-cols-3 .text-xs {
        font-size: 0.65rem !important;
        line-height: 1.2 !important;
    }

    #promo .video-shell {
        margin-top: 0;
    }

    #promo .flex-col.sm\:flex-row {
        flex-direction: column;
        gap: 0.75rem !important;
    }

    #promo .flex-col.sm\:flex-row > a,
    #promo .flex-col.sm\:flex-row > button {
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1rem !important;
        font-size: 0.95rem !important;
    }
}

@media (max-width: 480px) {
    #promo {
        padding-top: 5rem !important;
    }
    #promo h1 { font-size: 1.7rem !important; }
    #promo p { font-size: 0.95rem !important; }
    #promo .grid-cols-3 { grid-template-columns: 1fr 1fr 1fr; gap: 0.4rem !important; }
    #promo .grid-cols-3 > div { padding: 0.55rem 0.35rem !important; }
    #promo .grid-cols-3 .text-3xl,
    #promo .grid-cols-3 .text-2xl { font-size: 0.85rem !important; }
}

/* Bandeau public sur mobile - empilé */
@media (max-width: 640px) {
    .public-banner {
        position: relative !important; /* pas sticky sur petit mobile pour économiser l'espace */
    }
    .public-banner .container {
        padding-top: 0.6rem;
        padding-bottom: 0.6rem;
    }
    .public-banner .flex-col.sm\:flex-row {
        gap: 0.65rem;
    }
}

/* Sections containers responsive */
section {
    overflow-x: hidden;
}

/* Grid produits responsive cohérent */
@media (max-width: 640px) {
    #productsGrid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
}

@media (min-width: 641px) and (max-width: 1023px) {
    #productsGrid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* Section avantages mobile */
@media (max-width: 640px) {
    section.bg-gray-50 .grid-cols-2,
    section.py-10 .grid-cols-2 {
        gap: 0.75rem !important;
    }
}

/* Footer mobile */
@media (max-width: 640px) {
    footer .grid {
        gap: 1.5rem !important;
    }
}

/* Modal sur mobile - prend tout l'écran */
@media (max-width: 480px) {
    .login-modal__panel,
    .checkout-modal__panel {
        max-width: calc(100vw - 1rem) !important;
        margin: 0.5rem;
    }
}

/* Mobile quick bar n'écrase pas le contenu */
@media (max-width: 1023px) {
    body {
        padding-bottom: 90px;
    }
    .selection-bar.is-visible {
        bottom: 90px !important;
    }
}

/* Chatbot positionnement responsive */
@media (max-width: 1023px) {
    #chatbot-container,
    .chatbot-toggle,
    .chatbot-fab {
        bottom: 100px !important;
        right: 12px !important;
    }
}

/* Stats blocs hero mobile - éviter que le texte sorte */
#promo .grid-cols-3 .text-3xl,
#promo .grid-cols-3 .text-2xl {
    overflow-wrap: break-word;
    word-break: keep-all;
    hyphens: none;
}

/* Catégories filtres mobile - scroll horizontal si trop nombreux */
@media (max-width: 640px) {
    #categoryFilters {
        flex-wrap: nowrap !important;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
        margin-left: -1rem;
        margin-right: -1rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }
    #categoryFilters .category-btn {
        flex-shrink: 0;
        scroll-snap-align: start;
    }
    #categoryFilters::-webkit-scrollbar {
        display: none;
    }
}

/* Iframe flipbook mobile */
@media (max-width: 768px) {
    #flipbook-container {
        min-height: 400px !important;
    }
}

/* Force la non-sortie du contenu hors viewport */
.video-shell,
.product-card,
.contact-card,
.checkout-modal__panel,
.login-modal__panel {
    max-width: 100%;
}

/* Image dans le hero ne doit pas dépasser */
#promo .video-shell {
    max-width: 100%;
    width: 100%;
}

#promo video {
    max-width: 100%;
    width: 100%;
    height: auto;
}

/* ============================================
   V4.1 — Chatbot Adam friendly
   ============================================ */

.ai-chat-panel__name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ai-chat-panel__badge {
    display: inline-flex;
    align-items: center;
    background: #10b981;
    color: white;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5);
    animation: pulseGreen 2s ease-in-out infinite;
}

.ai-chat-panel__badge::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: white;
    margin-right: 0.35rem;
    animation: blinkDot 1.5s ease-in-out infinite;
}

@keyframes pulseGreen {
    0%, 100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
    50% { box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
}

@keyframes blinkDot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.ai-chat-bubble--bot strong {
    color: #cf2e2e;
    font-weight: 700;
}

.ai-chat-panel__quick-btn {
    transition: all 0.2s ease;
}

.ai-chat-panel__quick-btn:hover {
    transform: translateY(-1px);
}

/* ============================================
   V4.1 — Images produits centrées sans zoom (override)
   ============================================ */

.product-media {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%) !important;
    border-bottom: 1px solid #f1f5f9;
}

.product-media img,
.product-media__link img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    object-position: center !important;
    padding: 1.25rem !important;
    transition: transform 0.4s ease;
    background: transparent;
}

.product-card:hover .product-media img,
.product-card:hover .product-media__link img {
    transform: scale(1.06) !important;
}

/* Pas d'overlay sombre au-dessus de l'image (on garde fond clair) */
.product-media::after {
    background: transparent !important;
}

/* Pastille catégorie - fond plus discret pour ne pas concurrencer le produit */
.product-category-pill {
    background: rgba(15, 23, 42, 0.85) !important;
}

/* Zone média plus aérée */
.product-card .product-media {
    height: 200px;
    min-height: 200px;
}

@media (max-width: 640px) {
    .product-card .product-media {
        height: 180px;
        min-height: 180px;
    }
    .product-media img,
    .product-media__link img {
        padding: 1rem !important;
    }
}

/* Petites images (thumbnails dans le checkout/chatbot) - centrage cohérent */
#checkoutItems img {
    object-fit: contain !important;
    object-position: center !important;
    padding: 0.4rem;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
}

/* ============================================
   V4.1-FINAL - UX/UI ENHANCEMENTS
   ============================================ */

/* Sélecteur de langue */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    border-radius: 9999px;
    padding: 3px;
    gap: 2px;
}
.lang-switcher .lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 4px 8px;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    color: #6b7280;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    line-height: 1;
}
.lang-switcher .lang-btn:hover { background: #fff; }
.lang-switcher .lang-btn:hover .lang-flag-img { transform: scale(1.08); }
.lang-switcher .lang-btn.active {
    background: #1e3a8a;
    box-shadow: 0 2px 6px rgba(30, 58, 138, 0.25);
}
.lang-switcher .lang-btn.active .lang-flag-img {
    box-shadow: 0 0 0 2px #fff, 0 2px 4px rgba(0,0,0,0.15);
}
.lang-switcher .lang-flag { font-size: 1rem; }
/* V4.1-final - Drapeaux images (FR.png / NL.png) */
.lang-switcher .lang-flag-img {
    display: block;
    width: 26px;
    height: 18px;
    object-fit: cover;
    border-radius: 3px;
    transition: transform 0.2s ease;
    border: 1px solid rgba(0,0,0,0.06);
}
.lang-switcher--mobile {
    display: flex;
    justify-content: center;
    width: fit-content;
    margin: 0 auto 8px;
}

/* Toggle mode sombre */
.dark-mode-toggle {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #e5e7eb;
    background: #f3f4f6;
    border-radius: 50%;
    color: #1e3a8a;
    cursor: pointer;
    transition: all 0.2s ease;
}
.dark-mode-toggle:hover {
    background: #fff;
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* Compteur jours restants */
.countdown-pill {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #78350f;
    padding: 10px 20px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid rgba(245, 158, 11, 0.3);
}
.countdown-pill.countdown--urgent {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #7f1d1d;
    border-color: rgba(220, 38, 38, 0.4);
    animation: pulseUrgent 2s ease-in-out infinite;
}
.countdown-pill.countdown--expired {
    background: #f3f4f6;
    color: #6b7280;
    border-color: #d1d5db;
}
@keyframes pulseUrgent {
    0%, 100% { box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.3); }
    50% { box-shadow: 0 0 0 10px rgba(220, 38, 38, 0); }
}

/* Boutons d'action sur les cartes produit (vue rapide + comparateur) */
.product-card__actions {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    z-index: 5;
}
.product-card:hover .product-card__actions {
    opacity: 1;
    transform: translateX(0);
}
.product-card__icon-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #1e3a8a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    font-size: 0.9rem;
}
.product-card__icon-btn:hover {
    background: #1e3a8a;
    color: #fff;
    transform: scale(1.1);
}
.product-card__icon-btn.active {
    background: #f59e0b;
    color: #fff;
    border-color: #f59e0b;
}

/* Vue rapide modal */
.quickview-modal {
    position: fixed;
    inset: 0;
    z-index: 120;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.quickview-modal.hidden { display: none; }
.quickview-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}
.quickview-modal__panel {
    position: relative;
    background: #fff;
    border-radius: 20px;
    max-width: 880px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
    animation: qvSlide 0.3s ease;
}
@keyframes qvSlide {
    from { opacity: 0; transform: scale(0.95) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}
.quickview-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f3f4f6;
    border: none;
    cursor: pointer;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.quickview-modal__close:hover { background: #fee2e2; color: #dc2626; }
.qv-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    padding: 30px;
}
.qv-image {
    background: #f9fafb;
    border-radius: 14px;
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.qv-image img { max-width: 90%; max-height: 90%; object-fit: contain; }
.qv-image i { font-size: 5rem; color: #9ca3af; }
.qv-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: #dc2626;
    color: #fff;
    padding: 5px 12px;
    border-radius: 9999px;
    font-size: 0.7rem;
    font-weight: 700;
}
.qv-meta {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
}
.qv-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #0c1f4a;
    margin-bottom: 12px;
    line-height: 1.25;
}
.qv-desc { color: #4b5563; margin-bottom: 18px; line-height: 1.6; }
.qv-price {
    background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
    border: 1px solid #fed7aa;
    border-radius: 14px;
    padding: 18px;
    margin-bottom: 18px;
}
.qv-price__label {
    font-size: 0.75rem;
    color: #92400e;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 600;
}
.qv-price__value {
    font-size: 2rem;
    font-weight: 900;
    color: #c2410c;
    margin-top: 4px;
}
.qv-price__old {
    color: #9ca3af;
    text-decoration: line-through;
    font-size: 0.95rem;
}
.qv-price__discount {
    display: inline-block;
    background: #dc2626;
    color: #fff;
    padding: 4px 12px;
    border-radius: 9999px;
    font-weight: 700;
    margin-top: 6px;
    font-size: 0.85rem;
}
.qv-price--public {
    background: #f9fafb;
    border-color: #e5e7eb;
}
.qv-price__login {
    margin-top: 12px;
    background: #1e3a8a;
    color: #fff;
    padding: 10px 18px;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
}
.qv-price__login:hover { background: #1e40af; }
.qv-webshop-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: #f59e0b;
    color: #0c1f4a;
    padding: 14px 20px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}
.qv-webshop-btn:hover { background: #d97706; transform: translateY(-2px); }
@media (max-width: 768px) {
    .qv-grid { grid-template-columns: 1fr; gap: 20px; padding: 20px; }
    .qv-title { font-size: 1.25rem; }
}

/* Comparateur barre + modal */
.compare-bar {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: #0c1f4a;
    color: #fff;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    z-index: 90;
    padding: 14px 22px;
    transition: all 0.3s ease;
}
.compare-bar.hidden { display: none; }
.compare-bar__inner {
    display: flex;
    align-items: center;
    gap: 18px;
}
.compare-bar__count { font-weight: 600; }
.compare-bar__btn {
    background: #f59e0b;
    color: #0c1f4a;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}
.compare-bar__btn:hover { background: #d97706; }
.compare-bar__btn--ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}
.compare-bar__btn--ghost:hover { background: rgba(255,255,255,0.1); }

.compare-modal {
    position: fixed;
    inset: 0;
    z-index: 130;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.compare-modal.hidden { display: none; }
.compare-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}
.compare-modal__panel {
    position: relative;
    background: #fff;
    border-radius: 20px;
    max-width: 1100px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 30px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.25);
}
.compare-modal__close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f3f4f6;
    border: none;
    cursor: pointer;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.compare-modal__title {
    font-size: 1.4rem;
    font-weight: 800;
    color: #0c1f4a;
    margin-bottom: 20px;
}
.compare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}
.compare-col {
    position: relative;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px;
}
.compare-col__remove {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #fee2e2;
    color: #dc2626;
    border: none;
    cursor: pointer;
    font-size: 0.7rem;
}
.compare-col__image {
    aspect-ratio: 1 / 1;
    background: #fff;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    overflow: hidden;
}
.compare-col__image img { max-width: 85%; max-height: 85%; object-fit: contain; }
.compare-col__image i { font-size: 3rem; color: #9ca3af; }
.compare-col__name {
    font-weight: 700;
    color: #0c1f4a;
    margin-bottom: 12px;
    font-size: 0.95rem;
    line-height: 1.3;
}
.compare-col__specs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px 10px;
    font-size: 0.85rem;
    margin-bottom: 14px;
}
.compare-col__specs dt { color: #6b7280; font-weight: 500; }
.compare-col__specs dd { color: #0c1f4a; font-weight: 600; }
.compare-col__price { color: #c2410c !important; font-weight: 800 !important; }
.compare-col__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: #f59e0b;
    color: #0c1f4a;
    padding: 8px 14px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.85rem;
}

/* Skeleton loaders */
.skeleton-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.skeleton {
    background: linear-gradient(90deg, #e5e7eb 0%, #f3f4f6 50%, #e5e7eb 100%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s ease infinite;
    border-radius: 6px;
}
.skeleton--image { width: 100%; height: 208px; }
.skeleton-card__body { padding: 20px; }
.skeleton-card__body .skeleton { height: 12px; margin-bottom: 10px; }
.skeleton--price { height: 30px; width: 50%; margin-top: 14px; }
@keyframes skeletonShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* V4.1-final - Animations scroll déjà définies plus haut (visibles par défaut) */

/* Toast notifications */
.toast-host {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.toast {
    background: #0c1f4a;
    color: #fff;
    padding: 12px 18px;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    transform: translateX(120%);
    transition: transform 0.3s ease;
    max-width: 320px;
    font-size: 0.9rem;
}
.toast--show { transform: translateX(0); }
.toast--warning { background: #f59e0b; color: #0c1f4a; }
.toast--success { background: #10b981; color: #fff; }
.toast--error { background: #dc2626; color: #fff; }

/* Google Maps */
.contact-map {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    overflow: hidden;
}
.contact-map__header {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    font-size: 0.9rem;
}
.contact-map__link {
    margin-left: auto;
    color: #1e3a8a;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
}
.contact-map__link:hover { text-decoration: underline; }
.contact-map__iframe {
    width: 100%;
    height: 240px;
    border: none;
    display: block;
}

/* Mode sombre */
.dark-mode {
    color-scheme: dark;
}
.dark-mode body,
html.dark-mode body {
    background: #0a0f1f !important;
    color: #e5e7eb !important;
}
.dark-mode #navbar,
.dark-mode .bg-white {
    background: #111827 !important;
    color: #e5e7eb !important;
}
.dark-mode .bg-gray-50 { background: #0f172a !important; }
.dark-mode .product-card,
.dark-mode .skeleton-card,
.dark-mode .contact-map {
    background: #1f2937 !important;
    border-color: #374151 !important;
}
.dark-mode .text-gray-700,
.dark-mode .text-gray-600,
.dark-mode .text-gray-500 { color: #d1d5db !important; }
.dark-mode .text-dsi-blue-950,
.dark-mode .text-dsi-blue-900 { color: #f3f4f6 !important; }
.dark-mode .lang-switcher {
    background: #1f2937;
    border-color: #374151;
}
.dark-mode .lang-switcher .lang-btn { color: #9ca3af; }
.dark-mode .lang-switcher .lang-btn:hover { background: #374151; color: #fff; }
.dark-mode .dark-mode-toggle {
    background: #1f2937;
    border-color: #374151;
    color: #f59e0b;
}
.dark-mode .product-public-price {
    background: #1f2937;
    border-color: #374151;
}

/* Responsive lang switcher */
@media (max-width: 1023px) {
    .lang-switcher:not(.lang-switcher--mobile) { display: none; }
    .dark-mode-toggle { display: none; }
}
@media (min-width: 1024px) {
    .lang-switcher--mobile { display: none; }
}

/* ============================================
   V4.1-final-fix5 — Voice Assistant for Adam
   ============================================ */
.ai-chat-panel__voice-btn,
.ai-chat-panel__mic-btn {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-right: 8px;
    flex-shrink: 0;
}
.ai-chat-panel__voice-btn:hover,
.ai-chat-panel__mic-btn:hover {
    background: rgba(255,255,255,0.28);
    transform: scale(1.05);
}
.ai-chat-panel__voice-btn.is-active {
    background: #f59e0b;
    border-color: #f59e0b;
    color: #1e3a8a;
    box-shadow: 0 0 0 4px rgba(245,158,11,0.25);
    animation: voicePulse 1.6s ease-in-out infinite;
}
.ai-chat-panel__mic-btn {
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    color: #374151;
    margin-right: 6px;
    width: 40px;
    height: 40px;
}
.ai-chat-panel__mic-btn:hover {
    background: #e5e7eb;
    color: #1e3a8a;
}
.ai-chat-panel__mic-btn.is-recording {
    background: #ef4444;
    border-color: #ef4444;
    color: #fff;
    box-shadow: 0 0 0 4px rgba(239,68,68,0.25);
    animation: voicePulse 1.2s ease-in-out infinite;
}
@keyframes voicePulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(245,158,11,0.25); }
    50% { box-shadow: 0 0 0 10px rgba(245,158,11,0.05); }
}
.ai-chat-bubble {
    position: relative;
}
.ai-chat-bubble__listen {
    position: absolute;
    bottom: 4px;
    right: -28px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 11px;
    transition: all 0.2s ease;
    opacity: 0;
}
.ai-chat-bubble--bot:hover .ai-chat-bubble__listen,
.ai-chat-bubble__listen.is-playing {
    opacity: 1;
}
.ai-chat-bubble__listen:hover {
    background: #1e3a8a;
    color: #fff;
    border-color: #1e3a8a;
}
.ai-chat-bubble__listen.is-playing {
    background: #f59e0b;
    color: #fff;
    border-color: #f59e0b;
    animation: voicePulse 1.4s ease-in-out infinite;
}
.dark-mode .ai-chat-bubble__listen {
    background: #374151;
    border-color: #4b5563;
    color: #d1d5db;
}
@media (max-width: 640px) {
    .ai-chat-bubble__listen {
        right: 4px;
        bottom: 4px;
        opacity: 0.5;
    }
}

/* ============================================
   V4.1-final-fix7 — Mic permission indicator
   ============================================ */
.ai-chat-panel__mic-btn {
    position: relative;
}
.ai-chat-panel__mic-status {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 1.5px solid #fff;
    background: transparent;
    transition: background 0.2s ease;
}
.ai-chat-panel__mic-status[data-mic-status="granted"] { background: #10b981; }
.ai-chat-panel__mic-status[data-mic-status="prompt"]  { background: #9ca3af; }
.ai-chat-panel__mic-status[data-mic-status="denied"]  { background: #ef4444; }
.ai-chat-panel__mic-status[data-mic-status="unknown"] { background: transparent; border-color: transparent; }
.dark-mode .ai-chat-panel__mic-status {
    border-color: #1f2937;
}
