﻿/* Reset */
        * { box-sizing: border-box; }
        
        body {
            margin: 0;
            padding-top: 0;
        }
        
        /* Header - Light BG #f7f7f7 to match logo */
        .ng-header {
            position: sticky;
            top: 0;
            left: 0;
            right: 0;
            width: 100%;
            z-index: 1000;
            background: #f7f7f7;
            border-bottom: 3px solid transparent;
            border-image: linear-gradient(to right, 
                #0055A4 33.33%, 
                #FFFFFF 33.33%, 
                #FFFFFF 66.66%, 
                #EF4135 66.66%) 1;
            box-shadow: 0 2px 10px rgba(0,0,0,0.08);
        }
        
        .ng-header-inner {
            display: grid;
            grid-template-columns: auto 1fr auto;
            align-items: center;
            gap: 0.5rem 0.75rem;
            width: 100%;
            max-width: 100%;
            margin: 0 auto;
            padding: 1rem 1.5rem;
            height: 96px;
        }

        .ng-logo {
            justify-self: start;
        }

        /* Mobile only — centre entre logo et menu (icône + numéro) */
        .ng-header-mobile-call {
            justify-self: center;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.35rem;
            max-width: 100%;
            min-width: 0;
            padding: 0.35rem 0.65rem;
            min-height: 44px;
            border-radius: 999px;
            background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
            color: #fff;
            text-decoration: none;
            font-weight: 700;
            font-size: clamp(0.7rem, 3.2vw, 0.875rem);
            line-height: 1.1;
            white-space: nowrap;
            box-shadow: 0 2px 12px rgba(220, 38, 38, 0.35);
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            -webkit-tap-highlight-color: transparent;
        }

        .ng-header-mobile-call:hover,
        .ng-header-mobile-call:focus-visible {
            color: #fff;
            transform: scale(1.03);
            box-shadow: 0 4px 16px rgba(220, 38, 38, 0.45);
            outline: none;
        }

        .ng-header-mobile-call-num {
            letter-spacing: -0.02em;
        }

        .ng-header-mobile-call [data-lucide] {
            width: 18px;
            height: 18px;
            flex-shrink: 0;
        }
        
        /* Logo Styles - No filter needed for light bg */
        .ng-logo img {
            height: 65px;
            width: auto;
            display: block;
            border-radius: 5px;
            transition: opacity 0.3s;
        }
        
        .ng-logo a:hover img {
            opacity: 0.8;
        }
        
        /* Mobile Menu Button - Dark hamburger for light bg */
        .ng-mobile-menu-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            justify-self: end;
            width: 44px;
            height: 44px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0;
        }
        
        .ng-hamburger {
            display: block;
            width: 24px;
            height: 2px;
            background: #1a1a1a; /* Dark for light bg */
            position: relative;
        }
        
        .ng-hamburger::before,
        .ng-hamburger::after {
            content: '';
            position: absolute;
            width: 24px;
            height: 2px;
            background: #1a1a1a; /* Dark for light bg */
            left: 0;
        }
        .ng-hamburger::before { top: -8px; }
        .ng-hamburger::after { top: 8px; }
        
        /* Desktop Nav */
        .ng-nav { display: none; }
        
        /* Desktop CTA - Dark text for light bg */
        .ng-header-cta {
            display: none;
            align-items: center;
            gap: 1rem;
        }
        
        .ng-header-contact-group {
            display: flex;
            align-items: center;
            gap: 1.5rem;
            margin-right: 0.5rem;
        }

        .ng-header-contact-stack {
            display: flex;
            flex-direction: column;
            align-items: flex-end;
            gap: 0.2rem;
            text-align: right;
        }

        .ng-header-hours {
            margin: 0;
            font-size: 0.7rem;
            font-weight: 500;
            color: #64748b;
            line-height: 1.25;
            max-width: 14rem;
        }

        .ng-header-phone-alt {
            font-size: 0.85rem;
            font-weight: 600;
        }
        
        .ng-header-phone,
        .ng-header-email {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: #1a1a1a; /* Dark text */
            text-decoration: none;
            font-weight: 600;
            font-size: 0.95rem;
            transition: color 0.3s;
        }
        
        .ng-header-phone:hover,
        .ng-header-email:hover { 
            color: #2275bc; 
        }
        
        .ng-header-phone svg,
        .ng-header-email svg {
            width: 18px;
            height: 18px;
            stroke: #1a1a1a; /* Dark icons */
            transition: stroke 0.3s;
        }
        
        .ng-header-phone:hover svg,
        .ng-header-email:hover svg {
            stroke: #2275bc;
        }
        
        .ng-btn-devis {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            background: #2275bc;
            color: white;
            padding: 0.75rem 1.5rem;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9375rem;
            transition: all 0.3s;
            box-shadow: 0 4px 12px rgba(34, 117, 188, 0.3);
            white-space: nowrap;
            border: none;
        }
        
        .ng-btn-devis:hover {
            background: #1a5a94;
            color: #ffffff !important;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(34, 117, 188, 0.4);
        }
        
        /* Mobile Menu Panel - Light theme */
        .ng-mobile-menu {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: #f7f7f7; /* Light bg matching header */
            z-index: 999;
            transform: translateX(100%);
            transition: transform 0.3s ease;
            overflow-y: auto;
            padding: 80px 1.5rem 2rem;
        }
        
        .ng-mobile-hours {
            margin: 0.75rem 0 0;
            font-size: 0.8125rem;
            color: #64748b;
            line-height: 1.35;
        }

        .ng-mobile-phone-alt {
            margin-top: 0.5rem;
        }

        .ng-mobile-menu.active { transform: translateX(0); }
        
        /* Mobile Menu List - Dark text */
        .ng-mobile-nav-list {
            list-style: none !important;
            margin: 0;
            padding: 0;
        }
        
        .ng-mobile-nav-list li {
            list-style: none !important;
            margin: 0;
            padding: 0;
            border-bottom: 1px solid rgba(0,0,0,0.1); /* Dark border */
        }

        
        .ng-mobile-nav-list .menu-item-has-children {
            position: relative;
        }
        
        .ng-mobile-nav-list li a {
            display: flex;
            align-items: center;
            justify-content: space-between;
            color: #1a1a1a !important; /* Dark text */
            text-decoration: none;
            font-size: 1.4rem;
            font-weight: 600;
            padding: 1.25rem 0;
            transition: color 0.3s;
        }
        
        /* Submenu toggle button - Dark */
        .submenu-toggle {
            background: none;
            border: none;
            color: #1a1a1a; /* Dark */
            padding: 0.5rem;
            cursor: pointer;
            transition: transform 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .submenu-toggle svg {
            width: 24px;
            height: 24px;
            transition: transform 0.3s;
            stroke: #1a1a1a; /* Dark */
        }
        
        .submenu-toggle.active svg {
            transform: rotate(180deg);
        }
        
        /* Mobile Submenu - Light with subtle gray */
        .ng-mobile-nav-list .sub-menu {
            list-style: none !important;
            margin: 0;
            padding: 0;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
            background: rgba(0,0,0,0.03); /* Subtle dark bg */
            border-radius: 8px;
            margin-bottom: 0.5rem;
        }
        
        .ng-mobile-nav-list .sub-menu.active {
            max-height: 500px;
        }
        
        .ng-mobile-nav-list .sub-menu li {
            border-bottom: 1px solid rgba(0,0,0,0.05);
            padding-left: 1rem;
        }
        
        .ng-mobile-nav-list .sub-menu li:last-child {
            border-bottom: none;
        }
        
        .ng-mobile-nav-list .sub-menu li a {
            font-size: 1.1rem;
            font-weight: 400;
            padding: 1rem 0;
            color: #333 !important; /* Slightly lighter dark */
        }
        
        /* Mobile CTAs - Phone + Email */
        .ng-mobile-contact {
            margin-top: 2rem;
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        
        .ng-mobile-phone {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.75rem;
            padding: 1.25rem;
            background: #2275bc;
            color: white !important;
            text-align: center;
            border-radius: 12px;
            font-weight: 700;
            font-size: 1.25rem;
            text-decoration: none;
            box-shadow: 0 4px 15px rgba(34, 117, 188, 0.3);
        }
        
        .ng-mobile-email {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 0.5rem;
            padding: 1rem;
            background: rgba(0,0,0,0.05); /* Light dark bg */
            color: #1a1a1a !important; /* Dark text */
            text-align: center;
            border-radius: 12px;
            font-weight: 500;
            font-size: 1rem;
            text-decoration: none;
            border: 1px solid rgba(0,0,0,0.1);
        }
        
        /* Close button - Dark X */
        .ng-mobile-close {
            position: absolute;
            top: 20px;
            right: 20px;
            width: 44px;
            height: 44px;
            background: none;
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            z-index: 1001;
        }
        
        .ng-mobile-close::before,
        .ng-mobile-close::after {
            content: '';
            position: absolute;
            width: 24px;
            height: 2px;
            background: #1a1a1a; /* Dark X */
        }
        .ng-mobile-close::before { transform: rotate(45deg); }
        .ng-mobile-close::after { transform: rotate(-45deg); }
        
        /* Desktop styles — grille pleine largeur : logo | menu centré | CTA */
        @media (min-width: 768px) {
            .ng-header-mobile-call {
                display: none !important;
            }

            .ng-mobile-menu-btn { display: none; }
            .ng-mobile-menu { display: none !important; }

            .ng-header-inner {
                display: grid;
                grid-template-columns: auto 1fr auto;
                align-items: center;
                gap: 1rem 1.5rem;
                width: 100%;
                max-width: 100%;
            }

            .ng-logo {
                justify-self: start;
            }
            
            .ng-nav {
                display: flex;
                grid-column: 2;
                justify-self: stretch;
                justify-content: center;
                align-items: center;
                width: 100%;
                min-width: 0;
            }
            
            .ng-nav-list {
                display: flex;
                gap: 2.5rem;
                list-style: none;
                margin: 0;
                padding: 0;
                align-items: center;
            }
            
            .ng-nav-list li {
                position: relative;
            }
            
            .ng-nav-list li a {
                color: #1a1a1a !important; /* Dark text for light bg */
                text-decoration: none;
                font-weight: 500;
                font-size: 1rem;
                font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
                padding: 0.5rem 0;
                transition: color 0.3s;
                display: flex;
                align-items: center;
                gap: 0.5rem;
            }
            
            /* Dropdown arrow for desktop - Dark */
            .ng-nav-list .menu-item-has-children > a::after {
                content: '';
                width: 0;
                height: 0;
                border-left: 5px solid transparent;
                border-right: 5px solid transparent;
                border-top: 5px solid #1a1a1a; /* Dark arrow */
                transition: transform 0.3s;
            }
            
            .ng-nav-list .menu-item-has-children:hover > a::after {
                transform: rotate(180deg);
                border-top-color: #2275bc;
            }
            
            .ng-nav-list li a:hover { 
                color: #2275bc !important; 
            }

            .ng-nav-list > li.current-menu-item > a,
            .ng-nav-list > li.current_page_item > a,
            .ng-nav-list > li.current-menu-ancestor > a,
            .ng-nav-list > li.current-page-ancestor > a {
                color: #2275bc !important;
                font-weight: 700;
            }

            /* Desktop Submenu - White bg with shadow for light theme */
            .ng-nav-list .sub-menu {
                position: absolute;
                top: 100%;
                left: 50%;
                transform: translateX(-50%) translateY(10px);
                background: #ffffff; /* White dropdown */
                border: 1px solid rgba(0,0,0,0.1);
                border-radius: 12px;
                padding: 0.75rem 0;
                min-width: 220px;
                list-style: none !important;
                opacity: 0;
                visibility: hidden;
                transition: all 0.3s ease;
                box-shadow: 0 10px 40px rgba(0,0,0,0.15);
                margin-top: 1rem;
            }
            
            /* Arrow pointing up - White matching dropdown */
            .ng-nav-list .sub-menu::before {
                content: '';
                position: absolute;
                top: -6px;
                left: 50%;
                transform: translateX(-50%);
                width: 0;
                height: 0;
                border-left: 6px solid transparent;
                border-right: 6px solid transparent;
                border-bottom: 6px solid #ffffff;
            }
            
            .ng-nav-list li:hover > .sub-menu {
                opacity: 1;
                visibility: visible;
                transform: translateX(-50%) translateY(0);
            }
            
            .ng-nav-list .sub-menu li {
                margin: 0;
                padding: 0;
                border-bottom: 1px solid rgba(0,0,0,0.05);
            }
            
            .ng-nav-list .sub-menu li:last-child {
                border-bottom: none;
            }
            
            .ng-nav-list .sub-menu li a {
                padding: 0.75rem 1.5rem;
                font-size: 0.95rem;
                white-space: nowrap;
                display: block;
                color: #333 !important; /* Dark text in dropdown */
            }
            
            .ng-nav-list .sub-menu li a:hover {
                background: rgba(34, 117, 188, 0.1);
                color: #2275bc !important;
            }

            .ng-header-cta {
                display: flex;
                grid-column: 3;
                justify-self: end;
            }
        }
        
        @media (max-width: 767px) {
            .ng-header-inner {
                height: 72px;
                padding: 0.75rem 1rem;
            }
            
            .ng-logo img {
                height: 42px;
            }

            .ng-header-mobile-call {
                padding: 0.3rem 0.5rem;
                min-height: 40px;
                font-size: clamp(0.65rem, 3.5vw, 0.8rem);
            }

            .ng-header-mobile-call [data-lucide] {
                width: 16px;
                height: 16px;
            }
        }


