/* ===== Header overrides ===== */
/* Owned by ii-brisson-site plugin. Per-page tweaks the theme can't express. */

/* Book Now button + lang-switcher pill — force white when the at-rest
   transparent header is showing. Scoped to .kadence-sticky-header WITHOUT
   the runtime .item-is-stuck class, so as soon as Kadence stickies the
   header on scroll, the override drops and the Sticky Header's own colors
   (set in Customizer → Header → Sticky Header → Design) take over.

   `.transparent-header` body class limits this to pages whose page-level
   header is set transparent. Auto-applies to alt-Home EN/FR/JA (1018/7020/
   7063) and any future transparent-header page. */

.transparent-header .kadence-sticky-header:not(.item-is-stuck) .calendly-popup.header-button,
.transparent-header .kadence-sticky-header:not(.item-is-stuck) a.calendly-popup {
	color: #fff !important;
	text-decoration-color: #fff !important;
}

.transparent-header .kadence-sticky-header:not(.item-is-stuck) .calendly-popup.header-button:hover,
.transparent-header .kadence-sticky-header:not(.item-is-stuck) a.calendly-popup:hover {
	color: #f0e7da !important;
}

.transparent-header .kadence-sticky-header:not(.item-is-stuck) ul.lang-switcher-standalone {
	--lang-pill-bg:        transparent;
	--lang-pill-fg:        #fff;
	--lang-pill-border:    #fff;
	--lang-pill-active-bg: #fff;
	--lang-pill-active-fg: #2b2522;
	--lang-pill-hover-bg:  #fff;
	--lang-pill-hover-fg:  #2b2522;
}
