@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
/* --- Global Overrides & Grid setup for Product Page --- */
:root {
    --primary-blue: #032b53;
    --accent-red: #e21a22;
    --light-border: #e2e8f0;
    --text-slate: #475569;
}

/* --- Global Configuration & Core Variables --- */
:root {
    --primary-blue: #0A3663;
    --accent-red: #E30013;
    --text-dark: #1E293B;
    --text-muted: #475569;
    --bg-light: #F8FAFC;
    --white: #FFFFFF;
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--white);
    color: var(--text-dark);
    overflow-x: hidden;
}


:root {
    --primary-blue: #032b53;
    --branding-red: #dc2626;
    --text-slate: #475569;
    --bg-comfortable: #faf8f5; /* Teinte crème ultra-confortable pour les yeux */
}

/* --- SECTION HERO PRINCIPALE --- */
.catalogue-hero {
    width: 100%;
    background-color: var(--bg-comfortable); /* Remplacement du blanc pur agressif */
    position: relative;
    overflow: hidden;
    padding: 0;
}

.hero-container {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    min-height: 440px; 
}

/* --- BLOC TEXTE (GAUCHE) --- */
.hero-text-content {
    flex: 1.2;
    padding: 60px 40px 60px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--bg-comfortable); /* Application de l'arrière-plan doux */
    z-index: 2;
}

.hero-subtitle {
    font-size: 13px;
    font-weight: 700;
    color: var(--branding-red);
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.hero-title {
    font-size: 40px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-blue);
    margin-bottom: 14px;
}

.title-underline {
    width: 40px;
    height: 3px;
    background-color: var(--branding-red);
    margin-bottom: 24px;
}

.hero-description {
    font-size: 14.5px;
    line-height: 1.6;
    color: #2e3e50; /* Couleur de texte adoucie pour le confort visuel */
    max-width: 480px;
}


.hero-image-content {
    flex: 1;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center; /* Centre verticalement */
    justify-content: center;
    background: linear-gradient(135deg, #eef3fc 0%, #f4f7fd 100%);
    clip-path: polygon(28% 0%, 100% 0%, 100% 100%, 0% 100%);
    
    /* Force les marges et paddings à zéro */
    padding: 0 !important;
    margin: 0 !important;
    min-height: 440px; /* Assure la hauteur de ton bloc */
}

.catalog-mockup-img {
    width: 115%;
    height: 100%; /* Change 115% vers 100% pour éviter le débordement vertical */
    object-fit: cover;
    object-position: center;
    display: block; /* Supprime l'espace réservé en bas des éléments inline */
    margin: 0 !important;
    padding: 0 !important;
    transform: scale(1.1); /* Ajuste l'échelle si nécessaire */
    filter: drop-shadow(0 18px 35px rgba(3,43,83,.08));
}

.mockup-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 !important;
    padding: 0 !important;
}

/* Ajustement de la ligne avec la même rotation/degré de recadrage */
/* --- LIGNE DE SÉPARATION BLEUE ET ROUGE --- */
.split-diagonal-line {
    position: absolute;
    top: -10%;       /* Étendu au-delà des bords pour éviter les coupures dues à la rotation */
    height: 120%;    /* Plus grand que le conteneur pour couvrir toute la hauteur après pivotement */
    left: 14.6%;     /* Aligné précisément sur le point de bascule de l'image image_7ff5ba.jpg */
    width: 6px;      /* Épaisseur exacte de la ligne fine */
    
    /* Dégradé de couleur : Moitié Bleu (#032b53), Moitié Rouge (#dc2626) */
    background: linear-gradient(to bottom, var(--primary-blue) 50%, var(--branding-red) 50%);
    
    z-index: 3;
    
    /* ROTATION UNIQUE : Ajustez l'angle (ex: -12deg) ici selon vos préférences exactes */
    transform: translateX(-50%) rotate(+18.5deg);
    transform-origin: center center;
}

@media (max-width: 992px) {
    /* Cache complètement la zone de l'image sur mobile */
    .hero-image-content {
        display: none !important;
    }

    /* Optionnel : si vous voulez que le texte prenne toute la largeur 
       puisqu'il n'y a plus d'image à côté */
    .hero-text-content {
        width: 100%;
        text-align: center;
        align-items: center;
    }
}


/* ==========================================================================
   3. CATALOG APPLICATION GRID CONTAINER
   ========================================================================== */
.catalog-main-section {
    padding: 48px 0 80px 0;
}

.catalog-layout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    gap: 32px;
}

/* Sidebar Styling Blocks */
.catalog-sidebar {
    width: 280px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Conteneur principal de la Sidebar pour l'effet de carte blanche de image_8071fd.png */
.sidebar-categories-card {
    background-color: #ffffff;
    border-radius: 12px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.015);
    padding: 32px 24px;
}

/* Titre principal "CATÉGORIES" avec son petit trait rouge distinctif */
.sidebar-main-title {
    font-size: 13px;
    font-weight: 800;
    color: var(--primary-blue);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 32px;
    position: relative;
    padding-top: 10px;
}

.sidebar-main-title::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 20px;
    height: 3px;
    background-color: var(--branding-red);
    border-radius: 2px;
}

.category-accordion {
    display: flex;
    flex-direction: column;
}

/* Structure épurée par groupe d'accordéon (sans bordures isolées) */
.accordion-group {
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #f1f5f9;
    padding: 16px 0;
}

.accordion-group:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.accordion-group:first-child {
    padding-top: 0;
}

/* En-tête de catégorie cliquable avec icône alignée */
.accordion-header {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 14.5px;
    font-weight: 700;
    color: var(--primary-blue);
    cursor: pointer;
    background-color: transparent;
    transition: color 0.2s;
    user-select: none;
}

.accordion-header i.category-icon {
    font-size: 18px;
    color: var(--primary-blue);
}

.accordion-header .category-text {
    flex-grow: 1;
    line-height: 1.4;
}

.accordion-header .arrow {
    font-size: 12px;
    color: var(--primary-blue);
    transition: transform 0.2s;
}

/* Règles pour l'état actif interactif de image_8071fd.png (pas de fond bleu complet) */
.accordion-group.active .accordion-header .arrow {
    transform: rotate(180deg);
}

/* Liens enfants sous forme de puces bleues subtiles */
.accordion-links {
    display: none;
    flex-direction: column;
    gap: 12px;
    padding: 16px 0 4px 14px;
    background-color: transparent;
}

.accordion-group.active .accordion-links {
    display: flex;
}

.accordion-links a {
    position: relative;
    display: inline-block;
    padding-left: 16px;
    font-size: 13.5px;
    font-weight: 500;
    color: #475569;
    text-decoration: none;
    transition: color 0.2s;
    line-height: 1.4;
}

/* Création des petites puces bleues avant chaque sous-lien */
.accordion-links a::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #2563eb;
    font-size: 14px;
    line-height: 1;
}

/* État actif ou survolé d'un lien (le lien multi-gaz rouge sur la maquette) */
.accordion-links a:hover {
    color: #2563eb;
}

.accordion-links a.highlight-red {
    color: var(--branding-red);
    font-weight: 600;
}

/* ==========================================================================
   SUPPORT / NEED HELP SIDEBAR UNIT BOX (image_8071fd.png)
   ========================================================================== */
.support-sidebar-box {
    background-color: #ffffff;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.015);
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.support-icon {
    font-size: 26px;
    color: #2563eb;
    flex-shrink: 0;
    margin-top: 2px;
}

.support-info-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.support-sidebar-box h3 {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    color: var(--primary-blue);
    margin: 0;
}

.support-sidebar-box p {
    font-size: 13px;
    line-height: 1.4;
    color: #64748b;
    margin: 0;
}
/* Support Help Card Unit Box */
.support-sidebar-box {
    background-color: #edf2f9;
    border-radius: 12px;
    padding: 24px;
    border: 1px solid #e2e8f0;
}

.support-icon {
    font-size: 24px;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.support-sidebar-box h3 {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--primary-blue);
    margin-bottom: 8px;
}

.support-sidebar-box p {
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-slate);
    margin-bottom: 16px;
}

.btn-support-contact {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 11px;
    font-size: 13px;
    font-weight: 600;
    color: #2563eb;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-support-contact:hover {
    background-color: #f8fafc;
    border-color: #2563eb;
}

/* ==========================================================================
   4. DATA RESULTS SHEET GRID
   ========================================================================== */
.catalog-results-area {
    flex-grow: 1;
}

.catalog-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.toolbar-title-box h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 4px;
}

.results-count {
    font-size: 12.5px;
    color: #64748b;
}

.toolbar-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

/* Search Input Form Control Layout */
.search-wrapper {
    position: relative;
}

.search-wrapper input {
    width: 260px;
    padding: 10px 14px 10px 36px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 13px;
    outline: none;
    background-color: #ffffff;
    color: #1e293b;
    transition: border-color 0.2s;
}

.search-wrapper input:focus {
    border-color: var(--primary-blue);
}

.search-wrapper .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 13px;
}

.btn-zip-download {
    background-color: var(--primary-blue);
    color: #ffffff;
    border: none;
    padding: 10px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s;
}

.btn-zip-download:hover {
    background-color: #113f70;
}

/* Filter Subcategory Tabs Pills */
.filter-chips-row {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}

.chip {
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 8px 14px;
    font-size: 12.5px;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    transition: all 0.15s;
}

.chip:hover {
    background-color: #f8fafc;
    border-color: #94a3b8;
}

.chip.active {
    background-color: var(--primary-blue);
    color: #ffffff;
    border-color: var(--primary-blue);
    font-weight: 600;
}

/* ==========================================================================
   5. CATALOG DATA TABLE STYLING
   ========================================================================== */
.table-card-wrapper {
    background-color: #ffffff;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
    overflow: hidden;
    margin-bottom: 24px;
}

.catalog-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.catalog-table th {
    background-color: #f8fafc;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.5px;
    padding: 14px 20px;
    border-bottom: 1px solid #e2e8f0;
}

.catalog-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    font-size: 13.5px;
    color: #334155;
}

.catalog-table tbody tr:last-child td {
    border-bottom: none;
}

.catalog-table tbody tr:hover td {
    background-color: #f8fafc;
}

/* Hardware Device Avatar Placeholders */
.avatar-bg {
    width: 36px;
    height: 36px;
    background-color: #fffbeb;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #d97706;
    font-size: 15px;
}

.ref-code {
    font-weight: 600;
    color: var(--primary-blue);
}

.product-name {
    font-weight: 700;
    color: var(--primary-blue);
}

.brand-text, .date-text {
    color: #64748b;
}

/* PDF Document Row Download Button Block */
.pdf-download-link {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    text-decoration: none;
    text-align: left;
}

.pdf-icon {
    font-size: 24px;
    color: var(--branding-red);
}

.pdf-text-meta {
    display: flex;
    flex-direction: column;
}

.dl-label {
    font-size: 13px;
    font-weight: 600;
    color: #2563eb;
}

.pdf-download-link:hover .dl-label {
    text-decoration: underline;
}

.dl-size {
    font-size: 11px;
    color: #94a3b8;
    margin-top: 1px;
}

/* ==========================================================================
   6. PAGINATION INTERACTION CONTROLS
   ========================================================================== */
.pagination-container {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 32px;
}

.pag-btn {
    width: 34px;
    height: 34px;
    border: 1px solid #cbd5e1;
    background-color: #ffffff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #475569;
    transition: all 0.15s;
}

.pag-btn:hover {
    background-color: #f1f5f9;
    border-color: #94a3b8;
}

.pag-btn.active {
    background-color: var(--primary-blue);
    color: #ffffff;
    border-color: var(--primary-blue);
}

/* ==========================================================================
   7. ADAPTIVE MEDIA BREAKPOINT LAYOUTS
   ========================================================================== */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }
    .title-underline {
        margin: 0 auto 28px auto;
    }
    .hero-image-content {
        justify-content: center;
    }
    .catalog-layout-container {
        flex-direction: column;
    }
    .catalog-sidebar {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .catalog-toolbar {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start;
    }
    .toolbar-actions {
        width: 100%;
        justify-content: space-between;
    }
    .search-wrapper input {
        width: 100%;
    }
    .filter-chips-row {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 4px;
    }
    .chip {
        flex-shrink: 0;
    }
}







@media (max-width: 992px) {
    /* 1. Masquer les en-têtes de table classiques */
    .catalog-table thead {
        display: none;
    }

    /* 2. Transformer chaque ligne en bloc "carte" */
    .catalog-table, 
    .catalog-table tbody, 
    .catalog-table tr, 
    .catalog-table td {
        display: block;
        width: 100%;
    }

    .catalog-table tr {
        background: var(--white);
        margin-bottom: 20px;
        padding: 15px;
        border: 1px solid var(--light-border);
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    }

    /* 3. Agencement du contenu dans la carte */
    .catalog-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        border: none;
    }

    /* 4. Ajout de labels avant chaque valeur (pour le contexte) */
    .catalog-table td::before {
        content: attr(data-label);
        font-weight: 700;
        font-size: 11px;
        color: var(--text-muted);
        text-transform: uppercase;
    }

    /* Ajustements de style pour les éléments internes */
    
    .product-name { font-size: 16px; }
}











/* ==========================================================================
   FOOTER TECHNIQUE ET LUXE (D'APRÈS IMAGE_F6DF3F.JPG)
   ========================================================================== */
.luxury-footer {
    background-color: #030a13; /* Bleu nuit très profond identique à l'image */
    padding: 80px 0 60px 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #94A3B8;
}

.footer-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Grille principale à 4 colonnes séparées par des bordures fines */
.footer-main-row-four-cols {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
}

/* Base de chaque colonne */
.footer-col {
    padding: 0 40px;
    border-right: 1px solid rgba(255, 255, 255, 0.06); /* Lignes verticales de séparation */
}

.footer-col:last-child {
    border-right: none; /* Supprime la ligne sur la dernière colonne */
}

/* Ajustements spécifiques colonne de gauche */
/* --- Ajustements spécifiques colonne de gauche (Logo Agrandi) --- */
.col-brand-panel {
    padding-left: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo-box {
    margin-bottom: 0px;
    width: 100%; /* Permet au conteneur de prendre toute la largeur pour bien centrer */
    display: flex;
    justify-content: center;
}

.footer-logo-box img {
    height: 250px; /* Grandit le logo pour un effet imposant et haut de gamme */
    width: auto;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.footer-logo-box img:hover {
    transform: scale(1.03); /* Léger effet de survol dynamique */
}

.brand-bio-text {
    font-size: 13.5px;
    line-height: 1.6;
    color: #94A3B8;
    margin: 0 0 25px 0;
    max-width: 320px; /* Élargi très légèrement pour s'accorder avec la taille du logo */
}

/* Boutons réseaux sociaux circulaires et épurés */
.footer-social-circles {
    display: flex;
    gap: 14px;
}

.social-circle-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.social-circle-link:hover {
    border-color: #E30013;
    background-color: #E30013;
    transform: translateY(-2px);
}

/* --- Titres des colonnes avec la ligne rouge inférieure --- */
.footer-col-title {
    color: #ffffff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    margin: 0 0 22px 0;
    padding-bottom: 8px;
    position: relative;
    text-transform: uppercase;
}

.footer-col-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background-color: #E30013; /* Ligne rouge de surbrillance */
}

/* --- Listes de liens avec chevrons bleus --- */
.footer-chevron-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-chevron-list li {
    position: relative;
    padding-left: 18px;
}

.footer-chevron-list li::before {
    content: '>';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #0066cc; /* Chevron bleu distinctif */
    font-weight: bold;
    font-size: 12px;
    font-family: monospace;
}

.footer-chevron-list a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.25s ease;
}

.footer-chevron-list a:hover {
    color: #ffffff;
}

/* --- Quatrième colonne : Coordonnées et icônes --- */
.col-contact-panel {
    padding-right: 0;
}

.footer-contact-details-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.footer-contact-details-list li {
    display: flex;
    align-items: center;
    gap: 16px;
}

.contact-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(0, 102, 204, 0.4); /* Cercle bleu fin */
    background-color: rgba(3, 10, 19, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 13px;
    flex-shrink: 0;
}

.contact-txt-line {
    font-size: 13.5px;
    line-height: 1.5;
    color: #94A3B8;
}

/* ==========================================================================
   RESPONSIVE (Ajustement fluide pour tablettes et mobiles)
   ========================================================================== */
@media (max-width: 1024px) {
    .footer-main-row-four-cols {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
    .footer-col {
        padding: 0 20px;
        border-right: none;
    }
    .col-brand-panel, .col-contact-panel {
        padding-left: 20px;
        padding-right: 20px;
    }
    .col-brand-panel {
        align-items: flex-start;
        text-align: left;
    }
    .brand-bio-text {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .footer-main-row-four-cols {
        grid-template-columns: 1fr;
        gap: 45px;
    }
    .footer-col {
        padding: 0;
    }
    .col-brand-panel, .col-contact-panel {
        padding: 0;
    }
}