/*--------------------- PAGE FOOT ------------------------*/

/* === Styles globaux contact footer === */
.foot_contact_item {
	position: relative;
	font-family: verdana, sans-serif;
	font-size: 12px;
	color: white;
	margin-bottom: 12px;
	text-align: left;
	display: flex;
	align-items: flex-start;
	gap: 10px;
}
.foot_contact_icon {
	background: #ad1628;
	color: white;
	padding: 8px 10px;
	border-radius: 3px;
	font-size: 14px;
	min-width: 16px;
	text-align: center;
}
.foot_contact_item span {
	line-height: 1.6;
	padding-top: 5px;
}


/*--------------------------------------- 320 --------------------------------------*/

@media screen and (min-width: 320px){

body {
	position: relative;
	padding: 0;
	margin: 0;
}

#foot {
	position: relative;
	width: 100%;
}

	#foot_head { }

	#foot_body {
		position: relative;
		background: #181818;
		width: 100%;
		padding: 30px 15px 30px;
	}

		/* --- Bloc A propos --- */
		#foot_body_block_1 {
			position: relative;
			width: 100%;
			text-align: center;
			margin-bottom: 30px;
		}
			#foot_body_block_1_titre {
				position: relative;
				font-family: century gothic, sans-serif;
				font-size: 22px;
				font-variant: small-caps;
				color: white;
				margin-bottom: 15px;
			}
				#foot_body_block_1_titre_trait {
					position: relative;
					background: #ad1628;
					width: 150px;
					height: 2px;
					margin: 10px auto 0;
				}
			#foot_body_block_1_logo_img {
				position: relative;
				width: 140px;
				height: 40px;
				margin-top: 15px;
			}
			#foot_body_block_1_detail {
				position: relative;
				font-family: century gothic, sans-serif;
				font-size: 11px;
				text-align: center;
				color: #ccc;
				margin-top: 10px;
				padding: 0 10px;
				line-height: 1.7;
			}

		/* --- Bloc Contact --- */
		#foot_body_block_2 {
			position: relative;
			width: 100%;
			text-align: center;
		}
			#foot_body_block_2_titre {
				position: relative;
				font-family: century gothic, sans-serif;
				font-size: 22px;
				font-variant: small-caps;
				color: white;
				margin-bottom: 15px;
			}
				#foot_body_block_2_titre_trait {
					position: relative;
					background: #ad1628;
					width: 150px;
					height: 2px;
					margin: 10px auto 0;
				}
			#foot_body_block_2_1 {
				position: relative;
				margin-top: 20px;
				max-width: 350px;
				margin-left: auto;
				margin-right: auto;
			}

		.foot_contact_item {
			justify-content: center;
		}

	/* --- Bas du footer --- */
	#foot_foot {
		position: relative;
		background: #0d0d0d;
		width: 100%;
		padding: 15px 10px;
		text-align: center;
	}
		#foot_foot_text {
			font-family: verdana, sans-serif;
			font-size: 10px;
			color: #888;
		}
}


/*--------------------------------------- 480 --------------------------------------*/

@media screen and (min-width: 480px){

	#foot_body_block_1_titre { font-size: 24px; }
	#foot_body_block_2_titre { font-size: 24px; }
	#foot_body_block_1_detail { font-size: 12px; }
	.foot_contact_item { font-size: 13px; }
}


/*--------------------------------------- 768 --------------------------------------*/

@media screen and (min-width: 768px){

	#foot_body {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		gap: 40px;
		padding: 40px 30px 40px;
	}

	#foot_body_block_1 {
		width: 45%;
		max-width: 400px;
		text-align: left;
		margin-bottom: 0;
	}
		#foot_body_block_1_titre_trait {
			margin: 10px 0 0;
		}
		#foot_body_block_1_detail {
			text-align: left;
			padding: 0;
		}

	#foot_body_block_2 {
		width: 45%;
		max-width: 400px;
		text-align: left;
	}
		#foot_body_block_2_titre_trait {
			margin: 10px 0 0;
		}
		#foot_body_block_2_1 {
			margin-left: 0;
			margin-right: 0;
		}
		.foot_contact_item {
			justify-content: flex-start;
		}

	#foot_foot_text { font-size: 11px; }
}


/*--------------------------------------- 980 --------------------------------------*/

@media screen and (min-width: 980px){

	#foot_body {
		gap: 80px;
		padding: 50px 50px 50px;
	}

	#foot_body_block_1 { max-width: 420px; }
	#foot_body_block_2 { max-width: 420px; }

	#foot_body_block_1_titre { font-size: 26px; }
	#foot_body_block_2_titre { font-size: 26px; }
	#foot_body_block_1_detail { font-size: 13px; }
	.foot_contact_item { font-size: 14px; }

	#foot_foot_text { font-size: 12px; }
}


/*--------------------------------------- 1136 --------------------------------------*/

@media screen and (min-width: 1136px){

	#foot_body {
		gap: 120px;
		padding: 50px 80px 50px;
	}

	#foot_body_block_1 { max-width: 450px; }
	#foot_body_block_2 { max-width: 450px; }
}


/* ================================================================ */
/* ===== WIDGET WHATSAPP (couleurs & fonts Kimia Soft)        ===== */
/* ================================================================ */

/* --- Container --- */
#wa_widget {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 99999;
	font-family: verdana, sans-serif;
}

/* --- FAB Button --- */
#wa_fab {
	position: relative;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: linear-gradient(135deg, #ad1628, #d63851);
	border: none;
	cursor: pointer;
	box-shadow: 0 4px 18px rgba(173,22,40,0.35);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
	outline: none;
	z-index: 2;
}
#wa_fab:hover {
	box-shadow: 0 6px 28px rgba(173,22,40,0.5);
	transform: scale(1.05);
}
#wa_fab_icon_wa {
	transition: transform 0.3s ease, opacity 0.3s ease;
}
#wa_fab_icon_close {
	position: absolute;
	opacity: 0;
	transform: rotate(-90deg) scale(0.5);
	transition: transform 0.3s ease, opacity 0.3s ease;
}
#wa_widget.wa_active #wa_fab_icon_wa {
	opacity: 0;
	transform: rotate(90deg) scale(0.5);
}
#wa_widget.wa_active #wa_fab_icon_close {
	opacity: 1;
	transform: rotate(0deg) scale(1);
}
#wa_widget.wa_active #wa_fab {
	background: linear-gradient(135deg, #1a1a2e, #0f3460);
	box-shadow: 0 4px 18px rgba(26,26,46,0.4);
}

/* --- Badge notification --- */
#wa_badge {
	display: none;
	position: absolute;
	bottom: 44px;
	right: 0;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #e94560;
	color: #fff;
	font-family: verdana, sans-serif;
	font-size: 12px;
	font-weight: bold;
	align-items: center;
	justify-content: center;
	box-shadow: 0 2px 8px rgba(233,69,96,0.35);
	z-index: 3;
	pointer-events: none;
	animation: wa_badge_bounce 1s ease infinite;
}
@keyframes wa_badge_bounce {
	0%, 100% { transform: scale(1); }
	50% { transform: scale(1.15); }
}

/* --- Chat Panel --- */
#wa_chat {
	position: absolute;
	bottom: 75px;
	right: 0;
	width: 360px;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 12px 50px rgba(26,26,46,0.22);
	opacity: 0;
	visibility: hidden;
	transform: translateY(20px) scale(0.95);
	transform-origin: bottom right;
	transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 4;
}
#wa_chat.wa_open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) scale(1);
}

/* --- Chat Header --- */
#wa_chat_header {
	background: linear-gradient(135deg, #1a1a2e 0%, #0f3460 100%);
	padding: 16px 18px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
#wa_chat_header_left {
	display: flex;
	align-items: center;
	gap: 12px;
}
#wa_chat_avatar {
	position: relative;
	width: 42px;
	height: 42px;
	flex-shrink: 0;
}
#wa_chat_avatar_img {
	width: 42px;
	height: 42px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid rgba(233,69,96,0.4);
}
#wa_chat_online {
	position: absolute;
	bottom: 1px;
	right: 1px;
	width: 10px;
	height: 10px;
	background: #25d366;
	border-radius: 50%;
	border: 2px solid #1a1a2e;
}
#wa_chat_name {
	color: #fff;
	font-family: century gothic, 'Segoe UI', sans-serif;
	font-size: 15px;
	font-weight: bold;
	line-height: 1.2;
}
#wa_chat_status {
	color: rgba(255,255,255,0.55);
	font-family: verdana, sans-serif;
	font-size: 11px;
	margin-top: 2px;
	letter-spacing: 0.3px;
}
#wa_chat_close {
	background: none;
	border: none;
	color: rgba(255,255,255,0.5);
	font-size: 26px;
	cursor: pointer;
	padding: 0;
	line-height: 1;
	transition: color 0.2s;
}
#wa_chat_close:hover {
	color: #e94560;
}

/* --- Chat Body (conversation) --- */
#wa_chat_body {
	position: relative;
	background: #f8f9fc;
	padding: 20px 16px;
	min-height: 140px;
}
#wa_chat_bg {
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%231a1a2e' fill-opacity='0.03'%3E%3Ccircle cx='10' cy='10' r='1.5'/%3E%3Ccircle cx='40' cy='10' r='1.5'/%3E%3Ccircle cx='25' cy='25' r='1.5'/%3E%3Ccircle cx='55' cy='25' r='1.5'/%3E%3Ccircle cx='10' cy='40' r='1.5'/%3E%3Ccircle cx='40' cy='40' r='1.5'/%3E%3Ccircle cx='25' cy='55' r='1.5'/%3E%3Ccircle cx='55' cy='55' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
	pointer-events: none;
}
#wa_chat_bubble {
	position: relative;
	background: #fff;
	border-radius: 0 10px 10px 10px;
	padding: 12px 16px 8px;
	max-width: 85%;
	box-shadow: 0 2px 8px rgba(26,26,46,0.06);
	border: 1px solid #eef0f5;
	animation: wa_bubble_in 0.4s ease 0.3s both;
}
#wa_chat_bubble::before {
	content: '';
	position: absolute;
	top: 0;
	left: -8px;
	width: 0;
	height: 0;
	border-top: 0 solid transparent;
	border-bottom: 8px solid transparent;
	border-right: 8px solid #fff;
}
#wa_chat_bubble_name {
	font-family: century gothic, sans-serif;
	font-size: 13px;
	font-weight: bold;
	color: #ad1628;
	margin-bottom: 4px;
}
#wa_chat_bubble_text {
	font-family: verdana, sans-serif;
	font-size: 13px;
	color: #333;
	line-height: 1.6;
}
#wa_chat_bubble_time {
	font-family: verdana, sans-serif;
	font-size: 10px;
	color: #aaa;
	text-align: right;
	margin-top: 5px;
}
@keyframes wa_bubble_in {
	from { opacity: 0; transform: translateY(10px) scale(0.95); }
	to { opacity: 1; transform: translateY(0) scale(1); }
}

/* --- Chat Footer (input) --- */
#wa_chat_footer {
	background: #eef0f5;
	padding: 10px 12px;
}
#wa_chat_form {
	display: flex;
	align-items: center;
	gap: 8px;
}
#wa_chat_input {
	flex: 1;
	border: 1px solid #dde0e6;
	border-radius: 20px;
	padding: 10px 16px;
	font-family: verdana, sans-serif;
	font-size: 13px;
	background: #fff;
	outline: none;
	color: #333;
	transition: border-color 0.3s, box-shadow 0.3s;
}
#wa_chat_input:focus {
	border-color: #ad1628;
	box-shadow: 0 0 0 3px rgba(173,22,40,0.08);
}
#wa_chat_input::placeholder {
	color: #999;
	font-family: verdana, sans-serif;
	font-size: 12px;
}
#wa_chat_send {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: linear-gradient(135deg, #ad1628, #d63851);
	border: none;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: all 0.2s;
	box-shadow: 0 2px 8px rgba(173,22,40,0.25);
}
#wa_chat_send:hover {
	background: linear-gradient(135deg, #8b1120, #ad1628);
	transform: scale(1.05);
	box-shadow: 0 4px 12px rgba(173,22,40,0.35);
}

/* --- Pulse animation on FAB --- */
#wa_fab::after {
	content: '';
	position: absolute;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: rgba(173,22,40,0.25);
	animation: wa_pulse 2s ease-out infinite;
	pointer-events: none;
}
#wa_widget.wa_active #wa_fab::after {
	animation: none;
	opacity: 0;
}
@keyframes wa_pulse {
	0% { transform: scale(1); opacity: 0.6; }
	100% { transform: scale(1.6); opacity: 0; }
}


/* --- RESPONSIVE --- */
@media screen and (max-width: 479px){
	#wa_widget { bottom: 16px; right: 16px; }
	#wa_fab { width: 54px; height: 54px; }
	#wa_fab_icon_wa { width: 26px; height: 26px; }
	#wa_chat {
		width: calc(100vw - 32px);
		right: 0;
		bottom: 70px;
		border-radius: 12px;
	}
	#wa_chat_header { padding: 14px 14px; }
	#wa_chat_avatar, #wa_chat_avatar_img { width: 38px; height: 38px; }
	#wa_chat_name { font-size: 14px; }
	#wa_badge { width: 20px; height: 20px; font-size: 11px; bottom: 40px; }
}

