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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* Header */
header {
    background: white;
    color: #2d5016;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.15);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #2d5016;
    text-decoration: none;
}

.logo-img {
    height: 50px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s ease;
}

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

.logo-text {
    white-space: nowrap;
    color: #388ABE;
}

@media (max-width: 768px) {
    .logo-img {
        height: 40px;
    }
    
    .logo-text {
        font-size: 1.2rem;
    }
}

.nav-links {
    display: flex;
    gap: 3.5rem;
    list-style: none;
    font-size: 1.15rem;
}

.nav-links a {
    color: #2d5016;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 600;
    position: relative;
}

.nav-links a:hover {
    color: #4a7c25;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4a7c25;
    transition: width 0.3s;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #2d5016;
    border-radius: 3px;
    transition: all 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.92) 0%, rgba(74, 124, 37, 0.88) 100%),
                url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    padding: 150px 2rem 100px;
    text-align: center;
    margin-top: 70px;
}

.hero-visual {
    max-width: 1200px;
    margin: 3rem auto 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.hero-visual img {
    width: 100%;
    height: auto;
    display: block;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    animation: fadeInDown 1s;
    line-height: 1.3;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
    animation: fadeInUp 1s;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.hero p.large {
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.cta-button {
    background: white;
    color: #2d5016;
    padding: 1rem 2.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    animation: fadeInUp 1.2s;
    margin-top: 1rem;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* Sections */
section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 2rem;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #2d5016;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background: #4a7c25;
    margin: 1rem auto 0;
    border-radius: 2px;
}

.intro-text {
    font-size: 1.1rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 3rem;
    color: #555;
    line-height: 1.8;
}

/* Services */
.services-section {
    background: linear-gradient(135deg, #f0f4ed 0%, #e8f0e1 100%);
}

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

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(74, 124, 37, 0.2);
    border-color: #4a7c25;
}

.service-card h3 {
    color: #2d5016;
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

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

.service-card li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.service-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #4a7c25;
    font-weight: bold;
}

/* Clients */
.clients-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

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

.client-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.client-card.highlight {
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.7) 0%, rgba(74, 124, 37, 0.7) 100%),
                url('../images/Bureau.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    position: relative;
}

.client-card.highlight .client-icon {
    color: white;
}

.client-card.highlight h3 {
    color: white;
}

.client-card.highlight p {
    color: rgba(255,255,255,0.9);
}

.client-card.highlight .highlight-link {
    color: white;
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.6);
    text-underline-offset: 3px;
    transition: all 0.3s;
}

.client-card.highlight .highlight-link:hover {
    color: #e8f0e1;
    text-decoration-color: #e8f0e1;
}

.client-icon {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: #4a7c25;
}

.client-card h3 {
    color: #2d5016;
    font-size: 1.2rem;
}

/* Engagements */
.engagements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.engagement-card {
    background: white;
    padding: 2.5rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.engagement-card h3 {
    color: #2d5016;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.engagement-icon {
    font-size: 2rem;
}

.engagement-card ul {
    list-style: none;
    padding: 0;
}

.engagement-card li {
    padding: 0.6rem 0;
    padding-left: 1.8rem;
    position: relative;
    color: #555;
}

.engagement-card li::before {
    content: "🌿";
    position: absolute;
    left: 0;
    font-size: 1rem;
}

/* À propos */
.about-section {
    background: linear-gradient(135deg, #f0f4ed 0%, #e8f0e1 100%);
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-intro {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 3rem;
}

.about-image {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.about-text {
    display: flex;
    align-items: center;
}

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

.value-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    cursor: pointer;
}

.value-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.value-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.value-item h4 {
    color: #2d5016;
    font-size: 1.3rem;
}

/* Contact */
#contact {
    background: linear-gradient(135deg, rgba(45, 80, 22, 0.85) 0%, rgba(74, 124, 37, 0.85) 100%),
                url('../images/Environnement.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    border-radius: 20px;
    margin: 80px auto;
    max-width: 1200px;
    position: relative;
}

#contact h2 {
    color: white;
}

#contact h2::after {
    background: white;
}

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

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
}

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

.contact-form button {
    background: white;
    color: #2d5016;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

.contact-form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

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

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.1rem;
}

.contact-item-icon {
    background: rgba(255,255,255,0.2);
    padding: 0.8rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 50px;
    min-height: 50px;
}

.contact-item-icon svg {
    width: 24px;
    height: 24px;
    color: white;
    stroke: white;
}

/* Footer */
footer {
    background: #1a2f0f;
    color: white;
    text-align: center;
    padding: 2rem;
}

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

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

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 1000;
    }

    .nav-links.active {
        transform: translateX(0);
    }

    .nav-links li {
        width: 100%;
    }

    .nav-links a {
        display: block;
        padding: 1rem 0;
        font-size: 1.1rem;
        border-bottom: 1px solid #e8f0e1;
    }

    .nav-links a::after {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

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

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

    h2 {
        font-size: 2rem;
    }

    .contact-content {
        grid-template-columns: 1fr;
    }

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

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

    .about-intro {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

html {
    scroll-behavior: smooth;
}

