/* Fond d'écran responsive */
body {
	font-family: Arial, sans-serif;
	line-height: 1.6;
	margin: 0;
	padding: 0;
	background: url('../Fonds-Ecran/Fond-Ecran-contact.webp') no-repeat center center fixed;
	background-size: cover;
	min-height: 100vh;
	display: flex;
	justify-content: center;
	align-items: center;
	color: #333;
}

/* Conteneur du formulaire avec fond semi-transparent */
.form-overlay {
	background-color: rgba(255, 255, 255, 0.9);
	max-width: 600px;
	width: 90%;
	margin: 20px;
	padding: 30px;
	border-radius: 10px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(5px);
}

h1 {
	text-align: center;
	color: #2c3e50;
	margin-bottom: 25px;
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 8px;
	font-weight: bold;
	color: #2c3e50;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 16px;
	box-sizing: border-box;
	background-color: rgba(255, 255, 255, 0.8);
}

.form-group textarea {
	resize: vertical;
	min-height: 120px;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group textarea:focus {
	outline: none;
	border-color: #3498db;
	box-shadow: 0 0 8px rgba(52, 152, 219, 0.6);
	background-color: white;
}

.checkbox-group {
	display: flex;
	align-items: center;
	gap: 10px;
}

.checkbox-group input[type="checkbox"] {
	width: auto;
	margin-right: 10px;
}

.checkbox-group label {
	margin-bottom: 0;
	font-weight: normal;
	cursor: pointer;
	color: #2c3e50;
}

.submit-btn {
	display: block;
	width: 100%;
	padding: 14px;
	background-color: #2c3e50;
	color: white;
	border: none;
	border-radius: 4px;
	font-size: 16px;
	cursor: pointer;
	transition: background-color 0.3s, transform 0.2s;
	font-weight: bold;
}

.submit-btn:hover {
	background-color: #1a252f;
	transform: translateY(-2px);
}

/* Styles pour le captcha */
.captcha-container {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 10px;
}

.captcha-box {
	background-color: rgba(255, 255, 255, 0.8);
	border: 1px solid #ccc;
	padding: 12px 15px;
	border-radius: 4px;
	font-family: 'Courier New', monospace;
	font-size: 24px;
	font-weight: bold;
	letter-spacing: 6px;
	color: #2c3e50;
	text-transform: uppercase;
	user-select: none;
	cursor: default;
	min-width: 180px;
	text-align: center;
	box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.captcha-refresh {
	background: rgba(255, 255, 255, 0.5);
	border: 1px solid #ccc;
	cursor: pointer;
	color: #2c3e50;
	font-size: 14px;
	padding: 8px 12px;
	border-radius: 4px;
	transition: all 0.2s;
}

.captcha-refresh:hover {
	background: rgba(255, 255, 255, 0.8);
	color: #3498db;
}

.captcha-input {
	width: 100%;
	padding: 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	font-size: 16px;
	box-sizing: border-box;
	background-color: rgba(255, 255, 255, 0.8);
}

.captcha-input:focus {
	outline: none;
	border-color: #3498db;
	box-shadow: 0 0 8px rgba(52, 152, 219, 0.6);
	background-color: white;
}

/* Adaptation pour mobile */
@media (max-width: 768px) {
	.form-overlay {
		margin: 10px;
		padding: 20px;
	}

	.captcha-container {
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.captcha-box {
		width: 50%;
		text-align: center;
	}
}