/* ==========================================================================
   Style « Apple », tout le site (12/11/2026, validé sur l'accueil).
   Aplats (aucun dégradé), grands arrondis, ombres douces, survols discrets.
   Classes posées par assets/js/survols.js : .cq-carte-lien / .cq-carte-zone (cartes cliquables),
   .cq-carte-fixe (encadrés), .cq-pastille--rose|brume|blanc (étiquettes).
   Chargé en dernier (functions.php, priorité 20). Retirer = retour à l'état d'avant.
   ========================================================================== */

/* --- Cartes cliquables : grands arrondis, sans bordure visible, ombre douce, léger agrandissement --- */
.a-card:not([style*="999px"]), .pg-card, .pg-c1, .cq-carte-lien:not([style*="999px"]), .cq-carte-zone, a.is-style-carte {
	border-radius: 22px !important;
	border-color: transparent !important;
	box-shadow: 0 2px 6px rgba(14, 27, 61, .04), 0 8px 28px rgba(14, 27, 61, .06) !important;
	transition: transform .4s cubic-bezier(.25, .1, .25, 1), box-shadow .4s cubic-bezier(.25, .1, .25, 1) !important;
}
.a-card:not([style*="999px"]), .pg-card, .pg-c1, .cq-carte-lien:not([style*="999px"]) { overflow: hidden; }
.a-card:not([style*="999px"]):hover, .pg-card:hover, .pg-c1:hover, .cq-carte-lien:not([style*="999px"]):hover, .cq-carte-zone:hover, a.is-style-carte:hover {
	border-color: transparent !important;
	box-shadow: 0 4px 10px rgba(14, 27, 61, .05), 0 18px 48px rgba(14, 27, 61, .12) !important;
}
@media (prefers-reduced-motion: no-preference) {
	.a-card:not([style*="999px"]):hover, .pg-card:hover, .pg-c1:hover, .cq-carte-lien:not([style*="999px"]):hover, .cq-carte-zone:hover, a.is-style-carte:hover { transform: scale(1.02) !important; }
	:is(.a-card, .pg-card, .pg-c1, .cq-carte-lien) img { transition: transform .6s cubic-bezier(.25, .1, .25, 1); }
	:is(.a-card, .pg-card, .pg-c1, .cq-carte-lien):hover img { transform: scale(1.03); }
}

/* --- Encadrés non cliquables (récapitulatifs, formulaires en carte, blocs d'info) : même allure, sans survol --- */
.cq-carte-fixe, .is-style-carte, .is-style-carte-blanche, .a-lb {
	border-radius: 22px !important;
	border-color: transparent !important;
	box-shadow: 0 2px 6px rgba(14, 27, 61, .04), 0 8px 28px rgba(14, 27, 61, .06) !important;
}

/* --- Photos de haut de page et captures : grands arrondis, ombre douce --- */
.a-photo, .pg-photo, .lg-cadre, .lg-capture, .cq-cas__ecran {
	border-radius: 22px !important;
	box-shadow: 0 20px 50px rgba(14, 27, 61, .12);
}

/* --- Verre sur ce qui flotte au-dessus d'une photo (encart « Soufiane Bouoiyour » de l'accueil) --- */
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	@media not (prefers-reduced-transparency: reduce) {
		.a-float {
			background: rgba(255, 255, 255, .62) !important;
			-webkit-backdrop-filter: saturate(1.8) blur(20px);
			backdrop-filter: saturate(1.8) blur(20px);
			border: 1px solid rgba(255, 255, 255, .6) !important;
			border-radius: 18px !important;
			box-shadow: 0 10px 30px rgba(14, 27, 61, .15) !important;
		}
	}
}

/* --- Étiquettes en pilule : volume par les ombres, verre à 35 %, soulèvement au survol --- */
.cq-pastille {
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -2px 0 rgba(14, 27, 61, .07), 0 1px 1px rgba(14, 27, 61, .08), 0 3px 6px rgba(14, 27, 61, .06), 0 8px 16px rgba(14, 27, 61, .05);
	transition: transform .35s cubic-bezier(.25, .1, .25, 1), box-shadow .35s cubic-bezier(.25, .1, .25, 1);
}
.cq-pastille--rose {
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), inset 0 -2px 0 rgba(196, 35, 47, .10), 0 1px 1px rgba(110, 15, 22, .10), 0 3px 6px rgba(110, 15, 22, .08), 0 8px 16px rgba(110, 15, 22, .06);
}
@media (prefers-reduced-motion: no-preference) {
	.cq-pastille:hover { transform: translateY(-2px); }
}
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
	@media not (prefers-reduced-transparency: reduce) {
		.cq-pastille { -webkit-backdrop-filter: saturate(1.6) blur(12px); backdrop-filter: saturate(1.6) blur(12px); }
		.cq-pastille--rose { background-color: rgba(252, 235, 236, .65) !important; }
		.cq-pastille--brume { background-color: rgba(234, 240, 251, .65) !important; }
		.cq-pastille--blanc { background-color: rgba(255, 255, 255, .65) !important; }
	}
}
/* Étiquette du titre de l'accueil seulement : un peu plus grande, avec l'icône de repère */
.home .a-sec.cq-d6303dc .a-tag { display: inline-flex; align-items: center; gap: 8px; height: 34px !important; padding: 0 16px 0 10px !important; }
.home .a-sec.cq-d6303dc .a-tag::before {
	content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%;
	background: #C4232F url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6-5.6-6-10.5A6 6 0 0 1 18 10.5C18 15.4 12 21 12 21z'/%3E%3Ccircle cx='12' cy='10.5' r='2'/%3E%3C/svg%3E") center / 12px no-repeat;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -1px 0 rgba(0, 0, 0, .18), 0 2px 4px rgba(110, 15, 22, .25);
}

/* Téléphone : une étiquette longue passe sur deux lignes sans être écrasée */
@media (max-width: 600px) {
	.a-tag, .home .a-sec.cq-d6303dc .a-tag { height: auto !important; min-height: 34px; padding: 6px 16px 6px 10px !important; border-radius: 18px !important; line-height: 1.35; }
}
