:root {
	--bleu-france: #0055a4;
	--bleu-clair: #3b82f6;
	--bleu-pale: #dbeafe;
	--rouge-marianne: #ef4135;
	--rouge-fonce: #c81e1e;
	--blanc-pur: #ffffff;
	--gris-titre: #1e293b;
	--gris-texte: #475569;
	--gris-clair: #f8fafc;
	--blanc: #ffffff;
	--ombre: 0 4px 30px rgba(0, 85, 164, 0.1);
	--ombre-hover: 0 8px 40px rgba(0, 85, 164, 0.18);
	--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	/*scroll-behavior: smooth;*/
	font-size: 16px;
}

body {
	font-family: 'Source Sans 3', -apple-system, sans-serif;
	color: var(--gris-texte);
	line-height: 1.7;
	background: var(--blanc);
	overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
	font-family: 'Playfair Display', Georgia, serif;
	color: var(--gris-titre);
	line-height: 1.2;
}

/* Hero Section */
.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	position: relative;
	background: linear-gradient(135deg, var(--bleu-france) 0%, #003d7a 50%, #002855 100%);
	overflow: hidden;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: 
		radial-gradient(ellipse at 0% 50%, rgba(239, 65, 53, 0.25) 0%, transparent 50%),
		radial-gradient(ellipse at 100% 50%, rgba(0, 85, 164, 0.3) 0%, transparent 50%),
		radial-gradient(circle at 50% 100%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
	pointer-events: none;
}

/* Tricolor stripe */
.hero::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 6px;
	background: linear-gradient(90deg, var(--bleu-france) 33.33%, var(--blanc) 33.33%, var(--blanc) 66.66%, var(--rouge-marianne) 66.66%);
	z-index: 100;
}

.hero-content {
	position: relative;
	z-index: 2;
	max-width: 900px;
	margin: 0 auto;
	padding: 2rem;
	text-align: center;
}

.hero-badge {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: rgba(255, 255, 255, 0.15);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, 0.25);
	padding: 0.6rem 1.2rem;
	border-radius: 50px;
	color: var(--blanc);
	font-size: 0.85rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 2rem;
	animation: fadeInDown 0.8s ease-out;
}

.hero-badge::before {
	content: '🗳️';
}

.hero h1 {
	color: var(--blanc);
	font-size: clamp(2.5rem, 6vw, 4.5rem);
	font-weight: 800;
	margin-bottom: 1.5rem;
	animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero h1 span {
	color: var(--rouge-marianne);
	position: relative;
}

.hero-subtitle {
	color: rgba(255, 255, 255, 0.9);
	font-size: clamp(1.1rem, 2vw, 1.35rem);
	max-width: 700px;
	margin: 0 auto 2.5rem;
	animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-cta {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
	animation: fadeInUp 0.8s ease-out 0.6s both;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 1rem 2rem;
	border-radius: 8px;
	font-weight: 600;
	font-size: 1rem;
	text-decoration: none;
	transition: var(--transition);
	cursor: pointer;
	border: none;
}

.btn-primary {
	background: var(--rouge-marianne);
	color: var(--blanc);
}

.btn-primary:hover {
	background: var(--rouge-fonce);
	transform: translateY(-2px);
	box-shadow: 0 10px 30px rgba(239, 65, 53, 0.4);
}

.btn-secondary {
	background: transparent;
	color: var(--blanc);
	border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.5);
}

/* Alert Box */
.alert-box {
	background: linear-gradient(135deg, var(--bleu-france) 0%, var(--bleu-clair) 100%);
	color: var(--blanc);
	padding: 2rem;
	border-radius: 16px;
	margin: -80px auto 4rem;
	max-width: 900px;
	position: relative;
	z-index: 10;
	box-shadow: var(--ombre-hover);
	animation: fadeInUp 0.8s ease-out 0.8s both;
	border-top: 4px solid var(--rouge-marianne);
}

.alert-box p {
	font-size: 1.1rem;
	margin: 0;
}

.alert-box strong {
	color: #fef3c7;
}

/* Main Content */
main {
	max-width: 900px;
	margin: 0 auto;
	padding: 0 2rem 4rem;
}

/* Table of Contents */
.toc {
	background: var(--gris-clair);
	border-radius: 16px;
	padding: 2rem;
	margin-bottom: 4rem;
	border-left: 4px solid var(--bleu-france);
}

.toc h2 {
	font-size: 1.3rem;
	margin-bottom: 1rem;
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.toc ol {
	list-style: none;
	counter-reset: toc-counter;
}

.toc li {
	counter-increment: toc-counter;
	margin-bottom: 0.75rem;
}

.toc a {
	color: var(--gris-texte);
	text-decoration: none;
	font-weight: 500;
	display: flex;
	align-items: center;
	gap: 0.75rem;
	transition: var(--transition);
}

.toc a::before {
	content: counter(toc-counter);
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	background: var(--bleu-france);
	color: var(--blanc);
	border-radius: 50%;
	font-size: 0.85rem;
	font-weight: 700;
}

.toc a:hover {
	color: var(--bleu-france);
	transform: translateX(5px);
}

/* Sections */
section {
	margin-bottom: 4rem;
	scroll-margin-top: 2rem;
}

section > h2 {
	font-size: clamp(1.8rem, 4vw, 2.5rem);
	margin-bottom: 2rem;
	padding-bottom: 1rem;
	border-bottom: 3px solid var(--bleu-france);
	position: relative;
}

section > h2::after {
	content: '';
	position: absolute;
	bottom: -3px;
	left: 0;
	width: 80px;
	height: 3px;
	background: var(--rouge-marianne);
}

h3 {
	font-size: 1.4rem;
	margin: 2.5rem 0 1rem;
	color: var(--bleu-france);
}

p {
	margin-bottom: 1.25rem;
}

/* Info Cards */
.info-card {
	background: var(--blanc);
	border-radius: 16px;
	padding: 2rem;
	margin: 2rem 0;
	box-shadow: var(--ombre);
	border: 1px solid rgba(0, 85, 164, 0.1);
	transition: var(--transition);
}

.info-card:hover {
	box-shadow: var(--ombre-hover);
	transform: translateY(-2px);
}

.info-card.warning {
	border-left: 4px solid var(--rouge-marianne);
	background: linear-gradient(to right, rgba(239, 65, 53, 0.05), transparent);
}

.info-card.success {
	border-left: 4px solid var(--bleu-france);
	background: linear-gradient(to right, rgba(0, 85, 164, 0.05), transparent);
}

/* Table */
.table-wrapper {
	overflow-x: auto;
	margin: 2rem 0;
	border-radius: 16px;
	box-shadow: var(--ombre);
}

table {
	width: 100%;
	border-collapse: collapse;
	background: var(--blanc);
	font-size: 0.95rem;
}

caption {
	padding: 1.25rem;
	background: var(--bleu-france);
	color: var(--blanc);
	font-weight: 700;
	font-size: 1.1rem;
	text-align: left;
}

th {
	background: var(--gris-clair);
	padding: 1rem;
	text-align: left;
	font-weight: 700;
	color: var(--gris-titre);
	border-bottom: 2px solid var(--bleu-france);
}

td {
	padding: 1rem;
	border-bottom: 1px solid rgba(0, 85, 164, 0.1);
	vertical-align: top;
}

tr:hover td {
	background: rgba(0, 85, 164, 0.05);
}

.status-allowed {
	color: var(--bleu-france);
	font-weight: 700;
}

.status-forbidden {
	color: var(--rouge-marianne);
	font-weight: 700;
}

.status-illegal {
	color: var(--rouge-fonce);
	font-weight: 700;
}

/* Lists */
.checklist {
	list-style: none;
	margin: 1.5rem 0;
}

.checklist li {
	padding: 1rem 1rem 1rem 3rem;
	margin-bottom: 0.75rem;
	background: var(--gris-clair);
	border-radius: 10px;
	position: relative;
	transition: var(--transition);
}

.checklist li::before {
	content: '✓';
	position: absolute;
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
	width: 24px;
	height: 24px;
	background: var(--bleu-france);
	color: var(--blanc);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.8rem;
	font-weight: 700;
}

.checklist li:hover {
	background: var(--bleu-pale);
	transform: translateX(5px);
}

/* Numbered Steps */
.steps {
	list-style: none;
	counter-reset: step-counter;
	margin: 2rem 0;
}

.steps li {
	counter-increment: step-counter;
	padding: 1.5rem 1.5rem 1.5rem 4.5rem;
	margin-bottom: 1rem;
	background: var(--blanc);
	border-radius: 12px;
	box-shadow: var(--ombre);
	position: relative;
	transition: var(--transition);
}

.steps li::before {
	content: counter(step-counter);
	position: absolute;
	left: 1rem;
	top: 50%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	background: linear-gradient(135deg, var(--bleu-france), var(--bleu-clair));
	color: var(--blanc);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 1.1rem;
	font-weight: 700;
}

.steps li:hover {
	transform: translateX(5px);
	box-shadow: var(--ombre-hover);
}

/* FAQ */
.faq {
	margin-top: 4rem;
}

.faq-item {
	margin-bottom: 1.5rem;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: var(--ombre);
}

.faq-question {
	width: 100%;
	padding: 1.25rem 1.5rem;
	background: var(--blanc);
	border: none;
	text-align: left;
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--gris-titre);
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	transition: var(--transition);
	font-family: inherit;
}

.faq-question:hover {
	background: var(--gris-clair);
}

.faq-question::after {
	content: '+';
	font-size: 1.5rem;
	color: var(--bleu-france);
	transition: var(--transition);
	flex-shrink: 0;
}

.faq-item.open .faq-question::after {
	transform: rotate(45deg);
}

.faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease-out;
	background: var(--gris-clair);
}

.faq-answer-inner {
	padding: 1.25rem 1.5rem;
}

.faq-item.open .faq-answer {
	max-height: 500px;
}

/* CTA Section */
.cta-section {
	background: linear-gradient(135deg, var(--bleu-france) 0%, #003d7a 100%);
	border-radius: 24px;
	padding: 3rem 2rem;
	text-align: center;
	margin: 4rem 0;
	position: relative;
	overflow: hidden;
}

.cta-section::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 300px;
	height: 300px;
	background: radial-gradient(circle, rgba(239, 65, 53, 0.2) 0%, transparent 70%);
	pointer-events: none;
}

.cta-section::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--bleu-france) 33.33%, var(--blanc) 33.33%, var(--blanc) 66.66%, var(--rouge-marianne) 66.66%);
}

.cta-section h2 {
	color: var(--blanc);
	font-size: 2rem;
	margin-bottom: 1rem;
}

.cta-section p {
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 2rem;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

/* Footer */
footer {
	background: var(--gris-titre);
	color: rgba(255, 255, 255, 0.7);
	padding: 3rem 2rem;
	text-align: center;
	position: relative;
}

footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--bleu-france) 33.33%, var(--blanc) 33.33%, var(--blanc) 66.66%, var(--rouge-marianne) 66.66%);
}

footer p {
	margin-bottom: 0.5rem;
}

footer a {
	color: var(--bleu-clair);
	text-decoration: none;
}

footer a:hover {
	text-decoration: underline;
}

/* Animations 
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}*/

/* Responsive */
@media (max-width: 768px) {
	.hero {
		min-height: auto;
		padding: 6rem 0 8rem;
	}
	
	.hero-content {
		padding: 1.5rem;
	}
	
	.alert-box {
		margin: -60px 1rem 3rem;
		padding: 1.5rem;
	}
	
	main {
		padding: 0 1.25rem 3rem;
	}
	
	.toc {
		padding: 1.5rem;
	}
	
	.info-card {
		padding: 1.5rem;
	}
	
	table {
		font-size: 0.85rem;
	}
	
	th, td {
		padding: 0.75rem;
	}
	
	.steps li {
		padding-left: 4rem;
	}
	
	.cta-section {
		padding: 2rem 1.5rem;
	}
}

@media (max-width: 480px) {
	.hero-cta {
		flex-direction: column;
	}
	
	.btn {
		width: 100%;
		justify-content: center;
	}
	
	.table-wrapper {
		margin: 1.5rem -1rem;
		border-radius: 0;
	}
}

/* Print styles */
@media print {
	.hero {
		background: var(--blanc);
		color: var(--gris-titre);
		min-height: auto;
		padding: 2rem 0;
	}
	
	.hero h1 {
		color: var(--gris-titre);
	}
	
	.btn, .cta-section {
		display: none;
	}
}