.image-texte-container {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px; /* Espace entre image et texte */
    align-items: center; /* Alignement vertical centre */
    padding: 40px 20px;
    box-sizing: border-box;
}

/* Moitié gauche : Image */
.image-section {
    flex: 1;
    max-width: 50%;
    min-width: 300px;
}

.image-section img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    object-fit: cover;
}

/* Moitié droite : Texte */
.texte-section {
    flex: 1;
    max-width: 50%;
    padding: 20px;
    box-sizing: border-box;
}

.texte-section h2 {
    
    margin-bottom: 15px;
    font-size: 28px;
}

.texte-section p {
    line-height: 1.7;
    
    font-size: 16px;
    margin-bottom: 20px;
}

.texte-section .btn {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 6px;
    font-weight: bold;
    transition: background 0.3s;
}

.texte-section .btn:hover {
    background: #2980b9;
}

/* RESPONSIVE : Mobile/Tablette */
@media (max-width: 768px) {
    .image-texte-container {
        flex-direction: column;
        gap: 20px;
		width:100%;
        padding: 0 0;
    }
    
    .image-section,
    .texte-section {
        max-width: 100%;
        flex: none;
    }
    
    .texte-section h2 {
        font-size: 24px;
    }
}

/* Version sombre optionnelle */
.dark-mode .image-texte-container {
    background: #1a1a1a;
    color: white;
}

.dark-mode .texte-section h2 {
    color: #ecf0f1;
}

.dark-mode .texte-section p {
    color: #bdc3c7;
}