/* Reset and Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: #0D1117;
    font-family: 'Poppins', sans-serif;
    color: #E6E6E6;
    overflow-x: hidden;
    position: relative;
    padding-top: 80px;
    /* Space for fixed header */
}

a {
    color: inherit;
    text-decoration: none;
}

/* Animated Background */
.animated-background {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -10;
    overflow: hidden;
}

.bg-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.shape1 {
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(0, 224, 255, 0.15), transparent 70%);
    top: -20%;
    left: -20%;
    animation: floatingShape1 25s infinite alternate ease-in-out;
}

.shape2 {
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(0, 82, 212, 0.15), transparent 70%);
    bottom: -30%;
    right: -30%;
    animation: floatingShape2 30s infinite alternate ease-in-out;
}

@keyframes floatingShape1 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(10%, 10%);
    }
}

@keyframes floatingShape2 {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(-10%, -10%);
    }
}

/* Header and Navigation - FIXED with Frosted Glass Effect */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background-color: #0D1117;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transform: translateY(0);
    /* Initial position for animation changed to 0 */
    transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

/* Styles pour la recherche dans le header */
.header-search {
    flex: 1;
    max-width: 300px;
    margin: 0 20px;
}

.header-search .search-wrapper {
    margin: 0;
}

.header-search .search-input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-size: 14px;
    padding: 8px 35px 8px 12px;
}

.header-search .search-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.header-search .search-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #00E0FF;
    box-shadow: 0 0 0 2px rgba(0, 224, 255, 0.2);
}

.header-search .search-icon {
    color: rgba(255, 255, 255, 0.6);
}

.header-search .search-clear {
    color: rgba(255, 255, 255, 0.6);
}

.header-search .search-clear:hover {
    color: #00E0FF;
}

@media (max-width: 768px) {
    .header-search {
        max-width: 200px;
        margin: 0 10px;
    }

    .header-search .search-input {
        font-size: 14px;
        padding: 6px 30px 6px 10px;
    }
}

/* Header Scroll Effect */
header.header-scrolled {
    background-color: rgba(13, 17, 23, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-text {
    display: flex;
    flex-direction: column;
    margin-left: 0.5rem;
    font-size: 0.7rem;
    font-weight: 300;
    line-height: 1;
}

nav {
    display: flex;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
    margin-right: 1.5rem;
    position: relative;
}

.nav-highlight {
    position: absolute;
    height: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    z-index: -1;
}

.nav-links li {
    position: relative;
    margin: 0 0.75rem;
}

/* Navigation Hover Effect */
.nav-links li a {
    display: block;
    padding: 0.5rem 0.75rem;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links li a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 99px;
    opacity: 0;
    transition: opacity 0.2s ease;
    z-index: -1;
}

.nav-links li a:hover::before {
    opacity: 1;
}

.nav-links li a.active {
    color: #00E0FF;
}

/* Mobile CTA in Nav Links */
.nav-links .mobile-cta {
    display: none;
    /* Hidden by default, shown in mobile view */
    margin-top: 1rem;
    width: 80%;
    text-align: center;
}

.hamburger-menu {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 100;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #E6E6E6;
    margin: 5px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.cta-button {
    background: linear-gradient(90deg, #00E0FF, #0052D4);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
    box-shadow: 0 0 15px rgba(0, 224, 255, 0.5);
}

/* Hero Section */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem;
    margin-top: 2rem;
}

.badge {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-size: 0.8rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(5px);
    opacity: 0;
    /* Will be animated with JS */
    transform: translateY(20px);
    /* Will be animated with JS */
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
    max-width: 700px;
    margin-bottom: 1.5rem;
}

h1 span {
    display: block;
    opacity: 0;
    /* Will be animated with JS */
    transform: translateY(20px);
    /* Will be animated with JS */
}

.hero p {
    font-size: 1rem;
    max-width: 700px;
    margin-bottom: 3rem;
    opacity: 0;
    /* Will be animated with JS */
    transform: translateY(20px);
    /* Will be animated with JS */
}

/* CONTENEUR PRINCIPAL */
.video-section-container {
    width: 100%;
    max-width: 800px;
    position: relative;
    z-index: 0;
}

.video-portal {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    /* Ratio 16:9 */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
    background: #000;
    transform: translateZ(0);
}

.video-portal>* {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* MINIATURE */
.video-thumbnail {
    cursor: pointer;
    z-index: 20;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.8);
    transition: transform 0.8s ease;
}

.video-thumbnail:hover img {
    transform: scale(1.05);
}

/* BOUTON PLAY STYLISÉ */
.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    box-shadow: 0 0 0 15px rgba(0, 114, 255, 0.3),
        0 0 40px rgba(0, 198, 255, 0.6);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 0 10px rgba(0, 114, 255, 0.4),
        0 0 60px rgba(0, 198, 255, 0.8);
}

.play-button i {
    color: white;
    font-size: 40px;
    margin-left: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.play-button:hover i {
    transform: scale(1.1);
}

/* ANIMATION PULSATION */
@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 0 15px rgba(0, 114, 255, 0.3),
            0 0 40px rgba(0, 198, 255, 0.6);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 0 0 0 5px rgba(0, 114, 255, 0.5),
            0 0 60px rgba(0, 198, 255, 0.9);
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 0 15px rgba(0, 114, 255, 0.3),
            0 0 40px rgba(0, 198, 255, 0.6);
    }
}

.play-button.pulse {
    animation: pulse 2s infinite;
}

/* LOADER */
.video-loader {
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 40;
    backdrop-filter: blur(10px);
}

.loader-spinner {
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top: 5px solid #00E0FF;
    width: 60px;
    height: 60px;
    animation: spin 1.2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* IFRAME */
#videoPlayerFrame {
    border: none;
    z-index: 10;
    display: none;
    width: 100%;
    height: 100%;
}

#videoPlayerFrame.visible {
    display: block;
}

/* EFFETS VISUELS */
.orbital-light-effect {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 224, 255, 0.25) 0%, rgba(0, 82, 212, 0.15) 70%, transparent 100%);
    animation: rotateOrbit 25s linear infinite;
    z-index: 5;
    pointer-events: none;
}

.video-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 60px rgba(0, 224, 255, 0.4),
        0 0 100px rgba(0, 82, 212, 0.5);
    z-index: 6;
    pointer-events: none;
    border-radius: 20px;
}

@keyframes rotateOrbit {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* TITRE */
.video-title {
    position: absolute;
    bottom: 25px;
    left: 25px;
    color: white;
    font-size: 28px;
    font-weight: 600;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    z-index: 25;
    max-width: 70%;
    opacity: 0.95;
    letter-spacing: 0.5px;
}

/* CRÉDITS */
.credits {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 25px;
    font-size: 16px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    backdrop-filter: blur(5px);
}

/* PARTICULES */
.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 4;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: float 15s infinite linear;
}

@keyframes float {
    0% {
        transform: translateY(0) translateX(0);
        opacity: 0;
    }

    10% {
        opacity: 1;
    }

    90% {
        opacity: 0.8;
    }

    100% {
        transform: translateY(-100vh) translateX(100px);
        opacity: 0;
    }
}

/* Hero Actions - Button Styling Fixed */
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 3rem 0;
    gap: 1rem;
}

/* Primary Button - Initial State for Animation */
.primary-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #00E0FF, #0052D4);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-weight: 500;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.primary-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 224, 255, 0.7);
}

.primary-button svg {
    margin-left: 0.5rem;
}

.primary-button .button-text {
    opacity: 0;
    transform: scale(0.7);
    transform-origin: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Secondary Button - Initial State */
.secondary-button {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00E0FF;
    font-size: 0.9rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.secondary-button:hover {
    transform: scale(1.05);
}

.play-icon {
    display: flex;
    margin-right: 0.5rem;
    width: 34px;
    height: 34px;
    flex-shrink: 0;
}

.secondary-button .button-text {
    opacity: 0;
    transform: scale(0.7);
    transform-origin: center;
    transition: opacity 0.3s ease, transform 0.3s ease;
}



/* STYLES EXPERTISES - VERSION FINALE ET COMPLÈTE */
.expertises-section {
    position: relative;
    padding: 8rem 2rem;
    background-color: #0D1117;
    color: #E6E6E6;
    min-height: 100vh;
    overflow: hidden;
    z-index: 1;
}

/* ÉLÉMENTS DE FOND LUMINEUX */
.expertises-background-glow {
    position: absolute;
    z-index: 1;
    /* Derrière les cartes */
    border-radius: 50%;
    /* Forme circulaire */
    pointer-events: none;
    /* Ne pas interférer avec les interactions */

    /* Appliquer le dégradé lumineux et le flou massif */
    background: radial-gradient(circle, rgba(0, 224, 255, 0.3), transparent 70%);
    filter: blur(120px);
}

/* Styles uniques pour chaque lueur */
.expertises-glow--1 {
    width: 600px;
    height: 600px;
    top: -150px;
    left: -200px;
    animation: move-glow-1 25s infinite alternate ease-in-out;
}

.expertises-glow--2 {
    width: 500px;
    height: 500px;
    bottom: -200px;
    right: -150px;
    background: radial-gradient(circle, rgba(0, 82, 212, 0.25), transparent 70%);
    animation: move-glow-2 30s infinite alternate ease-in-out;
}

/* Les animations infinies et non-synchronisées */
@keyframes move-glow-1 {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(100px, 80px);
    }

    100% {
        transform: translate(50px, 120px);
    }
}

@keyframes move-glow-2 {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    50% {
        transform: translate(-80px, -120px) rotate(45deg);
    }

    100% {
        transform: translate(-30px, -80px) rotate(20deg);
    }
}

/* Particules scintillantes */
.expertises-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.expertises-particle {
    position: absolute;
    background-color: rgba(0, 224, 255, 0.8);
    border-radius: 50%;
    z-index: 1;
}

@keyframes expertises-sparkle {

    0%,
    100% {
        transform: scale(0.8);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* EN-TÊTE DE LA SECTION */
.expertises-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 5rem;
    position: relative;
    z-index: 2;
    /* Au-dessus des fonds lumineux */
}

.expertises-badge {
    display: inline-block;
    background-color: rgba(0, 224, 255, 0.1);
    border: 1px solid rgba(0, 224, 255, 0.3);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    color: #00E0FF;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.expertises-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    line-height: 1.2;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.expertises-title.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.expertises-highlight {
    color: #3B82F6;
}

.expertises-subtitle {
    font-size: 1.1rem;
    color: #B8B8B8;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* GRILLE DES SERVICES */
.expertises-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 5rem;
    position: relative;
    z-index: 2;
    /* Au-dessus des fonds lumineux */
}

/* CARTES DE SERVICE - DESIGN MODERNE ET COMPLEXE */
.expertises-card {
    background: rgba(22, 27, 34, 0.5);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    z-index: 2;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);

    /* Effet de mesh gradient subtil en arrière-plan */
    background-image:
        radial-gradient(at 20% 20%, rgba(0, 224, 255, 0.03) 0px, transparent 50%),
        radial-gradient(at 80% 80%, rgba(0, 82, 212, 0.03) 0px, transparent 50%);

    /* Bordure avec dégradé subtil */
    box-shadow:
        inset 0 0 0 1px rgba(255, 255, 255, 0.05),
        0 20px 40px rgba(0, 0, 0, 0.2),
        0 0 0 0.5px rgba(0, 0, 0, 0.1),
        0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Effet de grille futuriste en arrière-plan */
.expertises-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image:
        linear-gradient(rgba(0, 224, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 224, 255, 0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.6s ease;
}

/* Effet de vague lumineuse amélioré */
.expertises-card::after {
    content: '';
    position: absolute;
    left: 0;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 225deg at 50% 50%,
            rgba(0, 224, 255, 0) 0deg,
            rgba(0, 224, 255, 0.1) 90deg,
            rgba(0, 224, 255, 0.1) 180deg,
            rgba(0, 82, 212, 0.1) 270deg,
            rgba(0, 82, 212, 0) 360deg);
    top: 100%;
    left: -50%;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateY(0) rotate(0deg);
    z-index: -1;
    border-radius: 50%;
}

/* État au survol - Effet moderne et complexe */
.expertises-card:hover {
    transform: translateY(-15px);
    border: 1px solid rgba(0, 224, 255, 0.1);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.3),
        0 0 15px rgba(0, 224, 255, 0.1),
        inset 0 0 0 1px rgba(0, 224, 255, 0.1);
}

.expertises-card:hover::before {
    opacity: 1;
}

.expertises-card:hover::after {
    transform: translateY(-70%) rotate(-45deg);
}

/* Nouvelle stylisation de l'icône */
.expertises-icon-wrapper {
    width: 90px;
    height: 90px;
    background: linear-gradient(145deg, rgba(13, 17, 23, 0.9), rgba(18, 24, 33, 0.9));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow:
        0 10px 20px rgba(0, 0, 0, 0.2),
        0 0 0 1px rgba(0, 224, 255, 0.1),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Aura autour de l'icône */
.expertises-icon-wrapper::before {
    content: '';
    position: absolute;
    inset: -3px;
    background: conic-gradient(from 0deg,
            rgba(0, 224, 255, 0.5),
            rgba(0, 82, 212, 0.5),
            rgba(0, 224, 255, 0.5));
    border-radius: 50%;
    -webkit-mask: radial-gradient(#fff 60%, transparent 65%);
    mask: radial-gradient(#fff 60%, transparent 65%);
    opacity: 0;
    transition: opacity 0.6s ease;
}

/* Ombre sous l'icône pour effet de lévitation */
.expertises-icon-shadow {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%) scale(0.6);
    width: 60px;
    height: 12px;
    background: radial-gradient(ellipse, rgba(0, 224, 255, 0.3), transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.6s ease;
    filter: blur(5px);
}

/* Animation de l'icône au survol */
.expertises-card:hover .expertises-icon-wrapper {
    transform: translateY(-15px) scale(1.1);
}

.expertises-card:hover .expertises-icon-wrapper::before {
    opacity: 1;
    animation: spin 4s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.expertises-card:hover .expertises-icon {
    filter: drop-shadow(0 0 8px rgba(0, 224, 255, 0.8));
}

.expertises-card:hover .expertises-icon-shadow {
    opacity: 1;
    transform: translateX(-50%) scale(1);
}

/* Amélioration du titre de la carte */
.expertises-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.expertises-card-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 30%;
    width: 40%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 224, 255, 0.5), transparent);
    opacity: 0;
    transform: translateY(5px);
    transition: all 0.6s ease;
}

.expertises-card:hover .expertises-card-title::after {
    opacity: 1;
    transform: translateY(0);
}

/* Texte des cartes amélioré */
.expertises-card-text {
    font-size: 0.95rem;
    color: #B8B8B8;
    line-height: 1.6;
    transition: color 0.4s ease;
}

.expertises-card:hover .expertises-card-text {
    color: #E6E6E6;
}

/* BOUTON D'ACTION */
.expertises-cta-container {
    text-align: center;
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.expertises-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #00E0FF, #0052D4);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-weight: 500;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    overflow: hidden;
    text-decoration: none;
    position: relative;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.expertises-cta-button.is-visible {
    width: auto;
    padding: 0.8rem 2rem;
    border-radius: 99px;
    opacity: 1;
}

.expertises-button-text {
    margin-right: 0.5rem;
    opacity: 0;
    transition: opacity 0.4s ease 0.4s;
    white-space: nowrap;
}

.expertises-button-icon {
    opacity: 0;
    transition: opacity 0.4s ease 0.4s;
}

.expertises-cta-button.is-visible .expertises-button-text,
.expertises-cta-button.is-visible .expertises-button-icon {
    opacity: 1;
}

.expertises-cta-button:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
    box-shadow: 0 0 15px rgba(0, 224, 255, 0.5);
}

/* Classes d'animation */
.expertises-badge.is-visible,
.expertises-subtitle.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.expertises-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Animation de texte éclaté */
.expertises-word {
    display: inline-block;
    opacity: 0;
    transform: translateY(30px) rotate(-3deg);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.expertises-word.is-visible {
    opacity: 1;
    transform: translateY(0) rotate(0deg);
}







/* SECTION RÉALISATIONS STYLES */
.realisations-section {
    position: relative;
    padding: 8rem 2rem;
    background: radial-gradient(ellipse at center, #0D1117 0%, #050608 100%);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
    max-width: 100%;
}

/* Header styles */
.realisations-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.realisations-header.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.realisations-badge {
    display: inline-block;
    background-color: rgba(0, 224, 255, 0.1);
    border: 1px solid rgba(0, 224, 255, 0.3);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    color: #00E0FF;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.realisations-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.realisations-header p {
    font-size: 1.1rem;
    color: #B8B8B8;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* CONTENEUR PRINCIPAL */
.custom-video-container {
    width: 100%;
    max-width: 1200px;
    position: relative;
    z-index: 0;
    margin: 40px auto;
}

/* GRID LAYOUT */
.custom-video-grid-main {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.custom-video-grid-left {
    flex: 0 0 60%;
}

.custom-video-grid-right {
    flex: 0 0 40%;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* VIDEO WRAPPER */
.custom-video-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7);
    background: #000;
    transform: translateZ(0);
}

.custom-video-large {
    transform: scale(0.9) rotate(-3deg);
    opacity: 0;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-video-large.is-visible {
    opacity: 1;
    transform: scale(1) rotate(0);
}

.custom-video-small {
    transform: scale(0.9) rotate(3deg);
    opacity: 0;
    transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-video-small.is-visible {
    opacity: 1;
    transform: scale(1) rotate(0);
}

/* THUMBNAIL ET VIDEO */
.custom-video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.8);
    transition: transform 0.8s ease;
}

/* IFRAME FACEBOOK */
.custom-video-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    display: none;
    z-index: 5;
}

/* LOADER */
.custom-video-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 40;
    backdrop-filter: blur(10px);
}

.custom-loader-spinner {
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top: 5px solid #00E0FF;
    width: 60px;
    height: 60px;
    animation: spin 1.2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* BOUTON PLAY STYLISÉ */
.custom-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    box-shadow: 0 0 0 15px rgba(0, 114, 255, 0.3),
        0 0 40px rgba(0, 198, 255, 0.6);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: pulse 2s infinite;
}

.custom-play-button i {
    color: white;
    font-size: 40px;
    margin-left: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.custom-play-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 0 10px rgba(0, 114, 255, 0.4),
        0 0 60px rgba(0, 198, 255, 0.8);
}

.custom-play-button:hover i {
    transform: scale(1.1);
}

/* ANIMATION PULSATION */
@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 0 15px rgba(0, 114, 255, 0.3),
            0 0 40px rgba(0, 198, 255, 0.6);
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        box-shadow: 0 0 0 5px rgba(0, 114, 255, 0.5),
            0 0 60px rgba(0, 198, 255, 0.9);
    }

    100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 0 15px rgba(0, 114, 255, 0.3),
            0 0 40px rgba(0, 198, 255, 0.6);
    }
}

/* EFFETS VISUELS */
.custom-orbital-light {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 224, 255, 0.25) 0%, rgba(0, 82, 212, 0.15) 70%, transparent 100%);
    animation: rotateOrbit 25s linear infinite;
    z-index: 5;
    pointer-events: none;
}

.custom-video-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 60px rgba(0, 224, 255, 0.4),
        0 0 100px rgba(0, 82, 212, 0.5);
    z-index: 6;
    pointer-events: none;
    border-radius: 16px;
}

@keyframes rotateOrbit {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* SHINE EFFECT */
.custom-video-shine {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent 45%, rgba(255, 255, 255, 0.1) 50%, transparent 55%);
    animation: shine 3s infinite;
    z-index: 1;
    pointer-events: none;
}

@keyframes shine {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(100%);
    }
}

/* TEXT OVERLAY */
.custom-video-text {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    z-index: 25;
}

.custom-video-text::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: -1;
}

.custom-video-text h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.custom-video-text p {
    font-size: 0.95rem;
    color: #B8B8B8;
}

/* RESPONSIVE DESIGN */
@media (max-width: 1200px) {
    .custom-video-grid-main {
        flex-direction: column;
    }

    .custom-video-grid-left,
    .custom-video-grid-right {
        flex: 0 0 100%;
    }

    .custom-video-large {
        height: 500px;
    }

    .custom-video-small {
        height: 300px;
    }

    .custom-video-grid-right {
        flex-direction: row;
    }

    .custom-video-grid-right>div {
        flex: 1;
    }
}

@media (max-width: 768px) {
    .custom-video-grid-right {
        flex-direction: column;
    }

    .custom-video-large {
        height: 400px;
    }

    .custom-video-small {
        height: 250px;
    }

    .custom-video-text {
        padding: 1.5rem;
    }

    .custom-video-text h3 {
        font-size: 1.2rem;
    }

    .custom-video-text p {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .custom-video-large {
        height: 300px;
    }

    .custom-video-small {
        height: 200px;
    }

    .custom-play-button {
        width: 70px;
        height: 70px;
    }

    .custom-play-button i {
        font-size: 30px;
    }

    .custom-video-text {
        padding: 1rem;
    }

    .custom-video-text h3 {
        font-size: 1rem;
    }
}

/* Bottom grid layout */
.realisations-grid-bottom {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Card styles */
.realisations-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    height: 350px;
    /* Hauteur de base pour les cartes */
}

.realisations-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.realisations-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.realisations-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.realisations-card:hover img {
    transform: scale(1.05);
}

.card-text-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem;
    z-index: 3;
}

.card-text-overlay::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    z-index: -1;
}

.card-text-overlay h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Tag styles */
.realisations-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    animation: pulse-tag 2s infinite;
}

@keyframes pulse-tag {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.2);
    }

    70% {
        box-shadow: 0 0 0 5px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.tag-termine {
    background: linear-gradient(45deg, #10B981, #059669);
}

.tag-en-cours {
    background: linear-gradient(45deg, #F59E0B, #D97706);
}

.tag-valide {
    background: linear-gradient(45deg, #3B82F6, #2563EB);
}

/* CTA Button styles */
.realisations-cta-container {
    text-align: center;
    margin-top: 4rem;
}

.realisations-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #00E0FF, #0052D4);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-weight: 500;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    overflow: hidden;
    text-decoration: none;
    position: relative;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    background-size: 200% auto;
}

.realisations-cta-button.is-visible {
    width: auto;
    padding: 0.8rem 2rem;
    border-radius: 99px;
    opacity: 1;
}

.button-text {
    margin-right: 0.5rem;
    opacity: 0;
    transition: opacity 0.4s ease 0.4s;
    white-space: nowrap;
}

.button-icon {
    opacity: 0;
    transition: opacity 0.4s ease 0.4s;
}

.realisations-cta-button.is-visible .button-text,
.realisations-cta-button.is-visible .button-icon {
    opacity: 1;
}

.realisations-cta-button:hover {
    transform: scale(1.05);
    background-position: right center;
    box-shadow: 0 0 15px rgba(0, 224, 255, 0.5);
}






/* SECTION PERFORMANCE STYLES */
.performance-section {
    position: relative;
    padding: 8rem 2rem;
    background-color: #0D1117;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Fond animé */
.performance-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 100vh;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 224, 255, 0.15) 0%, rgba(0, 82, 212, 0.05) 30%, transparent 70%);
    z-index: -1;
    opacity: 0.8;
    filter: blur(80px);
    animation: float-glow 20s infinite alternate ease-in-out;
}

@keyframes float-glow {
    0% {
        transform: translate(-50%, -50%) scale(0.9);
    }

    50% {
        transform: translate(-53%, -47%) scale(1.1);
    }

    100% {
        transform: translate(-47%, -53%) scale(0.95);
    }
}

/* Styles de l'en-tête */
.performance-header {
    text-align: center;
    max-width: 900px;
    margin-bottom: 5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.performance-header.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.performance-badge {
    display: inline-block;
    background-color: rgba(0, 224, 255, 0.1);
    border: 1px solid rgba(0, 224, 255, 0.3);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    color: #00E0FF;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.performance-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.performance-header h2 span {
    color: #00E0FF;
}

.performance-header p {
    font-size: 1.1rem;
    color: #B8B8B8;
    line-height: 1.6;
}

/* Conteneur du graphique */
.performance-chart-container {
    width: 100%;
    max-width: 900px;
    background: rgba(22, 27, 34, 0.5);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(0, 224, 255, 0.2);
    border-radius: 24px;
    padding: 2rem;
    margin-bottom: 4rem;
    box-shadow: 0 0 80px rgba(0, 150, 255, 0.15), 0 0 30px rgba(0, 224, 255, 0.1);
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.performance-chart-container.is-visible {
    opacity: 1;
    transform: scale(1);
}

.chart-title {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Canvas du graphique */
#performanceChart {
    width: 100%;
    height: 400px;
}

/* Bouton CTA */
.performance-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #00E0FF, #0052D4);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-weight: 500;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    overflow: hidden;
    text-decoration: none;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1);
}

.performance-cta-button.is-visible {
    width: auto;
    padding: 1rem 2rem;
    border-radius: 99px;
    opacity: 1;
}

.button-text {
    opacity: 0;
    transition: opacity 0.4s ease 0.4s;
    white-space: nowrap;
}

.performance-cta-button.is-visible .button-text {
    opacity: 1;
}

.performance-cta-button:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
    box-shadow: 0 0 15px rgba(0, 224, 255, 0.5);
}





/* SECTION TARIFS STYLES */
.tarifs-section {
    position: relative;
    padding: 8rem 2rem;
    background-color: #0D1117;
    /* Fond noir */
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
    z-index: 1;
}

/* Élément de fond animé - SOLUTION RÉVISÉE ET GARANTIE DE FONCTIONNER */
.tarifs-bg-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: none;
    z-index: -1;
    overflow: hidden;
    opacity: 1;
}

/* Création de l'effet de lueur avec un pseudo-élément pour garantir l'animation */
.tarifs-bg-glow::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 30%;
    width: 70vw;
    height: 70vh;
    background: radial-gradient(circle, rgba(0, 82, 212, 0.4) 0%, rgba(0, 82, 212, 0.1) 30%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
    animation: float-glow 15s infinite alternate ease-in-out;
    transform-origin: center center;
}

/* Animation visible et garantie */
@keyframes float-glow {
    0% {
        transform: translate(0, 0) scale(0.8);
    }

    50% {
        transform: translate(-20%, 10%) scale(1);
    }

    100% {
        transform: translate(20%, -10%) scale(0.9);
    }
}

/* En-tête de section */
.tarifs-header {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 5rem;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.tarifs-header.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.tarifs-badge {
    display: inline-block;
    background-color: rgba(0, 224, 255, 0.1);
    border: 1px solid rgba(0, 224, 255, 0.3);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    color: #00E0FF;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.tarifs-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.tarifs-header p {
    font-size: 1.1rem;
    color: #B8B8B8;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

/* Grille des tarifs */
.tarifs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* Cartes de tarifs */
.pricing-card {
    background-color: #161b22;
    border-radius: 24px;
    border: 1px solid #2a2a2a;
    padding: 2.5rem 1.5rem;
    transition: all 0.4s ease-in-out;
    display: flex;
    flex-direction: column;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
}

.pricing-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1;
}

.pricing-card .price span {
    font-size: 1rem;
    font-weight: normal;
    opacity: 0.7;
    margin-left: 0.25rem;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    flex-grow: 1;
}

.features-list li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    color: #B8B8B8;
}

.features-list li svg {
    margin-right: 0.75rem;
    flex-shrink: 0;
}

/* Bouton de tarifs */
.pricing-button {
    display: inline-block;
    width: 100%;
    padding: 1rem;
    border-radius: 99px;
    /* Forme de pilule */
    text-align: center;
    background-color: transparent;
    border: 1px solid #2a2a2a;
    color: #ffffff;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pricing-button:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(0, 224, 255, 0.5);
    box-shadow: 0 5px 15px rgba(0, 224, 255, 0.1);
}

/* Carte mise en avant avec le fond dégradé corrigé */
.pricing-card.featured {
    /* LE STYLE DE FOND DÉGRADÉ */
    background: linear-gradient(145deg, rgba(0, 110, 150, 0.35) 0%, rgba(13, 17, 23, 0.4) 50%);

    /* Autres styles pour un rendu parfait */
    border-color: #00E0FF;
    box-shadow: 0 0 80px rgba(0, 224, 255, 0.25);
    transform: scale(1.05);
    /* La mettre légèrement en avant par défaut */
    position: relative;
    z-index: 2;
}

.featured-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #00E0FF, #0052D4);
    color: white;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.5rem 1.5rem;
    border-radius: 99px;
    white-space: nowrap;
}

.featured-button {
    background: linear-gradient(90deg, #00E0FF, #0052D4);
    border: none;
}

.featured-button:hover {
    background: linear-gradient(90deg, #00E0FF, #0052D4);
    filter: brightness(1.2);
    border: none;
    box-shadow: 0 5px 20px rgba(0, 224, 255, 0.3);
}

/* Animation de survol des cartes */
.pricing-card:hover:not(.featured) {
    transform: translateY(-10px);
    border-color: rgba(0, 224, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0, 180, 220, 0.1);
}

.pricing-card.featured:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 20px 70px rgba(0, 180, 220, 0.3);
}

/* Responsive styles */
@media (max-width: 1200px) {
    .tarifs-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .pricing-card {
        padding: 2rem 1rem;
    }

    .pricing-card h3 {
        font-size: 1.6rem;
    }

    .pricing-card .price {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .tarifs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.featured {
        grid-row: 1;
        grid-column: span 2;
        max-width: 500px;
        margin: 0 auto 1rem;
    }
}

@media (max-width: 768px) {
    .tarifs-section {
        padding: 6rem 1.5rem;
    }

    .tarifs-header h2 {
        font-size: 2rem;
    }

    .tarifs-header p {
        font-size: 1rem;
    }

    .tarifs-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .pricing-card.featured {
        grid-column: span 1;
    }

    .pricing-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .tarifs-header h2 {
        font-size: 1.8rem;
    }

    .pricing-card h3 {
        font-size: 1.5rem;
    }

    .pricing-card .price {
        font-size: 2.2rem;
    }

    .featured-badge {
        font-size: 0.7rem;
        padding: 0.4rem 1.2rem;
    }
}





.testimonials-section {
    position: relative;
    background: #0D1117;
    overflow: hidden;
    padding: 8rem 2rem 6rem 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.testimonials-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120vw;
    height: 90vh;
    pointer-events: none;
    background: radial-gradient(circle, rgba(0, 224, 255, 0.16) 0%, rgba(0, 82, 212, 0.07) 55%, transparent 90%);
    filter: blur(190px);
    opacity: 0.72;
    z-index: 0;
    transform: translate(-50%, -50%);
    animation: glow-breath 8s ease-in-out infinite alternate;
}

@keyframes glow-breath {
    0% {
        opacity: 0.5;
    }

    60% {
        opacity: 0.9;
    }

    100% {
        opacity: 0.5;
    }
}

.testimonials-header {
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 5rem auto;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
}

.testimonials-header.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.testimonials-badge {
    display: inline-block;
    color: #00e0ff;
    background: rgba(0, 224, 255, 0.09);
    border: 1px solid rgba(0, 224, 255, 0.24);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.testimonials-header h2 {
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: #fff;
    line-height: 1.2;
}

.testimonials-header h2 span {
    color: #00e0ff;
}

.testimonials-header p {
    color: #b8b8b8;
    font-size: 1.13rem;
    margin: 0 auto;
    line-height: 1.6;
    max-width: 550px;
}

.testimonial-carousel-wrapper {
    width: 100%;
    max-width: 950px;
    height: 370px;
    margin: 0 auto 3.5rem auto;
    perspective: 1000px;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-carousel {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 0.8s cubic-bezier(.61, -0.01, .42, 1.01);
    will-change: transform;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 450px;
    max-width: 97vw;
    min-height: 200px;
    transform: translate(-50%, -50%) scale(0.8) translateZ(-190px);
    opacity: 0.19;
    background: rgba(17, 28, 41, 0.71);
    border: 1.6px solid rgba(0, 224, 255, 0.14);
    border-radius: 22px;
    box-shadow: 0 6px 44px 0 rgba(0, 82, 212, 0.09);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    transition:
        opacity 0.45s cubic-bezier(0.68, -0.55, 0.27, 1.55),
        transform 0.8s cubic-bezier(.61, -0.01, .42, 1.01),
        box-shadow 0.4s,
        border-color 0.4s;
    z-index: 1;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
}

.card-content {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 2.2rem 2rem 2rem 2rem;
    text-align: left;
}

.card-content img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #00e0ff;
    box-shadow: 0 2px 12px 0 rgba(0, 224, 255, 0.13);
    flex-shrink: 0;
}

.card-content .text-wrapper {
    flex: 1 1 auto;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
}

.card-content .text-wrapper h4 {
    font-size: 1.18rem;
    font-weight: 700;
    margin: 0 0 0.08em 0;
    color: #fff;
}

.card-content .text-wrapper span {
    color: #7fefff;
    font-size: 0.98rem;
    font-weight: 500;
    margin-bottom: 0.27rem;
}

.card-content .text-wrapper p {
    color: #e3f9ff;
    font-size: 1.08rem;
    text-align: left;
    line-height: 1.48;
    margin: 0.34rem 0 0.31rem 0;
}

.rating-stars {
    display: flex;
    gap: 0.11rem;
    margin-top: 0.05rem;
    justify-content: flex-start;
}

.testimonial-card.is-active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) translateZ(0);
    border-color: #00e0ff;
    box-shadow: 0 0 70px 0 rgba(0, 224, 255, 0.17), 0 4px 64px 0 rgba(0, 82, 212, 0.14);
    z-index: 2;
}

.testimonial-card.is-active:hover {
    border-color: #00e0ff;
    box-shadow: 0 10px 50px 0 rgba(0, 224, 255, 0.2), 0 4px 84px 0 rgba(0, 82, 212, 0.2);
    transform: translate(-50%, -50%) scale(1.02) rotateY(-3deg);
    transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
}

.testimonial-card.is-next {
    opacity: 0.69;
    transform: translate(-50%, -50%) scale(0.86) rotateY(-36deg) translateX(70%) translateZ(-210px);
    z-index: 1;
}

.testimonial-card.is-prev {
    opacity: 0.69;
    transform: translate(-50%, -50%) scale(0.86) rotateY(36deg) translateX(-70%) translateZ(-210px);
    z-index: 1;
}

.testimonial-card.is-far {
    opacity: 0.09;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.7) translateZ(-370px);
    z-index: 0;
}

.carousel-pagination {
    position: absolute;
    bottom: 18px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 14px;
    z-index: 10;
}

.pagination-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 224, 255, 0.14);
    border: 2px solid transparent;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
    box-shadow: 0 0 12px 0 rgba(0, 224, 255, 0.13);
}

.pagination-dot.active {
    background: #00e0ff;
    border-color: #00e0ff;
    box-shadow: 0 0 18px 0 rgba(0, 224, 255, 0.32);
}

.testimonials-cta-button {
    margin: 2.5rem auto 0 auto;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 99px;
    background: linear-gradient(90deg, #00E0FF, #0052D4);
    color: #fff;
    font-weight: 500;
    font-size: 1.08rem;
    border: none;
    text-decoration: none;
    cursor: pointer;
    width: 54px;
    height: 54px;
    transition: all 0.6s cubic-bezier(.19, 1, .22, 1);
    opacity: 0;
    transform: scale(0.7) translateY(40px);
    overflow: hidden;
}

.testimonials-cta-button.is-visible {
    width: auto;
    min-width: 340px;
    max-width: 500px;
    padding: 1.05rem 2.1rem;
    opacity: 1;
    transform: scale(1) translateY(0);
}

.button-text {
    opacity: 0;
    transition: opacity 0.35s 0.32s;
    white-space: nowrap;
}

.testimonials-cta-button.is-visible .button-text {
    opacity: 1;
}

.testimonials-cta-button:hover {
    filter: brightness(1.18);
    box-shadow: 0 6px 32px 0 rgba(0, 224, 255, 0.18);
}

@media (max-width: 1100px) {
    .testimonial-carousel-wrapper {
        max-width: 99vw;
    }

    .testimonial-card {
        width: 92vw;
        max-width: 410px;
    }
}

@media (max-width: 800px) {
    .testimonial-carousel-wrapper {
        height: 320px;
    }

    .testimonial-card {
        width: 89vw;
        max-width: 99vw;
        min-height: 180px;
    }

    .card-content {
        padding: 1.3rem 0.7rem 1.2rem 0.7rem;
    }

    .testimonials-cta-button.is-visible {
        min-width: 90vw;
        max-width: 99vw;
    }

    .testimonials-header h2 {
        font-size: 1.26rem;
    }
}





.blog-section {
    position: relative;
    background: #0D1117;
    overflow: hidden;
    padding: 8rem 2rem 6rem 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.blog-bg-element {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 90vh;
    z-index: 0;
    pointer-events: none;
    background: radial-gradient(ellipse at 60% 40%, #00E0FF 0%, #0052D4 40%, transparent 80%);
    filter: blur(150px);
    opacity: 0.5;
    transform: translate(-50%, -50%);
    animation: blog-bg-move 26s ease-in-out infinite alternate;
}

@keyframes blog-bg-move {
    0% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
    }

    50% {
        transform: translate(-46%, -52%) scale(1.06) rotate(3deg);
    }

    100% {
        transform: translate(-53%, -47%) scale(1) rotate(-2deg);
    }
}

.blog-header {
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.blog-header.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.blog-badge {
    display: inline-block;
    color: #00e0ff;
    background: rgba(0, 224, 255, 0.09);
    border: 1px solid rgba(0, 224, 255, 0.24);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.blog-header h2 {
    font-size: 2.3rem;
    font-weight: 700;
    margin-bottom: 1.2rem;
    color: #fff;
    line-height: 1.2;
}

.blog-header p {
    color: #b8b8b8;
    font-size: 1.13rem;
    margin: 0 auto;
    line-height: 1.6;
    max-width: 550px;
}

.blog-layout-container {
    width: 100%;
    max-width: 1160px;
    margin: 0 auto 3.5rem auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    z-index: 2;
    position: relative;
}

/*
============================================================
  MISE EN PAGE ULTIME DE LA CARTE PRINCIPALE DU BLOG (GRID)
============================================================
*/

/* Grand conteneur principal en grille 2 colonnes égales */
.blog-card--featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Deux colonnes de largeur parfaitement égale */
    width: 100%;
    background: #161b22;
    border-radius: 24px;
    overflow: hidden;
    min-height: 320px;
    box-shadow: 0 4px 32px 0 rgba(0, 82, 212, 0.08);
    text-decoration: none;
}

/* Boîte de gauche (image) : occupe la première colonne */
.blog-card--featured .card-image-wrapper {
    width: 100%;
    height: 100%;
    /* Les coins extérieurs sont arrondis grâce à overflow:hidden du parent */
    display: block;
}

/* L'image remplit tout l'espace sans déformation ni marges */
.blog-card--featured .card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Boîte de droite (contenu textuel) : occupe la deuxième colonne */
.blog-card--featured .card-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.1rem;
    padding: 2.7rem 2.7rem 2.7rem 2.7rem;
    /* Espacement confortable sur tous les bords */
    background: transparent;
}

/* Le badge de la catégorie */
.blog-card--featured .card-tag {
    margin-bottom: 0.5rem;
}

/* Le lien "lire l'article" reste en bas de la colonne texte */
.blog-card--featured .card-read-more {
    margin-top: auto;
    align-self: flex-start;
    font-weight: 500;
}

/* Responsive : Sur petit écran, la grille devient une colonne unique */
@media (max-width: 992px) {
    .blog-card--featured {
        grid-template-columns: 1fr;
    }

    .blog-card--featured .card-image-wrapper {
        min-height: 210px;
    }

    .blog-card--featured .card-content {
        padding: 2rem 1.1rem 2rem 1.1rem;
    }
}

/* Grille secondaire */
.blog-secondary-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

.blog-card--secondary {
    min-height: 170px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* --- Styles des Cartes et Animations (identiques à la version précédente) --- */
.blog-card {
    background: #161b22;
    border-radius: 24px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    box-shadow: 0 4px 32px 0 rgba(0, 82, 212, 0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0;
    transform: translateY(20px);
    z-index: 2;
}

.blog-card.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.blog-card .card-image-wrapper {
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    background: #222;
    display: flex;
    align-items: stretch;
}

.blog-card .card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    display: block;
}

.blog-card .card-content {
    padding: 1.2rem 1.4rem 1.3rem 1.4rem;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.card-tag {
    display: inline-block;
    font-size: 0.91rem;
    font-weight: 500;
    border-radius: 44px;
    padding: 0.32em 1.06em;
    margin-bottom: 0.32em;
    color: #fff;
    background: #00e0ff;
    background: linear-gradient(90deg, #00e0ff 0%, #0052d4 100%);
    opacity: 0.95;
    letter-spacing: 0.01em;
}

.card-tag--conseil {
    background: linear-gradient(90deg, #00e0ff 0%, #0052d4 100%);
    color: #fff;
}

.card-tag--eco {
    background: linear-gradient(90deg, #21d19f 0%, #00e0ff 100%);
    color: #fff;
}

.card-tag--guide {
    background: linear-gradient(90deg, #ffbb00 0%, #06d6a0 100%);
    color: #232323;
}

.card-tag--etude {
    background: linear-gradient(90deg, #5d42e6 0%, #00e0ff 100%);
    color: #fff;
}

.blog-card h3,
.blog-card h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.27em;
    color: #fff;
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.blog-card--featured h3 {
    font-size: 1.41rem;
    margin-bottom: 0.38em;
}

.blog-card p {
    color: #e8f7ff;
    font-size: 1.04rem;
    line-height: 1.55;
    margin-bottom: 0.35em;
    font-weight: 400;
}

.card-author-info {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    margin-top: 0.28em;
}

.card-author-info img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #00e0ff;
    box-shadow: 0 2px 10px 0 rgba(0, 224, 255, 0.07);
    background: #111;
}

.card-author-info div {
    display: flex;
    flex-direction: column;
    font-size: 0.98rem;
    color: #fff;
}

.card-author-info span {
    color: #00e0ff;
    font-weight: 500;
    font-size: 0.98rem;
}

.card-author-info time {
    color: #b8b8b8;
    font-size: 0.93rem;
    font-weight: 400;
    margin-top: 1px;
}

.card-read-more {
    margin-top: 0.6em;
    color: #00e0ff;
    font-size: 1.02rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    cursor: pointer;
    transition: color 0.2s;
    display: inline-block;
}

.card-read-more:hover {
    color: #00b0d4;
}

.blog-card:hover,
.blog-card:focus-visible {
    transform: translateY(-8px);
    box-shadow: 0 0 0 1.5px #00E0FF, 0 10px 36px 0 rgba(0, 224, 255, 0.08);
    z-index: 4;
}

.blog-card:hover img,
.blog-card:focus-visible img {
    transform: scale(1.05);
}

.blog-card:active {
    transform: translateY(-2px) scale(0.98);
}

.blog-cta-button {
    margin: 2.5rem auto 0 auto;
    padding: 1.1rem 2.2rem;
    display: inline-block;
    border-radius: 99px;
    background: linear-gradient(90deg, #00E0FF, #0052D4);
    color: #fff;
    font-weight: 500;
    font-size: 1.12rem;
    border: none;
    text-decoration: none;
    cursor: pointer;
    opacity: 0;
    transform: translateY(20px) scale(0.93);
    transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 6px 22px 0 rgba(0, 224, 255, 0.13);
}

.blog-cta-button.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.blog-cta-button:hover {
    filter: brightness(1.15);
    box-shadow: 0 6px 32px 0 rgba(0, 224, 255, 0.18);
}

.blog-card,
.blog-card--featured,
.blog-header,
.blog-cta-button {
    opacity: 0;
    transform: translateY(20px);
}

.blog-card.is-visible,
.blog-card--featured.is-visible,
.blog-header.is-visible,
.blog-cta-button.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}








.cta-final-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, #0D1117 0%, #001f3f 100%);
    padding: 72px 20px 64px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cta-bg-light-beam {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 150%;
    top: -25%;
    background: linear-gradient(to bottom, transparent, rgba(0, 224, 255, 0.15), transparent);
    filter: blur(50px);
    z-index: 0;
    pointer-events: none;
}

.cta-header {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 52px;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(.45, .03, .12, .89), transform 0.7s cubic-bezier(.45, .03, .12, .89);
}

.cta-header.is-visible {
    opacity: 1;
    transform: none;
}

.cta-badge {
    display: inline-block;
    border-radius: 99px;
    border: 1px solid rgba(0, 224, 255, 0.5);
    background: transparent;
    color: #00E0FF;
    padding: 6px 26px;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 18px;
    letter-spacing: 0.02em;
    box-shadow: none;
}

.cta-header h2 {
    color: #fff;
    font-size: 2.4rem;
    font-weight: 700;
    margin: 0 0 14px 0;
    line-height: 1.14;
}

.cta-header h2 span {
    color: #00e0ff;
    font-weight: 700;
}

.cta-header p {
    color: #b4bbc7;
    font-size: 1.13rem;
    margin: 0 auto;
    max-width: 620px;
    line-height: 1.6;
}

.cta-pillars-grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3rem;
}

.cta-pillar-card {
    flex: 1;
    background: #161b22;
    border: 1px solid #2a2a2a;
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    transition:
        box-shadow 0.45s cubic-bezier(.39, 1.74, .46, .92),
        transform 0.45s cubic-bezier(.39, 1.74, .46, .92),
        border-color 0.35s cubic-bezier(.39, 1.74, .46, .92),
        background 0.45s cubic-bezier(.39, 1.74, .46, .92),
        color 0.25s;
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(40px);
    margin: 0 0 0 0;
    will-change: box-shadow, transform, border-color, background;
    z-index: 1;
}

.cta-pillar-card.is-visible {
    opacity: 1;
    transform: none;
    transition-delay: 0s;
}

.pillar-icon-wrapper {
    width: 64px;
    height: 64px;
    margin: 0 auto 22px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    background: #152331;
    position: relative;
    z-index: 2;
    transition: box-shadow 0.4s;
}

.pillar-icon-wrapper i {
    color: #00E0FF;
    font-size: 2.25rem;
    line-height: 1;
    transition: color 0.35s;
}

.cta-pillar-card h3 {
    color: #fff;
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0 0 14px 0;
}

.cta-pillar-card p {
    color: #b4bbc7;
    font-size: 1.06rem;
    margin: 0;
    line-height: 1.65;
}

/* Effet lumineux au hover - ce qu'il y a de plus moderne */
.cta-pillar-card::before,
.cta-pillar-card::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    pointer-events: none;
    transition: opacity 0.45s cubic-bezier(.39, 1.74, .46, .92), transform 0.6s cubic-bezier(.39, 1.74, .46, .92);
    opacity: 0;
    z-index: 0;
}

.cta-pillar-card::before {
    width: 160%;
    height: 180%;
    background: radial-gradient(ellipse at center, rgba(0, 224, 255, 0.13) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0.92);
}

.cta-pillar-card::after {
    width: 120%;
    height: 10px;
    background: linear-gradient(90deg, rgba(0, 224, 255, 0.38) 0%, rgba(0, 224, 255, 0.03) 80%);
    border-radius: 99px;
    top: 0;
    left: 50%;
    transform: translate(-50%, -70%) scaleX(0.7);
    opacity: 0;
}

/* Animation de halo et survol moderne */
.cta-pillar-card:hover,
.cta-pillar-card:focus-visible {
    transform: translateY(-18px) scale(1.035) rotate(-0.5deg);
    box-shadow:
        0 8px 56px 0 rgba(0, 224, 255, 0.23),
        0 2px 24px 0 rgba(0, 0, 0, 0.11);
    border-color: #00e0ff;
    background: linear-gradient(110deg, #161b22 85%, rgba(0, 224, 255, 0.08) 100%);
    z-index: 2;
}

/* Halo lumineux animé sur la carte */
.cta-pillar-card:hover::before,
.cta-pillar-card:focus-visible::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.04);
}

.cta-pillar-card:hover::after,
.cta-pillar-card:focus-visible::after {
    opacity: 1;
    transform: translate(-50%, -70%) scaleX(1.25);
    transition-delay: 0.07s;
}

/* Animation top border luminance */
.cta-pillar-card::marker {
    display: none;
}

.cta-pillar-card::selection {
    background: transparent;
}

.cta-pillar-card::before,
.cta-pillar-card::after {
    pointer-events: none;
}

.cta-pillar-card::selection,
.cta-pillar-card *::selection {
    background: rgba(0, 224, 255, 0.13);
}

/* Animation border-top en dégradé (pseudo-élément) */
.cta-pillar-card>h3::before {
    content: "";
    display: block;
    margin: 0 auto 18px auto;
    width: 36px;
    height: 3px;
    border-radius: 6px;
    background: linear-gradient(90deg, #00e0ff, #0091ff);
    opacity: 0;
    transition: opacity 0.35s cubic-bezier(.39, 1.74, .46, .92);
}

.cta-pillar-card:hover>h3::before,
.cta-pillar-card:focus-visible>h3::before {
    opacity: 1;
}

/* Glow et couleur icône au hover */
.cta-pillar-card:hover .pillar-icon-wrapper,
.cta-pillar-card:focus-visible .pillar-icon-wrapper {
    box-shadow: 0 0 0 8px rgba(0, 224, 255, 0.13), 0 2px 18px 0 rgba(0, 224, 255, 0.23);
}

.cta-pillar-card:hover .pillar-icon-wrapper i,
.cta-pillar-card:focus-visible .pillar-icon-wrapper i {
    color: #fff;
    text-shadow: 0 0 16px #00e0ff, 0 0 4px #00e0ff;
    transition: color 0.35s, text-shadow 0.45s;
}

/* ============= CORRECTION FINALE DU BOUTON WHATSAPP ============= */
.cta-whatsapp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #25D366;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 600;
    border-radius: 32px;
    padding: 16px 38px;
    text-decoration: none;
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0.2);
    position: relative;
    z-index: 2;
    transition: background 0.18s, box-shadow 0.18s, transform 0.30s;
    opacity: 0;
    transform: scale(0.85);
    transition-property: opacity, transform, box-shadow, background;
    transition-duration: 0.7s, 0.7s, 0.3s, 0.18s;
    transition-timing-function: cubic-bezier(.45, .03, .12, .89);
    animation: none;
    margin-top: 4rem;
}

.cta-whatsapp-button.is-visible {
    opacity: 1;
    transform: scale(1);
    animation: pulse-whatsapp 1.7s cubic-bezier(.45, .03, .12, .89) infinite;
}

.cta-whatsapp-button .fab.fa-whatsapp {
    font-size: 1.2rem;
}

@keyframes pulse-whatsapp {
    0% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0.2);
    }

    50% {
        box-shadow: 0 0 0 28px rgba(37, 211, 102, 0.07);
    }

    100% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0.2);
    }
}






.contact-page-container {
    min-height: 100vh;
    padding: 0 0 60px 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 1;
}

.contact-bg-glow-effect {
    position: absolute;
    top: -180px;
    left: 50%;
    transform: translateX(-50%);
    width: 700px;
    height: 520px;
    background: radial-gradient(ellipse at 50% 30%, #00e0ff 0%, #0091ff 45%, transparent 80%);
    opacity: 0.17;
    filter: blur(200px);
    pointer-events: none;
    animation: contactGlowMove 11s linear infinite alternate;
    z-index: 0;
}

@keyframes contactGlowMove {
    0% {
        transform: translateX(-50%) translateY(0);
    }

    100% {
        transform: translateX(-52%) translateY(40px);
    }
}

.contact-header {
    position: relative;
    z-index: 2;
    margin-top: 52px;
    margin-bottom: 46px;
    text-align: center;
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(.45, .03, .12, .89), transform 0.7s cubic-bezier(.45, .03, .12, .89);
}

.contact-header.is-visible {
    opacity: 1;
    transform: none;
}

.contact-badge {
    display: inline-block;
    border-radius: 99px;
    border: 1px solid rgba(0, 224, 255, 0.5);
    background: transparent;
    color: #00E0FF;
    padding: 6px 28px;
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 20px;
    letter-spacing: 0.02em;
    margin-top: 0;
}

.contact-header h2 {
    color: #fff;
    font-size: 2.3rem;
    font-weight: 700;
    margin: 18px 0 16px 0;
    line-height: 1.14;
}

.contact-header p {
    color: #b4bbc7;
    font-size: 1.11rem;
    margin: 0 auto;
    max-width: 540px;
    line-height: 1.55;
}

.contact-form {
    position: relative;
    background: rgba(22, 27, 34, 0.5);
    border: 1px solid rgba(0, 224, 255, 0.2);
    border-radius: 24px;
    box-shadow: 0 4px 40px 0 rgba(0, 224, 255, 0.04);
    backdrop-filter: blur(15px);
    padding: 38px 38px 34px 38px;
    width: 100%;
    max-width: 590px;
    margin: 0 auto;
    z-index: 2;
    opacity: 0;
    transform: translateY(36px);
    transition: opacity 0.7s cubic-bezier(.45, .03, .12, .89), transform 0.7s cubic-bezier(.45, .03, .12, .89);
}

.contact-form.is-visible {
    opacity: 1;
    transform: none;
}

.form-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 24px;
}

.form-group {
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.form-group.full-width {
    flex: 0 0 100%;
}

.contact-form label {
    font-size: 0.97rem;
    color: #c6eaff;
    font-weight: 500;
    margin-bottom: 7px;
    letter-spacing: 0.02em;
}

.contact-form input,
.contact-form textarea {
    background: #12161C;
    color: #fff;
    border: 1px solid rgba(0, 224, 255, 0.10);
    border-radius: 12px;
    padding: 13px 15px;
    font-size: 1.01rem;
    margin-bottom: 0;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.22s;
    resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: #6fc9f7;
    opacity: 0.93;
    font-size: 0.99rem;
}

.contact-form input:hover,
.contact-form textarea:hover {
    border-color: #00e0ff;
}

.contact-form input:focus,
.contact-form textarea:focus {
    border-color: #00e0ff;
    box-shadow: 0 0 0 2px rgba(0, 224, 255, 0.13) inset;
    background: #151920;
}

/* Validation error visible only after submit attempted */
.form-group.invalid input,
.form-group.invalid textarea {
    border-color: #ff5a5a;
    background: #201618;
}

.form-group.invalid label {
    color: #ff5a5a;
}

.form-group .error-message {
    color: #ff5a5a;
    font-size: 0.93rem;
    margin-top: 3px;
    font-weight: 400;
    display: none;
}

.form-group.invalid .error-message {
    display: block;
}

.contact-submit-button {
    display: block;
    margin: 36px auto 0 auto;
    border: none;
    border-radius: 99px;
    padding: 15px 0 15px 0;
    width: 66%;
    min-width: 210px;
    font-size: 1.11rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(90deg, #00e0ff 0%, #0091ff 100%);
    box-shadow: 0 0 20px 0 rgba(0, 224, 255, 0.13);
    cursor: pointer;
    transition: filter 0.22s, transform 0.22s, box-shadow 0.22s, background 0.35s;
    opacity: 0;
    transform: translateY(24px);
    position: relative;
    outline: none;
}

.contact-submit-button.is-visible {
    opacity: 1;
    transform: none;
    transition-delay: 0.17s;
}

.contact-submit-button:disabled,
.contact-submit-button.sent {
    background: #25D366 !important;
    color: #fff !important;
    filter: none;
    cursor: default;
    box-shadow: 0 0 18px 0 rgba(37, 211, 102, 0.14);
}

.contact-submit-button.sent {
    font-weight: 700;
}

.contact-submit-button .fa-check {
    margin-right: 8px;
    font-size: 1.25em;
    vertical-align: -2px;
}

/* Animation du bouton validé */
@keyframes check-pop {
    0% {
        transform: scale(0.1) rotate(-50deg);
        opacity: 0;
    }

    70% {
        transform: scale(1.3) rotate(10deg);
        opacity: 1;
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.contact-submit-button.sent .fa-check {
    animation: check-pop 0.45s cubic-bezier(.45, .03, .12, .89);
}

.contact-submit-button:hover:not(:disabled):not(.sent),
.contact-submit-button:focus-visible:not(:disabled):not(.sent) {
    filter: brightness(1.2);
    transform: scale(1.05);
    box-shadow: 0 0 44px 0 rgba(0, 224, 255, 0.21);
}

.site-footer {
    background: #0D1117;
    padding: 0 0 0 0;
    color: #b4bbc7;
    font-size: 1rem;
    width: 100%;
    position: relative;
    z-index: 3;
    margin-top: 0;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 44px;
    max-width: 1250px;
    margin: 0 auto;
    padding: 68px 30px 36px 30px;
    flex-wrap: wrap;
}

.footer-logo-area {
    flex: 1 1 210px;
    min-width: 190px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    margin-right: 20px;
}

.footer-logo-area img {
    height: 38px;
    margin-bottom: 18px;
    display: block;
}

.footer-tagline {
    color: #6fc9f7;
    font-size: 1.01rem;
    margin: 0;
    max-width: 230px;
}

.footer-links-area {
    flex: 3 1 520px;
    display: flex;
    gap: 40px;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.footer-column {
    min-width: 150px;
    max-width: 180px;
}

.footer-column h4 {
    color: #fff;
    font-size: 1.09rem;
    margin-bottom: 17px;
    margin-top: 0;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li:last-child {
    margin-bottom: 0;
}

.footer-column a {
    color: #fff;
    text-decoration: none;
    transition: color 0.18s;
}

.footer-column a:hover,
.footer-column a:focus {
    color: #00e0ff;
    text-decoration: underline;
}

.footer-column address {
    font-style: normal;
    color: #b4bbc7;
    margin-bottom: 8px;
    font-size: 0.97rem;
}

.footer-social-icons {
    margin-top: 16px;
    display: flex;
    gap: 13px;
}

.footer-social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #161b22;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    color: #fff;
    font-size: 1.16rem;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}

.footer-social-icons a:hover,
.footer-social-icons a:focus {
    background: #00e0ff;
    color: #fff;
    box-shadow: 0 2px 16px 0 rgba(0, 224, 255, 0.12);
}

.footer-bottom {
    border-top: 1px solid #171c22;
    padding: 18px 24px 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1250px;
    margin: 0 auto;
    font-size: 0.97rem;
    gap: 14px;
    flex-wrap: wrap;
}

.footer-bottom p {
    margin: 0;
    color: #6fc9f7;
    font-size: 0.95rem;
}

.footer-bottom ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 18px;
}

.footer-bottom a {
    color: #b4bbc7;
    text-decoration: none;
    font-size: 0.98rem;
    transition: color 0.18s;
}

.footer-bottom a:hover,
.footer-bottom a:focus {
    color: #00e0ff;
}

@media (max-width: 950px) {
    .footer-main {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
        padding: 52px 16px 28px 16px;
    }

    .footer-links-area {
        gap: 24px;
        justify-content: flex-start;
    }

    .footer-column {
        min-width: 120px;
        max-width: 100%;
    }

    .footer-logo-area {
        margin-bottom: 14px;
        margin-right: 0;
    }

    .footer-bottom {
        padding: 16px 10px 12px 10px;
    }
}

@media (max-width: 700px) {
    .contact-form {
        max-width: 95vw;
        padding: 22px 8vw 18px 8vw;
    }

    .footer-main {
        padding: 34px 3vw 18px 3vw;
        gap: 18px;
    }

    .footer-links-area {
        flex-direction: column;
        gap: 12px;
        width: 100%;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 500px) {
    .contact-header h2 {
        font-size: 1.22rem;
    }

    .footer-logo-area img {
        height: 30px;
    }
}








/* RESPONSIVITÉ */
@media (max-width: 992px) {
    .cta-pillars-grid {
        flex-direction: column;
        align-items: center;
        max-width: 500px;
    }

    .cta-pillar-card {
        width: 100%;
    }
}

@media (max-width: 500px) {
    .cta-final-section {
        padding: 44px 7px 36px 7px;
    }

    .cta-header h2 {
        font-size: 1.25rem;
    }

    .cta-pillar-card {
        padding: 24px 6px 19px 6px;
    }

    .cta-whatsapp-button {
        font-size: 1rem;
        padding: 13px 18px;
    }
}








/* Responsive */
@media (max-width: 1100px) {
    .blog-layout-container {
        max-width: 98vw;
    }

    .blog-card--featured .card-content {
        padding: 1.6rem 1.2rem 1.5rem 1.2rem;
    }
}

@media (max-width: 900px) {
    .blog-secondary-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (max-width: 600px) {
    .blog-section {
        padding: 4rem 0.4rem 2.2rem 0.4rem;
    }

    .blog-header h2 {
        font-size: 1.28rem;
    }

    .blog-card--featured .card-image-wrapper {
        height: 36vw;
        min-height: 140px;
    }

    .blog-card--featured .card-content,
    .blog-card .card-content {
        padding: 1.05rem 0.5rem 1rem 0.5rem;
    }

    .blog-card h3,
    .blog-card h4 {
        font-size: 1.04rem;
    }

    .blog-card--featured h3 {
        font-size: 1.09rem;
    }
}






/* Responsive styles */
@media (max-width: 1200px) {
    .tarifs-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .pricing-card {
        padding: 2rem 1rem;
    }

    .pricing-card h3 {
        font-size: 1.6rem;
    }

    .pricing-card .price {
        font-size: 2.5rem;
    }
}

@media (max-width: 992px) {
    .tarifs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pricing-card.featured {
        grid-row: 1;
        grid-column: span 2;
        max-width: 500px;
        margin: 0 auto 1rem;
    }
}

@media (max-width: 768px) {
    .tarifs-section {
        padding: 6rem 1.5rem;
    }

    .tarifs-header h2 {
        font-size: 2rem;
    }

    .tarifs-header p {
        font-size: 1rem;
    }

    .tarifs-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .pricing-card.featured {
        grid-column: span 1;
    }

    .pricing-card {
        margin-bottom: 1.5rem;
    }
}

@media (max-width: 480px) {
    .tarifs-header h2 {
        font-size: 1.8rem;
    }

    .pricing-card h3 {
        font-size: 1.5rem;
    }

    .pricing-card .price {
        font-size: 2.2rem;
    }

    .featured-badge {
        font-size: 0.7rem;
        padding: 0.4rem 1.2rem;
    }
}





/* Responsive styles */
@media (max-width: 992px) {
    .performance-header h2 {
        font-size: 2.2rem;
    }

    .performance-chart-container {
        padding: 1.5rem;
    }

    #performanceChart {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .performance-section {
        padding: 6rem 1.5rem;
    }

    .performance-header h2 {
        font-size: 1.8rem;
    }

    .performance-header p {
        font-size: 1rem;
    }

    .chart-title {
        font-size: 1.3rem;
    }

    #performanceChart {
        height: 300px;
    }

    .performance-cta-button.is-visible {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}






/* Responsive styles */
@media (max-width: 992px) {
    .realisations-header h2 {
        font-size: 2.2rem;
    }

    .realisations-grid-main {
        flex-direction: column;
    }

    .realisations-grid-left,
    .realisations-grid-right {
        flex: 0 0 100%;
    }

    .video-large {
        height: 400px;
        /* Maintient une bonne hauteur sur tablette */
    }

    .realisations-grid-bottom {
        grid-template-columns: repeat(2, 1fr);
    }

    .realisations-card:last-child {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .realisations-section {
        padding: 6rem 1.5rem;
    }

    .realisations-header h2 {
        font-size: 1.8rem;
    }

    .realisations-header p {
        font-size: 1rem;
    }

    .video-large {
        height: 350px;
        /* Ajusté pour mobile */
    }

    .video-small {
        height: 200px;
        /* Ajusté pour mobile */
    }

    .realisations-play-button {
        width: 60px;
        height: 60px;
    }

    .realisations-play-button::after {
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-left: 18px solid #00E0FF;
    }

    .realisations-grid-bottom {
        grid-template-columns: 1fr;
    }

    .realisations-card:last-child {
        grid-column: span 1;
    }
}






/* RESPONSIVE DESIGN */
@media (max-width: 992px) {
    .expertises-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .expertises-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .expertises-section {
        padding: 6rem 1.5rem;
    }

    .expertises-header {
        margin-bottom: 3rem;
    }

    .expertises-title {
        font-size: 1.8rem;
    }

    .expertises-subtitle {
        font-size: 1rem;
    }

    .expertises-card {
        padding: 2rem 1.5rem;
    }

    .expertises-icon-wrapper {
        width: 70px;
        height: 70px;
    }

    /* Ajuster la taille des nébuleuses pour mobile */
    .expertises-glow--1 {
        width: 300px;
        height: 300px;
    }

    .expertises-glow--2 {
        width: 250px;
        height: 250px;
    }
}





/* STYLES PROCESS - RECONSTRUCTION COMPLÈTE */
.process-section {
    position: relative;
    padding: 8rem 2rem;
    background-color: #0D1117;
    color: #E6E6E6;
    min-height: 100vh;
    overflow: hidden;
    z-index: 1;
}

/* Fond nébuleux animé */
.nebula-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

.nebula-background::before {
    content: "";
    position: absolute;
    top: -30%;
    left: -30%;
    width: 120%;
    height: 120%;
    background:
        radial-gradient(circle at 30% 20%, rgba(0, 224, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(0, 82, 212, 0.08) 0%, transparent 50%);
    filter: blur(150px);
    animation: nebula-float 30s infinite alternate ease-in-out;
    z-index: -1;
}

@keyframes nebula-float {
    0% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(3%, 2%);
    }

    100% {
        transform: translate(-3%, -2%);
    }
}

/* EN-TÊTE DE LA SECTION */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 6rem;
}

.badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    padding: 0.5rem 1.5rem;
    font-size: 0.9rem;
    margin-bottom: 2rem;
    color: #00E0FF;
    backdrop-filter: blur(5px);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.badge.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: 0.1s;
}

.section-header h2.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.section-header p {
    font-size: 1.1rem;
    color: #B8B8B8;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: 0.2s;
}

.section-header p.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* TIMELINE VERTICALE */
.process-timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto 5rem;
    display: grid;
    row-gap: 8rem;
}

/* Améliorations pour la timeline */
.timeline-line {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 0;
    background: linear-gradient(to bottom, #00E0FF, rgba(0, 82, 212, 0.6));
    transition: height 0.8s cubic-bezier(0.19, 1, 0.22, 1);
    /* Transition plus rapide */
    z-index: 0;
}

/* ÉTAPES DU PROCESSUS */
.process-step {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    column-gap: 2rem;
    opacity: 0;
    transform: translateY(30px) scale(0.8);
    transition: opacity 1s cubic-bezier(0.19, 1, 0.22, 1),
        transform 1s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    z-index: 2;
    /* Au-dessus de la timeline */
}

.process-step.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Contenu textuel */
.step-content {
    max-width: 400px;
}

[data-step="1"] .step-content,
[data-step="3"] .step-content {
    text-align: right;
    grid-column: 1;
}

[data-step="2"] .step-content {
    text-align: left;
    grid-column: 3;
}

.step-content h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: white;
}

.step-content p {
    font-size: 1rem;
    color: #B8B8B8;
    line-height: 1.6;
}

/* Espacement latéral */
.step-spacer {
    grid-column: 3;
}

[data-step="2"] .step-spacer {
    grid-column: 1;
}

/* S'assurer que les icônes sont bien au-dessus de la ligne */
.step-graphic {
    grid-column: 2;
    justify-self: center;
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 99;
    /* Garantir que les icônes passent au-dessus de la ligne */
}

.icon-container {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 82, 212, 0.2);
    border-radius: 50%;
    border: 1px solid rgba(0, 224, 255, 0.5);
    z-index: 3;
}

.icon-container::before,
.icon-container::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.icon-container::before {
    width: 150px;
    height: 150px;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(0, 224, 255, 0.3);
}

.icon-container::after {
    width: 190px;
    height: 190px;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(0, 224, 255, 0.1);
}

.icon-container svg {
    width: 40px;
    height: 40px;
    z-index: 4;
}

/* Animation de pulsation */
.icon-container.is-pulsing::before {
    opacity: 0.7;
    animation: pulse-middle 3s infinite ease-out;
}

.icon-container.is-pulsing::after {
    opacity: 0.4;
    animation: pulse-outer 3s infinite ease-out;
    animation-delay: 0.5s;
}

@keyframes pulse-middle {
    0% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.7;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 0.3;
    }

    100% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.7;
    }
}

@keyframes pulse-outer {
    0% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.4;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.1;
    }

    100% {
        transform: translate(-50%, -50%) scale(0.9);
        opacity: 0.4;
    }
}

/* BOUTON CTA */
.cta-container {
    text-align: center;
    margin-top: 4rem;
}

.cta-process-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(90deg, #00E0FF, #0052D4);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-weight: 500;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    overflow: hidden;
    text-decoration: none;
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.19, 1, 0.22, 1),
        opacity 0.5s ease;
}

.cta-process-button.is-visible {
    opacity: 1;
    width: auto;
    padding: 0.8rem 2rem;
    border-radius: 99px;
}

.button-text {
    margin-right: 0.5rem;
    opacity: 0;
    transition: opacity 0.4s ease 0.4s;
}

.cta-process-button svg {
    opacity: 0;
    transition: opacity 0.4s ease 0.4s;
}

.cta-process-button.is-visible .button-text,
.cta-process-button.is-visible svg {
    opacity: 1;
}

.cta-process-button:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
    box-shadow: 0 0 15px rgba(0, 224, 255, 0.5);
}

/* RESPONSIVE DESIGN */
@media (max-width: 900px) {
    .process-timeline {
        padding-left: 4rem;
    }

    .timeline-line {
        left: 30px;
        transform: none;
    }

    .process-step {
        grid-template-columns: auto 1fr;
        column-gap: 2rem;
    }

    .step-graphic {
        grid-column: 1;
        grid-row: 1;
        width: 80px;
        height: 80px;
    }

    .icon-container {
        width: 80px;
        height: 80px;
    }

    .icon-container::before {
        width: 110px;
        height: 110px;
    }

    .icon-container::after {
        width: 140px;
        height: 140px;
    }

    .step-content {
        grid-column: 2 !important;
        grid-row: 1;
        text-align: left !important;
    }

    .step-spacer {
        display: none;
    }

    .section-header {
        margin-bottom: 4rem;
    }
}

@media (max-width: 600px) {
    .process-section {
        padding: 6rem 1.5rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .step-content h3 {
        font-size: 1.5rem;
    }

    .step-content p {
        font-size: 0.9rem;
    }

    .process-timeline {
        padding-left: 2rem;
        row-gap: 5rem;
    }

    .step-graphic {
        width: 60px;
        height: 60px;
    }

    .icon-container {
        width: 60px;
        height: 60px;
    }

    .icon-container::before {
        width: 80px;
        height: 80px;
    }

    .icon-container::after {
        width: 100px;
        height: 100px;
    }

    .icon-container svg {
        width: 30px;
        height: 30px;
    }
}





/* Responsive Design - Updated as Required */
@media (max-width: 768px) {
    header {
        padding: 1rem;
    }

    .nav-links {
        display: none;
        /* Hide nav links */
    }

    .desktop-cta {
        display: none;
        /* Hide desktop CTA */
    }

    .nav-highlight {
        display: none;
    }

    .hamburger-menu {
        display: block;
    }

    /* Mobile Menu - Fixed Overlay with CTA */
    body.menu-open .nav-links {
        display: flex;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: #0D1117;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 50;
    }

    /* Show mobile CTA in mobile view */
    .nav-links .mobile-cta {
        display: block;
    }

    body.menu-open .nav-links li {
        margin: 1rem 0;
    }

    body.menu-open .nav-links li a {
        font-size: 1.2rem;
    }

    /* Hamburger to X Animation */
    body.menu-open .hamburger-menu span:first-child {
        transform: translateY(7px) rotate(45deg);
    }

    body.menu-open .hamburger-menu span:nth-child(2) {
        opacity: 0;
    }

    body.menu-open .hamburger-menu span:last-child {
        transform: translateY(-7px) rotate(-45deg);
    }

    h1 {
        font-size: 1.8rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.9rem;
    }
}

.new-testimonials-section {
    position: relative;
    padding: 120px 0;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    overflow: hidden;
}

.new-testimonials-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 224, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 4s ease-in-out infinite;
}

.new-testimonials-header {
    text-align: center;
    margin-bottom: 80px;
    position: relative;
    z-index: 2;
}

.new-testimonials-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 224, 255, 0.1);
    border: 1px solid rgba(0, 224, 255, 0.3);
    border-radius: 25px;
    color: #00E0FF;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.new-testimonials-header h2 {
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
}

.new-testimonials-header p {
    font-size: 1.2rem;
    color: #b0b0b0;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Container principal de la cascade */
.testimonial-cascade-wrapper {
    display: flex;
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Colonnes de témoignages */
.testimonial-column {
    flex: 1;
    height: 600px;
    overflow: hidden;
    position: relative;
}

.testimonial-column-inner {
    display: flex;
    flex-direction: column;
    gap: 30px;
    animation-duration: 20s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

/* Animations de défilement */
.column-up .testimonial-column-inner {
    animation-name: scrollUp;
}

.column-down .testimonial-column-inner {
    animation-name: scrollDown;
}

@keyframes scrollUp {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(-50%);
    }
}

@keyframes scrollDown {
    0% {
        transform: translateY(-50%);
    }

    100% {
        transform: translateY(0);
    }
}

/* Cartes de témoignages */
.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 224, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.testimonial-card:hover::before {
    opacity: 1;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 224, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 224, 255, 0.1);
}

.card-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
    border: 2px solid rgba(0, 224, 255, 0.3);
}

.card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-content {
    position: relative;
    z-index: 2;
}

.rating-stars {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.rating-stars i {
    color: #FFD700;
    font-size: 16px;
}

.testimonial-card p {
    color: #e0e0e0;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 25px;
    font-style: italic;
}

.card-author h4 {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.card-author span {
    color: #00E0FF;
    font-size: 14px;
    font-weight: 500;
}

/* Bouton CTA */
.new-testimonials-cta-button {
    display: inline-block;
    margin: 60px auto 0;
    padding: 18px 40px;
    background: linear-gradient(135deg, #00E0FF 0%, #0099CC 100%);
    color: #ffffff;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 16px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: center;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.new-testimonials-cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 224, 255, 0.3);
}

.button-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.new-testimonials-cta-button:hover .button-glow {
    left: 100%;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .testimonial-cascade-wrapper {
        gap: 20px;
    }

    .desktop-only {
        display: none;
    }
}

@media (max-width: 768px) {
    .new-testimonials-section {
        padding: 80px 0;
    }

    .new-testimonials-header h2 {
        font-size: 2.5rem;
    }

    .testimonial-cascade-wrapper {
        flex-direction: column;
        gap: 20px;
    }

    .testimonial-column {
        height: auto;
    }

    .testimonial-column-inner {
        animation: none;
    }

    .testimonial-card {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .new-testimonials-header h2 {
        font-size: 2rem;
    }

    .new-testimonials-header p {
        font-size: 1rem;
    }

    .testimonial-card {
        padding: 20px;
    }

    .testimonial-card p {
        font-size: 15px;
    }
}