/* Polices et couleurs */
:root {
    --primary-color: #a8c8ec; /* Bleu pâle rassurant */
    --secondary-color: #f5f0e8; /* Beige clair */
    --text-color: #333;
    --accent-color: #3c82c4; /* Bleu légèrement plus soutenu */
}

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    background-color: #fff;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: var(--accent-color);
}

.hero {
    background-color: var(--primary-color);
    padding: 4rem 2rem;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.btn-primary {
    display: inline-block;
    background-color: white;
    color: var(--accent-color);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    margin-top: 1rem;
    border: 2px solid white;
    transition: all 0.3s;
}

.btn-primary:hover {
    background-color: var(--accent-color);
    color: white;
}

.section {
    padding: 3rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cards {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.card {
    flex: 1;
    min-width: 250px;
    background-color: var(--secondary-color);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.mon-approche {
    background-color: #f9f9f9;
}

.approche-content {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-top: 2rem;
}

.text {
    flex: 1;
}

.visual img {
    max-width: 100%;
    border-radius: 8px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 2rem;
}

table, th, td {
    border: 1px solid #ddd;
}

th, td {
    padding: 1rem;
    text-align: left;
}

th {
    background-color: var(--primary-color);
    color: white;
}

tr:nth-child(even) {
    background-color: #f2f2f2;
}

.steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    flex: 1;
    min-width: 250px;
    padding: 1.5rem;
    background-color: var(--secondary-color);
    border-radius: 8px;
}

.faq-item {
    margin-bottom: 1.5rem;
}

.contact {
    background-color: var(--primary-color);
    color: white;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 500px;
    margin-bottom: 2rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.contact-form textarea {
    min-height: 120px;
}

.map {
    margin-top: 2rem;
    border-radius: 8px;
    overflow: hidden;
}

footer {
    text-align: center;
    padding: 2rem;
    background-color: var(--secondary-color);
}

.trust-elements {
    margin-bottom: 1rem;
}

/* FAQ Styles */
.faq-container {
    margin-top: 2rem;
    max-width: 800px;
}

.faq-item {
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 1rem;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
    cursor: pointer;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--accent-color);
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s ease;
    padding: 0 1rem;
    color: #555;
}

.faq-answer.active {
    max-height: 500px; /* Hauteur maximale pour l'animation */
    padding: 1rem;
}

.faq-answer p {
    margin: 0;
    line-height: 1.6;
}

/* Animation pour le signe +/- */
.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}

.map-container {
    max-width: 800px;
    position: relative;
    margin-top: 2rem;
}

#map {
    height: 300px;
    width: 100%;
    border-radius: 8px;
    z-index: 1;
}

.map-address {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background-color: #3c82c4;
    padding: 0.8rem;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin: 0;
    z-index: 2;
    max-width: 300px;
}

/* Style du marqueur personnalisé */
.leaflet-marker-icon {
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32" width="32" height="32"><path fill="%23a8c8ec" d="M16 32s1.4-10.5-7-13.8C6.5 15.5 4 12.8 4 8c0-4.4 3.6-8 8-8 5.2 0 7.8 4.4 8 6.2-0.2 2.8-6 12.5-6 12.5z"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    border: none;
    width: 32px;
    height: 32px;
}


/* Responsive */
@media (max-width: 768px) {
    .approche-content {
        flex-direction: column;
    }
    .cards, .steps {
        flex-direction: column;
    }
}
