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

        :root {
            --primary: #6366F1;
            --primary-dark: #4F46E5;
            --secondary: #10B981;
            --accent: #8B5CF6;
            --success: #10B981;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            background: #000000;
            color: #ffffff;
            overflow-x: hidden;
        }

        /* Utility Classes */
        .text-white-88 { color: rgba(255, 255, 255, 0.88); }
        .text-white-65 { color: rgba(255, 255, 255, 0.65); }
        .text-white-33 { color: rgba(255, 255, 255, 0.33); }
        .bg-white-10 { background: rgba(255, 255, 255, 0.1); }
        .border-white-33 { border-color: rgba(255, 255, 255, 0.33); }
        .border-white-10 { border-color: rgba(255, 255, 255, 0.1); }

        .h1 {
            font-size: clamp(2.5rem, 5vw, 4rem);
            font-weight: 800;
            line-height: 1.1;
            letter-spacing: -0.02em;
        }

        .h2 {
            font-size: clamp(1.75rem, 3vw, 2.5rem);
            font-weight: 700;
            line-height: 1.2;
        }

        .h2-light {
            font-size: clamp(1.125rem, 2vw, 1.5rem);
            font-weight: 400;
            line-height: 1.5;
        }

        .h2-semibold {
            font-size: clamp(1.5rem, 2.5vw, 2rem);
            font-weight: 600;
            line-height: 1.3;
        }

        .h3 {
            font-size: 1.25rem;
            font-weight: 600;
        }

        .h4 {
            font-size: 1rem;
            font-weight: 500;
        }

        .p {
            font-size: 1rem;
            line-height: 1.6;
        }

        .grid-sm,
        .grid-md,
        .grid-lg {
            max-width: 1280px;
            margin: 0 auto;
            padding: 5rem 2rem;
        }

        /* Header */
        header {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 9999;
            padding: 12px 0;
            background: rgba(0, 0, 0, 0.9);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .nav-container {
            max-width: 1480px;
            margin: 0 auto;
            padding: 0 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            text-decoration: none;
            color: white;
            font-size: 1.5rem;
            font-weight: 800;
            z-index: 10;
        }

        .logo-icon {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
        }

        /* Hamburger */
        .hamburger {
            display: flex;
            flex-direction: column;
            gap: 6px;
            cursor: pointer;
            z-index: 10;
        }

        .hamburger span {
            width: 24px;
            height: 2px;
            background: rgba(255, 255, 255, 0.88);
            transition: all 0.3s;
        }

        .hamburger.active span:first-child {
            transform: rotate(45deg) translate(5px, 5px);
        }

        .hamburger.active span:last-child {
            transform: rotate(-45deg) translate(5px, -5px);
        }

        @media (min-width: 1024px) {
            .hamburger {
                display: none;
            }
        }

        /* Desktop Nav */
        .nav-menu {
            display: none;
        }

        @media (min-width: 1024px) {
            .nav-menu {
                display: flex;
                flex: 1;
                justify-content: center;
            }
        }

        .nav-menu-inner {
            display: flex;
            align-items: center;
            gap: 1.5rem;
            padding: 0.75rem 1.5rem;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.33);
            border-radius: 50px;
        }

        .nav-item {
            position: relative;
        }

        .nav-link {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            color: rgba(255, 255, 255, 0.88);
            text-decoration: none;
            font-weight: 600;
            font-size: 0.95rem;
            transition: color 0.3s;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0.5rem 1rem;
        }

        .nav-link:hover {
            color: white;
        }

        .nav-link svg {
            width: 10px;
            height: 5px;
            color: rgba(255, 255, 255, 0.88);
        }

        .nav-link-simple {
            padding: 0.5rem 1rem;
        }

        /* Mega Menu */
        .mega-menu {
            position: absolute;
            top: calc(100% + 1.5rem);
            left: 50%;
            transform: translateX(-50%);
            min-width: 800px;
            background: #000;
            border: 1px solid rgba(255, 255, 255, 0.33);
            border-radius: 24px;
            padding: 1.5rem;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s, visibility 0.3s;
            z-index: 1000;
        }

        .nav-item:hover .mega-menu {
            opacity: 1;
            visibility: visible;
        }

        .mega-menu-content {
            display: grid;
            grid-template-columns: 2fr 1fr;
            gap: 2rem;
        }

        .mega-title {
            font-size: 1rem;
            font-weight: 700;
            color: rgba(255, 255, 255, 0.88);
            margin-bottom: 1rem;
            padding: 0 1rem;
        }

        .mega-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 0.5rem;
        }

        .mega-item {
            display: flex;
            gap: 0.75rem;
            padding: 1rem;
            text-decoration: none;
            color: white;
            border-radius: 12px;
            transition: all 0.3s;
            border: 1px solid transparent;
        }

        .mega-item:hover {
            background: rgba(255, 255, 255, 0.1);
            border-color: rgba(255, 255, 255, 0.33);
        }

        .mega-icon {
            font-size: 1.5rem;
            flex-shrink: 0;
        }

        .mega-item-title {
            font-size: 1rem;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.88);
            margin-bottom: 0.25rem;
        }

        .mega-item-desc {
            font-size: 0.875rem;
            color: rgba(255, 255, 255, 0.65);
            line-height: 1.4;
        }

        .mega-menu-sidebar {
            border-left: 1px solid rgba(255, 255, 255, 0.33);
            padding-left: 1.5rem;
        }

        .mega-links {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            padding: 0 1rem;
        }

        .mega-links a {
            color: rgba(255, 255, 255, 0.88);
            text-decoration: none;
            font-size: 0.95rem;
            transition: color 0.3s;
        }

        .mega-links a:hover {
            color: white;
            text-decoration: underline;
        }

        /* Solutions Mega Menu */
        .mega-menu-solutions {
            min-width: 700px;
        }

        .solutions-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 2rem;
        }

        .mega-links-grid {
            display: flex;
            flex-direction: column;
            gap: 0.75rem;
            padding: 0 1rem;
        }

        .mega-links-grid a {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            color: rgba(255, 255, 255, 0.88);
            text-decoration: none;
            padding: 0.75rem;
            border-radius: 8px;
            transition: all 0.3s;
        }

        .mega-links-grid a:hover {
            background: rgba(255, 255, 255, 0.1);
        }

        .link-icon {
            font-size: 1.25rem;
        }

        .mega-menu-featured img {
            width: 100%;
            border-radius: 12px;
            margin-bottom: 0.75rem;
        }

        .featured-title {
            font-size: 0.95rem;
            font-weight: 600;
            color: rgba(255, 255, 255, 0.88);
            line-height: 1.4;
        }

        /* Resources Mega Menu */
        .mega-menu-resources {
            min-width: 700px;
        }

        .mega-menu-resources .mega-menu-content {
            grid-template-columns: repeat(3, 1fr);
        }

        .mega-menu-third {
            padding: 0;
        }

        .mega-menu-card {
            border: 1px solid rgba(255, 255, 255, 0.33);
            border-radius: 12px;
            padding: 1.5rem;
            transition: all 0.3s;
            cursor: pointer;
        }

        .mega-menu-card:hover {
            background: rgba(255, 255, 255, 0.05);
        }

        .mega-icon-lg {
            font-size: 2.5rem;
            margin-bottom: 1rem;
        }

        .mega-card-title {
            font-size: 1rem;
            font-weight: 700;
            color: rgba(255, 255, 255, 0.88);
            margin-bottom: 0.5rem;
        }

        .mega-card-desc {
            font-size: 0.875rem;
            color: rgba(255, 255, 255, 0.65);
            line-height: 1.4;
        }

        .nav-ctas {
            display: none;
            gap: 1.5rem;
            align-items: center;
        }

        @media (min-width: 1024px) {
            .nav-ctas {
                display: flex;
            }
        }

        .button-sm,
        .button-lg {
            padding: 0.75rem 1.75rem;
            border-radius: 8px;
            font-weight: 700;
            text-decoration: none;
            border: none;
            cursor: pointer;
            transition: all 0.3s;
            display: inline-block;
            font-size: 1rem;
        }

        .button-lg {
            padding: 1rem 2rem;
            font-size: 1.125rem;
        }

        .button-sm {
            background: var(--primary);
            color: white;
        }

        .button-sm:hover,
        .button-lg:hover {
            background: var(--primary-dark);
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(99, 102, 241, 0.4);
        }

        .button-lg {
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            color: white;
        }

        /* Mobile Menu */
        .mobile-menu {
            display: none;
            position: fixed;
            top: 72px;
            left: 0;
            right: 0;
            bottom: 0;
            background: #000;
            z-index: 9998;
            overflow-y: auto;
        }

        .mobile-menu.active {
            display: block;
        }

        .mobile-menu-content {
            padding: 2rem;
        }

        .mobile-section {
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            padding: 1.5rem 0;
        }

        .mobile-toggle {
            width: 100%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            background: none;
            border: none;
            color: rgba(255, 255, 255, 0.88);
            font-size: 1.25rem;
            font-weight: 700;
            cursor: pointer;
            padding: 0;
        }

        .mobile-toggle svg {
            transition: transform 0.3s;
        }

        .mobile-toggle.active svg {
            transform: rotate(180deg);
        }

        .mobile-dropdown {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s;
            padding-top: 0;
        }

        .mobile-dropdown.active {
            max-height: 500px;
            padding-top: 1rem;
        }

        .mobile-dropdown a {
            display: block;
            color: rgba(255, 255, 255, 0.88);
            text-decoration: none;
            padding: 0.75rem 0;
            font-size: 1rem;
        }

        .mobile-link {
            display: block;
            color: rgba(255, 255, 255, 0.88);
            text-decoration: none;
            padding: 1.5rem 0;
            font-size: 1.25rem;
            font-weight: 700;
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        }

        .mobile-ctas {
            padding: 2rem 0;
        }

        /* Hero */
        .hero {
            margin-top: 120px;
            text-align: center;
            padding: 4rem 2rem;
        }

        .hero h1 {
            max-width: 960px;
            margin: 0 auto 1rem;
            background: linear-gradient(135deg, #fff 0%, rgba(255,255,255,0.7) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .hero .h2-light {
            max-width: 600px;
            margin: 0 auto 3rem;
        }

        .hero-image {
            max-width: 1280px;
            margin: 4rem auto 0;
            position: relative;
        }

        .hero-image img {
            width: 100%;
            height: auto;
            border-radius: 12px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            box-shadow: 0 20px 60px rgba(99, 102, 241, 0.3);
        }

        /* Logos */
        .logos-section {
            padding: 3rem 2rem;
        }

        .logos-section h2 {
            text-align: center;
            margin-bottom: 2rem;
        }

        .logos-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 2rem;
            max-width: 1280px;
            margin: 0 auto;
        }

        @media (min-width: 768px) {
            .logos-grid {
                grid-template-columns: repeat(6, 1fr);
            }
        }

        .logos-grid img {
            width: 100%;
            height: auto;
            opacity: 0.4;
            filter: grayscale(100%);
        }

        /* Tabs */
        .tabs-container {
            padding: 5rem 2rem;
        }

        .tab-buttons {
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            justify-content: center;
            padding: 0.75rem 1.5rem;
            background: rgba(255, 255, 255, 0.1);
            border: 1px solid rgba(255, 255, 255, 0.33);
            border-radius: 50px;
            margin: 0 auto 4rem;
            max-width: fit-content;
        }

        .tab-button {
            padding: 0.75rem 2rem;
            background: transparent;
            border: none;
            border-radius: 12px;
            color: rgba(255, 255, 255, 0.65);
            font-weight: 600;
            font-size: 1.125rem;
            cursor: pointer;
            transition: all 0.3s;
        }

        .tab-button.active {
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            color: white;
        }

        .tab-content {
            display: none;
            max-width: 1280px;
            margin: 0 auto;
        }

        .tab-content.active {
            display: grid;
            grid-template-columns: 1fr;
            gap: 3rem;
            align-items: center;
        }

        @media (min-width: 1024px) {
            .tab-content.active {
                grid-template-columns: 1fr 1fr;
            }
        }

        .tab-text h3 {
            margin-bottom: 1.5rem;
        }

        .tab-text ul {
            list-style: none;
            margin-top: 1.5rem;
        }

        .tab-text li {
            padding: 0.5rem 0;
            padding-left: 1.5rem;
            position: relative;
        }

        .tab-text li::before {
            content: "✓";
            position: absolute;
            left: 0;
            color: var(--success);
            font-weight: 700;
        }

        .tab-image img {
            width: 100%;
            height: auto;
            border-radius: 12px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            border: 1px solid rgba(255, 255, 255, 0.1);
        }

        /* Features Grid */
        .features-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 3rem;
            max-width: 1280px;
            margin: 3rem auto 0;
        }

        @media (min-width: 768px) {
            .features-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (min-width: 1024px) {
            .features-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        .feature-card {
            text-align: left;
            padding: 2rem;
            border-radius: 20px;
            border: 1px solid rgba(255, 255, 255, 0.1);
            background: rgba(255, 255, 255, 0.05);
            transition: all 0.3s;
        }

        .feature-card:hover {
            border-color: var(--primary);
            background: rgba(99, 102, 241, 0.1);
            transform: translateY(-5px);
        }

        .feature-card .icon-lg {
            width: 60px;
            height: 60px;
            margin-bottom: 1rem;
            background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
        }

        .feature-card h3 {
            margin-bottom: 0.75rem;
        }

        /* Testimonials */
        .testimonials {
            padding: 5rem 2rem;
            position: relative;
        }

        .glide {
            position: relative;
        }

        .testimonial-card {
            height: 300px;
            border: 1px solid rgba(255, 255, 255, 0.33);
            background: rgba(255, 255, 255, 0.1);
            border-radius: 20px;
            padding: 3rem 2rem;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            position: relative;
            overflow: hidden;
        }

        .testimonial-card::before {
            content: '';
            position: absolute;
            top: -90px;
            right: -250px;
            width: 704px;
            height: 729px;
            background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
            pointer-events: none;
        }

        /* FAQ */
        .faq-section {
            padding: 5rem 2rem;
        }

        .faq-item {
            border-bottom: 1px solid rgba(255, 255, 255, 0.1);
            padding: 2rem 0;
            cursor: pointer;
        }

        .faq-question {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            gap: 2rem;
        }

        .faq-toggle {
            width: 24px;
            height: 24px;
            position: relative;
            flex-shrink: 0;
        }

        .faq-toggle span {
            position: absolute;
            background: rgba(255, 255, 255, 0.65);
            transition: transform 0.3s;
        }

        .faq-toggle .horizontal {
            width: 16px;
            height: 2px;
            top: 11px;
            left: 4px;
        }

        .faq-toggle .vertical {
            width: 2px;
            height: 16px;
            top: 4px;
            left: 11px;
        }

        .faq-item.open .faq-toggle .vertical {
            transform: rotate(90deg);
        }

        .faq-answer {
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s;
            padding-top: 0;
        }

        .faq-item.open .faq-answer {
            max-height: 500px;
            padding-top: 1rem;
        }

        /* CTA Final */
        .final-cta {
            padding: 5rem 2rem;
        }

        .cta-box {
            border: 1px solid rgba(255, 255, 255, 0.33);
            background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
            border-radius: 24px;
            padding: 5rem 2rem;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .cta-box::before {
            content: '';
            position: absolute;
            top: -60%;
            right: -200px;
            width: 704px;
            height: 729px;
            background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
            pointer-events: none;
        }

        .cta-box h2 {
            max-width: 960px;
            margin: 0 auto 1rem;
            position: relative;
            z-index: 1;
        }

        .cta-box p {
            max-width: 750px;
            margin: 0 auto 3rem;
            position: relative;
            z-index: 1;
        }

        /* Footer */
        footer {
            padding: 4rem 2rem 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
        }

        .footer-grid {
            max-width: 1280px;
            margin: 0 auto;
            display: grid;
            grid-template-columns: 1fr;
            gap: 3rem;
        }

        @media (min-width: 768px) {
            .footer-grid {
                grid-template-columns: 2fr 1fr 1fr 1fr;
            }
        }

        .footer-column h4 {
            font-size: 0.875rem;
            font-weight: 700;
            text-transform: uppercase;
            margin-bottom: 1rem;
            letter-spacing: 0.05em;
        }

        .footer-column ul {
            list-style: none;
        }

        .footer-column ul li {
            margin-bottom: 0.75rem;
        }

        .footer-column a {
            color: rgba(255, 255, 255, 0.88);
            text-decoration: none;
            font-size: 0.875rem;
            transition: color 0.3s;
        }

        .footer-column a:hover {
            color: white;
            text-decoration: underline;
        }

        .footer-bottom {
            max-width: 1280px;
            margin: 3rem auto 0;
            padding-top: 2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            display: flex;
            flex-wrap: wrap;
            gap: 1rem;
            font-size: 0.875rem;
            color: rgba(255, 255, 255, 0.65);
        }

        .footer-bottom a {
            color: rgba(255, 255, 255, 0.88);
            text-decoration: none;
        }

        .footer-bottom a:hover {
            text-decoration: underline;
        }

/* ===== Fix: disable sticky/fixed behavior on top menu ===== */
header, .site-header, .nav-container, .nav-menu, .nav-bar, .topbar {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
}

/* Ensure body doesn't reserve space for a sticky header */
body { padding-top: 0 !important; }

/* Keep dropdowns working with local positioning */
.mega-menu { position: absolute; z-index: 999; }
.nav-item { position: relative; }

/* Mobile menu overlay remains fixed for full-screen behavior */
.mobile-menu { position: fixed; inset: 0; display: none; }
.mobile-menu.active { display: block; }



/* ==============================
   OPTIMSEO • Header/Nav (Elementor) — style aligné sur le HTML d'origine
   ============================== */
.elementor-location-header {
  --primary: #6366F1;
  --nav-bg: rgba(10,11,20,.85);
  --nav-fg: rgba(255,255,255,.88);
  --nav-muted: rgba(255,255,255,.65);
}

.elementor-location-header .elementor-section {
  backdrop-filter: saturate(140%) blur(6px);
  background: linear-gradient(180deg, var(--nav-bg), rgba(10,11,20,.55) 40%, rgba(10,11,20,0) 100%);
}

.elementor-location-header .elementor-container {
  max-width: 1200px;
}

.elementor-location-header .elementor-nav-menu--main .elementor-item,
.elementor-location-header .elementor-nav-menu a.elementor-item {
  position: relative;
  color: var(--nav-fg);
  font-weight: 600;
  padding: 12px 14px;
  border-radius: 12px;
  letter-spacing: .2px;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.elementor-location-header .elementor-nav-menu--main .elementor-item:hover,
.elementor-location-header .elementor-nav-menu a.elementor-item:hover,
.elementor-location-header .elementor-nav-menu--main .elementor-item.highlighted {
  color: #fff;
  background: rgba(255,255,255,.06);
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset;
}

.elementor-location-header .elementor-nav-menu--main .elementor-item::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 8px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}
.elementor-location-header .elementor-nav-menu--main .elementor-item:hover::after {
  transform: scaleX(1);
}

/* Dropdown / Mega wrappers */
.elementor-location-header .elementor-nav-menu--dropdown,
.elementor-location-header .e-n-menu .e-con {
  background: rgba(16,17,30,.98);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
  border-radius: 20px;
  padding: 22px;
  min-width: 900px;
}

.elementor-location-header .elementor-nav-menu--dropdown a,
.elementor-location-header .elementor-sub-item {
  color: var(--nav-fg);
  border-radius: 10px;
  padding: 10px 12px;
}
.elementor-location-header .elementor-sub-item:hover {
  background: rgba(255,255,255,.06);
  color: #fff;
}

/* CTA buttons on the right */
.elementor-location-header .elementor-widget-button .elementor-button {
  padding: 10px 14px;
  border-radius: 12px;
  line-height: 1.1;
}
.elementor-location-header #cta-secondary .elementor-button {
  background: transparent;
  color: var(--nav-fg);
  border: 1px solid rgba(255,255,255,.12);
}
.elementor-location-header #cta-secondary .elementor-button:hover {
  background: rgba(255,255,255,.06);
  color: #fff;
}
.elementor-location-header #cta-primary .elementor-button {
  background: var(--primary);
  color: #fff;
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 12px 30px rgba(99,102,241,.35);
}
.elementor-location-header #cta-primary .elementor-button:hover {
  filter: brightness(1.05);
}

/* Mobile tweaks */
@media (max-width: 1024px) {
  .elementor-location-header .elementor-nav-menu--dropdown,
  .elementor-location-header .e-n-menu .e-con {
    min-width: 0;
    width: min(92vw, 520px);
    padding: 16px;
    border-radius: 16px;
  }
}



/* ===== Manual Mega Menu (Elementor Free compatible) ===== */
.optim-mega-header { position: relative; z-index: 50; }
.optim-mega-header .elementor-widget-button + .elementor-widget-button { margin-left: 8px; }

.mega-panel {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 100%;
  display: none;
  width: min(1100px, 92vw);
  background: rgba(16,17,30,.98);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,.45);
}

.optim-mega-header.show-mega-produit #mega-produit,
.optim-mega-header.show-mega-solutions #mega-solutions,
.optim-mega-header.show-mega-ressources #mega-ressources {
  display: block;
}

#cta-primary .elementor-button { background:#6366F1; color:#fff; border-radius:12px; }
#cta-secondary .elementor-button { background:transparent; color:rgba(255,255,255,.88); border:1px solid rgba(255,255,255,.12); border-radius:12px; }



/* =====================================================
   PIXEL-FIT styles for OptimSEO manual mega header
   (closer to original HTML look)
   ===================================================== */
:root {
  --optim-primary: #6366F1;
  --optim-bg: #0A0B14;
  --optim-fg: rgba(255,255,255,.88);
  --optim-fg-muted: rgba(255,255,255,.65);
  --optim-border: rgba(255,255,255,.10);
}

.optim-mega-header.elementor-section {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(10,11,20,.85), rgba(10,11,20,.55) 40%, rgba(10,11,20,0) 100%);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.optim-mega-header .elementor-container { max-width: 1200px; }

/* Center buttons like nav links */
.optim-mega-header .elementor-widget-button .elementor-button {
  --pad-y: 10px;
  --pad-x: 14px;
  padding: var(--pad-y) var(--pad-x);
  background: transparent;
  color: var(--optim-fg);
  border-radius: 12px;
  border: 0;
  font-weight: 600;
  letter-spacing: .2px;
  position: relative;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease, transform .15s ease;
}
.optim-mega-header .elementor-widget-button .elementor-button:hover {
  color: #fff;
  background: rgba(255,255,255,.06);
  box-shadow: 0 0 0 1px rgba(255,255,255,.06) inset;
}
/* underline glow on hover */
.optim-mega-header .elementor-widget-button .elementor-button::after {
  content: "";
  position: absolute;
  left: 12px; right: 12px; bottom: 6px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--optim-primary), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
}
.optim-mega-header .elementor-widget-button .elementor-button:hover::after {
  transform: scaleX(1);
}

/* CTA primary / secondary */
#cta-primary .elementor-button {
  background: var(--optim-primary) !important;
  color: #fff !important;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(99,102,241,.35);
}
#cta-secondary .elementor-button {
  border: 1px solid rgba(255,255,255,.12);
  color: var(--optim-fg);
}
#cta-secondary .elementor-button:hover {
  background: rgba(255,255,255,.06);
  color: #fff;
}

/* Mega panel container */
.mega-panel.elementor-section {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(100% - 2px);
  width: min(1120px, 92vw);
  display: none;
  background: rgba(16,17,30,.98);
  border: 1px solid var(--optim-border);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,.55);
  padding: 22px 22px 20px;
}

/* open states */
.optim-mega-header.show-mega-produit #mega-produit,
.optim-mega-header.show-mega-solutions #mega-solutions,
.optim-mega-header.show-mega-ressources #mega-ressources { display: block; }

/* inner content tones */
.mega-panel h5, .mega-panel h6, .mega-panel .elementor-heading-title {
  color: #fff;
  margin: 6px 0 12px;
}
.mega-panel .elementor-widget-icon-box .elementor-icon-box-title,
.mega-panel .elementor-widget-heading .elementor-heading-title { font-weight: 700; }

.mega-panel .elementor-icon-list-text,
.mega-panel .elementor-icon-box-description,
.mega-panel p,
.mega-panel li { color: var(--optim-fg); }

.mega-panel .elementor-widget-icon-box { margin: 6px 0; }
.mega-panel .elementor-icon-box-title { margin-bottom: 4px; }
.mega-panel .elementor-icon-box-description { color: var(--optim-fg-muted); }

/* hover rows in lists */
.mega-panel .elementor-icon-list-item { border-radius: 10px; }
.mega-panel .elementor-icon-list-item:hover {
  background: rgba(255,255,255,.06);
  color: #fff;
}

/* spacing columns like original */
#mega-produit .elementor-column:nth-child(1) { padding-right: 18px; }
#mega-produit .elementor-column:nth-child(2) { padding: 0 12px; }
#mega-produit .elementor-column:nth-child(3) { padding-left: 18px; }

/* ensure header overlays content correctly */
.site-main { position: relative; z-index: 1; }

/* Mobile */
@media (max-width: 1024px) {
  .mega-panel.elementor-section {
    width: min(94vw, 520px);
    left: 50%; transform: translateX(-50%);
    border-radius: 16px;
    padding: 16px;
  }
}

