/* Styles de base */
body {
    font-family: 'Open Sans', sans-serif;
    margin: 0;
    color: #333;
    line-height: 1.6;
}

h1, h2, h3 {
    margin-top: 0;
}

/* Navigation */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo { font-size: 1.8rem; font-weight: 700; color: #0077b6; }
.logo span { color: #00b4d8; }

nav ul { display: flex; list-style: none; margin: 0; padding: 0; }
nav ul li { margin-left: 20px; }
nav ul li a { text-decoration: none; color: #333; font-weight: 600; font-size: 0.95rem; }

.btn-rdv {
    background: #0077b6;
    color: white !important;
    padding: 10px 20px;
    border-radius: 5px;
}

/* Hero Section */
.hero {
    /* Image de fond : Vue de Montréal */
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('https://images.unsplash.com/photo-1522199710521-72d69614c702?q=80&w=1200&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    height: 65vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 0 20px;
}

.hero h1 { font-size: 2.5rem; font-weight: 700; max-width: 800px; }
.hero p { font-size: 1.2rem; max-width: 600px; }

.cta-button {
    background: #00b4d8;
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 25px;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background: #0096c7;
}

/* Services */
#services { padding: 80px 5%; background: #f9f9f9; text-align: center; }
#services h2 { font-size: 2rem; margin-bottom: 40px; }

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

.service-card { 
    background: white; 
    border-radius: 10px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.08); 
    overflow: hidden; /* Pour arrondir l'image */
    width: calc(50% - 15px); /* Deux colonnes sur grand écran */
    max-width: 450px;
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
}

.service-card img { 
    width: 100%; 
    height: 250px; 
    object-fit: cover; 
}

.service-content {
    padding: 30px;
}

.service-content h3 { font-size: 1.4rem; color: #0077b6; }

/* À Propos */
.about {
    padding: 80px 5%;
    display: flex;
    align-items: center;
    gap: 50px;
    background-color: #f1f8fc;
}

.about-content { flex: 1; }
.about-content h2 { font-size: 2rem; }
.about-content ul { list-style: none; padding: 0; }
.about-content ul li { font-size: 1.1rem; margin-bottom: 15px; }

.about-image { flex: 1; text-align: center; }
.about-image img { 
    width: 100%; 
    max-width: 500px; 
    border-radius: 10px; 
    box-shadow: 0 4px 15px rgba(0,0,0,0.1); 
}

/* Formulaire */
#contact { padding: 80px 5%; max-width: 700px; margin: auto; text-align: center; }
#contact h2 { font-size: 2rem; }

form {
    text-align: left;
    margin-top: 30px;
}

form input, form select, form textarea {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box; /* Pour que le padding n'augmente pas la taille */
}

form select { color: #555; }

form textarea {
    height: 120px;
    resize: none;
}

form button {
    width: 100%;
    padding: 15px;
    background: #0077b6;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    transition: background 0.3s ease;
}

form button:hover {
    background: #005f90;
}

footer { text-align: center; padding: 30px; background: #222; color: #bbb; font-size: 0.9rem; }

/* Adaptabilité (Responsive) */
@media (max-width: 768px) {
    .service-card { width: 100%; }
    .about { flex-direction: column-reverse; gap: 30px; }
    .about-image img { max-width: 100%; }
    .hero h1 { font-size: 2rem; }
}
