/* Legal Page Styles */
.legal-main {
	background: linear-gradient(180deg, #ffffff 0%, #E4E2DD 100%);
	padding: 120px 0 80px;
	min-height: 100vh;
}

.legal-main section {
	padding-top: 10px !important;
	padding-bottom: 10px !important;
}

.legal-content {
	max-width: 900px;
	margin: 0 auto;
	background: white;
	padding: 40px;
	border-radius: 20px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.legal-content h1 {
	font-size: 2.5rem;
	font-weight: 800;
	color: #202020;
	margin-bottom: 2rem;
	text-align: center;
	padding-bottom: 1rem;
	border-bottom: 3px solid #FE8E0F;
}

.legal-section {
	margin-bottom: 0 !important;
}

.legal-section h2 {
	font-size: 1.6rem;
	font-weight: 700;
	color: #202020;
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	gap: 0.8rem;
}

.section-number {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	background: #FE8E0F;
	color: white;
	border-radius: 50%;
	font-size: 1.2rem;
	font-weight: 700;
}

.legal-section h3 {
	font-size: 1.2rem;
	font-weight: 600;
	color: #202020;
	margin: 0 0 0;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.legal-section h3 i {
	color: #FE8E0F;
}

.legal-section p {
	font-size: 1.05rem;
	line-height: 1.6;
	color: #555;
	margin-bottom: 0.8rem !important;
}

.legal-section br {
	line-height: 1;
	margin: 0;
	padding: 0;
	display: block;
	content: "";
}

/* Listes */
.legal-section ul {
	margin: 0.5rem 0 0.5rem 1rem;
	list-style: none;
}

.legal-section ul li {
	font-size: 1.05rem;
	line-height: 1.6;
	color: #555;
	margin-bottom: 0.5rem;
	padding-left: 1.5rem;
	position: relative;
}

.legal-section ul li::before {
	content: '→';
	position: absolute;
	left: 0;
	color: #FE8E0F;
	font-weight: 700;
}

.legal-section a {
	color: #FE8E0F;
	text-decoration: none;
	font-weight: 600;
}

.legal-section a:hover {
	text-decoration: underline;
}

.legal-section strong {
	color: #202020;
	font-weight: 700;
}

/* Info Boxes */
.info-box {
	background: #F8F8F8;
	padding: 1.2rem 1rem;
	border-radius: 10px;
	border-left: 4px solid #FE8E0F;
	margin: 1rem 0;
	line-height: 1.4;
}

.contact-info {
	background: #F8F8F8;
	padding: 1rem 1.2rem;
	border-radius: 8px;
	margin: 1rem 0;
}

.contact-info br {
	display: block;
	margin-bottom: -4rem;
}

.note {
	background: #E3F2FD;
	padding: 0.8rem 1rem;
	border-radius: 8px;
	margin-top: 0.5rem;
	font-size: 0.95rem;
	display: flex;
	align-items: flex-start;
	gap: 0.8rem;
}

.note i {
	color: #2196F3;
	margin-top: 0.2rem;
	flex-shrink: 0;
}

/* Highlight Section (RGPD) */
.highlight-section {
	background: #FFF5E6;
	padding: 2rem;
	border-radius: 15px;
	border: 2px solid #FE8E0F;
}

.data-box {
	background: white;
	padding: 0.8rem;
	border-radius: 10px;
	margin: 0.8rem 0;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Cookies Section */
.cookies-section {
	background: #E8F5E9;
	padding: 0.8rem;
	border-radius: 15px;
	border: 2px solid #4CAF50;
	margin-bottom: 0.8rem;
}

.success-box {
	display: flex;
	align-items: center;
	gap: 1rem;
	background: white;
	padding: 0.8rem;
	border-radius: 10px;
}

.success-box i {
	font-size: 2.5rem;
	color: #4CAF50;
	flex-shrink: 0;
}

.success-box p {
	margin: 0;
	font-size: 1.05rem;
}

/* Back Button */
.back-home {
	text-align: center;
	margin-top: 2rem;
	padding-top: 3rem;
	padding-bottom: 1.5rem;
	border-top: 2px solid #E4E2DD;
}

.btn-back {
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
	background: #FE8E0F;
	color: white;
	padding: 0.8rem 2rem;
	border-radius: 50px;
	text-decoration: none;
	font-weight: 600;
	font-size: 1.05rem;
	transition: all 0.3s ease;
	box-shadow: 0 4px 15px rgba(254, 142, 15, 0.3);
}

.btn-back:hover {
	background: #202020;
	transform: translateY(-3px);
	box-shadow: 0 8px 25px rgba(32, 32, 32, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
	.legal-main {
		padding: 100px 0 60px;
	}

	.legal-content {
		padding: 40px 20px;
		margin: 0 10px;
	}

	.legal-content h1 {
		font-size: 2rem;
	}

	.legal-section h2 {
		font-size: 1.3rem;
	}

	.section-number {
		min-width: 35px;
		height: 35px;
		font-size: 1rem;
	}

	.legal-section p,
	.legal-section ul li {
		font-size: 1rem;
	}

	.info-box,
	.data-box {
		padding: 1rem;
	}

	.highlight-section,
	.cookies-section {
		padding: 1rem;
	}

	.success-box {
		flex-direction: column;
		text-align: center;
	}
}