/* ===========================================
   HEMERA COURTAGE - Premium Apple-Style Design
   =========================================== */

/* CSS Variables */
:root {
    /* Colors - Original Hemera palette modernized */
    --primary: #0B3772;
    --primary-light: #1a4a8a;
    --primary-dark: #082952;
    --accent: #3B7DD8;
    --accent-hover: #2d6bc4;

    /* Neutral Colors - Apple inspired */
    --black: #1D1D1F;
    --grey-dark: #4A4A4F;
    --grey: #86868B;
    --grey-medium: #D2D2D7;
    --grey-light: #F5F5F7;
    --grey-ultra-light: #FAFAFA;
    --white: #FFFFFF;
    --border: rgba(0, 0, 0, 0.08);

    /* Semantic Colors */
    --success: #34C759;
    --warning: #FF9500;
    --error: #FF3B30;

    /* Logo Yellow */
    --yellow: #E6B800;
    --yellow-electric: #ecc440;

    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    --font-logo: 'Cinzel', 'Times New Roman', Georgia, serif;

    /* Spacing */
    --section-padding: 140px;
    --section-padding-tablet: 100px;
    --section-padding-mobile: 80px;

    /* Premium Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
    --ease-in-out-circ: cubic-bezier(0.85, 0, 0.15, 1);
    --spring: cubic-bezier(0.34, 1.56, 0.64, 1);

    --transition-fast: 0.15s var(--ease-out-expo);
    --transition: 0.3s var(--ease-out-expo);
    --transition-slow: 0.4s var(--ease-out-expo);
    --transition-slower: 0.6s var(--ease-out-quint);

    /* Shadows - Apple style layered shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04), 0 1px 2px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06), 0 2px 4px rgba(0, 0, 0, 0.04);
    --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.08), 0 4px 12px rgba(0, 0, 0, 0.04);
    --shadow-xl: 0 24px 80px rgba(0, 0, 0, 0.12), 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-2xl: 0 40px 120px rgba(0, 0, 0, 0.16), 0 16px 40px rgba(0, 0, 0, 0.08);
    --shadow-glow: 0 0 60px rgba(11, 55, 114, 0.15);

    /* Border Radius - Corporate style */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 10px;

    /* Blur */
    --blur-sm: 8px;
    --blur-md: 20px;
    --blur-lg: 40px;
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-family);
    font-size: 17px;
    line-height: 1.6;
    color: var(--black);
    background: var(--white);
    overflow-x: hidden;
}

/* Selection */
::selection {
    background: var(--primary);
    color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul, ol {
    list-style: none;
}

/* Focus styles for accessibility */
:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

/* ===========================================
   TYPOGRAPHY - Enhanced Readability
   =========================================== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--black);
}

h1 {
    font-size: clamp(40px, 6vw, 68px);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

h2 {
    font-size: clamp(36px, 5vw, 56px);
    line-height: 1.1;
}

h3 {
    font-size: clamp(26px, 3vw, 40px);
}

h4 {
    font-size: clamp(20px, 2vw, 28px);
}

h5 {
    font-size: clamp(18px, 1.5vw, 22px);
}

p {
    color: var(--grey-dark);
    line-height: 1.7;
    font-size: 18px;
}

.text-large {
    font-size: 22px;
    line-height: 1.6;
    color: var(--grey-dark);
}

.text-small {
    font-size: 15px;
}

.text-center {
    text-align: center;
}

/* Animated gradient text */
.text-gradient {
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--accent) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    /* Animation removed for corporate style */
}

/* Highlighted text */
.text-highlight {
    position: relative;
    display: inline;
}

.text-highlight::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0.1em;
    width: 100%;
    height: 0.3em;
    background: linear-gradient(135deg, rgba(11, 55, 114, 0.15) 0%, rgba(37, 99, 235, 0.1) 100%);
    border-radius: 4px;
    z-index: -1;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.6s var(--ease-out-expo);
}

.text-highlight.visible::after {
    transform: scaleX(1);
}

/* ===========================================
   LAYOUT
   =========================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    overflow: visible;
}

.container-narrow {
    max-width: 800px;
}

.container-wide {
    max-width: 1440px;
}

/* Section */
.section {
    padding: var(--section-padding) 0;
    position: relative;
    overflow: visible;
}

.section-grey {
    background: var(--grey-light);
}

.section-dark {
    background: linear-gradient(180deg, var(--black) 0%, #0a0a0a 100%);
}

/* ===========================================
   GRADIENT BACKGROUNDS - Charte graphique
   =========================================== */

/* Hero gradient - subtle blue tones */
.section-gradient-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(11, 55, 114, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(59, 125, 216, 0.02) 0%, transparent 50%),
        linear-gradient(180deg, #F9FAFB 0%, #FFFFFF 50%, #F7F7F8 100%);
}

.section-gradient-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-image: url('../hero-image.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
    z-index: 0;
    pointer-events: none;
}

.section-gradient-hero .container {
    position: relative;
    z-index: 1;
}

/* Hero pour pages internes (Services, Contact, etc.) */
.hero-page {
    padding-top: 160px;
    padding-bottom: 80px;
}

.hero-page .hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    margin-bottom: 24px;
}

.hero-page .hero-description {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    max-width: 700px;
    margin: 0 auto;
}

/* Hero CTA Group */
.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    margin-top: 32px;
}

.hero-cta-group .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.hero-cta-group .btn svg {
    flex-shrink: 0;
}

/* Button outline style */
.btn-outline {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: white;
}

.btn-outline svg {
    stroke: currentColor;
}

@media (max-width: 768px) {
    .hero-cta-group {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-cta-group .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-cta-group .btn {
        max-width: 100%;
        padding: 14px 20px;
        font-size: 15px;
    }
}

/* Light gradient - alternating sections */
.section-gradient-light {
    background:
        radial-gradient(ellipse 100% 80% at 20% 100%, rgba(11, 55, 114, 0.02) 0%, transparent 50%),
        radial-gradient(ellipse 60% 60% at 80% 0%, rgba(59, 125, 216, 0.015) 0%, transparent 50%),
        linear-gradient(180deg, #FAFAFA 0%, #F7F7F8 100%);
}

/* White gradient with subtle accents */
.section-gradient-white {
    background:
        radial-gradient(ellipse 80% 60% at 100% 50%, rgba(11, 55, 114, 0.02) 0%, transparent 50%),
        radial-gradient(ellipse 60% 80% at 0% 50%, rgba(37, 99, 235, 0.02) 0%, transparent 50%),
        linear-gradient(180deg, #FFFFFF 0%, #FAFAFA 100%);
}

/* Dark gradient - premium feel */
.section-gradient-dark {
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(59, 125, 216, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse 60% 60% at 100% 100%, rgba(37, 99, 235, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse 70% 70% at 0% 50%, rgba(11, 55, 114, 0.25) 0%, transparent 50%),
        linear-gradient(180deg, #0B3772 0%, #1e4a8f 50%, #0B3772 100%);
}

/* Footer gradient */
.section-gradient-footer {
    background:
        radial-gradient(ellipse 100% 100% at 0% 0%, rgba(11, 55, 114, 0.03) 0%, transparent 50%),
        linear-gradient(180deg, #F5F5F7 0%, #EBEBED 100%);
}

.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4,
.section-dark p {
    color: var(--white);
}

.section-dark .stat-label {
    color: var(--grey);
}

.section-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

/* Espacement entre titre et grilles de cards */
.features-grid,
.process-grid,
.services-grid,
.services-grid-new,
.step-grid,
.benefit-grid,
.testimonial-grid,
.stats-grid {
    margin-top: 48px;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 18px;
    background: rgba(11, 55, 114, 0.06);
    border: 1px solid rgba(11, 55, 114, 0.1);
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 24px;
    transition: all 0.3s var(--ease-out-expo);
}

.section-label:hover {
    background: rgba(11, 55, 114, 0.09);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(11, 55, 114, 0.06);
}

.section-title {
    margin-bottom: 28px;
}

.section-subtitle {
    font-size: 20px;
    color: var(--grey-dark);
    max-width: 720px;
    margin: 0 auto;
    line-height: 1.65;
}

/* ===========================================
   BUTTONS - Premium feel
   =========================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-family: var(--font-family);
    font-size: 17px;
    font-weight: 500;
    border: none;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.btn:hover::before {
    opacity: 1;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(11, 55, 114, 0.15);
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 4px 16px rgba(11, 55, 114, 0.2);
}

.btn-primary:active {
    transform: translateY(0) scale(0.99);
}

.btn-accent {
    background: var(--accent);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(59, 125, 216, 0.15);
}

.btn-accent:hover {
    background: var(--accent-hover);
    transform: translateY(-1px) scale(1.01);
    box-shadow: 0 4px 16px rgba(59, 125, 216, 0.2);
}

.btn-white {
    background: var(--white);
    color: var(--primary);
    box-shadow: var(--shadow-sm);
}

.btn-white:hover {
    background: var(--grey-light);
    transform: translateY(-1px) scale(1.01);
    box-shadow: var(--shadow-md);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid rgba(11, 55, 114, 0.25);
    backdrop-filter: blur(var(--blur-sm));
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.btn-ghost {
    background: rgba(11, 55, 114, 0.06);
    color: var(--primary);
}

.btn-ghost:hover {
    background: rgba(11, 55, 114, 0.12);
    transform: translateY(-1px);
}

.btn-link {
    background: none;
    padding: 0;
    color: var(--accent);
    font-weight: 500;
    box-shadow: none;
}

.btn-link svg {
    transition: transform var(--transition);
}

.btn-link:hover {
    color: var(--primary);
}

.btn-link:hover svg {
    transform: translateX(4px);
}

.btn-lg {
    padding: 20px 44px;
    font-size: 18px;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 15px;
}

/* Icon button */
.btn-icon {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
}

/* ===========================================
   HEADER / NAVIGATION - Sticky Pill Design
   =========================================== */
.header {
    position: fixed !important;
    top: 20px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 99999 !important;
    width: 1200px;
    max-width: calc(100vw - 40px);
    height: 72px;
    padding: 0 36px;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 50px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    overflow: visible;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Header background element created by JS */
.header-bg {
    border-radius: inherit !important;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 100%;
    background: none !important;
    border-radius: inherit;
    padding: 0 12px;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
    transition: all var(--transition);
}

.logo:hover {
    transform: scale(1.02);
}

.logo-mark {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    padding: 4px;
    overflow: hidden;
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.logo-text {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
}

.logo-name {
    color: var(--primary);
    font-weight: 700;
}

.logo-sub {
    color: var(--grey);
    font-weight: 500;
}

.logo.logo--no-image {
    gap: 6px;
}

.logo.logo--no-image .logo-mark {
    display: none;
}

.nav {
    display: flex;
    align-items: center;
    flex: 1;
    justify-content: center;
}

.nav-list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    padding: 0;
    margin: 0;
    background: transparent;
    list-style: none;
}

.nav-list > li {
    display: flex;
    position: relative;
}

.nav-link {
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 500;
    color: var(--grey-dark);
    border-radius: 100px;
    transition: all 0.3s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.nav-link::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 55, 114, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
    border-radius: 100px;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s var(--ease-out-expo);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::before {
    opacity: 1;
    transform: scale(1);
}

.nav-link.active {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    box-shadow: 0 4px 12px rgba(11, 55, 114, 0.3);
}

.nav-link.active::before {
    display: none;
}

/* CTA inside nav (for mobile menu) - hidden on desktop */
.nav .nav-cta {
    display: none;
}

/* Desktop CTA button */
.nav-cta-desktop {
    padding: 14px 32px;
    font-size: 15px;
    border-radius: 100px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    box-shadow: 0 4px 16px rgba(11, 55, 114, 0.25);
    transition: all 0.3s var(--ease-out-expo);
    flex-shrink: 0;
    white-space: nowrap;
}

.nav-cta-desktop:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 24px rgba(11, 55, 114, 0.35);
}

/* Mobile CTA base styling */
.nav-cta {
    padding: 14px 32px;
    font-size: 15px;
    border-radius: 100px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    box-shadow: 0 4px 16px rgba(11, 55, 114, 0.25);
    transition: all 0.3s var(--ease-out-expo);
    white-space: nowrap;
}

/* Dropdown Menu */
.nav-item-dropdown {
    position: relative;
    z-index: 100;
}

.nav-item-dropdown:hover {
    z-index: 101;
}

.nav-link-dropdown {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
}

.dropdown-arrow {
    width: 14px;
    height: 14px;
    transition: transform 0.3s var(--ease-out-expo);
}

.nav-item-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Zone de pont invisible pour maintenir le hover */
.nav-item-dropdown::after {
    content: '';
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    height: 24px;
    background: transparent;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 20px);
    left: 50%;
    transform: translateX(-50%) translateY(10px) scale(0.95);
    min-width: 280px;
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 12px;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 8px 24px rgba(0, 0, 0, 0.08);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 9999;
    pointer-events: none;
}

/* Flèche/triangle vers le haut */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid #ffffff;
}

/* Zone de hover étendue au-dessus */
.dropdown-menu::after {
    content: '';
    position: absolute;
    top: -24px;
    left: -20px;
    right: -20px;
    height: 28px;
    background: transparent;
}

.nav-item-dropdown:hover > .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
    pointer-events: auto;
}

.dropdown-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--grey-dark);
    border-radius: 14px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    text-decoration: none;
}

.dropdown-link-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(11, 55, 114, 0.1) 0%, rgba(11, 55, 114, 0.05) 100%);
    border-radius: 12px;
    flex-shrink: 0;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dropdown-link-icon svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dropdown-link-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dropdown-link-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--black);
    transition: color 0.2s ease;
}

.dropdown-link-desc {
    font-size: 13px;
    font-weight: 400;
    color: var(--grey);
    line-height: 1.4;
}

.dropdown-link:hover {
    background: linear-gradient(135deg, rgba(11, 55, 114, 0.06) 0%, rgba(11, 55, 114, 0.02) 100%);
    transform: translateX(4px);
}

.dropdown-link:hover .dropdown-link-icon {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    transform: scale(1.08) rotate(-3deg);
    box-shadow: 0 4px 12px rgba(11, 55, 114, 0.3);
}

.dropdown-link:hover .dropdown-link-icon svg {
    color: white;
}

.dropdown-link:hover .dropdown-link-title {
    color: var(--primary);
}

.dropdown-link:not(:last-child) {
    margin-bottom: 6px;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    border-radius: var(--radius-sm);
    transition: background var(--transition-fast);
}

.menu-toggle:hover {
    background: rgba(0, 0, 0, 0.04);
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--black);
    border-radius: 2px;
    transition: all var(--transition);
    transform-origin: center;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===========================================
   HERO SECTION
   =========================================== */
.hero {
    min-height: 92vh;
    display: flex;
    align-items: center;
    padding-top: 200px;
    padding-bottom: 48px;
    background:
        radial-gradient(120% 120% at 20% 10%, rgba(37, 99, 235, 0.12), transparent 45%),
        radial-gradient(140% 120% at 80% 0%, rgba(11, 55, 114, 0.14), transparent 46%),
        linear-gradient(180deg, #f7f9ff 0%, #ffffff 60%, #f5f6fb 100%);
    overflow: visible;
    position: relative;
}


.hero::before {
    content: '';
    position: absolute;
    inset: -20%;
    background: radial-gradient(80% 80% at 30% 20%, rgba(255, 255, 255, 0.4), transparent 60%),
        conic-gradient(from 120deg at 60% 40%, rgba(11, 55, 114, 0.14), rgba(37, 99, 235, 0.08), rgba(11, 55, 114, 0.14));
    filter: blur(50px);
    opacity: 0.8;
    z-index: 0;
    animation: heroAurora 18s ease-in-out infinite alternate;
}

@keyframes heroAurora {
    0% {
        transform: translate3d(-4%, -2%, 0) scale(1);
        opacity: 0.7;
    }
    50% {
        transform: translate3d(3%, 2%, 0) scale(1.02);
        opacity: 0.8;
    }
    100% {
        transform: translate3d(5%, 4%, 0) scale(1.04);
        opacity: 0.7;
    }
}

/* Background logo animé - Style Ligne Électrique */
.hero-logo-bg {
    position: absolute;
    top: 50%;
    left: -250px; /* Moitié du logo visible sur le bord gauche */
    transform: translateY(-50%);
    width: 500px;
    height: 600px;
    z-index: 0;
    pointer-events: none;
    opacity: 0.35;
    animation: logoFloat 20s ease-in-out infinite;
}

.hero-logo-bg svg {
    width: 100%;
    height: 100%;
}

/* Style Néon Pulsant - Effet Glow */
.electric-line {
    stroke: #E6B800;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 0 3px #E6B800) drop-shadow(0 0 8px #E6B800) drop-shadow(0 0 15px rgba(230, 184, 0, 0.5));
    animation: neonPulse 3s ease-in-out infinite;
}

.electric-line.delay-1 {
    animation-delay: -1s;
}

.electric-line.delay-2 {
    animation-delay: -2s;
}

/* Rayons - glow plus intense */
.electric-line.ray {
    stroke-width: 2.5;
    filter: drop-shadow(0 0 4px #E6B800) drop-shadow(0 0 12px #E6B800) drop-shadow(0 0 20px rgba(230, 184, 0, 0.6));
    animation: neonPulseIntense 2.5s ease-in-out infinite;
}

/* Éclairs - effet scintillant */
.electric-line.spark {
    stroke-width: 1.8;
    filter: drop-shadow(0 0 5px #fff) drop-shadow(0 0 10px #E6B800) drop-shadow(0 0 18px rgba(230, 184, 0, 0.7));
    animation: neonFlicker 1.5s ease-in-out infinite;
}

/* Animation néon pulsant principale */
@keyframes neonPulse {
    0%, 100% {
        opacity: 0.6;
        filter: drop-shadow(0 0 2px #E6B800) drop-shadow(0 0 6px #E6B800) drop-shadow(0 0 12px rgba(230, 184, 0, 0.4));
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 0 4px #E6B800) drop-shadow(0 0 12px #E6B800) drop-shadow(0 0 25px rgba(230, 184, 0, 0.7));
    }
}

/* Pulsation intense pour les rayons */
@keyframes neonPulseIntense {
    0%, 100% {
        opacity: 0.5;
        filter: drop-shadow(0 0 3px #E6B800) drop-shadow(0 0 8px #E6B800) drop-shadow(0 0 15px rgba(230, 184, 0, 0.4));
    }
    50% {
        opacity: 1;
        filter: drop-shadow(0 0 6px #fff) drop-shadow(0 0 15px #E6B800) drop-shadow(0 0 30px rgba(230, 184, 0, 0.8));
    }
}

/* Scintillement pour les sparks */
@keyframes neonFlicker {
    0%, 100% {
        opacity: 0.4;
        filter: drop-shadow(0 0 3px #E6B800) drop-shadow(0 0 8px rgba(230, 184, 0, 0.5));
    }
    25% {
        opacity: 1;
        filter: drop-shadow(0 0 6px #fff) drop-shadow(0 0 15px #E6B800) drop-shadow(0 0 25px rgba(230, 184, 0, 0.9));
    }
    50% {
        opacity: 0.7;
        filter: drop-shadow(0 0 4px #E6B800) drop-shadow(0 0 10px rgba(230, 184, 0, 0.6));
    }
    75% {
        opacity: 1;
        filter: drop-shadow(0 0 8px #fff) drop-shadow(0 0 18px #E6B800) drop-shadow(0 0 30px rgba(230, 184, 0, 0.8));
    }
}

/* Flottement global du logo */
@keyframes logoFloat {
    0%, 100% {
        transform: translateY(-50%) translate(0, 0);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-50%) translate(8px, -6px);
        opacity: 0.4;
    }
    50% {
        transform: translateY(-50%) translate(5px, 4px);
        opacity: 0.35;
    }
    75% {
        transform: translateY(-50%) translate(-5px, -3px);
        opacity: 0.45;
    }
}

/* Flottement logo mobile */
@keyframes logoFloatMobile {
    0%, 100% {
        transform: translateX(-50%) translate(0, 0);
        opacity: 0.35;
    }
    25% {
        transform: translateX(-50%) translate(5px, -4px);
        opacity: 0.45;
    }
    50% {
        transform: translateX(-50%) translate(3px, 3px);
        opacity: 0.4;
    }
    75% {
        transform: translateX(-50%) translate(-4px, -2px);
        opacity: 0.5;
    }
}

/* Responsive - repositionner en haut sur tablette */
@media (max-width: 968px) {
    .hero {
        overflow: visible !important;
        padding-top: 480px;
    }

    .hero-logo-bg {
        position: absolute;
        top: 80px;
        left: 50%;
        transform: translateX(-50%);
        width: 320px;
        height: 360px;
        opacity: 0.55;
        z-index: 1;
        animation: logoFloatMobile 20s ease-in-out infinite;
    }
}

/* ===========================================
   HERO ENERGY BACKGROUND - Wind & Solar
   =========================================== */
.hero-energy-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.hero-mountains {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 260px;
    z-index: 0;
    opacity: 0.85;
}

.hero-mountains svg {
    width: 100%;
    height: 100%;
    display: block;
}

.mountain-fill {
    fill: rgba(11, 55, 114, 0.06);
    stroke: none;
}

.mountain-line {
    fill: none;
    stroke: rgba(11, 55, 114, 0.3);
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 10px 30px rgba(11, 55, 114, 0.08));
}

.mountain-line-secondary {
    stroke: rgba(37, 99, 235, 0.2);
    stroke-dasharray: 14 10;
    opacity: 0.7;
}

/* Wind Turbines */
.turbine {
    position: absolute;
    bottom: 20%;
    z-index: 2;
}

.turbine-pole {
    width: 6px;
    background: linear-gradient(180deg, rgba(11, 55, 114, 0.35) 0%, rgba(11, 55, 114, 0.08) 100%);
    border-radius: 3px;
    margin: 0 auto;
    box-shadow: 0 8px 16px rgba(11, 55, 114, 0.08);
}

.turbine-head {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 22px;
    background: linear-gradient(135deg, rgba(11, 55, 114, 0.3) 0%, rgba(37, 99, 235, 0.2) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(11, 55, 114, 0.15);
}

.turbine-blades {
    position: relative;
    width: 100%;
    height: 100%;
    animation: rotateBladesNew 9s linear infinite;
}

.turbine-blades span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 70px;
    background: linear-gradient(180deg, rgba(11, 55, 114, 0.4) 0%, rgba(11, 55, 114, 0.08) 100%);
    border-radius: 3px;
    transform-origin: top center;
    box-shadow: 0 4px 10px rgba(11, 55, 114, 0.08);
}

.turbine-blades span:nth-child(1) { transform: translate(-50%, -5%) rotate(0deg); }
.turbine-blades span:nth-child(2) { transform: translate(-50%, -5%) rotate(120deg); }
.turbine-blades span:nth-child(3) { transform: translate(-50%, -5%) rotate(240deg); }

@keyframes rotateBladesNew {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.turbine-1 {
    left: 12%;
    bottom: 24%;
    opacity: 0.8;
}
.turbine-1 .turbine-pole { height: 190px; }
.turbine-1 .turbine-blades span { height: 76px; }
.turbine-1 .turbine-head { width: 22px; height: 22px; }

.turbine-2 {
    left: 28%;
    bottom: 26%;
    opacity: 0.7;
}
.turbine-2 .turbine-pole { height: 165px; }
.turbine-2 .turbine-blades span { height: 70px; }
.turbine-2 .turbine-head { width: 20px; height: 20px; }

.turbine-3 {
    right: 15%;
    bottom: 24%;
    opacity: 0.75;
}
.turbine-3 .turbine-pole { height: 210px; }
.turbine-3 .turbine-blades span { height: 82px; }
.turbine-3 .turbine-head { width: 24px; height: 24px; }

/* Solar Panels */
.solar-panel {
    position: absolute;
    bottom: 12%;
    background: linear-gradient(
        135deg,
        rgba(11, 55, 114, 0.15) 0%,
        rgba(37, 99, 235, 0.1) 50%,
        rgba(11, 55, 114, 0.08) 100%
    );
    border: 1px solid rgba(11, 55, 114, 0.1);
    border-radius: 4px;
    transform: perspective(200px) rotateX(45deg);
    animation: solarGlow 4s ease-in-out infinite;
    z-index: 2;
}

.solar-panel::before {
    content: '';
    position: absolute;
    inset: 2px;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 8px,
        rgba(11, 55, 114, 0.1) 8px,
        rgba(11, 55, 114, 0.1) 9px
    ),
    repeating-linear-gradient(
        0deg,
        transparent,
        transparent 8px,
        rgba(11, 55, 114, 0.1) 8px,
        rgba(11, 55, 114, 0.1) 9px
    );
    border-radius: 2px;
}

.solar-panel::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.3) 0%,
        transparent 50%
    );
    border-radius: 4px;
    animation: solarShine 3s ease-in-out infinite;
}

@keyframes solarGlow {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.9; }
}

@keyframes solarShine {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

.solar-1 {
    right: 24%;
    bottom: 16%;
    width: 90px;
    height: 58px;
    animation-delay: 0s;
}

.solar-2 {
    right: 18%;
    bottom: 12%;
    width: 70px;
    height: 44px;
    animation-delay: 1.5s;
    opacity: 0.65;
}

.solar-3 {
    right: 32%;
    bottom: 14%;
    width: 60px;
    height: 40px;
    animation-delay: 3s;
    opacity: 0.5;
}

.solar-4 {
    left: 22%;
    bottom: 18%;
    width: 78px;
    height: 48px;
    animation-delay: 1s;
}

.solar-5 {
    left: 35%;
    bottom: 20%;
    width: 64px;
    height: 42px;
    animation-delay: 2.2s;
    opacity: 0.7;
}

/* Energy Grid Lines */
.energy-grid {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
}

.grid-line {
    position: absolute;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(11, 55, 114, 0.08) 20%,
        rgba(37, 99, 235, 0.12) 50%,
        rgba(11, 55, 114, 0.08) 80%,
        transparent 100%
    );
    height: 1px;
    animation: energyFlow 4s ease-in-out infinite;
}

.grid-line::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.4), transparent);
    border-radius: 2px;
    top: -1px;
    animation: energyPulse 3s ease-in-out infinite;
}

.grid-line-1 {
    top: 35%;
    left: 0;
    right: 0;
    animation-delay: 0s;
}
.grid-line-1::after { animation-delay: 0s; }

.grid-line-2 {
    top: 55%;
    left: 10%;
    right: 10%;
    animation-delay: 1.5s;
    opacity: 0.6;
}
.grid-line-2::after { animation-delay: 1s; }

.grid-line-3 {
    top: 75%;
    left: 20%;
    right: 20%;
    animation-delay: 3s;
    opacity: 0.4;
}
.grid-line-3::after { animation-delay: 2s; }

@keyframes energyFlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

@keyframes energyPulse {
    0% { left: -20px; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

/* Ensure hero content is above background */
.hero .container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
}

.hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 60px;
}

/* Layout avec les fenêtres flottantes */
.hero-inner.with-image {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 56px;
    align-items: center;
    text-align: left;
}

.hero-content {
    max-width: 760px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 500;
    color: var(--grey-dark);
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
}

.hero-label::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--success);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(1.2); }
}

.hero-title {
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    max-width: 460px;
    font-size: clamp(32px, 4vw, 44px);
    line-height: 1.15;
}

.hero-title span {
    color: var(--primary);
}

.hero-title .word:last-child {
    color: var(--primary);
}

.hero-description {
    font-size: 16px;
    color: var(--grey-dark);
    margin-bottom: 32px;
    line-height: 1.6;
    max-width: 480px;
    text-align: left;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}

.hero-visual {
    position: relative;
    width: 100%;
    max-width: 900px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    transform: scale(0.92);
    transform-origin: center center;
}

.hero-image {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
}

.hero-stats {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--border);
}

.hero-stat {
    text-align: left;
    flex: 1;
}

.hero-stat-number {
    font-size: 36px;
    font-weight: 700;
    color: var(--black);
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.03em;
}

.hero-stat-label {
    font-size: 13px;
    color: var(--grey);
}

.hero-inner.with-image .hero-content {
    align-items: flex-start;
}

.hero-inner.with-image .hero-buttons {
    justify-content: flex-start;
}

/* Stats pleine largeur sous le hero */
.hero-stats-fullwidth {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 56px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.hero-stats-fullwidth .hero-stat {
    flex: 1;
    text-align: center;
}

.hero-stats-fullwidth .hero-stat-number {
    font-size: 42px;
    font-weight: 700;
    color: var(--black);
    line-height: 1;
    margin-bottom: 8px;
    letter-spacing: -0.03em;
}

.hero-stats-fullwidth .hero-stat-label {
    font-size: 14px;
    color: var(--grey);
}

/* ===========================================
   HERO ALTERNATIF - Formulaire + Stats
   =========================================== */
.hero-alt {
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 70%);
}

.hero-alt-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.hero-alt-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: rgba(11, 55, 114, 0.08);
    border: 1px solid rgba(11, 55, 114, 0.14);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    width: fit-content;
}

.hero-alt-points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.point-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: linear-gradient(135deg, rgba(11, 55, 114, 0.08) 0%, rgba(37, 99, 235, 0.06) 100%);
    border-radius: var(--radius-full);
    font-size: 14px;
    color: var(--black);
    border: 1px solid rgba(11, 55, 114, 0.1);
}

.hero-alt-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    gap: 20px;
    margin-top: 8px;
}

.hero-alt-stats .stat-number {
    font-size: 34px;
    font-weight: 800;
    color: var(--black);
    letter-spacing: -0.02em;
    line-height: 1;
}

.hero-alt-stats .stat-label {
    color: var(--grey);
    font-size: 14px;
}

.hero-alt-form {
    width: 100%;
}

.form-card {
    background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
    border: 1px solid rgba(11, 55, 114, 0.12);
    box-shadow: var(--shadow-xl);
    border-radius: 22px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.form-card-header h3 {
    margin: 0;
    font-size: 22px;
}

.form-eyebrow {
    margin: 0 0 4px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
}

.form-secure {
    padding: 8px 12px;
    border-radius: var(--radius-full);
    background: rgba(37, 99, 235, 0.1);
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.lead-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-row.two-cols {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.form-row label {
    font-size: 12px;
    color: var(--grey);
    font-weight: 600;
}

.form-row input,
.form-row textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(11, 55, 114, 0.15);
    background: rgba(255, 255, 255, 0.95);
    font-size: 15px;
    color: var(--black);
    transition: border var(--transition-fast), box-shadow var(--transition-fast);
}

.form-row textarea {
    resize: vertical;
    min-height: 96px;
}

.form-row input:focus,
.form-row textarea:focus {
    border-color: rgba(11, 55, 114, 0.35);
    box-shadow: 0 10px 30px rgba(11, 55, 114, 0.1);
    outline: none;
}

.form-disclaimer {
    font-size: 12px;
    color: var(--grey);
    margin: 4px 0 0;
    line-height: 1.5;
}

.full-width {
    width: 100%;
}

/* Logos strip */
.logos-strip-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.logo-pill {
    padding: 10px 16px;
    border-radius: var(--radius-full);
    background: rgba(11, 55, 114, 0.08);
    color: var(--primary);
    font-weight: 700;
    border: 1px solid rgba(11, 55, 114, 0.12);
}

.logos-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
    width: 100%;
}

.logo-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 12px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(11, 55, 114, 0.05) 0%, rgba(11, 55, 114, 0.02) 100%);
    border: 1px solid rgba(11, 55, 114, 0.1);
    color: var(--grey-dark);
    font-weight: 600;
}

/* Steps */
.step-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 48px;
}

.step-card {
    background: var(--white);
    border: 1px solid rgba(11, 55, 114, 0.1);
    border-radius: var(--radius-lg);
    padding: 26px 22px;
    box-shadow: var(--shadow-md);
}

.step-number {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.step-card h3 {
    margin-bottom: 10px;
}

/* Benefits */
.benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-top: 48px;
}

.benefit-card {
    background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
    border: 1px solid rgba(11, 55, 114, 0.1);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
}

.benefit-card h3 {
    margin-bottom: 10px;
}

.benefit-card p {
    font-size: 15px;
    color: var(--grey-dark);
}

/* Stats strip */
.alt-stats .stat-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.alt-stats .stat-item {
    text-align: center;
    padding: 26px 20px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.alt-stats .stat-number {
    color: var(--white);
    font-size: 40px;
    font-weight: 800;
    margin-bottom: 6px;
}

.alt-stats .stat-label {
    color: var(--grey);
}

/* Testimonials */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 48px;
}

.testimonial-card {
    background: var(--white);
    border: 1px solid rgba(11, 55, 114, 0.1);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-md);
}

.testimonial-text {
    font-size: 16px;
    color: var(--black);
    margin-bottom: 16px;
}

.testimonial-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 14px;
    color: var(--grey);
}

.testimonial-badge {
    padding: 8px 12px;
    border-radius: var(--radius-full);
    background: rgba(11, 55, 114, 0.08);
    color: var(--primary);
    font-weight: 700;
    font-size: 12px;
}

/* CTA inline */
.cta-inline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 26px 28px;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(11, 55, 114, 0.08) 0%, rgba(37, 99, 235, 0.06) 100%);
    border: 1px solid rgba(11, 55, 114, 0.1);
    box-shadow: var(--shadow-lg);
}

.cta-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
/* Client Simulation Window */
.simulation-window {
    position: relative;
    z-index: 10;
    flex: 1;
    min-width: 420px;
    max-width: 520px;
    min-height: 380px;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(245, 249, 255, 0.95) 40%, rgba(236, 244, 255, 0.94) 100%),
        radial-gradient(120% 120% at 20% 20%, rgba(59, 125, 216, 0.05), transparent 55%),
        radial-gradient(90% 90% at 85% 10%, rgba(11, 55, 114, 0.06), transparent 60%);
    border: 1px solid rgba(11, 55, 114, 0.1);
    border-radius: 14px;
    padding: 22px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(8px);
    overflow: hidden;
    isolation: isolate;
}

.simulation-window::before,
.simulation-window::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    z-index: -1;
}

.simulation-window::before {
    width: 220px;
    height: 220px;
    top: -40px;
    right: -60px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.35) 0%, transparent 70%);
}

.simulation-window::after {
    width: 240px;
    height: 240px;
    bottom: -80px;
    left: -60px;
    background: radial-gradient(circle, rgba(11, 55, 114, 0.28) 0%, transparent 70%);
}

.simulation-window-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.simulation-eyebrow {
    font-size: 10px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
    margin: 0 0 4px;
}

.simulation-title {
    margin: 0;
    font-size: 16px;
    line-height: 1.3;
    color: var(--black);
}

.simulation-status {
    padding: 5px 10px;
    border-radius: var(--radius-full);
    background: rgba(11, 55, 114, 0.12);
    color: var(--primary);
    font-weight: 700;
    font-size: 11px;
}

.simulation-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.simulation-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 14px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(241, 246, 255, 0.9) 100%);
    border: 1px solid rgba(11, 55, 114, 0.1);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.simulation-label {
    margin: 0 0 2px;
    font-size: 10px;
    color: var(--grey);
}

.simulation-value {
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    color: var(--black);
}

.simulation-chip {
    padding: 8px 12px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(11, 55, 114, 0.1) 0%, rgba(37, 99, 235, 0.08) 100%);
    color: var(--primary);
    font-weight: 700;
    font-size: 11px;
}

.simulation-metrics {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.simulation-metric {
    padding: 12px 14px;
    border-radius: 12px;
    background: linear-gradient(180deg, rgba(11, 55, 114, 0.06) 0%, rgba(11, 55, 114, 0.02) 100%);
    border: 1px solid rgba(11, 55, 114, 0.1);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s var(--ease-out-expo);
}

.simulation-metric:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.simulation-metric-label {
    margin: 0 0 4px;
    font-size: 10px;
    color: var(--grey);
    letter-spacing: 0.01em;
}

.simulation-metric-value {
    margin: 0 0 2px;
    font-size: 17px;
    font-weight: 800;
    color: var(--black);
    letter-spacing: -0.02em;
}

.simulation-metric-value.highlight {
    color: var(--primary);
}

.simulation-metric-note {
    margin: 0;
    font-size: 10px;
    color: var(--grey-dark);
}

.simulation-graph {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.graph-bar {
    position: relative;
    padding: 10px 10px 14px;
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(11, 55, 114, 0.04) 0%, rgba(11, 55, 114, 0.02) 100%);
    border: 1px solid rgba(11, 55, 114, 0.08);
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s var(--ease-out-expo);
}

.graph-bar:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(11, 55, 114, 0.08);
}

.graph-bar::before {
    content: '';
    position: absolute;
    left: 8px;
    right: 8px;
    bottom: 8px;
    height: var(--value, 60%);
    border-radius: 8px;
    background: linear-gradient(180deg, rgba(11, 55, 114, 0.2) 0%, rgba(11, 55, 114, 0.1) 100%);
    z-index: -1;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transform-origin: bottom;
    animation: barGrow 1s ease-out forwards;
    transform: scaleY(0);
}

.graph-bar:nth-child(1)::before { animation-delay: 0.3s; }
.graph-bar:nth-child(2)::before { animation-delay: 0.5s; }
.graph-bar:nth-child(3)::before { animation-delay: 0.7s; }

@keyframes barGrow {
    to { transform: scaleY(1); }
}

.graph-bar.optimized::before {
    background: linear-gradient(180deg, rgba(59, 125, 216, 0.25) 0%, rgba(59, 125, 216, 0.12) 100%);
}

.graph-bar.projected::before {
    background: linear-gradient(180deg, rgba(52, 199, 89, 0.28) 0%, rgba(52, 199, 89, 0.12) 100%);
}

.graph-bar span {
    display: block;
    font-size: 9px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--grey);
    margin-bottom: 4px;
}

.graph-bar strong {
    display: block;
    font-size: 11px;
    color: var(--black);
}

.simulation-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 4px 0;
    border-top: 1px dashed rgba(11, 55, 114, 0.12);
    margin-top: 4px;
}

.simulation-sparkline {
    display: flex;
    align-items: flex-end;
    gap: 6px;
    height: 48px;
    flex: 1;
}

.sparkline-point {
    flex: 1;
    background: linear-gradient(180deg, rgba(11, 55, 114, 0.24) 0%, rgba(11, 55, 114, 0.06) 100%);
    border-radius: 10px 10px 4px 4px;
    animation: sparkline 3s ease-in-out infinite;
    opacity: 0.85;
}

.sparkline-point:nth-child(1) { height: 26px; animation-delay: 0s; }
.sparkline-point:nth-child(2) { height: 38px; animation-delay: 0.1s; }
.sparkline-point:nth-child(3) { height: 30px; animation-delay: 0.2s; }
.sparkline-point:nth-child(4) { height: 44px; animation-delay: 0.3s; }
.sparkline-point:nth-child(5) { height: 32px; animation-delay: 0.4s; }

@keyframes sparkline {
    0%, 100% { transform: translateY(2px) scaleY(0.98); opacity: 0.7; }
    50% { transform: translateY(-4px) scaleY(1.05); opacity: 1; }
}

.simulation-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    text-align: right;
}

.simulation-cta span {
    font-size: 13px;
    color: var(--grey-dark);
}

/* Status dot animation */
.status-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    margin-right: 6px;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

/* Highlight card style */
.simulation-metric.highlight-card {
    background: linear-gradient(180deg, rgba(11, 55, 114, 0.1) 0%, rgba(11, 55, 114, 0.04) 100%);
    border: 1px solid rgba(11, 55, 114, 0.15);
}

/* ===========================================
   FLOATING CARDS - Colonne à droite
   =========================================== */

/* Colonne droite pour toutes les floating cards */
.floating-cards-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    flex-shrink: 0;
    z-index: 3;
    position: relative;
}

.floating-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(11, 55, 114, 0.1);
    border-radius: 10px;
    padding: 12px 14px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    min-width: 130px;
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
}

.floating-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1), 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Animations des cartes */
.floating-card-1 {
    animation: floatCard1 6s ease-in-out infinite;
}

.floating-card-2 {
    animation: floatCard2 7s ease-in-out infinite;
}

.floating-card-3 {
    animation: floatCard3 5s ease-in-out infinite;
}

@keyframes floatCard1 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

@keyframes floatCard2 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

@keyframes floatCard3 {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

/* Floating card header */
.floating-card-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.floating-card-dot {
    width: 5px;
    height: 5px;
    background: var(--primary);
    border-radius: 50%;
    animation: dotPulse 3s ease-in-out infinite;
}

.floating-card-dot.green {
    background: var(--accent);
}

.floating-card-dot.blue {
    background: var(--accent);
}

@keyframes dotPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.floating-card-title {
    font-size: 9px;
    font-weight: 600;
    color: var(--grey);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Floating card value */
.floating-card-value {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.floating-card-number {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
}

.floating-card-label {
    font-size: 9px;
    color: var(--grey);
}

/* Mini chart (Card 1) */
.floating-card-chart {
    height: 26px;
    margin-bottom: 6px;
}

.mini-chart {
    width: 100%;
    height: 100%;
}

.chart-line {
    fill: none;
    stroke: var(--primary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 200;
    stroke-dashoffset: 200;
    animation: drawLine 2s ease-out forwards;
}

.chart-line-fill {
    fill: rgba(11, 55, 114, 0.08);
    stroke: none;
    opacity: 0;
    animation: fadeInChart 1s ease-out 1.5s forwards;
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

@keyframes fadeInChart {
    to { opacity: 1; }
}

/* Supplier bars (Card 2) */
.floating-card-suppliers {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 10px;
}

.supplier-bar {
    height: 6px;
    background: linear-gradient(90deg, var(--accent) 0%, rgba(59, 125, 216, 0.3) 100%);
    border-radius: 3px;
    width: var(--width, 70%);
    animation: growBar 1s ease-out forwards;
    transform-origin: left;
    transform: scaleX(0);
}

.supplier-bar:nth-child(1) { animation-delay: 0.2s; }
.supplier-bar:nth-child(2) { animation-delay: 0.4s; }
.supplier-bar:nth-child(3) { animation-delay: 0.6s; }

@keyframes growBar {
    to { transform: scaleX(1); }
}

/* Savings circle (Card 3) */
.floating-card-savings {
    display: flex;
    justify-content: center;
    margin-bottom: 8px;
}

.savings-circle {
    width: 40px;
    height: 40px;
}

.circular-chart {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.circle-bg {
    fill: none;
    stroke: rgba(11, 55, 114, 0.1);
    stroke-width: 3;
}

.circle-progress {
    fill: none;
    stroke: var(--accent);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-dasharray: 0, 100;
    animation: circleProgress 2s ease-out forwards;
}

@keyframes circleProgress {
    to { stroke-dasharray: 75, 100; }
}

/* Hero image card - hidden since image is now in hero-content background */
.hero-image-card {
    display: none;
}

.hero-image-card-img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15), 0 4px 10px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--white);
    transition: transform var(--transition);
}

.hero-image-card:hover .hero-image-card-img {
    transform: scale(1.05);
}

/* Floating cards en dessous de l'image - legacy */
.floating-cards-bottom {
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: center;
}

/* Responsive: Adjust floating cards on smaller screens */
@media (max-width: 1450px) {
    .hero-visual {
        max-width: 950px;
        gap: 20px;
    }
    .simulation-window {
        min-width: 480px;
        max-width: 550px;
    }
    .floating-card {
        min-width: 120px;
        padding: 12px 14px;
    }
    .hero-image-card {
        left: -100px;
        top: -50px;
    }
    .hero-image-card-img {
        width: 160px;
        height: 160px;
    }
}

@media (max-width: 1350px) {
    .hero-visual {
        max-width: 850px;
        gap: 16px;
    }
    .floating-card {
        min-width: 110px;
        padding: 10px 12px;
    }
    .floating-card-number {
        font-size: 14px;
    }
    .simulation-window {
        min-width: 420px;
        max-width: 500px;
        padding: 24px;
    }
    .hero-image-card {
        left: -90px;
        top: -45px;
    }
    .hero-image-card-img {
        width: 150px;
        height: 150px;
    }
}

@media (max-width: 1200px) {
    .hero-visual {
        max-width: 750px;
        gap: 14px;
    }
    .floating-card {
        min-width: 100px;
        padding: 10px 12px;
    }
    .floating-card-number {
        font-size: 14px;
    }
    .floating-card-title {
        font-size: 9px;
    }
    .simulation-window {
        min-width: 380px;
        max-width: 460px;
        padding: 22px;
        min-height: 400px;
    }
    .simulation-title {
        font-size: 18px;
    }
    .simulation-metric-value {
        font-size: 22px;
    }
    .hero-image-card {
        left: -70px;
        top: -40px;
    }
    .hero-image-card-img {
        width: 130px;
        height: 130px;
        border-radius: 14px;
    }
    .floating-cards-bottom {
        gap: 8px;
    }
}

@media (max-width: 1024px) {
    .hero-visual {
        max-width: 100%;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    .hero-image-card {
        display: none;
    }
    .floating-cards-right {
        display: none;
    }
    .floating-cards-bottom {
        display: none;
    }
    .simulation-window {
        min-width: auto;
        max-width: 520px;
        width: 100%;
        min-height: 420px;
        padding: 24px;
    }
}

.hero-inner.with-image .hero-content {
    align-items: flex-start;
}

.hero-inner.with-image .hero-buttons {
    justify-content: flex-start;
}

.hero-inner.with-image .hero-stats {
    justify-content: flex-start;
    text-align: left;
}

/* ===========================================
   FEATURE CARDS - Premium glass cards
   =========================================== */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.feature-card {
    background: var(--white);
    padding: 44px 36px;
    border-radius: var(--radius-lg);
    text-align: center;
    transition: all var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11, 55, 114, 0.02) 0%, transparent 100%);
    opacity: 0;
    transition: opacity var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(11, 55, 114, 0.1);
}

.feature-card:hover::before {
    opacity: 0.6;
}

.feature-icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--grey-light) 0%, var(--grey-ultra-light) 100%);
    border-radius: var(--radius-md);
    margin: 0 auto 28px;
    font-size: 32px;
    transition: all var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.03);
    background: linear-gradient(135deg, rgba(11, 55, 114, 0.1) 0%, rgba(11, 55, 114, 0.05) 100%);
}

.feature-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.feature-text {
    font-size: 15px;
    color: var(--grey);
    line-height: 1.65;
}

/* ===========================================
   STATS SECTION
   =========================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    text-align: center;
    margin-top: 48px;
}

.stat-item {
    padding: 40px 24px;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 60%;
    background: rgba(255, 255, 255, 0.1);
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    font-size: 80px;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.04em;
    background: linear-gradient(180deg, var(--white) 0%, rgba(255,255,255,0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.section-grey .stat-number {
    color: var(--primary);
    background: linear-gradient(180deg, var(--primary) 0%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
}

.section-grey .stat-label {
    color: var(--grey);
}

/* Stats responsive */
@media (max-width: 768px) {
    .stat-number {
        font-size: 56px;
    }

    .stat-label {
        font-size: 14px;
    }

    .stat-item {
        padding: 32px 16px;
    }
}

@media (max-width: 480px) {
    .stat-number {
        font-size: 32px;
    }

    .stat-label {
        font-size: 12px;
    }

    .stat-item {
        padding: 20px 8px;
    }

    .stats-grid {
        gap: 16px;
    }
}

@media (max-width: 360px) {
    .stat-number {
        font-size: 26px;
    }

    .stat-label {
        font-size: 11px;
    }
}

/* ===========================================
   PROCESS SECTION - Apple timeline style
   =========================================== */
.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    overflow: visible !important;
    padding: 20px 10px;
    margin-top: 48px;
    margin-left: -10px;
    margin-right: -10px;
    margin-bottom: -20px;
    width: calc(100% + 20px);
}

.process-grid::before {
    content: '';
    position: absolute;
    top: 68px;
    left: calc(12.5% + 48px);
    right: calc(12.5% + 48px);
    height: 2px;
    background: linear-gradient(90deg, var(--grey-medium) 0%, var(--primary) 50%, var(--grey-medium) 100%);
    opacity: 0.3;
}

.process-step {
    text-align: center;
    position: relative;
    overflow: visible !important;
    padding: 10px;
}

.process-number {
    width: 96px;
    height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 50%;
    margin: 0 auto 32px;
    font-size: 36px;
    font-weight: 700;
    color: var(--primary);
    transition: all var(--transition);
    position: relative;
    z-index: 2;
}

.process-step:hover .process-number {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

/* CTA process card */
.process-item.process-cta {
    position: relative;
    background: transparent;
    color: inherit;
    border-radius: var(--radius-lg);
    box-shadow: none;
    overflow: visible;
    border: none;
}

.process-item.process-cta .process-number {
    background: var(--white);
    color: var(--primary);
    border: 2px solid rgba(11, 55, 114, 0.2);
}

.process-item.process-cta:hover .process-number {
    background: var(--white);
    color: var(--primary);
    border-color: rgba(11, 55, 114, 0.2);
}

.process-item.process-cta .process-title {
    color: inherit;
}

.process-item.process-cta .process-text {
    color: var(--grey-dark);
}

.process-popup {
    position: absolute;
    left: 50%;
    bottom: -12px;
    transform: translate(-50%, 12px);
    width: 100%;
    max-width: 320px;
    padding: 16px;
    background: #ffffff;
    color: var(--black);
    border-radius: var(--radius-md);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    pointer-events: none;
    transition: all var(--transition);
    z-index: 5;
}

.process-popup::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-bottom-color: #ffffff;
}

.process-popup-title {
    margin: 0 0 6px;
    font-weight: 700;
    color: var(--primary);
}

.process-popup-text {
    margin: 0 0 10px;
    font-size: 14px;
    color: var(--grey-dark);
}

.process-item.process-cta:hover .process-popup {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.process-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

.process-text {
    font-size: 15px;
    color: var(--grey);
    line-height: 1.65;
    max-width: 280px;
    margin: 0 auto;
}

/* Electric Animation - Line only */
.process-grid.electric-animating::before {
    background: linear-gradient(90deg,
        var(--primary) 0%,
        rgba(59, 125, 216, 1) var(--electric-progress, 0%),
        var(--grey-medium) var(--electric-progress, 0%),
        var(--grey-medium) 100%);
    opacity: 0.8;
    height: 3px;
    box-shadow: 0 0 8px rgba(59, 125, 216, 0.4);
}

/* ===========================================
   CTA SECTION - Gradient premium box
   =========================================== */
.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: var(--radius-xl);
    padding: 100px 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
    pointer-events: none;
}

.cta-box::after {
    content: '';
    position: absolute;
    bottom: -20%;
    right: -10%;
    width: 60%;
    height: 60%;
    background: radial-gradient(ellipse at center, rgba(37, 99, 235, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.cta-title {
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.cta-text {
    font-size: 21px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

/* ===========================================
   CTA SECTION MODERN - Light corporate style
   =========================================== */
.cta-box-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(11, 55, 114, 0.1);
    border-radius: 24px;
    padding: 56px 64px;
    position: relative;
    overflow: hidden;
    box-shadow:
        0 4px 24px rgba(11, 55, 114, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.04);
}

.cta-box-modern::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: radial-gradient(ellipse at 80% 50%, rgba(11, 55, 114, 0.04) 0%, transparent 60%);
    pointer-events: none;
}

.cta-box-modern::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 40%;
    height: 80%;
    background: radial-gradient(ellipse at center, rgba(59, 125, 216, 0.03) 0%, transparent 60%);
    pointer-events: none;
}

.cta-modern-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.cta-modern-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(11, 55, 114, 0.06);
    border: 1px solid rgba(11, 55, 114, 0.1);
    border-radius: 100px;
    margin-bottom: 20px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
}

.cta-modern-badge svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

.cta-modern-title {
    font-size: clamp(28px, 4vw, 38px);
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.cta-modern-text {
    font-size: 17px;
    color: var(--grey);
    line-height: 1.6;
    max-width: 480px;
}

.cta-modern-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.cta-modern-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 32px;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.cta-modern-btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.cta-modern-btn-primary {
    background: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(11, 55, 114, 0.25);
}

.cta-modern-btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(11, 55, 114, 0.35);
}

.cta-modern-btn-phone {
    background: rgba(11, 55, 114, 0.06);
    border: 1px solid rgba(11, 55, 114, 0.15);
    color: var(--primary);
}

.cta-modern-btn-phone:hover {
    background: rgba(11, 55, 114, 0.1);
    border-color: rgba(11, 55, 114, 0.25);
    transform: translateY(-2px);
}

.cta-phone-number {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Responsive CTA Modern */
@media (max-width: 900px) {
    .cta-box-modern {
        flex-direction: column;
        text-align: center;
        padding: 48px 32px;
        gap: 32px;
    }

    .cta-modern-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cta-modern-text {
        max-width: 100%;
    }

    .cta-modern-actions {
        width: 100%;
        max-width: 320px;
    }

    .cta-modern-btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .cta-box-modern {
        padding: 36px 24px;
        border-radius: 20px;
    }

    .cta-modern-title {
        font-size: 24px;
    }

    .cta-modern-text {
        font-size: 15px;
    }

    .cta-modern-btn {
        padding: 16px 24px;
        font-size: 15px;
    }
}

/* ===========================================
   CONTENT BLOCKS - Two column layouts
   =========================================== */
.content-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    align-items: center;
}

.content-block.reverse {
    direction: rtl;
}

.content-block.reverse > * {
    direction: ltr;
}

.content-text-side {
    max-width: 520px;
}

.content-visual {
    position: relative;
}

.visual-placeholder {
    width: 100%;
    aspect-ratio: 4/3;
    border-radius: var(--radius-xl);
    overflow: hidden;
}

.content-title {
    font-size: clamp(32px, 4vw, 48px);
    margin-bottom: 28px;
}

.content-text {
    font-size: 18px;
    color: var(--grey);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* ===========================================
   FOOTER - Same background as Hero
   =========================================== */
.footer {
    position: relative;
    padding: 100px 0 48px;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(11, 55, 114, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 50%, rgba(59, 125, 216, 0.02) 0%, transparent 50%),
        linear-gradient(180deg, #F9FAFB 0%, #FFFFFF 50%, #F7F7F8 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 64px;
    margin-bottom: 80px;
}

.footer-brand {
    max-width: 360px;
}

/* Footer Logo - Same as Header */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    text-decoration: none;
}

.footer-logo-mark {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-logo-mark img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.footer-logo-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.02em;
    line-height: 1.1;
}

.footer-logo-sub {
    font-size: 14px;
    font-weight: 500;
    color: var(--grey);
    letter-spacing: 0.02em;
}

.footer-description {
    font-size: 15px;
    color: var(--grey);
    line-height: 1.7;
}

.footer-column h4 {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--grey);
    margin-bottom: 28px;
}

.footer-links li {
    margin-bottom: 16px;
}

.footer-links a {
    font-size: 15px;
    color: var(--grey-dark);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid var(--border);
}

.footer-copyright {
    font-size: 14px;
    color: var(--grey);
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border-radius: 50%;
    color: var(--grey);
    transition: all var(--transition);
    border: 1px solid var(--border);
}

.footer-social a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: translateY(-3px);
}

/* ===========================================
   ANIMATIONS - Smooth & Premium
   =========================================== */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-60px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(80px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(2deg);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Animation Classes */
.animate {
    opacity: 0;
}

.animate.fade-in {
    animation: fadeIn 1s var(--ease-out-expo) forwards;
}

.animate.fade-in-up {
    animation: fadeInUp 1s var(--ease-out-expo) forwards;
}

.animate.fade-in-down {
    animation: fadeInDown 1s var(--ease-out-expo) forwards;
}

.animate.slide-in-left {
    animation: slideInLeft 1s var(--ease-out-expo) forwards;
}

.animate.slide-in-right {
    animation: slideInRight 1s var(--ease-out-expo) forwards;
}

.animate.scale-in {
    animation: scaleIn 1s var(--ease-out-expo) forwards;
}

/* Stagger delays - more granular */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }
.delay-7 { animation-delay: 0.7s; }
.delay-8 { animation-delay: 0.8s; }

/* Hover micro-interactions */
.hover-lift {
    transition: transform var(--transition), box-shadow var(--transition);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.hover-scale {
    transition: transform var(--transition);
}

.hover-scale:hover {
    transform: scale(1.05);
}

.hover-glow {
    transition: box-shadow var(--transition);
}

.hover-glow:hover {
    box-shadow: var(--shadow-glow);
}

/* ===========================================
   LOADING STATES
   =========================================== */
.skeleton {
    background: linear-gradient(90deg, var(--grey-light) 25%, var(--grey-ultra-light) 50%, var(--grey-light) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s ease-in-out infinite;
    border-radius: var(--radius-sm);
}

/* ===========================================
   SCROLLBAR - Custom minimal
   =========================================== */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--grey-light);
}

::-webkit-scrollbar-thumb {
    background: var(--grey-medium);
    border-radius: 5px;
    border: 2px solid var(--grey-light);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--grey);
}

/* ===========================================
   SURPRISE ANIMATIONS - Advanced Effects
   =========================================== */

/* Staggered reveal animation */
@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(80px) scale(0.95);
        filter: blur(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

@keyframes revealLeft {
    from {
        opacity: 0;
        transform: translateX(-100px) rotate(-3deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotate(0);
    }
}

@keyframes revealRight {
    from {
        opacity: 0;
        transform: translateX(100px) rotate(3deg);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotate(0);
    }
}

/* Bounce in effect */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.95);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Morph animation for buttons */
@keyframes morphPulse {
    0%, 100% {
        border-radius: 100px;
    }
    50% {
        border-radius: 20px;
    }
}

/* Floating effect */
@keyframes gentleFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    25% {
        transform: translateY(-10px) rotate(1deg);
    }
    75% {
        transform: translateY(-5px) rotate(-1deg);
    }
}

/* Text shimmer effect */
@keyframes textShimmer {
    0% {
        background-position: -200% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* Glow pulse */
@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(11, 55, 114, 0.2);
    }
    50% {
        box-shadow: 0 0 40px rgba(11, 55, 114, 0.4), 0 0 60px rgba(37, 99, 235, 0.2);
    }
}

/* 3D tilt on hover */
.tilt-card {
    transform-style: preserve-3d;
    perspective: 1000px;
}

/* Gradient border animation */
@keyframes gradientBorder {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Ripple effect */
.ripple {
    position: relative;
    overflow: hidden;
}

.ripple::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, var(--primary) 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10);
    opacity: 0;
    transition: transform 0.5s, opacity 0.8s;
}

.ripple:active::after {
    transform: scale(0);
    opacity: 0.3;
    transition: 0s;
}

/* ===========================================
   SURPRISE ANIMATIONS - WOW EFFECTS
   =========================================== */

/* Liquid morph animation */
@keyframes liquidMorph {
    0%, 100% {
        border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    }
    25% {
        border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
    }
    50% {
        border-radius: 50% 50% 60% 40% / 40% 50% 60% 50%;
    }
    75% {
        border-radius: 40% 70% 50% 60% / 60% 40% 50% 70%;
    }
}

/* 3D flip reveal */
@keyframes flipReveal {
    0% {
        opacity: 0;
        transform: perspective(1000px) rotateY(-90deg) translateZ(100px);
    }
    100% {
        opacity: 1;
        transform: perspective(1000px) rotateY(0) translateZ(0);
    }
}

/* Elastic pop */
@keyframes elasticPop {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    40% {
        transform: scale(1.15);
    }
    60% {
        transform: scale(0.9);
    }
    80% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* Magnetic hover effect */
@keyframes magneticPull {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(var(--magnet-x, 0), var(--magnet-y, 0));
    }
}

/* Aurora background effect */
@keyframes auroraGlow {
    0%, 100% {
        background-position: 0% 50%;
        filter: hue-rotate(0deg);
    }
    50% {
        background-position: 100% 50%;
        filter: hue-rotate(15deg);
    }
}

/* Text letter by letter reveal */
@keyframes letterReveal {
    0% {
        opacity: 0;
        transform: translateY(40px) rotateX(-90deg);
        filter: blur(8px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotateX(0);
        filter: blur(0);
    }
}

/* Card stack effect */
@keyframes cardStack {
    0% {
        opacity: 0;
        transform: translateY(100px) rotate(8deg) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translateY(0) rotate(0) scale(1);
    }
}

/* Neon glow pulse */
@keyframes neonGlow {
    0%, 100% {
        text-shadow:
            0 0 5px rgba(11, 55, 114, 0.5),
            0 0 10px rgba(11, 55, 114, 0.4),
            0 0 20px rgba(37, 99, 235, 0.3);
    }
    50% {
        text-shadow:
            0 0 10px rgba(11, 55, 114, 0.8),
            0 0 20px rgba(11, 55, 114, 0.6),
            0 0 40px rgba(37, 99, 235, 0.4),
            0 0 60px rgba(37, 99, 235, 0.2);
    }
}

/* Blur reveal */
@keyframes blurReveal {
    0% {
        opacity: 0;
        filter: blur(30px);
        transform: scale(1.2);
    }
    100% {
        opacity: 1;
        filter: blur(0);
        transform: scale(1);
    }
}

/* Particle float */
@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(10px, -15px) rotate(90deg);
    }
    50% {
        transform: translate(-5px, -25px) rotate(180deg);
    }
    75% {
        transform: translate(-15px, -10px) rotate(270deg);
    }
}

/* Typewriter cursor */
@keyframes cursorBlink {
    0%, 50% {
        opacity: 1;
    }
    51%, 100% {
        opacity: 0;
    }
}

/* Wave effect */
@keyframes waveEffect {
    0% {
        transform: translateX(-100%);
    }
    50%, 100% {
        transform: translateX(100%);
    }
}

/* Spotlight effect */
.spotlight-container {
    position: relative;
    overflow: hidden;
}

.spotlight-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(255, 255, 255, 0.15) 0%,
        transparent 25%
    );
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.spotlight-container:hover::before {
    opacity: 1;
}

/* Morphing blob background */
.blob-bg {
    position: absolute;
    width: 500px;
    height: 500px;
    background: linear-gradient(135deg, rgba(11, 55, 114, 0.1) 0%, rgba(37, 99, 235, 0.05) 100%);
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: liquidMorph 8s ease-in-out infinite;
    filter: blur(40px);
    pointer-events: none;
    z-index: -1;
}

/* Animated underline for links */
.animated-underline {
    position: relative;
    display: inline-block;
}

.animated-underline::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s var(--ease-out-expo);
}

.animated-underline:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Glowing border card */
.glow-border {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.glow-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(
        135deg,
        var(--primary) 0%,
        var(--accent) 25%,
        var(--primary-light) 50%,
        var(--accent) 75%,
        var(--primary) 100%
    );
    background-size: 300% 300%;
    border-radius: inherit;
    z-index: -1;
    animation: gradientBorder 4s ease infinite;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.glow-border:hover::before {
    opacity: 1;
}

/* Parallax card tilt */
.parallax-card {
    transform-style: preserve-3d;
    transition: transform 0.5s ease;
}

.parallax-card-content {
    transform: translateZ(50px);
    transition: transform 0.5s ease;
}

/* Staggered list animation */
.stagger-list > * {
    opacity: 0;
    animation: fadeInUp 0.6s var(--ease-out-expo) forwards;
}

.stagger-list > *:nth-child(1) { animation-delay: 0ms; }
.stagger-list > *:nth-child(2) { animation-delay: 80ms; }
.stagger-list > *:nth-child(3) { animation-delay: 160ms; }
.stagger-list > *:nth-child(4) { animation-delay: 240ms; }
.stagger-list > *:nth-child(5) { animation-delay: 320ms; }
.stagger-list > *:nth-child(6) { animation-delay: 400ms; }

/* Animated gradient background */
.gradient-animate {
    background: linear-gradient(
        -45deg,
        rgba(11, 55, 114, 0.05),
        rgba(37, 99, 235, 0.08),
        rgba(11, 55, 114, 0.03),
        rgba(37, 99, 235, 0.06)
    );
    background-size: 400% 400%;
    animation: auroraGlow 15s ease infinite;
}

/* Icon bounce on hover */
.icon-bounce:hover {
    animation: elasticPop 0.6s ease;
}

/* Floating particles */
.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.floating-particles span {
    position: absolute;
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, rgba(11, 55, 114, 0.2), rgba(37, 99, 235, 0.15));
    border-radius: 50%;
    animation: particleFloat 6s ease-in-out infinite;
}

.floating-particles span:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.floating-particles span:nth-child(2) { left: 20%; top: 80%; animation-delay: 1s; }
.floating-particles span:nth-child(3) { left: 60%; top: 40%; animation-delay: 2s; }
.floating-particles span:nth-child(4) { left: 80%; top: 60%; animation-delay: 3s; }
.floating-particles span:nth-child(5) { left: 40%; top: 90%; animation-delay: 4s; }

/* Shine effect on hover */
.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 100%
    );
    transform: rotate(30deg) translateX(-100%);
    transition: none;
}

.shine-effect:hover::after {
    animation: waveEffect 0.8s ease;
}

/* Text scramble effect placeholder */
.text-scramble {
    font-family: monospace;
}

/* Counter flip animation */
@keyframes flipDown {
    0% {
        transform: rotateX(0deg);
    }
    100% {
        transform: rotateX(-180deg);
    }
}

/* Draw SVG animation */
.draw-svg path {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawPath 2s ease forwards;
}

@keyframes drawPath {
    to {
        stroke-dashoffset: 0;
    }
}

/* Hover lift with shadow */
.hover-lift {
    transition: all 0.4s var(--ease-out-expo);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 40px rgba(11, 55, 114, 0.15),
        0 10px 20px rgba(0, 0, 0, 0.05);
}

/* Scale reveal */
.scale-reveal {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s var(--ease-out-expo);
}

.scale-reveal.visible {
    opacity: 1;
    transform: scale(1);
}

/* Clip path reveal */
.clip-reveal {
    clip-path: inset(0 100% 0 0);
    transition: clip-path 0.8s var(--ease-out-expo);
}

.clip-reveal.visible {
    clip-path: inset(0 0 0 0);
}

/* Perspective card */
.perspective-card {
    perspective: 1000px;
}

.perspective-card-inner {
    transition: transform 0.8s;
    transform-style: preserve-3d;
}

.perspective-card:hover .perspective-card-inner {
    transform: rotateY(10deg) rotateX(5deg);
}

/* ===========================================
   ENHANCED COLOR ACCENTS
   =========================================== */

/* Accent color decorations */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(11, 55, 114, 0.1) 20%,
        rgba(37, 99, 235, 0.15) 50%,
        rgba(11, 55, 114, 0.1) 80%,
        transparent 100%
    );
}

/* Color accent shapes */
.color-accent {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    opacity: 0.4;
}

.color-accent-primary {
    background: rgba(11, 55, 114, 0.15);
}

.color-accent-secondary {
    background: rgba(37, 99, 235, 0.12);
}

/* Enhanced gradients with more color */
.section-gradient-hero {
    background:
        radial-gradient(ellipse 100% 60% at 0% 0%, rgba(11, 55, 114, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 80% 50% at 100% 20%, rgba(37, 99, 235, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 50% 100%, rgba(11, 55, 114, 0.04) 0%, transparent 50%),
        linear-gradient(180deg, #F8FAFC 0%, #FFFFFF 40%, #F5F5F7 100%);
}

.section-gradient-light {
    background:
        radial-gradient(ellipse 80% 60% at 10% 90%, rgba(11, 55, 114, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 60% 50% at 90% 20%, rgba(37, 99, 235, 0.05) 0%, transparent 50%),
        linear-gradient(180deg, #FAFAFA 0%, #F5F5F7 100%);
}

.section-gradient-white {
    background:
        radial-gradient(ellipse 100% 80% at 80% 20%, rgba(11, 55, 114, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
        linear-gradient(180deg, #FFFFFF 0%, #FAFAFA 100%);
}

.section-gradient-dark {
    background:
        radial-gradient(ellipse 100% 80% at 20% 0%, rgba(11, 55, 114, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse 80% 60% at 80% 100%, rgba(37, 99, 235, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 50% 50%, rgba(11, 55, 114, 0.2) 0%, transparent 50%),
        linear-gradient(180deg, #1D1D1F 0%, #0a0a0a 100%);
}

/* Cards with subtle color borders */
.feature-card {
    border: 1px solid rgba(11, 55, 114, 0.08);
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(248, 250, 252, 1) 100%
    );
}

.feature-card:hover {
    border-color: rgba(11, 55, 114, 0.15);
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(11, 55, 114, 0.02) 100%
    );
}

/* Feature icon with gradient */
.feature-icon {
    background: linear-gradient(
        135deg,
        rgba(11, 55, 114, 0.08) 0%,
        rgba(37, 99, 235, 0.06) 100%
    );
}

.feature-icon svg {
    stroke: var(--primary);
}

.feature-card:hover .feature-icon {
    background: linear-gradient(
        135deg,
        rgba(11, 55, 114, 0.15) 0%,
        rgba(37, 99, 235, 0.1) 100%
    );
}

/* Process number with accent */
.process-number {
    border: 2px solid rgba(11, 55, 114, 0.15);
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(248, 250, 252, 1) 100%
    );
}

.process-step:hover .process-number {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

/* Service cards with overlay gradient */
.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    transition: all var(--transition);
}

.service-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform var(--transition-slow);
}

.service-card:hover .service-card-bg {
    transform: scale(1.02);
}

.service-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(11, 55, 114, 0) 0%,
        rgba(11, 55, 114, 0.6) 50%,
        rgba(11, 55, 114, 0.95) 100%
    );
    transition: opacity var(--transition);
}

.service-card:hover .service-card-overlay {
    background: linear-gradient(
        180deg,
        rgba(11, 55, 114, 0) 0%,
        rgba(11, 55, 114, 0.7) 40%,
        rgba(11, 55, 114, 0.98) 100%
    );
}

.service-card-content {
    position: relative;
    z-index: 2;
    padding: 40px;
    color: var(--white);
}

.service-card-title {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--white);
}

.service-card-text {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    line-height: 1.6;
}

.service-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    transition: all var(--transition-fast);
}

.service-card-link svg {
    transition: transform var(--transition-fast);
}

.service-card:hover .service-card-link {
    color: var(--white);
}

.service-card:hover .service-card-link svg {
    transform: translateX(4px);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

/* ===========================================
   NEW SERVICE CARDS - Floating SVG Style
   =========================================== */
.services-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.service-card-new {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s var(--ease-out-expo);
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.service-card-new:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(11, 55, 114, 0.15);
}

.service-card-visual {
    position: relative;
    height: 220px;
    background-size: cover;
    background-position: 70% center; /* Décalé vers la droite */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Images de fond pour chaque service - WebP
   Fichiers attendus dans /images/ :
   - fisc-scaled.webp (courtage)
   - court-scaled-1.webp (turpe)
   - fisc3-scaled.webp (fiscalité)
*/
.service-card-new[href="courtage.html"] .service-card-visual {
    background-image: linear-gradient(135deg, rgba(11, 55, 114, 0.7) 0%, rgba(59, 125, 216, 0.6) 100%), url('../images/fisc-scaled.webp');
    background-position: 70% center;
}

.service-card-new[href="turpe.html"] .service-card-visual {
    background-image: linear-gradient(135deg, rgba(11, 55, 114, 0.7) 0%, rgba(59, 125, 216, 0.6) 100%), url('../images/court-scaled-1.webp');
    background-position: 70% center;
}

.service-card-new[href="fiscalite.html"] .service-card-visual {
    background-image: linear-gradient(135deg, rgba(11, 55, 114, 0.7) 0%, rgba(59, 125, 216, 0.6) 100%), url('../images/fisc3-scaled.webp');
    background-position: 70% center;
}

/* Fallback si pas d'image */
.service-card-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(145deg, rgba(11, 55, 114, 0.06) 0%, rgba(59, 125, 216, 0.04) 100%);
    z-index: 0;
}

/* Animated gradient overlay on hover */
.service-card-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(11, 55, 114, 0.1) 0%, rgba(59, 125, 216, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.service-card-new:hover .service-card-visual::after {
    opacity: 1;
}

.service-icon-wrapper {
    width: 88px;
    height: 88px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 40px rgba(11, 55, 114, 0.3);
    z-index: 2;
    transition: transform 0.5s var(--ease-out-expo), box-shadow 0.4s ease;
}

.service-card-new:hover .service-icon-wrapper {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 16px 48px rgba(11, 55, 114, 0.35);
}

.service-icon-wrapper svg {
    width: 40px;
    height: 40px;
    stroke: white;
}

.service-card-body {
    padding: 32px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-new-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 14px;
    letter-spacing: -0.01em;
}

.service-card-new-text {
    font-size: 15px;
    color: var(--grey-dark);
    line-height: 1.7;
    margin-bottom: 24px;
    flex: 1;
}

.service-card-new-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    transition: gap 0.4s var(--ease-out-expo), color 0.3s ease;
}

.service-card-new:hover .service-card-new-link {
    gap: 14px;
    color: var(--primary-dark);
}

.service-card-new-link svg {
    transition: transform 0.4s var(--ease-out-expo);
}

.service-card-new:hover .service-card-new-link svg {
    transform: translateX(6px);
}

/* Mobile styles for service cards */
@media (max-width: 768px) {
    .service-card-new {
        border-radius: 20px;
    }

    .service-card-visual {
        height: 180px;
    }

    .service-icon-wrapper {
        width: 72px;
        height: 72px;
        border-radius: 18px;
    }

    .service-icon-wrapper svg {
        width: 32px;
        height: 32px;
    }

    .service-card-body {
        padding: 24px;
    }

    .service-card-new-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .service-card-new-text {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .service-card-new:hover {
        transform: none;
    }

    .service-card-new:hover .service-icon-wrapper {
        transform: none;
    }
}

@media (max-width: 480px) {
    .service-card-visual {
        height: 160px;
    }

    .service-icon-wrapper {
        width: 64px;
        height: 64px;
        border-radius: 16px;
    }

    .service-icon-wrapper svg {
        width: 28px;
        height: 28px;
    }

    .service-card-body {
        padding: 20px;
    }

    .service-card-new-title {
        font-size: 18px;
    }

    .service-card-new-text {
        font-size: 14px;
        line-height: 1.6;
    }
}

/* ===========================================
   SERVICE CARDS WITH IMAGES - Page Services
   =========================================== */
.services-grid-images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.service-card-image {
    display: flex;
    flex-direction: column;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s var(--ease-out-expo);
    text-decoration: none;
    color: inherit;
}

.service-card-image:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.service-card-image-visual {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.service-card-image-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease-out-expo);
}

.service-card-image:hover .service-card-image-visual img {
    transform: scale(1.08);
}

.service-card-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(11, 55, 114, 0.15) 100%);
    pointer-events: none;
}

.service-card-image-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card-image-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 12px;
}

.service-card-image-text {
    font-size: 15px;
    color: var(--grey-dark);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.service-card-image-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--primary);
    transition: gap 0.3s var(--ease-out-expo);
}

.service-card-image:hover .service-card-image-link {
    gap: 12px;
}

.service-card-image-link svg {
    transition: transform 0.3s var(--ease-out-expo);
}

.service-card-image:hover .service-card-image-link svg {
    transform: translateX(4px);
}

@media (max-width: 1200px) {
    .services-grid-images {
        grid-template-columns: repeat(2, 1fr);
    }

    .services-grid-images .service-card-image:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .services-grid-images {
        grid-template-columns: 1fr;
    }

    .services-grid-images .service-card-image:last-child {
        grid-column: span 1;
        max-width: 100%;
    }

    .service-card-image-visual {
        height: 180px;
    }
}

/* ===========================================
   SERVICE BLOCKS - Alternating Layout
   =========================================== */
.service-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 20px 0;
}

.service-block.reverse {
    direction: rtl;
}

.service-block.reverse > * {
    direction: ltr;
}

.service-block-content {
    max-width: 540px;
}

.service-block-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    box-shadow: 0 8px 24px rgba(11, 55, 114, 0.2);
    transition: transform 0.4s var(--ease-out-expo), box-shadow 0.4s ease;
}

.service-block:hover .service-block-icon {
    transform: scale(1.05) rotate(-3deg);
    box-shadow: 0 12px 32px rgba(11, 55, 114, 0.25);
}

.service-block-icon svg {
    width: 36px;
    height: 36px;
    stroke: white;
}

.service-block-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.service-block-text {
    font-size: 18px;
    color: var(--grey-dark);
    line-height: 1.8;
    margin-bottom: 28px;
}

.service-block-list {
    list-style: none;
    padding: 0;
    margin: 0 0 36px 0;
}

.service-block-list li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 16px;
    font-size: 16px;
    color: var(--grey-dark);
    line-height: 1.6;
    transition: transform 0.3s ease, color 0.3s ease;
}

.service-block-list li:hover {
    transform: translateX(4px);
    color: var(--black);
}

.service-block-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.service-block-list li:hover::before {
    transform: scale(1.2);
}

.service-block-visual {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.service-block-visual .service-card-new {
    max-width: 400px;
    width: 100%;
    transition: transform 0.5s var(--ease-out-expo);
}

.service-block:hover .service-block-visual .service-card-new {
    transform: translateY(-8px) rotateY(-2deg);
}

/* ===========================================
   SERVICE BLOCK CARD - Style identique aux cartes services index
   Avec image de fond, filtre bleu et icône centrée
   =========================================== */
.service-block-card {
    width: 100%;
    max-width: 480px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(11, 55, 114, 0.15);
    transition: transform 0.5s var(--ease-out-expo), box-shadow 0.5s ease;
}

.service-block-card-visual {
    position: relative;
    height: 320px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Images de fond avec filtre bleu pour chaque service */
.service-block-card[data-service="courtage"] .service-block-card-visual {
    background-image: linear-gradient(135deg, rgba(11, 55, 114, 0.7) 0%, rgba(59, 125, 216, 0.6) 100%), url('../images/fisc-scaled.webp');
}

.service-block-card[data-service="turpe"] .service-block-card-visual {
    background-image: linear-gradient(135deg, rgba(11, 55, 114, 0.7) 0%, rgba(59, 125, 216, 0.6) 100%), url('../images/court-scaled-1.webp');
}

.service-block-card[data-service="fiscalite"] .service-block-card-visual {
    background-image: linear-gradient(135deg, rgba(11, 55, 114, 0.7) 0%, rgba(59, 125, 216, 0.6) 100%), url('../images/fisc3-scaled.webp');
}

/* Icône centrale */
.service-block-card-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 16px 48px rgba(11, 55, 114, 0.35);
    z-index: 2;
    transition: transform 0.5s var(--ease-out-expo), box-shadow 0.4s ease;
}

.service-block-card-icon svg {
    width: 48px;
    height: 48px;
    stroke: white;
    stroke-width: 1.5;
}

/* Hover effects */
.service-block:hover .service-block-card {
    transform: translateY(-8px);
    box-shadow: 0 30px 80px rgba(11, 55, 114, 0.2);
}

.service-block:hover .service-block-card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 20px 56px rgba(11, 55, 114, 0.4);
}

/* Animation staggered pour les listes */
.service-block.animate .service-block-list li {
    opacity: 0;
    transform: translateX(-20px);
    animation: slideInLeft 0.5s var(--ease-out-expo) forwards;
}

.service-block.animate .service-block-list li:nth-child(1) { animation-delay: 0.1s; }
.service-block.animate .service-block-list li:nth-child(2) { animation-delay: 0.2s; }
.service-block.animate .service-block-list li:nth-child(3) { animation-delay: 0.3s; }
.service-block.animate .service-block-list li:nth-child(4) { animation-delay: 0.4s; }

@keyframes slideInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Tablet */
@media (max-width: 1024px) {
    .service-block {
        gap: 50px;
    }

    .service-block-title {
        font-size: 30px;
    }

    .service-block-text {
        font-size: 16px;
    }
}

@media (max-width: 968px) {
    .service-block {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0;
    }

    .service-block.reverse {
        direction: ltr;
    }

    .service-block-content {
        max-width: 100%;
        order: 1;
        text-align: center;
    }

    .service-block-icon {
        margin: 0 auto 24px;
    }

    .service-block-list {
        text-align: left;
        max-width: 400px;
        margin: 0 auto 32px;
    }

    .service-block-visual {
        order: 2;
    }

    .service-block-card {
        max-width: 100%;
        border-radius: 16px;
    }

    .service-block-card-visual {
        height: 280px;
    }

    .service-block-card-icon {
        width: 88px;
        height: 88px;
        border-radius: 24px;
    }

    .service-block-card-icon svg {
        width: 42px;
        height: 42px;
    }

    .service-block-title {
        font-size: 28px;
    }

    .service-block-text {
        font-size: 16px;
        line-height: 1.7;
    }

    .service-block .btn {
        width: 100%;
        max-width: 320px;
    }

    /* Disable hover animations on mobile */
    .service-block:hover .service-block-icon,
    .service-block:hover .service-block-visual .service-card-new {
        transform: none;
    }

    .service-block-list li:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .service-block-icon {
        width: 64px;
        height: 64px;
        border-radius: 16px;
        margin-bottom: 20px;
    }

    .service-block-icon svg {
        width: 32px;
        height: 32px;
    }

    .service-block-title {
        font-size: 24px;
        margin-bottom: 16px;
    }

    .service-block-text {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .service-block-list {
        margin-bottom: 28px;
    }

    .service-block-list li {
        font-size: 15px;
        padding-left: 28px;
        margin-bottom: 14px;
    }

    .service-block-list li::before {
        width: 8px;
        height: 8px;
        top: 7px;
    }

    .service-block-visual .service-card-new {
        max-width: 100%;
    }

    .service-block-card {
        border-radius: 14px;
    }

    .service-block-card-visual {
        height: 220px;
    }

    .service-block-card-icon {
        width: 72px;
        height: 72px;
        border-radius: 20px;
    }

    .service-block-card-icon svg {
        width: 36px;
        height: 36px;
    }
}

/* ===========================================
   CONTENT GRID - Page Services Layout
   =========================================== */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.content-grid.reverse {
    direction: rtl;
}

.content-grid.reverse > * {
    direction: ltr;
}

.content-body {
    max-width: 540px;
}

.content-label {
    display: inline-block;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(11, 55, 114, 0.08) 0%, rgba(37, 99, 235, 0.05) 100%);
    border: 1px solid rgba(11, 55, 114, 0.1);
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 20px;
}

.content-title {
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 24px;
    color: var(--black);
}

.content-text {
    font-size: 17px;
    color: var(--grey-dark);
    line-height: 1.7;
    margin-bottom: 20px;
}

.content-list {
    list-style: none;
    padding: 0;
    margin: 28px 0;
}

.content-list li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 0;
    font-size: 16px;
    color: var(--grey-dark);
    border-bottom: 1px solid var(--border);
}

.content-list li:last-child {
    border-bottom: none;
}

.content-list li::before {
    content: '';
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    border-radius: 50%;
    margin-top: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 14px;
}

.content-image {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.content-image img {
    width: 100%;
    height: auto;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-slow);
}

.content-image:hover img {
    transform: scale(1.03);
}

.content-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 60%,
        rgba(11, 55, 114, 0.1) 100%
    );
    pointer-events: none;
}

/* ===========================================
   RESPONSIVE DESIGN - ENHANCED
   =========================================== */
@media (max-width: 1200px) {
    /* Header ajustement grands écrans */
    .header {
        width: calc(100% - 48px);
        max-width: 1100px;
    }

    .features-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .process-grid::before {
        display: none;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stat-item::after {
        display: none;
    }

    .services-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .service-card:last-child {
        grid-column: span 2;
    }

    .services-grid-new {
        grid-template-columns: repeat(2, 1fr);
    }

    .service-card-new:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }

    .content-grid {
        gap: 60px;
    }
}

@media (max-width: 1024px) {
    :root {
        --section-padding: var(--section-padding-tablet);
    }

    /* Header tablet - arrondi pill */
    .header {
        position: fixed !important;
        top: 12px !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        width: calc(100vw - 24px);
        max-width: calc(100vw - 24px);
        height: 64px;
        padding: 0 20px;
        border-radius: 40px;
        border: 1px solid rgba(0, 0, 0, 0.08);
        overflow: visible;
    }

    .header-inner {
        padding: 0;
    }

    .logo {
        font-size: 20px;
        gap: 10px;
    }

    .logo-mark {
        width: 42px;
        height: 42px;
    }

    .nav-list {
        gap: 4px;
    }

    .nav-link {
        padding: 10px 18px;
        font-size: 14px;
    }

    .nav-cta {
        padding: 12px 24px;
        font-size: 14px;
    }

    .hero-inner {
        gap: 40px;
    }

    .hero-inner.with-image {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .hero-alt-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-visual {
        order: 0;
        max-width: 100%;
        margin: 0 auto;
        justify-content: center;
    }

    .floating-cards-right {
        display: none;
    }

    .simulation-window {
        max-width: 500px;
        margin: 0 auto;
        min-width: auto;
        min-height: 420px;
        padding: 24px;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }

    .hero-buttons .btn {
        width: 100%;
        max-width: 320px;
    }

    .hero-stats {
        justify-content: center;
        gap: 40px;
    }

    .hero-stat {
        text-align: center;
    }

    .content-block {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .content-block.reverse {
        direction: ltr;
    }

    .content-text-side {
        max-width: 100%;
        text-align: center;
    }

    /* Content grid responsive */
    .content-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .content-grid.reverse {
        direction: ltr;
    }

    .content-body {
        max-width: 100%;
        text-align: center;
    }

    .content-list li {
        text-align: left;
    }

    .content-image {
        max-width: 500px;
        margin: 0 auto;
    }

    .logos-row {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }

    .step-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .testimonial-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .alt-stats .stat-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta-inline {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 48px;
    }

    .footer-brand {
        grid-column: span 2;
        text-align: center;
        max-width: 100%;
    }

    .footer-logo {
        justify-content: center;
    }

    .services-grid {
        grid-template-columns: 1fr;
        margin-bottom: 40px;
    }

    .service-card:last-child {
        grid-column: span 1;
    }

    .services-grid-new {
        grid-template-columns: 1fr;
        margin-bottom: 40px;
    }

    .service-card-new:last-child {
        grid-column: span 1;
        max-width: 100%;
    }

    .service-card {
        min-height: 320px;
    }
}

/* Old 960px block removed - replaced by enhanced mobile styles at end of file */

@media (max-width: 768px) {
    :root {
        --section-padding: 100px;
        --section-padding-mobile: 100px;
    }

    /* ESPACEMENT SECTIONS MOBILE - Plus d'espace entre les sections */
    .section {
        padding: 100px 0 !important;
    }

    /* Header styles moved to enhanced mobile block at end of file */

    /* Reduce energy background on mobile */
    .hero-energy-bg {
        opacity: 0.5;
    }

    .turbine-2 {
        display: none;
    }

    .turbine-1 .turbine-pole { height: 110px; }
    .turbine-1 .turbine-blades span { height: 46px; }
    .turbine-3 .turbine-pole { height: 130px; }
    .turbine-3 .turbine-blades span { height: 52px; }

    .hero-alt-grid {
        gap: 24px;
    }

    .hero-alt-stats {
        grid-template-columns: repeat(2, minmax(120px, 1fr));
    }

    .section-header {
        margin-bottom: 48px;
    }

    .section-label {
        font-size: 12px;
        padding: 6px 14px;
    }

    .section-subtitle {
        font-size: 17px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 40px;
    }

    .feature-card {
        padding: 32px 24px;
        text-align: left;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 20px;
    }

    .feature-icon {
        width: 56px;
        height: 56px;
        min-width: 56px;
        margin: 0;
        font-size: 24px;
    }

    .feature-card:hover .feature-icon {
        transform: scale(1);
    }

    .feature-title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .feature-text {
        font-size: 14px;
    }

    .stats-grid {
        gap: 16px;
    }

    .stat-item {
        padding: 24px 16px;
    }

    .stat-number {
        font-size: 48px;
    }

    .stat-label {
        font-size: 14px;
    }

    .process-grid {
        grid-template-columns: 1fr;
        gap: 32px;
        overflow: visible;
        margin-bottom: 40px;
    }

    .process-item,
    .process-step {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 20px;
        text-align: left;
        overflow: visible;
    }

    .process-number {
        width: 64px;
        height: 64px;
        min-width: 64px;
        font-size: 24px;
        margin: 0;
        flex-shrink: 0;
    }

    .process-title {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .process-text {
        font-size: 14px;
        max-width: 100%;
    }

    .cta-box {
        padding: 48px 24px;
        border-radius: var(--radius-lg);
    }

    .cta-title {
        font-size: clamp(24px, 6vw, 36px);
    }

    .cta-text {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .cta-buttons .btn {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand {
        grid-column: span 1;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-logo-mark {
        width: 40px;
        height: 40px;
    }

    .footer-logo-name {
        font-size: 20px;
    }

    .footer-column h4 {
        margin-bottom: 20px;
    }

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .hero {
        min-height: auto;
        padding-top: 450px;
        padding-bottom: 52px;
    }

    /* Logo animé mobile - repositionné en haut */
    .hero-logo-bg {
        position: absolute;
        top: 80px;
        left: 50%;
        transform: translateX(-50%);
        width: 300px;
        height: 340px;
        opacity: 0.6;
        z-index: 1;
        animation: logoFloatMobile 20s ease-in-out infinite;
    }

    /* S'assurer que le hero permet l'affichage */
    .hero {
        overflow: visible !important;
    }

    .hero-stats {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 24px;
        margin-top: 48px;
        padding-top: 32px;
    }

    .hero-stat {
        flex: 1 1 calc(50% - 12px);
        min-width: 140px;
        text-align: center;
    }

    .hero-stat-number {
        font-size: 36px;
    }

    .hero-stat-label {
        font-size: 13px;
    }

    .hero-description {
        font-size: 17px;
    }

    .service-card {
        min-height: 280px;
    }

    .service-card-content {
        padding: 28px;
    }

    .service-card-title {
        font-size: 22px;
    }

    .service-card-text {
        font-size: 14px;
        margin-bottom: 16px;
    }

    /* Content grid mobile */
    .content-grid {
        gap: 40px;
    }

    .content-body {
        text-align: left;
    }

    .content-title {
        font-size: clamp(26px, 5vw, 36px);
    }

    .content-text {
        font-size: 16px;
    }

    .content-list {
        margin: 20px 0;
    }

    .content-list li {
        padding: 10px 0;
        font-size: 15px;
    }

    .content-list li::before {
        width: 20px;
        height: 20px;
        background-size: 12px;
    }

    .content-image {
        max-width: 100%;
        border-radius: var(--radius-lg);
    }

    .hero-visual {
        max-width: 100%;
        padding: 0 16px;
    }

    .simulation-window {
        padding: 20px;
        min-height: 380px;
        max-width: 100%;
    }

    .simulation-title {
        font-size: 17px;
    }

    .simulation-eyebrow {
        font-size: 11px;
    }

    .simulation-metrics {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .simulation-metric {
        padding: 14px;
    }

    .simulation-metric-value {
        font-size: 20px;
    }

    .simulation-metric-label,
    .simulation-metric-note {
        font-size: 11px;
    }

    .simulation-graph {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .graph-bar {
        padding: 10px 14px;
    }

    .simulation-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .simulation-cta {
        align-items: flex-start;
        text-align: left;
        width: 100%;
    }

    .simulation-cta span {
        font-size: 12px;
    }

    .logos-row {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    }

    .step-grid,
    .benefit-grid,
    .testimonial-grid,
    .alt-stats .stat-strip {
        grid-template-columns: 1fr;
    }

    /* ESPACEMENT APRÈS LES GRILLES - Espace entre rectangles et section suivante */
    .step-grid,
    .benefit-grid,
    .testimonial-grid {
        margin-bottom: 40px;
    }

    .cta-inline {
        align-items: stretch;
    }

    /* Fewer lines on smaller screens */
    .line:nth-child(n+4) {
        display: none;
    }

    .flow-line {
        display: none;
    }

    /* ================================================
       ESPACEMENT GLOBAL GRILLES MOBILE
       Ajoute de l'espace après les rectangles/cards
       pour éviter qu'ils soient collés au contenu suivant
       ================================================ */
    .features-grid,
    .process-grid,
    .services-grid,
    .services-grid-new,
    .step-grid,
    .benefit-grid,
    .testimonial-grid,
    .stats-grid,
    .faq-grid {
        margin-bottom: 40px !important;
    }
}

@media (max-width: 480px) {
    body {
        font-size: 16px;
    }

    .container {
        padding: 0 16px;
    }

    .section {
        padding: 80px 0 !important;
    }

    .features-grid,
    .process-grid,
    .services-grid,
    .services-grid-new,
    .step-grid,
    .benefit-grid,
    .testimonial-grid,
    .stats-grid,
    .faq-grid {
        margin-bottom: 32px !important;
    }

    /* Header styles moved to enhanced mobile block at end of file */

    .btn {
        padding: 14px 24px;
        font-size: 15px;
    }

    .btn-lg {
        padding: 16px 28px;
        font-size: 16px;
    }

    h1 {
        font-size: clamp(32px, 8vw, 44px);
    }

    h2 {
        font-size: clamp(26px, 6vw, 36px);
    }

    .hero {
        padding-top: 450px !important;
        padding-bottom: 44px;
        overflow: visible !important;
    }

    .hero-logo-bg {
        position: absolute;
        top: 80px;
        left: 50%;
        transform: translateX(-50%);
        width: 280px;
        height: 320px;
        opacity: 0.6;
        z-index: 1;
        animation: logoFloatMobile 20s ease-in-out infinite;
    }

    .hero-label {
        font-size: 13px;
        padding: 8px 14px;
        margin-bottom: 20px;
    }

    .hero-title {
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: 16px;
        margin-bottom: 32px;
    }

    .hero-buttons {
        gap: 10px;
    }

    .hero-stats {
        gap: 16px;
        margin-top: 40px;
        padding-top: 24px;
    }

    .hero-stat {
        flex: 1 1 calc(50% - 8px);
        min-width: 120px;
    }

    .hero-stat-number {
        font-size: 32px;
    }

    .hero-stat-label {
        font-size: 12px;
    }

    .feature-card {
        padding: 24px 20px;
        gap: 16px;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
    }

    .feature-icon svg {
        width: 22px;
        height: 22px;
    }

    .feature-title {
        font-size: 17px;
    }

    .feature-text {
        font-size: 14px;
    }

    .stat-number {
        font-size: 40px;
    }

    .stat-label {
        font-size: 13px;
    }

    .process-item,
    .process-step {
        gap: 16px;
    }

    .process-number {
        width: 52px;
        height: 52px;
        min-width: 52px;
        font-size: 20px;
        flex-shrink: 0;
    }

    .process-title {
        font-size: 18px;
    }

    .cta-box {
        padding: 40px 20px;
    }

    .cta-title {
        font-size: clamp(22px, 5vw, 28px);
    }

    .cta-text {
        font-size: 15px;
    }

    .service-card {
        min-height: 240px;
    }

    .service-card-content {
        padding: 24px;
    }

    .service-card-title {
        font-size: 20px;
        margin-bottom: 8px;
    }

    .service-card-text {
        font-size: 14px;
        margin-bottom: 12px;
    }

    .hero-alt-stats {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        padding: 0;
    }

    .simulation-window {
        padding: 16px;
        min-height: 350px;
        border-radius: 12px;
    }

    .simulation-window-header {
        flex-direction: column;
        gap: 10px;
        margin-bottom: 14px;
    }

    .simulation-title {
        font-size: 16px;
    }

    .simulation-status {
        padding: 6px 10px;
        font-size: 11px;
    }

    .simulation-row {
        padding: 12px 14px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .simulation-label {
        font-size: 11px;
    }

    .simulation-value {
        font-size: 14px;
    }

    .simulation-chip {
        font-size: 10px;
        padding: 4px 8px;
    }

    .simulation-metrics {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .simulation-metric {
        padding: 12px;
    }

    .simulation-metric-value {
        font-size: 18px;
    }

    .simulation-graph {
        gap: 6px;
    }

    .graph-bar {
        padding: 8px 12px;
        font-size: 12px;
    }

    .graph-bar span {
        font-size: 11px;
    }

    .graph-bar strong {
        font-size: 13px;
    }

    .simulation-footer {
        gap: 10px;
        margin-top: 14px;
    }

    .simulation-sparkline {
        gap: 4px;
    }

    .sparkline-point {
        width: 6px;
        height: 6px;
    }

    .simulation-cta {
        gap: 10px;
    }

    .simulation-cta .btn-sm {
        padding: 10px 16px;
        font-size: 13px;
    }

    .form-row.two-cols {
        grid-template-columns: 1fr;
    }

    .cta-inline {
        padding: 22px;
    }

    /* Very minimal lines on mobile */
    .line:nth-child(n+3) {
        display: none;
    }

    .lines-container {
        opacity: 0.5;
    }
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* Print Styles */
@media print {
    .header,
    .footer,
    .cta-box {
        display: none;
    }

    .section {
        page-break-inside: avoid;
        padding: 40px 0;
    }

    .animate {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ===========================================
   MARKET MONITOR WINDOW - Animated Dashboard
   =========================================== */
.market-window {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    max-width: 360px;
    margin: 0 auto;
}

.market-window-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(180deg, #f8f8f8 0%, #f0f0f0 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.market-window-dots {
    display: flex;
    gap: 6px;
}

.market-window-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.market-window-dot:nth-child(1) { background: #FF5F56; }
.market-window-dot:nth-child(2) { background: #FFBD2E; }
.market-window-dot:nth-child(3) { background: #27CA3F; }

.market-window-title {
    flex: 1;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: var(--grey);
    margin-right: 44px;
}

.market-window-content {
    padding: 20px;
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}

.market-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.market-live-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--success);
    background: rgba(52, 199, 89, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
}

.market-live-dot {
    width: 6px;
    height: 6px;
    background: var(--success);
    border-radius: 50%;
    animation: livePulse 1.5s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

.market-date {
    font-size: 11px;
    color: var(--grey);
}

/* Market Chart */
.market-chart {
    height: 100px;
    margin-bottom: 16px;
    position: relative;
    background: linear-gradient(180deg, rgba(11, 55, 114, 0.02) 0%, transparent 100%);
    border-radius: 8px;
    overflow: hidden;
}

.market-chart-line {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    height: 60px;
}

.market-chart-line svg {
    width: 100%;
    height: 100%;
}

.market-chart-path {
    fill: none;
    stroke: var(--primary);
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 300;
    stroke-dashoffset: 300;
}

.market-window.animate-in .market-chart-path {
    animation: drawLine 2s ease-out forwards;
}

.market-chart-area {
    fill: url(#chartGradient);
    opacity: 0;
}

.market-window.animate-in .market-chart-area {
    animation: fadeInArea 1s ease-out 1.5s forwards;
}

@keyframes drawLine {
    to { stroke-dashoffset: 0; }
}

@keyframes fadeInArea {
    to { opacity: 0.3; }
}

.market-chart-labels {
    position: absolute;
    bottom: 0;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    font-size: 9px;
    color: var(--grey);
}

/* Market Prices Grid */
.market-prices {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.market-price-card {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    padding: 12px;
    opacity: 0;
    transform: translateY(10px);
}

.market-window.animate-in .market-price-card:nth-child(1) {
    animation: cardSlideIn 0.4s ease-out 0.3s forwards;
}
.market-window.animate-in .market-price-card:nth-child(2) {
    animation: cardSlideIn 0.4s ease-out 0.5s forwards;
}
.market-window.animate-in .market-price-card:nth-child(3) {
    animation: cardSlideIn 0.4s ease-out 0.7s forwards;
}
.market-window.animate-in .market-price-card:nth-child(4) {
    animation: cardSlideIn 0.4s ease-out 0.9s forwards;
}

@keyframes cardSlideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.market-price-label {
    font-size: 10px;
    color: var(--grey);
    margin-bottom: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.market-price-label svg {
    width: 12px;
    height: 12px;
}

.market-price-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--black);
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.market-price-unit {
    font-size: 11px;
    font-weight: 500;
    color: var(--grey);
}

.market-price-change {
    font-size: 10px;
    font-weight: 600;
    margin-top: 2px;
}

.market-price-change.up { color: var(--success); }
.market-price-change.down { color: var(--error); }

/* Providers Ticker */
.market-providers {
    background: var(--white);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 10px;
    padding: 10px 12px;
    overflow: hidden;
}

.market-providers-label {
    font-size: 9px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--grey);
    margin-bottom: 8px;
}

.market-providers-ticker {
    display: flex;
    gap: 16px;
    animation: tickerScroll 15s linear infinite;
}

.market-provider {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 500;
    color: var(--grey-dark);
    white-space: nowrap;
}

.market-provider-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary);
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Responsive */
@media (max-width: 768px) {
    .market-window-content {
        padding: 14px;
    }

    .market-prices {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .market-price-value {
        font-size: 16px;
    }

    .market-chart {
        height: 80px;
    }
}

/* ===========================================
   SIMPLIFY WINDOW - Process Dashboard
   =========================================== */
.simplify-window {
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.08);
    max-width: 360px;
    margin: 0 auto;
}

.simplify-window-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(180deg, #f8f8f8 0%, #f0f0f0 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.simplify-window-dots {
    display: flex;
    gap: 6px;
}

.simplify-window-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.simplify-window-dot:nth-child(1) { background: #FF5F56; }
.simplify-window-dot:nth-child(2) { background: #FFBD2E; }
.simplify-window-dot:nth-child(3) { background: #27CA3F; }

.simplify-window-title {
    flex: 1;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: var(--grey);
    margin-right: 44px;
}

.simplify-window-content {
    padding: 20px;
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}

/* ===========================================
   ACCOMPAGNEMENT VISUAL - Floating Cards
   =========================================== */
.accomp-visual {
    position: relative;
    max-width: 360px;
    margin: 0 auto;
    padding: 40px 20px;
}

.accomp-main-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    z-index: 2;
    box-shadow: 0 20px 40px rgba(11, 55, 114, 0.25);
}

.accomp-main-icon {
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.accomp-main-icon svg {
    width: 28px;
    height: 28px;
    stroke: white;
}

.accomp-main-value {
    font-size: 48px;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 8px;
}

.accomp-main-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
}

/* Floating benefit cards */
.accomp-float-card {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    font-size: 13px;
    font-weight: 500;
    color: var(--grey-dark);
    z-index: 3;
    opacity: 0;
    transform: translateY(20px);
}

.accomp-float-icon {
    width: 24px;
    height: 24px;
    background: rgba(52, 199, 89, 0.1);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.accomp-float-icon svg {
    width: 14px;
    height: 14px;
    stroke: var(--success);
}

.accomp-float-1 {
    top: 20px;
    right: -20px;
}

.accomp-float-2 {
    bottom: 80px;
    left: -30px;
}

.accomp-float-3 {
    bottom: 20px;
    right: -10px;
}

/* Animations */
.content-visual.revealed .accomp-float-1,
.accomp-visual.animate-in .accomp-float-1 {
    animation: floatCardIn 0.5s ease-out 0.3s forwards;
}

.content-visual.revealed .accomp-float-2,
.accomp-visual.animate-in .accomp-float-2 {
    animation: floatCardIn 0.5s ease-out 0.5s forwards;
}

.content-visual.revealed .accomp-float-3,
.accomp-visual.animate-in .accomp-float-3 {
    animation: floatCardIn 0.5s ease-out 0.7s forwards;
}

@keyframes floatCardIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive - Accomp Visual */
@media (max-width: 960px) {
    .accomp-visual {
        padding: 30px;
        max-width: 400px;
        margin: 0 auto;
    }

    /* Reposition floating cards so they don't overlap main card */
    .accomp-float-1 {
        top: 0;
        right: 0;
    }

    .accomp-float-2 {
        bottom: 60px;
        left: 0;
    }

    .accomp-float-3 {
        bottom: 0;
        right: 20px;
    }
}

@media (max-width: 768px) {
    /* Switch to stacked layout on mobile */
    .accomp-visual {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 0;
        max-width: 100%;
        overflow: visible;
    }

    .accomp-main-card {
        padding: 32px 24px;
        border-radius: 16px;
        order: 1;
    }

    .accomp-main-value {
        font-size: 40px;
    }

    .accomp-main-label {
        font-size: 14px;
    }

    .accomp-float-card {
        position: static !important;
        opacity: 1 !important;
        transform: none !important;
        width: 100%;
        justify-content: flex-start;
        padding: 14px 18px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        background: white;
        border-radius: 12px;
    }

    .accomp-float-1,
    .accomp-float-2,
    .accomp-float-3 {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
    }

    .accomp-float-1 { order: 2; }
    .accomp-float-2 { order: 3; }
    .accomp-float-3 { order: 4; }

    .content-visual.revealed .accomp-float-1,
    .content-visual.revealed .accomp-float-2,
    .content-visual.revealed .accomp-float-3,
    .accomp-visual.animate-in .accomp-float-1,
    .accomp-visual.animate-in .accomp-float-2,
    .accomp-visual.animate-in .accomp-float-3 {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (max-width: 480px) {
    .accomp-main-card {
        padding: 28px 20px;
    }

    .accomp-main-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 16px;
    }

    .accomp-main-value {
        font-size: 36px;
    }

    .accomp-main-label {
        font-size: 13px;
    }

    .accomp-float-card {
        padding: 12px 16px;
        font-size: 14px;
    }

    .accomp-float-icon {
        width: 28px;
        height: 28px;
    }

    .accomp-float-icon svg {
        width: 16px;
        height: 16px;
    }
}


/* Responsive */
@media (max-width: 768px) {
    .simplify-window-content {
        padding: 14px;
    }

    .simplify-comparison {
        gap: 8px;
    }

    .simplify-before, .simplify-after {
        padding: 10px;
    }
}

/* ===========================================
   RESPONSIVE OVERRIDES FOR INLINE STYLES
   =========================================== */

/* Override inline grid styles at tablet */
@media (max-width: 1024px) {
    /* Force 2 columns for grids with inline 3-column styles */
    .features-grid[style*="repeat(3"],
    .stats-grid[style*="repeat(3"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Content grid to single column */
    .content-grid,
    .content-block {
        grid-template-columns: 1fr !important;
        gap: 48px;
    }

    .content-grid.reverse {
        direction: ltr;
    }

    .content-grid.reverse > * {
        direction: ltr;
    }

    /* Center content on single column */
    .content-body {
        text-align: center;
    }

    .content-body .content-title {
        text-align: center;
    }

    /* Content visual full width */
    .content-visual,
    .content-image {
        max-width: 500px;
        margin: 0 auto;
    }

    /* Hero grid adjustments */
    .hero-alt-grid {
        grid-template-columns: 1fr !important;
        gap: 40px;
    }

    .hero-alt-content {
        text-align: center;
    }

    .hero-alt-content .hero-buttons {
        justify-content: center;
    }
}

/* Override inline grid styles at mobile */
@media (max-width: 768px) {
    /* Force single column for all feature grids */
    .features-grid[style*="repeat(3"],
    .features-grid[style*="repeat(2"],
    .features-grid {
        grid-template-columns: 1fr !important;
    }

    /* Force 2 columns max for stats grids */
    .stats-grid[style*="repeat(3"],
    .stats-grid[style*="repeat(2"] {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Process grid single column */
    .process-grid {
        grid-template-columns: 1fr !important;
    }

    .content-grid {
        gap: 32px;
    }

    .content-body {
        text-align: left;
    }

    .content-visual {
        order: -1;
    }

    .market-window {
        max-width: 100%;
    }

    .accomp-visual {
        max-width: 100%;
    }

    .services-grid,
    .services-grid-new {
        grid-template-columns: 1fr !important;
    }

    .service-card:last-child,
    .service-card-new:last-child {
        grid-column: span 1 !important;
        max-width: 100% !important;
    }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
    /* Stats single column on very small screens */
    .stats-grid[style*="repeat(3"],
    .stats-grid[style*="repeat(2"],
    .stats-grid {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }

    .stat-item {
        padding: 20px 16px;
    }

    .stat-number {
        font-size: 36px;
    }

    /* Feature cards compact */
    .feature-card {
        padding: 20px 16px;
        gap: 14px;
    }

    /* Process items compact */
    .process-item {
        gap: 14px;
    }

    .process-number {
        width: 48px;
        height: 48px;
        min-width: 48px;
        font-size: 18px;
    }

    .process-title {
        font-size: 16px;
    }

    .process-text {
        font-size: 13px;
    }

    /* Content adjustments */
    .content-title {
        font-size: clamp(24px, 5vw, 32px);
    }

    .content-text {
        font-size: 15px;
    }

    /* CTA compact */
    .cta-box-modern {
        padding: 28px 20px;
        border-radius: 16px;
    }

    .cta-modern-badge {
        padding: 6px 12px;
        font-size: 12px;
    }

    .cta-modern-title {
        font-size: 22px;
    }

    .cta-modern-text {
        font-size: 14px;
    }

    .cta-modern-btn {
        padding: 14px 20px;
        font-size: 14px;
        border-radius: 12px;
    }

    /* Section header compact */
    .section-header {
        margin-bottom: 40px;
    }

    .section-title {
        font-size: clamp(26px, 6vw, 36px);
    }

    .section-subtitle {
        font-size: 15px;
    }

    /* Footer compact */
    .footer {
        padding: 60px 0 32px;
    }

    .footer-grid {
        gap: 32px;
        margin-bottom: 40px;
    }

    .footer-description {
        font-size: 14px;
    }

    .footer-column h4 {
        font-size: 12px;
        margin-bottom: 16px;
    }

    .footer-links a {
        font-size: 14px;
    }

    .footer-bottom {
        padding-top: 24px;
        gap: 16px;
    }

    .footer-copyright {
        font-size: 12px;
    }

    .footer-social a {
        width: 40px;
        height: 40px;
    }

    /* Hero compact - MAIS garder espace pour logo animé */
    .hero {
        padding-top: 420px !important;
        padding-bottom: 40px;
        overflow: visible !important;
    }

    .hero-logo-bg {
        top: 75px;
        width: 260px;
        height: 300px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}

/* ===========================================
   MOBILE MENU - FINAL VERSION
   =========================================== */

@media (max-width: 960px) {
    /* ===== HEADER MOBILE ===== */
    .header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 70px !important;
        border-radius: 0 !important;
        margin: 0 !important;
        transform: none !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border: none !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05) !important;
        z-index: 10000 !important;
        padding: 0 !important;
    }

    .header.scrolled {
        background: rgba(255, 255, 255, 0.99) !important;
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08) !important;
    }

    .header-inner {
        height: 100% !important;
        padding: 0 16px !important;
        max-width: 100% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 12px !important;
    }

    /* Body padding for fixed header */
    body {
        padding-top: 70px !important;
    }

    body.menu-open {
        overflow: hidden !important;
    }

    /* ===== HIDE DESKTOP CTA ===== */
    .nav-cta-desktop {
        display: none !important;
    }

    /* ===== LOGO MOBILE ===== */
    .logo {
        gap: 10px !important;
        flex-shrink: 0 !important;
    }

    .logo-mark {
        width: 42px !important;
        height: 42px !important;
    }

    .logo-name {
        font-size: 18px !important;
    }

    .logo-sub {
        font-size: 10px !important;
    }

    /* ===== MENU TOGGLE BUTTON ===== */
    .menu-toggle {
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        width: 44px !important;
        height: 44px !important;
        padding: 10px !important;
        gap: 5px !important;
        background: rgba(11, 55, 114, 0.06) !important;
        border: none !important;
        border-radius: 10px !important;
        cursor: pointer !important;
        transition: all 0.2s ease !important;
        flex-shrink: 0 !important;
    }

    .menu-toggle:hover {
        background: rgba(11, 55, 114, 0.1) !important;
    }

    .menu-toggle span {
        display: block !important;
        width: 20px !important;
        height: 2px !important;
        background: var(--primary) !important;
        border-radius: 2px !important;
        transition: all 0.3s ease !important;
    }

    .menu-toggle.active {
        background: var(--primary) !important;
    }

    .menu-toggle.active span {
        background: white !important;
    }

    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px) !important;
    }

    .menu-toggle.active span:nth-child(2) {
        opacity: 0 !important;
    }

    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px) !important;
    }

    /* ===== MOBILE NAVIGATION PANEL ===== */
    .nav {
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: calc(100vh - 70px) !important;
        background: #ffffff !important;
        display: none !important;
        flex-direction: column !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow-y: auto !important;
        z-index: 9999 !important;
        opacity: 0 !important;
        transform: translateY(-10px) !important;
        transition: opacity 0.3s ease, transform 0.3s ease !important;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
    }

    .nav.active {
        display: flex !important;
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    /* ===== NAV LIST ===== */
    .nav-list {
        display: flex !important;
        flex-direction: column !important;
        list-style: none !important;
        margin: 0 !important;
        padding: 16px !important;
        gap: 0 !important;
        width: 100% !important;
    }

    .nav-list > li {
        width: 100% !important;
    }

    /* ===== REGULAR NAV LINKS (Accueil, À propos) ===== */
    .nav-list > li > .nav-link {
        display: block !important;
        font-size: 17px !important;
        font-weight: 600 !important;
        color: #1a1a2e !important;
        padding: 14px 16px !important;
        border-radius: 10px !important;
        text-decoration: none !important;
        transition: background 0.2s ease !important;
        background: transparent !important;
    }

    .nav-list > li > .nav-link:hover {
        background: rgba(11, 55, 114, 0.05) !important;
    }

    .nav-link::before {
        display: none !important;
    }

    /* ===== DROPDOWN SECTION ===== */
    .nav-item-dropdown {
        width: 100% !important;
        position: relative !important;
    }

    /* "Nos Services" label */
    .nav-link-dropdown {
        display: block !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        color: #9ca3af !important;
        text-transform: uppercase !important;
        letter-spacing: 1px !important;
        padding: 20px 16px 8px 16px !important;
        pointer-events: none !important;
        background: transparent !important;
    }

    .dropdown-arrow {
        display: none !important;
    }

    /* ===== DROPDOWN MENU - ALWAYS VISIBLE ===== */
    .dropdown-menu {
        position: static !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        pointer-events: auto !important;
        max-height: none !important;
        overflow: visible !important;
        top: auto !important;
        left: auto !important;
    }

    .dropdown-menu::before,
    .dropdown-menu::after {
        display: none !important;
        content: none !important;
    }

    /* Service links (Courtage, TURPE, Fiscalité) */
    .dropdown-link {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        padding: 12px 14px !important;
        margin: 0 !important;
        border-radius: 10px !important;
        background: rgba(11, 55, 114, 0.04) !important;
        text-decoration: none !important;
        transition: background 0.2s ease !important;
    }

    .dropdown-link:hover {
        background: rgba(11, 55, 114, 0.08) !important;
        transform: none !important;
    }

    .dropdown-link-icon {
        width: 40px !important;
        height: 40px !important;
        min-width: 40px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #ffffff !important;
        border-radius: 8px !important;
        box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06) !important;
    }

    .dropdown-link-icon svg {
        width: 18px !important;
        height: 18px !important;
        color: var(--primary) !important;
    }

    .dropdown-link-text {
        display: flex !important;
        flex-direction: column !important;
        gap: 2px !important;
    }

    .dropdown-link-title {
        font-size: 15px !important;
        font-weight: 600 !important;
        color: #1a1a2e !important;
    }

    .dropdown-link-desc {
        font-size: 12px !important;
        color: #6b7280 !important;
    }

    /* ===== CONTACT BUTTON IN MOBILE MENU ===== */
    /* Caché par défaut */
    .nav .nav-cta {
        display: none !important;
    }

    /* Visible uniquement quand le menu est ouvert */
    .nav.active .nav-cta {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        margin: 20px 16px !important;
        padding: 14px 24px !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        text-align: center !important;
        color: #ffffff !important;
        background: linear-gradient(135deg, #0B3772 0%, #2563eb 100%) !important;
        border-radius: 10px !important;
        text-decoration: none !important;
        box-shadow: 0 4px 12px rgba(11, 55, 114, 0.25) !important;
        transition: all 0.2s ease !important;
        width: auto !important;
        position: relative !important;
    }

    .nav.active .nav-cta:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 6px 16px rgba(11, 55, 114, 0.3) !important;
    }

    /* ===== HERO & SECTION ADJUSTMENTS ===== */
    .hero-page {
        padding-top: 120px !important;
        padding-bottom: 60px !important;
    }

    .hero {
        min-height: calc(100vh - 70px) !important;
        padding-top: 60px !important;
    }

    .section {
        padding: 60px 0 !important;
    }
}

/* Mobile smaller screens (max-width: 768px) */
@media (max-width: 768px) {
    /* Smaller header on small screens */
    .header {
        height: 64px !important;
    }

    .nav {
        top: 64px !important;
        height: calc(100vh - 64px) !important;
    }

    body {
        padding-top: 64px !important;
    }

    /* Hero pages - smaller padding */
    .hero-page {
        padding-top: 100px;
        padding-bottom: 50px;
    }

    .hero {
        min-height: calc(100vh - 64px);
        padding-top: 450px !important;
        padding-bottom: 48px;
        overflow: visible !important;
    }

    .hero-logo-bg {
        position: absolute;
        top: 80px;
        left: 50%;
        transform: translateX(-50%);
        width: 280px;
        height: 320px;
        opacity: 0.6;
        z-index: 1;
    }

    .hero-description {
        margin-bottom: 32px;
        line-height: 1.7;
    }

    /* Section improvements */
    .section {
        padding: 60px 0;
    }

    .section-header {
        margin-bottom: 48px;
    }

    .section-title {
        font-size: clamp(28px, 7vw, 40px);
        margin-bottom: 16px;
    }

    .section-subtitle {
        font-size: 16px;
        line-height: 1.7;
    }

    .section-label {
        margin-bottom: 16px;
    }

    /* Container spacing */
    .container {
        padding: 0 20px;
    }

    /* Cards grid */
    .features-grid,
    .services-grid {
        gap: 20px;
    }

    .process-grid {
        gap: 32px;
    }

    .feature-card,
    .service-card {
        padding: 28px 24px;
    }

    /* Process steps spacing */
    .process-item,
    .process-step {
        gap: 20px;
        margin-bottom: 8px;
    }

    .process-title {
        margin-bottom: 8px;
    }

    .process-text {
        line-height: 1.6;
    }

    /* CTA section spacing */
    .cta-box {
        padding: 48px 28px;
    }

    .cta-title {
        margin-bottom: 16px;
    }

    .cta-text {
        margin-bottom: 32px;
        line-height: 1.7;
    }

    /* Footer mobile */
    .footer {
        padding: 64px 0 32px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-column {
        text-align: center;
    }

    .footer-column h4 {
        margin-bottom: 20px;
    }

    .footer-links li {
        margin-bottom: 14px;
    }

    .footer-brand {
        text-align: center;
    }

    .footer-brand p {
        line-height: 1.7;
        margin-top: 16px;
    }

    .footer-logo {
        justify-content: center;
    }

    .footer-bottom {
        margin-top: 40px;
        padding-top: 24px;
    }

    /* Animations mobile - reduced motion for performance */
    .animate {
        animation-duration: 0.6s !important;
    }

    .animate.delay-1 {
        animation-delay: 0.1s !important;
    }

    .animate.delay-2 {
        animation-delay: 0.2s !important;
    }

    .animate.delay-3 {
        animation-delay: 0.3s !important;
    }

    /* Reduce transform animations on mobile */
    .feature-card:hover,
    .service-card:hover {
        transform: translateY(-4px) !important;
    }

    /* Stats spacing */
    .hero-stats {
        margin-top: 40px;
        padding-top: 32px;
        gap: 24px;
    }

    .hero-stat {
        padding: 8px 0;
    }
}

/* Small mobile (max-width: 480px) */
@media (max-width: 480px) {
    .header {
        height: 60px !important;
    }

    .header-inner {
        padding: 0 14px !important;
    }

    .logo-mark {
        width: 36px !important;
        height: 36px !important;
    }

    .logo-name {
        font-size: 16px !important;
    }

    .logo-sub {
        display: none !important;
    }

    .menu-toggle {
        width: 40px !important;
        height: 40px !important;
        padding: 9px !important;
    }

    .nav {
        top: 60px !important;
        height: calc(100vh - 60px) !important;
    }

    body {
        padding-top: 60px !important;
    }

    /* Hero pages - mobile padding */
    .hero-page {
        padding-top: 90px !important;
        padding-bottom: 40px !important;
    }

    .hero {
        min-height: calc(100vh - 60px);
        padding-top: 420px !important;
        padding-bottom: 40px;
        overflow: visible !important;
    }

    .hero-logo-bg {
        top: 75px;
        width: 260px;
        height: 300px;
    }

    /* Section spacing */
    .section {
        padding: 48px 0;
    }

    .section-header {
        margin-bottom: 36px;
    }

    .container {
        padding: 0 16px;
    }

    /* Hero mobile */
    .hero-title {
        font-size: clamp(26px, 8vw, 36px);
        margin-bottom: 20px;
        line-height: 1.2;
    }

    .hero-description {
        font-size: 16px;
        margin-bottom: 28px;
        line-height: 1.7;
    }

    .hero-text {
        font-size: 15px;
        margin-bottom: 28px;
        line-height: 1.7;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 14px;
    }

    .hero-buttons .btn {
        width: 100%;
        padding: 18px 24px;
        font-size: 16px;
    }

    /* Stats mobile - more spacing */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 16px;
    }

    .stat-item {
        padding: 24px 18px;
    }

    .stat-number {
        font-size: 30px;
        margin-bottom: 6px;
    }

    .stat-label {
        font-size: 13px;
        line-height: 1.4;
    }

    /* Hero stats */
    .hero-stats {
        margin-top: 36px;
        padding-top: 28px;
        gap: 20px;
    }

    .hero-stat-number {
        font-size: 28px;
        margin-bottom: 4px;
    }

    .hero-stat-label {
        font-size: 12px;
        line-height: 1.3;
    }

    /* Feature cards mobile - more padding */
    .feature-card {
        padding: 24px 20px;
        flex-direction: row;
        align-items: flex-start;
        gap: 18px;
        text-align: left;
    }

    .feature-icon {
        width: 50px;
        height: 50px;
        min-width: 50px;
    }

    .feature-icon svg {
        width: 24px;
        height: 24px;
    }

    .feature-title {
        font-size: 17px;
        margin-bottom: 8px;
    }

    .feature-text {
        font-size: 14px;
        line-height: 1.6;
    }

    /* Process grid mobile - more spacing */
    .process-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .process-grid::before {
        display: none;
    }

    .process-step {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 18px;
        text-align: left;
        padding: 24px 20px;
        background: white;
        border-radius: 16px;
        box-shadow: var(--shadow-sm);
    }

    .process-number {
        width: 50px;
        height: 50px;
        min-width: 50px;
        font-size: 18px;
        margin: 0;
    }

    .process-content {
        flex: 1;
    }

    .process-title {
        font-size: 17px;
        margin-bottom: 8px;
    }

    .process-text {
        font-size: 14px;
        margin: 0;
        line-height: 1.6;
    }

    /* CTA box mobile - more padding */
    .cta-box {
        padding: 40px 24px;
        border-radius: 20px;
    }

    .cta-title {
        font-size: 24px;
        margin-bottom: 14px;
    }

    .cta-text {
        font-size: 15px;
        margin-bottom: 28px;
        line-height: 1.6;
    }

    .cta-box-modern {
        padding: 40px 24px;
        border-radius: 20px;
    }

    .cta-modern-title {
        font-size: 24px;
        margin-bottom: 12px;
    }

    .cta-modern-text {
        font-size: 15px;
        line-height: 1.6;
        margin-bottom: 24px;
    }

    .cta-modern-btn {
        width: 100%;
        padding: 18px 24px;
    }

    .cta-buttons {
        gap: 14px;
    }

    .cta-buttons .btn {
        padding: 18px 24px;
    }

    /* Footer mobile - more spacing */
    .footer {
        padding: 56px 0 28px;
    }

    .footer-grid {
        gap: 36px;
    }

    .footer-logo-mark {
        width: 48px;
        height: 48px;
    }

    .footer-description {
        font-size: 14px;
        line-height: 1.7;
        margin-top: 16px;
    }

    .footer-column h4 {
        font-size: 13px;
        margin-bottom: 18px;
    }

    .footer-links li {
        margin-bottom: 12px;
    }

    .footer-links a {
        font-size: 14px;
    }

    .footer-bottom {
        margin-top: 36px;
        padding-top: 20px;
    }

    /* Animations - faster on mobile */
    .animate {
        animation-duration: 0.5s !important;
    }

    .animate.delay-1 {
        animation-delay: 0.08s !important;
    }

    .animate.delay-2 {
        animation-delay: 0.15s !important;
    }

    /* Disable hover transforms on touch */
    .feature-card:hover,
    .service-card:hover,
    .process-step:hover {
        transform: none !important;
    }

    /* Service cards mobile */
    .service-card {
        padding: 28px 22px;
    }

    .service-card-title {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .service-card-text {
        font-size: 14px;
        line-height: 1.6;
    }

    .footer-links a {
        font-size: 14px;
        padding: 6px 0;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-copyright {
        font-size: 12px;
    }

    /* Content blocks mobile */
    .content-block,
    .content-grid,
    .service-block {
        grid-template-columns: 1fr !important;
        gap: 32px;
    }

    .content-block.reverse,
    .service-block.reverse {
        direction: ltr;
    }

    /* Hero alt adjustments */
    .hero-alt-grid {
        grid-template-columns: 1fr !important;
        gap: 32px;
    }

    .hero-alt-content {
        text-align: center;
    }

    .hero-alt-stats {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    /* Process grid mobile */
    .process-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }

    .process-step,
    .process-item {
        padding: 24px;
        text-align: left;
    }

    .process-number {
        width: 48px;
        height: 48px;
        font-size: 20px;
        margin: 0 0 16px 0;
    }

    /* Features grid mobile */
    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 16px;
    }

    .feature-card {
        padding: 24px 20px;
    }

    .feature-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 16px;
    }

    .feature-title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .feature-text {
        font-size: 14px;
        line-height: 1.6;
    }

    /* Market window mobile */
    .market-window {
        border-radius: 16px;
    }

    .market-window-header {
        padding: 10px 14px;
    }

    .market-window-content {
        padding: 16px;
    }

    .market-prices {
        grid-template-columns: 1fr !important;
        gap: 10px;
    }

    .market-price-card {
        padding: 14px;
    }

    .market-price-value {
        font-size: 20px;
    }

    /* CTA box mobile */
    .cta-box-modern {
        padding: 32px 20px;
        border-radius: 20px;
    }

    .cta-modern-content {
        text-align: center;
    }

    .cta-modern-actions {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .cta-modern-btn {
        width: 100%;
        justify-content: center;
        padding: 16px 20px;
    }

    /* Faster animations on mobile */
    .animate {
        transition-duration: 0.4s !important;
    }

    .delay-1 { animation-delay: 0.1s !important; }
    .delay-2 { animation-delay: 0.15s !important; }
    .delay-3 { animation-delay: 0.2s !important; }
}

/* Extra small mobile (max-width: 360px) */
@media (max-width: 360px) {
    .header {
        height: 56px !important;
    }

    .header-inner {
        padding: 0 10px !important;
    }

    .logo-mark {
        width: 32px !important;
        height: 32px !important;
    }

    .logo-name {
        font-size: 15px !important;
    }

    .menu-toggle {
        width: 38px !important;
        height: 38px !important;
        padding: 8px !important;
    }

    .nav {
        top: 56px !important;
        height: calc(100vh - 56px) !important;
    }

    body {
        padding-top: 56px !important;
    }

    .hero-title {
        font-size: 24px !important;
    }

    .section-title {
        font-size: 22px !important;
    }

    .stat-number {
        font-size: 22px !important;
    }

    .hero-alt-stats {
        grid-template-columns: 1fr !important;
    }
}

/* ===========================================
   HERO BACKGROUNDS - Pages de Services
   Images de fond en NOIR ET BLANC avec filtre bleu
   =========================================== */

/* Base commune pour les pages de service */
.page-courtage .section-gradient-hero.hero-page,
.page-turpe .section-gradient-hero.hero-page,
.page-fiscalite .section-gradient-hero.hero-page {
    position: relative !important;
    background: #0b3772 !important; /* Fallback bleu */
    min-height: 500px;
    overflow: hidden !important;
}

/* Image de fond en NOIR ET BLANC via ::after */
.page-courtage .section-gradient-hero.hero-page::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: url('../images/fisc-scaled.webp') center center / cover no-repeat !important;
    filter: grayscale(100%) !important;
    z-index: 0 !important;
    pointer-events: none !important;
}

.page-turpe .section-gradient-hero.hero-page::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: url('../images/court-scaled-1.webp') center center / cover no-repeat !important;
    filter: grayscale(100%) !important;
    z-index: 0 !important;
    pointer-events: none !important;
}

.page-fiscalite .section-gradient-hero.hero-page::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: url('../images/fisc3-scaled.webp') center center / cover no-repeat !important;
    filter: grayscale(100%) !important;
    z-index: 0 !important;
    pointer-events: none !important;
}

/* Overlay bleu PAR-DESSUS l'image noir et blanc */
.page-courtage .section-gradient-hero.hero-page::before,
.page-turpe .section-gradient-hero.hero-page::before,
.page-fiscalite .section-gradient-hero.hero-page::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(135deg, rgba(11, 55, 114, 0.65) 0%, rgba(59, 125, 216, 0.5) 100%) !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

/* Contenu au-dessus de l'overlay */
.page-courtage .hero-page .container,
.page-turpe .hero-page .container,
.page-fiscalite .hero-page .container {
    position: relative !important;
    z-index: 2 !important;
}

/* Textes en blanc sur fond image */
.page-courtage .hero-page .section-label,
.page-turpe .hero-page .section-label,
.page-fiscalite .hero-page .section-label {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.page-courtage .hero-page .section-title,
.page-turpe .hero-page .section-title,
.page-fiscalite .hero-page .section-title {
    color: #ffffff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.page-courtage .hero-page .section-subtitle,
.page-turpe .hero-page .section-subtitle,
.page-fiscalite .hero-page .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.2);
}

/* Boutons sur fond sombre */
.page-courtage .hero-page .btn-primary,
.page-turpe .hero-page .btn-primary,
.page-fiscalite .hero-page .btn-primary {
    background: #ffffff;
    color: var(--primary);
    border: none;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.page-courtage .hero-page .btn-primary:hover,
.page-turpe .hero-page .btn-primary:hover,
.page-fiscalite .hero-page .btn-primary:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
}

/* ===========================================
   RESPONSIVE - Hero backgrounds
   =========================================== */

@media (max-width: 960px) {
    .page-courtage .hero-page,
    .page-turpe .hero-page,
    .page-fiscalite .hero-page {
        min-height: 450px;
        padding-top: 140px;
        padding-bottom: 60px;
    }

    .page-courtage .hero-page .section-title,
    .page-turpe .hero-page .section-title,
    .page-fiscalite .hero-page .section-title {
        font-size: clamp(28px, 6vw, 42px);
    }

    .page-courtage .hero-page .section-subtitle,
    .page-turpe .hero-page .section-subtitle,
    .page-fiscalite .hero-page .section-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .page-courtage .hero-page,
    .page-turpe .hero-page,
    .page-fiscalite .hero-page {
        min-height: 400px;
        padding-top: 120px;
        padding-bottom: 50px;
        background-position: 60% center;
    }

    .page-courtage .hero-page .section-title,
    .page-turpe .hero-page .section-title,
    .page-fiscalite .hero-page .section-title {
        font-size: clamp(24px, 5vw, 34px);
    }

    .page-courtage .hero-page .section-subtitle,
    .page-turpe .hero-page .section-subtitle,
    .page-fiscalite .hero-page .section-subtitle {
        font-size: 15px;
        line-height: 1.6;
    }

    .page-courtage .hero-page .btn-primary,
    .page-turpe .hero-page .btn-primary,
    .page-fiscalite .hero-page .btn-primary {
        padding: 14px 24px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .page-courtage .hero-page,
    .page-turpe .hero-page,
    .page-fiscalite .hero-page {
        min-height: 380px;
        padding-top: 100px;
        padding-bottom: 40px;
        background-position: 65% center;
    }

    .page-courtage .hero-page .section-title,
    .page-turpe .hero-page .section-title,
    .page-fiscalite .hero-page .section-title {
        font-size: clamp(22px, 5vw, 28px);
        line-height: 1.2;
    }

    .page-courtage .hero-page .section-subtitle,
    .page-turpe .hero-page .section-subtitle,
    .page-fiscalite .hero-page .section-subtitle {
        font-size: 14px;
        line-height: 1.5;
    }

    .page-courtage .hero-page .section-label,
    .page-turpe .hero-page .section-label,
    .page-fiscalite .hero-page .section-label {
        font-size: 11px;
        padding: 6px 12px;
    }

    .page-courtage .hero-page .btn-primary,
    .page-turpe .hero-page .btn-primary,
    .page-fiscalite .hero-page .btn-primary {
        padding: 12px 20px;
        font-size: 14px;
    }
}

