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

body {
	font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
	overflow-x: hidden;
}

.hero {
	position: relative;
	height: 100vh;
	background: linear-gradient(135deg, #0047AB 0%, #4c1d95 50%, #ff006e 100%);
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.hero::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
}

.chart-background {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 60%;
	opacity: 0.3;
}

.hero-content {
	position: relative;
	z-index: 10;
	text-align: center;
	color: white;
	padding: 2rem;
	max-width: 1200px;
}

h1 {
	font-size: clamp(2rem, 5vw, 4rem);
	font-weight: 700;
	margin-bottom: 1.5rem;
	text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.3);
	line-height: 1.2;
}

.subtitle {
	font-size: clamp(1rem, 2vw, 1.5rem);
	opacity: 0.95;
	text-shadow: 1px 1px 10px rgba(0, 0, 0, 0.2);
}

.cta-button {
	margin-top: 2rem;
	padding: 1rem 2.5rem;
	font-size: 1.1rem;
	background: white;
	color: #0047AB;
	border: none;
	border-radius: 50px;
	cursor: pointer;
	font-weight: 600;
	transition: all 0.3s ease;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-decoration: none;
}

.cta-button:hover {
	transform: translateY(-3px);
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.content-section {
	padding: 4rem 2rem;
	max-width: 1200px;
	margin: 0 auto;
}

.content-section h2 {
	font-size: 2.5rem;
	color: #0047AB;
	margin-bottom: 1.5rem;
	text-align: center;
}

.table-container {
	margin-top: 3rem;
	overflow-x: auto;
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	-webkit-overflow-scrolling: touch;
}

.etf-table {
	width: 100%;
	min-width: 800px;
	border-collapse: collapse;
	background: white;
	border-radius: 15px;
	overflow: hidden;
}

.etf-table th,
.etf-table td {
	padding: 1rem;
	font-size: 0.95rem;
}

@media (min-width: 768px) {
	.etf-table th,
	.etf-table td {
		padding: 1.5rem;
		font-size: 1rem;
	}
}

@media (max-width: 767px) {
	.content-section h2 {
		font-size: 1.8rem;
	}
	
	.etf-table th {
		font-size: 0.85rem;
		padding: 0.8rem 0.5rem;
	}
	
	.etf-table td {
		padding: 0.8rem 0.5rem;
		font-size: 0.9rem;
	}
	
	.etf-table td strong {
		font-size: 0.9rem;
	}
	
	.excellent-label,
	.good-label {
		font-size: 0.6rem;
		padding: 2px 8px;
		margin-left: 5px;
	}
	
	.table-container::after {
		content: "← Faites défiler →";
		display: block;
		text-align: center;
		padding: 0.8rem;
		background: #f3f4f6;
		color: #6b7280;
		font-size: 0.85rem;
		font-style: italic;
	}
}

.etf-table thead {
	background: linear-gradient(135deg, #0047AB 0%, #4c1d95 100%);
	color: white;
}

.etf-table th {
	padding: 1.5rem;
	text-align: left;
	font-size: 1.1rem;
	font-weight: 600;
	white-space: nowrap;
}

.etf-table tbody tr {
	border-bottom: 1px solid #e5e7eb;
	transition: background-color 0.3s ease;
}

.etf-table tbody tr:hover {
	background-color: #f9fafb;
}

.etf-table tbody tr.excellent {
	background: linear-gradient(90deg, rgba(255, 0, 110, 0.08) 0%, rgba(255, 0, 110, 0.03) 100%);
}

.etf-table tbody tr.excellent td:first-child {
	border-left: 4px solid #ff006e;
}

.etf-table tbody tr.excellent:hover {
	background: linear-gradient(90deg, rgba(255, 0, 110, 0.12) 0%, rgba(255, 0, 110, 0.05) 100%);
}

.etf-table tbody tr.good {
	background: linear-gradient(90deg, rgba(0, 71, 171, 0.06) 0%, rgba(0, 71, 171, 0.02) 100%);
}

.etf-table tbody tr.good td:first-child {
	border-left: 4px solid #0047AB;
}

.etf-table tbody tr.good:hover {
	background: linear-gradient(90deg, rgba(0, 71, 171, 0.10) 0%, rgba(0, 71, 171, 0.04) 100%);
}

.etf-table tbody tr:last-child {
	border-bottom: none;
}

.etf-table td {
	padding: 1.5rem;
	color: #374151;
}

.etf-table td strong {
	color: #1f2937;
}

.etf-table .highlight {
	color: #ff006e;
	font-weight: 700;
	font-size: 1.1rem;
}

.explanation {
	margin-top: 3rem;
	background: white;
	padding: 2.5rem;
	border-radius: 15px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
	line-height: 1.8;
}

.explanation h3 {
	color: #0047AB;
	font-size: 1.8rem;
	margin-bottom: 1.5rem;
}

.explanation h4 {
	color: #0047AB;
	font-size: 1.3rem;
	margin-top: 2rem;
	margin-bottom: 1rem;
}

.explanation p {
	color: #4b5563;
	margin-bottom: 1.2rem;
	font-size: 1.05rem;
}

.explanation ul {
	margin-left: 2rem;
	margin-bottom: 1.5rem;
	line-height: 1.8;
}

.explanation li {
	color: #4b5563;
	font-size: 1.05rem;
	margin-bottom: 0.8rem;
}

.explanation strong {
	color: #1f2937;
	font-weight: 600;
}

.cta-section {
	margin-top: 3rem;
	text-align: center;
}

.cta-button-large {
	padding: 1.2rem 3rem;
	font-size: 1.2rem;
	background: linear-gradient(135deg, #0047AB 0%, #ff006e 100%);
	color: white;
	border: none;
	border-radius: 50px;
	cursor: pointer;
	font-weight: 700;
	transition: all 0.3s ease;
	box-shadow: 0 10px 30px rgba(0, 71, 171, 0.3);
	letter-spacing: 0.5px;
    text-decoration: none;
    display: inline-block;
    margin: 5px 0;
}

.cta-button-large:hover {
	transform: translateY(-3px);
	box-shadow: 0 15px 40px rgba(0, 71, 171, 0.4);
}

.cta-button-large:active {
	transform: translateY(-1px);
}

.footer {
	background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
	color: white;
	padding: 4rem 2rem 2rem;
	margin-top: 5rem;
}

.footer-content {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 3rem;
	margin-bottom: 3rem;
}

.footer-section h4 {
	color: #ff006e;
	font-size: 1.3rem;
	margin-bottom: 1.5rem;
	font-weight: 600;
}

.footer-links {
	list-style: none;
	padding: 0;
}

.footer-links li {
	margin-bottom: 0.8rem;
}

.footer-links a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	transition: all 0.3s ease;
	display: inline-block;
}

.footer-links a:hover {
	color: #ff006e;
	transform: translateX(5px);
}

.footer-disclaimer {
	max-width: 1200px;
	margin: 0 auto;
	padding: 2rem;
	background: rgba(255, 255, 255, 0.05);
	border-radius: 10px;
	border-left: 4px solid #ff006e;
	margin-bottom: 2rem;
}

.footer-disclaimer p {
	color: rgba(255, 255, 255, 0.9);
	line-height: 1.6;
	margin-bottom: 1rem;
	font-size: 0.95rem;
}

.footer-disclaimer p:last-child {
	margin-bottom: 0;
	font-size: 0.9rem;
	color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
	max-width: 1200px;
	margin: 0 auto;
	text-align: center;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.9rem;
}

canvas {
	display: block;
}

.excellent-label {
	background: linear-gradient(135deg, #ff006e 0%, #ff4d94 100%);
	color: white;
	padding: 3px 12px;
	border-radius: 12px;
	font-size: 0.7rem;
	font-weight: 700;
	margin-left: 10px;
	white-space: nowrap;
}

.good-label {
	background: linear-gradient(135deg, #0047AB 0%, #3b82f6 100%);
	color: white;
	padding: 3px 12px;
	border-radius: 12px;
	font-size: 0.7rem;
	font-weight: 700;
	margin-left: 10px;
	white-space: nowrap;
}
