/**
 * Compléments de charte que la personnalisation OceanWP ne sait pas exprimer.
 *
 * Feuille chargée sur **tout le front**, contrairement aux autres feuilles de ce
 * plugin qui ne servent qu'un gabarit. Elle ne contient que ce qui ne peut pas
 * être posé en theme_mod — pas d'habillage de page, qui reste dans la feuille du
 * gabarit concerné.
 *
 * Toutes les valeurs viennent de CHARTE-GRAPHIQUE.md.
 */

/* ---------------------------------------------------------------------------
 * 1. Bouton de thème : couleur du texte au survol
 *
 * La charte (§3) veut un bouton qui **s'inverse** au survol — fond blanc, texte
 * vert profond. OceanWP sait poser le fond (`ocean_theme_button_hover_bg`) mais
 * **pas** la couleur du texte : son réglage `ocean_theme_button_hover_color`
 * pilote la *bordure* au survol, et le texte reste à `ocean_theme_button_color`.
 * Résultat sans cette règle : libellé blanc sur fond blanc au survol, le bouton
 * paraît vide.
 *
 * Le thème défend ces sélecteurs en (0,2,1) depuis un `<style>` en ligne du
 * `<head>` : à spécificité égale, l'ordre d'impression décide, et une feuille
 * externe n'est pas garantie de passer après. On ancre sur `html body` — (0,2,2)
 * — pour gagner la cascade quel que soit l'ordre.
 * ------------------------------------------------------------------------ */

html body .theme-button:hover,
html body .theme-button:focus,
html body input[type="submit"]:hover,
html body input[type="submit"]:focus,
html body button[type="submit"]:hover,
html body button[type="submit"]:focus,
html body button:hover,
html body button:focus,
html body .button:hover,
html body .button:focus,
html body div.wpforms-container-full .wpforms-form input[type="submit"]:hover,
html body div.wpforms-container-full .wpforms-form input[type="submit"]:focus,
html body div.wpforms-container-full .wpforms-form input[type="submit"]:active,
html body div.wpforms-container-full .wpforms-form button[type="submit"]:hover,
html body div.wpforms-container-full .wpforms-form button[type="submit"]:focus,
html body div.wpforms-container-full .wpforms-form button[type="submit"]:active,
html body div.wpforms-container-full .wpforms-form .wpforms-page-button:hover,
html body div.wpforms-container-full .wpforms-form .wpforms-page-button:focus,
html body div.wpforms-container-full .wpforms-form .wpforms-page-button:active,
html body .wp-block-button__link:hover,
html body .wp-block-button__link:focus {
	color: #08403f;
}
