/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #059669;
    --primary-dark: #047857;
    --secondary-color: #374151;
    --accent-color: #dc2626;
    --text-dark: #0f172a;
    --text-light: #64748b;
    --bg-light: #f0fdf4;
    --bg-white: #ffffff;
    --border-color: #d1fae5;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    
    /* Variables innovantes */
    --glass-bg: rgba(255, 255, 255, 0.25);
    --glass-border: rgba(255, 255, 255, 0.18);
    --neon-glow: 0 0 20px rgba(5, 150, 105, 0.5);
    --floating-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    --morphing-gradient: linear-gradient(45deg, #059669, #10b981, #34d399, #6ee7b7);
    --text-gradient: linear-gradient(135deg, #059669, #10b981);
    --pulse-animation: pulse 2s infinite;
    --float-animation: float 6s ease-in-out infinite;
    --glow-animation: glow 3s ease-in-out infinite alternate;
}

/* Animations innovantes */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes glow {
    0% { box-shadow: 0 0 20px rgba(5, 150, 105, 0.3); }
    100% { box-shadow: 0 0 30px rgba(5, 150, 105, 0.6), 0 0 40px rgba(5, 150, 105, 0.3); }
}

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

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes rotate3d {
    0% { transform: rotateX(0deg) rotateY(0deg) rotateZ(0deg); }
    25% { transform: rotateX(15deg) rotateY(90deg) rotateZ(5deg); }
    50% { transform: rotateX(0deg) rotateY(180deg) rotateZ(0deg); }
    75% { transform: rotateX(-15deg) rotateY(270deg) rotateZ(-5deg); }
    100% { transform: rotateX(0deg) rotateY(360deg) rotateZ(0deg); }
}

@keyframes float3d {
    0%, 100% { transform: translateY(0px) translateZ(0px); }
    50% { transform: translateY(-30px) translateZ(20px); }
}

@keyframes particleFloat {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.7;
    }
    25% { 
        transform: translateY(-20px) translateX(10px) scale(1.2);
        opacity: 1;
    }
    50% { 
        transform: translateY(-40px) translateX(-10px) scale(0.8);
        opacity: 0.5;
    }
    75% { 
        transform: translateY(-20px) translateX(15px) scale(1.1);
        opacity: 0.9;
    }
}



@keyframes textGlow {
    0%, 100% { 
        text-shadow: 0 0 10px rgba(5, 150, 105, 0.3);
    }
    50% { 
        text-shadow: 0 0 20px rgba(5, 150, 105, 0.6),
                     0 0 30px rgba(5, 150, 105, 0.4);
    }
}

@keyframes logoReveal {
    0% { 
        clip-path: circle(0% at 50% 50%);
        opacity: 0;
        transform: scale(0.5);
    }
    50% { 
        clip-path: circle(50% at 50% 50%);
        opacity: 0.8;
        transform: scale(1.1);
    }
    100% { 
        clip-path: circle(100% at 50% 50%);
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes particleBurst {
    0% { 
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }
    50% { 
        transform: scale(1.5) rotate(180deg);
        opacity: 1;
    }
    100% { 
        transform: scale(0) rotate(360deg);
        opacity: 0;
    }
}

@keyframes rippleEffect {
    0% { 
        transform: scale(0);
        opacity: 1;
    }
    100% { 
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes glowRing {
    0%, 100% { 
        transform: rotate(0deg) scale(1);
        opacity: 0.8;
    }
    50% { 
        transform: rotate(180deg) scale(1.2);
        opacity: 1;
    }
}

@keyframes textSlideIn {
    0% { 
        transform: translateY(50px);
        opacity: 0;
    }
    100% { 
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes logoFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
    }
    50% { 
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes particleFloat {
    0% { 
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% { 
        opacity: 0.6;
    }
    90% { 
        opacity: 0.6;
    }
    100% { 
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

@keyframes waveMove {
    0% { 
        transform: translateX(-100%);
    }
    100% { 
        transform: translateX(100%);
    }
}

@keyframes badgeShine {
    0% { 
        left: -100%;
    }
    100% { 
        left: 100%;
    }
}

@keyframes titleSlideIn {
    0% { 
        transform: translateY(50px);
        opacity: 0;
    }
    100% { 
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes orbFloat {
    0%, 100% { 
        transform: translateY(0px);
    }
    50% { 
        transform: translateY(-20px);
    }
}

@keyframes orbRotate {
    0% { 
        transform: rotate(0deg);
    }
    100% { 
        transform: rotate(360deg);
    }
}

@keyframes orbParticleRotate {
    0% { 
        transform: rotate(0deg) translateX(100px) rotate(0deg);
    }
    100% { 
        transform: rotate(360deg) translateX(100px) rotate(-360deg);
    }
}

@keyframes expertiseParticleFloat {
    0%, 100% { 
        transform: translateY(0px) translateX(0px) scale(1);
        opacity: 0.3;
    }
    25% { 
        transform: translateY(-15px) translateX(10px) scale(1.1);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(-25px) translateX(-5px) scale(0.9);
        opacity: 0.8;
    }
    75% { 
        transform: translateY(-10px) translateX(8px) scale(1.05);
        opacity: 0.5;
    }
}

@keyframes numberGlow {
    0%, 100% { 
        filter: brightness(1);
        text-shadow: 0 0 10px rgba(15, 23, 42, 0.3);
    }
    50% { 
        filter: brightness(1.1);
        text-shadow: 0 0 20px rgba(15, 23, 42, 0.5), 0 0 30px rgba(15, 23, 42, 0.3);
    }
}

@keyframes bubbleFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
    }
    25% { 
        transform: translateY(-8px) rotate(1deg);
    }
    50% { 
        transform: translateY(-15px) rotate(0deg);
    }
    75% { 
        transform: translateY(-8px) rotate(-1deg);
    }
}

@keyframes cardFloat {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
    }
    50% { 
        transform: translateY(-15px) rotate(2deg);
    }
}

@keyframes scrollBounce {
    0%, 100% { 
        transform: translateY(0);
    }
    50% { 
        transform: translateY(10px);
    }
}

@keyframes fadeInRight {
    0% { 
        transform: translateX(50px);
        opacity: 0;
    }
    100% { 
        transform: translateX(0);
        opacity: 1;
    }
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #f0fdf4 100%);
    background-size: 400% 400%;
    animation: morphing 15s ease infinite;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    background: none;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
    background: none;
    border: none;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.1));
}

.logo-img:not([src]) {
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 8px 16px;
    border-radius: 10px;
    background: none;
    overflow: hidden;
}

/* Effet de fond au survol */
.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.08) 0%, rgba(16, 185, 129, 0.06) 50%, rgba(52, 211, 153, 0.05) 100%);
    transform: scale(0);
    transition: transform 0.3s ease;
    z-index: -1;
    border-radius: 10px;
}

.nav-link:hover::before {
    transform: scale(1);
}

/* Effet de brillance qui traverse */
.nav-link::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
    z-index: -1;
}

.nav-link:hover::after {
    width: 150px;
    height: 150px;
}

.nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-2px) scale(1.02);
    font-weight: 550;
    text-shadow: 0 0 5px rgba(5, 150, 105, 0.2);
}

/* Soulignement animé depuis le centre */
.nav-link > span {
    position: relative;
    z-index: 1;
}

.nav-link > span::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #10b981 0%, #34d399 50%, #10b981 100%);
    background-size: 200% 100%;
    border-radius: 2px;
    transition: width 0.3s ease;
    animation: shimmer 2s linear infinite;
}

.nav-link:hover > span::before {
    width: 100%;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: linear-gradient(
        135deg, 
        rgba(0, 0, 0, 0.8) 0%, 
        rgba(0, 0, 0, 0.7) 25%, 
        rgba(0, 0, 0, 0.6) 50%, 
        rgba(0, 0, 0, 0.7) 75%, 
        rgba(0, 0, 0, 0.8) 85%,
        rgba(0, 0, 0, 0.5) 100%
    ), url('services-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.hero-particles .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: particleFloat 8s infinite linear;
    opacity: 0.6;
}

.hero-particles .particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.hero-particles .particle:nth-child(2) { left: 20%; animation-delay: 1s; }
.hero-particles .particle:nth-child(3) { left: 30%; animation-delay: 2s; }
.hero-particles .particle:nth-child(4) { left: 40%; animation-delay: 3s; }
.hero-particles .particle:nth-child(5) { left: 60%; animation-delay: 4s; }
.hero-particles .particle:nth-child(6) { left: 70%; animation-delay: 5s; }
.hero-particles .particle:nth-child(7) { left: 80%; animation-delay: 6s; }
.hero-particles .particle:nth-child(8) { left: 90%; animation-delay: 7s; }

.hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100px;
    background: linear-gradient(90deg, transparent, rgba(5, 150, 105, 0.1), transparent);
    animation: waveMove 6s ease-in-out infinite;
}

.wave-1 { animation-delay: 0s; }
.wave-2 { animation-delay: 2s; opacity: 0.5; }
.wave-3 { animation-delay: 4s; opacity: 0.3; }

/* Mosaïque animée dans le Hero */
.hero-mosaic {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 8px;
    padding: 2rem;
    opacity: 0.25;
    z-index: 1;
}

.mosaic-item {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    animation: mosaicFloat 10s ease-in-out infinite;
    transition: all 0.5s ease;
    filter: grayscale(0.4) brightness(0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

/* Effet de brillance qui traverse les images */
.mosaic-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    animation: mosaicShine 8s infinite;
    opacity: 0;
}

.mosaic-item:nth-child(1) { animation-delay: 0s; }
.mosaic-item:nth-child(2) { animation-delay: 0.5s; }
.mosaic-item:nth-child(3) { animation-delay: 1s; }
.mosaic-item:nth-child(4) { animation-delay: 1.5s; }
.mosaic-item:nth-child(5) { animation-delay: 2s; }
.mosaic-item:nth-child(6) { animation-delay: 2.5s; }
.mosaic-item:nth-child(7) { animation-delay: 3s; }
.mosaic-item:nth-child(8) { animation-delay: 3.5s; }
.mosaic-item:nth-child(9) { animation-delay: 4s; }
.mosaic-item:nth-child(10) { animation-delay: 4.5s; }
.mosaic-item:nth-child(11) { animation-delay: 5s; }
.mosaic-item:nth-child(12) { animation-delay: 5.5s; }
.mosaic-item:nth-child(13) { animation-delay: 6s; }
.mosaic-item:nth-child(14) { animation-delay: 6.5s; }
.mosaic-item:nth-child(15) { animation-delay: 7s; }
.mosaic-item:nth-child(16) { animation-delay: 7.5s; }
.mosaic-item:nth-child(17) { animation-delay: 8s; }
.mosaic-item:nth-child(18) { animation-delay: 8.5s; }
.mosaic-item:nth-child(19) { animation-delay: 9s; }
.mosaic-item:nth-child(20) { animation-delay: 9.5s; }

/* Délais pour l'effet de brillance */
.mosaic-item:nth-child(1)::before { animation-delay: 0s; }
.mosaic-item:nth-child(2)::before { animation-delay: 0.4s; }
.mosaic-item:nth-child(3)::before { animation-delay: 0.8s; }
.mosaic-item:nth-child(4)::before { animation-delay: 1.2s; }
.mosaic-item:nth-child(5)::before { animation-delay: 1.6s; }
.mosaic-item:nth-child(6)::before { animation-delay: 2s; }
.mosaic-item:nth-child(7)::before { animation-delay: 2.4s; }
.mosaic-item:nth-child(8)::before { animation-delay: 2.8s; }
.mosaic-item:nth-child(9)::before { animation-delay: 3.2s; }
.mosaic-item:nth-child(10)::before { animation-delay: 3.6s; }
.mosaic-item:nth-child(11)::before { animation-delay: 4s; }
.mosaic-item:nth-child(12)::before { animation-delay: 4.4s; }
.mosaic-item:nth-child(13)::before { animation-delay: 4.8s; }
.mosaic-item:nth-child(14)::before { animation-delay: 5.2s; }
.mosaic-item:nth-child(15)::before { animation-delay: 5.6s; }
.mosaic-item:nth-child(16)::before { animation-delay: 6s; }
.mosaic-item:nth-child(17)::before { animation-delay: 6.4s; }
.mosaic-item:nth-child(18)::before { animation-delay: 6.8s; }
.mosaic-item:nth-child(19)::before { animation-delay: 7.2s; }
.mosaic-item:nth-child(20)::before { animation-delay: 7.6s; }

/* Animation principale - flottement et changement d'apparence */
@keyframes mosaicFloat {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1) rotate(0deg) translateY(0);
        filter: grayscale(0.4) brightness(0.8);
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    }
    25% {
        opacity: 0.8;
        transform: scale(1.03) rotate(1deg) translateY(-5px);
        filter: grayscale(0.2) brightness(0.95);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    }
    50% {
        opacity: 1;
        transform: scale(1.08) rotate(0deg) translateY(0);
        filter: grayscale(0) brightness(1.15);
        box-shadow: 0 12px 35px rgba(5, 150, 105, 0.3);
    }
    75% {
        opacity: 0.8;
        transform: scale(1.03) rotate(-1deg) translateY(-5px);
        filter: grayscale(0.2) brightness(0.95);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    }
}

/* Animation de brillance */
@keyframes mosaicShine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
        opacity: 0;
    }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 2;
    min-height: 80vh;
}

.hero-content {
    animation: fadeInUp 1s ease;
}

.hero-badge {
    display: inline-block;
    background: linear-gradient(135deg, rgba(5, 150, 105, 0.2), rgba(16, 185, 129, 0.1));
    border: 1px solid rgba(5, 150, 105, 0.4);
    border-radius: 50px;
    padding: 10px 24px;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.2);
}

.badge-text {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.9rem;
    position: relative;
    z-index: 2;
}

.badge-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(5, 150, 105, 0.3), transparent);
    animation: badgeShine 3s ease-in-out infinite;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    position: relative;
}

.title-line {
    display: block;
    color: white;
    animation: titleSlideIn 1s ease forwards;
    opacity: 0;
    transform: translateY(50px);
}

.title-line:nth-child(1) { animation-delay: 0.2s; }
.title-line:nth-child(2) { animation-delay: 0.4s; }
.title-line:nth-child(3) { animation-delay: 0.6s; }
.title-line:nth-child(4) { animation-delay: 0.8s; }

.title-line.highlight {
    background: var(--morphing-gradient);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleSlideIn 1s ease forwards, morphing 4s ease infinite;
    animation-delay: 0.4s;
}

.title-line.since {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 0.5rem;
    font-style: italic;
    animation-delay: 0.8s;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    line-height: 1.6;
    animation: fadeInUp 1s ease 0.8s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 1s both;
}

.hero-buttons .btn {
    min-width: 160px;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s ease 0.5s both;
}

.logo-container {
    position: relative;
    z-index: 3;
}

.logo-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: none;
}

.logo-link:hover {
    text-decoration: none;
    color: inherit;
}

.logo-orb {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.5) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: orbFloat 6s ease-in-out infinite;
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    cursor: pointer;
}

.logo-orb:hover {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    box-shadow: 0 20px 60px rgba(255, 255, 255, 0.4), 0 0 50px rgba(5, 150, 105, 0.3);
    border: 2px solid rgba(5, 150, 105, 0.4);
    transform: scale(1.05);
}

.logo-orb .logo-img {
    width: 160px;
    height: 160px;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.2) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
    transition: all 0.4s ease;
}

.logo-orb:hover .logo-img {
    filter: brightness(1.3) contrast(1.4) drop-shadow(0 8px 20px rgba(5, 150, 105, 0.4)) drop-shadow(0 0 30px rgba(5, 150, 105, 0.3));
}

.orb-ring {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 2px solid rgba(5, 150, 105, 0.3);
    border-radius: 50%;
    animation: orbRotate 10s linear infinite;
    transition: all 0.4s ease;
}

.logo-orb:hover .orb-ring {
    border: 3px solid rgba(5, 150, 105, 0.6);
    box-shadow: 0 0 30px rgba(5, 150, 105, 0.4);
}

.orb-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.orb-particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: orbParticleRotate 8s linear infinite;
    transition: all 0.4s ease;
}

.logo-orb:hover .orb-particle {
    width: 8px;
    height: 8px;
    background: #10b981;
    box-shadow: 0 0 15px rgba(5, 150, 105, 0.6);
}

.orb-particle:nth-child(1) { top: 20px; left: 50%; animation-delay: 0s; }
.orb-particle:nth-child(2) { top: 50%; right: 20px; animation-delay: 2s; }
.orb-particle:nth-child(3) { bottom: 20px; left: 50%; animation-delay: 4s; }
.orb-particle:nth-child(4) { top: 50%; left: 20px; animation-delay: 6s; }


.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.7);
    animation: scrollBounce 2s ease-in-out infinite;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-indicator:hover {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transform: translateY(-2px);
}

.scroll-line {
    width: 2px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 1px;
}

.scroll-text {
    font-size: 0.8rem;
    font-weight: 500;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    cursor: pointer;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    min-width: 200px;
    height: 56px;
}

.btn-text {
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #059669 0%, #10b981 50%, #34d399 100%);
    color: white;
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.3);
    border: 2px solid transparent;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #10b981 0%, #34d399 50%, #6ee7b7 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50px;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(5, 150, 105, 0.4);
}

.btn-primary .btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.btn-primary:hover .btn-shine {
    left: 100%;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50px;
}

.btn-secondary:hover::before {
    opacity: 1;
}

.btn-secondary:hover {
    transform: translateY(-4px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.btn-arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
    font-size: 1.2rem;
}

.btn-secondary:hover .btn-arrow {
    transform: translateX(4px);
}

/* Section Logo Révélation Innovante */
.hero-logo-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    animation: slideInUp 1s ease;
    position: relative;
}

.logo-reveal-container {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-mask {
    position: relative;
    z-index: 3;
}

.logo-reveal-img {
    width: 250px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 30px rgba(5, 150, 105, 0.4));
    mix-blend-mode: darken;
}

.logo-reveal-img:hover {
    filter: drop-shadow(0 0 40px rgba(5, 150, 105, 0.6));
}

.logo-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.particle {
    display: none;
}

.particle-1 {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.particle-2 {
    top: 20%;
    right: 20%;
    animation-delay: 0.5s;
}

.particle-3 {
    bottom: 20%;
    left: 20%;
    animation-delay: 1s;
}

.particle-4 {
    bottom: 20%;
    right: 20%;
    animation-delay: 1.5s;
}

.particle-5 {
    top: 50%;
    left: 10%;
    animation-delay: 2s;
}

.particle-6 {
    top: 50%;
    right: 10%;
    animation-delay: 2.5s;
}

.logo-ripples {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1;
}

.ripple {
    display: none;
}

.ripple-1 {
    animation-delay: 0s;
}

.ripple-2 {
    animation-delay: 0.7s;
}

.ripple-3 {
    animation-delay: 1.4s;
}

.logo-glow-ring {
    display: none;
}

.logo-text-reveal {
    text-align: center;
    margin-top: 2rem;
}


.logo-subtitle-reveal {
    font-size: 1.1rem;
    color: var(--text-light);
    font-weight: 400;
    font-style: italic;
    opacity: 0.8;
}

/* Sections communes */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.section-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0f172a;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.services .section-header h2 {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.section-header p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

.services .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

.projects .section-header h2 {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.projects .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

/* Services Section */
.services {
    padding: 6rem 0;
    background: linear-gradient(
        135deg, 
        rgba(0, 0, 0, 0.8) 0%, 
        rgba(0, 0, 0, 0.7) 25%, 
        rgba(0, 0, 0, 0.6) 50%, 
        rgba(0, 0, 0, 0.7) 75%, 
        rgba(0, 0, 0, 0.8) 85%,
        rgba(0, 0, 0, 0.5) 100%
    ), url('services-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding-top: 4rem;
    margin-top: 0;
}

.services .container {
    position: relative;
    z-index: 2;
}

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

.service-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #059669 0%, #34d399 50%, #059669 100%);
    background-size: 200% 200%;
    animation: morphing 3s ease infinite;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 0 30px rgba(4, 120, 87, 0.4);
    border-color: rgba(4, 120, 87, 0.6);
}

.service-card:hover::before {
    background: linear-gradient(90deg, #047857 0%, #059669 50%, #047857 100%);
}

.service-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-link:hover {
    text-decoration: none;
    color: inherit;
}

.service-link:hover .service-link-indicator {
    opacity: 1;
    transform: translateY(0);
}

.service-link-indicator {
    position: absolute;
    bottom: 1.5rem;
    right: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 50%, #f1f5f9 100%);
    color: #000000;
    padding: 0.75rem 1.25rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.service-link-indicator i {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
    color: #000000;
}

.service-link:hover .service-link-indicator i {
    transform: translateX(3px);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #059669 0%, #34d399 50%, #10b981 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    animation: float 6s ease-in-out infinite;
    box-shadow: 0 10px 30px rgba(5, 150, 105, 0.4);
    position: relative;
    transition: all 0.3s ease;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(135deg, #059669 0%, #34d399 50%, #10b981 100%);
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
    animation: pulse 2s ease infinite;
}

.service-icon i {
    font-size: 2rem;
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.service-link:hover .service-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, #047857 0%, #059669 50%, #065f46 100%);
    box-shadow: 0 15px 40px rgba(4, 120, 87, 0.6);
}

.service-link:hover .service-icon::before {
    background: linear-gradient(135deg, #047857 0%, #059669 50%, #065f46 100%);
    opacity: 0.5;
}

/* Icône SVG pour l'isolation phonique */
.service-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    margin: 0 auto;
}


.service-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.services .service-card h3 {
    color: white;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

.services .service-card p {
    color: rgba(255, 255, 255, 0.8);
}

/* Expertise Section */
.expertise {
    padding: 6rem 0;
    background: #303030;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

/* Éléments d'arrière-plan pour la section expertise */
.expertise-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.expertise-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.expertise-particles .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: particleFloat 8s infinite linear;
    opacity: 0.6;
}

.expertise-particles .particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.expertise-particles .particle:nth-child(2) { left: 20%; animation-delay: 1s; }
.expertise-particles .particle:nth-child(3) { left: 30%; animation-delay: 2s; }
.expertise-particles .particle:nth-child(4) { left: 40%; animation-delay: 3s; }
.expertise-particles .particle:nth-child(5) { left: 60%; animation-delay: 4s; }
.expertise-particles .particle:nth-child(6) { left: 70%; animation-delay: 5s; }
.expertise-particles .particle:nth-child(7) { left: 80%; animation-delay: 6s; }
.expertise-particles .particle:nth-child(8) { left: 90%; animation-delay: 7s; }

.expertise-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.expertise-waves .wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100px;
    background: linear-gradient(90deg, transparent, rgba(5, 150, 105, 0.1), transparent);
    animation: waveMove 6s ease-in-out infinite;
}

.expertise-waves .wave-1 { animation-delay: 0s; }
.expertise-waves .wave-2 { animation-delay: 2s; opacity: 0.5; }
.expertise-waves .wave-3 { animation-delay: 4s; opacity: 0.3; }

/* Mosaïque animée dans la section expertise */
.expertise-mosaic {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 8px;
    padding: 2rem;
    opacity: 0.25;
    z-index: 1;
}

.expertise-mosaic .mosaic-item {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 8px;
    animation: mosaicFloat 10s ease-in-out infinite;
    transition: all 0.5s ease;
    filter: grayscale(0.4) brightness(0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

/* Effet de brillance qui traverse les images de la mosaïque expertise */
.expertise-mosaic .mosaic-item::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    animation: mosaicShine 8s infinite;
    opacity: 0;
}

.expertise-mosaic .mosaic-item:nth-child(1) { animation-delay: 0s; }
.expertise-mosaic .mosaic-item:nth-child(2) { animation-delay: 0.5s; }
.expertise-mosaic .mosaic-item:nth-child(3) { animation-delay: 1s; }
.expertise-mosaic .mosaic-item:nth-child(4) { animation-delay: 1.5s; }
.expertise-mosaic .mosaic-item:nth-child(5) { animation-delay: 2s; }
.expertise-mosaic .mosaic-item:nth-child(6) { animation-delay: 2.5s; }
.expertise-mosaic .mosaic-item:nth-child(7) { animation-delay: 3s; }
.expertise-mosaic .mosaic-item:nth-child(8) { animation-delay: 3.5s; }
.expertise-mosaic .mosaic-item:nth-child(9) { animation-delay: 4s; }
.expertise-mosaic .mosaic-item:nth-child(10) { animation-delay: 4.5s; }
.expertise-mosaic .mosaic-item:nth-child(11) { animation-delay: 5s; }
.expertise-mosaic .mosaic-item:nth-child(12) { animation-delay: 5.5s; }
.expertise-mosaic .mosaic-item:nth-child(13) { animation-delay: 6s; }
.expertise-mosaic .mosaic-item:nth-child(14) { animation-delay: 6.5s; }
.expertise-mosaic .mosaic-item:nth-child(15) { animation-delay: 7s; }
.expertise-mosaic .mosaic-item:nth-child(16) { animation-delay: 7.5s; }
.expertise-mosaic .mosaic-item:nth-child(17) { animation-delay: 8s; }
.expertise-mosaic .mosaic-item:nth-child(18) { animation-delay: 8.5s; }
.expertise-mosaic .mosaic-item:nth-child(19) { animation-delay: 9s; }
.expertise-mosaic .mosaic-item:nth-child(20) { animation-delay: 9.5s; }

/* Délais pour l'effet de brillance de la mosaïque expertise */
.expertise-mosaic .mosaic-item:nth-child(1)::before { animation-delay: 0s; }
.expertise-mosaic .mosaic-item:nth-child(2)::before { animation-delay: 0.4s; }
.expertise-mosaic .mosaic-item:nth-child(3)::before { animation-delay: 0.8s; }
.expertise-mosaic .mosaic-item:nth-child(4)::before { animation-delay: 1.2s; }
.expertise-mosaic .mosaic-item:nth-child(5)::before { animation-delay: 1.6s; }
.expertise-mosaic .mosaic-item:nth-child(6)::before { animation-delay: 2s; }
.expertise-mosaic .mosaic-item:nth-child(7)::before { animation-delay: 2.4s; }
.expertise-mosaic .mosaic-item:nth-child(8)::before { animation-delay: 2.8s; }
.expertise-mosaic .mosaic-item:nth-child(9)::before { animation-delay: 3.2s; }
.expertise-mosaic .mosaic-item:nth-child(10)::before { animation-delay: 3.6s; }
.expertise-mosaic .mosaic-item:nth-child(11)::before { animation-delay: 4s; }
.expertise-mosaic .mosaic-item:nth-child(12)::before { animation-delay: 4.4s; }
.expertise-mosaic .mosaic-item:nth-child(13)::before { animation-delay: 4.8s; }
.expertise-mosaic .mosaic-item:nth-child(14)::before { animation-delay: 5.2s; }
.expertise-mosaic .mosaic-item:nth-child(15)::before { animation-delay: 5.6s; }
.expertise-mosaic .mosaic-item:nth-child(16)::before { animation-delay: 6s; }
.expertise-mosaic .mosaic-item:nth-child(17)::before { animation-delay: 6.4s; }
.expertise-mosaic .mosaic-item:nth-child(18)::before { animation-delay: 6.8s; }
.expertise-mosaic .mosaic-item:nth-child(19)::before { animation-delay: 7.2s; }
.expertise-mosaic .mosaic-item:nth-child(20)::before { animation-delay: 7.6s; }

/* Effet glassmorphism avec dégradé subtil */
/* Overlays supprimés pour afficher le fond sombre */

.expertise .container {
    position: relative;
    z-index: 3;
}

.expertise-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.expertise-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.expertise-text p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}


.expertise-stats-president {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.6s ease;
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.stat:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2), 0 0 30px rgba(52, 211, 153, 0.3);
    border-color: rgba(52, 211, 153, 0.5);
    background: rgba(255, 255, 255, 0.15);
    text-decoration: none;
    color: inherit;
}

.stat:hover .stat-number {
    color: #10b981;
    text-shadow: 0 0 15px rgba(16, 185, 129, 0.5);
}

.stat:hover .stat-label {
    color: white;
}

/* Changements de couleur supprimés au survol */

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: #34d399;
    margin-bottom: 0.5rem;
    transition: color 0.6s ease;
}

.stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    transition: color 0.6s ease;
}

.president-section {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    box-shadow: none;
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.6s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.president-section:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2), 0 0 30px rgba(52, 211, 153, 0.3);
    border-color: rgba(52, 211, 153, 0.5);
    background: rgba(255, 255, 255, 0.15);
    text-decoration: none;
    color: inherit;
}

.president-section:hover .president-info h3 {
    color: #10b981;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.president-section:hover .president-title {
    color: #34d399;
}

/* Changements de couleur supprimés au survol */

.president-photo {
    flex-shrink: 0;
}

.president-photo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.3);
    transition: all 0.3s ease;
}

.president-section:hover .president-photo img {
    transform: scale(1.05);
    box-shadow: 0 12px 35px rgba(5, 150, 105, 0.5);
}

.president-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    transition: color 0.6s ease;
}

.president-title {
    font-size: 1.1rem;
    color: #34d399;
    font-weight: 600;
    margin-bottom: 1rem;
    transition: color 0.6s ease;
}

.president-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
    transition: color 0.6s ease;
}

/* Projects Section */
.projects {
    padding: 6rem 0;
    background: linear-gradient(
        135deg, 
        rgba(0, 0, 0, 0.8) 0%, 
        rgba(0, 0, 0, 0.7) 25%, 
        rgba(0, 0, 0, 0.6) 50%, 
        rgba(0, 0, 0, 0.7) 75%, 
        rgba(0, 0, 0, 0.8) 85%,
        rgba(0, 0, 0, 0.5) 100%
    ), url('realisations-background.avif');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.sector-section {
    margin-bottom: 4rem;
}

.sector-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

.sector-title i {
    font-size: 1.5rem;
    color: var(--accent-color);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.project-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-decoration: none;
    color: inherit;
    display: block;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.projects .project-card {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.project-link {
    cursor: pointer;
    position: relative;
}

.project-link:hover {
    text-decoration: none;
    color: inherit;
}

.project-link:hover .project-link-indicator {
    opacity: 1;
    transform: translateY(0);
}

.project-link-indicator {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    box-shadow: var(--shadow);
}

.project-link-indicator i {
    font-size: 0.75rem;
}

.project-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.project-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.project-image i {
    font-size: 4rem;
    color: #6b7280;
    position: relative;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

/* Photos spécifiques par projet */
.mediatheque-roquevaire {
    background-image: url('photos-projets/mediatheque-roquevaire.jpeg'), var(--gradient);
}

.mediatheque-roquevaire i {
    display: none;
}

.mediatheque-sollies {
    background-image: url('photos-projets/mediatheque-sollies.jpg'), var(--gradient);
}

.mediatheque-sollies i {
    display: none;
}

.centre-social {
    background-image: url('photos-projets/centre-social.jpg'), var(--gradient);
}

.centre-social i {
    display: none;
}

.fondation-lee {
    background-image: url('photos-projets/fondation-lee.jpg'), var(--gradient);
}

.fondation-lee i {
    display: none;
}

.pem-mezzana {
    background-image: url('photos-projets/pem-mezzana.jpg'), var(--gradient);
}

.pem-mezzana i {
    display: none;
}

.fabrique-loubon {
    background-image: url('photos-projets/fabrique-loubon.jpg'), var(--gradient);
}

.fabrique-loubon i {
    display: none;
}

.mediatheque-sollies {
    background-image: url('photos-projets/mediatheque-sollies.jpg'), var(--gradient);
}

.mediatheque-sollies i {
    display: none;
}

.centre-social {
    background-image: url('photos-projets/centre-social.jpg'), var(--gradient);
}

.centre-social i {
    display: none;
}

/* Photos secteur Hospitalier */
.cardio-hopital {
    background-image: url('photos-projets/cardio-hopital.jpg'), var(--gradient);
}

.cardio-hopital i {
    display: none;
}

.centre-sante {
    background-image: url('photos-projets/centre-sante.jpg'), var(--gradient);
}

.centre-sante i {
    display: none;
}

.clinique-sainte {
    background-image: url('photos-projets/clinique-sainte.jpg'), var(--gradient);
}

.clinique-sainte i {
    display: none;
}

.neurotimone {
    background-image: url('photos-projets/neurotimone.jpg'), var(--gradient);
}

.neurotimone i {
    display: none;
}

.centre-simmar {
    background-image: url('photos-projets/centre-simmar.jpg'), var(--gradient);
}

.centre-simmar i {
    display: none;
}

.esms-entrevaux {
    background-image: url('photos-projets/esms-entrevaux.jpg'), var(--gradient);
}

.esms-entrevaux i {
    display: none;
}

.ime-colombier {
    background-image: url('photos-projets/ime-colombier.jpg'), var(--gradient);
}

.ime-colombier i {
    display: none;
}

.rss-palmiers {
    background-image: url('photos-projets/rss-palmiers.jpg'), var(--gradient);
}

.rss-palmiers i {
    display: none;
}

.ugecam-collobrieres {
    background-image: url('photos-projets/ugecam-collobrieres.jpg'), var(--gradient);
}

.ugecam-collobrieres i {
    display: none;
}

.hotel-hilton {
    background-image: url('photos-projets/hotel-hilton.jpg'), var(--gradient);
}

.hotel-hilton i {
    display: none;
}

.hotel-marriott {
    background-image: url('photos-projets/hotel-marriott.jpg'), var(--gradient);
}

.hotel-marriott i {
    display: none;
}

.hotel-roches {
    background-image: url('photos-projets/hotel-roches.jpg'), var(--gradient);
}

.hotel-roches i {
    display: none;
}

.campus-saint {
    background-image: url('photos-projets/campus-saint.jpg'), var(--gradient);
}

.campus-saint i {
    display: none;
}

.cfa-aix {
    background-image: url('photos-projets/cfa-aix.jpg'), var(--gradient);
}

.cfa-aix i {
    display: none;
}

.gs-capelette {
    background-image: url('photos-projets/gs-capelette.jpg'), var(--gradient);
}

.gs-capelette i {
    display: none;
}

.croix-rouge {
    background-image: url('photos-projets/croix-rouge.jpg'), var(--gradient);
}

.croix-rouge i {
    display: none;
}

.lycee-giono {
    background-image: url('photos-projets/lycee-giono.jpg'), var(--gradient);
}

.lycee-giono i {
    display: none;
}

.ecole-stlouis {
    background-image: url('photos-projets/ecole-stlouis.jpg'), var(--gradient);
}

.ecole-stlouis i {
    display: none;
}

.ecole-vayssiere {
    background-image: url('photos-projets/ecole-vayssiere.jpg'), var(--gradient);
}

.ecole-vayssiere i {
    display: none;
}

.college-baker {
    background-image: url('photos-projets/college-baker.jpg'), var(--gradient);
}

.college-baker i {
    display: none;
}

.cannes-frayere {
    background-image: url('photos-projets/cannes-frayere.jpg'), var(--gradient);
}

.cannes-frayere i {
    display: none;
}

/* Photos secteur Logements */
.adn-borely {
    background-image: url('photos-projets/adn-borely.jpg'), var(--gradient);
}

.adn-borely i {
    display: none;
}

/* Photos secteur Réhabilitation */
.val-plan {
    background-image: url('photos-projets/val-plan.jpg'), var(--gradient);
}

.val-plan i {
    display: none;
}

.font-vert {
    background-image: url('photos-projets/font-vert.jpg'), var(--gradient);
}

.font-vert i {
    display: none;
}

.airbel {
    background-image: url('photos-projets/airbel.jpg'), var(--gradient);
}

.airbel i {
    display: none;
}

.le-castel {
    background-image: url('photos-projets/le-castel.jpg'), var(--gradient);
}

.le-castel i {
    display: none;
}

.ilot-bon-pasteur-rehab {
    background-image: url('photos-projets/ilot-bon-pasteur-rehab.jpg'), var(--gradient);
}

.ilot-bon-pasteur-rehab i {
    display: none;
}

.convent-providence {
    background-image: url('photos-projets/convent-providence.jpg'), var(--gradient);
}

.convent-providence i {
    display: none;
}

/* Photos secteur Tertiaire */
.rtm {
    background-image: url('photos-projets/rtm.jpg'), var(--gradient);
}

.rtm i {
    display: none;
}

.tpr2 {
    background-image: url('photos-projets/tpr2.jpg'), var(--gradient);
}

.tpr2 i {
    display: none;
}

.tribunal-mazenod {
    background-image: url('photos-projets/tribunal-mazenod.jpg'), var(--gradient);
}

.tribunal-mazenod i {
    display: none;
}

.siege-urssaf {
    background-image: url('photos-projets/siege-urssaf.jpg'), var(--gradient);
}

.siege-urssaf i {
    display: none;
}

.siege-voyage-prive {
    background-image: url('photos-projets/siege-voyage-prive.jpg'), var(--gradient);
}

.siege-voyage-prive i {
    display: none;
}

.wtc-marseille {
    background-image: url('photos-projets/wtc-marseille.jpg'), var(--gradient);
}

.wtc-marseille i {
    display: none;
}

.bureaux-fdj {
    background-image: url('photos-projets/bureaux-fdj.jpg'), var(--gradient);
}

.bureaux-fdj i {
    display: none;
}

.bureaux-airbus-s01 {
    background-image: url('photos-projets/bureaux-airbus-s01.jpg'), var(--gradient);
}

.bureaux-airbus-s01 i {
    display: none;
}

.naos-campus {
    background-image: url('photos-projets/naos-campus.jpg'), var(--gradient);
}

.naos-campus i {
    display: none;
}

.adoma-cap {
    background-image: url('photos-projets/adoma-cap.jpg'), var(--gradient);
}

.bastide-rouge {
    background-image: url('photos-projets/bastide-rouge.jpg'), var(--gradient);
}

.bastide-rouge i {
    display: none;
}

.ilot-bon-pasteur {
    background-image: url('photos-projets/ilot-bon-pasteur.jpg'), var(--gradient);
}

.ilot-bon-pasteur i {
    display: none;
}

.pauliane {
    background-image: url('photos-projets/pauliane.jpg'), var(--gradient);
}

.pauliane i {
    display: none;
}

.san-salvator {
    background-image: url('photos-projets/san-salvator.jpg'), var(--gradient);
}

.san-salvator i {
    display: none;
}

.port-de-bouc {
    background-image: url('photos-projets/port-de-bouc.jpg'), var(--gradient);
}

.port-de-bouc i {
    display: none;
}

.ponant {
    background-image: url('photos-projets/ponant.jpg'), var(--gradient);
}

.ponant i {
    display: none;
}

.residence-seconde-nature {
    background-image: url('photos-projets/residence-seconde-nature.jpg'), var(--gradient);
}

.residence-seconde-nature i {
    display: none;
}

.la-minoterie {
    background-image: url('photos-projets/la-minoterie.jpg'), var(--gradient);
}

.la-minoterie i {
    display: none;
}

/* Photos secteur Réhabilitation */
.coco-velten {
    background-image: url('photos-projets/coco-velten.jpg'), var(--gradient);
}

.couvent-providence {
    background-image: url('photos-projets/couvent-providence.jpg'), var(--gradient);
}

.castel {
    background-image: url('photos-projets/castel.jpg'), var(--gradient);
}

.airbel {
    background-image: url('photos-projets/airbel.jpg'), var(--gradient);
}

.font-vert {
    background-image: url('photos-projets/font-vert.jpg'), var(--gradient);
}

.val-plan {
    background-image: url('photos-projets/val-plan.jpg'), var(--gradient);
}

/* Photos secteur Tertiaire */
.airbus-meca {
    background-image: url('photos-projets/airbus-meca.jpg'), var(--gradient);
}

.bureaux-fdj {
    background-image: url('photos-projets/bureaux-fdj.jpg'), var(--gradient);
}

.bureaux-naos {
    background-image: url('photos-projets/bureaux-naos.jpg'), var(--gradient);
}

.archives {
    background-image: url('photos-projets/archives.jpg'), var(--gradient);
}

.palais-justice {
    background-image: url('photos-projets/palais-justice.jpg'), var(--gradient);
}

.wtc {
    background-image: url('photos-projets/wtc.jpg'), var(--gradient);
}

.project-content {
    padding: 2rem;
}

.project-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.projects .project-content h3 {
    color: white;
}

.project-content p {
    color: var(--text-light);
    line-height: 1.6;
}

.projects .project-content p {
    color: rgba(255, 255, 255, 0.8);
}

.project-budget {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 1rem 0;
    padding: 0.75rem 1rem;
    background: rgba(5, 150, 105, 0.1);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.projects .project-budget {
    background: rgba(52, 211, 153, 0.2);
    border-left: 3px solid #34d399;
}

.budget-label {
    font-size: 0.9rem;
    color: var(--text-light);
    font-weight: 500;
}

.projects .budget-label {
    color: rgba(255, 255, 255, 0.7);
}

.budget-amount {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color);
}

.projects .budget-amount {
    color: #34d399;
}

/* Contact Section - Première définition supprimée car remplacée plus bas */

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23059669" stroke-width="0.5" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.8;
}

.contact::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.03) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.contact-main {
    display: flex;
    justify-content: center;
    margin-top: 4rem;
    position: relative;
    z-index: 2;
}

/* Section informations de contact */
.contact-info-section {
    width: 100%;
    max-width: 800px;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem;
    border: 1px solid rgba(5, 150, 105, 0.1);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.contact-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--morphing-gradient);
    background-size: 200% 200%;
    animation: morphing 3s ease infinite;
}

.contact-info-card:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.15);
}

.contact-info-card h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.contact-info-card h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

/* Grille des informations de contact */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.contact-info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 2.5rem 1.5rem;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    border: 1px solid rgba(5, 150, 105, 0.1);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    min-height: 200px;
}

.contact-info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-info-item:hover {
    background: rgba(255, 255, 255, 1);
    border-color: rgba(5, 150, 105, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.contact-info-item:hover::before {
    transform: scaleX(1);
}

/* Animations spécifiques par type de contact */
.contact-info-item:has(.fas.fa-map-marker-alt)::before {
    background: linear-gradient(90deg, #dc2626 0%, #ef4444 50%, #f87171 100%);
}

.contact-info-item:has(.fas.fa-map-marker-alt):hover {
    border-color: rgba(220, 38, 38, 0.3);
    box-shadow: 0 20px 40px rgba(220, 38, 38, 0.15);
}

.contact-info-item:has(.fas.fa-envelope)::before {
    background: linear-gradient(90deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
}

.contact-info-item:has(.fas.fa-envelope):hover {
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.15);
}

/* Animation de la ligne du titre selon le bloc survolé */
.contact-info-card:has(.contact-info-item:has(.fas.fa-map-marker-alt):hover) h3::after {
    background: linear-gradient(90deg, #dc2626 0%, #ef4444 50%, #f87171 100%);
}

.contact-info-card:has(.contact-info-item:has(.fas.fa-envelope):hover) h3::after {
    background: linear-gradient(90deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
}

.contact-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    flex-shrink: 0;
    box-shadow: 0 10px 25px rgba(5, 150, 105, 0.3);
    position: relative;
    transition: all 0.3s ease;
}

.contact-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient);
    border-radius: 18px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-info-item:hover .contact-icon {
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(5, 150, 105, 0.4);
}

.contact-info-item:hover .contact-icon::before {
    opacity: 0.3;
}

/* Effets de surbrillance spécifiques par type de contact */
.contact-info-item:has(.fas.fa-map-marker-alt):hover .contact-icon {
    box-shadow: 0 15px 35px rgba(220, 38, 38, 0.4);
}

.contact-info-item:has(.fas.fa-map-marker-alt):hover .contact-icon::before {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 50%, #f87171 100%);
    opacity: 0.3;
}

.contact-info-item:has(.fas.fa-envelope):hover .contact-icon {
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.4);
}

.contact-info-item:has(.fas.fa-envelope):hover .contact-icon::before {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
    opacity: 0.3;
}

/* Styles pour les liens de contact */
.contact-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    transition: all 0.3s ease;
}

.contact-link:hover {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

/* Styles spécifiques pour les icônes de contact */
.contact-info-item:has(.fas.fa-map-marker-alt) .contact-icon {
    background: linear-gradient(135deg, #dc2626 0%, #ef4444 50%, #f87171 100%);
    box-shadow: 0 10px 25px rgba(220, 38, 38, 0.3);
}

.contact-info-item:has(.fas.fa-map-marker-alt):hover .contact-icon {
    box-shadow: 0 15px 35px rgba(220, 38, 38, 0.4);
}

.contact-info-item:has(.fas.fa-envelope) .contact-icon {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 50%, #60a5fa 100%);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.contact-info-item:has(.fas.fa-envelope):hover .contact-icon {
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.4);
}

.contact-info-item:has(.fas.fa-phone) .contact-icon {
    background: var(--gradient);
    box-shadow: 0 10px 25px rgba(5, 150, 105, 0.3);
}

.contact-info-item:has(.fas.fa-phone):hover .contact-icon {
    box-shadow: 0 15px 35px rgba(5, 150, 105, 0.4);
}

.contact-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.contact-details h4 {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-dark);
}

.contact-details p {
    color: var(--text-light);
    line-height: 1.5;
    margin: 0;
    font-size: 1rem;
    max-width: 200px;
}

/* Responsive pour les informations de contact */
@media (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-info-item {
        padding: 1.5rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
}


/* Section formulaire */
.contact-form-section {
    display: flex;
    flex-direction: column;
}

.form-description {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1rem;
    line-height: 1.6;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
    background: var(--bg-white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-large:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(5, 150, 105, 0.3);
}

/* Footer — même gris que Expertise / Contact (#303030) */
.footer {
    background: #303030;
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-logo .logo-img {
    height: 50px;
    width: auto;
    margin-right: 15px;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(100%);
}

.footer-section h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #94a3b8;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.footer-section ul li i {
    margin-right: 8px;
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #94a3b8;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes ripple {
    0% {
        transform: scale(1);
        opacity: 0.3;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--shadow);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }
    
    .logo-reveal-container {
        width: 250px;
        height: 250px;
    }
    
    .logo-reveal-img {
        width: 180px;
    }
    
    .logo-glow-ring {
        width: 200px;
        height: 200px;
    }
    
    .ripple {
        width: 80px;
        height: 80px;
    }
    
    .particle {
        width: 10px;
        height: 10px;
    }
    
    
    .logo-subtitle-reveal {
        font-size: 1rem;
    }

    .expertise-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .expertise-stats {
        gap: 2rem;
    }

    .stat {
        width: 160px;
        height: 160px;
        padding: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    /* Masquer la mosaïque sur mobile pour une meilleure lisibilité */
    .hero-mosaic {
        display: none;
    }

    .contact-main {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-info-section {
        gap: 1.5rem;
    }
    
    .contact-info-card,
    .contact-form-card {
        padding: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    
    .contact-info-item {
        padding: 1rem;
    }
    
    .contact-icon {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: none;
        gap: 1.5rem;
    }
}

/* Tablettes en mode paysage */
@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1.5rem;
        max-width: 1200px;
    }
    
    .service-card {
        padding: 2rem 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
    
    .service-card p {
        font-size: 0.95rem;
    }

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

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-title {
        font-size: 2rem;
    }

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

    .btn {
        padding: 14px 28px;
        font-size: 0.9rem;
        min-width: 160px;
        height: 48px;
    }

    .service-card,
    .contact-form {
        padding: 1.5rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Secteurs avec boutons déroulants */
.sectors-container {
    max-width: 1200px;
    margin: 0 auto;
}

.sector-dropdown {
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.sector-dropdown:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.2);
}

.sector-button {
    width: 100%;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.projects .sector-button {
    color: white;
}

.sector-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.sector-button i:first-child {
    font-size: 1.5rem;
    margin-right: 1rem;
}

/* Couleurs spécifiques pour chaque secteur */
.sector-button:has(.fa-theater-masks) i:first-child {
    color: #34d399; /* Vert pour Culturel */
}

.sector-button:has(.fa-hospital) i:first-child {
    color: #34d399; /* Vert pour Hospitalier */
}

.sector-button:has(.fa-bed) i:first-child {
    color: #34d399; /* Vert pour Hôtelier */
}

.sector-button:has(.fa-graduation-cap) i:first-child {
    color: #34d399; /* Vert pour Scolaire */
}

.sector-button:has(.fa-home) i:first-child {
    color: #34d399; /* Vert pour Logements */
}

.sector-button:has(.fa-tools) i:first-child {
    color: #34d399; /* Vert pour Réhabilitation */
}

.sector-button:has(.fa-briefcase) i:first-child {
    color: #34d399; /* Vert pour Tertiaire */
}

.sector-button span {
    flex: 1;
    text-align: left;
}

.dropdown-arrow {
    color: var(--text-light);
    transition: transform 0.3s ease;
    font-size: 1rem;
}

.sector-button.active .dropdown-arrow {
    transform: rotate(180deg);
}

.sector-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.sector-content.active {
    max-height: 2000px;
}

.sector-content .projects-grid {
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading states */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Success/Error states */
.success {
    color: #10b981;
    font-weight: 500;
}

.error {
    color: #ef4444;
    font-weight: 500;
}

/* Styles pour les pages de services */
.service-hero {
    min-height: 60vh;
    display: flex;
    align-items: center;
    background: linear-gradient(
        135deg, 
        rgba(0, 0, 0, 0.8) 0%, 
        rgba(0, 0, 0, 0.7) 25%, 
        rgba(0, 0, 0, 0.6) 50%, 
        rgba(0, 0, 0, 0.7) 75%, 
        rgba(0, 0, 0, 0.8) 85%,
        rgba(0, 0, 0, 0.5) 100%
    ), url('services-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding-top: 80px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.service-hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.service-hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.service-hero-particles .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: particleFloat 8s infinite linear;
    opacity: 0.6;
}

.service-hero-particles .particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.service-hero-particles .particle:nth-child(2) { left: 20%; animation-delay: 1s; }
.service-hero-particles .particle:nth-child(3) { left: 30%; animation-delay: 2s; }
.service-hero-particles .particle:nth-child(4) { left: 40%; animation-delay: 3s; }
.service-hero-particles .particle:nth-child(5) { left: 60%; animation-delay: 4s; }
.service-hero-particles .particle:nth-child(6) { left: 70%; animation-delay: 5s; }
.service-hero-particles .particle:nth-child(7) { left: 80%; animation-delay: 6s; }
.service-hero-particles .particle:nth-child(8) { left: 90%; animation-delay: 7s; }

.service-hero-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.service-hero-waves .wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100px;
    background: linear-gradient(90deg, transparent, rgba(5, 150, 105, 0.1), transparent);
    animation: waveMove 6s ease-in-out infinite;
}

.service-hero-waves .wave-1 { animation-delay: 0s; }
.service-hero-waves .wave-2 { animation-delay: 2s; opacity: 0.5; }
.service-hero-waves .wave-3 { animation-delay: 4s; opacity: 0.3; }

.service-hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
    position: relative;
    z-index: 2;
}

.service-icon-large {
    width: 120px;
    height: 120px;
    background: var(--morphing-gradient);
    background-size: 200% 200%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    animation: morphing 4s ease infinite, float 6s ease-in-out infinite;
    box-shadow: 0 15px 40px rgba(5, 150, 105, 0.4);
}

.service-icon-large i {
    font-size: 3rem;
    color: white;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.service-hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: var(--morphing-gradient);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: morphing 4s ease infinite;
}

.service-subtitle {
    font-size: 1.3rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 3rem;
    line-height: 1.6;
}

.service-details {
    padding: 6rem 0;
    background: linear-gradient(
        135deg, 
        rgba(0, 0, 0, 0.8) 0%, 
        rgba(0, 0, 0, 0.7) 25%, 
        rgba(0, 0, 0, 0.6) 50%, 
        rgba(0, 0, 0, 0.7) 75%, 
        rgba(0, 0, 0, 0.8) 85%,
        rgba(0, 0, 0, 0.5) 100%
    ), url('services-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.service-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(255, 255, 255, 0.3) 0%, 
        rgba(255, 255, 255, 0.25) 25%, 
        rgba(255, 255, 255, 0.2) 50%, 
        rgba(255, 255, 255, 0.25) 75%, 
        rgba(255, 255, 255, 0.3) 100%
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: none;
    z-index: 1;
}

.service-details-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1.5;
}

.service-details-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 1.6;
}

.service-details-particles .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: particleFloat 8s infinite linear;
    opacity: 0.6;
}

.service-details-particles .particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.service-details-particles .particle:nth-child(2) { left: 20%; animation-delay: 1s; }
.service-details-particles .particle:nth-child(3) { left: 30%; animation-delay: 2s; }
.service-details-particles .particle:nth-child(4) { left: 40%; animation-delay: 3s; }
.service-details-particles .particle:nth-child(5) { left: 60%; animation-delay: 4s; }
.service-details-particles .particle:nth-child(6) { left: 70%; animation-delay: 5s; }
.service-details-particles .particle:nth-child(7) { left: 80%; animation-delay: 6s; }
.service-details-particles .particle:nth-child(8) { left: 90%; animation-delay: 7s; }

.service-details-waves {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    overflow: hidden;
}

.service-details-waves .wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100px;
    background: linear-gradient(90deg, transparent, rgba(5, 150, 105, 0.1), transparent);
    animation: waveMove 6s ease-in-out infinite;
}

.service-details-waves .wave-1 { animation-delay: 0s; }
.service-details-waves .wave-2 { animation-delay: 2s; opacity: 0.5; }
.service-details-waves .wave-3 { animation-delay: 4s; opacity: 0.3; }

.service-content {
    display: block;
    position: relative;
    z-index: 2;
    min-height: 100vh;
}

.service-main-content {
    width: 100%;
    max-width: calc(100% - 400px);
    margin-right: 400px;
}

.service-sidebar {
    position: fixed;
    top: 120px;
    right: 2rem;
    width: 350px;
    height: calc(100vh - 140px);
    overflow-y: auto;
    z-index: 100;
    padding-right: 1rem;
    padding-left: 1rem;
}

.service-sidebar::-webkit-scrollbar {
    width: 6px;
}

.service-sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.service-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.service-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.service-main-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: white;
}

.service-main-content h3 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 2.5rem 0 1.5rem 0;
    color: white;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

.service-main-content p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.study-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.study-type {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-left: 4px solid var(--primary-color);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.study-type::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #059669 0%, #34d399 50%, #059669 100%);
    background-size: 200% 200%;
    animation: morphing 3s ease infinite;
}

.study-type:hover {
    transform: translateY(-10px) scale(1.02);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 0 30px rgba(4, 120, 87, 0.4);
    border-color: rgba(4, 120, 87, 0.6);
}

.study-type:hover::before {
    background: linear-gradient(90deg, #047857 0%, #059669 50%, #047857 100%);
}

.study-type h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.study-type h4 i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.study-type p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}

.expertise-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
}

.expertise-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(5, 150, 105, 0.2);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
}

.expertise-list li i {
    color: var(--primary-color);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.methodology {
    margin: 2rem 0;
}

.method-step {
    display: flex;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
}

.method-step:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 0 30px rgba(4, 120, 87, 0.4);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.step-content h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.step-content p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}

.materials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.material-item {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.material-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.material-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.material-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.material-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.regulations-table {
    margin: 2rem 0;
}

.regulation-item {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
}

.regulation-item h4 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.regulation-item ul {
    list-style: none;
    padding: 0;
}

.regulation-item li {
    padding: 0.5rem 0;
    color: var(--text-light);
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.advantage-item {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.advantage-item i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.advantage-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.advantage-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.training-item {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.training-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.training-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.training-item h4 i {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.training-item p {
    color: var(--text-light);
    line-height: 1.6;
    margin: 0;
}


.contact-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid var(--primary-color);
    margin-bottom: 2rem;
    transition: all 0.4s ease;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 0 30px rgba(4, 120, 87, 0.4);
}

.contact-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-info {
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    color: rgba(255, 255, 255, 0.9);
}

.contact-item i {
    color: var(--primary-color);
    width: 20px;
}

.related-services {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-bottom: 2rem;
    transition: all 0.4s ease;
}

.related-services:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 0 30px rgba(4, 120, 87, 0.4);
}

.related-services h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.related-services ul {
    list-style: none;
    padding: 0;
}

.related-services li {
    margin-bottom: 0.5rem;
}

.related-services a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    transition: color 0.3s ease;
}

.related-services a:hover {
    color: var(--primary-color);
}

.expertise-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    text-align: center;
    transition: all 0.4s ease;
}

.expertise-card:hover {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 0 30px rgba(4, 120, 87, 0.4);
}

.expertise-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: white;
}

.expertise-card .expertise-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.expertise-card .expertise-stats .stat {
    padding: 1rem;
    background: rgba(5, 150, 105, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(5, 150, 105, 0.1);
}

.expertise-card .expertise-stats .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.expertise-card .expertise-stats .stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    font-size: 0.9rem;
}

/* Responsive pour les pages de services */
@media (max-width: 1024px) {
    .service-sidebar {
        width: 300px;
        right: 1rem;
        top: 100px;
        height: calc(100vh - 120px);
        padding-right: 0.5rem;
    }
    
    .service-main-content {
        max-width: calc(100% - 350px);
        margin-right: 350px;
    }
}

@media (max-width: 768px) {
    .service-hero h1 {
        font-size: 2.5rem;
    }
    
    .service-content {
        display: block;
    }
    
    .service-main-content {
        max-width: 100%;
        margin-right: 0;
        width: 100%;
    }
    
    .service-sidebar {
        position: static !important;
        top: auto;
        right: auto;
        width: 100% !important;
        height: auto !important;
        max-width: 100%;
        overflow-y: visible;
        padding: 0;
        margin-bottom: 2rem;
    }
    
    .study-types {
        grid-template-columns: 1fr;
    }
    
    .method-step {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .materials-grid,
    .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .training-grid {
        grid-template-columns: 1fr;
    }
    
    .expertise-stats {
        grid-template-columns: 1fr;
    }
    
    .stat {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

/* Responsive Hero Section */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .services {
        padding-top: 3rem;
    }
    
    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
    
    
    .logo-orb {
        width: 180px;
        height: 180px;
    }
    
    .logo-orb .logo-img {
        width: 130px;
        height: 130px;
    }
    
    
    .hero-particles .particle {
        display: none;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .logo-orb {
        width: 150px;
        height: 150px;
    }
    
    .logo-orb .logo-img {
        width: 110px;
        height: 110px;
    }
}

/* Section Certifications OPQIBI - Bande fine */
.certifications-band {
    background: linear-gradient(
        135deg, 
        rgba(0, 0, 0, 0.8) 0%, 
        rgba(0, 0, 0, 0.7) 25%, 
        rgba(0, 0, 0, 0.6) 50%, 
        rgba(0, 0, 0, 0.7) 75%, 
        rgba(0, 0, 0, 0.8) 85%,
        rgba(0, 0, 0, 0.5) 100%
    ), url('services-background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    padding: 1rem 0;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.certifications-band::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(255, 255, 255, 0.3) 0%, 
        rgba(255, 255, 255, 0.25) 25%, 
        rgba(255, 255, 255, 0.2) 50%, 
        rgba(255, 255, 255, 0.25) 75%, 
        rgba(255, 255, 255, 0.3) 100%
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: none;
    z-index: 1;
}

.certifications-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 2;
}

.cert-icon {
    font-size: 2.5rem;
    opacity: 0.9;
    animation: pulse 2s ease-in-out infinite;
}

.cert-text {
    flex: 1;
    min-width: 250px;
}

.cert-text h3 {
    margin: 0 0 0.3rem 0;
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
}

.cert-text p {
    margin: 0;
    opacity: 0.95;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
}

.cert-badges {
    display: flex;
    gap: 1rem;
}

.cert-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.cert-badge:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.cert-badge i {
    font-size: 1.1rem;
}

.cert-badge span {
    font-weight: 500;
    font-size: 0.9rem;
}

.certifications-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.8rem;
}

.cert-item {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.cert-number {
    font-weight: 700;
    color: white;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    font-size: 0.8rem;
}

.cert-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.cert-logo {
    display: flex;
    align-items: center;
}

.opqibi-logo {
    max-width: 180px;
    height: auto;
    filter: none;
    opacity: 1;
    transition: all 0.3s ease;
}

.opqibi-logo:hover {
    opacity: 1;
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

@media (max-width: 768px) {
    .certifications-band {
        padding: 0.8rem 0;
    }
    
    .certifications-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cert-icon {
        font-size: 2rem;
    }
    
    .cert-text {
        min-width: auto;
    }
    
    .cert-text h3 {
        font-size: 1.1rem;
    }
    
    .cert-text p {
        font-size: 0.8rem;
    }
    
    .certifications-list {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .cert-item {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }
    
    .cert-number {
        font-size: 0.7rem;
        padding: 0.1rem 0.4rem;
    }
    
    .cert-right {
        flex-direction: row;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .cert-badge {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
    
    .opqibi-logo {
        max-width: 130px;
    }
}

/* Section Clients */
.clients-section {
    padding: 2rem 0;
    background: 
        linear-gradient(
            135deg, 
            rgba(0, 0, 0, 0.8) 0%, 
            rgba(0, 0, 0, 0.7) 25%, 
            rgba(0, 0, 0, 0.6) 50%, 
            rgba(0, 0, 0, 0.7) 75%, 
            rgba(0, 0, 0, 0.8) 85%,
            rgba(0, 0, 0, 0.5) 100%
        ),
        url('realisations-background.avif');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow: hidden;
    position: relative;
}

.clients-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg, 
        rgba(255, 255, 255, 0.3) 0%, 
        rgba(255, 255, 255, 0.25) 25%, 
        rgba(255, 255, 255, 0.2) 50%, 
        rgba(255, 255, 255, 0.25) 75%, 
        rgba(255, 255, 255, 0.3) 100%
    );
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    pointer-events: none;
    z-index: 1;
}

.clients-header {
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.clients-header h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin: 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.clients-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
    z-index: 2;
}

.clients-track {
    display: flex;
    animation: scroll 40s linear infinite;
    gap: 3rem;
    align-items: center;
    width: fit-content;
}

.client-logo {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    width: 150px;
    background: white;
    border-radius: 12px;
    transition: all 0.3s ease;
    padding: 1rem;
}

.client-logo:hover {
    transform: translateY(-5px);
}

.client-logo img {
    max-width: 100%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0.3) opacity(0.8);
    transition: all 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0) opacity(1);
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive pour les clients */
@media (max-width: 768px) {
    .clients-section {
        padding: 1.5rem 0;
    }
    
    .clients-header {
        margin-bottom: 1.5rem;
    }
    
    .clients-header h3 {
        font-size: 1.4rem;
    }
    
    .clients-track {
        gap: 2rem;
        width: fit-content;
    }
    
    .client-logo {
        height: 60px;
        width: 120px;
        padding: 0.8rem;
    }
    
    .client-logo img {
        max-height: 40px;
    }
}

/* Section Certifications intégrée dans le Hero */
.hero-certifications-band {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 1.5rem 0;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

/* Certifications intégrées dans le Hero */
.hero-certifications {
    margin-top: 2rem;
    margin-bottom: 3rem;
    padding: 1rem 0;
    display: flex;
    justify-content: center;
}

.hero-certifications-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 50px;
    padding: 0.5rem 4rem;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

.hero-certifications-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-dark);
    text-shadow: none;
}

.hero-certifications-label {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.75rem;
    opacity: 0.8;
}

.hero-certification-item {
    display: inline;
    color: var(--text-dark);
    font-weight: 600;
}

.hero-cert-number {
    color: var(--primary-color);
    font-weight: 700;
}

.hero-certifications-logo {
    display: flex;
    align-items: center;
}

.hero-opqibi-logo {
    max-width: 120px;
    height: auto;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
    transition: all 0.3s ease;
}

.hero-opqibi-logo:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}

/* Responsive pour les certifications dans le hero */
@media (max-width: 768px) {
    .hero-certifications {
        margin-top: 1.5rem;
        margin-bottom: 2rem;
        padding: 0.75rem 0;
    }
    
    .hero-certifications-content {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.5rem 2rem;
        border-radius: 30px;
        width: auto;
        max-width: 90%;
    }
    
    .hero-certifications-text {
        flex-direction: column;
        gap: 0.3rem;
        text-align: center;
        font-size: 0.75rem;
    }
    
    .hero-opqibi-logo {
        max-width: 90px;
    }
}

/* Responsive pour la section expertise stats + président */
@media (max-width: 768px) {
    .expertise-stats-president {
        gap: 1.5rem;
    }
    
    .stat {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .president-section {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .president-photo img {
        width: 100px;
        height: 100px;
    }
    
    .president-info h3 {
        font-size: 1.5rem;
    }
    
    .president-title {
        font-size: 1rem;
    }
    
    .president-description {
        font-size: 0.9rem;
    }
}

/* Section Contact */
.contact {
    padding: 6rem 0;
    background: 
        linear-gradient(
            135deg, 
            rgba(0, 0, 0, 0.8) 0%, 
            rgba(0, 0, 0, 0.7) 25%, 
            rgba(0, 0, 0, 0.6) 50%, 
            rgba(0, 0, 0, 0.7) 75%, 
            rgba(0, 0, 0, 0.8) 85%,
            rgba(0, 0, 0, 0.5) 100%
        ),
        url('realisations-background.avif');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.contact .section-header h2 {
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.contact .section-header p {
    color: rgba(255, 255, 255, 0.9);
}

.contact-main {
    position: relative;
    z-index: 2;
}

.contact-info-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.contact-info-card h3 {
    color: white;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
}

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

.contact-info-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.contact-info-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
    text-decoration: none;
    color: inherit;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.3);
}

.contact-icon i {
    font-size: 1.5rem;
    color: white;
}

.contact-details h4 {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.5;
}

/* Responsive pour la section contact */
@media (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .contact-info-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
    }
    
    .contact-icon i {
        font-size: 1.2rem;
    }
}

/* Correctifs mobile globaux - structure des blocs */
@media (max-width: 768px) {
    html,
    body {
        overflow-x: hidden;
    }

    .container,
    .nav-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .hero {
        padding-top: 7rem;
    }

    .hero-buttons {
        width: 100%;
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .sector-button {
        padding: 1rem 1.1rem;
        font-size: 1rem;
    }

    .sector-content .projects-grid {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1rem;
    }

    .project-image {
        height: 170px;
    }

    .project-link-indicator {
        position: static;
        opacity: 1;
        transform: none;
        display: inline-flex;
        margin-top: 0.75rem;
    }

    .contact-info-card {
        padding: 1.25rem;
    }

    .contact-info-item {
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 1rem;
    }

    .contact-details {
        align-items: flex-start;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .section-header h2 {
        font-size: 1.7rem;
    }

    .sector-button {
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
    }

    .contact-info-item {
        flex-direction: column;
        text-align: center;
    }

    .contact-details {
        align-items: center;
    }
}
