/* Vert Caméléon – mise en page des articles hors Divi Builder (classe body .vc-article) */
.vc-article #main-content .container:before { display: none; }
/* 92px + 58px de Divi = place pour l'en-tête fixe du site */
.vc-article #left-area { float: none; width: 100%; max-width: 760px; margin: 0 auto; padding: 92px 0 64px; }
.vc-article #sidebar { display: none; }
.vc-article article.et_pb_post { margin-bottom: 0; }

/* Titre et métadonnées */
.vc-article .entry-title { font-size: clamp(32px, 4.2vw, 48px); line-height: 1.12; font-weight: 800; letter-spacing: -0.01em; color: #0d0f0d; padding-bottom: 14px; }
.vc-article .post-meta { font-size: 15px; color: #939f93; padding-bottom: 20px; margin-bottom: 28px; border-bottom: 1px solid #e1ebe1; }
.vc-article .post-meta a { color: #2d392d; }
.vc-article .et_post_meta_wrapper img { border-radius: 16px; margin-bottom: 32px; }

/* Texte courant */
.vc-article .entry-content { font-size: 19px; line-height: 1.7; color: #2f332f; }
.vc-article .entry-content p { font-size: inherit; line-height: inherit; padding-bottom: 1.1em; }
.vc-article .entry-content strong { color: #0d0f0d; font-weight: 700; }

/* Intertitres : petite barre verte de la charte */
.vc-article .entry-content h2 { font-size: clamp(26px, 2.6vw, 32px); line-height: 1.2; font-weight: 800; color: #0d0f0d; margin: 1.9em 0 0.6em; padding: 0; scroll-margin-top: 120px; }
.vc-article .entry-content h2::before { content: ""; display: block; width: 48px; height: 6px; border-radius: 3px; background: #7dff7d; margin-bottom: 16px; }
.vc-article .entry-content h3 { font-size: clamp(21px, 1.8vw, 24px); line-height: 1.3; font-weight: 700; color: #0d0f0d; margin: 1.5em 0 0.4em; padding: 0; scroll-margin-top: 120px; }

/* Liens : vert de la charte en soulignement (le vert seul est illisible sur fond blanc) */
.vc-article .entry-content a { color: #0d1c0d; font-weight: 600; text-decoration: underline; text-decoration-color: #7dff7d; text-decoration-thickness: 3px; text-underline-offset: 4px; transition: background-color .2s, text-decoration-color .2s; }
.vc-article .entry-content a:hover, .vc-article .entry-content a:focus-visible { background-color: #7dff7d; text-decoration-color: #0d1c0d; }

/* Listes */
.vc-article .entry-content ul, .vc-article .entry-content ol { padding: 0 0 1.2em 1.4em; margin: 0; line-height: 1.6; }
.vc-article .entry-content ul { list-style: none; }
.vc-article .entry-content li { margin-bottom: 0.55em; position: relative; }
.vc-article .entry-content ul > li::before { content: ""; position: absolute; left: -1.2em; top: 0.62em; width: 8px; height: 8px; border-radius: 50%; background: #0d1c0d; box-shadow: 0 0 0 3px #7dff7d; }
.vc-article .entry-content ol { list-style: decimal; }
.vc-article .entry-content ol > li::marker { font-weight: 800; color: #0d1c0d; }

/* Sommaire (liste de liens internes à la page) */
.vc-article .entry-content ul:has(> li > a[href^="#"]) { background: #f8fcf8; border: 1px solid #e1ebe1; border-left: 6px solid #7dff7d; border-radius: 12px; padding: 20px 24px 12px 28px; margin-bottom: 1.6em; font-size: 17px; }
.vc-article .entry-content ul:has(> li > a[href^="#"]) a { font-weight: 500; }
.vc-article .entry-content ul:has(> li > a[href^="#"]) > li::before { display: none; }

/* Tableaux */
.vc-article .entry-content table { width: 100%; border-collapse: separate; border-spacing: 0; border: 1px solid #e1ebe1; border-radius: 12px; overflow: hidden; margin: 0.4em 0 1.8em; font-size: 16px; line-height: 1.45; table-layout: auto; }
.vc-article .entry-content th { background: #0d1c0d; color: #fff; font-weight: 700; text-align: left; padding: 14px 16px; border: 0; }
.vc-article .entry-content td { padding: 14px 16px; border: 0; border-top: 1px solid #e1ebe1; vertical-align: top; color: #2f332f; }
.vc-article .entry-content tbody tr:nth-child(even) td { background: #f8fcf8; }
.vc-article .entry-content td:first-child { font-weight: 700; color: #0d0f0d; white-space: nowrap; }

/* Citations */
.vc-article .entry-content blockquote { border-left: 6px solid #7dff7d; background: #f8fcf8; padding: 18px 24px; margin: 0 0 1.4em; font-style: normal; }

/* Mobile */
@media (max-width: 767px) {
	.vc-article #main-content .container { width: 88%; }
	.vc-article #left-area { padding-top: 72px; }
	.vc-article .entry-content { font-size: 17px; }
	.vc-article .entry-content table { display: block; overflow-x: auto; white-space: normal; border-radius: 8px; }
	.vc-article .entry-content td:first-child { white-space: normal; }
	.vc-article .entry-content ul:has(> li > a[href^="#"]) { padding: 16px 16px 8px 20px; }
}
