:root {
    --primary-color: #2c3e50;
    --secondary-color: #34495e;
    --accent-color: #3498db;
    --light-color: #f8f9fa;
    --gray-color: #7f8c8d;
    --service-card-bg: #f9f9f9;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--primary-color);
    background-color: #fff;
    line-height: 1.6;
    font-weight: 400;
    min-height: 100vh;
}

/* Header avec logo */
header {
    padding: 50px 0 40px;
    text-align: center;
    border-bottom: 1px solid #eee;
    margin-bottom: 50px;
}

.header-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-container {
    margin-bottom: 25px;
}

.logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
}

.logo-img {
    max-width: 100%;
}

.logo i {
    font-size: 3.5rem;
    color: white;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

header h1 {
    font-weight: 700;
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--primary-color);
}

header h2 {
    font-weight: 400;
    font-size: 1.3rem;
    color: var(--gray-color);
    max-width: 600px;
    margin: 0 auto;
}

/* Section services */
.services-section {
    padding: 60px 0;
    background-color: #f9f9f9;
    margin: 60px 0;
    border-radius: 12px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-weight: 700;
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 3px;
    background-color: var(--accent-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-title p {
    color: var(--gray-color);
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.1rem;
}

/* Cartes de services */
.service-card {
    background-color: white;
    border-radius: 10px;
    padding: 40px 30px;
    text-align: center;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-top: 4px solid transparent;
    margin-bottom: 30px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-top-color: var(--accent-color);
}

.service-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: rgba(52, 152, 219, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    color: var(--accent-color);
    font-size: 2.2rem;
}

.service-card h3 {
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.service-card p {
    color: var(--gray-color);
    margin-bottom: 20px;
}

.service-link {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    transition: color 0.3s;
}

.service-link:hover {
    color: #2980b9;
    text-decoration: none;
}

.service-link i {
    margin-left: 8px;
    transition: transform 0.3s;
}

.service-link:hover i {
    transform: translateX(5px);
}

/* Conteneur principal */
.main-container {
    padding-bottom: 60px;
}

/* Informations de contact */
.contact-info {
    padding: 30px;
    background-color: #f9f9f9;
    border-radius: 8px;
    height: 100%;
}

.contact-info h3 {
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 30px;
    color: var(--primary-color);
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.contact-info .media {
    margin-bottom: 25px;
    align-items: flex-start;
}

.contact-info .media i {
    font-size: 1.3rem;
    color: var(--accent-color);
    width: 30px;
    text-align: center;
    padding-top: 5px;
}

.contact-info .media-body h5 {
    font-weight: 600;
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 5px;
}

.contact-info p {
    color: var(--gray-color);
    margin-bottom: 5px;
}

.contact-info a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.2s;
}

.contact-info a:hover {
    color: #2980b9;
    text-decoration: underline;
}

/* Formulaire */
.contact-form {
    padding: 30px;
}

.contact-form h3 {
    font-weight: 600;
    font-size: 1.5rem;
    margin-bottom: 25px;
    color: var(--primary-color);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 8px;
    display: block;
    color: var(--secondary-color);
}

.form-control {
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 12px 15px;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
}

.form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
    outline: none;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    padding: 12px 30px;
    font-weight: 500;
    font-size: 1rem;
    border-radius: 6px;
    transition: background-color 0.2s, border-color 0.2s;
}

.btn-primary:hover {
    background-color: #2980b9;
    border-color: #2980b9;
}

.btn-primary:focus {
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.3);
}

/* Carte */
#mapid {
    height: 300px;
    border-radius: 8px;
    margin-top: 60px;
    border: 1px solid #eee;
}

/* Footer */
footer {
    padding: 30px 0;
    text-align: center;
    color: var(--gray-color);
    font-size: 0.9rem;
    border-top: 1px solid #eee;
    margin-top: 60px;
}

footer a {
    color: var(--accent-color);
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Modal */
.modal-content {
    border-radius: 8px;
    border: none;
}

.modal-header {
    border-bottom: 1px solid #eee;
}

/* Social Links */
.social-links a {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin-right: 15px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: #2980b9;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 992px) {
    .service-card {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    header {
        padding: 40px 0 30px;
        margin-bottom: 40px;
    }
    
    .logo {
        width: 100px;
        height: 100px;
    }
    
    .logo i {
        font-size: 2.8rem;
    }
    
    header h1 {
        font-size: 2rem;
    }
    
    header h2 {
        font-size: 1.1rem;
    }
    
    .services-section {
        padding: 40px 0;
        margin: 40px 0;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .contact-info, .contact-form {
        padding: 20px;
    }
    
    .main-container {
        padding-bottom: 40px;
    }
    
    #mapid {
        margin-top: 40px;
    }
}

@media (max-width: 576px) {
    header h1 {
        font-size: 1.8rem;
    }
    
    header h2 {
        font-size: 1rem;
    }
    
    .logo-text {
        font-size: 1.5rem;
    }
    
    .section-title h2 {
        font-size: 1.6rem;
    }
    
    .social-links a {
        margin-right: 10px;
        font-size: 1rem;
    }
}