/* ==========================================================================
   Mode sombre : fond noir, écriture blanche, plus aucun doré (Laura, 2026-11-01).
   Les couleurs partagées (--psu-*) sont réglées dans soft.css ; ici, les endroits où le doré était
   écrit en dur (pied de page, boutons, halos, encarts). Chargé en tout dernier ; le mode clair
   (beige, doré, pied de page bleu marine) n'est pas concerné.
   ========================================================================== */

:root:not([data-psu-theme="light"]) {
	--inspiro-primary-color: #fff;
	--cta-gold-1: #fff;
	--cta-gold-2: #fff;
	--cta-gold-3: #fff;
	--cta-ink: #000;
	--cta-line: #fff;
	--cta-text: #fff;
}

/* Photos et vidéos en fond : accent blanc au lieu du doré. */
:root:not([data-psu-theme="light"]) .wp-block-cover:has(.wp-block-cover__image-background, .wp-block-cover__video-background) {
	--psu-accent: #fff;
	--psu-btn-solid-text: #000;
	--psu-surface: #111;
}

:root:not([data-psu-theme="light"]) .psu-words3--hero {
	background: #000;
}

/* ---------------------------------------------------------------- boutons */

:root:not([data-psu-theme="light"]) .wp-block-button__link:is([href*="contact"], [href*="devis"], [href*="reserv"], [href*="appel-decouverte"], [href*="carte-cadeau"], [href*="booking"]),
:root:not([data-psu-theme="light"]) div.wpforms-container-full .wpforms-form button[type=submit],
:root:not([data-psu-theme="light"]) button.wp-block-button__link[type=submit],
:root:not([data-psu-theme="light"]) .wp-block-button__link.psb-submit,
:root:not([data-psu-theme="light"]) .wp-block-button__link.psb-quote__submit,
:root:not([data-psu-theme="light"]) .wp-block-button__link.psu-modal__cta,
:root:not([data-psu-theme="light"]) .entry-content .psu-imm .is-featured a.psu-imm__tier-cta,
:root:not([data-psu-theme="light"]) a.psb-promo__cta,
:root:not([data-psu-theme="light"]) .psu-greviews__btn--solid,
:root:not([data-psu-theme="light"]) .psu-foot__btn--solid {
	background: #fff !important;
	color: #000 !important;
	box-shadow: 0 14px 34px -16px rgba(255, 255, 255, .45) !important;
}

:root:not([data-psu-theme="light"]) .wp-block-button__link:hover,
:root:not([data-psu-theme="light"]) .wp-element-button:hover,
:root:not([data-psu-theme="light"]) div.wpforms-container-full .wpforms-form button[type=submit]:hover,
:root:not([data-psu-theme="light"]) .psu-greviews__btn:hover,
:root:not([data-psu-theme="light"]) .entry-content .psu-imm a.psu-imm__tier-cta:hover,
:root:not([data-psu-theme="light"]) a.psb-promo__cta:hover,
:root:not([data-psu-theme="light"]) .site-footer a.psu-foot__btn:hover,
:root:not([data-psu-theme="light"]) .site-footer a.psu-foot__btn--solid:hover {
	background: #e6e6e6 !important;
	border-color: #e6e6e6 !important;
	color: #000 !important;
	box-shadow: 0 16px 38px -14px rgba(255, 255, 255, .4) !important;
}

/* Le reflet doré n'a plus lieu d'être sur un bouton blanc. */
:root:not([data-psu-theme="light"]) .wp-block-button__link::before,
:root:not([data-psu-theme="light"]) div.wpforms-container-full .wpforms-form button[type=submit]::before,
:root:not([data-psu-theme="light"]) a.psb-promo__cta::before,
:root:not([data-psu-theme="light"]) .psu-greviews__btn--solid::before,
:root:not([data-psu-theme="light"]) .psu-imm a.psu-imm__tier-cta::before,
:root:not([data-psu-theme="light"]) .psu-foot__btn--solid::after {
	content: none !important;
	animation: none !important;
}

:root:not([data-psu-theme="light"]) .wp-block-cover .wp-block-button__link:not(:hover) {
	border-color: rgba(255, 255, 255, .85) !important;
}

/* ---------------------------------------------------------------- pied de page (noir) */

:root:not([data-psu-theme="light"]) .psu-foot {
	--pf-bg: #000;
	--pf-bg-2: #0b0b0b;
	--pf-text: #fff;
	--pf-muted: #b8b8b8;
	--pf-gold: #fff;
	--pf-gold-2: #fff;
	--pf-line: rgba(255, 255, 255, .14);
}

:root:not([data-psu-theme="light"]) .psu-foot__body {
	background: linear-gradient(180deg, var(--pf-bg) 0%, var(--pf-bg-2) 100%) !important;
}

:root:not([data-psu-theme="light"]) .site-footer a.psu-foot__btn:not(.psu-foot__btn--solid),
:root:not([data-psu-theme="light"]) .psu-foot__btn:not(.psu-foot__btn--solid) {
	border-color: #fff;
	background: transparent;
	color: #fff !important;
}

:root:not([data-psu-theme="light"]) .psu-foot__arch {
	box-shadow: 0 0 0 1px rgba(255, 255, 255, .3), 0 24px 50px -20px rgba(0, 0, 0, .7);
}

:root:not([data-psu-theme="light"]) .psu-foot__social a {
	border-color: rgba(255, 255, 255, .35);
}

:root:not([data-psu-theme="light"]) .psu-foot__social a:hover {
	box-shadow: 0 10px 26px -10px rgba(255, 255, 255, .35);
}

/* ---------------------------------------------------------------- encarts */

:root:not([data-psu-theme="light"]) .psu-door__kicker,
:root:not([data-psu-theme="light"]) .psb-card__label,
:root:not([data-psu-theme="light"]) .psb-card__code {
	color: #fff;
}

:root:not([data-psu-theme="light"]) .psu-door:hover,
:root:not([data-psu-theme="light"]) .psu-door:focus-visible {
	border-color: rgba(255, 255, 255, .55);
	box-shadow: 0 30px 70px -28px rgba(255, 255, 255, .3);
}

:root:not([data-psu-theme="light"]) .psu-greviews__stars::before {
	background: linear-gradient(90deg, #fff calc(var(--r) / 5 * 100%), var(--psu-line-strong) 0);
	-webkit-background-clip: text;
	background-clip: text;
}

:root:not([data-psu-theme="light"]) .side-nav .navbar-nav .current-menu-item > a,
:root:not([data-psu-theme="light"]) .side-nav .navbar-nav .current-menu-ancestor > a {
	color: #fff !important;
	border-color: #fff !important;
}

/* Pastille « places restantes » de l'encart escapade : halo blanc au lieu du doré. */
:root:not([data-psu-theme="light"]) [class*="psb-promo"] {
	--pp-gold: #fff;
}

@keyframes psu-dark-pulse {
	0%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .45); }
	50%      { box-shadow: 0 0 0 7px rgba(255, 255, 255, 0); }
}

:root:not([data-psu-theme="light"]) .psb-promo__seats {
	animation-name: psu-dark-pulse;
}

/* ---------------------------------------------------------------- boutons plus visibles en noir
   (Laura, 2026-11-01 : « pas assez mis en avant »). Actions principales : blanc plein, plus grandes,
   halo blanc qui respire doucement. Autres : liseré blanc franc et fond légèrement éclairé. */

:root:not([data-psu-theme="light"]) .wp-block-button__link:is([href*="contact"], [href*="devis"], [href*="reserv"], [href*="appel-decouverte"], [href*="carte-cadeau"], [href*="booking"]),
:root:not([data-psu-theme="light"]) div.wpforms-container-full .wpforms-form button[type=submit],
:root:not([data-psu-theme="light"]) button.wp-block-button__link[type=submit],
:root:not([data-psu-theme="light"]) .wp-block-button__link.psb-submit,
:root:not([data-psu-theme="light"]) .wp-block-button__link.psb-quote__submit,
:root:not([data-psu-theme="light"]) .wp-block-button__link.psu-modal__cta,
:root:not([data-psu-theme="light"]) .entry-content .psu-imm .is-featured a.psu-imm__tier-cta,
:root:not([data-psu-theme="light"]) a.psb-promo__cta,
:root:not([data-psu-theme="light"]) .psu-greviews__btn--solid,
:root:not([data-psu-theme="light"]) .site-footer a.psu-foot__btn--solid,
:root:not([data-psu-theme="light"]) .psu-foot__btn--solid {
	padding: 1.08em 2.1em !important;
	font-size: 15.5px !important;
	font-weight: 700 !important;
	border: 0 !important;
	background: #fff !important;
	color: #000 !important;
	box-shadow: 0 0 0 5px rgba(255, 255, 255, .16), 0 0 34px rgba(255, 255, 255, .28) !important;
	animation: psu-dark-halo 3.2s ease-in-out infinite;
}

@keyframes psu-dark-halo {
	0%, 100% { box-shadow: 0 0 0 4px rgba(255, 255, 255, .14), 0 0 26px rgba(255, 255, 255, .2); }
	50%      { box-shadow: 0 0 0 9px rgba(255, 255, 255, .07), 0 0 46px rgba(255, 255, 255, .38); }
}

:root:not([data-psu-theme="light"]) .wp-block-button__link:is([href*="contact"], [href*="devis"], [href*="reserv"], [href*="appel-decouverte"], [href*="carte-cadeau"], [href*="booking"]):hover,
:root:not([data-psu-theme="light"]) div.wpforms-container-full .wpforms-form button[type=submit]:hover,
:root:not([data-psu-theme="light"]) button.wp-block-button__link[type=submit]:hover,
:root:not([data-psu-theme="light"]) .psu-greviews__btn--solid:hover,
:root:not([data-psu-theme="light"]) a.psb-promo__cta:hover,
:root:not([data-psu-theme="light"]) .site-footer a.psu-foot__btn--solid:hover {
	background: #fff !important;
	transform: translateY(-3px) scale(1.03);
	box-shadow: 0 0 0 6px rgba(255, 255, 255, .25), 0 0 54px rgba(255, 255, 255, .5) !important;
	animation: none;
}

/* Autres boutons : liseré blanc franc. */
:root:not([data-psu-theme="light"]) .wp-block-button__link,
:root:not([data-psu-theme="light"]) .entry-content .psu-imm a.psu-imm__tier-cta,
:root:not([data-psu-theme="light"]) .psu-greviews__btn:not(.psu-greviews__btn--solid),
:root:not([data-psu-theme="light"]) .site-footer a.psu-foot__btn:not(.psu-foot__btn--solid) {
	border: 1.5px solid rgba(255, 255, 255, .9) !important;
	background: rgba(255, 255, 255, .1) !important;
	color: #fff !important;
	font-weight: 600 !important;
}

@media (prefers-reduced-motion: reduce) {
	:root:not([data-psu-theme="light"]) .wp-block-button__link,
	:root:not([data-psu-theme="light"]) div.wpforms-container-full .wpforms-form button[type=submit],
	:root:not([data-psu-theme="light"]) a.psb-promo__cta,
	:root:not([data-psu-theme="light"]) .psu-greviews__btn--solid,
	:root:not([data-psu-theme="light"]) .psu-foot__btn--solid {
		animation: none !important;
	}
}
