/* ============================================================
 * 01. BASE — uniquement règles issues de custom.css + RGAA 10.7
 *     Toute règle absente de custom.css ET non RGAA/WCAG a été supprimée.
 * ============================================================ */

/* RGAA 10.7 — focus visible sur <a> (custom.css couvre button/wpcf7 uniquement) */
a:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 2px; }

/* custom.css L1-3 */
body { font-family: var(--ff-body); }

/* custom.css L5-7 */
h2 { margin-top: 30px; }

/* custom.css L1046-1048 */
h3 { color: var(--color-text-dark); }
/* custom.css L1050-1052 */
h3:hover { color: #005C86; }

/* custom.css L1071-1075 */
p {
  font-size: 20px;
  font-family: var(--ff-light);
  line-height: 31px;
  white-space: break-spaces;
}

/* custom.css L13-15 */
p + h3 { margin: 40px 0 24px; }

/* custom.css L17-19 */
p + h3:hover, ul + h3:hover { color: var(--color-text-dark); }

/* custom.css L1353-1355 — CORRECTION : était 5px, custom.css = 15px */
li { padding-bottom: 5px; }
/* custom.css L1357-1359 */
li.menu-item { padding-bottom: 0; }

/* custom.css L1348-1351 — sans !important (absent de custom.css) */
ul.wp-block-list {
  font-family: var(--ff-light);
  font-size: 20px;
}

/* custom.css L989 — placeholder global */
::placeholder { color: var(--color-text-muted) !important; opacity: 1; }

/* custom.css L1030-1032 */
html { height: 100%; }
/* custom.css L1026-1028 */
body { margin: 0; }
/* custom.css L966-970 */
#page.site { display: flex; flex-direction: column; min-height: 100vh; }
/* custom.css L972-974 */
#content.site-content { flex: 1; }

/* === Scope archive projet : entry-title est H2 (pas H3) — restitue couleur === */
body.tax-project_category .blog-posts-list .entry-title,
body.post-type-archive-project .blog-posts-list .entry-title {
  color: var(--color-text-dark);
}
body.tax-project_category .blog-posts-list .entry-title a,
body.post-type-archive-project .blog-posts-list .entry-title a {
  color: #005C86;
}
body.tax-project_category .blog-posts-list .entry-title a:hover,
body.post-type-archive-project .blog-posts-list .entry-title a:hover {
  color: #0073a8;
}

#page > .elementor-hf-main .elementor-section .fondation-page-intro p {
  font-family: var(--ff-medium);
  font-size: 22px;
  font-weight: 600;
  line-height: 31px;
  color: var(--color-text-dark);
}
