* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.navbar {
    background: rgba(44, 62, 80, 0.95);
    padding: 1.2rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar .container {
    text-align: center;
}

.logo {
    color: #fff;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    display: block;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin: 0 auto;
    padding: 0;
}

.nav-menu a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: #3498db;
}

.contact-btn {
    background: #e74c3c;
    border-radius: 5px;
}

.contact-btn:hover {
    background: #c0392b;
    color: #fff !important;
}

/* Hero Section */
.hero {
    height: calc(100vh - 160px);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23667eea" width="1200" height="600"/><g fill="%23764ba2"><path d="M0 450 Q300 350 600 450 T1200 450 V600 H0 Z" opacity="0.3"/><path d="M0 500 Q300 400 600 500 T1200 500 V600 H0 Z" opacity="0.2"/></g></svg>');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 160px;
}

.hero-overlay {
    background: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 2rem;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: #e74c3c;
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.cta-button:hover {
    background: #c0392b;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

/* Services Intro Section */
.services-intro {
    padding: 5rem 0;
    background: #f8f9fa;
}

.services-intro h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.intro-text p {
    margin-bottom: 1.5rem;
}

.values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.value-card {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.value-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.value-card img {
    width: 100%;
    max-width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.value-card h3 {
    color: #667eea;
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
}

.value-card p {
    font-size: 0.95rem;
    color: #555;
}

/* Contact Form */
.contact-section {
    padding: 5rem 0;
    background: #f8f9fa;
    margin-top: 160px;
    min-height: calc(100vh - 160px);
}

.contact-section h1 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #2c3e50;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: #fff;
    padding: 3rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c3e50;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e0e0e0;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: #667eea;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: #5568d3;
}

/* Footer */
footer {
    background: #2c3e50;
    color: #fff;
    padding: 2rem 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        padding: 1rem 0;
    }
    
    .logo {
        font-size: 1.8rem;
        margin-bottom: 0.8rem;
    }
    
    .nav-menu {
        flex-direction: row;
        gap: 0.5rem;
    }
    
    .nav-menu a {
        padding: 0.4rem 0.7rem;
        font-size: 0.8rem;
    }
    
    .hero {
        height: auto;
        min-height: 50vh;
        margin-top: 180px;
    }
    
    .hero-content h1 {
        font-size: 1.4rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    .values {
        grid-template-columns: 1fr;
    }
    
    .services-intro {
        padding: 3rem 0;
    }
    
    .services-intro h2 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .intro-text {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .contact-section {
        margin-top: 180px;
        padding: 3rem 0;
    }
    
    .contact-section h1 {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1.2rem;
    }
}

/* Mode paysage mobile */
@media (max-width: 926px) and (max-height: 500px) {
    .navbar {
        padding: 0.5rem 0;
    }
    
    .logo {
        font-size: 1.3rem;
        margin-bottom: 0.4rem;
    }
    
    .nav-menu {
        gap: 0.3rem;
    }
    
    .nav-menu a {
        padding: 0.3rem 0.5rem;
        font-size: 0.7rem;
    }
    
    .hero {
        margin-top: 120px;
        min-height: 70vh;
        padding: 1rem 0;
    }
    
    .hero-content {
        padding: 1rem;
    }
    
    .hero-content h1 {
        font-size: 1.2rem;
        margin-bottom: 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .cta-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .services-intro {
        padding: 2rem 0;
    }
    
    .contact-section {
        margin-top: 120px;
        padding: 2rem 0;
    }
}