/* AFA – Courriel 1.1.0 */
.afa-courriel-fond {
	position: fixed; inset: 0; z-index: 2147483000;
	background: rgba(20, 42, 64, .55);
	display: flex; align-items: center; justify-content: center;
	padding: 16px;
	font-family: inherit;
}
.afa-courriel-boite {
	position: relative;
	background: #fff; color: #142A40;
	width: 100%; max-width: 420px; max-height: calc(100vh - 32px); overflow: auto;
	border-radius: 12px; border-top: 5px solid #C9A646;
	box-shadow: 0 18px 50px rgba(0,0,0,.3);
	padding: 22px 22px 18px;
	box-sizing: border-box;
	text-align: left;
}
.afa-courriel-boite h2 {
	font-family: 'Lora', Georgia, serif;
	font-size: 21px; line-height: 1.25; font-weight: 700;
	margin: 0 30px 6px 0; padding: 0; color: #142A40;
}
.afa-courriel-dest {
	margin: 0 0 14px; font-size: 14px; color: #4a5a6a; word-break: break-all;
}
.afa-courriel-choix { display: flex; flex-direction: column; gap: 8px; }
.afa-courriel-boite .afa-courriel-option {
	display: flex; flex-direction: column; align-items: flex-start; gap: 2px;
	width: 100%; margin: 0;
	padding: 11px 14px;
	background: #f7f5ef; color: #142A40;
	border: 1px solid #e0d6bd; border-radius: 8px;
	text-align: left; cursor: pointer;
	font: inherit; text-transform: none; letter-spacing: normal; box-shadow: none;
	transition: background .15s, border-color .15s;
}
.afa-courriel-boite .afa-courriel-option strong { font-size: 15px; font-weight: 700; color: #142A40; }
.afa-courriel-boite .afa-courriel-option small { font-size: 12.5px; color: #5b6b7b; line-height: 1.3; }
.afa-courriel-boite .afa-courriel-option:hover,
.afa-courriel-boite .afa-courriel-option:focus-visible {
	background: #eef0f8; border-color: #2E3F8F; outline: none;
}
.afa-courriel-boite .afa-courriel-option:focus-visible { box-shadow: 0 0 0 3px rgba(46,63,143,.3); }
.afa-courriel-boite .afa-courriel-copier { background: #fff; }
.afa-courriel-retenir {
	display: flex; align-items: center; gap: 6px;
	margin: 14px 0 0; font-size: 13.5px; color: #142A40; cursor: pointer;
}
.afa-courriel-retenir input { margin: 0; width: 16px; height: 16px; accent-color: #2E3F8F; }
.afa-courriel-boite .afa-courriel-fermer {
	position: absolute; top: 10px; right: 10px;
	width: 32px; height: 32px; padding: 0; margin: 0;
	border: 0; border-radius: 50%; background: transparent; color: #142A40;
	font-size: 24px; line-height: 32px; cursor: pointer; box-shadow: none;
}
.afa-courriel-boite .afa-courriel-fermer:hover { background: #f0ece1; }

.afa-courriel-bulle {
	position: fixed; left: 50%; bottom: 20px; z-index: 2147483001;
	transform: translate(-50%, 30px); opacity: 0; pointer-events: none;
	display: flex; align-items: center; gap: 12px;
	max-width: calc(100vw - 32px); box-sizing: border-box;
	background: #142A40; color: #fff;
	padding: 10px 14px 10px 16px; border-radius: 8px;
	font-size: 14px; line-height: 1.35;
	box-shadow: 0 8px 24px rgba(0,0,0,.25);
	transition: opacity .2s, transform .2s;
}
.afa-courriel-bulle.afa-courriel-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.afa-courriel-bulle button {
	background: transparent; color: #E0BE85; border: 1px solid #C9A646; border-radius: 5px;
	padding: 4px 10px; margin: 0; font: inherit; font-weight: 700; cursor: pointer; white-space: nowrap;
	text-transform: none; box-shadow: none;
}
.afa-courriel-bulle button:hover { background: rgba(201,166,70,.15); }

.afa-courriel-reset {
	background: #2E3F8F; color: #fff; border: 0; border-radius: 6px;
	padding: 9px 16px; font: inherit; font-weight: 600; cursor: pointer;
}
.afa-courriel-reset:hover { background: #142A40; }
