/* Import des polices */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Lato:wght@400;700&display=swap');

/* Style de base et variables */
:root {
	--color-primary: #007bff; /* Bleu vif */
	--color-secondary: #0056b3; /* Bleu foncé pour les accents */
	--color-tertiary: #f0f0f0; /* Gris clair pour les cartes */
	--color-background-1: #f8f9fa; /* Arrière-plan très clair */
	--color-background-2: #e9ecef; /* Arrière-plan gris clair */
	--color-text-dark: #343a40; /* Texte sombre */
	--color-text-light: #6c757d; /* Texte plus clair */
	--color-white: #ffffff;
	--font-primary: 'Montserrat', sans-serif;
	--font-secondary: 'Lato', sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-secondary);
	line-height: 1.6;
	background-color: var(--color-background-1);
	color: var(--color-text-light);
}

.container {
	max-width: 1220px;
	margin: 0 auto;
	padding: 0 10px;
}

/* Header */
.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	background-color: var(--color-white);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	z-index: 1000;
	transition: all 0.3s ease-in-out;
}

.header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 20px;
}

.logo {
	font-family: var(--font-primary);
	font-weight: 700;
	font-size: 1.5em;
	color: var(--color-primary);
	text-decoration: none;
	transition: transform 0.3s ease;
}

.logo:hover {
	transform: scale(1.05);
}

.nav-list {
	display: flex;
	gap: 25px;
	list-style: none;
}

.nav-list a {
	text-decoration: none;
	color: var(--color-text-dark);
	font-weight: 600;
	transition: color 0.3s ease;
}

.nav-list a:hover {
	color: var(--color-primary);
}

.burger-menu {
	display: none;
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
}

.burger-menu .bar {
	width: 25px;
	height: 3px;
	background-color: var(--color-text-dark);
	transition: all 0.3s ease;
}

@media (max-width: 768px) {
	.nav {
		display: none;
		flex-direction: column;
		width: 100%;
		position: absolute;
		top: 100%;
		left: 0;
		background-color: var(--color-white);
		box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
	}
	.nav.active {
		display: flex;
	}
	.nav-list {
		flex-direction: column;
		padding: 20px;
		gap: 15px;
	}
	.burger-menu {
		display: flex;
	}
	.burger-menu.open .bar:nth-child(1) {
		transform: rotate(-45deg) translate(-5px, 6px);
	}
	.burger-menu.open .bar:nth-child(2) {
		opacity: 0;
	}
	.burger-menu.open .bar:nth-child(3) {
		transform: rotate(45deg) translate(-5px, -6px);
	}
}

/* Hero Section */
.hero-section {
	background-color: var(--color-primary);
	color: var(--color-white);
	padding: 150px 0 80px;
	text-align: center;
	position: relative;
	overflow: hidden;
}

.hero-title {
	font-family: var(--font-primary);
	font-size: 40px;
	font-weight: 700;
	margin-bottom: 15px;
}

.hero-subtitle {
	font-size: 1.2em;
	opacity: 0.9;
}

/* Sections et Cartes */
.section {
	padding: 80px 0;
}

h2 {
	font-family: var(--font-primary);
	font-size: 2.5em;
	font-weight: 700;
	text-align: center;
	margin-bottom: 50px;
	color: var(--color-text-dark);
}

h3.sub-heading {
	font-family: var(--font-primary);
	font-size: 1.5em;
	font-weight: 600;
	color: var(--color-primary);
	margin-bottom: 20px;
}

.card {
	background-color: var(--color-white);
	padding: 40px;
	border-radius: 15px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.intro-card {
	border-top: 5px solid var(--color-primary);
}

.features-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
	margin-top: 30px;
}

@media (min-width: 768px) {
	.features-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.feature-item {
	background-color: var(--color-background-1);
	padding: 25px;
	border-radius: 10px;
	border-left: 3px solid var(--color-primary);
}

.section-why-choose {
	background-color: var(--color-background-2);
}

.why-choose-card {
	border-right: 5px solid var(--color-secondary);
}

.section-mobile-trading {
	background-color: var(--color-background-1);
}

.mobile-trading-card {
	border-top: 5px solid var(--color-primary);
}

.mobile-sections-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
}

@media (min-width: 768px) {
	.mobile-sections-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.mobile-section-item {
	background-color: var(--color-background-2);
	padding: 30px;
	border-radius: 10px;
}

.section-benefits-mobile {
	background-color: var(--color-background-2);
}

.benefits-card {
	border-bottom: 5px solid var(--color-tertiary);
}

.benefits-list {
	list-style: none;
	padding: 0;
}

.benefits-list li {
	background-color: var(--color-background-1);
	padding: 20px;
	margin-bottom: 15px;
	border-radius: 10px;
	border-left: 3px solid var(--color-primary);
	transition: transform 0.3s ease;
}

.benefits-list li:hover {
	transform: translateX(10px);
}

.section-how-to {
	background-color: var(--color-background-1);
}

.how-to-card {
	border-left: 5px solid var(--color-secondary);
}

.how-to-list {
	list-style: none;
	padding: 0;
}

.how-to-list li {
	background-color: var(--color-background-2);
	padding: 20px;
	margin-bottom: 15px;
	border-radius: 10px;
	counter-increment: list-item;
	position: relative;
	padding-left: 60px;
}

.how-to-list li::before {
	content: counter(list-item);
	position: absolute;
	left: 20px;
	top: 50%;
	transform: translateY(-50%);
	background-color: var(--color-primary);
	color: var(--color-white);
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: bold;
}

.section-comparison {
	background-color: var(--color-background-2);
}

.comparison-card {
	border-right: 5px solid var(--color-tertiary);
}

/* Tableau responsif */
.table-container {
	overflow-x: auto;
	margin-top: 30px;
	margin-bottom: 20px;
}

table {
	width: 100%;
	border-collapse: collapse;
	min-width: 500px;
}

th,
td {
	padding: 15px;
	text-align: left;
	border-bottom: 1px solid #ddd;
}

th {
	background-color: var(--color-secondary);
	color: var(--color-white);
	font-weight: 700;
}

tbody tr:nth-child(odd) {
	background-color: var(--color-background-1);
}

tbody tr:nth-child(even) {
	background-color: var(--color-white);
}

@media (max-width: 768px) {
	table,
	thead,
	tbody,
	th,
	td,
	tr {
		display: block;
	}
	thead tr {
		position: absolute;
		top: -9999px;
		left: -9999px;
	}
	tr {
		margin-bottom: 15px;
		border: 1px solid #ddd;
		border-radius: 8px;
	}
	td {
		border: none;
		position: relative;
		padding-left: 50%;
		text-align: right;
	}
	td:before {
		content: attr(data-label);
		position: absolute;
		left: 10px;
		width: 45%;
		text-align: left;
		font-weight: 700;
		color: var(--color-primary);
	}
}

/* Avis et FAQ */
.section-reviews {
	background-color: var(--color-background-1);
}

.reviews-card {
	border-left: 5px solid var(--color-primary);
}

.reviews-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
	margin-bottom: 40px;
}

@media (min-width: 768px) {
	.reviews-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.review-item {
	padding: 30px;
	border-radius: 10px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.positive {
	background-color: #e6f7ff;
	border-left: 4px solid #00bfff;
}

.neutral-critical {
	background-color: #fff9e6;
	border-left: 4px solid #ffc107;
}

.tips-block {
	background-color: var(--color-background-2);
	padding: 30px;
	border-radius: 10px;
	border-top: 3px solid var(--color-secondary);
}

.section-faq {
	background-color: var(--color-background-2);
}

.faq-card {
	border-bottom: 5px solid var(--color-secondary);
}

.faq-list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

.faq-item {
	background-color: var(--color-white);
	padding: 25px;
	border-radius: 10px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
	font-size: 1.2em;
	color: var(--color-text-dark);
}

/* Footer */
.footer {
	background-color: var(--color-text-dark);
	color: var(--color-white);
	text-align: center;
	padding: 25px 0;
	font-size: 0.9em;
}


@media (max-width: 767px) {
	.hero-title {
		font-size: 32px;
	}
	h2 {
		font-size: 28px;
	}
	h3 {
		font-size: 22px;
	}
	.card {
		padding: 20px;
	}
}

/* ===== Contact Form ===== */
.section-contact {
  padding: 60px 20px;
}

.contact-card {
  background: #fff;
  color: #333;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.15);
  padding: 40px;
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.contact-card h2 {
  margin-bottom: 15px;
  font-size: 28px;
  color: #111;
}

.contact-card p {
  margin-bottom: 30px;
  font-size: 16px;
  color: #555;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 14px;
  color: #444;
}

.form-group input {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: 0.3s;
}

.form-group input:focus {
  border-color: #0066ff;
  box-shadow: 0 0 5px rgba(0,102,255,0.3);
}

.btn-submit {
  padding: 14px;
  background: linear-gradient(135deg, #0066ff, #0099ff);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.btn-submit:hover {
  background: linear-gradient(135deg, #0055dd, #0088dd);
}
