/* =========================================
   1. CHAT WHATSAPP
   ========================================= */
@media (max-width: 768px) {
	.whatsapp-chat-container {
		padding: 10px;
	}
	
	.whatsapp-chat {
		max-width: 100%;
	}
	
	.message {
		font-size: 13px;
		max-width: 90%;
	}
}

/* =========================================
   2. CITATION KNEIPP (Image Cover)
   ========================================= */
/* Sur PC : Pas d'ombre sur la citation */
@media screen and (min-width: 783px) {
	.wp-block-cover__inner-container p {
		text-shadow: none !important;
	}
}

/* Sur Mobile : Halo blanc, fond translucide et hauteur réduite */
@media screen and (max-width: 782px) {
	.wp-block-cover.aligncenter {
		min-height: 450px !important;
	}
	
	.wp-block-cover__inner-container {
		background-color: rgba(255, 255, 255, 0.2) !important;
		border-radius: 10px;
		padding: 15px !important;
	}
	
	.wp-block-cover__inner-container p {
		text-shadow: 0 0 5px #ffffff, 0 0 10px #ffffff, 0 0 15px #ffffff, 0 0 20px #ffffff !important;
		color: #000000 !important;
		font-weight: 600 !important;
	}
	
	.wp-block-cover p.has-xx-large-font-size {
		font-size: 1.3rem !important;
		line-height: 1.4 !important;
	}
}

/* =========================================
   3. HEADER & FOOTER SAUMON
   (Note de Gus : À supprimer quand on refera ces blocs en natif)
   ========================================= */
@media screen and (max-width: 782px) {
	/* Empilement Footer Saumon */
	.wp-block-group[style*="background-color:#eb6a5d"] .wp-block-group {
		flex-direction: column !important;
		flex-wrap: wrap !important;
		align-items: center !important;
		gap: 12px !important;
		display: flex !important;
	}
	
	/* Bouton Contact Header */
	.wp-block-button__link {
		white-space: nowrap !important;
		font-size: 11px !important;
		padding: 8px 12px !important;
	}
}

/* =========================================
   4. TYPOGRAPHIE & SÉCURITÉ GLOBALE
   ========================================= */
/* Aération de la lecture */
.wp-block-group p {
	line-height: 1.7;
	margin-bottom: 1.5em;
}

/* Sécurité anti-débordement horizontal */
body {
	overflow-x: hidden !important;
}

/* =========================================
   5. FIX MOBILE : Protection unifiée
   ========================================= */
@media screen and (max-width: 782px) {
	/* On protège tous les conteneurs et les blocs larges */
	.is-layout-constrained, 
		    .alignwide, 
		    .wp-block-group {
		padding-left: 10px !important;
		padding-right: 10px !important;
		box-sizing: border-box !important;
		width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
	}
}