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

html {
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    font-weight: 400;
    background: var(--white);
    width: 100%;
    margin: 0;
    padding: 0;
}

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

/* Variables CSS */
:root {
    --primary-red: #D32F2F;
    --dark-red: #B71C1C;
    --light-red: #FFEBEE;
    --white: #FFFFFF;
    --light-gray: #F8F9FA;
    --dark-gray: #2D3748;
    --text-gray: #4A5568;
}

/* Header */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo h2 {
    color: var(--primary-red);
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0;
}

.logo span {
    color: var(--text-gray);
    font-size: 0.8rem;
    margin-top: -5px;
}

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

.nav-menu a {
    color: var(--dark-gray);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--primary-red);
}

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

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

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

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-red);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: 
        radial-gradient(circle at 25% 25%, rgba(211, 47, 47, 0.25) 0%, rgba(211, 47, 47, 0.1) 25%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(211, 47, 47, 0.2) 0%, rgba(211, 47, 47, 0.08) 30%, transparent 60%),
        linear-gradient(45deg, rgba(211, 47, 47, 0.05) 0%, transparent 30%, rgba(211, 47, 47, 0.08) 70%, transparent 100%),
        linear-gradient(135deg, 
            #f5f5f5 0%, 
            #ffffff 50%, 
            #f8f9fa 100%
        );
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    animation: float 8s ease-in-out infinite;
}

.shape-1 {
    width: 500px;
    height: 500px;
    background: 
        radial-gradient(ellipse at center, 
            rgba(211, 47, 47, 0.3) 0%, 
            rgba(211, 47, 47, 0.15) 40%, 
            rgba(211, 47, 47, 0.05) 80%, 
            transparent 100%
        );
    top: -250px;
    right: -250px;
    animation: shape-pulse 4s ease-in-out infinite;
    border-radius: 50%;
    filter: blur(2px);
}

.shape-2 {
    width: 400px;
    height: 400px;
    background: 
        radial-gradient(ellipse at center, 
            rgba(211, 47, 47, 0.25) 0%, 
            rgba(211, 47, 47, 0.12) 45%, 
            rgba(211, 47, 47, 0.04) 85%, 
            transparent 100%
        );
    bottom: -200px;
    left: -200px;
    animation: shape-pulse 4s ease-in-out infinite 2s;
    border-radius: 50%;
    filter: blur(1.5px);
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: 
        radial-gradient(ellipse at center, 
            rgba(211, 47, 47, 0.2) 0%, 
            rgba(211, 47, 47, 0.1) 50%, 
            rgba(211, 47, 47, 0.03) 90%, 
            transparent 100%
        );
    top: 30%;
    left: 80%;
    animation: shape-pulse 4s ease-in-out infinite 1s;
    border-radius: 50%;
    filter: blur(1px);
}

.shape-4 {
    width: 200px;
    height: 200px;
    background: 
        radial-gradient(ellipse at center, 
            rgba(211, 47, 47, 0.18) 0%, 
            rgba(211, 47, 47, 0.08) 55%, 
            rgba(211, 47, 47, 0.02) 95%, 
            transparent 100%
        );
    top: 15%;
    left: 8%;
    animation: shape-pulse 4s ease-in-out infinite 3s;
    border-radius: 50%;
    filter: blur(0.8px);
}

.shape-5 {
    width: 150px;
    height: 150px;
    background: 
        radial-gradient(ellipse at center, 
            rgba(211, 47, 47, 0.15) 0%, 
            rgba(211, 47, 47, 0.06) 60%, 
            rgba(211, 47, 47, 0.01) 100%, 
            transparent 100%
        );
    bottom: 25%;
    right: 12%;
    animation: shape-pulse 4s ease-in-out infinite 0.5s;
    border-radius: 50%;
    filter: blur(0.5px);
}

@keyframes shape-pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
        filter: blur(2px);
    }
    25% { 
        transform: scale(1.1);
        opacity: 0.8;
        filter: blur(1.5px);
    }
    50% { 
        transform: scale(0.9);
        opacity: 1.2;
        filter: blur(1px);
    }
    75% { 
        transform: scale(1.15);
        opacity: 0.9;
        filter: blur(1.8px);
    }
}

.hero-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(211, 47, 47, 0.08) 2px, transparent 3px),
        radial-gradient(circle at 80% 20%, rgba(211, 47, 47, 0.06) 1.5px, transparent 2.5px),
        radial-gradient(circle at 40% 80%, rgba(211, 47, 47, 0.07) 2.5px, transparent 3.5px),
        radial-gradient(circle at 70% 60%, rgba(211, 47, 47, 0.05) 1px, transparent 2px),
        radial-gradient(circle at 30% 70%, rgba(211, 47, 47, 0.06) 1.8px, transparent 2.8px),
        radial-gradient(circle at 90% 90%, rgba(211, 47, 47, 0.04) 1.2px, transparent 2.2px);
    background-size: 200px 200px, 150px 150px, 180px 180px, 120px 120px, 160px 160px, 100px 100px;
    animation: particles-intense 8s ease-in-out infinite;
}

@keyframes particles-intense {
    0%, 100% { 
        transform: translateX(0) translateY(0) scale(1);
        opacity: 1;
    }
    25% { 
        transform: translateX(-15px) translateY(-8px) scale(1.1);
        opacity: 0.7;
    }
    50% { 
        transform: translateX(8px) translateY(-20px) scale(0.9);
        opacity: 1.3;
    }
    75% { 
        transform: translateX(-25px) translateY(5px) scale(1.05);
        opacity: 0.8;
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    color: var(--dark-gray);
    max-width: 900px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(220, 20, 60, 0.3);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    padding: 10px 24px;
    border-radius: 50px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary-red);
    animation: badge-pulse 3s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

@keyframes badge-pulse {
    0%, 100% { 
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.1),
            inset 0 1px 0 rgba(255, 255, 255, 0.8),
            0 0 20px rgba(220, 20, 60, 0.2);
        transform: scale(1);
    }
    50% { 
        box-shadow: 
            0 12px 40px rgba(0, 0, 0, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 1),
            0 0 30px rgba(220, 20, 60, 0.4);
        transform: scale(1.02);
    }
}

.hero-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: badge-shimmer 4s infinite;
}

@keyframes badge-shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.hero-content h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: -2px;
    line-height: 1.1;
}

.hero-title-main {
    display: block;
    background: 
        linear-gradient(135deg, var(--dark-gray) 0%, var(--primary-red) 50%, #8B0000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 100%;
    animation: title-gradient-shift 4s ease-in-out infinite;
    position: relative;
}

.hero-title-sub {
    display: block;
    font-size: 0.4em;
    font-weight: 300;
    color: rgba(45, 55, 72, 0.7);
    margin-top: -10px;
    letter-spacing: 4px;
}

@keyframes title-gradient-shift {
    0%, 100% { 
        background-position: 0% 50%;
        filter: brightness(1);
    }
    50% { 
        background-position: 100% 50%;
        filter: brightness(1.1);
    }
}

.hero-content h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    margin-bottom: 1.5rem;
    font-weight: 300;
    opacity: 0.9;
    letter-spacing: 1px;
    color: var(--dark-gray);
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.8;
    font-weight: 300;
    color: var(--text-gray);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    position: relative;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--dark-gray);
    line-height: 1;
    margin-bottom: 5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    animation: stat-pulse 2s ease-in-out infinite alternate;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(45, 55, 72, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

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

.hero-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 3rem;
}

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

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    color: rgba(45, 55, 72, 0.6);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    animation: scroll-bounce 2s ease-in-out infinite;
}

.scroll-line {
    width: 1px;
    height: 30px;
    background: linear-gradient(to bottom, transparent, var(--primary-red));
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: -100%;
    left: 0;
    width: 1px;
    height: 100%;
    background: var(--primary-red);
    animation: scroll-line-move 2s ease-in-out infinite;
}

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

@keyframes scroll-line-move {
    0% { top: -100%; }
    100% { top: 100%; }
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: var(--white);
    padding: 18px 35px;
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(220, 20, 60, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(220, 20, 60, 0.4);
}

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

.btn-primary i {
    transition: transform 0.3s ease;
}

.btn-primary:hover i {
    transform: translateX(5px);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(45, 55, 72, 0.1);
    backdrop-filter: blur(10px);
    color: var(--dark-gray);
    padding: 18px 35px;
    border: 2px solid rgba(45, 55, 72, 0.3);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.btn-secondary:hover {
    background: var(--dark-gray);
    color: var(--white);
    border-color: var(--dark-gray);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(45, 55, 72, 0.2);
}

/* Section générique */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 1rem;
    position: relative;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-red);
}

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

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--light-gray);
    position: relative;
    z-index: 10;
}

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

.service-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-red);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--light-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.service-icon i {
    font-size: 2rem;
    color: var(--primary-red);
}

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

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

/* Projects Section - Clean Elegant Design */
.projects {
    padding: 100px 0;
    background: var(--light-gray);
    position: relative;
}

.projects::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse 800px 600px at 10% 20%, rgba(211, 47, 47, 0.008) 0%, transparent 50%),
        radial-gradient(ellipse 600px 800px at 90% 80%, rgba(211, 47, 47, 0.006) 0%, transparent 50%),
        radial-gradient(ellipse 400px 300px at 50% 50%, rgba(211, 47, 47, 0.004) 0%, transparent 50%);
    pointer-events: none;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 400px);
    gap: 12px;
    margin-top: 60px;
    position: relative;
    z-index: 2;
    justify-content: center;
    justify-items: center;
    margin-left: auto;
    margin-right: auto;
}


.project-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.04);
    will-change: transform;
    width: 400px;
    min-height: 650px;
    height: auto;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}

.project-image {
    height: 260px;
    position: relative;
    overflow: hidden;
    background: #f8f9fa;
    flex-shrink: 0;
}

.image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .image-overlay {
    opacity: 1;
}

.project-image .image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.image-placeholder {
    position: relative;
}

.image-placeholder::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100px;
    height: 100px;
    background: 
        radial-gradient(circle at 30% 30%, rgba(211, 47, 47, 0.12) 0%, transparent 50%),
        linear-gradient(135deg, rgba(211, 47, 47, 0.08) 0%, rgba(183, 28, 28, 0.06) 100%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 4px 20px rgba(211, 47, 47, 0.1);
}

.project-card:hover .image-placeholder::before {
    width: 120px;
    height: 120px;
    background: 
        radial-gradient(circle at 30% 30%, rgba(211, 47, 47, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, rgba(211, 47, 47, 0.15) 0%, rgba(183, 28, 28, 0.12) 100%);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 8px 30px rgba(211, 47, 47, 0.2);
}

.image-placeholder i {
    font-size: 3.2rem;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 2px 4px rgba(211, 47, 47, 0.2));
}

.project-card:hover .image-placeholder i {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--dark-red) 0%, #8B0000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 4px 8px rgba(211, 47, 47, 0.3));
}

/* Real project images */
.project-real-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.project-card:hover .project-real-image {
    transform: scale(1.05);
}

.project-stats {
    position: absolute;
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 3;
}

.project-stats .stat-item {
    background: rgba(0, 0, 0, 0.5);
    padding: 4px 8px;
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-width: 60px;
}

.project-stats .stat-item:hover {
    background: rgba(220, 38, 38, 0.9);
    color: white;
    transform: scale(1.05);
    backdrop-filter: blur(12px);
}

.project-stats .stat-value {
    display: block;
    font-weight: 600;
    font-size: 0.75rem;
    color: white;
    line-height: 1;
}

.project-stats .stat-item:hover .stat-value {
    color: white;
}

.project-stats .stat-label {
    display: block;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.75);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-top: 1px;
    font-weight: 400;
}

.project-stats .stat-item:hover .stat-label {
    color: rgba(255, 255, 255, 0.95);
}

.project-hover-icon {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 3;
}

.project-card:hover .project-hover-icon {
    opacity: 1;
    transform: translateY(0);
}

/* Image Gallery System */
.project-gallery {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-images {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    transform: scale(1);
    transition: opacity 0.8s ease-in-out, transform 0.8s ease-in-out;
}

.gallery-image.active {
    opacity: 1;
    transform: scale(1.02);
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.8s ease-in-out;
}

.project-real-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.3s ease;
}

/* Styles spécifiques pour optimiser le positionnement de toutes les images */

/* Villa AzaiTù - Images de galerie */
.gallery-image img[src="images/Vue drone 2.jpg"],
.projects .gallery-image img[src="images/Vue drone 2.jpg"] {
    object-position: center 15% !important;
}

.gallery-image img[src="images/Piscine vue 2.jpg"] {
    object-position: center 30%;
}

.gallery-image img[src="images/Salon 6.jpg"] {
    object-position: center 45%;
}

.gallery-image img[src="images/Suite 2 F.jpg"] {
    object-position: center 35%;
}

.gallery-image img[src="images/Sport 3.jpg"] {
    object-position: center 50%;
}

/* Villa Mougins */
.project-real-image[src="images/07c6857e-c1fb-4283-8275-f7b445cb096d.JPG"] {
    object-position: center 60%;
}

/* Centre Commercial Mouans Sartoux */
.gallery-image img[src="images/commercial-mouans-sartoux.jpg"] {
    object-position: center 45%;
}

.gallery-image img[src="images/0ed7688f-2dda-4ebf-ab40-815509ffcb72 2.JPG"] {
    object-position: center 50%;
}

.gallery-image img[src="images/6f8acc5d-f94f-43ac-ab57-27f19c120465 2.JPG"] {
    object-position: center 40%;
}

/* Jardin Villa Cap d'Antibes */
.gallery-image img[src="images/8cef2c78-0ffd-4de1-a403-c332d28e8ee5 2.JPG"] {
    object-position: center 35%;
}

.gallery-image img[src="images/5a25be74-3153-484a-b64a-14142496d4e9 2.JPG"] {
    object-position: center 60%;
}

.gallery-image img[src="images/0ee74163-2dfe-4564-ba34-980b145088b6 2.JPG"] {
    object-position: center 45%;
}

.gallery-image img[src="images/ebe62ef5-a930-4bba-a5dc-4308fc98e5af 2.JPG"] {
    object-position: center 40%;
}

/* Suite Parentale */
.gallery-image img[src="images/Master 10.jpg"] {
    object-position: center 45%;
}

.gallery-image img[src="images/SDB Master 1.jpg"] {
    object-position: center 50%;
}

.gallery-image img[src="images/Produits.jpg"] {
    object-position: center 60%;
}

.gallery-image img[src="images/SDB MAster 2.jpg"] {
    object-position: center 35%;
}

/* Suite Maison d'Hôtes */
.gallery-image img[src="images/Suite 3 B.jpg"] {
    object-position: center 45%;
}

.gallery-image img[src="images/Suite 3 D.jpg"] {
    object-position: center 50%;
}

.gallery-image img[src="images/Suite 3 C.jpg"] {
    object-position: center 40%;
}

/* Chambre Annexe */
.gallery-image img[src="images/Annexe 1.jpg"] {
    object-position: center 45%;
}

.gallery-image img[src="images/Annexe 4.jpg"] {
    object-position: center 50%;
}

.gallery-image img[src="images/Annexe 3.jpg"] {
    object-position: center 40%;
}

.gallery-image img[src="images/SDB Annexe 1.jpg"] {
    object-position: center 55%;
}

/* Images project-real-image */
.project-real-image[src="images/SDB Master 1.jpg"] {
    object-position: center 50%;
}

/* Confirmation que les styles s'appliquent aussi sur la page d'accueil */
.projects .gallery-image img,
.projects .project-real-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.8s ease-in-out;
}

/* Optimisations responsive pour les images */
@media (max-width: 768px) {
    .gallery-image img,
    .project-real-image,
    .projects .gallery-image img,
    .projects .project-real-image {
        object-position: center center !important;
    }

    /* Exceptions pour certaines images qui restent mieux positionnées sur mobile */
    .gallery-image img[src="images/Vue drone 2.jpg"],
    .projects .gallery-image img[src="images/Vue drone 2.jpg"] {
        object-position: center 35% !important;
    }

    .gallery-image img[src="images/Piscine vue 2.jpg"],
    .projects .gallery-image img[src="images/Piscine vue 2.jpg"] {
        object-position: center 25% !important;
    }
}

.gallery-nav {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 4;
}

.gallery-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: all 0.4s ease-in-out;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.gallery-dot.active {
    background: white;
    transform: scale(1.3);
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4);
}

.gallery-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 12px;
    z-index: 4;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.project-card:hover .gallery-arrows {
    opacity: 1;
}

.gallery-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
}

.gallery-arrow:hover {
    background: rgba(220, 38, 38, 0.9);
    transform: scale(1.1);
}

.project-info {
    padding: 24px;
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.project-category {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-category.construction {
    background: rgba(76, 175, 80, 0.1);
    color: #2E7D32;
}

.project-category.renovation {
    background: rgba(255, 152, 0, 0.1);
    color: #E65100;
}

.project-category.amenagement {
    background: rgba(103, 58, 183, 0.1);
    color: #4527A0;
}

.project-year {
    color: var(--text-gray);
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.7;
}

.project-info h3 {
    color: var(--dark-gray);
    margin-bottom: 12px;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
    font-family: 'Playfair Display', serif;
}

.project-info p {
    color: var(--text-gray);
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.project-details {
    display: flex;
    gap: 20px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-gray);
    font-weight: 500;
}

.detail-item i {
    color: var(--primary-red);
    font-size: 0.8rem;
}

/* Project link styles */
.project-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border: 2px solid var(--primary-red);
    border-radius: 25px;
    background: linear-gradient(135deg, rgba(211, 47, 47, 0.1), rgba(183, 28, 28, 0.1));
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.project-link:hover {
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.3);
}

.project-link i {
    font-size: 1rem;
    transition: transform 0.3s ease;
}

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

/* About Section */
.about {
    padding: 100px 0;
    background: var(--light-gray);
}

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

.about-text h2 {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.about-features {
    list-style: none;
}

.about-features li {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--text-gray);
}

.about-features i {
    color: var(--primary-red);
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* About CTA button */
.about-cta {
    margin-top: 2rem;
}

/* About Page Styles */
.page-hero {
    padding: 0;
    background: linear-gradient(135deg, var(--primary-red) 0%, var(--dark-red) 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-hero::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="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    z-index: 1;
}

.page-hero::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
    z-index: 1;
}

.page-hero-geometric {
    position: absolute;
    top: 50%;
    left: 10%;
    transform: translateY(-50%);
    width: 120px;
    height: 120px;
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    transform-origin: center;
    animation: rotate 20s linear infinite;
    z-index: 1;
}

.page-hero-geometric::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
}

.page-hero-lines {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255,255,255,0.05) 25%,
        rgba(255,255,255,0.1) 50%,
        rgba(255,255,255,0.05) 75%,
        transparent 100%);
    clip-path: polygon(0 100%, 100% 100%, 100% 30%, 0 70%);
    z-index: 1;
}

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

@keyframes rotate {
    0% { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(360deg); }
}

.page-hero .container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
}

.page-hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 80px 20px;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.page-hero-content h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

.page-hero-content h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    border-radius: 2px;
}

.page-hero-content p {
    font-size: 1.4rem;
    opacity: 0.9;
    font-weight: 300;
    line-height: 1.7;
    margin-bottom: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .page-hero {
        min-height: 50vh;
    }

    .page-hero-content {
        padding: 60px 20px;
    }

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

    .page-hero-content p {
        font-size: 1.1rem;
    }

    .page-hero-geometric {
        left: 5%;
        width: 80px;
        height: 80px;
    }
}

.about-page {
    padding: 80px 0;
    background: var(--white);
}

.about-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.about-intro h2 {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
}

.about-intro p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.company-details {
    margin: 4rem 0;
}

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

.detail-card {
    text-align: center;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.detail-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.detail-card i {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 1rem;
}

.detail-card h3 {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.detail-card p {
    color: var(--text-gray);
    font-weight: 600;
}

.company-history {
    margin: 4rem 0;
}

.company-history h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 3rem;
    font-family: 'Playfair Display', serif;
}

.history-timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 50px;
    top: 80px;
    width: 2px;
    height: 60px;
    background: var(--primary-red);
    opacity: 0.3;
}

.timeline-year {
    background: var(--primary-red);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    height: fit-content;
    min-width: 80px;
    text-align: center;
    margin-right: 2rem;
}

.timeline-content {
    flex: 1;
}

.timeline-content h3 {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

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

.company-values {
    margin: 4rem 0;
    text-align: center;
}

.company-values h2 {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
}

.values-quote {
    max-width: 600px;
    margin: 0 auto;
}

.values-quote blockquote {
    font-size: 1.5rem;
    color: var(--primary-red);
    font-style: italic;
    margin-bottom: 1.5rem;
    font-family: 'Playfair Display', serif;
    position: relative;
}

.values-quote blockquote::before,
.values-quote blockquote::after {
    content: '"';
    font-size: 2rem;
    color: var(--primary-red);
    opacity: 0.5;
}

.values-quote p {
    color: var(--text-gray);
    line-height: 1.6;
}

.specialties {
    margin: 4rem 0;
}

.specialties h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 3rem;
    font-family: 'Playfair Display', serif;
}

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

.specialty-item {
    text-align: center;
    padding: 2rem;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.specialty-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

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

.specialty-item h3 {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.specialty-item p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.specialty-center {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.specialty-center .specialty-item {
    width: 280px;
    flex-shrink: 0;
}

.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-content .btn-primary {
    background: var(--white);
    color: var(--primary-red);
    font-size: 1.1rem;
    font-weight: 700;
}

.cta-content .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px) scale(1.05);
}

/* Navigation active state */
.nav-menu a.active {
    color: var(--primary-red);
}

/* Services Page Styles - Text Only */
.services-text-page {
    padding: 80px 0;
    background: var(--white);
}

.services-text-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.services-text-content h2 {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
    text-align: center;
}

.services-text-content h3 {
    font-size: 1.8rem;
    color: var(--primary-red);
    margin: 3rem 0 1.5rem 0;
    font-family: 'Playfair Display', serif;
    border-bottom: 2px solid rgba(211, 47, 47, 0.1);
    padding-bottom: 0.5rem;
}

.services-text-content h4 {
    font-size: 1.4rem;
    color: var(--dark-gray);
    margin: 2.5rem 0 1rem 0;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
}

.services-text-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.services-text-content > p:first-of-type {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-gray);
    font-weight: 500;
}

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

.main-service-card {
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-red);
}

.main-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.main-service-card .service-icon {
    text-align: center;
    margin-bottom: 2rem;
}

.main-service-card .service-icon i {
    font-size: 3rem;
    color: var(--primary-red);
}

.main-service-card h3 {
    color: var(--dark-gray);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    text-align: center;
}

.main-service-card > p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 2rem;
    text-align: center;
}

.service-details h4 {
    color: var(--primary-red);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.service-details ul {
    list-style: none;
    padding: 0;
}

.service-details ul li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    color: var(--text-gray);
}

.service-details ul li i {
    color: var(--primary-red);
    margin-right: 0.8rem;
    font-size: 0.9rem;
}

.specialized-services {
    margin: 6rem 0;
}

.specialized-services h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 3rem;
    font-family: 'Playfair Display', serif;
}

.specialties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.specialty-card {
    background: var(--light-gray);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
}

.specialty-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.specialty-icon i {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.specialty-card h3 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.specialty-card p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.specialty-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.specialty-features span {
    background: var(--white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--primary-red);
    border: 1px solid rgba(211, 47, 47, 0.2);
}

.service-process {
    background: var(--light-gray);
    padding: 4rem 0;
    margin: 4rem 0;
    border-radius: 20px;
}

.service-process h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 3rem;
    font-family: 'Playfair Display', serif;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
}

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

.process-step .step-number {
    width: 60px;
    height: 60px;
    background: var(--primary-red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 auto 1.5rem auto;
}

.process-step h3 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.process-step p {
    color: var(--text-gray);
    line-height: 1.6;
}

/* Projects Page Styles */
.projects-filter {
    padding: 40px 0;
    background: var(--light-gray);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: var(--white);
    color: var(--text-gray);
    border: 2px solid transparent;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-red);
    color: var(--white);
    transform: translateY(-2px);
}

.projects-gallery {
    padding: 80px 0;
    background: var(--light-gray);
}

.project-specs {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.project-specs h4 {
    color: var(--primary-red);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.project-specs ul {
    list-style: none;
    padding: 0;
}

.project-specs ul li {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    padding-left: 1rem;
    position: relative;
}

.project-specs ul li::before {
    content: "•";
    color: var(--primary-red);
    font-weight: bold;
    position: absolute;
    left: 0;
}

.project-stats-section {
    padding: 80px 0;
    background: var(--white);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
}

.stat-label {
    font-size: 1.2rem;
    color: var(--dark-gray);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.stat-description {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Process Page Styles - Text Only */
.process-text-page {
    padding: 80px 0;
    background: var(--white);
}

.process-text-content {
    max-width: 900px;
    margin: 0 auto;
    line-height: 1.8;
}

.process-text-content h2 {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
    text-align: center;
}

.process-text-content h3 {
    font-size: 1.8rem;
    color: var(--primary-red);
    margin: 3rem 0 1.5rem 0;
    font-family: 'Playfair Display', serif;
    border-bottom: 2px solid rgba(211, 47, 47, 0.1);
    padding-bottom: 0.5rem;
}

.process-text-content p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.process-text-content > p:first-of-type {
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-gray);
    font-weight: 500;
}

.process-timeline-detailed {
    max-width: 1000px;
    margin: 0 auto;
}

.timeline-step {
    display: flex;
    align-items: flex-start;
    margin-bottom: 4rem;
    position: relative;
}

.timeline-step:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 100%;
    transform: translateX(-50%);
    width: 2px;
    height: 60px;
    background: linear-gradient(to bottom, var(--primary-red), transparent);
}

.timeline-step .step-number {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0 3rem;
    flex-shrink: 0;
    box-shadow: 0 10px 30px rgba(211, 47, 47, 0.3);
}

.timeline-step .step-content {
    flex: 1;
    background: var(--white);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.timeline-step .step-icon {
    text-align: center;
    margin-bottom: 1.5rem;
}

.timeline-step .step-icon i {
    font-size: 2.5rem;
    color: var(--primary-red);
}

.timeline-step h3 {
    color: var(--dark-gray);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
    text-align: center;
}

.timeline-step .step-description {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.6;
}

.step-details h4 {
    color: var(--primary-red);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.step-details ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.8rem;
}

.step-details ul li {
    display: flex;
    align-items: center;
    color: var(--text-gray);
}

.step-details ul li i {
    color: var(--primary-red);
    margin-right: 0.8rem;
    font-size: 0.9rem;
}

.step-duration {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    color: var(--primary-red);
    font-weight: 600;
}

.step-duration i {
    margin-right: 0.5rem;
}

.quality-guarantees {
    padding: 80px 0;
    background: var(--light-gray);
}

.guarantees-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.guarantees-header h2 {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
}

.guarantees-header p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--text-gray);
}

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

.guarantee-card {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.guarantee-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.guarantee-icon i {
    font-size: 3rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.guarantee-card h3 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.guarantee-card p {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.guarantee-badge {
    background: var(--primary-red);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.process-benefits {
    padding: 80px 0;
    background: var(--white);
}

.benefits-header {
    text-align: center;
    margin-bottom: 4rem;
}

.benefits-header h2 {
    font-size: 2.5rem;
    color: var(--dark-gray);
    font-family: 'Playfair Display', serif;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
}

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

.benefit-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.benefit-item h3 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.benefit-item p {
    color: var(--text-gray);
    line-height: 1.6;
}

.communication-process {
    padding: 80px 0;
    background: var(--light-gray);
}

.communication-header {
    text-align: center;
    margin-bottom: 4rem;
}

.communication-header h2 {
    font-size: 2.5rem;
    color: var(--dark-gray);
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
}

.communication-header p {
    font-size: 1.1rem;
    color: var(--text-gray);
}

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

.communication-step {
    background: var(--white);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.comm-icon i {
    font-size: 2.5rem;
    color: var(--primary-red);
    margin-bottom: 1.5rem;
}

.communication-step h3 {
    color: var(--dark-gray);
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.communication-step p {
    color: var(--text-gray);
    line-height: 1.6;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.image-placeholder {
    width: 300px;
    height: 300px;
    background: var(--light-red);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.image-placeholder i {
    font-size: 4rem;
    color: var(--primary-red);
}

/* Contact Section */
.contact {
    padding: 100px 0;
    background: var(--light-gray);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    color: var(--white);
    font-size: 1.2rem;
}

.contact-details h3 {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.contact-details p {
    color: var(--text-gray);
    font-size: 1.1rem;
}

.contact-form {
    background: var(--white);
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #E2E8F0;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-red);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 50px 0 20px;
}

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

.footer-logo h3 {
    color: var(--primary-red);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-logo p {
    color: #A0AEC0;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1rem;
    color: var(--white);
}

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

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

.footer-links a {
    color: #A0AEC0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-red);
}

.footer-contact p {
    color: #A0AEC0;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    border-top: 1px solid #4A5568;
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #A0AEC0;
}

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

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

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

    .nav-menu li {
        margin: 1rem 0;
    }
    
    .hero-content h1 {
        font-size: 3rem;
        margin-bottom: 0.5rem !important;
    }

    .hero-content h2 {
        font-size: 1.5rem;
        margin-bottom: 1rem !important;
    }

    .hero-content p {
        margin-bottom: 1rem !important;
    }

    .hero-badge {
        margin-top: 2rem !important;
        margin-bottom: 1rem !important;
        z-index: 15 !important;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        margin-bottom: 2rem;
        margin-top: 0.5rem !important;
    }

    /* Accélérer l'animation du bouton sur mobile */
    .hero-buttons[data-aos] {
        animation-delay: 0.2s !important;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

/* Tablette et petit desktop */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: repeat(2, 358px);
        gap: 12px;
    }

    .project-card {
        width: 358px;
        min-height: 620px;
        height: auto;
    }

    .container {
        padding: 0 20px;
    }

    .hero-content h1 {
        font-size: 3.5rem;
    }

    .hero-content p {
        font-size: 1.2rem;
    }
}

/* Tablette */
@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        width: 100%;
        max-width: none;
    }

    .project-card {
        width: 100%;
        max-width: none;
        height: auto;
        min-height: 500px;
        margin-bottom: 2rem;
    }

    .project-gallery {
        height: 250px !important;
    }

    .project-image {
        height: 250px !important;
    }

    .hero {
        margin-top: 0;
        height: 120vh;
        padding-top: 110px;
        width: 100%;
        position: relative;
        z-index: 5;
        box-sizing: border-box;
    }

    .hero-scroll {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
    }

    .scroll-indicator {
        display: none !important;
    }

    /* Supprimer complètement tous les outlines sur mobile */
    *,
    *:focus,
    *:active,
    *:visited,
    *:hover,
    *:target {
        outline: none !important;
        outline-width: 0 !important;
        outline-style: none !important;
        outline-color: transparent !important;
    }

    button,
    a,
    input,
    textarea,
    select {
        outline: none !important;
        -webkit-tap-highlight-color: transparent !important;
        -webkit-touch-callout: none !important;
        -webkit-user-select: none !important;
    }

    /* Masquer complètement le système de divider sur mobile */
    .hero-divider,
    .divider-dots,
    .divider-gradient {
        display: none !important;
    }

    /* Masquer le bouton secondaire sur mobile qui cause l'effet demi-bouton */
    .hero-buttons .btn-secondary {
        display: none !important;
    }


    .hero-content h1 {
        font-size: 3rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .project-gallery {
        height: 250px;
    }

    .project-stats {
        flex-wrap: wrap;
    }

    .project-specs ul li {
        font-size: 0.9rem;
    }

    /* Améliorer les touches sur mobile */
    .gallery-arrow {
        width: 50px;
        height: 50px;
        font-size: 18px;
    }

    .gallery-dot {
        width: 12px;
        height: 12px;
        margin: 0 6px;
    }

    /* Navigation mobile améliorée */
    .nav-menu a {
        padding: 15px 20px;
        font-size: 1.1rem;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-menu a:last-child {
        border-bottom: none;
    }
}

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

    .hero {
        margin-top: 0;
        height: 100vh;
        padding-top: 70px;
        width: 100%;
        position: relative;
        z-index: 5;
        box-sizing: border-box;
    }

    .hero-content h1 {
        font-size: 2.5rem;
        line-height: 1.2;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .services,
    .about,
    .contact {
        padding: 80px 0;
        position: relative;
        z-index: 10;
    }

    .services {
        margin-top: 0;
    }

    .btn-primary,
    .btn-secondary {
        padding: 12px 25px;
        font-size: 0.9rem;
    }

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

    .project-gallery {
        height: 200px;
    }

    .project-info {
        padding: 20px;
    }

    .project-info h3 {
        font-size: 1.3rem;
    }

    .project-info p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .project-stats {
        flex-direction: column;
        gap: 8px;
    }

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

    .project-specs h4 {
        font-size: 1rem;
    }

    .project-specs ul li {
        font-size: 0.85rem;
    }
}

/* Mobile très petit */
@media (max-width: 360px) {
    .container {
        padding: 0 10px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .project-gallery {
        height: 180px;
    }

    .project-info {
        padding: 15px;
    }

    .project-info h3 {
        font-size: 1.2rem;
    }

    .btn-primary,
    .btn-secondary {
        padding: 10px 20px;
        font-size: 0.85rem;
    }
}

/* Footer developer credit styling */
.dev-credit {
    font-size: 0.85rem;
    color: #888 !important;
    margin-top: 8px;
    text-align: center;
    opacity: 0.9;
}

.dev-credit a {
    color: #555 !important;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.dev-credit a:hover {
    color: var(--primary) !important;
    text-decoration: underline;
}

/* Cross-browser compatibility fixes */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.project-gallery img {
    -webkit-object-fit: cover;
    -o-object-fit: cover;
    object-fit: cover;
}

.project-card {
    -webkit-transform: translateY(0);
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -o-transform: translateY(0);
    transform: translateY(0);
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}

.project-card:hover {
    -webkit-transform: translateY(-10px);
    -moz-transform: translateY(-10px);
    -ms-transform: translateY(-10px);
    -o-transform: translateY(-10px);
    transform: translateY(-10px);
}

.projects-grid {
    display: -webkit-grid;
    display: -ms-grid;
    display: grid;
    -webkit-grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    -ms-grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
}

.project-stats {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flexbox;
    display: flex;
}

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

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

.service-card,
.contact-item {
    animation: fadeInUp 0.6s ease forwards;
}

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

/* Company Statistics Styles */
.company-stats {
    display: flex;
    gap: 2rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    background: rgba(220, 20, 60, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(220, 20, 60, 0.2);
    padding: 1.5rem 1rem;
    border-radius: 15px;
    min-width: 120px;
    flex: 1;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(220, 20, 60, 0.2);
    background: rgba(220, 20, 60, 0.15);
}

.stat-item strong {
    display: block;
    font-size: 2rem;
    color: var(--primary-red);
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px rgba(220, 20, 60, 0.3);
}

.stat-item span {
    color: var(--text-gray);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

/* Enhanced service and project card styles */
.service-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.project-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

/* Enhanced Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

.section-header h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    background: linear-gradient(135deg, var(--dark-gray) 0%, var(--primary-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

/* Advanced Micro-interactions */
.service-card::before, .project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(220, 20, 60, 0.1), transparent);
    transition: left 0.8s ease;
}

.service-card:hover::before, .project-card:hover::before {
    left: 100%;
}

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

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

.service-card:hover .service-icon i {
    color: var(--primary-red);
    text-shadow: 0 0 15px rgba(220, 20, 60, 0.5);
}

/* Floating animations for better visual appeal */
@keyframes float-gentle {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.hero-badge {
    animation: float-gentle 3s ease-in-out infinite;
}

/* Improved button styles */
.btn-primary, .btn-secondary {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

/* EMCP Brand Colors - Consistent Theme */
body {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.services {
    background: var(--light-gray);
}

.about {
    background: var(--white);
}

.projects {
    background: var(--white);
}

.process {
    background: var(--light-gray);
}

/* Hero Elegant Divider */
.hero-divider {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.divider-dots {
    position: absolute;
    width: 100%;
    height: 1px;
    top: 50%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(211, 47, 47, 0.1) 20%,
        rgba(211, 47, 47, 0.3) 50%,
        rgba(211, 47, 47, 0.1) 80%,
        transparent 100%
    );
}

.divider-dots::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-red);
    border-radius: 50%;
    box-shadow:
        -30px 0 0 -1px rgba(220, 20, 60, 0.6),
        30px 0 0 -1px rgba(220, 20, 60, 0.6),
        -60px 0 0 -2px rgba(220, 20, 60, 0.4),
        60px 0 0 -2px rgba(220, 20, 60, 0.4),
        -90px 0 0 -3px rgba(220, 20, 60, 0.2),
        90px 0 0 -3px rgba(220, 20, 60, 0.2);
    animation: dots-pulse 3s ease-in-out infinite;
}

.divider-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30px;
    background: linear-gradient(
        180deg,
        rgba(248, 249, 250, 0) 0%,
        rgba(248, 249, 250, 0.5) 50%,
        rgba(248, 249, 250, 1) 100%
    );
}

@keyframes dots-pulse {
    0%, 100% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 0.7;
        transform: translateX(-50%) scale(1.1);
    }
}

/* Process Section Styles - Enhanced from additional-styles.css */
.process {
    padding: 100px 0;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin: 4rem 0;
    position: relative;
}

.process-step {
    text-align: center;
    position: relative;
    background: var(--white);
    padding: 3rem 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-red);
}

.process-step:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(220, 20, 60, 0.15);
}

.step-number {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(220, 20, 60, 0.3);
}

.step-icon {
    margin: 2rem 0 1.5rem 0;
}

.step-icon i {
    font-size: 3rem;
    color: var(--primary-red);
    transition: all 0.3s ease;
}

.process-step:hover .step-icon i {
    transform: scale(1.1);
    color: var(--dark-red);
}

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

.step-content p {
    color: var(--text-gray);
    line-height: 1.7;
    font-size: 1rem;
}

.process-cta {
    text-align: center;
    margin-top: 4rem;
    padding: 3rem;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border-radius: 20px;
    color: var(--white);
}

.process-cta h3 {
    color: var(--white);
    margin-bottom: 2rem;
    font-size: 2rem;
}

.process-cta .btn-primary {
    background: var(--white);
    color: var(--primary-red);
    font-size: 1.1rem;
    font-weight: 700;
}

.process-cta .btn-primary:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateY(-3px) scale(1.05);
}

/* Timeline connector for larger screens */
/* Très grands écrans (4K, ultrawide) */
@media (min-width: 1920px) {
    .container {
        max-width: 1600px;
        margin: 0 auto;
    }

    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
        gap: 40px;
    }

    .hero-content h1 {
        font-size: 5rem;
    }

    .hero-content p {
        font-size: 1.4rem;
    }

    .project-gallery {
        height: 350px;
    }
}

/* Grands écrans desktop */
@media (min-width: 1200px) {
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
        gap: 32px;
    }
}

@media (min-width: 992px) {
    .process-timeline {
        grid-template-columns: repeat(4, 1fr);
        position: relative;
    }

    .process-timeline::before {
        content: '';
        position: absolute;
        top: 50%;
        left: 12.5%;
        right: 12.5%;
        height: 2px;
        background: linear-gradient(to right, var(--primary-red), var(--dark-red));
        z-index: 1;
    }

    .process-step {
        position: relative;
        z-index: 2;
    }
}

/* Améliorations pour les boutons de filtre */
.filter-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Nouvelle composition visuelle pour la section À propos */
.about-visual {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-background {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.visual-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.circle-1 {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--dark-red), var(--primary-red));
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

.circle-3 {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    top: 10%;
    right: 30%;
    animation-delay: 4s;
}

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

.visual-content {
    position: relative;
    z-index: 2;
}

.expertise-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 300px;
}

.expertise-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 25px 20px;
    text-align: center;
    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.08),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(211, 47, 47, 0.08);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateY(20px);
    opacity: 0;
    animation: slideUpFade 0.6s ease forwards;
}

.expertise-item[data-delay="0"] {
    animation-delay: 0.2s;
}

.expertise-item[data-delay="200"] {
    animation-delay: 0.4s;
}

.expertise-item[data-delay="400"] {
    animation-delay: 0.6s;
}

.expertise-item[data-delay="600"] {
    animation-delay: 0.8s;
}

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

.expertise-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 0 0 1px rgba(255, 255, 255, 0.3);
}

.expertise-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-red), var(--dark-red));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    transition: all 0.3s ease;
}

.expertise-item:hover .expertise-icon {
    transform: rotate(10deg) scale(1.1);
    box-shadow: 0 8px 25px rgba(211, 47, 47, 0.3);
}

.expertise-icon i {
    color: white;
    font-size: 1.3rem;
}

.expertise-item span {
    display: block;
    color: var(--text-gray);
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

