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

:root {
    --primary-color: #2563eb;
    --primary-dark: #1e40af;
    --secondary-color: #10b981;
    --accent-color: #f59e0b;
    --dark-color: #1f2937;
    --light-color: #f9fafb;
    --white: #fff;
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    --gradient-secondary: linear-gradient(135deg, #10b981 0%, #14b8a6 100%);
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
}

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

/* Header styles */
.header {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 28px;
    font-weight: 900;
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.logo img {
    height: 70px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 8px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--gradient-primary);
    transition: transform 0.3s ease;
}

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

.nav-links a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Header Phone */
.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--gradient-primary);
    border-radius: 50px;
    color: var(--white);
    font-weight: 600;
    transition: all 0.3s ease;
}

.header-phone i {
    font-size: 18px;
}

.header-phone a {
    color: var(--white);
    text-decoration: none;
    font-size: 16px;
}

.header-phone:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(37,99,235,0.3);
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.2)), url('../images/accueil.jpg');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    padding-top: 80px;
    overflow: hidden;
}

.hero .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(0,0,0,0.2), rgba(0,0,0,0.1));
    z-index: 1;
}

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

.hero h1 {
    font-size: 54px;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 24px;
    margin-bottom: 40px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-button {
    display: inline-block;
    padding: 18px 35px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.cta-button.primary {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 8px 25px rgba(37,99,235,0.3);
    position: relative;
    overflow: hidden;
}

.cta-button.primary::before {
    content: '';
    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.5s;
}

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

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 2px solid var(--white);
    backdrop-filter: blur(10px);
}

.cta-button.primary:hover {
    background: var(--gradient-secondary);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(37,99,235,0.4);
    animation: none;
}

.cta-button.secondary:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255,255,255,0.3);
}

.cta-button.call-button {
    background: var(--gradient-secondary);
    color: var(--white);
    border: 2px solid var(--secondary-color);
    box-shadow: 0 8px 25px rgba(16,185,129,0.3);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.cta-button.call-button i {
    font-size: 18px;
    animation: pulse 2s ease-in-out infinite;
}

.cta-button.call-button:hover {
    background: var(--secondary-color);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 35px rgba(16,185,129,0.4);
}

/* About Section */
.about {
    padding: 120px 0;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    position: relative;
}

.about-header {
    text-align: center;
    margin-bottom: 60px;
}

.about-header h2 {
    font-size: 42px;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.about-subtitle {
    font-size: 20px;
    color: #666;
    font-weight: 400;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.about-intro {
    margin-bottom: 35px;
    padding: 30px;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    border-radius: 15px;
    border-left: 4px solid var(--primary-color);
}

.about-intro h3 {
    font-size: 26px;
    color: var(--dark-color);
    margin-bottom: 15px;
    font-weight: 700;
}

.about-intro p {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    margin: 0;
}

.about-features {
    display: grid;
    gap: 20px;
    margin-bottom: 35px;
}

.about-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
}

.about-feature-item:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(37,99,235,0.15);
}

.feature-icon-small {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(37,99,235,0.2);
}

.feature-icon-small i {
    color: white;
    font-size: 22px;
}

.feature-text h4 {
    font-size: 18px;
    color: var(--dark-color);
    margin: 0 0 5px 0;
    font-weight: 700;
}

.feature-text p {
    font-size: 15px;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

.about-cta {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.about-image-wrapper {
    position: relative;
    height: auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.image-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(10px);
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    animation: fadeUp 1s ease-out 0.5s backwards;
}

.image-badge i {
    color: var(--secondary-color);
    font-size: 20px;
}

.image-badge span {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 14px;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.social-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 25px;
    background: #f5f5f5;
    color: var(--dark-color);
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.2s ease;
}

.social-button i {
    margin-right: 10px;
    font-size: 20px;
}

.social-button:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateX(5px);
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.grid-item {
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: scale(1.05);
}

/* Responsive Design for Hero and About */
@media screen and (max-width: 768px) {
    .hero h1 {
        font-size: 40px;
    }

    .hero p {
        font-size: 20px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 20px;
    }

    .hero-buttons .cta-button {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .about-header h2 {
        font-size: 32px;
    }

    .about-subtitle {
        font-size: 18px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-intro {
        padding: 25px;
    }

    .about-intro h3 {
        font-size: 22px;
    }

    .about-intro p {
        font-size: 16px;
    }

    .about-feature-item {
        padding: 15px;
    }

    .feature-icon-small {
        width: 45px;
        height: 45px;
    }

    .feature-icon-small i {
        font-size: 20px;
    }

    .about-cta {
        flex-direction: column;
    }

    .about-cta .cta-button {
        width: 100%;
        text-align: center;
    }

    .social-links {
        align-items: stretch;
    }

    .image-badge {
        bottom: 15px;
        left: 15px;
        padding: 12px 20px;
    }

    .image-badge span {
        font-size: 13px;
    }

    .expertise-image {
        max-height: none;
        height: auto;
    }
}

@media screen and (max-width: 480px) {
    .hero h1 {
        font-size: 32px;
    }

    .hero p {
        font-size: 18px;
    }

    .cta-button {
        padding: 15px 30px;
        font-size: 16px;
    }
}

/* Services Section */
.services {
    padding: 100px 0;
    background: var(--light-color);
}

.services h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
}

.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.services-grid .service-card {
    flex: 0 1 calc(33.333% - 20px);
    min-width: 280px;
    max-width: 350px;
}

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    text-align: center;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.about-image {
    position: relative;
    height: 100%;
}

.expertise-image {
    width: 100%;
    height: auto;
    max-height: 550px;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.3s ease;
}

.about-image-wrapper:hover .expertise-image {
    transform: scale(1.05);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(37,99,235,0.15);
    border-color: var(--primary-color);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card i {
    font-size: 48px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
    transition: all 0.2s ease;
}

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

.service-card h3 {
    margin-bottom: 15px;
}

.service-card ul {
    list-style: none;
    text-align: left;
}

.service-card ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.service-card ul li:before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: 0;
}

/* Réalisations Section */
.realisations {
    padding: 100px 0;
    background-color: #f9f9f9;
}

.realisations h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

.realisations h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.realisations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.realisation-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.2s cubic-bezier(0.25, 0.8, 0.25, 1);
    aspect-ratio: 16/9;
    margin-bottom: 20px;
}

.realisation-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.realisation-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.realisation-item:hover img {
    transform: scale(1.05);
}

.realisation-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    padding: 40px 25px 25px;
    transform: translateY(100%);
    transition: all 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: left;
}

.realisation-item:hover .realisation-overlay {
    transform: translateY(0);
}

.realisation-overlay h3 {
    margin: 0 0 5px;
    font-size: 1.2rem;
}

.realisation-overlay p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Pourquoi Nous Choisir Section */
.why-us {
    padding: 100px 0;
    background-color: #fff;
}

.why-us h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 36px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

.why-us h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature {
    text-align: center;
    padding: 40px 25px;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 25px;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
    transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 20px rgba(37,99,235,0.2);
}

.feature:hover .feature-icon {
    background: var(--gradient-secondary);
    transform: translateY(-5px) rotate(5deg) scale(1.05);
    box-shadow: 0 10px 30px rgba(16,185,129,0.3);
}

.feature h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--dark-color);
}

.feature p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Témoignages Section */
.testimonials {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(37,99,235,0.05) 0%, transparent 70%);
    border-radius: 50%;
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 15px;
    font-size: 36px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 15px;
}

.testimonials h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--gradient-primary);
}

.testimonials-subtitle {
    text-align: center;
    color: #666;
    font-size: 18px;
    margin-bottom: 30px;
    font-weight: 500;
}

.testimonials-rating-badge {
    display: flex;
    justify-content: center;
    margin-bottom: 50px;
}

.rating-badge-content {
    background: var(--primary-color);
    padding: 25px 40px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 10px 30px rgba(37,99,235,0.3);
    animation: fadeUp 1s ease-out;
}

.rating-stars-large {
    display: flex;
    gap: 5px;
}

.rating-stars-large i {
    color: #fbbf24;
    font-size: 24px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.rating-text {
    display: flex;
    flex-direction: column;
    color: white;
    padding-left: 20px;
    border-left: 2px solid rgba(255,255,255,0.3);
}

.rating-score {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 5px;
}

.rating-count {
    font-size: 13px;
    opacity: 0.9;
}

@media screen and (max-width: 600px) {
    .rating-badge-content {
        flex-direction: column;
        padding: 20px 30px;
        text-align: center;
    }
    
    .rating-text {
        border-left: none;
        border-top: 2px solid rgba(255,255,255,0.3);
        padding-left: 0;
        padding-top: 15px;
    }
}

.testimonials-slider {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    padding: 0 20px;
}

.testimonial {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    padding: 35px 30px;
    transition: all 0.3s ease;
    position: relative;
    border-top: 4px solid var(--primary-color);
}

.testimonial:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(37,99,235,0.2);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(37,99,235,0.3);
    position: relative;
    overflow: hidden;
}

.testimonial-avatar::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
}

.testimonial-info {
    flex: 1;
}

.testimonial-info h4 {
    margin: 0 0 8px 0;
    color: var(--dark-color);
    font-size: 18px;
    font-weight: 700;
}

.testimonial-stars {
    display: flex;
    gap: 3px;
}

.testimonial-stars i {
    color: #fbbf24;
    font-size: 14px;
    animation: starPulse 2s ease-in-out infinite;
}

.testimonial-stars i:nth-child(1) {
    animation-delay: 0s;
}

.testimonial-stars i:nth-child(2) {
    animation-delay: 0.1s;
}

.testimonial-stars i:nth-child(3) {
    animation-delay: 0.2s;
}

.testimonial-stars i:nth-child(4) {
    animation-delay: 0.3s;
}

.testimonial-stars i:nth-child(5) {
    animation-delay: 0.4s;
}

@keyframes starPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

.testimonial-content {
    position: relative;
}

.testimonial-content p {
    font-style: italic;
    color: #555;
    margin-bottom: 15px;
    line-height: 1.7;
    position: relative;
    padding-left: 25px;
    font-size: 15px;
}

.testimonial-content p::before {
    content: '"';
    position: absolute;
    left: 0;
    top: -10px;
    font-size: 60px;
    color: var(--primary-color);
    opacity: 0.15;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-location {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #888;
    font-size: 13px;
    margin-top: 10px;
}

.testimonial-location i {
    color: var(--primary-color);
    font-size: 12px;
}

/* Responsive testimonials */
@media screen and (max-width: 768px) {
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
    
    .testimonial {
        padding: 30px 25px;
    }
    
    .testimonial-avatar {
        width: 50px;
        height: 50px;
        font-size: 16px;
    }
}

/* Contact Section */
.contact {
    padding: 100px 0;
}

.contact h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 36px;
}

.contact-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info {
    padding: 30px;
}

.contact-info h3 {
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-info i {
    color: var(--primary-color);
    margin-right: 10px;
}

.contact-info a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-info a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

.contact-form {
    display: grid;
    gap: 20px;
}

.contact-form input,
.contact-form textarea {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
}

.contact-form textarea {
    height: 150px;
}

.submit-button {
    background: var(--gradient-primary);
    color: var(--white);
    padding: 18px 35px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(37,99,235,0.3);
}

.submit-button:hover {
    background: var(--gradient-secondary);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(16,185,129,0.4);
}

/* Phone CTA Box */
.phone-cta-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 50px;
    padding: 30px 40px;
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 2px solid var(--primary-color);
    transition: all 0.3s ease;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.phone-cta-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(37,99,235,0.15);
}

.phone-cta-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 8px 20px rgba(37,99,235,0.3);
    animation: pulse 2s ease-in-out infinite;
}

.phone-cta-icon i {
    color: white;
    font-size: 26px;
}

.phone-cta-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.phone-cta-label {
    font-size: 14px;
    color: #666;
    margin: 0;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.phone-cta-number {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.phone-cta-number:hover {
    color: var(--secondary-color);
    transform: scale(1.05);
}

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

/* Burger Menu */
.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px;
    transition: all 0.3s ease;
}

/* Section Détaillée Peinture */
.peinture-detail {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    position: relative;
    overflow: hidden;
}

.peinture-detail::before {
    content: '';
    position: absolute;
    top: 0;
    right: -10%;
    width: 40%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37,99,235,0.03) 0%, rgba(16,185,129,0.03) 100%);
    border-radius: 50%;
    z-index: 0;
}

.peinture-detail .container {
    position: relative;
    z-index: 1;
}

.peinture-header {
    text-align: center;
    margin-bottom: 60px;
}

.peinture-header h2 {
    font-size: 42px;
    color: var(--dark-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.peinture-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.peinture-header .subtitle {
    font-size: 20px;
    color: #666;
    margin-top: 20px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.peinture-content {
    max-width: 1000px;
    margin: 0 auto;
}

.peinture-text {
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    margin-bottom: 40px;
    border-left: 5px solid var(--primary-color);
}

.peinture-text h3 {
    font-size: 26px;
    color: var(--dark-color);
    margin-bottom: 20px;
    position: relative;
    padding-left: 20px;
}

.peinture-text h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 70%;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.peinture-text p {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 18px;
}

.peinture-prestations {
    background: var(--white);
    padding: 45px;
    border-radius: 15px;
    box-shadow: 0 5px 30px rgba(0,0,0,0.08);
    margin-bottom: 40px;
}

.peinture-prestations h3 {
    font-size: 28px;
    color: var(--dark-color);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.peinture-prestations h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient-primary);
}

.prestations-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

.prestations-list li {
    display: flex;
    align-items: flex-start;
    padding: 18px 20px;
    background: #f8fafc;
    border-radius: 10px;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.prestations-list li:hover {
    background: #fff;
    border-left-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(37,99,235,0.1);
}

.prestations-list li i {
    color: var(--secondary-color);
    font-size: 20px;
    margin-right: 15px;
    margin-top: 3px;
    flex-shrink: 0;
}

.prestations-list li span {
    font-size: 16px;
    line-height: 1.6;
    color: #555;
}

.peinture-engagement {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.engagement-item {
    background: var(--white);
    padding: 35px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 25px rgba(0,0,0,0.08);
    transition: all 0.2s ease;
    border-top: 4px solid var(--primary-color);
}

.engagement-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 35px rgba(37,99,235,0.15);
}

.engagement-item i {
    font-size: 48px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    display: block;
}

.engagement-item h4 {
    font-size: 20px;
    color: var(--dark-color);
    margin-bottom: 15px;
}

.engagement-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.7;
    margin: 0;
}

.peinture-cta {
    background: var(--gradient-primary);
    padding: 50px 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(37,99,235,0.2);
    position: relative;
    overflow: hidden;
}

.peinture-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.peinture-cta::after {
    content: '';
    position: absolute;
    bottom: -50%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.peinture-cta p {
    color: var(--white);
    font-size: 22px;
    margin-bottom: 25px;
    font-weight: 500;
    position: relative;
    z-index: 1;
}

.peinture-cta .cta-button {
    background: var(--white);
    color: var(--primary-color);
    position: relative;
    z-index: 1;
}

.peinture-cta .cta-button:hover {
    background: var(--secondary-color);
    color: var(--white);
    transform: translateY(-3px) scale(1.05);
}

/* Responsive Design */
@media screen and (max-width: 1024px) {
    .services-grid .service-card {
        flex: 0 1 calc(50% - 15px);
    }
}

@media screen and (max-width: 768px) {
    .logo-text {
        display: none;
    }
    
    .burger {
        display: block;
    }

    .services-grid .service-card {
        flex: 0 1 100%;
        max-width: 450px;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 80px;
        background: var(--white);
        width: 100%;
        flex-direction: column;
        align-items: center;
        transition: 0.3s;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li {
        margin: 20px 0;
    }

    .hero h1 {
        font-size: 36px;
    }

    .hero p {
        font-size: 18px;
    }

    .peinture-header h2 {
        font-size: 32px;
    }

    .peinture-header .subtitle {
        font-size: 18px;
    }

    .peinture-text,
    .peinture-prestations {
        padding: 30px 25px;
    }

    .prestations-list {
        grid-template-columns: 1fr;
    }

    .peinture-engagement {
        grid-template-columns: 1fr;
    }

    .peinture-cta {
        padding: 40px 30px;
    }

    .peinture-cta p {
        font-size: 20px;
    }
    
    .realisations-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }
    
    .realisation-item {
        max-width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .header-phone {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .header-phone a {
        font-size: 14px;
    }
    
    .header-phone i {
        font-size: 14px;
    }

    .hero h1 {
        font-size: 28px;
    }

    .services h2,
    .contact h2 {
        font-size: 28px;
    }

    .peinture-header h2 {
        font-size: 28px;
    }

    .peinture-header .subtitle {
        font-size: 16px;
    }

    .peinture-text,
    .peinture-prestations {
        padding: 25px 20px;
    }

    .peinture-text h3 {
        font-size: 22px;
    }

    .peinture-prestations h3 {
        font-size: 24px;
    }

    .prestations-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .prestations-list li {
        padding: 15px;
    }

    .engagement-item {
        padding: 30px 20px;
    }

    .peinture-cta {
        padding: 35px 25px;
    }

    .peinture-cta p {
        font-size: 18px;
    }

    .phone-cta-box {
        flex-direction: column;
        padding: 25px 20px;
        gap: 15px;
        text-align: center;
    }

    .phone-cta-number {
        font-size: 24px;
    }
}

/* ========== ANIMATIONS ========== */

/* Keyframes for scroll animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

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

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
    }
}

/* Animation classes */
.fade-up {
    opacity: 0;
    animation-fill-mode: forwards;
}

.fade-up.animate-in {
    animation: fadeUp 0.8s ease-out forwards;
}

.fade-down {
    opacity: 0;
    animation-fill-mode: forwards;
}

.fade-down.animate-in {
    animation: fadeDown 0.8s ease-out forwards;
}

.fade-in {
    opacity: 0;
    animation-fill-mode: forwards;
}

.fade-in.animate-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.zoom-in {
    opacity: 0;
    animation-fill-mode: forwards;
}

.zoom-in.animate-in {
    animation: zoomIn 0.6s ease-out forwards;
}

.slide-right {
    opacity: 0;
    animation-fill-mode: forwards;
}

.slide-right.animate-in {
    animation: slideRight 0.8s ease-out forwards;
}

.slide-left {
    opacity: 0;
    animation-fill-mode: forwards;
}

.slide-left.animate-in {
    animation: slideLeft 0.8s ease-out forwards;
}

.bounce-in {
    animation: bounceIn 1s ease-out forwards;
}

/* Hero text animation */
.hero h1 {
    animation: fadeDown 1s ease-out;
}

.hero p {
    animation: fadeUp 1s ease-out 0.3s backwards;
}

.hero-buttons {
    animation: fadeUp 1s ease-out 0.6s backwards;
}

/* Pulse effect for CTA buttons */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* Pulse animation can be applied to specific buttons if needed */
.btn-pulse:hover {
    animation: pulse 0.6s ease-in-out infinite;
}

/* Floating animation for icons */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.service-card:hover i,
.feature-icon:hover {
    animation: float 2s ease-in-out infinite;
}

/* Shake animation on hover for social buttons */
@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

.social-button:hover {
    animation: shake 0.5s ease-in-out;
}

/* Rotate animation for burger menu */
@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Gradient animation for hero background */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Responsive animations */
@media screen and (max-width: 768px) {
    /* Reduce animation distances on mobile */
    @keyframes fadeUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    @keyframes slideRight {
        from {
            opacity: 0;
            transform: translateX(-40px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
    
    @keyframes slideLeft {
        from {
            opacity: 0;
            transform: translateX(40px);
        }
        to {
            opacity: 1;
            transform: translateX(0);
        }
    }
}
