/* =========================================
   VARIABLES & RESET (NEON TECH)
   ========================================= */
:root {
    /* Brand Colors - Modern Neon Blue */
    --brand-primary: #00b4d8;
    /* Cyan/Electric Blue */
    --brand-dark: #03045e;
    /* Deep Navy */
    --brand-accent: #0077b6;
    /* Mid Blue */

    /* Neon Glows */
    --neon-glow: 0 0 15px rgba(0, 180, 216, 0.4);
    --neon-text: 0 0 1px rgba(0, 180, 216, 0.2);

    /* Neutrals */
    --bg-white: #ffffff;
    --bg-light: #f3f6fa;
    /* Very light cool grey */
    --text-main: #1a2a3a;
    --text-muted: #586e82;

    /* Layout */
    --max-width: 1200px;
    --radius: 12px;
    /* Modern rounded corners */
}

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

html {
    /* scroll-behavior handled by Lenis smooth-engine */
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-main);
    background: #ffffff;
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
    padding-top: 0;
}

/* Body blobs removed */
body::before,
body::after {
    display: none;
    content: none;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: 'Montserrat', sans-serif;
    color: var(--brand-dark);
    font-weight: 700;
}

/* Gradient Text for Modern Tech Feel with Shimmer Effect - BOOSTED COLORS */
.text-gradient {
    background: linear-gradient(90deg,
            var(--brand-dark) 0%,
            var(--brand-primary) 30%,
            #00b4d8 50%,
            var(--brand-primary) 70%,
            var(--brand-dark) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShimmer 4s ease-in-out 2;
    font-weight: 800;
    /* Bolder for more visibility */
}

@keyframes textShimmer {
    0% {
        background-position: 100% 50%;
    }

    50% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 100% 50%;
    }
}

a {
    text-decoration: none;
    transition: 0.3s;
    color: inherit;
}

ul {
    list-style: none;
}



/* =========================================
   UTILITIES
   ========================================= */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Updated Colors - No Gold */
.text-primary {
    color: var(--brand-primary);
}

.text-white {
    color: white !important;
}

.bg-light {
    background-color: var(--bg-light);
}

.bg-dark {
    background-color: var(--brand-dark);
}

.text-center {
    text-align: center;
}

/* =========================================
   SECTION SPACING (Clean, no overlap)
   ========================================= */
.section-padding {
    padding: 80px 0;
    position: relative;
    z-index: 1;
    background: transparent;
}

.divider {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-primary), transparent);
    margin: 15px auto 25px;
    border-radius: 2px;
}

/* All gradient-section classes now transparent — body gradient shows through */
.gradient-section,
.gradient-white-to-light,
.gradient-light,
.gradient-light-to-cyan,
.gradient-cyan-to-light,
.gradient-light-to-white {
    background: transparent !important;
}

/* Standard Visible Buttons */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--brand-accent), var(--brand-primary));
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 119, 182, 0.3);
    border: none;
    transition: all 0.3s;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 180, 216, 0.5);
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-accent));
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    border: 2px solid var(--brand-primary);
    color: var(--brand-primary);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background-color: var(--brand-primary);
    color: white;
    box-shadow: 0 0 15px rgba(0, 180, 216, 0.4);
}

.btn-link {
    color: var(--brand-accent);
    font-weight: 600;
    margin-left: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-link:hover {
    color: var(--brand-primary);
    text-shadow: 0 0 5px rgba(0, 180, 216, 0.2);
}

/* Chart Controls */
.chart-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
}

.time-btn {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 180, 216, 0.3);
    color: var(--brand-dark);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.time-btn:hover {
    background: rgba(0, 180, 216, 0.1);
    transform: translateY(-1px);
}

.time-btn.active {
    background: var(--brand-primary);
    color: white;
    border-color: var(--brand-primary);
    box-shadow: 0 2px 8px rgba(0, 180, 216, 0.3);
}

.market-disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 10px;
    opacity: 0.7;
}


/* =========================================
   STOCK TICKER (MAG 7)
   ========================================= */
/* =========================================
   STOCK TICKER (DOUBLE DECKER)
   ========================================= */
.double-ticker-wrapper {
    width: 100%;
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    /* Space between rows */
    position: relative;
    overflow: hidden;
    mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
    -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.ticker-track-left,
.ticker-track-right {
    display: inline-flex;
    flex-direction: row;
    flex-wrap: nowrap;
    white-space: nowrap;
    /* CRITICAL: Force horizontal */
    box-sizing: border-box;
    will-change: transform;
}

/* Ensure items never wrap/shrink */
.ticker-track-left>*,
.ticker-track-right>* {
    flex-shrink: 0;
    flex-grow: 0;
}

.ticker-track-left {
    animation: ticker-left 60s linear infinite;
}

.ticker-track-right {
    animation: ticker-right 60s linear infinite;
}

/* Hover Pauses */
.ticker-track-left:hover,
.ticker-track-right:hover {
    animation-play-state: paused;
}

/* Ticker Items (Enhanced) */
.ticker-item.large {
    display: inline-flex;
    align-items: center;
    margin-right: 50px;
    /* More spacing */
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.ticker-item.large:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
    border-color: rgba(0, 180, 216, 0.5);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.ticker-item.large img {
    width: 35px;
    /* Large Logos */
    height: 35px;
    margin-right: 15px;
    border-radius: 8px;
    object-fit: contain;
    background: #fff;
    padding: 3px;
}

.ticker-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.ticker-item.large .ticker-name {
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.ticker-item.large .ticker-price {
    font-size: 0.9rem;
    font-weight: 500;
}

.ticker-price.text-up {
    color: var(--success-color);
}

.ticker-price.text-down {
    color: var(--danger-color);
}

/* Animations */
@keyframes ticker-left {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

@keyframes ticker-right {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0);
    }
}

/* =========================================
   CYCLE ÉCONOMIQUE V5 (PREMIUM)
   ========================================= */

#cycle-economique {
    background: transparent;
    border-radius: 0;
    margin-left: 0;
    margin-right: 0;
    overflow: hidden;
    position: relative;
}

/* Floating Decorative Orbs */
.floating-orb {
    position: absolute;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.15), rgba(72, 202, 228, 0.08));
    filter: blur(40px);
    z-index: 0;
    animation: none;
}

.orb-1 {
    width: 300px;
    height: 300px;
    top: 10%;
    left: -5%;
    animation-delay: 0s;
}

.orb-2 {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 5%;
    animation-delay: 2s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    bottom: 10%;
    left: 30%;
    animation-delay: 4s;
}

@keyframes floatOrb {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-30px) scale(1.05);
        opacity: 0.9;
    }
}

/* Premium Section Header */
.cycle-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.1), rgba(0, 180, 216, 0.05));
    border: 1px solid rgba(0, 180, 216, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: 20px;
}

.section-badge i {
    width: 16px;
    height: 16px;
}

.cycle-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand-primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
}

.cycle-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

.cycle-layout-v2 {
    display: flex;
    justify-content: center;
    padding: 40px 0;
    overflow: visible;
}

.radar-wrapper {
    position: relative;
    width: 580px;
    height: 580px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

/* 1. Radar Beam Animation (Underneath & Adaptive) */
.radar-core {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 50%;
    background: white;
    overflow: visible;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    z-index: 2;
    /* CORE ON TOP */
}

/*
   The Rotating Beam (Halo)
   Positioned relative to wrapper to sit behind core.
*/
.radar-wrapper::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    /* Slightly larger halo */
    border-radius: 50%;

    /*
       Fixed Gradient: "Leading" Beam
       Starts at 0deg (Top) and fills CLOCKWISE into the current sector.
       This ensures visual alignment with the rotation angle.
    */
    background: conic-gradient(from 0deg,
            currentColor 0%,
            rgba(255, 255, 255, 0) 25%,
            transparent 100%);

    z-index: 1;
    /* BEAM BEHIND CORE */

    animation:
        radarSpin 12s linear infinite,
        beamColor 12s linear infinite;

    filter: blur(20px);
    /* Soft diffuse glow */
    opacity: 0.8;
}

/* Remove old core beam if any */
.radar-core::after {
    display: none;
}


/* Color Animation: Hard Stops to match Sectors Exactly */
@keyframes beamColor {

    /* 0-25%: Expansion (Top-Right) -> Cyan */
    0% {
        color: #00b4d8;
    }

    24% {
        color: #00b4d8;
    }

    /* 25-50%: Surchauffe (Bottom-Right) -> Orange */
    25% {
        color: #ff9f43;
    }

    49% {
        color: #ff9f43;
    }

    /* 50-75%: Recession (Bottom-Left) -> Mauve */
    50% {
        color: #03045e;
    }

    74% {
        color: #03045e;
    }

    /* 75-100%: Reprise (Top-Left) -> Green */
    75% {
        color: #00c896;
    }

    99% {
        color: #00c896;
    }

    100% {
        color: #00b4d8;
    }
}

@keyframes radarSpin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.radar-core::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.05);
    z-index: 2;
    pointer-events: none;
}

/* 2. Quadrants — 3D Hockey Puck Style */
.radar-quadrant {
    position: absolute;
    width: 50%;
    height: 50%;
    cursor: pointer;
    transition:
        transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
        box-shadow 0.5s cubic-bezier(0.16, 1, 0.3, 1),
        filter 0.4s ease;
    opacity: 1;
    z-index: 1;
    transform-style: preserve-3d;

    display: flex;
    align-items: center;
    justify-content: center;

    /* Glass surface */
    border: 1px solid rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);

    /* Hockey puck: thick stacked edge + hard shadow */
    box-shadow:
        /* top surface gloss */
        inset 0 3px 6px rgba(255, 255, 255, 0.7),
        inset 0 -2px 4px rgba(0, 0, 0, 0.06),
        /* thick puck edge — 8 layers for ~16px thickness */
        0 2px 0 0 rgba(0, 70, 130, 0.12),
        0 4px 0 0 rgba(0, 65, 120, 0.11),
        0 6px 0 0 rgba(0, 60, 115, 0.10),
        0 8px 0 0 rgba(0, 55, 110, 0.09),
        0 10px 0 0 rgba(0, 50, 100, 0.07),
        0 12px 0 0 rgba(0, 45, 95, 0.06),
        0 14px 0 0 rgba(0, 40, 90, 0.04),
        0 16px 0 0 rgba(0, 35, 80, 0.03),
        /* floor shadow */
        0 22px 44px -6px rgba(0, 40, 100, 0.18);
}

/* Positioning & Colors */
.radar-quadrant[data-phase="expansion"] {
    top: 0;
    right: 0;
    border-radius: 0 100% 0 0;
    background: linear-gradient(135deg,
        rgba(0, 180, 216, 0.12) 0%,
        rgba(0, 180, 216, 0.28) 40%,
        rgba(0, 180, 216, 0.40) 100%);
    border-left: 1px solid rgba(255, 255, 255, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        inset 0 3px 6px rgba(255, 255, 255, 0.7),
        inset 0 -2px 4px rgba(0, 0, 0, 0.06),
        0 2px 0 0 rgba(0, 150, 195, 0.15),
        0 4px 0 0 rgba(0, 140, 185, 0.14),
        0 6px 0 0 rgba(0, 130, 175, 0.12),
        0 8px 0 0 rgba(0, 120, 165, 0.10),
        0 10px 0 0 rgba(0, 110, 155, 0.08),
        0 12px 0 0 rgba(0, 100, 145, 0.06),
        0 14px 0 0 rgba(0, 90, 135, 0.04),
        0 16px 0 0 rgba(0, 80, 125, 0.03),
        0 22px 44px -6px rgba(0, 120, 180, 0.18);
}

.radar-quadrant[data-phase="surchauffe"] {
    bottom: 0;
    right: 0;
    border-radius: 0 0 100% 0;
    background: linear-gradient(225deg,
        rgba(245, 158, 11, 0.12) 0%,
        rgba(245, 158, 11, 0.28) 40%,
        rgba(230, 126, 34, 0.40) 100%);
    border-left: 1px solid rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        inset 0 3px 6px rgba(255, 255, 255, 0.7),
        inset 0 -2px 4px rgba(0, 0, 0, 0.06),
        0 2px 0 0 rgba(200, 110, 20, 0.15),
        0 4px 0 0 rgba(190, 100, 18, 0.14),
        0 6px 0 0 rgba(180, 95, 16, 0.12),
        0 8px 0 0 rgba(170, 88, 14, 0.10),
        0 10px 0 0 rgba(160, 80, 12, 0.08),
        0 12px 0 0 rgba(150, 75, 10, 0.06),
        0 14px 0 0 rgba(140, 68, 8, 0.04),
        0 16px 0 0 rgba(130, 60, 6, 0.03),
        0 22px 44px -6px rgba(180, 100, 20, 0.18);
}

.radar-quadrant[data-phase="recession"] {
    bottom: 0;
    left: 0;
    border-radius: 0 0 0 100%;
    background: linear-gradient(315deg,
        rgba(123, 44, 191, 0.12) 0%,
        rgba(123, 44, 191, 0.25) 40%,
        rgba(80, 20, 140, 0.38) 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        inset 0 3px 6px rgba(255, 255, 255, 0.7),
        inset 0 -2px 4px rgba(0, 0, 0, 0.06),
        0 2px 0 0 rgba(110, 35, 175, 0.15),
        0 4px 0 0 rgba(105, 33, 168, 0.14),
        0 6px 0 0 rgba(100, 30, 160, 0.12),
        0 8px 0 0 rgba(92, 28, 150, 0.10),
        0 10px 0 0 rgba(85, 25, 140, 0.08),
        0 12px 0 0 rgba(78, 22, 130, 0.06),
        0 14px 0 0 rgba(70, 20, 120, 0.04),
        0 16px 0 0 rgba(60, 16, 110, 0.03),
        0 22px 44px -6px rgba(100, 30, 160, 0.18);
}

.radar-quadrant[data-phase="reprise"] {
    top: 0;
    left: 0;
    border-radius: 100% 0 0 0;
    background: linear-gradient(45deg,
        rgba(16, 185, 129, 0.12) 0%,
        rgba(16, 185, 129, 0.28) 40%,
        rgba(0, 150, 100, 0.40) 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.4);
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        inset 0 3px 6px rgba(255, 255, 255, 0.7),
        inset 0 -2px 4px rgba(0, 0, 0, 0.06),
        0 2px 0 0 rgba(14, 160, 110, 0.15),
        0 4px 0 0 rgba(12, 150, 100, 0.14),
        0 6px 0 0 rgba(10, 140, 92, 0.12),
        0 8px 0 0 rgba(9, 130, 85, 0.10),
        0 10px 0 0 rgba(8, 120, 78, 0.08),
        0 12px 0 0 rgba(6, 110, 70, 0.06),
        0 14px 0 0 rgba(5, 100, 62, 0.04),
        0 16px 0 0 rgba(4, 90, 55, 0.03),
        0 22px 44px -6px rgba(10, 140, 95, 0.18);
}

/* 3. Hover — lift the puck up */
.radar-quadrant:hover {
    z-index: 5;
    transform: scale(1.05) translateY(-4px);
    filter: brightness(1.08);
    border-color: rgba(255, 255, 255, 0.9);
}

/* Hover = puck lifts higher — edge grows */
.radar-quadrant[data-phase="expansion"]:hover {
    box-shadow:
        inset 0 4px 8px rgba(255, 255, 255, 0.8),
        0 3px 0 0 rgba(0, 160, 200, 0.18),
        0 6px 0 0 rgba(0, 150, 190, 0.16),
        0 9px 0 0 rgba(0, 140, 180, 0.14),
        0 12px 0 0 rgba(0, 130, 170, 0.11),
        0 15px 0 0 rgba(0, 120, 160, 0.08),
        0 18px 0 0 rgba(0, 110, 150, 0.06),
        0 21px 0 0 rgba(0, 100, 140, 0.04),
        0 24px 0 0 rgba(0, 90, 130, 0.02),
        0 30px 60px -6px rgba(0, 150, 200, 0.22);
}
.radar-quadrant[data-phase="surchauffe"]:hover {
    box-shadow:
        inset 0 4px 8px rgba(255, 255, 255, 0.8),
        0 3px 0 0 rgba(210, 120, 20, 0.18),
        0 6px 0 0 rgba(200, 115, 18, 0.16),
        0 9px 0 0 rgba(190, 108, 16, 0.14),
        0 12px 0 0 rgba(180, 100, 14, 0.11),
        0 15px 0 0 rgba(170, 92, 12, 0.08),
        0 18px 0 0 rgba(160, 85, 10, 0.06),
        0 21px 0 0 rgba(150, 78, 8, 0.04),
        0 24px 0 0 rgba(140, 70, 6, 0.02),
        0 30px 60px -6px rgba(200, 115, 20, 0.22);
}
.radar-quadrant[data-phase="recession"]:hover {
    box-shadow:
        inset 0 4px 8px rgba(255, 255, 255, 0.8),
        0 3px 0 0 rgba(120, 40, 180, 0.18),
        0 6px 0 0 rgba(115, 38, 175, 0.16),
        0 9px 0 0 rgba(108, 35, 168, 0.14),
        0 12px 0 0 rgba(100, 32, 160, 0.11),
        0 15px 0 0 rgba(92, 28, 150, 0.08),
        0 18px 0 0 rgba(85, 25, 140, 0.06),
        0 21px 0 0 rgba(78, 22, 130, 0.04),
        0 24px 0 0 rgba(70, 18, 120, 0.02),
        0 30px 60px -6px rgba(115, 38, 175, 0.22);
}
.radar-quadrant[data-phase="reprise"]:hover {
    box-shadow:
        inset 0 4px 8px rgba(255, 255, 255, 0.8),
        0 3px 0 0 rgba(16, 170, 115, 0.18),
        0 6px 0 0 rgba(14, 160, 108, 0.16),
        0 9px 0 0 rgba(12, 150, 100, 0.14),
        0 12px 0 0 rgba(10, 140, 92, 0.11),
        0 15px 0 0 rgba(9, 130, 85, 0.08),
        0 18px 0 0 rgba(8, 120, 78, 0.06),
        0 21px 0 0 rgba(6, 110, 70, 0.04),
        0 24px 0 0 rgba(5, 100, 62, 0.02),
        0 30px 60px -6px rgba(14, 160, 108, 0.22);
}

/* Active — pressed down + glow */
.radar-quadrant.active {
    z-index: 10;
    transform: scale(1.12) translateY(-6px);
    filter: brightness(1.15);
    border-color: rgba(255, 255, 255, 1);
}

.radar-quadrant[data-phase="expansion"].active {
    box-shadow:
        inset 0 4px 10px rgba(255, 255, 255, 0.9),
        0 3px 0 0 rgba(0, 170, 210, 0.20),
        0 6px 0 0 rgba(0, 160, 200, 0.18),
        0 9px 0 0 rgba(0, 150, 190, 0.15),
        0 12px 0 0 rgba(0, 140, 180, 0.12),
        0 15px 0 0 rgba(0, 130, 170, 0.09),
        0 18px 0 0 rgba(0, 120, 160, 0.06),
        0 21px 0 0 rgba(0, 110, 150, 0.04),
        0 24px 0 0 rgba(0, 100, 140, 0.02),
        0 32px 64px -6px rgba(0, 160, 210, 0.25),
        0 0 40px rgba(0, 180, 216, 0.18);
}
.radar-quadrant[data-phase="surchauffe"].active {
    box-shadow:
        inset 0 4px 10px rgba(255, 255, 255, 0.9),
        0 3px 0 0 rgba(220, 130, 20, 0.20),
        0 6px 0 0 rgba(210, 122, 18, 0.18),
        0 9px 0 0 rgba(200, 115, 16, 0.15),
        0 12px 0 0 rgba(190, 108, 14, 0.12),
        0 15px 0 0 rgba(180, 100, 12, 0.09),
        0 18px 0 0 rgba(170, 92, 10, 0.06),
        0 21px 0 0 rgba(160, 85, 8, 0.04),
        0 24px 0 0 rgba(150, 78, 6, 0.02),
        0 32px 64px -6px rgba(210, 122, 20, 0.25),
        0 0 40px rgba(245, 158, 11, 0.18);
}
.radar-quadrant[data-phase="recession"].active {
    box-shadow:
        inset 0 4px 10px rgba(255, 255, 255, 0.9),
        0 3px 0 0 rgba(130, 45, 190, 0.20),
        0 6px 0 0 rgba(122, 42, 182, 0.18),
        0 9px 0 0 rgba(115, 38, 175, 0.15),
        0 12px 0 0 rgba(108, 35, 168, 0.12),
        0 15px 0 0 rgba(100, 32, 160, 0.09),
        0 18px 0 0 rgba(92, 28, 150, 0.06),
        0 21px 0 0 rgba(85, 25, 140, 0.04),
        0 24px 0 0 rgba(78, 22, 130, 0.02),
        0 32px 64px -6px rgba(122, 42, 182, 0.25),
        0 0 40px rgba(155, 89, 182, 0.18);
}
.radar-quadrant[data-phase="reprise"].active {
    box-shadow:
        inset 0 4px 10px rgba(255, 255, 255, 0.9),
        0 3px 0 0 rgba(16, 175, 118, 0.20),
        0 6px 0 0 rgba(14, 165, 110, 0.18),
        0 9px 0 0 rgba(12, 155, 102, 0.15),
        0 12px 0 0 rgba(10, 145, 95, 0.12),
        0 15px 0 0 rgba(9, 135, 88, 0.09),
        0 18px 0 0 rgba(8, 125, 80, 0.06),
        0 21px 0 0 rgba(6, 115, 72, 0.04),
        0 24px 0 0 rgba(5, 105, 65, 0.02),
        0 32px 64px -6px rgba(14, 165, 110, 0.25),
        0 0 40px rgba(16, 185, 129, 0.18);
}

/* Maintain shape when popped */
.radar-quadrant[data-phase="expansion"].active {
    border-radius: 0 100% 0 0;
}

.radar-quadrant[data-phase="surchauffe"].active {
    border-radius: 0 0 100% 0;
}

.radar-quadrant[data-phase="recession"].active {
    border-radius: 0 0 0 100%;
}

.radar-quadrant[data-phase="reprise"].active {
    border-radius: 100% 0 0 0;
}

.radar-quadrant[data-phase="expansion"] .quadrant-label {
    color: #0077b6;
}

/* Dark Cyan */
.radar-quadrant[data-phase="surchauffe"] .quadrant-label {
    color: #d35400;
}

/* Dark Orange */
.radar-quadrant[data-phase="recession"] .quadrant-label {
    color: #7b2cbf;
}

/* Vivid Purple (Fixed from Blue) */
.radar-quadrant[data-phase="reprise"] .quadrant-label {
    color: #006b5f;
}

/* Deep Green */

/* Quadrant Content (Bubble + Label) - Centered in each section */
.quadrant-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    text-align: center;
}

/* "Alive" Icons: Gentle Float Animation */
@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

.icon-bubble {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-primary);
    margin-bottom: 8px;
    transition: 0.3s;

    /* Animation to tempt clicks */
    animation: floatIcon 3s ease-in-out 2;
}

/* Stagger animations so they don't bob all at once */
.radar-quadrant:nth-child(1) .icon-bubble {
    animation-delay: 0s;
}

.radar-quadrant:nth-child(2) .icon-bubble {
    animation-delay: 0.5s;
}

.radar-quadrant:nth-child(3) .icon-bubble {
    animation-delay: 1s;
}

.radar-quadrant:nth-child(4) .icon-bubble {
    animation-delay: 1.5s;
}

/* On hover, icon scales up slightly */
.radar-quadrant:hover .icon-bubble {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    background: white;
}

/* 4. Central Hub — 3D Puck (ALWAYS on top) */
.radar-center-glass {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 230px;
    height: 230px;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 1) 0%,
        rgba(248, 252, 255, 0.98) 60%,
        rgba(240, 248, 255, 0.96) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50%;
    border: 1.5px solid rgba(255, 255, 255, 0.95);
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 25px;

    /* 3D hockey puck — thick edge + deep shadow */
    box-shadow:
        /* top reflection */
        inset 0 4px 8px rgba(255, 255, 255, 0.95),
        inset 0 -2px 4px rgba(0, 60, 120, 0.04),
        /* thick puck edge — 8 layers */
        0 2px 0 0 rgba(0, 50, 100, 0.08),
        0 4px 0 0 rgba(0, 48, 96, 0.07),
        0 6px 0 0 rgba(0, 45, 90, 0.06),
        0 8px 0 0 rgba(0, 42, 85, 0.05),
        0 10px 0 0 rgba(0, 40, 80, 0.04),
        0 12px 0 0 rgba(0, 38, 75, 0.035),
        0 14px 0 0 rgba(0, 35, 70, 0.03),
        0 16px 0 0 rgba(0, 32, 65, 0.025),
        /* ambient shadow */
        0 24px 50px -5px rgba(0, 40, 100, 0.18);
}

.center-content {
    text-align: center;
}

.center-content h3 {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 8px;
    line-height: 1.2;
}

.center-content p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

/* Dynamic Gradient Text Colors for Center Title */
.text-gradient-expansion {
    background: linear-gradient(135deg, #00b4d8, #0077b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-surchauffe {
    background: linear-gradient(135deg, #ff9f43, #d35400);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-recession {
    background: linear-gradient(135deg, #9b59b6, #5b2c82);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-reprise {
    background: linear-gradient(135deg, #10ac84, #006b5f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =========================================
   HEADER & NAV
   ========================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    /* Glass effect */
    height: 90px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 180, 216, 0.1);
    transition: top 0.35s ease, height 0.3s ease, box-shadow 0.3s ease;
}
.logo-img {
    transition: height 0.3s ease;
}


/* Shrink navbar on scroll (mobile) */
@media (max-width: 900px) {
    .navbar.nav-shrink {
        height: 50px;
        box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    }
    .navbar.nav-shrink .logo-img {
        height: 32px;
    }
}

.nav-container {
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-img {
    height: 65px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    font-weight: 600;
    color: var(--brand-dark);
    font-size: 0.95rem;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--brand-primary);
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-nav {
    background: linear-gradient(160deg, #00b4d8 0%, #0077b6 40%, #00a8cc 70%, #00d4ff 100%);
    color: white !important;
    padding: 10px 24px;
    border-radius: 50px;
    border: none;
    outline: none;
}

.btn-nav:hover {
    background: linear-gradient(160deg, #00d4ff 0%, #00b4d8 40%, #0077b6 70%, #00a8cc 100%);
    box-shadow: var(--neon-glow);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--brand-dark);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: white;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    padding: 80px 40px;
    gap: 25px;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1100;
}

.mobile-menu.active {
    transform: translateX(0);
}

.menu-close {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--brand-dark);
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
    padding: 100px 0;
    /* Transparent bg to let body glows show through */
    background: transparent;
    overflow: visible;
}

/* Hero Grid - Superimposed Glass Card */
.hero-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    /* Adjusted ratio */
    gap: 60px;
    align-items: center;

    /* Card Styling */
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 60px;
    border-radius: 40px;
    box-shadow:
        0 40px 100px rgba(0, 180, 216, 0.15),
        /* Deep ambient glow */
        0 10px 30px rgba(0, 0, 0, 0.05),
        /* Sharp shadow */
        inset 0 0 0 1px rgba(255, 255, 255, 0.8);
    /* Edge highlight */
    border: 1px solid rgba(255, 255, 255, 0.5);
    margin: 40px auto;
    position: relative;
    z-index: 10;
}

/* Add a subtle shine to the whole card */
.hero-grid::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    border-radius: 40px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, transparent 40%);
    pointer-events: none;
}

.hero-text h1 {
    font-size: 3.2rem;
    line-height: 1.15;
    margin-bottom: 25px;
}

.hero-label {
    display: inline-block;
    padding: 6px 12px;
    background-color: rgba(0, 180, 216, 0.1);
    color: var(--brand-dark);
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 20px;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.hero-text p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 550px;
}

/* =========================================
   STATS SECTION
   ========================================= */
.stats-section {
    padding: 60px 0;
    margin-top: -50px;
    /* Overlap Hero slightly */
    position: relative;
    z-index: 20;
    background: transparent;
}

.stats-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.stat-item {
    flex: 1;
    min-width: 200px;
    text-align: center;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--brand-primary);
    margin-bottom: 5px;
    background: linear-gradient(135deg, var(--brand-dark), var(--brand-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-item p {
    font-weight: 600;
    color: var(--text-muted);
    font-size: 1.1rem;
}

.hero-actions {
    /* Standard flow */
}

/* Photo Placeholder Box (Modern Tech Style) */
.image-placeholder {
    width: 100%;
    /* Increased height for commanding presence */
    height: 600px;
    background-color: white;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--brand-primary);
    border: 1px solid rgba(0, 180, 216, 0.2);
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 119, 182, 0.1);
}

.image-placeholder::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    background: conic-gradient(from 0deg, transparent, rgba(0, 180, 216, 0.1));
    animation: none;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.image-placeholder i,
.image-placeholder p {
    z-index: 10;
    background: white;
    padding: 10px;
    border-radius: 10px;
}

/* =========================================
   SERVICES V3 (ACCORDION + IMAGE LAYOUT)
   ========================================= */
.services-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 50/50 Split */
    gap: 60px;
    align-items: start;
    margin-top: 50px;
}

@media (max-width: 900px) {
    .services-layout {
        grid-template-columns: 1fr;
    }

    .services-image {
        order: -1;
        margin-bottom: 40px;
    }
}

/* --- Accordion V2 (PREMIUM) --- */
.services-accordion {
    display: flex;
    flex-direction: column;
    gap: 12px;
    /* Separated cards instead of borders */
}

.accordion-item {
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 24px 28px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
    overflow: hidden;
}

/* Hover: Lift + Glow */
.accordion-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0, 180, 216, 0.12);
    border-color: rgba(0, 180, 216, 0.3);
}

/* Active: Accent Border + Bright Glow */
.accordion-item.active {
    background: white;
    border-color: var(--brand-primary);
    box-shadow:
        0 15px 40px rgba(0, 180, 216, 0.15),
        inset 0 0 0 2px rgba(0, 180, 216, 0.1);
    transform: translateY(-2px);
}

/* Gradient Accent Bar (Left Edge) */
.accordion-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, var(--brand-primary), #48cae4);
    border-radius: 16px 0 0 16px;
    opacity: 0;
    transition: opacity 0.3s;
}

.accordion-item.active::before {
    opacity: 1;
}

.accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin: 0;
    transition: color 0.3s, transform 0.3s;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Icon Badge */
.accordion-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-primary);
    flex-shrink: 0;
    transition: all 0.3s;
}

.accordion-item:hover .accordion-icon {
    background: var(--brand-primary);
    color: white;
    transform: scale(1.05);
}

.accordion-item.active .accordion-icon {
    background: var(--brand-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(0, 180, 216, 0.3);
}

.accordion-item.active .accordion-header h3 {
    color: var(--brand-primary);
}

/* Toggle Button: Animated */
.accordion-toggle {
    width: 36px;
    height: 36px;
    background: rgba(0, 180, 216, 0.08);
    border: none;
    border-radius: 50%;
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.accordion-item:hover .accordion-toggle {
    background: rgba(0, 180, 216, 0.15);
    transform: scale(1.1);
}

.accordion-item.active .accordion-toggle {
    background: var(--brand-primary);
    color: white;
    transform: rotate(45deg);
}

/* Collapsible Body */
.accordion-body {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding-left: 52px;
    /* Align with text after icon */
    transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
}

.accordion-item.active .accordion-body {
    max-height: 250px;
    opacity: 1;
    margin-top: 16px;
}

.accordion-body p {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

/* CTA Link: Arrow Animation */
.accordion-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: var(--brand-primary);
    font-size: 0.9rem;
    padding: 8px 16px;
    background: rgba(0, 180, 216, 0.08);
    border-radius: 50px;
    transition: all 0.3s;
}

.accordion-link:hover {
    background: var(--brand-primary);
    color: white;
    transform: translateX(4px);
}

.accordion-link i {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.accordion-link:hover i {
    transform: translate(2px, -2px);
}

/* --- Featured Image --- */
.services-image {
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
}

.services-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
    transition: opacity 0.3s ease;
}

.image-cta {
    position: absolute;
    bottom: 30px;
    right: 30px;
    background: var(--brand-dark);
    color: white !important;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s, box-shadow 0.3s;
}

.image-cta:hover {
    background: var(--brand-primary);
    box-shadow: var(--neon-glow);
}

.image-cta i {
    width: 18px;
    height: 18px;
}

.radar-quadrant:hover .icon-bubble {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 180, 216, 0.2);
}

.radar-quadrant.active .icon-bubble {
    transform: scale(1.25);
    box-shadow: 0 12px 30px rgba(0, 180, 216, 0.25);
}

.icon-bubble.warning {
    color: #ff9f43;
}

/* Orange */
.icon-bubble.dark {
    color: var(--brand-dark);
}

.icon-bubble.success {
    color: #10ac84;
}

/* Teal */

.quadrant-label {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--brand-dark);
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}

/* 3. Central Hub (Glass) */
.radar-center-glass {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 220px;
    height: 220px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.center-content h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.center-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Mobile Radar */
@media (max-width: 600px) {
    .radar-wrapper {
        width: 340px;
        height: 340px;
    }

    .orbit-ring {
        display: none;
    }

    /* Hide complex animation on mobile */
    .radar-center-glass {
        width: 160px;
        height: 160px;
        padding: 10px;
    }

    .center-content h3 {
        font-size: 1.1rem;
    }

    .center-content p {
        font-size: 0.75rem;
        display: none;
    }

    /* Too small */
    .quadrant-label {
        font-size: 0.7rem;
    }

    .icon-bubble {
        width: 40px;
        height: 40px;
    }

    .icon-bubble i {
        width: 18px;
        height: 18px;
    }
}

/* =========================================
   APPROACH
   ========================================= */
.approach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.check-list li {
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.check-list i {
    color: var(--brand-primary);
    margin-top: 4px;
}

/* =========================================
   TEAM
   ========================================= */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.team-card {
    text-align: center;
    background: transparent;
    border: none;
    box-shadow: none;
}

.team-photo-placeholder {
    width: 150px;
    height: 150px;
    background: white;
    border: 3px solid transparent;
    background-image: linear-gradient(white, white), linear-gradient(135deg, var(--brand-primary), var(--brand-dark));
    background-origin: border-box;
    background-clip: content-box, border-box;
    border-radius: 50% 50% 50% 5px;
    /* Modern shape */
    margin: 0 auto 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-primary);
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.team-card:hover .team-photo-placeholder {
    transform: rotate(5deg) scale(1.05);
    box-shadow: var(--neon-glow);
}

.team-card h4 {
    margin-bottom: 5px;
    color: var(--brand-dark);
}

.team-card .role {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

.team-photo-placeholder.highlight {
    background-image: linear-gradient(white, white), linear-gradient(135deg, #00d2ff, #3a7bd5);
}

/* =========================================
   FOOTER
   ========================================= */
footer {
    background: transparent;
    color: var(--brand-dark);
    padding: 0 0 30px;
    border-top: none;
}


/* =========================================
   AI ANALYST SECTION (PREMIUM GLOW)
   ========================================= */
.ai-analyst-container {
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    max-width: 900px;
    /* Constrain width for readability */

    /* Light/Modern Glass vs Old Dark Console */
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(240, 249, 255, 0.9));
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 3px;
    /* Slightly thicker border space */
    position: relative;
    overflow: hidden;
    box-shadow:
        0 15px 40px rgba(0, 180, 216, 0.12),
        0 0 0 1px rgba(255, 255, 255, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ai-analyst-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 90px rgba(0, 180, 216, 0.25);
}

/* Animated Gradient Border Overlay */
.ai-analyst-container::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 30px;
    padding: 2px;
    background: linear-gradient(90deg, #00b4d8, #4f46e5, #00b4d8);
    background-size: 200% 100%;
    animation: none;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.6;
}

@keyframes gradient-slide {
    0% {
        background-position: 0% 50%;
    }

    100% {
        background-position: 200% 50%;
    }
}

.ai-inner-content {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 28px;
    padding: 40px;
    height: 100%;
}

.ai-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    gap: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    padding-bottom: 20px;
}

.ai-icon-pulse {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    /* Squircle */
    background: linear-gradient(135deg, #00b4d8, #4f46e5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 20px rgba(0, 180, 216, 0.3);
    position: relative;
}

/* Ripple Effect */
.ai-icon-pulse::after {
    content: '';
    position: absolute;
    inset: -5px;
    border: 2px solid #4f46e5;
    border-radius: 20px;
    animation: none;
    opacity: 0;
}

@keyframes ripple {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.ai-header h3 {
    margin: 0;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--brand-dark);
    letter-spacing: -0.5px;
}

.live-badge {
    background: linear-gradient(90deg, #ef4444, #f87171);
    color: white;
    font-size: 0.75rem;
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ai-content-box {
    background: transparent;
    border-radius: 0;
    padding: 0;
    min-height: 100px;
    position: relative;
    border: none;
}

.ai-text {
    font-family: 'Inter', sans-serif;
    /* Modern font, not monospace */
    font-size: 1.25rem;
    /* Larger text */
    line-height: 1.6;
    color: var(--brand-dark);
    font-weight: 500;
    margin: 0;
}

.ai-text a {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 700;
    transition: all 0.2s ease;
}

.ai-link-btn {
    display: inline-block;
    background: rgba(0, 102, 204, 0.1);
    color: var(--brand-primary) !important;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-left: 8px;
    border: 1px solid rgba(0, 102, 204, 0.2);
    text-decoration: none !important;
}

.ai-link-btn:hover,
.ai-text a:hover {
    background: var(--brand-primary);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.ai-text strong {
    color: var(--brand-primary);
    font-weight: 700;
}

/* Smooth Cursor */
.ai-text::after {
    content: '';
    display: inline-block;
    width: 3px;
    height: 1.2em;
    background: var(--brand-primary);
    margin-left: 4px;
    vertical-align: middle;
    animation: smooth-blink 1s ease-in-out 3;
}

@keyframes smooth-blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0;
    }
}

.ai-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    font-size: 0.9rem;
    color: var(--text-muted);
    background: rgba(0, 180, 216, 0.05);
    /* Subtle bar */
    padding: 15px 20px;
    border-radius: 12px;
}

.refresh-ai-btn {
    background: white;
    border: none;
    color: var(--brand-primary);
    padding: 10px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.refresh-ai-btn:hover {
    background: var(--brand-primary);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 180, 216, 0.25);
}

.typing-indicator {
    display: flex;
    gap: 6px;
    justify-content: flex-start;
    /* Align left */
    margin-bottom: 20px;
    display: none;
}

.ai-disclaimer-box {
    margin-top: 15px;
    padding: 12px 16px;
    background: rgba(251, 191, 36, 0.1);
    /* Amber warning tint */
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #b45309;
    /* Dark Amber Text */
    font-size: 0.8rem;
    line-height: 1.4;
}

.ai-disclaimer-box i {
    width: 18px;
    height: 18px;
    color: #f59e0b;
    /* Bright Amber Icon */
    flex-shrink: 0;
}

.typing-indicator span {
    width: 8px;
    height: 8px;
    background: var(--brand-primary);
    border-radius: 50%;
    animation: bounce 0.6s 4 alternate;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    to {
        transform: translateY(-10px);
    }
}

/* Footer Bottom — Logo+Nav | Legal */
.footer-bottom-section {
    border-top: 1px solid #e1e8ed;
    padding: 40px 0 24px;
}

.footer-bottom-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 48px;
    align-items: start;
}

.footer-bottom-left {
    display: flex;
    flex-direction: column;
}

.footer-bottom-logo {
    height: 48px;
    width: auto;
    object-fit: contain;
    align-self: flex-start;
    margin-bottom: 8px;
}

.footer-bottom-tagline {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 20px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-nav a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease;
}

.footer-nav a:hover {
    background: rgba(0, 180, 216, 0.08);
    color: var(--brand-primary);
}

.footer-bottom-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-legal-logos {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.legal-logo {
    height: 40px;
    width: auto;
    opacity: 0.85;
    object-fit: contain;
}

.footer-legal-text {
    font-size: 0.68rem;
    line-height: 1.6;
    color: var(--text-muted);
    text-align: justify;
}

.footer-legal-link {
    margin-top: 10px;
}

.footer-legal-link a {
    font-size: 0.75rem;
    color: var(--brand-primary);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.footer-legal-link a:hover {
    color: var(--brand-dark);
}

/* Copyright */
.footer-copyright {
    border-top: 1px solid #e1e8ed;
    padding: 16px 0;
    text-align: center;
    font-size: 0.82rem;
    color: var(--text-muted);
}

/* =========================================
   FOOTER — Nous Trouver (Immersive)
   ========================================= */
.footer-find-us {
    padding: 60px 0 40px;
}

.footer-find-header {
    text-align: center;
    margin-bottom: 40px;
}

.footer-find-header h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin: 12px 0 8px;
}

.footer-find-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 520px;
    margin: 0 auto;
}

.footer-find-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Map */
.footer-map-wrapper {
    border-radius: 24px;
    overflow: hidden;
    min-height: 420px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(255, 255, 255, 0.6);
    background: #e8f4f8;
}

.footer-map-wrapper iframe {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
}

/* Contact cards */
.footer-contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    text-decoration: none;
    color: var(--brand-dark);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    margin-bottom: 10px;
}

.footer-contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.fcc-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    flex-shrink: 0;
}

.fcc-icon i,
.fcc-icon svg {
    width: 20px;
    height: 20px;
    color: #fff;
}

.fcc-icon--phone {
    background: linear-gradient(135deg, #10b981, #059669);
}

.fcc-icon--mail {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.fcc-icon--pin {
    background: linear-gradient(135deg, #0077b6, #0096c7);
}

.fcc-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.fcc-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
    font-weight: 600;
}

.fcc-value {
    font-size: 0.95rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fcc-arrow {
    margin-left: auto;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    opacity: 0.4;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.footer-contact-card:hover .fcc-arrow {
    transform: translateX(4px);
    opacity: 0.8;
}

/* Hours */
.footer-hours {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 18px 20px;
    margin-top: 6px;
}

.footer-hours-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 12px;
    color: var(--brand-dark);
}

.footer-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
}

.footer-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #9ca3af;
}

.footer-status.is-open .footer-status-dot {
    background: #10b981;
    animation: statusPulse 2s ease-in-out 3;
}

.footer-status.is-open .footer-status-text {
    color: #059669;
}

.footer-status.is-closed .footer-status-dot {
    background: #ef4444;
}

.footer-status.is-closed .footer-status-text {
    color: #dc2626;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.4); }
}

.footer-hours-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-hours-list li {
    display: flex;
    justify-content: space-between;
    padding: 6px 8px;
    font-size: 0.88rem;
    border-radius: 8px;
    color: var(--text-muted);
}

.footer-hours-list li.is-today {
    background: rgba(0, 180, 216, 0.08);
    color: var(--brand-dark);
    font-weight: 600;
}

/* CTA button */
.footer-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
    padding: 16px 28px;
    background: linear-gradient(135deg, #0077b6, #00a8cc);
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 14px;
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 119, 182, 0.3);
}

.footer-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 119, 182, 0.4);
}

.footer-cta-btn i,
.footer-cta-btn svg {
    width: 20px;
    height: 20px;
}


/* ============================================================
   NOS COORDONNÉES — fond vidéo + cartes en verre (voir à travers)
   ============================================================ */
.footer-find-us {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 76px 0 58px;
}
.ff-video-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.ff-video-bg video {
    position: absolute; inset: 0; width: 100%; height: 100%;
    object-fit: cover; object-position: center;
}
/* Accents bleutés flottants (même palette que la landing / salle des marchés) */
.ff-blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.5; will-change: transform; pointer-events: none; }
.ff-blob--1 { width: 480px; height: 480px; top: -120px; left: -90px; background: #1e40af; animation: ffDrift1 26s ease-in-out infinite; }
.ff-blob--2 { width: 420px; height: 420px; bottom: -140px; right: -70px; background: #7c3aed; animation: ffDrift2 30s ease-in-out infinite; }
.ff-blob--3 { width: 360px; height: 360px; top: 35%; left: 52%; background: #0891b2; opacity: 0.38; animation: ffDrift1 34s ease-in-out infinite reverse; }
@keyframes ffDrift1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(55px, 38px); } }
@keyframes ffDrift2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-48px, -28px); } }
.ff-video-overlay {
    position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 90% 60% at 50% 0%, rgba(30,64,175,0.22) 0%, transparent 60%),
        linear-gradient(180deg, rgba(7,11,26,0.82) 0%, rgba(8,14,34,0.60) 34%, rgba(7,11,26,0.84) 100%);
}
/* La section « Actualités » (nuit) « entre » dans la vidéo Contact par le haut →
   fondu noir → vidéo, continuité cinématographique. */
.footer-find-us::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 160px;
    background: linear-gradient(to bottom, var(--bg-dark, #0a0e1a) 0%, rgba(10,14,26,0) 100%);
    z-index: 0;
    pointer-events: none;
}
.footer-find-us .container { position: relative; z-index: 1; }

/* Header clair — même style de titre que les autres sections (blanc + cyan) */
.footer-find-us .footer-find-header h2 { color: #fff; }
.footer-find-us .footer-find-header h2 .shimmer {
    background: linear-gradient(120deg, #8fecff 0%, #00b4d8 48%, #5dd3e8 100%);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.footer-find-us .footer-find-subtitle { color: rgba(255,255,255,0.82); }
.footer-find-us .section-badge {
    background: rgba(255,255,255,0.12); color: #aee9ff; border: 1px solid rgba(255,255,255,0.20);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.footer-find-us .section-badge i, .footer-find-us .section-badge svg { color: #8fecff; }

/* Carte map — cadre verre */
.footer-find-us .footer-map-wrapper {
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow: 0 18px 50px -16px rgba(0,0,0,0.55);
    background: rgba(255,255,255,0.06);
}

/* Cartes contact — verre translucide (on voit la vidéo à travers) */
.footer-find-us .footer-contact-card {
    background: rgba(255,255,255,0.09);
    border: 1px solid rgba(255,255,255,0.16);
    color: #fff;
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
}
.footer-find-us .footer-contact-card:hover {
    background: rgba(255,255,255,0.14);
    border-color: rgba(0,180,216,0.45);
    box-shadow: 0 16px 40px -14px rgba(0,180,216,0.30);
}
.footer-find-us .fcc-label { color: rgba(255,255,255,0.7); }
.footer-find-us .fcc-value { color: #fff; }
.footer-find-us .fcc-arrow { color: rgba(255,255,255,0.7); }

/* Icône Lottie — fond transparent, juste l'animation */
.footer-find-us .fcc-icon.fcc-lottie { background: none; width: 48px; height: 48px; border-radius: 12px; }
.footer-find-us .fcc-lottie svg, .footer-find-us .fcc-lottie canvas { width: 100% !important; height: 100% !important; }

/* Heures — verre */
.footer-find-us .footer-hours {
    background: rgba(255,255,255,0.09);
    border: 1px solid rgba(255,255,255,0.16);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    backdrop-filter: blur(14px) saturate(140%);
}
.footer-find-us .footer-hours-header { color: #fff; }
.footer-find-us .footer-status { color: #fff; }
.footer-find-us .footer-hours-list li { color: rgba(255,255,255,0.82); }
.footer-find-us .footer-hours-list li.is-today { background: rgba(0,180,216,0.18); color: #eafaff; }

/* ---- Footer Nous Trouver — Responsive ---- */

@media (max-width: 900px) {
    .footer-find-grid {
        grid-template-columns: 1fr;
    }

    .footer-map-wrapper,
    .footer-map-wrapper iframe {
        min-height: 300px;
    }

    .footer-find-header h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .footer-find-us {
        padding: 40px 0 30px;
    }

    .footer-contact-card:hover {
        transform: none;
    }

    .footer-bottom-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom-left {
        align-items: center;
        text-align: center;
    }

    .footer-bottom-logo {
        align-self: center;
    }

    .footer-nav {
        align-items: center;
    }
}

@media (max-width: 600px) {
    .footer-map-wrapper,
    .footer-map-wrapper iframe {
        min-height: 250px;
    }

    .footer-find-header h2 {
        font-size: 1.5rem;
    }

    .footer-find-subtitle {
        font-size: 0.92rem;
    }

    .fcc-value {
        font-size: 0.85rem;
    }

    .footer-cta-btn {
        font-size: 0.92rem;
        padding: 14px 20px;
    }

}

/* =========================================
   ANIMATIONS — Scroll Reveal
   ========================================= */
.fade-in {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Stagger children: each .fade-child gets incremental delay */
.fade-child {
    opacity: 0;
    transform: translateY(20px);
    transition: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transition-delay: calc(var(--stagger-delay, 0) * 1s);
}

.fade-child.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-scroll {
    opacity: 0;
    transform: translateY(30px) scale(0.98);
    transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    /* Fallback : si JS bloqué, révèle après 2s */
    animation: fadeFallback 0.8s cubic-bezier(0.16, 1, 0.3, 1) 2s forwards;
}

.fade-in-scroll.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: none; /* JS a pris le relais, annule le fallback */
}

@keyframes fadeFallback {
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.delay-1 {
    transition-delay: 0.1s;
}

.delay-2 {
    transition-delay: 0.2s;
}

.delay-3 {
    transition-delay: 0.3s;
}

.delay-4 {
    transition-delay: 0.4s;
}

.delay-5 {
    transition-delay: 0.5s;
}

/* =========================================
   TEXT GRADIENTS V8 (CENTER TITLE)
   ========================================= */
.text-gradient-expansion {
    background: linear-gradient(135deg, #0077b6 0%, #023e8a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-surchauffe {
    background: linear-gradient(135deg, #d35400 0%, #e67e22 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-gradient-recession {
    /* Vivid Purple (More Red/Magenta to distinct from Blue) */
    background: linear-gradient(135deg, #7b2cbf 0%, #e0aaff 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.text-gradient-reprise {
    background: linear-gradient(135deg, #006b5f 0%, #00947e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Responsive */
@media (max-width: 900px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .hero-grid,
    .approach-grid {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 30px;
        /* Reduced padding on mobile */
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-actions {
        justify-content: center;
    }

}

/* Mobile (max-width: 600px) */
@media (max-width: 600px) {

    /* General Spacing */
    .section-padding {
        padding: 60px 20px;
    }

    .container {
        padding: 0 15px;
    }

    /* Hero Section */
    .hero-text h1 {
        font-size: 1.8rem;
        line-height: 1.3;
    }

    .hero-text .lead {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 12px;
    }

    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }

    /* Section Headers */
    .section-header h2,
    .cycle-header h2 {
        font-size: 1.6rem;
    }

    .section-badge {
        font-size: 0.75rem;
        padding: 6px 14px;
    }

    .cycle-subtitle {
        font-size: 0.95rem;
    }

    /* Radar - Reduced Size for Mobile */
    .radar-wrapper {
        width: 320px;
        height: 320px;
    }

    .radar-wrapper::after {
        width: 340px;
        height: 340px;
    }

    .radar-center-glass {
        width: 140px;
        height: 140px;
        padding: 15px;
    }

    .center-content h3 {
        font-size: 1rem;
    }

    .center-content p {
        font-size: 0.7rem;
        line-height: 1.3;
    }

    .icon-bubble {
        width: 45px;
        height: 45px;
    }

    .quadrant-label {
        font-size: 0.7rem;
    }

    /* Floating Orbs - Hide on Mobile */
    .floating-orb {
        display: none;
    }

    /* Services Accordion */
    .accordion-item {
        padding: 18px 20px;
    }

    .accordion-header h3 {
        font-size: 1rem;
    }

    .accordion-icon {
        width: 32px;
        height: 32px;
    }

    .accordion-toggle {
        width: 30px;
        height: 30px;
    }

    .accordion-body {
        padding-left: 44px;
    }

    .accordion-body p {
        font-size: 0.85rem;
    }

    .accordion-link {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    /* Services Image */
    .services-image {
        max-height: 250px;
    }

    .services-image img {
        min-height: 250px;
    }

    .image-cta {
        bottom: 15px;
        right: 15px;
        padding: 10px 18px;
        font-size: 0.8rem;
    }

    /* Services Layout Stack */
    .services-layout {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .services-image {
        order: -1;
    }

    /* Navbar */
    body {
        padding-top: 70px;
    }
    .navbar {
        height: 70px;
        padding: 0 15px;
    }

    .logo img {
        height: 45px;
    }

    .social-links {
        justify-content: center;
    }

    /* Approach/Mission Grid */
    .approach-grid {
        gap: 30px;
    }

    .trust-card {
        padding: 25px;
    }

    /* Contact Form */
    .contact-form {
        padding: 25px;
    }

    .contact-form input,
    .contact-form textarea {
        padding: 12px;
        font-size: 0.9rem;
    }

    /* Buttons - Touch Friendly */
    .btn {
        padding: 14px 28px;
        font-size: 0.95rem;
    }
}

/* Very Small Screens (max-width: 380px) */
@media (max-width: 380px) {
    .hero-text h1 {
        font-size: 1.5rem;
    }

    .radar-wrapper {
        width: 280px;
        height: 280px;
    }

    .radar-wrapper::after {
        width: 300px;
        height: 300px;
    }

    .radar-center-glass {
        width: 120px;
        height: 120px;
        padding: 12px;
    }

    .center-content h3 {
        font-size: 0.85rem;
    }

    .center-content p {
        font-size: 0.65rem;
    }

    .quadrant-label {
        font-size: 0.6rem;
    }

    .icon-bubble {
        width: 38px;
        height: 38px;
    }
}

/* =========================================
   WATER RIPPLE EFFECT (HERO BACKGROUND)
   ========================================= */
.ripple-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.ripple {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(0, 180, 216, 0.15);
    background: radial-gradient(circle, rgba(0, 180, 216, 0.08) 0%, transparent 70%);
    animation: none;
    opacity: 0;
}

/* Position ripples at different points */
.ripple-1 {
    width: 100px;
    height: 100px;
    top: 60%;
    right: 20%;
    animation-delay: 0s;
}

.ripple-2 {
    width: 80px;
    height: 80px;
    top: 30%;
    right: 35%;
    animation-delay: 2s;
}

.ripple-3 {
    width: 120px;
    height: 120px;
    top: 70%;
    right: 50%;
    animation-delay: 4s;
}

.ripple-4 {
    width: 60px;
    height: 60px;
    top: 20%;
    right: 15%;
    animation-delay: 6s;
}

@keyframes rippleExpand {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    50% {
        opacity: 0.3;
    }

    100% {
        transform: scale(8);
        opacity: 0;
    }
}

/* =========================================
   HERO SECTION
   ========================================= */
/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
    padding: 20px 0 100px;
    /* Further reduced top padding to move card up */
    /* Transparent bg to let body glows show through */
    background: transparent;
    overflow: visible;
    position: relative;
    min-height: 80vh;
    /* Ensure it takes up good screen space */
    display: flex;
    align-items: center;
    /* Vertically center if plenty of space */
}

/* Digital Grid Background - Tech Feel */
/* Digital Grid Background - Tech Feel */
.hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 180, 216, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 180, 216, 0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: -1;
    mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 80%);
    display: block;
    /* Ensure it is visible */
}

.hero-grid {
    display: grid;
    /* Ratio 35% text / 65% image for "Imposing" look */
    grid-template-columns: 0.8fr 1.2fr;
    gap: 50px;
    align-items: center;
}

/* Hiding ALL potential background artifacts globally */
.blob,
.blob-light,
.blob-dark,
.blob-1,
.blob-2,
.blob-3,
.blob-4,
.blob-5,
.blob-6,
.blob-7,
.blob-8,
.blob-9,
.blob-10,
.ripple-1,
.ripple-2,
.ripple-3,
.ripple-4 {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    animation: none !important;
}

/* Hero Photo - Pulsing Neon & Superimposed */
.team-photo {
    width: 100%;
    height: auto;
    border-radius: 20px;
    /* Superimposed feel: Lifted with shadow */
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    /* Pulsing Neon Animation */
    animation: neonPulse 3s 2 ease-in-out;
}

@keyframes neonPulse {
    0% {
        box-shadow:
            0 0 10px rgba(0, 180, 216, 0.4),
            0 20px 40px rgba(0, 0, 0, 0.4);
        /* Shadow base */
    }

    50% {
        box-shadow:
            0 0 25px 5px rgba(0, 180, 216, 0.7),
            /* Expanded Glow */
            0 20px 40px rgba(0, 0, 0, 0.4);
    }

    100% {
        box-shadow:
            0 0 10px rgba(0, 180, 216, 0.4),
            0 20px 40px rgba(0, 0, 0, 0.4);
    }
}



/* Light Blue Blobs - More Visible */
.blob-light {
    background: radial-gradient(circle, rgba(72, 202, 228, 0.7) 0%, rgba(72, 202, 228, 0.25) 50%, transparent 70%);
}

/* Dark Blue Blobs - More Visible */
.blob-dark {
    background: radial-gradient(circle, rgba(0, 119, 182, 0.6) 0%, rgba(3, 4, 94, 0.3) 50%, transparent 70%);
}

/* Positions and sizes - Right side */
/* Positions and sizes - Right side */
.blob-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    right: 15%;
    animation-delay: 0s;
    display: none;
    /* Removed based on user feedback */
}

.blob-2 {
    width: 250px;
    height: 250px;
    top: 50%;
    right: 30%;
    animation-delay: 2s;
}

.blob-3 {
    width: 180px;
    height: 180px;
    top: 70%;
    right: 10%;
    animation-delay: 4s;
}

.blob-4 {
    width: 220px;
    height: 220px;
    top: 20%;
    right: 45%;
    animation-delay: 6s;
    display: none;
    /* Removed based on user feedback */
}

.blob-5 {
    width: 160px;
    height: 160px;
    top: 80%;
    right: 55%;
    animation-delay: 8s;
}

.blob-6 {
    width: 280px;
    height: 280px;
    top: 40%;
    right: 5%;
    animation-delay: 10s;
    display: none;
    /* Removed based on user feedback */
}

/* Positions and sizes - Left side (near text) */
.blob-7 {
    width: 220px;
    height: 220px;
    top: 15%;
    left: 5%;
    animation-delay: 1s;
}

.blob-8 {
    width: 180px;
    height: 180px;
    top: 60%;
    left: 10%;
    animation-delay: 3s;
}

.blob-9 {
    width: 260px;
    height: 260px;
    top: 35%;
    left: -5%;
    animation-delay: 5s;
}

.blob-10 {
    width: 200px;
    height: 200px;
    top: 75%;
    left: 20%;
    animation-delay: 7s;
}

/* Organic Spread Animation - Slow Expand then Fade - More Visible */
@keyframes blobSpread {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }

    15% {
        opacity: 0.8;
    }

    50% {
        transform: scale(2.5);
        opacity: 0.5;
    }

    85% {
        opacity: 0.2;
    }

    100% {
        transform: scale(4);
        opacity: 0;
    }
}

/* Hide blobs on mobile for performance */
@media (max-width: 600px) {
    .blob-container {
        display: none;
    }
}

/* =========================================
   LOGO PATTERN SECTION DIVIDERS
   ========================================= */
.section-pattern {
    position: relative;
    height: 120px;
    overflow: hidden;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 180, 216, 0.03) 50%, transparent 100%);
}

.section-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%2300b4d8' stroke-width='1.5' opacity='0.25'%3E%3C!-- C shape --%3E%3Cpath d='M35 10 A25 25 0 1 0 35 70' stroke-linecap='round'/%3E%3C!-- Three dots outline --%3E%3Ccircle cx='55' cy='25' r='6'/%3E%3Ccircle cx='55' cy='45' r='6'/%3E%3Ccircle cx='55' cy='65' r='5'/%3E%3C/g%3E%3C/svg%3E");
    background-size: 80px 80px;
    animation: none;
}

@keyframes patternScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Fade edges */
.section-pattern::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, white 0%, transparent 10%, transparent 90%, white 100%);
    pointer-events: none;
}

/* Hide on mobile for cleaner look */
@media (max-width: 600px) {
    .section-pattern {
        height: 60px;
    }
}

/* Team Photo Styling */
.team-photo {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    object-fit: cover;
}

/* =========================================
   ENHANCED HERO SECTION
   ========================================= */

/* Hero Label with Icon */
.hero-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.1), rgba(0, 180, 216, 0.05));
    border: 1px solid rgba(0, 180, 216, 0.2);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: 24px;
}

.hero-label i {
    width: 18px;
    height: 18px;
}

/* Hero Description */
.hero-description {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* Button with Icon */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary i {
    width: 18px;
    height: 18px;
}

/* Trust Badges */
.hero-badges {
    display: flex;
    gap: 40px;
    margin-top: 48px;
    padding-top: 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.badge-item {
    display: flex;
    flex-direction: column;
}

.badge-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--brand-primary);
    line-height: 1;
}

.badge-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 6px;
}

/* Team Photo - Static */
.team-photo {
    /* No animation */
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--brand-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    opacity: 0.7;
    transition: all 0.3s;
}

.scroll-indicator:hover {
    opacity: 1;
    transform: translateX(-50%) translateY(5px);
}

.scroll-indicator i {
    width: 24px;
    height: 24px;
    animation: bounceDown 2s ease-in-out 3;
}

@keyframes bounceDown {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(8px);
    }
}

/* Mobile Adjustments for Hero */
@media (max-width: 600px) {
    .hero-badges {
        flex-direction: column;
        gap: 20px;
    }

    .badge-number {
        font-size: 1.5rem;
    }

    .scroll-indicator {
        display: none;
    }
}

/* Photo Zoom and Crop */
.hero-image {
    overflow: hidden;
    border-radius: 20px;
}

.team-photo {
    width: 100%;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
    object-fit: cover;
    transform: scale(1.15);
    transform-origin: center 30%;
}

/* More spacing between buttons */
.hero-actions {
    display: flex;
    align-items: center;
    gap: 30px;
}

.btn-link {
    margin-left: 10px;
}


/* =========================================
   MARCHÉS LIVE SECTION (GLASS TECH)
   ========================================= */
.marches-live {
    background: transparent;
    position: relative;
    overflow: visible;
    /* Allow pop-out consistency */
    padding-bottom: 120px;
}

/* Carousel Wrapper */
.marches-wrapper {
    width: 100%;
    overflow: hidden;
    margin-top: 60px;
    position: relative;
    /* Fade edges for centered look */
    mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
    -webkit-mask: linear-gradient(90deg, transparent, white 10%, white 90%, transparent);
}

.marches-grid {
    display: flex;
    gap: 25px;
    padding: 20px 0;
    width: max-content;
    animation: marqueeScroll 80s linear infinite;
}

.marches-grid:hover {
    animation-play-state: paused;
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* Custom scrollbar for carousel */
.marches-grid::-webkit-scrollbar {
    height: 8px;
}

.marches-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
}

.marches-grid::-webkit-scrollbar-thumb {
    background: rgba(0, 180, 216, 0.5);
    border-radius: 10px;
}

.marches-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 180, 216, 0.8);
}

@media (max-width: 1200px) {
    .marches-grid {
        /* Already horizontal scroll */
    }
}

.market-card {
    position: relative;
    flex: 0 0 320px;
    height: 360px;
    border-radius: 30px;
    scroll-snap-align: center;
    /* Glass Showcase Effect */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.1),
        /* Deep shadow */
        inset 0 0 0 1px rgba(255, 255, 255, 0.2),
        /* Inner rim */
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    /* Inner glow */
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Tech Grid Background */
.market-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 180, 216, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 180, 216, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
    z-index: -1;
    pointer-events: none;
}

/* 3D Pop Out Hover */
.market-card:hover {
    transform: translateY(-15px) rotateX(2deg);
    box-shadow:
        0 30px 60px rgba(0, 180, 216, 0.2),
        0 0 40px rgba(0, 180, 216, 0.1),
        /* Outer Glow */
        inset 0 0 0 1px rgba(255, 255, 255, 0.6);
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.15);
}

.market-header {
    padding: 30px;
    z-index: 10;
    position: relative;
    /* Floating Header Effect */
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, rgba(255, 255, 255, 0) 100%);
}

.market-info h3 {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 6px;
    background: linear-gradient(90deg, var(--brand-dark), var(--brand-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.market-symbol {
    font-size: 0.75rem;
    font-weight: 800;
    color: white;
    background: var(--brand-primary);
    padding: 4px 10px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 180, 216, 0.3);
}

.market-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--brand-dark);
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
}

.market-price .change {
    font-size: 0.9rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(4px);
    margin-top: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.change.up {
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.change.down {
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* Pop-Out Chart Styling */
.chart-container {
    height: 180px;
    width: 140%;
    /* Extend wider than card */
    margin-left: -20%;
    /* Center the wider chart */
    margin-bottom: -20px;
    /* Push to bottom edge */
    position: relative;
    z-index: 5;
    mask-image: linear-gradient(to bottom, transparent 0%, black 20%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%);
    transition: transform 0.5s ease;
}

.market-card:hover .chart-container {
    transform: scale(1.05) translateY(-5px);
    /* Gentle zoom */
}

.market-disclaimer {
    color: var(--brand-primary);
    opacity: 0.6;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.7rem;
    font-weight: 600;
}

/* Response */
@media (max-width: 992px) {
    .marches-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .marches-grid {
        grid-template-columns: 1fr;
    }

    .market-card {
        height: 280px;
    }
}

/* =========================================
   NOS CONSEILS SECTION
   ========================================= */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.section-header .voir-tous {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-primary);
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    background: rgba(0, 180, 216, 0.05);
    padding: 10px 24px;
    border-radius: 50px;
}

.voir-tous:hover {
    background: rgba(0, 180, 216, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 180, 216, 0.1);
}

.voir-tous i {
    width: 18px;
    height: 18px;
    transition: transform 0.3s;
}

.voir-tous:hover i {
    transform: translate(3px, -3px);
}

/* Conseils Grid */
.conseils-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 20px;
}

.conseil-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.conseil-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.conseil-card:hover .conseil-image img {
    transform: scale(1.08);
}

.conseil-content {
    padding: 28px;
}

.conseil-content h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.5;
    margin-bottom: 20px;
    min-height: 52px;
}

.conseil-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--text-dark);
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
}

.conseil-btn i {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.conseil-btn:hover {
    background: var(--brand-primary);
}

.conseil-btn:hover i {
    transform: translate(3px, -3px);
}

/* --- Enhanced Conseil Cards (Shiny & Interactive) --- */

.conseil-card {
    position: relative;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    cursor: pointer;
}

/* Living Gradient Background on hover */
.conseil-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
            rgba(0, 180, 216, 0.05) 0%,
            rgba(0, 119, 182, 0.08) 50%,
            rgba(0, 180, 216, 0.05) 100%);
    background-size: 200% 200%;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
    pointer-events: none;
}

.conseil-card:hover::before {
    opacity: 1;
    animation: moveGradient 4s linear infinite;
}

@keyframes moveGradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Shiny Sheen Effect (The "Brillant" that moves) */
.conseil-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    transition: none;
    z-index: 2;
    pointer-events: none;
}

.conseil-card:hover::after {
    left: 150%;
    transition: all 0.8s ease;
}

.conseil-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow:
        0 30px 60px rgba(0, 180, 216, 0.2),
        0 10px 20px rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 180, 216, 0.4);
    z-index: 5;
}

.conseil-content {
    position: relative;
    z-index: 1;
    padding: 28px;
}

/* Mobile Responsive */
@media (max-width: 900px) {
    .conseils-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .conseils-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .conseils-grid {
        grid-template-columns: 1fr;
    }

    .conseil-content h3 {
        min-height: auto;
    }
}

/* Enhanced Conseil Cards - More Engaging */

/* Category Tag on Image */
.conseil-image {
    position: relative;
}

.conseil-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--brand-primary);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(0, 180, 216, 0.4);
}

/* Meta Info (Read Time) */
.conseil-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 12px;
}

.conseil-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.conseil-meta i {
    width: 14px;
    height: 14px;
}

/* Excerpt Teaser */
.conseil-excerpt {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
}

/* Enhanced Button */
.conseil-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(0, 180, 216, 0.3);
}

.conseil-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 25px rgba(0, 180, 216, 0.45);
}

.conseil-btn i {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.conseil-btn:hover i {
    transform: translateX(4px);
}

/* Image Gradient Overlay */
.conseil-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.conseil-card:hover .conseil-image::after {
    opacity: 1;
}

/* =========================================
   PREMIUM MISSION SECTION
   ========================================= */
.mission-section {
    background: transparent;
    position: relative;
}

.mission-header {
    margin-bottom: 60px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.1), rgba(0, 180, 216, 0.05));
    border: 1px solid rgba(0, 180, 216, 0.2);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: 20px;
}

.section-tag i {
    width: 16px;
    height: 16px;
}

.mission-header h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.mission-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.mission-subtitle strong {
    color: var(--brand-primary);
    font-weight: 700;
}

/* Mission Cards Grid */
.mission-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 50px;
}

/* Each Mission Card */
.mission-card {
    background: white;
    border-radius: 20px;
    padding: 35px 30px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mission-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 180, 216, 0.15);
    border-color: rgba(0, 180, 216, 0.2);
}

/* Mission Icon */
.mission-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 30px rgba(0, 180, 216, 0.3);
    transition: all 0.3s;
}

.mission-icon i {
    width: 32px;
    height: 32px;
}

.mission-card:hover .mission-icon {
    transform: scale(1.1) rotate(5deg);
}

.mission-card h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.mission-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
}

/* Highlighted Keywords */
.highlight {
    background: linear-gradient(120deg, rgba(0, 180, 216, 0.15) 0%, rgba(0, 180, 216, 0.15) 100%);
    background-size: 100% 40%;
    background-repeat: no-repeat;
    background-position: 0 90%;
    font-weight: 600;
    color: var(--brand-primary);
    padding: 0 4px;
    border-radius: 4px;
    transition: all 0.3s;
}

.mission-card:hover .highlight {
    background-size: 100% 100%;
    color: var(--text-dark);
}

/* Mission CTA */
.mission-cta {
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 900px) {
    .mission-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .mission-cards {
        grid-template-columns: 1fr;
    }

    .mission-header h2 {
        font-size: 2rem;
    }
}

/* =========================================
   ANIMATED WAVE DIVIDERS
   ========================================= */
.wave-divider {
    display: none;
}

.wave-divider svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.wave-path {
    fill: rgba(0, 180, 216, 0.1);
}

.wave-path.wave-1 {
    fill: rgba(0, 180, 216, 0.08);
    animation: none;
}

.wave-path.wave-2 {
    fill: rgba(0, 180, 216, 0.12);
    animation: none;
}

@keyframes waveMove1 {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-30px);
    }
}

@keyframes waveMove2 {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(25px);
    }
}

/* Inverted Wave (for transitions to light sections) */
.wave-divider.wave-inverted {
    background: #f8fafc;
}

.wave-inverted svg {
    top: 0;
    bottom: auto;
}

.wave-inverted .wave-path.wave-1 {
    fill: rgba(0, 180, 216, 0.06);
}

.wave-inverted .wave-path.wave-2 {
    fill: rgba(0, 180, 216, 0.1);
}

/* Mobile adjustments */
@media (max-width: 600px) {
    .wave-divider {
        height: 50px;
    }
}


/* =========================================
   FULL-WIDTH FLOATING CARD - CYCLE SECTION
   ========================================= */
#cycle-economique .container {
    /* Full-width white floating card */
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 60px 50px;
    position: relative;

    /* 3D floating effect */
    transform: translateY(-10px);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);

    /* Shadow for depth - like hero card */
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.15),
        0 10px 25px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(0, 0, 0, 0.05);

    /* Soft border */
    border: 1px solid rgba(255, 255, 255, 0.8);
}

/* Shimmering neon border */
#cycle-economique .container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 34px;
    border: 2px solid transparent;
    background: linear-gradient(90deg,
            rgba(0, 180, 216, 0.3) 0%,
            rgba(72, 202, 228, 0.8) 25%,
            rgba(0, 180, 216, 0.3) 50%,
            rgba(72, 202, 228, 0.8) 75%,
            rgba(0, 180, 216, 0.3) 100%) border-box;
    background-size: 200% 100%;
    animation: shimmerBorder 6s ease-in-out 1;
    z-index: -1;
    -webkit-mask:
        linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

#cycle-economique .container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.98);
    z-index: -1;
}

@keyframes shimmerBorder {
    0% {
        background-position: 200% 0;
        opacity: 0.5;
    }

    50% {
        background-position: 0% 0;
        opacity: 1;
    }

    100% {
        background-position: -200% 0;
        opacity: 0.5;
    }
}

/* =========================================
   SHIMMER BORDER - HERO SECTION
   ========================================= */
.hero-section .hero-grid {
    position: relative;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 32px;
    padding: 60px 50px;
    box-shadow:
        0 25px 60px rgba(0, 0, 0, 0.15),
        0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    transform: translateY(-10px);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.hero-section .hero-grid::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 34px;
    border: 2px solid transparent;
    background: linear-gradient(90deg,
            rgba(0, 180, 216, 0.3) 0%,
            rgba(72, 202, 228, 0.8) 25%,
            rgba(0, 180, 216, 0.3) 50%,
            rgba(72, 202, 228, 0.8) 75%,
            rgba(0, 180, 216, 0.3) 100%) border-box;
    background-size: 200% 100%;
    animation: shimmerBorder 6s ease-in-out 1;
    z-index: -1;
    -webkit-mask:
        linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) padding-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}

.hero-section .hero-grid::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 32px;
    background: rgba(255, 255, 255, 0.98);
    z-index: -1;
}

.hero-section .hero-grid:hover {
    transform: translateY(-15px);
    box-shadow:
        0 35px 80px rgba(0, 0, 0, 0.18),
        0 15px 35px rgba(0, 0, 0, 0.12);
}



#cycle-economique .container:hover {
    transform: translateY(-15px);
    box-shadow:
        0 35px 80px rgba(0, 0, 0, 0.18),
        0 15px 35px rgba(0, 0, 0, 0.12),
        0 0 0 1px rgba(0, 0, 0, 0.05);
}

/* Text colors - dark for white bg */
#cycle-economique .container,
#cycle-economique h2,
#cycle-economique h3,
#cycle-economique p,
#cycle-economique span {
    color: var(--text-main);
}

/* Keep text gradient */
#cycle-economique .text-gradient,
#cycle-economique .text-gradient-expansion {
    background: linear-gradient(135deg, #0077b6 0%, #00b4d8 50%, #48cae4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Cycle header styling inside card */
.cycle-header {
    text-align: center;
    margin-bottom: 40px;
}

.cycle-layout-v2 {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

/* Radar wrapper - no extra card styling now */
.radar-wrapper {
    position: relative;
}



/* =========================================
   SECTION DIVIDERS - HIDDEN
   ========================================= */
.tech-divider {
    display: none !important;
}

/* Hide old elements */
.pulse-svg,
.divider-line {
    display: none;
}

/* Main container */
.pulse-container {
    position: absolute;
    width: 100%;
    height: 180px;
    top: -90px;
    left: 0;
    display: block;
    z-index: 10;
}

/* Structured arc of circles - Right side */
/* Using box-shadow for organized pattern */
.pulse-container::before {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    background: radial-gradient(circle at 30% 30%,
            rgba(144, 224, 239, 0.9) 0%,
            rgba(72, 202, 228, 0.8) 40%,
            rgba(0, 180, 216, 0.7) 70%,
            rgba(0, 119, 182, 0.5) 100%);
    border-radius: 50%;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    animation: none;
    box-shadow:
        /* Elegant curved arc - graduated sizes - going up-right */
        -70px -35px 0 22px rgba(72, 202, 228, 0.85),
        -130px -55px 0 18px rgba(0, 180, 216, 0.8),
        -185px -60px 0 14px rgba(72, 202, 228, 0.75),
        -235px -50px 0 10px rgba(0, 119, 182, 0.7),
        -280px -30px 0 7px rgba(0, 180, 216, 0.65),
        /* Glows for each */
        0 0 25px 5px rgba(0, 180, 216, 0.5),
        -70px -35px 20px 5px rgba(72, 202, 228, 0.4),
        -130px -55px 18px 4px rgba(0, 180, 216, 0.35),
        -185px -60px 15px 3px rgba(72, 202, 228, 0.3),
        -235px -50px 12px 2px rgba(0, 119, 182, 0.25);
}

/* Second arc - going down, Left side */
.pulse-container::after {
    content: '';
    position: absolute;
    width: 45px;
    height: 45px;
    background: radial-gradient(circle at 35% 35%,
            rgba(72, 202, 228, 0.9) 0%,
            rgba(0, 180, 216, 0.8) 50%,
            rgba(0, 119, 182, 0.6) 100%);
    border-radius: 50%;
    left: 12%;
    top: 50%;
    transform: translateY(-50%);
    animation: none;
    box-shadow:
        /* Elegant curved arc - graduated sizes - going down-left */
        65px 30px 0 20px rgba(0, 180, 216, 0.85),
        120px 50px 0 16px rgba(72, 202, 228, 0.8),
        170px 55px 0 12px rgba(0, 119, 182, 0.75),
        215px 45px 0 9px rgba(0, 180, 216, 0.7),
        255px 25px 0 6px rgba(72, 202, 228, 0.65),
        /* Glows */
        0 0 22px 4px rgba(72, 202, 228, 0.5),
        65px 30px 18px 4px rgba(0, 180, 216, 0.4),
        120px 50px 15px 3px rgba(72, 202, 228, 0.35),
        170px 55px 12px 2px rgba(0, 119, 182, 0.3);
}

/* Additional accent dots - spaced evenly */
.tech-divider::before {
    content: '';
    position: absolute;
    width: 35px;
    height: 35px;
    background: radial-gradient(circle at 30% 30%,
            rgba(144, 224, 239, 0.85) 0%,
            rgba(0, 180, 216, 0.75) 60%,
            rgba(0, 119, 182, 0.5) 100%);
    border-radius: 50%;
    right: 35%;
    top: -70px;
    animation: none;
    box-shadow:
        /* Vertical accent column */
        0 140px 0 28px rgba(72, 202, 228, 0.7),
        /* Glows */
        0 0 20px 4px rgba(0, 180, 216, 0.4),
        0 140px 18px 5px rgba(72, 202, 228, 0.35);
}

/* Matching accent on left */
.tech-divider::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle at 35% 35%,
            rgba(72, 202, 228, 0.85) 0%,
            rgba(0, 180, 216, 0.75) 60%,
            rgba(0, 119, 182, 0.5) 100%);
    border-radius: 50%;
    left: 38%;
    top: -55px;
    animation: none;
    box-shadow:
        /* Vertical accent */
        0 110px 0 22px rgba(0, 180, 216, 0.7),
        /* Glows */
        0 0 18px 3px rgba(72, 202, 228, 0.4),
        0 110px 15px 4px rgba(0, 180, 216, 0.35);
}

/* Color shift animation */
@keyframes scaleColorShift {
    0% {
        filter: hue-rotate(0deg) brightness(1);
    }

    33% {
        filter: hue-rotate(-15deg) brightness(1.1);
    }

    66% {
        filter: hue-rotate(10deg) brightness(1.05);
    }

    100% {
        filter: hue-rotate(0deg) brightness(1);
    }
}

/* Neon glow pulse */
@keyframes scaleGlow {

    0%,
    100% {
        opacity: 0.85;
        transform: translateY(-50%) scale(1);
    }

    50% {
        opacity: 1;
        transform: translateY(-50%) scale(1.08);
    }
}

/* Second divider - mirrored pattern */
.tech-divider:nth-of-type(even) .pulse-container::before {
    right: auto;
    left: 10%;
    box-shadow:
        70px -35px 0 22px rgba(72, 202, 228, 0.85),
        130px -55px 0 18px rgba(0, 180, 216, 0.8),
        185px -60px 0 14px rgba(72, 202, 228, 0.75),
        235px -50px 0 10px rgba(0, 119, 182, 0.7),
        280px -30px 0 7px rgba(0, 180, 216, 0.65),
        0 0 25px 5px rgba(0, 180, 216, 0.5),
        70px -35px 20px 5px rgba(72, 202, 228, 0.4),
        130px -55px 18px 4px rgba(0, 180, 216, 0.35);
}

.tech-divider:nth-of-type(even) .pulse-container::after {
    left: auto;
    right: 12%;
    box-shadow:
        -65px 30px 0 20px rgba(0, 180, 216, 0.85),
        -120px 50px 0 16px rgba(72, 202, 228, 0.8),
        -170px 55px 0 12px rgba(0, 119, 182, 0.75),
        -215px 45px 0 9px rgba(0, 180, 216, 0.7),
        -255px 25px 0 6px rgba(72, 202, 228, 0.65),
        0 0 22px 4px rgba(72, 202, 228, 0.5),
        -65px 30px 18px 4px rgba(0, 180, 216, 0.4);
}

.tech-divider:nth-of-type(even)::before {
    right: auto;
    left: 35%;
}

.tech-divider:nth-of-type(even)::after {
    left: auto;
    right: 38%;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .tech-divider {
        margin: -35px 0;
    }

    .pulse-container {
        height: 140px;
        top: -70px;
    }

    .pulse-container::before,
    .pulse-container::after {
        transform: translateY(-50%) scale(0.7);
    }

    .tech-divider::before,
    .tech-divider::after {
        transform: scale(0.6);
    }
}

/* =========================================
   TEAM SECTION - CAROUSEL LAYOUT
   ========================================= */
.team-carousel-section {
    overflow: hidden;
}

.team-layout {
    display: flex;
    gap: 60px;
    align-items: center;
}

/* Sidebar (Left) */
.team-sidebar {
    flex: 0 0 350px;
    /* Fixed width for sidebar */
    z-index: 2;
}

.team-sidebar h2 {
    font-size: 2.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
}

.team-intro {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.6;
}

.team-features {
    list-style: none;
    padding: 0;
    margin-bottom: 40px;
}

.team-features li {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.team-features i {
    color: var(--brand-primary);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    margin-top: 2px;
}

.team-features strong {
    display: block;
    font-size: 1.05rem;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.team-features p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0;
}

/* Navigation Buttons */
.team-nav-controls {
    display: flex;
    gap: 15px;
}

.nav-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: white;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.nav-btn:hover {
    background: var(--brand-primary);
    color: white;
    border-color: var(--brand-primary);
    box-shadow: 0 5px 15px rgba(0, 180, 216, 0.3);
}

/* Carousel (Right) */
.team-carousel-wrapper {
    flex: 1;
    overflow: hidden;
    /* Hide overflow */
    position: relative;
    padding: 20px 0 40px;
    /* Space for shadows */
    margin: -20px -20px -40px;
    /* Compensate padding */
    mask-image: linear-gradient(to right, black 85%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
}

/* Team Header — Centered Top */
.team-header-top {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 36px;
}

.team-header-top h2 {
    font-size: 2.2rem;
    line-height: 1.2;
    margin-bottom: 14px;
}

.team-header-top .team-intro {
    max-width: 580px;
    color: var(--muted);
    font-size: .93rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.team-header-top .team-nav-controls {
    margin-top: 22px;
}

/* Full-width carousel layout (header on top) */
.team-carousel-fullwidth {
    flex: none;
    width: 100%;
    max-width: 100%;
    margin: 0 -20px -40px;
    padding: 20px 0 40px;
}

/* Social Links Row */
.team-socials {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 14px;
}

.team-social-link {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 119, 182, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted);
    transition: all 0.3s ease;
}

.team-social-link svg {
    width: 15px;
    height: 15px;
}

.team-social-link:hover {
    background: #0077b5;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 119, 181, 0.3);
}

.team-track {
    display: flex;
    transition: none;
    /* Smooth transition */
    gap: 20px;
}

/* Compact Team Card — 4 visible */
.team-card-slide {
    flex: 0 0 calc(25% - 15px);
    min-width: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 119, 182, 0.06);
    border-radius: 20px;
    padding: 28px 20px 24px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.team-card-slide::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--cyan), transparent, var(--mid));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s;
}

.team-card-slide:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 180, 216, 0.12);
    background: white;
}

.team-card-slide:hover::before {
    opacity: 1;
}

/* 1. Photo — Circle Avatar */
.team-photo-box {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: #f1f5f9;
    overflow: hidden;
    position: relative;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
    margin-bottom: 16px;
    border: 3px solid white;
}

.team-photo-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.team-card-slide:hover .team-photo-box img {
    transform: scale(1.1);
}

/* 2. Info Box — inline below avatar */
.team-info-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

.team-info-box::before {
    display: none;
}

.team-info-box h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--dark);
    transition: color 0.3s;
    line-height: 1.3;
}

.team-card-slide:hover .team-info-box h4 {
    background: linear-gradient(135deg, var(--dark), var(--cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.team-info-box .role {
    display: block;
    font-size: 0.75rem;
    color: var(--cyan);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 12px;
    letter-spacing: 0.8px;
}

.info-divider {
    height: 2px;
    width: 30px;
    background: #e2e8f0;
    margin: 0 auto 12px;
    border-radius: 2px;
    transition: width 0.4s, background 0.4s;
}

.team-card-slide:hover .info-divider {
    width: 50px;
    background: var(--cyan);
}

.card-bio {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.55;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Navigation Buttons - Eye Catching Pulse */
.team-nav-controls {
    display: flex;
    gap: 20px;
    margin-top: 20px;
}

@keyframes btnPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 180, 216, 0.4);
    }

    70% {
        box-shadow: 0 0 0 12px rgba(0, 180, 216, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(0, 180, 216, 0);
    }
}

.nav-btn {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: none;
    background: white;
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    animation: btnPulse 3s 2;
}

/* Stagger animation for interaction */
.nav-btn:nth-child(2) {
    animation-delay: 1.5s;
}

.nav-btn:hover {
    background: var(--brand-primary);
    color: white;
    transform: scale(1.15) rotate(10deg);
    box-shadow: 0 10px 25px rgba(0, 180, 216, 0.4);
    animation: none;
    /* Stop pulse on hover */
}

.nav-btn i {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
}

/* Placeholder Empty - Living Gradient */
@keyframes shimmerPlaceholder {
    0% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}


/* Small Team Button */
.btn-small-team {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 6px 14px;
    background: rgba(0, 180, 216, 0.08);
    border-radius: 50px;
    align-self: center;
    transition: all 0.3s;
}

.btn-small-team i {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.btn-small-team:hover {
    background: var(--brand-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(0, 180, 216, 0.25);
    transform: translateY(-2px);
}

.btn-small-team:hover i {
    transform: translateX(4px);
}

.team-photo-box.placeholder-empty {
    background: linear-gradient(120deg, #f1f5f9 0%, #e2e8f0 40%, #ffffff 50%, #e2e8f0 60%, #f1f5f9 100%);
    background-size: 200% 200%;
    animation: none;
    position: relative;
    border-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* User Icon inside placeholder */
.team-photo-box.placeholder-empty::after {
    content: '';
    width: 36px;
    height: 36px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.3;
    transition: all 0.4s;
}

.team-card-slide:hover .team-photo-box.placeholder-empty::after {
    opacity: 0.5;
    filter: drop-shadow(0 0 4px var(--brand-primary));
}

/* Carousel controls: dots + mobile nav */
.team-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.team-dots {
    display: flex;
    gap: 8px;
    align-items: center;
}

.team-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #d1d5db;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.team-dot.active {
    background: var(--brand-primary);
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(0, 180, 216, 0.4);
}

.team-dot:hover {
    background: var(--brand-primary);
    opacity: 0.7;
}

/* Mobile nav buttons (hidden on desktop — sidebar has them) */
.nav-btn-mobile {
    display: none;
}

/* Smooth transition class for snap navigation */
.team-track.snapping {
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---- Team Carousel Responsive ---- */
@media (max-width: 1024px) {
    .team-layout {
        flex-direction: column;
        gap: 40px;
    }

    .team-sidebar {
        flex: none;
        width: 100%;
        text-align: center;
    }

    .team-sidebar h2 {
        font-size: 2rem;
    }

    .team-features {
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 24px;
        text-align: left;
    }

    .team-nav-controls {
        justify-content: center;
    }

    .team-carousel-wrapper {
        mask-image: none;
        -webkit-mask-image: none;
        margin: 0;
        padding: 20px 0;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .team-sidebar h2 {
        font-size: 1.7rem;
    }

    .team-intro {
        font-size: 1rem;
    }

    /* Hide sidebar nav, show mobile controls */
    .team-nav-controls:not(.team-carousel-controls) {
        display: none;
    }

    .nav-btn-mobile {
        display: flex;
        width: 44px;
        height: 44px;
    }

    .nav-btn-mobile i, .nav-btn-mobile svg {
        width: 20px;
        height: 20px;
    }

    /* Cards sized by JS on mobile for reliable snap */
    .team-track {
        gap: 0;
    }

    .team-photo-box {
        width: 72px;
        height: 72px;
    }

    /* Disable hover effects on mobile */
    .team-card-slide:hover {
        transform: none;
        box-shadow: none;
    }

    .team-card-slide:hover::before {
        opacity: 0;
    }
}

@media (max-width: 480px) {
    .team-header-top h2 {
        font-size: 1.4rem;
    }

    .team-header-top .team-intro {
        font-size: .85rem;
    }

    .team-card-slide {
        padding: 22px 16px 20px;
    }

    .team-photo-box {
        width: 64px;
        height: 64px;
    }

    .team-info-box h4 {
        font-size: 0.95rem;
    }

    .card-bio {
        font-size: 0.78rem;
    }

    .team-socials {
        margin-top: 10px;
    }

    .team-social-link {
        width: 28px;
        height: 28px;
    }

    .team-social-link svg {
        width: 13px;
        height: 13px;
    }
}

/* =========================================
   TEAM SECTION - EXPLORER LAYOUT
   ========================================= */
.team-legacy-hidden {
    display: none;
}

.team-explorer-section {
    position: relative;
    --team-border: #dbe4ef;
    --team-text: #0f172a;
    --team-muted: #64748b;
    --team-accent: #0ea5b7;
    --team-surface: #ffffff;
    --team-surface-soft: #f8fafc;
}

.team-explorer-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 15% 8%, rgba(14, 165, 183, 0.08), transparent 30%),
        radial-gradient(circle at 88% 18%, rgba(56, 189, 248, 0.08), transparent 30%);
    pointer-events: none;
}

.team-explorer-section .container {
    position: relative;
    z-index: 1;
}

.team-explorer-controls {
    margin: 14px 0 10px;
}

.team-role-filters {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    background: var(--team-surface);
    border: 1px solid var(--team-border);
    border-radius: 999px;
    padding: 6px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.team-role-filter {
    border: 1px solid transparent;
    background: transparent;
    color: var(--team-muted);
    padding: 7px 12px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.team-role-filter:hover {
    color: var(--team-text);
    background: #f1f5f9;
}

.team-role-filter.active {
    color: #fff;
    background: linear-gradient(135deg, #0ea5b7, #0284c7);
    border-color: rgba(2, 132, 199, 0.2);
    box-shadow: 0 6px 14px rgba(2, 132, 199, 0.28);
}

.team-result-count {
    text-align: center;
    margin-top: 10px;
    color: var(--team-muted);
    font-size: 0.82rem;
}

.team-groups {
    display: grid;
    gap: 12px;
    margin-top: 12px;
}

.team-spotlight {
    display: none;
}

.team-group {
    background: var(--team-surface);
    border: 1px solid var(--team-border);
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.team-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.team-group-header h3 {
    margin: 0;
    color: var(--team-text);
    font-size: 1.02rem;
}

.team-group-header p {
    margin: 4px 0 0;
    color: var(--team-muted);
    font-size: 0.8rem;
}

.team-group-toggle {
    border: 1px solid var(--team-border);
    background: var(--team-surface-soft);
    border-radius: 999px;
    padding: 6px 11px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--team-muted);
    cursor: pointer;
    font-weight: 700;
    font-size: 0.74rem;
}

.team-group-toggle i {
    width: 14px;
    height: 14px;
}

.team-members-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.team-members-grid:not(.is-open) {
    display: none;
}

.team-member-card {
    border: 1px solid var(--team-border);
    border-radius: 14px;
    background: #fff;
    padding: 10px;
    text-align: left;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 90px minmax(0, 1fr);
    column-gap: 10px;
    align-items: start;
    min-height: 108px;
}

.team-member-card:hover,
.team-member-card.is-active {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.09);
    border-color: rgba(14, 165, 183, 0.5);
}

.team-member-card.is-hidden {
    display: none;
}

.team-member-avatar {
    width: 90px;
    height: 90px;
    border-radius: 12px;
    margin-bottom: 0;
    background: linear-gradient(135deg, #e2e8f0, #f8fafc);
    border: 1px solid #dbeafe;
    overflow: hidden;
    position: relative;
    grid-column: 1;
    grid-row: 1 / span 4;
}

.team-member-card > :not(.team-member-avatar) {
    grid-column: 2;
}

.team-member-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.team-member-avatar.placeholder-empty::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 42% 42%;
    opacity: 0.45;
}

.team-member-card h4 {
    margin: 0 0 4px;
    font-size: 0.95rem;
    line-height: 1.25;
    color: var(--team-text);
}

.team-member-role {
    margin: 0 0 6px;
    color: #0d9488;
    font-size: 0.66rem;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.45px;
}

.team-member-bio {
    margin: 0;
    color: var(--team-muted);
    font-size: 0.78rem;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.team-member-link {
    margin-top: 6px;
    display: inline-flex;
    color: #0284c7;
    font-weight: 700;
    font-size: 0.74rem;
}

.team-group.is-empty {
    display: none;
}

@media (max-width: 1100px) {
    .team-members-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 860px) {
    .team-group-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .team-members-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 560px) {
    .team-members-grid {
        grid-template-columns: 1fr;
    }

    .team-member-card {
        grid-template-columns: 78px minmax(0, 1fr);
        min-height: 94px;
    }

    .team-member-avatar {
        width: 78px;
        height: 78px;
        border-radius: 10px;
    }
}

/* =========================================
   TEAM WOW UPGRADE
   ========================================= */
.team-explorer-section {
    --tw-bg-1: #0b1220;
    --tw-bg-2: #111c34;
    --tw-cyan: #22d3ee;
    --tw-blue: #3b82f6;
    --tw-white: #f8fafc;
}

.team-explorer-section .team-header-top h2 {
    background: linear-gradient(135deg, #ffffff 0%, #b6e6ff 42%, #67e8f9 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.team-explorer-section .team-intro {
    color: #cbd5e1;
}

.team-explorer-section .section-badge {
    background: rgba(34, 211, 238, 0.12);
    border: 1px solid rgba(34, 211, 238, 0.28);
    color: #c7f7ff;
}

.team-explorer-controls {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-live-strip {
    margin: 10px 0 12px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    max-width: 720px;
}

.team-live-pill {
    background: linear-gradient(160deg, rgba(15, 23, 42, 0.9), rgba(15, 33, 58, 0.85));
    border: 1px solid rgba(125, 211, 252, 0.22);
    border-radius: 14px;
    padding: 9px 12px;
    text-align: center;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 10px 18px rgba(2, 6, 23, 0.24);
}

.team-live-label {
    display: block;
    font-size: 0.7rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.7px;
}

.team-live-pill strong {
    color: #f8fafc;
    font-size: 1.05rem;
}

.team-spotlight {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 14px;
    margin: 6px 0 10px;
    padding: 12px;
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(11, 18, 32, 0.94), rgba(18, 33, 58, 0.9));
    border: 1px solid rgba(103, 232, 249, 0.24);
    box-shadow: 0 16px 36px rgba(2, 6, 23, 0.35);
    position: relative;
    overflow: hidden;
}

.team-spotlight::before {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.28), transparent 70%);
    top: -130px;
    right: -80px;
    pointer-events: none;
}

.team-spotlight-photo {
    min-height: 140px;
    border-radius: 14px;
    background: linear-gradient(145deg, #17253d, #1f3254);
    border: 1px solid rgba(148, 163, 184, 0.26);
}

.team-spotlight-content h3 {
    color: #f8fafc;
    margin: 0;
    font-size: 1.25rem;
}

.team-spotlight-kicker {
    color: #67e8f9;
    font-size: 0.66rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin: 0 0 4px;
    font-weight: 700;
}

.team-spotlight-role {
    color: #93c5fd;
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 0.6px;
    margin: 5px 0 0;
    font-weight: 700;
}

.team-spotlight-bio {
    color: #cbd5e1;
    margin: 8px 0 0;
    font-size: 0.84rem;
    line-height: 1.45;
    max-width: 66ch;
}

.team-groups {
    gap: 12px;
}

.team-group {
    background: linear-gradient(175deg, rgba(255, 255, 255, 0.92), rgba(246, 250, 255, 0.88));
    border: 1px solid rgba(103, 232, 249, 0.28);
    backdrop-filter: blur(8px);
}

.team-members-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.team-member-card {
    border-radius: 16px;
    border: 1px solid rgba(125, 211, 252, 0.28);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(243, 249, 255, 0.95));
    transform-style: preserve-3d;
    will-change: transform;
}

.team-member-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(34, 211, 238, 0.22), transparent 48%);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.team-member-card:hover::after,
.team-member-card.is-active::after {
    opacity: 1;
}

.team-member-card:hover,
.team-member-card.is-active {
    border-color: rgba(14, 165, 183, 0.46);
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.15);
}

.team-member-avatar {
    width: 94px;
    height: 94px;
    border-radius: 14px;
}

.team-member-role {
    color: #0284c7;
}

@media (max-width: 980px) {
    .team-members-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .team-live-strip {
        grid-template-columns: 1fr;
        width: 100%;
    }

    .team-spotlight {
        grid-template-columns: 1fr;
    }

    .team-spotlight-photo {
        min-height: 180px;
    }
}

/* =========================================
   TEAM GAMEBOARD MODE
   ========================================= */
.team-explorer-section {
    background: radial-gradient(circle at 50% -10%, rgba(56, 189, 248, 0.1), transparent 35%);
}

.team-explorer-section .container {
    position: relative;
}

.team-explorer-section .container::before {
    content: '';
    position: absolute;
    inset: 120px 0 0;
    background-image:
        linear-gradient(rgba(125, 211, 252, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(125, 211, 252, 0.06) 1px, transparent 1px);
    background-size: 22px 22px;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent 85%);
}

.team-live-pill {
    position: relative;
    overflow: hidden;
}

.team-live-pill::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, 0.25) 50%, transparent 65%);
    transform: translateX(-130%);
    animation: none;
}

@keyframes teamPulseSweep {
    0%, 80%, 100% { transform: translateX(-130%); }
    30% { transform: translateX(130%); }
}

.team-spotlight {
    border: 1px solid rgba(34, 211, 238, 0.4);
    box-shadow:
        0 20px 50px rgba(2, 6, 23, 0.45),
        inset 0 0 0 1px rgba(147, 197, 253, 0.15);
}

.team-spotlight-content {
    display: grid;
    gap: 8px;
}

.team-spotlight-stats {
    display: grid;
    gap: 6px;
    margin-top: 2px;
}

.team-stat {
    display: grid;
    grid-template-columns: 110px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
}

.team-stat span {
    color: #a5f3fc;
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    font-weight: 700;
}

.team-stat-bar {
    height: 7px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.22);
    overflow: hidden;
}

.team-stat-bar i {
    display: block;
    width: 20%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #22d3ee, #3b82f6);
    box-shadow: 0 0 12px rgba(34, 211, 238, 0.6);
    transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.team-spotlight-actions {
    margin-top: 4px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.team-spotlight-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #e2e8f0;
    background: rgba(30, 41, 59, 0.75);
    border: 1px solid rgba(125, 211, 252, 0.32);
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 0.66rem;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    font-weight: 700;
}

.team-spotlight-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    text-decoration: none;
    color: #f8fafc;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    background: linear-gradient(135deg, #0284c7, #0ea5b7);
    border: 1px solid rgba(125, 211, 252, 0.4);
    box-shadow: 0 8px 18px rgba(2, 132, 199, 0.32);
}

.team-member-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, filter 0.2s ease;
}

.team-member-card.is-hidden {
    opacity: 0;
    transform: scale(0.97);
}

.team-member-card h4 {
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.team-member-card.is-active {
    outline: 2px solid rgba(34, 211, 238, 0.42);
    outline-offset: 1px;
}

.team-group {
    position: relative;
}

.team-group::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    border: 1px solid rgba(255, 255, 255, 0.2);
    mix-blend-mode: soft-light;
}

@media (max-width: 760px) {
    .team-stat {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .team-spotlight-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* =========================================
   TEAM V3 — PREMIUM PORTRAIT GRID
   ========================================= */
.team-v3-section {
    position: relative;
    overflow: hidden;
    padding: 100px 0 80px;
}

/* Decorative orbs */
.tv3-orb {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.tv3-orb--1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.08), transparent 70%);
    top: -200px;
    left: -150px;
    filter: blur(35px);
}

.tv3-orb--2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(72, 202, 228, 0.07), transparent 70%);
    bottom: -150px;
    right: -100px;
    filter: blur(35px);
}

.tv3-orb--3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 119, 182, 0.06), transparent 70%);
    top: 40%;
    left: 50%;
    transform: translateX(-50%);
    filter: blur(30px);
}

/* Header */
.team-v3-header {
    text-align: center;
    margin-bottom: 36px;
    position: relative;
    z-index: 1;
}

.team-v3-header h2 {
    font-size: 2.6rem;
    line-height: 1.18;
    margin-bottom: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.tv3-subtitle {
    max-width: 620px;
    margin: 0 auto;
    color: #64748b;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Filter Pills */
.tv3-pills {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 44px;
    position: relative;
    z-index: 1;
}

.tv3-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 999px;
    border: 1px solid rgba(0, 119, 182, 0.12);
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #64748b;
    font-weight: 600;
    font-size: 0.88rem;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
    letter-spacing: 0.2px;
}

.tv3-pill:hover {
    color: #0077b6;
    border-color: rgba(0, 119, 182, 0.3);
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 119, 182, 0.1);
}

.tv3-pill.active {
    background: linear-gradient(135deg, #0077b6 0%, #00b4d8 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 28px rgba(0, 119, 182, 0.35);
    transform: translateY(-2px);
}

.tv3-pill i {
    opacity: 0.7;
}

.tv3-pill.active i {
    opacity: 1;
}

.tv3-pill-n {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 26px;
    height: 26px;
    border-radius: 13px;
    background: rgba(0, 0, 0, 0.06);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0 7px;
    transition: all 0.3s;
}

.tv3-pill.active .tv3-pill-n {
    background: rgba(255, 255, 255, 0.22);
    color: #fff;
}

/* Grid */
.tv3-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    position: relative;
    z-index: 1;
}

/* Card */
.tv3-card {
    border-radius: 24px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(0, 119, 182, 0.06);
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.03),
        0 1px 4px rgba(0, 0, 0, 0.03);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    display: flex;
    flex-direction: column;
}

/* Animated gradient border on hover */
.tv3-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.5), transparent 40%, transparent 60%, rgba(72, 202, 228, 0.5));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 2;
    pointer-events: none;
}

.tv3-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow:
        0 24px 56px rgba(0, 119, 182, 0.1),
        0 8px 20px rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 180, 216, 0.15);
}

.tv3-card:hover::before {
    opacity: 1;
}

/* Photo Area — LARGE & IMPOSING */
.tv3-img {
    width: 100%;
    height: 280px;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

/* Placeholder shimmer */
.tv3-img-ph {
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        #e8f4f8 0%,
        #dbeafe 25%,
        #f0f9ff 50%,
        #e0f2fe 75%,
        #e8f4f8 100%
    );
    background-size: 400% 400%;
    animation: none;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* User silhouette icon in placeholder */
.tv3-img-ph::after {
    content: '';
    width: 90px;
    height: 90px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='0.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.18;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.tv3-card:hover .tv3-img-ph::after {
    opacity: 0.3;
    transform: scale(1.08);
}

/* Actual photo (when loaded via JS) */
.tv3-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.23, 1, 0.32, 1);
}

.tv3-card:hover .tv3-img img {
    transform: scale(1.07);
}

@keyframes tv3Shimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Card Body */
.tv3-body {
    padding: 22px 26px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Role Badges — Color-coded */
.tv3-tag {
    display: inline-flex;
    align-self: flex-start;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 0.66rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
    transition: all 0.3s;
}

/* Conseiller badge — Blue */
.tv3-tag--c {
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.08), rgba(0, 180, 216, 0.08));
    color: #0077b6;
    border: 1px solid rgba(0, 119, 182, 0.12);
}

/* Adjoint badge — Teal */
.tv3-tag--a {
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.08), rgba(20, 184, 166, 0.08));
    color: #0d9488;
    border: 1px solid rgba(13, 148, 136, 0.12);
}

/* Partenaire badge — Indigo */
.tv3-tag--p {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(139, 92, 246, 0.08));
    color: #6366f1;
    border: 1px solid rgba(99, 102, 241, 0.12);
}

.tv3-card:hover .tv3-tag--c {
    background: linear-gradient(135deg, #0077b6, #00b4d8);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(0, 119, 182, 0.25);
}

.tv3-card:hover .tv3-tag--a {
    background: linear-gradient(135deg, #0d9488, #14b8a6);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

.tv3-card:hover .tv3-tag--p {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

/* Name */
.tv3-card h4 {
    font-size: 1.18rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

/* Role Title */
.tv3-role {
    font-size: 0.82rem;
    color: #64748b;
    margin: 0 0 12px;
    font-weight: 500;
    line-height: 1.4;
}

/* Bio Description */
.tv3-desc {
    font-size: 0.84rem;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* External Link (partenaires) */
.tv3-ext-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #0077b6;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(0, 119, 182, 0.06);
}

.tv3-ext-link:hover {
    color: #fff;
    background: linear-gradient(135deg, #0077b6, #00b4d8);
    transform: translateX(4px);
    box-shadow: 0 4px 14px rgba(0, 119, 182, 0.3);
}

/* Filtered-out cards */
.tv3-card.is-hidden {
    display: none;
}

/* Card entrance animation */
@keyframes tv3CardIn {
    from {
        opacity: 0;
        transform: translateY(24px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.tv3-card.tv3-animate-in {
    animation: tv3CardIn 0.45s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

/* ── Group Card — équipe partenaire ─────────────────── */
.tv3-group-card {
    grid-column: span 2;
    flex-direction: row;
    min-height: 300px;
    cursor: default;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
    gap: 0;
}

.tv3-group-card::before {
    display: none;
}

.tv3-group-card:hover {
    transform: translateY(-8px) scale(1.005);
    box-shadow: 0 28px 60px rgba(0, 119, 182, 0.13), 0 8px 20px rgba(0, 0, 0, 0.06);
}

/* Left panel — firm identity */
.tv3-group-header {
    flex: 0 0 260px;
    padding: 32px 28px;
    background: linear-gradient(150deg, #023e8a 0%, #0077b6 55%, #00b4d8 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    position: relative;
    overflow: hidden;
    border-radius: 24px 0 0 24px;
}

.tv3-group-header .tv3-tag {
    width: fit-content;
}

/* Decorative orbs inside header */
.tv3-group-header::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    pointer-events: none;
}

.tv3-group-header::after {
    content: '';
    position: absolute;
    bottom: -35px;
    left: -35px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
    pointer-events: none;
}

.tv3-group-name {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.18rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
    letter-spacing: -0.01em;
}

.tv3-group-tagline {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.83rem;
    line-height: 1.65;
    margin: 0;
}

.tv3-group-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 50px;
    padding: 9px 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
    margin-top: 4px;
    position: relative;
    z-index: 1;
}

.tv3-group-link:hover {
    background: rgba(255, 255, 255, 0.28);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateX(4px);
}

/* Right panel — member portraits */
.tv3-group-members {
    flex: 1;
    display: flex;
    align-items: stretch;
    border-radius: 0 24px 24px 0;
    overflow: hidden;
    border: 1px solid rgba(0, 119, 182, 0.08);
    border-left: none;
    box-shadow: 4px 4px 24px rgba(0, 0, 0, 0.04);
    background: rgba(255, 255, 255, 0.93);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.tv3-member {
    flex: 1;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: background 0.3s;
}

.tv3-member + .tv3-member {
    border-left: 1px solid rgba(0, 119, 182, 0.1);
}

.tv3-member:hover {
    background: rgba(0, 180, 216, 0.03);
}

.tv3-member-img {
    width: 100%;
    height: 210px;
    overflow: hidden;
    flex-shrink: 0;
}

.tv3-member-img .tv3-img-ph {
    height: 100%;
    border-radius: 0;
}

.tv3-member-info {
    padding: 16px 20px 22px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.tv3-member-info h5 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.97rem;
    font-weight: 700;
    color: #03045e;
    margin: 0;
}

.tv3-member-info p {
    font-size: 0.78rem;
    color: #5a7d95;
    margin: 0;
}

/* ---- Team V3 Responsive ---- */
@media (max-width: 1200px) {
    .tv3-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 22px;
    }
}

@media (max-width: 900px) {
    .tv3-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }

    .tv3-img {
        height: 240px;
    }

    .team-v3-header h2 {
        font-size: 2rem;
    }

    .team-v3-section {
        padding: 80px 0 60px;
    }

    /* Group card goes full-width, stacks vertically */
    .tv3-group-card {
        grid-column: span 2;
        flex-direction: column;
    }

    .tv3-group-header {
        flex: 0 0 auto;
        border-radius: 24px 24px 0 0;
        padding: 28px 24px;
    }

    .tv3-group-members {
        border-radius: 0 0 24px 24px;
        border: 1px solid rgba(0, 119, 182, 0.08);
        border-top: none;
    }

    .tv3-member-img {
        height: 180px;
    }
}

@media (max-width: 560px) {
    .tv3-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .tv3-img {
        height: 320px;
    }

    .tv3-pills {
        gap: 8px;
    }

    .tv3-pill {
        padding: 8px 16px;
        font-size: 0.82rem;
    }

    .team-v3-header h2 {
        font-size: 1.6rem;
    }

    .tv3-body {
        padding: 18px 20px 24px;
    }

    .tv3-card:hover {
        transform: none;
    }

    /* Group card — single column mobile */
    .tv3-group-card {
        grid-column: span 1;
    }

    .tv3-group-card:hover {
        transform: none;
    }

    .tv3-member-img {
        height: 200px;
    }
}

/* =========================================
   TEAM GROUP SECTION — Tabbed Explorer (TG)
   ========================================= */

/* Section */
.tg-section {
    position: relative;
    background: transparent;
    overflow: hidden;
}
.tg-section::after {
    display: none;
}

/* Orbs */
.tg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(35px);
    pointer-events: none;
    z-index: 0;
}
.tg-orb--1 {
    width: 700px; height: 700px;
    top: -200px; right: -150px;
    background: radial-gradient(circle, rgba(0,180,216,0.07) 0%, transparent 70%);
}
.tg-orb--2 {
    width: 500px; height: 500px;
    bottom: -150px; left: -150px;
    background: radial-gradient(circle, rgba(0,119,182,0.06) 0%, transparent 70%);
}

/* Header */
.tg-header {
    text-align: center;
    margin-bottom: 52px;
    position: relative;
    z-index: 1;
}
.tg-header h2 {
    font-size: 2.6rem;
    font-family: 'Montserrat', sans-serif;
    color: #03045e;
    margin: 16px 0 14px;
    line-height: 1.15;
    letter-spacing: -0.02em;
}
.tg-subtitle {
    font-size: 0.95rem;
    color: #5a7d95;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.75;
}

/* ── Tabs — slim centered pill nav ── */
.tg-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 52px;
    position: relative;
    z-index: 1;
}
.tg-nav-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,255,255,0.95);
    border: 1px solid rgba(0,119,182,0.12);
    border-radius: 50px;
    padding: 5px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06), 0 1px 4px rgba(0,0,0,0.03);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.tg-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.87rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #5a7d95;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: all 0.32s cubic-bezier(0.4,0,0.2,1);
    outline: none;
    white-space: nowrap;
}
.tg-tab svg { width: 15px; height: 15px; stroke-width: 2; flex-shrink: 0; }
.tg-tab:hover:not(.active) {
    color: #0077b6;
    background: rgba(0,119,182,0.05);
}
.tg-tab.active {
    background: linear-gradient(135deg, #0077b6, #00b4d8);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0,180,216,0.35);
}
.tg-tab-count-pill {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 9px;
    border-radius: 50px;
    background: rgba(0,119,182,0.1);
    color: #0077b6;
    transition: all 0.32s;
    line-height: 1.5;
}
/* Pas de pastille tant que le vrai nombre n'est pas chargé (évite tout chiffre placeholder) */
.tg-tab-count-pill:empty { display: none; }
.tg-tab.active .tg-tab-count-pill {
    background: rgba(255,255,255,0.22);
    color: #fff;
}

/* ── Panels ── */
.tg-panels { position: relative; z-index: 1; min-height: 200px; }

.tg-panel { display: none; }
.tg-panel.active { display: block; }

/* Panel label row */
.tg-panel-label {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
}
.tg-panel-label-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #8aaabb;
    white-space: nowrap;
}
.tg-panel-label-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(0,119,182,0.14), transparent);
}

/* ── Card grid — centered flex ── */
.tg-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 22px;
    justify-content: center;
}

/* ── Cards ── */
.tg-card {
    flex: 0 0 calc(33.333% - 15px);
    max-width: calc(33.333% - 15px);
    border-radius: 20px;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0,119,182,0.07);
    box-shadow: 0 4px 24px rgba(0,0,0,0.04), 0 1px 4px rgba(0,0,0,0.03);
    overflow: hidden;
    position: relative;
    transition: transform 0.5s cubic-bezier(0.23,1,0.32,1),
                box-shadow 0.5s cubic-bezier(0.23,1,0.32,1),
                border-color 0.3s;
    display: flex;
    flex-direction: column;
}

/* Gradient border on hover */
.tg-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 20px;
    padding: 1.5px;
    background: linear-gradient(135deg, rgba(0,180,216,0.55), transparent 45%, transparent 55%, rgba(0,119,182,0.55));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.5s;
    z-index: 2;
    pointer-events: none;
}

/* Scan line */
.tg-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(0,180,216,0.95) 50%, transparent 100%);
    transform: translateY(-4px);
    z-index: 3;
    pointer-events: none;
    opacity: 0;
}

.tg-card:hover {
    transform: translateY(-12px) scale(1.015);
    box-shadow: 0 30px 64px rgba(0,119,182,0.12), 0 8px 20px rgba(0,0,0,0.06);
    border-color: rgba(0,180,216,0.15);
}
.tg-card:hover::before { opacity: 1; }
.tg-card:hover::after {
    opacity: 1;
    animation: tgScanLine 0.75s cubic-bezier(0.4,0,0.6,1) forwards;
}
@keyframes tgScanLine {
    from { transform: translateY(-4px); opacity: 0.9; }
    to   { transform: translateY(560px); opacity: 0.2; }
}

/* Photo */
.tg-photo {
    width: 100%;
    height: 240px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}
.tg-photo-ph {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #e8f4f8 0%, #dbeafe 30%, #f0f9ff 55%, #e0f2fe 80%, #e8f4f8 100%);
    background-size: 400% 400%;
    animation: none;
}
.tg-card:hover .tg-photo-ph {
    animation-play-state: paused;
}
.tg-photo--sm { height: 180px; }

/* Card body */
.tg-body {
    padding: 20px 24px 26px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

/* Badges */
.tg-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 4px 11px;
    border-radius: 50px;
    width: fit-content;
    transition: all 0.3s;
}
.tg-badge--c {
    background: linear-gradient(135deg, rgba(0,119,182,0.08), rgba(0,180,216,0.08));
    color: #0077b6;
}
.tg-badge--a {
    background: linear-gradient(135deg, rgba(13,148,136,0.08), rgba(20,184,166,0.08));
    color: #0d9488;
}
.tg-badge--p {
    background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(139,92,246,0.08));
    color: #6366f1;
}
.tg-card:hover .tg-badge--c {
    background: linear-gradient(135deg, #0077b6, #00b4d8);
    color: #fff;
}
.tg-card:hover .tg-badge--a {
    background: linear-gradient(135deg, #0d9488, #14b8a6);
    color: #fff;
}

.tg-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #03045e;
    margin: 2px 0;
    line-height: 1.25;
}
.tg-role-text {
    font-size: 0.8rem;
    color: #5a7d95;
    font-style: italic;
    line-height: 1.4;
}
.tg-bio {
    font-size: 0.83rem;
    color: #7a92a6;
    line-height: 1.68;
    margin-top: 4px;
    flex: 1;
}

/* ── Support team: 5 per row, compact ── */
.tg-grid--support .tg-card {
    flex: 0 0 calc(20% - 18px);
    max-width: calc(20% - 18px);
}
.tg-card--compact .tg-body {
    padding: 16px 18px 20px;
    gap: 5px;
}
.tg-card--compact .tg-name {
    font-size: 0.93rem;
}

/* ── Partner group card ── */
.tg-partner-wrap {
    max-width: 860px;
    margin: 0 auto;
}
.tg-partner-wrap .tg-card {
    flex: none;
    max-width: none;
    width: 100%;
    flex-direction: row;
    min-height: 300px;
}
.tg-group-header {
    flex: 0 0 280px;
    padding: 36px 32px;
    background: linear-gradient(150deg, #023e8a 0%, #0077b6 55%, #00b4d8 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
    position: relative;
    overflow: hidden;
}
.tg-group-header::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 200px; height: 200px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    pointer-events: none;
}
.tg-group-header::after {
    content: '';
    position: absolute;
    bottom: -40px; left: -40px;
    width: 160px; height: 160px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}
.tg-group-name {
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;
}
.tg-group-tagline {
    color: rgba(255,255,255,0.82);
    font-size: 0.83rem;
    line-height: 1.65;
    margin: 0;
}
.tg-group-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #fff;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.35);
    border-radius: 50px;
    padding: 9px 18px;
    text-decoration: none;
    transition: all 0.3s ease;
    width: fit-content;
    margin-top: 4px;
    position: relative;
    z-index: 1;
}
.tg-group-link:hover {
    background: rgba(255,255,255,0.28);
    border-color: rgba(255,255,255,0.6);
    transform: translateX(4px);
}
.tg-group-members {
    flex: 1;
    display: flex;
    align-items: stretch;
    background: rgba(255,255,255,0.96);
}
.tg-member {
    flex: 1;
    display: flex;
    flex-direction: column;
}
.tg-member + .tg-member {
    border-left: 1px solid rgba(0,119,182,0.1);
}
.tg-member--clickable {
    cursor: pointer;
    transition: background 0.25s;
}
.tg-member--clickable:hover { background: rgba(0,180,216,0.04); }
.tg-member-cta {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: #0077b6;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 4px;
    opacity: 0;
    transform: translateY(4px);
    transition: all 0.25s;
}
.tg-member--clickable:hover .tg-member-cta {
    opacity: 1;
    transform: translateY(0);
}
.tg-member:hover { background: rgba(0,180,216,0.02); }
.tg-member-img {
    width: 100%; height: 210px;
    overflow: hidden;
    flex-shrink: 0;
}
.tg-member-img .tg-photo-ph { height: 100%; border-radius: 0; }
.tg-member-info {
    padding: 16px 20px 22px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}
.tg-member-info h5 {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: #03045e;
    margin: 0;
}
.tg-member-info p {
    font-size: 0.77rem;
    color: #5a7d95;
    margin: 0;
}
/* Override card hover for group card */
.tg-partner-wrap .tg-card:hover {
    transform: translateY(-8px) scale(1.005);
}

/* ── Card top accent bar ── */
.tg-card-top {
    height: 3px;
    background: linear-gradient(90deg, #0077b6, #00b4d8);
    flex-shrink: 0;
}
.tg-card-top--a { background: linear-gradient(90deg, #0d9488, #14b8a6); }
.tg-card-top--p { background: linear-gradient(90deg, #4f46e5, #7c3aed); }

/* ── Monogram avatars ── */
.tg-avatar {
    width: 70px; height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    margin-bottom: 10px;
    letter-spacing: -0.02em;
    position: relative;
}
.tg-avatar::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1.5px solid transparent;
    background: inherit;
    background-clip: padding-box;
    opacity: 0.2;
}
.tg-avatar--c {
    background: linear-gradient(135deg, #023e8a, #0077b6);
    box-shadow: 0 6px 20px rgba(0,119,182,0.28);
}
.tg-avatar--a {
    background: linear-gradient(135deg, #0d9488, #14b8a6);
    box-shadow: 0 6px 20px rgba(13,148,136,0.25);
}
.tg-avatar--p {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    box-shadow: 0 6px 20px rgba(99,102,241,0.25);
}
.tg-avatar--sm {
    width: 52px; height: 52px;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.tg-avatar--lg {
    width: 90px; height: 90px;
    font-size: 1.7rem;
}

/* Member image as avatar center */
.tg-member-img--avatar {
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f0f9ff 0%, #e8f4f8 100%);
    flex-shrink: 0;
}

/* ── Photo-first card variant ── */
.tg-card--photo {
    background: #03045e;
    border-color: transparent;
    cursor: pointer;
    aspect-ratio: 3 / 4;
    height: auto;
    display: block;
    padding: 0;
}
.tg-card--photo-sm { aspect-ratio: 3 / 4; height: auto; }

.tg-card--photo .tg-card-img {
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.tg-card--photo .tg-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top center;
    transition: transform 0.65s cubic-bezier(0.23,1,0.32,1);
}
.tg-card--photo:hover .tg-card-img img { transform: scale(1.06); }

.tg-card-img-ph {
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: rgba(255,255,255,0.88);
    letter-spacing: -0.02em;
    background-size: 240% 240%;
    background-position: 20% 20%;
    transition: background-position 1s ease, transform 0.7s cubic-bezier(0.23,1,0.32,1), filter 0.5s;
    user-select: none;
}
.tg-card--photo:hover .tg-card-img-ph {
    background-position: 80% 80%;
    transform: scale(1.06);
    filter: brightness(1.1) saturate(1.15);
}
.tg-card--photo-sm .tg-card-img-ph { font-size: 2.4rem; }

.tg-card-img-ph--c {
    background: linear-gradient(135deg, #023e8a 0%, #0055a4 25%, #0077b6 50%, #00a0cc 75%, #00b4d8 100%);
    background-size: 240% 240%;
    background-position: 20% 20%;
}
.tg-card-img-ph--a {
    background: linear-gradient(135deg, #065f52 0%, #0d9488 35%, #0fafa0 60%, #14b8a6 100%);
    background-size: 240% 240%;
    background-position: 20% 20%;
}
.tg-card-img-ph--p {
    background: linear-gradient(135deg, #1e1b4b 0%, #3730a3 35%, #4f46e5 65%, #818cf8 100%);
    background-size: 240% 240%;
    background-position: 20% 20%;
}

/* ── Light sweep on hover (Atlassian-style) ── */
.tg-card--photo .tg-card-img::after {
    content: '';
    position: absolute;
    top: 0; left: -130%;
    width: 60%; height: 100%;
    background: linear-gradient(
        105deg,
        transparent 10%,
        rgba(255,255,255,0.28) 50%,
        transparent 90%
    );
    transform: skewX(-12deg);
    pointer-events: none;
    z-index: 4;
    opacity: 0;
}
.tg-card--photo:hover .tg-card-img::after {
    opacity: 1;
    animation: tgLightSweep 0.85s cubic-bezier(0.4,0,0.2,1) forwards;
}
@keyframes tgLightSweep {
    0%   { left: -130%; opacity: 1; }
    100% { left: 140%;  opacity: 0; }
}

.tg-card-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 72px 18px 18px;
    background: linear-gradient(to top, rgba(3,4,94,0.92) 0%, rgba(3,4,94,0.55) 55%, transparent 100%);
    z-index: 2;
}
.tg-card--photo-sm .tg-card-overlay { padding: 44px 14px 14px; }

.tg-card-name {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 3px;
    line-height: 1.25;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
}
.tg-card--photo-sm .tg-card-name { font-size: 0.78rem; }

.tg-card-role-label {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.8);
    font-style: italic;
    margin: 0 0 8px;
    line-height: 1.3;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.tg-card--photo-sm .tg-card-role-label { font-size: 0.7rem; margin-bottom: 0; }

.tg-card-tap {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-weight: 600;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.07em;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(6px);
    transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
    pointer-events: none;
}
.tg-card--photo:hover .tg-card-tap { opacity: 1; transform: translateY(0); }

/* Override default card hover for photo cards */
.tg-card--photo:hover {
    transform: translateY(-10px) scale(1.012);
    border-color: rgba(0,180,216,0.4);
}
/* Color-specific glow on hover */
.tg-card--photo[data-type="c"]:hover {
    box-shadow:
        0 0 0 2px rgba(0,180,216,0.45),
        0 28px 60px rgba(0,119,182,0.28),
        0 8px 20px rgba(0,0,0,0.1);
}
.tg-card--photo[data-type="a"]:hover {
    box-shadow:
        0 0 0 2px rgba(20,184,166,0.45),
        0 28px 60px rgba(13,148,136,0.25),
        0 8px 20px rgba(0,0,0,0.1);
    border-color: rgba(20,184,166,0.4);
}
.tg-card--photo[data-type="p"]:hover {
    box-shadow:
        0 0 0 2px rgba(129,140,248,0.45),
        0 28px 60px rgba(79,70,229,0.25),
        0 8px 20px rgba(0,0,0,0.1);
    border-color: rgba(129,140,248,0.4);
}
/* Disable card-level scan-line on photo cards (shine is on .tg-card-img::after instead) */
.tg-card--photo::after { display: none; }

/* ════════════════════════════════════════════════════════
   CUTOUT CARDS v10 — Quantum Fintech
   Fond lumineux structuré · circuit-board grid · aura photo
   Hover immersif bleu avec overlay fluide
════════════════════════════════════════════════════════ */

/* ── Animations ── */
@keyframes fintechGridPulse {
    0%, 100% { opacity: 0.55; }
    50%      { opacity: 1; }
}
@keyframes fintechAccentFlow {
    0%   { background-position: -100% 0; }
    100% { background-position: 200% 0; }
}
@keyframes particleDrift {
    0%, 100% {
        background-position: 18% 25%, 80% 15%, 85% 60%, 10% 70%, 55% 8%, 35% 80%, center, 0 0;
    }
    33% {
        background-position: 23% 20%, 75% 21%, 79% 66%, 15% 64%, 59% 14%, 39% 74%, center, 0 0;
    }
    66% {
        background-position: 14% 29%, 83% 11%, 89% 56%, 7% 74%, 51% 5%, 31% 84%, center, 0 0;
    }
}

/* ── Card base ── */
.tg-card--cutout {
    background: #ffffff;
    overflow: hidden;
    will-change: transform;
    transition:
        transform 0.08s linear,
        box-shadow 0.55s cubic-bezier(0.23,1,0.32,1),
        border-color 0.55s ease;
    box-shadow:
        inset 0 1px 0 rgba(0,180,216,0.14),
        inset 0 -1px 0 rgba(0,119,182,0.06),
        0 2px 6px rgba(0,119,182,0.08),
        0 10px 36px rgba(0,0,0,0.07);
    border: 1px solid rgba(0,119,182,0.13);
}
.tg-card--cutout.tg-tilt-reset {
    transition:
        transform 0.55s cubic-bezier(0.23,1,0.32,1),
        box-shadow 0.55s ease,
        border-color 0.55s ease;
}

/* ── Image area — particles + aura + gradient ── */
.tg-card--cutout .tg-card-img {
    background-image:
        radial-gradient(circle 3px at center, rgba(0,180,216,0.24) 0%, transparent 100%),
        radial-gradient(circle 2px at center, rgba(0,119,182,0.20) 0%, transparent 100%),
        radial-gradient(circle 2.5px at center, rgba(0,180,216,0.17) 0%, transparent 100%),
        radial-gradient(circle 2px at center, rgba(0,119,182,0.14) 0%, transparent 100%),
        radial-gradient(circle 1.5px at center, rgba(0,180,216,0.22) 0%, transparent 100%),
        radial-gradient(circle 2.5px at center, rgba(0,119,182,0.13) 0%, transparent 100%),
        radial-gradient(ellipse 52% 42% at 50% 58%,
            rgba(0,180,216,0.10) 0%, rgba(0,119,182,0.04) 42%, transparent 64%),
        linear-gradient(160deg, #edf4ff 0%, #e2edfb 32%, #f2f7ff 58%, #e8f1fc 82%, #eef5ff 100%);
    background-size: 8px 8px, 6px 6px, 7px 7px, 6px 6px, 5px 5px, 7px 7px, 100% 100%, 100% 100%;
    background-repeat: no-repeat;
    background-position: 18% 25%, 80% 15%, 85% 60%, 10% 70%, 55% 8%, 35% 80%, center, 0 0;
    animation: particleDrift 10s ease-in-out 2;
}

/* ── Circuit-board grid — lines + node dots ── */
.tg-card--cutout .tg-card-img::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(0deg,   rgba(0,119,182,0.06) 1px, transparent 1px),
        linear-gradient(90deg,  rgba(0,119,182,0.06) 1px, transparent 1px),
        radial-gradient(circle 1.6px, rgba(0,180,216,0.24) 0%, transparent 100%);
    background-size: 30px 30px;
    z-index: 1;
    pointer-events: none;
    animation: none;
}
.tg-card--cutout:hover .tg-card-img::before {
    background-image:
        linear-gradient(0deg,   rgba(255,255,255,0.06) 1px, transparent 1px),
        linear-gradient(90deg,  rgba(255,255,255,0.06) 1px, transparent 1px),
        radial-gradient(circle 1.6px, rgba(255,255,255,0.10) 0%, transparent 100%);
    animation: none;
    opacity: 0.7;
}

/* ── Hover blue overlay (smooth opacity fade-in) ── */
.tg-card--cutout .tg-card-img::after {
    display: block;
    content: '';
    position: absolute;
    inset: 0;
    width: auto; height: auto;
    left: 0; top: 0;
    transform: none;
    background:
        radial-gradient(ellipse 48% 36% at 50% 55%,
            rgba(0,180,216,0.10) 0%, transparent 58%),
        linear-gradient(155deg, rgba(14,90,148,0.45) 0%, rgba(21,133,196,0.38) 38%, rgba(50,180,225,0.30) 72%, rgba(80,205,240,0.22) 100%);
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.55s cubic-bezier(0.23,1,0.32,1);
    animation: none;
}
.tg-card--cutout:hover .tg-card-img::after {
    opacity: 1;
    animation: none;
}
/* Hover bg — assistant (teal) */
.tg-card--cutout[data-type="a"] .tg-card-img::after {
    background:
        radial-gradient(ellipse 48% 36% at 50% 55%,
            rgba(14,200,168,0.10) 0%, transparent 58%),
        linear-gradient(155deg, rgba(8,61,54,0.45) 0%, rgba(14,110,96,0.38) 38%, rgba(26,170,140,0.30) 72%, rgba(40,210,180,0.22) 100%);
}
/* Hover bg — partenaire (indigo) */
.tg-card--cutout[data-type="p"] .tg-card-img::after {
    background:
        radial-gradient(ellipse 48% 36% at 50% 55%,
            rgba(129,140,248,0.10) 0%, transparent 58%),
        linear-gradient(155deg, rgba(26,22,80,0.45) 0%, rgba(53,46,160,0.38) 38%, rgba(95,82,220,0.30) 72%, rgba(140,145,245,0.22) 100%);
}

/* ── Accent bar — animated flowing light ── */
.tg-card--cutout::after {
    display: block; content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(0,180,216,0.12) 12%,
        rgba(0,180,216,0.70) 38%,
        rgba(0,119,182,0.95) 50%,
        rgba(0,180,216,0.70) 62%,
        rgba(0,180,216,0.12) 88%,
        transparent 100%);
    background-size: 200% 100%;
    z-index: 10; pointer-events: none;
    animation: fintechAccentFlow 3.5s ease-in-out 2;
}
.tg-card--cutout:hover::after {
    background: linear-gradient(90deg, #00b4d8, #0077b6, #03045e, #0077b6, #00b4d8);
    background-size: 100% 100%;
    box-shadow: 0 0 16px rgba(0,180,216,0.55), 0 0 4px rgba(0,180,216,0.80);
    animation: none;
}
/* Accent bar — teal for assistants */
.tg-card--cutout[data-type="a"]::after {
    background: linear-gradient(90deg,
        transparent 0%, rgba(14,200,168,0.12) 12%, rgba(14,200,168,0.70) 38%,
        rgba(13,148,136,0.95) 50%, rgba(14,200,168,0.70) 62%, rgba(14,200,168,0.12) 88%,
        transparent 100%);
    background-size: 200% 100%;
}
.tg-card--cutout[data-type="a"]:hover::after {
    background: linear-gradient(90deg, #14b8a6, #0d9488, #065f52, #0d9488, #14b8a6);
    box-shadow: 0 0 16px rgba(14,200,168,0.55), 0 0 4px rgba(14,200,168,0.80);
}
/* Accent bar — indigo for partenaires */
.tg-card--cutout[data-type="p"]::after {
    background: linear-gradient(90deg,
        transparent 0%, rgba(129,140,248,0.12) 12%, rgba(129,140,248,0.70) 38%,
        rgba(99,102,241,0.95) 50%, rgba(129,140,248,0.70) 62%, rgba(129,140,248,0.12) 88%,
        transparent 100%);
    background-size: 200% 100%;
}
.tg-card--cutout[data-type="p"]:hover::after {
    background: linear-gradient(90deg, #818cf8, #6366f1, #3730a3, #6366f1, #818cf8);
    box-shadow: 0 0 16px rgba(99,102,241,0.55), 0 0 4px rgba(99,102,241,0.80);
}

/* ── Spotlight — mouse follow glow ── */
.tg-cutout-spotlight { display: none; }

/* ── Photo — float + rim light + color grading ── */
.tg-card--cutout .tg-card-img img.tg-img--cover {
    object-fit: cover; object-position: center top;
}
.tg-card--cutout .tg-card-img img {
    object-fit: contain; object-position: bottom center;
    position: relative; z-index: 4;
    transform: scale(1.08) translateY(-14px);
    transition: transform 0.55s cubic-bezier(0.23,1,0.32,1), filter 0.6s ease;
    /* Color grading: cool desaturated tone at rest */
    /* Rim light: subtle cyan halo around person */
    filter:
        saturate(0.85) brightness(1.02) contrast(1.06)
        drop-shadow(0 0 12px rgba(0,180,216,0.16))
        drop-shadow(0 8px 20px rgba(0,30,80,0.12));
}

/* Hover: activate full color + dramatic rim light */
.tg-card--cutout:hover .tg-card-img img {
    transform: scale(1.10) translateY(-20px);
    filter:
        saturate(1.18) brightness(1.08) contrast(1.02)
        drop-shadow(0 0 24px rgba(0,180,216,0.42))
        drop-shadow(0 24px 48px rgba(0,0,0,0.32))
        drop-shadow(0 -5px 26px rgba(0,180,216,0.32));
}
.tg-card--cutout[data-type="a"]:hover .tg-card-img img {
    filter:
        saturate(1.18) brightness(1.08) contrast(1.02)
        drop-shadow(0 0 24px rgba(14,200,168,0.42))
        drop-shadow(0 24px 48px rgba(0,0,0,0.32))
        drop-shadow(0 -5px 26px rgba(14,200,168,0.32));
}
.tg-card--cutout[data-type="p"]:hover .tg-card-img img {
    filter:
        saturate(1.18) brightness(1.08) contrast(1.02)
        drop-shadow(0 0 24px rgba(99,102,241,0.42))
        drop-shadow(0 24px 48px rgba(0,0,0,0.32))
        drop-shadow(0 -5px 26px rgba(99,102,241,0.32));
}

/* Stagger particles per card */
.tg-grid .tg-card--cutout:nth-child(2) .tg-card-img { animation-delay: -3.5s; }
.tg-grid .tg-card--cutout:nth-child(3) .tg-card-img { animation-delay: -7s; }
.tg-grid .tg-card--cutout:nth-child(4) .tg-card-img { animation-delay: -1.5s; }
.tg-grid .tg-card--cutout:nth-child(5) .tg-card-img { animation-delay: -5s; }
.tg-grid .tg-card--cutout:nth-child(6) .tg-card-img { animation-delay: -8.5s; }
.tg-grid .tg-card--cutout:nth-child(7) .tg-card-img { animation-delay: -2.5s; }

/* Desktop: shorter cards to reduce space above heads */
@media (min-width: 901px) {
    .tg-card--cutout.tg-card--photo {
        aspect-ratio: 3 / 3.4;
    }
}

/* Buisson cards: keep photos lower */
[data-panel="buisson"] .tg-card--cutout .tg-card-img img {
    transform: scale(1.08) translateY(-6px);
}
[data-panel="buisson"] .tg-card--cutout:hover .tg-card-img img {
    transform: scale(1.10) translateY(-12px);
}

/* ── Overlay — smooth color via mask technique ── */
.tg-card--cutout .tg-card-overlay {
    z-index: 5;
    background: rgba(245,249,255,0.96);
    -webkit-mask-image: linear-gradient(to top, black 0%, black 35%, transparent 78%);
    mask-image: linear-gradient(to top, black 0%, black 35%, transparent 78%);
    transition: background 0.55s cubic-bezier(0.23,1,0.32,1);
}
.tg-card--cutout:hover .tg-card-overlay {
    background: rgba(6,22,58,0.82);
}

/* ── Text — navy on light → white on blue ── */
.tg-card--cutout .tg-card-name {
    color: #03045e;
    text-shadow: none;
    transition: color 0.45s, text-shadow 0.45s;
}
.tg-card--cutout:hover .tg-card-name {
    color: #ffffff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.50);
}

.tg-card--cutout .tg-card-role-label {
    display: inline-block;
    color: #0077b6;
    font-style: normal;
    font-weight: 600;
    font-size: 0.58rem;
    letter-spacing: 0.03em;
    text-shadow: none;
    background: rgba(0,119,182,0.08);
    padding: 3px 10px;
    border-radius: 20px;
    transition: color 0.45s, text-shadow 0.45s, background 0.45s;
}
.tg-card--cutout[data-type="a"] .tg-card-role-label {
    color: #0d9488;
    background: rgba(13,148,136,0.08);
}
.tg-card--cutout[data-type="p"] .tg-card-role-label {
    color: #4f46e5;
    background: rgba(79,70,229,0.08);
}
.tg-card--cutout:hover .tg-card-role-label {
    color: rgba(255,255,255,0.9);
    background: rgba(255,255,255,0.12);
    text-shadow: none;
}

.tg-card--cutout .tg-card-tap {
    color: rgba(0,119,182,0.60);
    transition: color 0.4s;
}
.tg-card--cutout:hover .tg-card-tap {
    color: rgba(255,255,255,0.70);
}

/* ── Hover glow — conseiller (cyan/blue) ── */
.tg-card--cutout:hover,
.tg-card--cutout[data-type="c"]:hover {
    border-color: rgba(0,180,216,0.55);
    box-shadow:
        inset 0 1px 0 rgba(0,180,216,0.25),
        0 0 0 1px rgba(0,180,216,0.35),
        0 24px 60px rgba(0,119,182,0.28),
        0 8px 22px rgba(0,0,0,0.12);
}
/* Assistant (teal) */
.tg-card--cutout[data-type="a"]:hover {
    border-color: rgba(14,200,168,0.55);
    box-shadow:
        inset 0 1px 0 rgba(14,200,168,0.25),
        0 0 0 1px rgba(14,200,168,0.35),
        0 24px 60px rgba(13,148,136,0.25),
        0 8px 22px rgba(0,0,0,0.12);
}
/* Partenaire (indigo) */
.tg-card--cutout[data-type="p"]:hover {
    border-color: rgba(99,102,241,0.55);
    box-shadow:
        inset 0 1px 0 rgba(99,102,241,0.25),
        0 0 0 1px rgba(99,102,241,0.35),
        0 24px 60px rgba(79,70,229,0.25),
        0 8px 22px rgba(0,0,0,0.12);
}

/* ── Cutout initials placeholder (sans photo) ── */
.tg-cutout-initials {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 5rem;
    font-weight: 800;
    color: rgba(0,119,182,0.13);
    z-index: 4;
    pointer-events: none;
    user-select: none;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 24px rgba(0,180,216,0.06);
    transition: color 0.55s ease, text-shadow 0.55s ease;
}
.tg-card--cutout:hover .tg-cutout-initials {
    color: rgba(255,255,255,0.14);
    text-shadow: 0 4px 30px rgba(0,180,216,0.12);
}

/* ── Buisson partner badge — coin haut droit ── */
.tg-buisson-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 9;
    height: 44px;
    width: auto;
    pointer-events: none;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 5px 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    border: 1px solid rgba(0,119,182,0.08);
    transition: background 0.45s, box-shadow 0.45s, transform 0.45s cubic-bezier(0.34,1.56,0.64,1);
}
.tg-card--cutout:hover .tg-buisson-badge {
    background: rgba(255,255,255,0.97);
    box-shadow: 0 4px 18px rgba(0,0,0,0.16);
    transform: scale(1.08);
}
.tg-buisson-badge img {
    height: 100%;
    width: auto;
    display: block;
    object-fit: contain;
}

/* ════════════════════════════════════════════════════════
   LOGO BADGE — Coin haut gauche, toujours visible
   Hover : bloom lumineux 4 couches + spring scale + reflet
════════════════════════════════════════════════════════ */
@keyframes logoShine {
    0%   { transform: translateX(-180%) skewX(-22deg); opacity: 1; }
    100% { transform: translateX(280%)  skewX(-22deg); opacity: 1; }
}
/* ── Badge : toujours visible, taille généreuse ── */
.tg-card-logo {
    position: absolute;
    top: 11px;
    left: 11px;
    z-index: 8;
    width: 38px;
    height: 38px;
    pointer-events: none;
    overflow: visible;
    background: transparent;
    padding: 0;
    /* ombre portée sur la silhouette du logo (lisibilité sans carré blanc) */
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.45));
    transition: transform 0.44s cubic-bezier(0.34,1.56,0.64,1),
                filter     0.44s ease;
}
/* Hover : scale spring */
.tg-card--photo:hover .tg-card-logo {
    transform: scale(1.18);
    filter: drop-shadow(0 3px 9px rgba(0,0,0,0.55));
}

/* Image du logo */
.tg-card-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Reflet diagonal retiré avec le carré blanc */
.tg-card-logo::after { display: none; }


/* ── Buisson intro bar ── */
.tg-buisson-intro {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 12px 20px;
    margin-bottom: 28px;
    background: rgba(0,100,180,0.05);
    border: 1px solid rgba(0,130,190,0.14);
    border-radius: 12px;
}
.tg-buisson-intro p {
    margin: 0;
    font-size: 0.88rem;
    color: #4a5568;
    flex: 1;
}
.tg-buisson-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: #00b4d8;
    text-decoration: none;
    padding: 6px 14px;
    border: 1px solid rgba(0,180,216,0.30);
    border-radius: 20px;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}
.tg-buisson-link:hover {
    background: rgba(0,180,216,0.08);
    color: #0096b4;
}

/* ══════════════════════════════════════════════
   Profile Popup v5 — Immersive Card-Style
   ══════════════════════════════════════════════ */
.tg-popup {
    position: fixed;
    inset: 0;
    z-index: 9100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.tg-popup[hidden] { display: none; }

.tg-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    cursor: pointer;
}

.tg-popup-inner {
    position: relative;
    background: #fff;
    border-radius: 24px;
    box-shadow:
        0 30px 100px rgba(0,30,80,0.18),
        0 8px 32px rgba(0,0,0,0.08),
        inset 0 1px 0 rgba(0,180,216,0.08);
    max-width: 940px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: row;
    border: 1px solid rgba(0,119,182,0.10);
}

.tg-popup-close {
    position: absolute;
    top: 14px; right: 14px;
    z-index: 20;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.92);
    border: 1px solid rgba(0,0,0,0.06);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
    color: #586e82;
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.tg-popup-close:hover {
    background: #fff;
    color: #03045e;
    border-color: rgba(0,119,182,0.2);
    transform: scale(1.08);
    box-shadow: 0 4px 14px rgba(0,0,0,0.1);
}

/* ══ LEFT PANEL: Immersive Photo with Card Effects ══ */
.tg-popup-left {
    flex: 0 0 360px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #edf4ff 0%, #e2edfb 32%, #f2f7ff 58%, #e8f1fc 82%, #eef5ff 100%);
}

/* ── Background layer: particles + pale gradient (same as card) ── */
.tg-popup-left-bg {
    position: absolute;
    inset: -10px;
    z-index: 0;
    transition: transform 0.08s linear;
    background-image:
        radial-gradient(circle 4px at 18% 22%, rgba(0,180,216,0.28) 0%, transparent 100%),
        radial-gradient(circle 3px at 82% 12%, rgba(0,119,182,0.22) 0%, transparent 100%),
        radial-gradient(circle 3.5px at 88% 58%, rgba(0,180,216,0.20) 0%, transparent 100%),
        radial-gradient(circle 2.5px at 8% 68%, rgba(0,119,182,0.16) 0%, transparent 100%),
        radial-gradient(circle 2px at 55% 6%, rgba(0,180,216,0.25) 0%, transparent 100%),
        radial-gradient(circle 3px at 35% 82%, rgba(0,119,182,0.15) 0%, transparent 100%),
        radial-gradient(circle 2px at 72% 88%, rgba(0,180,216,0.20) 0%, transparent 100%),
        radial-gradient(circle 2.5px at 45% 42%, rgba(0,119,182,0.12) 0%, transparent 100%),
        radial-gradient(ellipse 60% 50% at 50% 55%,
            rgba(0,180,216,0.12) 0%, rgba(0,119,182,0.05) 42%, transparent 64%),
        linear-gradient(160deg, #edf4ff 0%, #e2edfb 32%, #f2f7ff 58%, #e8f1fc 82%, #eef5ff 100%);
    animation: popupParticleDrift 12s ease-in-out infinite;
}
@keyframes popupParticleDrift {
    0%, 100% { background-position: 18% 22%, 82% 12%, 88% 58%, 8% 68%, 55% 6%, 35% 82%, 72% 88%, 45% 42%, center, 0 0; }
    50%      { background-position: 22% 26%, 78% 16%, 84% 54%, 12% 64%, 51% 10%, 39% 78%, 68% 84%, 49% 46%, center, 0 0; }
}

/* ── Circuit-board grid (same as card ::before) ── */
.tg-popup-left-grid {
    position: absolute;
    inset: -10px;
    z-index: 1;
    pointer-events: none;
    transition: transform 0.08s linear;
    background-image:
        linear-gradient(0deg,   rgba(0,119,182,0.055) 1px, transparent 1px),
        linear-gradient(90deg,  rgba(0,119,182,0.055) 1px, transparent 1px),
        radial-gradient(circle 1.8px, rgba(0,180,216,0.22) 0%, transparent 100%);
    background-size: 32px 32px;
    opacity: 0.8;
}

/* ── Radial glow — soft aura behind person ── */
.tg-popup-left-glow {
    position: absolute;
    inset: -10px;
    z-index: 2;
    pointer-events: none;
    transition: transform 0.08s linear;
    background: radial-gradient(
        ellipse 70% 60% at 50% 50%,
        rgba(0,180,216,0.14) 0%,
        rgba(0,119,182,0.07) 35%,
        transparent 65%
    );
}

/* ── Colored overlay (like card hover state, always on) ── */
.tg-popup-left-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    background:
        radial-gradient(ellipse 52% 40% at 50% 55%,
            rgba(0,180,216,0.12) 0%, transparent 58%),
        linear-gradient(155deg,
            rgba(14,90,148,0.32) 0%,
            rgba(21,133,196,0.25) 38%,
            rgba(50,180,225,0.18) 72%,
            rgba(80,205,240,0.12) 100%);
}
/* Overlay variant — assistant (teal) */
.tg-popup-left.tg-popup-left--a .tg-popup-left-overlay {
    background:
        radial-gradient(ellipse 52% 40% at 50% 55%,
            rgba(14,200,168,0.12) 0%, transparent 58%),
        linear-gradient(155deg,
            rgba(8,61,54,0.32) 0%,
            rgba(14,110,96,0.25) 38%,
            rgba(26,170,140,0.18) 72%,
            rgba(40,210,180,0.12) 100%);
}
/* Overlay variant — partenaire (indigo) */
.tg-popup-left.tg-popup-left--p .tg-popup-left-overlay {
    background:
        radial-gradient(ellipse 52% 40% at 50% 55%,
            rgba(129,140,248,0.12) 0%, transparent 58%),
        linear-gradient(155deg,
            rgba(26,22,80,0.32) 0%,
            rgba(53,46,160,0.25) 38%,
            rgba(95,82,220,0.18) 72%,
            rgba(140,145,245,0.12) 100%);
}

/* ── "G" Logo Badge — top-left ── */
.tg-popup-left-logo {
    position: absolute;
    top: 16px; left: 16px;
    z-index: 12;
    width: 52px; height: 52px;
    border-radius: 14px;
    background: rgba(255,255,255,0.95);
    box-shadow:
        0 4px 16px rgba(0,30,80,0.12),
        0 0 0 1px rgba(0,119,182,0.12);
    padding: 7px;
    overflow: hidden;
    backdrop-filter: blur(6px);
}
.tg-popup-left-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
/* Shine sweep on the logo */
.tg-popup-left-logo::after {
    content: '';
    position: absolute;
    top: -15%; bottom: -15%;
    left: 0; width: 55%;
    background: linear-gradient(to right, transparent 0%, rgba(255,255,255,0.8) 50%, transparent 100%);
    transform: translateX(-180%) skewX(-22deg);
    pointer-events: none;
    animation: popupLogoShine 2.5s ease-out 0.6s forwards;
}
@keyframes popupLogoShine {
    0%   { transform: translateX(-180%) skewX(-22deg); opacity: 1; }
    100% { transform: translateX(280%)  skewX(-22deg); opacity: 0; }
}

/* ── Photo container ── */
.tg-popup-ph {
    position: relative;
    z-index: 5;
    width: 100%;
    height: 360px;
    transition: transform 0.08s linear;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 4.5rem;
    font-weight: 800;
    color: rgba(0,119,182,0.12);
    letter-spacing: -0.03em;
    user-select: none;
    overflow: hidden;
    flex-shrink: 0;
}
/* Photo image styling — same filters as card photos */
.tg-popup-ph[style*="background-image"] {
    background-size: cover !important;
    background-position: center top !important;
    transition: filter 0.5s ease, transform 0.5s ease;
    filter:
        saturate(1.12) brightness(1.06) contrast(1.04)
        drop-shadow(0 0 20px rgba(0,180,216,0.30))
        drop-shadow(0 12px 32px rgba(0,0,0,0.18));
}

/* ── Accent bar — flowing light at top ── */
.tg-popup-left-bar {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    z-index: 15;
    pointer-events: none;
    background: linear-gradient(90deg, #00b4d8, #0077b6, #03045e, #0077b6, #00b4d8);
    box-shadow: 0 0 16px rgba(0,180,216,0.50), 0 0 4px rgba(0,180,216,0.70);
}
/* Accent bar — teal for assistant */
.tg-popup-left.tg-popup-left--a .tg-popup-left-bar {
    background: linear-gradient(90deg, #14b8a6, #0d9488, #065f52, #0d9488, #14b8a6);
    box-shadow: 0 0 16px rgba(14,200,168,0.50), 0 0 4px rgba(14,200,168,0.70);
}
/* Accent bar — indigo for partenaire */
.tg-popup-left.tg-popup-left--p .tg-popup-left-bar {
    background: linear-gradient(90deg, #818cf8, #6366f1, #3730a3, #6366f1, #818cf8);
    box-shadow: 0 0 16px rgba(99,102,241,0.50), 0 0 4px rgba(99,102,241,0.70);
}

/* ── Info section below photo ── */
.tg-popup-left-info {
    position: relative;
    z-index: 6;
    width: 100%;
    padding: 22px 24px 26px;
    text-align: center;
    background: linear-gradient(to top, rgba(255,255,255,0.85) 0%, rgba(255,255,255,0.40) 100%);
    backdrop-filter: blur(6px);
}

.tg-popup-left-info .tg-badge {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    backdrop-filter: blur(4px);
}
.tg-popup-left-info .tg-badge--c {
    background: rgba(0,180,216,0.12);
    color: #0077b6;
    box-shadow: 0 0 0 1px rgba(0,119,182,0.10);
}
.tg-popup-left-info .tg-badge--a {
    background: rgba(14,200,168,0.12);
    color: #0d9488;
    box-shadow: 0 0 0 1px rgba(13,148,136,0.10);
}
.tg-popup-left-info .tg-badge--p {
    background: rgba(99,102,241,0.12);
    color: #4f46e5;
    box-shadow: 0 0 0 1px rgba(79,70,229,0.10);
}

.tg-popup-left-info .tg-popup-pname {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #03045e;
    margin: 10px 0 2px;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(255,255,255,0.6);
}
.tg-popup-left-info .tg-popup-prole {
    font-size: 0.82rem;
    color: #2d4a5e;
    margin: 0 0 14px;
    line-height: 1.4;
}

/* Social links in left panel */
.tg-popup-socials {
    display: flex;
    gap: 6px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 0;
}
.tg-popup-socials:empty { display: none; }
.tg-popup-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 10px;
    background: rgba(255,255,255,0.85);
    border: 1px solid rgba(0,119,182,0.10);
    transition: all 0.25s;
    text-decoration: none;
    backdrop-filter: blur(4px);
}
.tg-popup-social-link:hover {
    border-color: rgba(0,180,216,0.3);
    background: #fff;
    transform: translateY(-2px) scale(1.06);
    box-shadow: 0 4px 12px rgba(0,119,182,0.12);
}
.tg-popup-social-link svg { width: 15px; height: 15px; }

/* ══ RIGHT PANEL: Bio + Details — Immersive ══ */
.tg-popup-body {
    flex: 1;
    padding: 32px 32px 28px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    /* Subtle tech background instead of flat white */
    background:
        radial-gradient(circle 2px at 92% 8%, rgba(0,180,216,0.10) 0%, transparent 100%),
        radial-gradient(circle 1.5px at 78% 45%, rgba(0,119,182,0.08) 0%, transparent 100%),
        radial-gradient(circle 2px at 95% 78%, rgba(0,180,216,0.07) 0%, transparent 100%),
        radial-gradient(ellipse 80% 60% at 100% 50%, rgba(0,180,216,0.03) 0%, transparent 50%),
        linear-gradient(170deg, #ffffff 0%, #f9fbfe 40%, #f4f8fc 70%, #f0f5fa 100%);
}
/* Faint grid continuation on right panel */
.tg-popup-body::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        linear-gradient(0deg,   rgba(0,119,182,0.022) 1px, transparent 1px),
        linear-gradient(90deg,  rgba(0,119,182,0.022) 1px, transparent 1px);
    background-size: 32px 32px;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.3) 30%, rgba(0,0,0,0.06) 100%);
    mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.3) 30%, rgba(0,0,0,0.06) 100%);
}
/* Glowing seam between left and right panels */
.tg-popup-body::after {
    content: '';
    position: absolute;
    top: 10%; bottom: 10%;
    left: 0;
    width: 1px;
    z-index: 1;
    background: linear-gradient(to bottom,
        transparent 0%,
        rgba(0,180,216,0.30) 20%,
        rgba(0,119,182,0.50) 50%,
        rgba(0,180,216,0.30) 80%,
        transparent 100%);
    box-shadow: 0 0 12px rgba(0,180,216,0.20), 0 0 4px rgba(0,180,216,0.30);
}
.tg-popup-body > * { position: relative; z-index: 2; }
.tg-popup-body::-webkit-scrollbar { width: 4px; }
.tg-popup-body::-webkit-scrollbar-track { background: transparent; }
.tg-popup-body::-webkit-scrollbar-thumb { background: rgba(0,119,182,0.15); border-radius: 10px; }
.tg-popup-body::-webkit-scrollbar-thumb:hover { background: rgba(0,119,182,0.25); }

/* ── Staggered entrance animation for sections ── */
@keyframes tgSectionIn {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}
.tg-popup--open .tg-popup-body > *:nth-child(1) { animation: tgSectionIn 0.45s 0.38s cubic-bezier(0.16,1,0.3,1) both; }
.tg-popup--open .tg-popup-body > *:nth-child(2) { animation: tgSectionIn 0.45s 0.46s cubic-bezier(0.16,1,0.3,1) both; }
.tg-popup--open .tg-popup-body > *:nth-child(3) { animation: tgSectionIn 0.45s 0.54s cubic-bezier(0.16,1,0.3,1) both; }
.tg-popup--open .tg-popup-body > *:nth-child(4) { animation: tgSectionIn 0.45s 0.62s cubic-bezier(0.16,1,0.3,1) both; }
.tg-popup--open .tg-popup-body > *:nth-child(5) { animation: tgSectionIn 0.45s 0.70s cubic-bezier(0.16,1,0.3,1) both; }
.tg-popup--open .tg-popup-body > *:nth-child(6) { animation: tgSectionIn 0.45s 0.78s cubic-bezier(0.16,1,0.3,1) both; }
.tg-popup--open .tg-popup-body > *:nth-child(7) { animation: tgSectionIn 0.45s 0.86s cubic-bezier(0.16,1,0.3,1) both; }

/* ── Quote — standout hero block ── */
.tg-popup-quote {
    font-size: 0.92rem;
    color: #1a3a50;
    font-style: italic;
    margin: 0 0 20px;
    line-height: 1.7;
    padding: 16px 20px;
    background:
        linear-gradient(135deg, rgba(0,180,216,0.06) 0%, rgba(0,119,182,0.03) 100%),
        linear-gradient(135deg, #f0f7fc 0%, #e6f2fa 100%);
    border-left: 3px solid #00b4d8;
    border-radius: 0 14px 14px 0;
    box-shadow: 0 2px 12px rgba(0,119,182,0.06), inset 0 1px 0 rgba(255,255,255,0.8);
    position: relative;
}
.tg-popup-quote::before {
    content: '\201C';
    position: absolute;
    top: 8px; left: 12px;
    font-size: 2.5rem;
    font-style: normal;
    color: rgba(0,180,216,0.15);
    font-family: Georgia, serif;
    line-height: 1;
    pointer-events: none;
}
.tg-popup-quote:not(:empty) { padding-left: 34px; }
.tg-popup-quote:empty, .tg-popup-quote[style*="display: none"] { display: none !important; margin: 0; padding: 0; }

/* ── Meta info (experience, languages) ── */
.tg-popup-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.tg-popup-meta:empty { display: none; }
.tg-popup-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.78rem;
    color: #3d5a6e;
    padding: 8px 16px;
    background: rgba(255,255,255,0.80);
    border-radius: 12px;
    border: 1px solid rgba(0,119,182,0.08);
    box-shadow: 0 2px 8px rgba(0,30,80,0.04);
    backdrop-filter: blur(4px);
    transition: all 0.25s;
}
.tg-popup-meta-row:hover {
    border-color: rgba(0,180,216,0.20);
    box-shadow: 0 4px 16px rgba(0,119,182,0.08);
    transform: translateY(-1px);
}
.tg-popup-meta-row svg {
    flex-shrink: 0;
    color: #00b4d8;
    filter: drop-shadow(0 0 3px rgba(0,180,216,0.3));
}
.tg-popup-meta-row strong { color: #03045e; font-weight: 700; }

/* ── Section labels — with accent line ── */
.tg-popup-section-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: #0077b6;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.tg-popup-section-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(0,180,216,0.25) 0%, transparent 100%);
}

/* ── Bio — glass card ── */
.tg-popup-bio-section {
    margin-bottom: 20px;
    padding: 18px 20px;
    background: rgba(255,255,255,0.70);
    border-radius: 16px;
    border: 1px solid rgba(0,119,182,0.06);
    box-shadow: 0 2px 12px rgba(0,30,80,0.03);
    backdrop-filter: blur(4px);
}
.tg-popup-pbio {
    font-size: 0.9rem;
    color: #2d4a5e;
    line-height: 1.85;
    margin: 0;
}
.tg-popup-pbio:empty { display: none; }

/* ── Specialties — glass card ── */
.tg-popup-specialties {
    margin-bottom: 20px;
    padding: 16px 18px;
    background: rgba(255,255,255,0.65);
    border-radius: 16px;
    border: 1px solid rgba(0,119,182,0.06);
    box-shadow: 0 2px 12px rgba(0,30,80,0.03);
    backdrop-filter: blur(4px);
}
.tg-popup-specialties:empty, .tg-popup-specialties[style*="display: none"] { display: none !important; margin: 0; padding: 0; }
.tg-popup-spec-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: #0077b6;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.tg-popup-spec-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(0,180,216,0.20) 0%, transparent 100%);
}
.tg-popup-spec-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tg-popup-spec-tag {
    padding: 6px 14px;
    border-radius: 10px;
    font-size: 0.74rem;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(0,180,216,0.10) 0%, rgba(0,119,182,0.06) 100%);
    color: #0068a0;
    border: 1px solid rgba(0,119,182,0.10);
    transition: all 0.25s;
    cursor: default;
}
.tg-popup-spec-tag:hover {
    background: linear-gradient(135deg, rgba(0,180,216,0.18) 0%, rgba(0,119,182,0.10) 100%);
    border-color: rgba(0,180,216,0.25);
    box-shadow: 0 3px 10px rgba(0,119,182,0.10);
    transform: translateY(-1px);
}

/* ── Certifications — glass card ── */
.tg-popup-certs {
    margin-bottom: 20px;
    padding: 16px 18px;
    background: rgba(255,255,255,0.65);
    border-radius: 16px;
    border: 1px solid rgba(79,70,229,0.06);
    box-shadow: 0 2px 12px rgba(0,30,80,0.03);
    backdrop-filter: blur(4px);
}
.tg-popup-certs:empty, .tg-popup-certs[style*="display: none"] { display: none !important; margin: 0; padding: 0; }
.tg-popup-certs-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: #5b4fb0;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.tg-popup-certs-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(99,102,241,0.20) 0%, transparent 100%);
}
.tg-popup-certs-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tg-popup-cert-tag {
    padding: 5px 12px;
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 700;
    background: linear-gradient(135deg, rgba(99,102,241,0.10) 0%, rgba(79,70,229,0.06) 100%);
    color: #4a3fad;
    letter-spacing: 0.02em;
    border: 1px solid rgba(79,70,229,0.10);
    transition: all 0.25s;
    cursor: default;
}
.tg-popup-cert-tag:hover {
    background: linear-gradient(135deg, rgba(99,102,241,0.18) 0%, rgba(79,70,229,0.10) 100%);
    border-color: rgba(99,102,241,0.25);
    box-shadow: 0 3px 10px rgba(79,70,229,0.10);
    transform: translateY(-1px);
}

/* ── Education — glass card ── */
.tg-popup-education {
    margin: 0 0 20px;
    padding: 16px 18px;
    background: rgba(255,255,255,0.65);
    border-radius: 16px;
    border: 1px solid rgba(0,119,182,0.06);
    box-shadow: 0 2px 12px rgba(0,30,80,0.03);
    backdrop-filter: blur(4px);
}
.tg-popup-education:empty, .tg-popup-education[style*="display: none"] { display: none !important; margin: 0; padding: 0; }
.tg-popup-edu-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.10em;
    color: #0077b6;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.tg-popup-edu-label::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(0,180,216,0.20) 0%, transparent 100%);
}
.tg-popup-edu-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    transition: all 0.2s;
}
.tg-popup-edu-row:hover { transform: translateX(4px); }
.tg-popup-edu-row + .tg-popup-edu-row { border-top: 1px solid rgba(0,119,182,0.06); }
.tg-popup-edu-logo {
    width: 36px; height: 36px;
    border-radius: 10px;
    object-fit: contain;
    flex-shrink: 0;
    background: #fff;
    padding: 3px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}
.tg-popup-edu-icon {
    width: 36px; height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(0,180,216,0.12) 0%, rgba(0,119,182,0.08) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #0077b6;
}
.tg-popup-edu-name { display: block; font-size: 0.84rem; font-weight: 600; color: #03045e; line-height: 1.3; }
.tg-popup-edu-prog { display: block; font-size: 0.73rem; color: #586e82; line-height: 1.3; }

/* ── Contact — standout CTA area ── */
.tg-popup-contact {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
    padding: 18px 20px;
    background:
        linear-gradient(135deg, rgba(0,180,216,0.05) 0%, rgba(0,119,182,0.03) 100%),
        rgba(255,255,255,0.70);
    border-radius: 16px;
    border: 1px solid rgba(0,119,182,0.08);
    box-shadow: 0 -2px 20px rgba(0,30,80,0.03);
    backdrop-filter: blur(4px);
}
.tg-popup-contact:empty, .tg-popup-contact[style*="display: none"] { display: none !important; }
.tg-popup-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 12px;
    background: rgba(255,255,255,0.90);
    color: #03045e;
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    border: 1px solid rgba(0,119,182,0.10);
    transition: all 0.25s;
}
.tg-popup-phone:hover {
    background: #fff;
    border-color: rgba(0,180,216,0.25);
    box-shadow: 0 4px 14px rgba(0,119,182,0.08);
    transform: translateY(-1px);
}
.tg-popup-phone svg { color: #0077b6; }
.tg-popup-booking {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0077b6 0%, #00a8cc 50%, #00b4d8 100%);
    background-size: 200% 100%;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.35s;
    box-shadow:
        0 4px 16px rgba(0,119,182,0.28),
        0 1px 3px rgba(0,119,182,0.15);
    animation: bookingShimmer 3s ease-in-out infinite;
}
@keyframes bookingShimmer {
    0%, 100% { background-position: 0% 50%; }
    50%      { background-position: 100% 50%; }
}
.tg-popup-booking:hover {
    box-shadow:
        0 6px 24px rgba(0,119,182,0.38),
        0 2px 6px rgba(0,119,182,0.20);
    transform: translateY(-2px);
}

/* ══ #8 Split-reveal entrance animation ══ */
@keyframes tgPopupFade {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes tgLeftSlide {
    from { opacity: 0; transform: translateX(-55px) scale(0.96); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes tgRightSlide {
    from { opacity: 0; transform: translateX(55px) scale(0.96); }
    to   { opacity: 1; transform: translateX(0) scale(1); }
}
.tg-popup--open .tg-popup-inner {
    animation: tgPopupFade 0.3s ease both;
}
.tg-popup--open .tg-popup-left {
    animation: tgLeftSlide 0.55s 0.06s cubic-bezier(0.16,1,0.3,1) both;
}
.tg-popup--open .tg-popup-body {
    animation: tgRightSlide 0.55s 0.12s cubic-bezier(0.16,1,0.3,1) both;
}

/* ══ #3 Photo clip-path reveal ══ */
@keyframes tgPhotoReveal {
    0%   { clip-path: circle(0% at 50% 45%); filter: blur(16px) saturate(0.4); }
    60%  { filter: blur(2px) saturate(0.9); }
    100% { clip-path: circle(85% at 50% 45%); filter: blur(0) saturate(1.12) brightness(1.06) contrast(1.04) drop-shadow(0 0 20px rgba(0,180,216,0.30)) drop-shadow(0 12px 32px rgba(0,0,0,0.18)); }
}
.tg-popup--open .tg-popup-ph {
    animation: tgPhotoReveal 0.85s 0.25s cubic-bezier(0.16,1,0.3,1) both;
}

/* ══ #6 Spotlight — mouse-follow glow on left panel ══ */
.tg-popup-left-spotlight {
    position: absolute;
    inset: 0;
    z-index: 4;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
    background: radial-gradient(
        circle 200px at var(--spot-x, 50%) var(--spot-y, 50%),
        rgba(0,180,216,0.22) 0%,
        rgba(0,119,182,0.10) 30%,
        transparent 60%
    );
}
/* #6 Hover intensification */
.tg-popup-left-spotlight { display: none; }

/* ══ #9 Specialty tag icons ══ */
.tg-popup-spec-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.tg-popup-spec-tag svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    opacity: 0.7;
}

/* ══ #10 Quote typewriter ══ */
.tg-popup-quote .tg-typewriter-cursor {
    display: inline-block;
    width: 2px;
    height: 1em;
    background: #00b4d8;
    margin-left: 2px;
    vertical-align: text-bottom;
    animation: tgBlink 0.6s step-end infinite;
}
@keyframes tgBlink {
    0%, 100% { opacity: 1; }
    50%      { opacity: 0; }
}

/* ══ #11 Scroll-reactive background ══ */
.tg-popup-body::before {
    transform: translateY(calc(var(--scroll-y, 0) * -0.12px));
    will-change: transform;
}

/* ══ #4 Counter animation ══ */
.tg-popup-counter {
    display: inline-block;
    font-variant-numeric: tabular-nums;
}

/* ── Responsive ── */
@media (max-width: 760px) {
    .tg-popup { padding: 10px; }
    .tg-popup-inner {
        flex-direction: column;
        max-width: 440px;
        max-height: 92vh;
    }
    .tg-popup-left {
        flex: 0 0 auto;
    }
    .tg-popup-ph { height: 260px; }
    .tg-popup-left-logo { width: 40px; height: 40px; padding: 5px; border-radius: 10px; top: 12px; left: 12px; }
    .tg-popup-body { padding: 22px 20px 24px; }
    .tg-popup-close { top: 10px; right: 10px; }
    /* Mobile: vertical split-reveal */
    @keyframes tgLeftSlide {
        from { opacity: 0; transform: translateY(-40px) scale(0.97); }
        to   { opacity: 1; transform: translateY(0) scale(1); }
    }
    @keyframes tgRightSlide {
        from { opacity: 0; transform: translateY(40px) scale(0.97); }
        to   { opacity: 1; transform: translateY(0) scale(1); }
    }
}
@media (max-width: 400px) {
    .tg-popup-ph { height: 220px; font-size: 3rem; }
    .tg-popup-left-info { padding: 16px 18px 20px; }
    .tg-popup-left-info .tg-popup-pname { font-size: 1.1rem; }
    .tg-popup-body { padding: 18px 16px 22px; }
    .tg-popup-left-logo { width: 34px; height: 34px; padding: 4px; border-radius: 8px; }
}

/* ── Card reveal animations ── */
@keyframes tgCardIn {
    from {
        opacity: 0;
        transform: translateY(48px) scale(0.93);
        filter: blur(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0px);
    }
}
@keyframes tgCardOut {
    from { opacity: 1; transform: translateY(0) scale(1); filter: blur(0px); }
    to   { opacity: 0; transform: translateY(-28px) scale(0.96); filter: blur(6px); }
}
.tg-card.tg-in {
    animation: tgCardIn 0.65s cubic-bezier(0.23,1,0.32,1) both;
    animation-delay: calc(var(--ci, 0) * 0.09s);
}
.tg-card.tg-out {
    animation: tgCardOut 0.28s cubic-bezier(0.23,1,0.32,1) both;
    animation-delay: calc(var(--ci, 0) * 0.03s);
}

/* ── Responsive ── */
@media (max-width: 1200px) {
    .tg-grid--support .tg-card {
        flex: 0 0 calc(33.333% - 15px);
        max-width: calc(33.333% - 15px);
    }
}
@media (max-width: 960px) {
    .tg-nav-pill { flex-wrap: wrap; justify-content: center; border-radius: 20px; padding: 6px; }
    .tg-tab { font-size: 0.83rem; padding: 10px 18px; }
    .tg-card {
        flex: 0 0 calc(50% - 11px);
        max-width: calc(50% - 11px);
    }
    .tg-grid--support .tg-card {
        flex: 0 0 calc(50% - 11px);
        max-width: calc(50% - 11px);
    }
    .tg-header h2 { font-size: 2rem; }
    /* Partner group card stacks */
    .tg-partner-wrap .tg-card { flex-direction: column; }
    .tg-group-header {
        flex: 0 0 auto;
        padding: 28px 24px;
    }
    .tg-partner-wrap { max-width: 560px; }
}
@media (max-width: 560px) {
    .tg-section.section-padding { padding-top: 48px; padding-bottom: 60px; }
    .tg-header { margin-bottom: 28px; }
    .tg-header h2 { font-size: 1.5rem; }
    .tg-subtitle { font-size: 0.85rem; }
    .tg-tabs { margin-bottom: 28px; }
    .tg-nav-pill { max-width: 100%; gap: 2px; padding: 4px; border-radius: 16px; }
    .tg-tab { padding: 7px 11px; font-size: 0.72rem; }
    .tg-tab svg { width: 12px; height: 12px; }
    .tg-tab-count-pill { font-size: 0.62rem; padding: 1px 5px; }
    .tg-panel-label { margin-bottom: 14px; }
    .tg-panel-label-text { font-size: 0.7rem; }
    .tg-grid { gap: 10px; }
    .tg-card,
    .tg-grid--support .tg-card {
        flex: 0 0 calc(50% - 5px);
        max-width: calc(50% - 5px);
    }
    .tg-card-overlay { padding: 24px 8px 8px; }
    .tg-card--cutout .tg-card-overlay {
        -webkit-mask-image: linear-gradient(to top, black 0%, black 50%, transparent 85%);
        mask-image: linear-gradient(to top, black 0%, black 50%, transparent 85%);
    }
    .tg-card--cutout .tg-card-img img {
        object-position: bottom center;
        transform: scale(1.12) translateY(-14px);
    }
    [data-panel="buisson"] .tg-card--cutout .tg-card-img img {
        transform: scale(1.12) translateY(-6px);
    }
    .tg-card-name { font-size: 0.72rem; line-height: 1.2; margin-bottom: 1px; }
    .tg-card-role-label { font-size: 0.58rem; line-height: 1.2; margin-bottom: 2px; }
    .tg-card-tap { display: none; }
    .tg-card-logo { width: 28px; height: 28px; padding: 3px; border-radius: 6px; top: 6px; left: 6px; }
    .tg-buisson-badge { height: 28px; top: 6px; right: 6px; padding: 3px 5px; border-radius: 6px; }
    .tg-card:hover { transform: translateY(-4px); }
    .tg-partner-wrap .tg-card { flex-direction: column; }
    .tg-partner-wrap .tg-card:hover { transform: none; }
}
@media (max-width: 380px) {
    .tg-tab { padding: 6px 8px; font-size: 0.65rem; }
    .tg-card--cutout .tg-card-overlay { padding: 7px 8px 8px; }
    .tg-card--cutout .tg-card-name { font-size: 0.62rem; }
    .tg-card--cutout .tg-card-role-label { font-size: 0.48rem; }
    .tg-card-logo { width: 24px; height: 24px; padding: 2px; border-radius: 5px; }
    .tg-buisson-badge { height: 24px; padding: 2px 4px; border-radius: 5px; }
}

/* =========================================
   FAQ SECTION (Interactive Accordion)
   ========================================= */
.faq-subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 540px;
    margin: 8px auto 0;
}

/* Filter tabs */
.faq-filters {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 32px 0 12px;
    flex-wrap: wrap;
}

.faq-filter {
    padding: 8px 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 100px;
    background: white;
    color: var(--text-muted);
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.faq-filter:hover {
    border-color: var(--brand-primary);
    color: var(--brand-primary);
}

.faq-filter.active {
    background: linear-gradient(135deg, #0077b6, #00a8cc);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(0, 119, 182, 0.25);
}

/* Container */
.faq-container {
    max-width: 820px;
    margin: 20px auto 0;
}

/* Item */
.faq-item {
    background: white;
    border-radius: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, margin 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
}

.faq-item.faq-hidden {
    display: none;
}

/* Question row */
.faq-question {
    padding: 18px 22px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    background: white;
    user-select: none;
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    flex-shrink: 0;
}

.faq-icon i, .faq-icon svg {
    width: 18px;
    height: 18px;
    color: white;
}

.faq-icon--invest {
    background: linear-gradient(135deg, #0077b6, #0096c7);
}

.faq-icon--service {
    background: linear-gradient(135deg, #8b5cf6, #6d28d9);
}

.faq-icon--start {
    background: linear-gradient(135deg, #10b981, #059669);
}

.faq-question h3 {
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--brand-dark);
    margin: 0;
    flex: 1;
    line-height: 1.4;
}

.faq-chevron {
    width: 20px;
    height: 20px;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Answer */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
    padding: 0 22px 22px 74px;
    color: var(--text-muted);
    font-size: 0.94rem;
    line-height: 1.7;
}

.faq-answer-inner p {
    margin: 0 0 12px;
}

.faq-answer-inner ul {
    margin: 10px 0 14px;
    padding-left: 18px;
}

.faq-answer-inner li {
    margin-bottom: 8px;
}

.faq-answer-inner em {
    font-style: italic;
}

.faq-cta-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 8px 16px;
    background: rgba(0, 119, 182, 0.08);
    color: #0077b6;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.88rem;
    text-decoration: none;
    transition: background 0.2s ease;
}

.faq-cta-link:hover {
    background: rgba(0, 119, 182, 0.15);
}

/* Active state */
.faq-item.active {
    box-shadow: 0 8px 28px rgba(0, 119, 182, 0.1);
    border-color: rgba(0, 119, 182, 0.12);
}

.faq-item.active .faq-chevron {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 600px;
}

.faq-item.active .faq-question {
    background: linear-gradient(135deg, rgba(0, 180, 216, 0.03), rgba(0, 119, 182, 0.03));
}

/* Responsive */
@media (max-width: 768px) {
    .faq-answer-inner {
        padding-left: 22px;
    }

    .faq-icon {
        display: none;
    }

    .faq-question h3 {
        font-size: 0.95rem;
    }

    .faq-filters {
        gap: 6px;
    }

    .faq-filter {
        padding: 6px 14px;
        font-size: 0.82rem;
    }
}

@media (max-width: 600px) {
    .faq-subtitle {
        font-size: 0.92rem;
    }
}

/* =========================================
   BACK TO TOP BUTTON
   ========================================= */
#back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--brand-primary);
    color: white;
    border: none;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0, 119, 182, 0.4);
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s;
}

#back-to-top:hover {
    background: var(--brand-dark);
    transform: translateY(-5px);
}

#back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* =========================================
   STOCK TICKER (Unified)
   ========================================= */
.ticker-container {
    width: 100%;
    margin-bottom: 30px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    position: relative;
    mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
    -webkit-mask: linear-gradient(90deg, transparent, white 20%, white 80%, transparent);
}

.ticker-track {
    display: inline-flex;
    white-space: nowrap;
    animation: ticker-scroll 60s linear infinite;
    padding: 10px 0;
}

.ticker-track:hover {
    animation-play-state: paused;
}

.ticker-item.large {
    display: inline-flex;
    align-items: center;
    margin-right: 50px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 25px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.ticker-item.large:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
    border-color: rgba(0, 180, 216, 0.5);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* HIDE TRADINGVIEW COPYRIGHT */
.tradingview-widget-copyright {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* --- MARKET CAROUSEL STYLES (Restored & Adapted for TradingView) --- */
.marches-section {
    padding: 60px 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.marches-wrapper {
    position: relative;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 20px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Firefox */
    cursor: grab;
}

.marches-wrapper::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.marches-wrapper:active {
    cursor: grabbing;
}

.marches-grid {
    display: flex;
    gap: 20px;
    padding: 0 5vw;
    width: max-content;
    align-items: center;
}

/* CARDS FOR TRADINGVIEW WIDGETS */
.market-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    width: 320px;
    height: 220px;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.04);
    position: relative;
    overflow: hidden;
    padding: 0;
    /* Important for widget to fill */
}

.market-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Ensure widget container fills card */
.market-card .tradingview-widget-container {
    width: 100% !important;
    height: 100% !important;
}


/* =========================================
   AI ANALYST SECTION (Restored header layout)
   ========================================= */
/* =========================================
   AI ANALYST SECTION (User Friendly Redesign)
   ========================================= */
.ai-analyst-section {
    padding: 80px 0;
    background: linear-gradient(to bottom, #f8fafc, #f1f5f9);
}

.ai-analyst-container {
    background: white;
    border-radius: 24px;
    padding: 0;
    /* Header image logic/padding split */
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.8);
    max-width: 850px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

/* Header Area */
.ai-header {
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-title-group {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ai-icon-box {
    width: 48px;
    height: 48px;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0ea5e9;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.ai-icon-box i {
    width: 24px;
    height: 24px;
}

.ai-header h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0;
    letter-spacing: -0.5px;
}

.ai-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.ai-badge {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #d1fae5;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ai-badge::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse-green 2s 3;
}

#refresh-ai-btn {
    background: white;
    border: 1px solid #e2e8f0;
    color: #64748b;
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

#refresh-ai-btn:hover {
    background: #f1f5f9;
    color: #334155;
    border-color: #cbd5e1;
}

/* Content Area */
.ai-content-body {
    padding: 40px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #334155;
    min-height: 200px;
}

/* Generated News Item Styles (Used by JS) */
.ai-news-item {
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 1px solid #f1f5f9;
}

.ai-news-item:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.ai-news-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.4;
}

.ai-news-summary {
    color: #475569;
    margin-bottom: 15px;
}

.ai-news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-news-source {
    font-size: 0.85rem;
    color: #94a3b8;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ai-news-link {
    font-size: 0.8rem;
    font-weight: 700;
    color: #0ea5e9;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 6px;
    background: #f0f9ff;
    transition: all 0.2s;
}

.ai-news-link:hover {
    background: #e0f2fe;
    color: #0284c7;
}

@keyframes pulse-green {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}


/* =========================================
   AI RADAR SECTION (STRICT PIXEL-PERFECT)
   ========================================= */
.ai-radar-section {
    padding: 60px 0;
    background: #f8fafc;
}

.ai-radar-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
}

.ai-radar-card {
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 32px;
    padding: 40px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.04);
}

.radar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
}

.radar-header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.radar-logo-box {
    width: 40px;
    height: 40px;
    background: #1e40af;
    /* Deep naval blue from image */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.radar-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.radar-title .text-ia {
    color: #0ea5e9;
}

.radar-live-badge {
    background: #ef4444;
    color: white;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 100px;
    letter-spacing: 0.02em;
}

.radar-body {
    margin-bottom: 30px;
}

.radar-intro {
    color: #0d9488;
    /* Teal strict */
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

.radar-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.radar-list li {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    line-height: 1.5;
    font-size: 0.95rem;
    color: #334155;
    align-items: flex-start;
}

.radar-bullet {
    width: 6px;
    height: 6px;
    background: #0d9488;
    border-radius: 1px;
    margin-top: 8px;
    flex-shrink: 0;
}

.radar-category {
    color: #0d9488;
    font-weight: 700;
}

.radar-source {
    color: #0d9488;
    text-decoration: underline;
    font-weight: 600;
    margin-left: 4px;
}

.radar-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.radar-ai-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #94a3b8;
    font-size: 0.85rem;
    font-weight: 500;
}

.radar-ai-label i {
    width: 14px;
    height: 14px;
}

.radar-refresh-btn {
    background: white;
    border: 1px solid #e2e8f0;
    color: #64748b;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.radar-refresh-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.radar-disclaimer {
    margin-top: 25px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    padding: 15px;
    border-radius: 16px;
    display: flex;
    gap: 12px;
}

.radar-disclaimer i {
    color: #9a3412;
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.radar-disclaimer p {
    margin: 0;
    font-size: 0.8rem;
    color: #9a3412;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .ai-radar-card {
        padding: 25px;
        border-radius: 24px;
    }

    .radar-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .radar-live-badge {
        align-self: flex-start;
    }
}
/* =========================================
   RADAR STRAT�GIQUE I.A. - VERSION AM�LIOR�E
   ========================================= */

.featured-radar-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
}

.radar-spotlight {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 180, 216, 0.1);
    position: relative;
    overflow: hidden;
}

.radar-spotlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(0, 180, 216, 0.02) 0%, 
        rgba(0, 119, 182, 0.01) 100%);
    pointer-events: none;
    z-index: 0;
}

/* Header am�lior� */
.radar-header-featured {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.robot-avatar {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0ea5e9 0%, #0077b6 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
    flex-shrink: 0;
}

.robot-avatar i {
    color: white;
}

.radar-title-featured {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
    color: #1a2a3a;
}

.radar-subtitle-featured {
    font-size: 0.95rem;
    color: #64748b;
    margin: 4px 0 0 0;
}

/* Bouton Actualiser (Header) */
.btn-refresh-ai {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #0ea5e9 0%, #0077b6 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
}

.btn-refresh-ai:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

.btn-refresh-ai:active {
    transform: translateY(0);
}

/* Filtres par secteur */
.sector-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding-bottom: 25px;
    border-bottom: 2px solid #f1f5f9;
    position: relative;
    z-index: 1;
}

.sector-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sector-btn i {
    width: 16px;
    height: 16px;
}

.sector-btn:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: translateY(-2px);
}

.sector-btn.active {
    background: linear-gradient(135deg, #0ea5e9 0%, #0077b6 100%);
    color: white;
    border-color: #0ea5e9;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.25);
}

.sector-btn.active:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(14, 165, 233, 0.35);
}

/* Container des nouvelles */
.news-container {
    position: relative;
    z-index: 1;
    min-height: 200px;
}

/* Carte de nouvelle (format comme l'image) */
.news-card {
    background: linear-gradient(135deg, 
        rgba(248, 250, 252, 0.8) 0%, 
        rgba(241, 245, 249, 0.4) 100%);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.news-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #0ea5e9 0%, #0077b6 100%);
    opacity: 0;
    transition: opacity 0.3s;
}

.news-card:hover {
    transform: translateX(8px);
    background: white;
    border-color: rgba(0, 180, 216, 0.15);
    box-shadow: 0 8px 24px rgba(0, 180, 216, 0.12);
}

.news-card:hover::before {
    opacity: 1;
}

/* Titre de la nouvelle */
.news-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px 0;
    line-height: 1.4;
}

/* R�sum� */
.news-summary {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0 0 16px 0;
    line-height: 1.6;
}

/* Meta info (source + temps) */
.news-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    font-size: 0.85rem;
    color: #94a3b8;
}

.news-source {
    font-weight: 600;
    color: #475569;
}

.news-time {
    display: flex;
    align-items: center;
    gap: 4px;
}

.news-time i {
    width: 14px;
    height: 14px;
}

/* Variations boursi�res (comme l'image) */
.news-tickers {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.ticker-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: white;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.ticker-symbol {
    color: #64748b;
    font-weight: 500;
}

.ticker-change {
    font-weight: 700;
}

.ticker-change.up {
    color: #10b981;
}

.ticker-change.down {
    color: #ef4444;
}

.ticker-change.neutral {
    color: #64748b;
}

/* Star indicator (comme l'image) */
.ticker-star {
    color: #3b82f6;
    font-size: 0.75rem;
}

/* �tat de chargement */
.news-loading {
    text-align: center;
    padding: 60px 20px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border: 4px solid #f1f5f9;
    border-top: 4px solid #0ea5e9;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.news-loading p {
    color: #64748b;
    font-size: 0.95rem;
}

/* �tat vide */
.news-empty {
    text-align: center;
    padding: 60px 20px;
    color: #94a3b8;
}

.news-empty i {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

/* Derni�re mise � jour */
.last-update {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
    font-size: 0.85rem;
    color: #94a3b8;
    position: relative;
    z-index: 1;
}

/* Badge NOUVEAU */
.badge-new {
    display: inline-block;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 8px;
    border-radius: 6px;
    margin-left: 8px;
    vertical-align: middle;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

/* Animation d'apparition */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-card {
    animation: fadeInUp 0.4s ease-out;
}

/* Responsive */
@media (max-width: 768px) {
    .radar-spotlight {
        padding: 30px 20px;
    }
    
    .radar-header-featured {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn-refresh-ai {
        width: 100%;
        justify-content: center;
    }
    
    .sector-filters {
        gap: 8px;
    }
    
    .sector-btn {
        font-size: 0.8rem;
        padding: 8px 14px;
    }
    
    .news-title {
        font-size: 1rem;
    }
    
    .news-tickers {
        gap: 8px;
    }
}

/* Styles pour les actions des nouvelles (Bouton Lire l'article) */
.news-actions {
    margin-top: 15px;
    display: flex;
    justify-content: flex-end;
}

.read-article-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: transparent;
    border: 1px solid rgba(0, 180, 216, 0.3);
    border-radius: 50px;
    color: #0077b6;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.read-article-btn:hover {
    background: rgba(0, 180, 216, 0.05);
    border-color: #00b4d8;
    color: #00b4d8;
    transform: translateX(3px);
}

.read-article-btn i {
    width: 14px;
    height: 14px;
}

/* =========================================
   CSS ADDITIONNEL POUR LE BOUTON " LIRE LARTICLE\
 ========================================= */

.news-actions {
 margin-top: 16px;
 padding-top: 16px;
 border-top: 1px solid #f1f5f9;
}

.read-article-btn {
 display: inline-flex;
 align-items: center;
 gap: 8px;
 padding: 10px 18px;
 background: linear-gradient(135deg, #0ea5e9 0%, #0077b6 100%);
 color: white;
 border-radius: 50px;
 font-size: 0.85rem;
 font-weight: 600;
 text-decoration: none;
 transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
 box-shadow: 0 2px 8px rgba(14, 165, 233, 0.2);
}

.read-article-btn i {
 width: 16px;
 height: 16px;
}

.read-article-btn:hover {
 transform: translateY(-2px);
 box-shadow: 0 4px 12px rgba(14, 165, 233, 0.35);
 background: linear-gradient(135deg, #0077b6 0%, #0ea5e9 100%);
}

.read-article-btn:active {
 transform: translateY(0);
}

/* Animation pour le bouton */
@keyframes pulse-btn {
 0%, 100% {
 box-shadow: 0 2px 8px rgba(14, 165, 233, 0.2);
 }
 50% {
 box-shadow: 0 4px 16px rgba(14, 165, 233, 0.4);
 }
}

.news-card:hover .read-article-btn {
 animation: pulse-btn 2s ease-in-out 2;
}

/* USER OVERRIDE: Cycle Section Glass Container */
#cycle-economique .container {
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(24px) saturate(1.8);
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
    border-radius: 24px;
    padding: 48px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow:
        0 20px 60px rgba(0, 40, 80, 0.06),
        0 4px 16px rgba(0, 40, 80, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

/* USER OVERRIDE: Cycle Container Pseudos & Hover */
#cycle-economique .container::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 26px;
    background: linear-gradient(135deg, transparent 30%, rgba(0, 119, 182, 0.15) 50%, transparent 70%);
    background-size: 300% 300%;
    animation: none;
    z-index: -1;
}

#cycle-economique .container::after {
    display: none;
}

#cycle-economique .container:hover {
    box-shadow:
        0 24px 64px rgba(0, 40, 80, 0.08),
        0 6px 20px rgba(0, 40, 80, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* USER OVERRIDE: Z-Index Fixes */
#cycle-economique .container::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 26px;
    background: linear-gradient(135deg, transparent 30%, rgba(0, 119, 182, 0.15) 50%, transparent 70%);
    background-size: 300% 300%;
    animation: none;
    z-index: 0;
    pointer-events: none;
}

#cycle-economique .container > * {
    position: relative;
    z-index: 1;
}

/* USER OVERRIDE: RESET Cycle Container Styles */
#cycle-economique .container {
    background: transparent;
    padding: 0;
    position: relative;
    z-index: 2;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    transform: none;
    transition: none;
}

#cycle-economique .container::before {
    display: none;
}

#cycle-economique .container::after {
    display: none;
}

#cycle-economique .container:hover {
    transform: none;
    box-shadow: none;
}
