/* RESET ET STYLES DE BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #1f1f1f;
    background-color: #f6f7f9;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    margin-bottom: 20px;
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    text-align: center;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

a {
    color: #2a5298;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #e3a857;
}

section {
    padding: 70px 0;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* BOUTONS */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background-color: #2a5298;
    color: #ffffff;
    border: 2px solid #2a5298;
}

.btn-primary:hover {
    background-color: transparent;
    color: #2a5298;
}

.btn-secondary {
    background-color: transparent;
    color: #2a5298;
    border: 2px solid #2a5298;
}

.btn-secondary:hover {
    background-color: #2a5298;
    color: #ffffff;
}

.btn-contact {
    background-color: #e3a857;
    color: #ffffff;
    padding: 8px 15px;
    border-radius: 20px;
}

.btn-contact:hover {
    background-color: #d59a47;
    color: #ffffff;
}

/* HEADER */
header {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.logo a {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2a5298;
    text-transform: lowercase;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 25px;
}

nav ul li a {
    font-weight: 500;
}

/* HERO SECTION */
#hero {
    background: linear-gradient(rgba(42, 82, 152, 0.8), rgba(42, 82, 152, 0.8)), url('./img/XpDE6t.jpg');
    background-size: cover;
    background-position: center;
    color: #ffffff;
    text-align: center;
    padding: 120px 0;
}

#hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

#hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* À PROPOS */
.about-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
}

.about-image {
    flex: 1;
}

/* SERVICES */
.services-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    flex: 1;
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px 10px 0 0;
}

.service-card h3, .service-card p {
    padding: 0 20px;
}

.service-card h3 {
    margin-top: 20px;
}

.service-card .price {
    font-weight: 600;
    color: #2a5298;
    font-size: 1.2rem;
}

.service-card .btn-secondary {
    margin: 0 20px 20px;
    display: block;
}

/* AVANTAGES */
.advantages-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
}

.advantage-item {
    flex-basis: calc(50% - 15px);
    background: #ffffff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.advantage-icon {
    font-size: 2.5rem;
    color: #e3a857;
    margin-bottom: 15px;
}

/* TÉMOIGNAGES */
#temoignages {
    background-color: #2a5298;
    color: #ffffff;
}

#temoignages h2 {
    color: #ffffff;
}

.testimonials-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
}

.testimonial-card {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
    position: relative;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    font-weight: 600;
}

/* FAQ */
.faq-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background: #ffffff;
    padding: 20px 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    color: #2a5298;
    margin-bottom: 10px;
}

/* FORMULAIRE */
#contact {
    background-color: #ffffff;
}

form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

input, select {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    font-family: inherit;
}

input:focus, select:focus {
    outline: none;
    border-color: #2a5298;
}

.checkbox {
    display: flex;
    align-items: center;
}

.checkbox input {
    width: auto;
    margin-right: 10px;
}

.checkbox label {
    margin: 0;
}

button[type="submit"] {
    width: 100%;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-family: inherit;
    margin-top: 10px;
}

/* FOOTER */
footer {
    background-color: #1f1f1f;
    color: #ffffff;
    padding: 50px 0 20px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-info, .footer-contact, .footer-links {
    flex: 1;
    min-width: 200px;
}

footer h3 {
    color: #e3a857;
    margin-bottom: 20px;
}

footer a {
    color: #ffffff;
}

footer a:hover {
    color: #e3a857;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* MEDIA QUERIES */
@media (max-width: 992px) {
    .services-grid {
        flex-direction: column;
    }
    
    .service-card {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image {
        order: -1;
    }
}

@media (max-width: 768px) {
    body {
        overflow-x: hidden;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    nav ul {
        display: none;
    }
    
    nav::after {
        content: '☰';
        font-size: 2rem;
        color: #2a5298;
        cursor: pointer;
    }
    
    /* Adaptation du premier bloc (Hero) */
    #hero {
        padding: 80px 0;
    }
    
    #hero h1 {
        font-size: 1.8rem;
        padding: 0 10px;
    }
    
    #hero p {
        font-size: 1rem;
        padding: 0 20px;
    }
    
    #hero .btn-primary {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* Autres adaptations mobiles */
    .advantages-grid {
        flex-direction: column;
    }
    
    .advantage-item {
        flex-basis: 100%;
    }
    
    .testimonials-grid {
        flex-direction: column;
    }
    
    .footer-grid {
        flex-direction: column;
        gap: 30px;
    }
    
    /* Correction pour tables */
    table {
        display: block;
        overflow-x: auto;
    }
} 

 