/* ==========================================================================
   Boutons façon Apple (12/11/2026), tout le site. Chargé en dernier (functions.php).
   Principal : rouge plein, sans reflet blanc, relief par les ombres, se soulève au survol (fonce d'un cran).
   Secondaire : contour fin bleu nuit, relief par une ombre douce, se soulève au survol (se remplit en bleu nuit).
   Retirer ce fichier = retour aux boutons d'avant.
   ========================================================================== */

/* --- Principal --- */
.cq-btn--primaire, .cq-bouton:not(.cq-bouton--secondaire), .cq-en-tete__devis,
.a-cta, .lg-btn, .cq-cas__devis, .wp-block-button:not(.is-style-secondaire):not(.is-style-blanc) .wp-block-button__link {
	background: #C4232F !important;
	background-image: none !important;
	color: #FFFFFF !important;
	border: 0 !important;
	box-shadow: inset 0 -2px 0 rgba(90, 10, 18, .20), 0 1px 1px rgba(110, 15, 22, .14), 0 3px 6px rgba(110, 15, 22, .12), 0 8px 16px rgba(110, 15, 22, .10) !important;
	transform: none;
	transition: transform .35s cubic-bezier(.25, .1, .25, 1), box-shadow .35s cubic-bezier(.25, .1, .25, 1), background-color .25s ease, color .25s ease !important;
}
.cq-btn--primaire:hover, .cq-bouton:not(.cq-bouton--secondaire):hover, .cq-en-tete__devis:hover,
.a-cta:hover, .lg-btn:hover, .cq-cas__devis:hover, .wp-block-button:not(.is-style-secondaire):not(.is-style-blanc) .wp-block-button__link:hover {
	background: #A51C27 !important;
}
/* Pas de reflet qui traverse */
.cq-btn--primaire::before, .cq-bouton::before, .cq-en-tete__devis::before { content: none !important; }

/* --- Secondaire --- */
.cq-btn--clair, .a-pill2, .cq-bouton--secondaire, .lg-sec, .cq-cas__ouvrir,
.is-style-secondaire .wp-block-button__link {
	background: transparent !important;
	background-image: none !important;
	color: #0E1B3D !important;
	border: 0 !important;
	box-shadow: inset 0 0 0 1.5px #0E1B3D, 0 1px 1px rgba(14, 27, 61, .08), 0 3px 6px rgba(14, 27, 61, .07), 0 8px 16px rgba(14, 27, 61, .06) !important;
	transform: none;
	transition: transform .35s cubic-bezier(.25, .1, .25, 1), box-shadow .35s cubic-bezier(.25, .1, .25, 1), background-color .25s ease, color .25s ease !important;
}
.cq-btn--clair:hover, .a-pill2:hover, .cq-bouton--secondaire:hover, .lg-sec:hover, .cq-cas__ouvrir:hover,
.is-style-secondaire .wp-block-button__link:hover {
	background: #0E1B3D !important;
	color: #FFFFFF !important;
}
.cq-btn--clair:hover .cq-fleche, .a-pill2:hover .cq-fleche { color: inherit; }

/* Sur fond bleu nuit (encart de l'exemple Valmont, bandeaux sombres) : contour blanc */
.cq-cas__fin .cq-btn--clair, [style*="background: #0E1B3D"] .cq-btn--clair, [style*="background: rgb(14, 27, 61)"] .cq-btn--clair {
	color: #FFFFFF !important;
	box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .85) !important;
}
.cq-cas__fin .cq-btn--clair:hover, [style*="background: #0E1B3D"] .cq-btn--clair:hover, [style*="background: rgb(14, 27, 61)"] .cq-btn--clair:hover {
	background: #FFFFFF !important;
	color: #0E1B3D !important;
}

/* Survol : les deux boutons se soulèvent de 2 px, l'ombre s'agrandit */
@media (prefers-reduced-motion: no-preference) {
	.cq-btn--primaire:hover, .cq-bouton:not(.cq-bouton--secondaire):hover, .cq-en-tete__devis:hover, .a-cta:hover, .lg-btn:hover, .cq-cas__devis:hover, .wp-block-button:not(.is-style-secondaire):not(.is-style-blanc) .wp-block-button__link:hover {
		transform: translateY(-2px) !important;
		box-shadow: inset 0 -2px 0 rgba(90, 10, 18, .20), 0 2px 2px rgba(110, 15, 22, .14), 0 6px 12px rgba(110, 15, 22, .14), 0 14px 26px rgba(110, 15, 22, .12) !important;
	}
	.cq-btn--clair:hover, .a-pill2:hover, .cq-bouton--secondaire:hover, .lg-sec:hover, .cq-cas__ouvrir:hover, .is-style-secondaire .wp-block-button__link:hover {
		transform: translateY(-2px) !important;
		box-shadow: inset 0 0 0 1.5px #0E1B3D, 0 2px 2px rgba(14, 27, 61, .10), 0 6px 12px rgba(14, 27, 61, .10), 0 14px 26px rgba(14, 27, 61, .08) !important;
	}
}

/* Clic : léger enfoncement, sans saut */
@media (prefers-reduced-motion: no-preference) {
	.cq-btn:active, .cq-bouton:active, .cq-en-tete__devis:active, .a-cta:active, .a-pill2:active { opacity: .85; }
}
