/* --- VARIABLES --- */
:root {
	--primary-blue: #004192;
	--dark-blue: #002a5c;
	--red-urg: #e60000;
	--text-color: #334155;
	--light-bg: #f8fafc;
	--white: #ffffff;
}

/* --- RESET & BASES --- */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
html {
	scroll-behavior: smooth;
	scroll-padding-top: 90px;
}
body {
	font-family: "Inter", sans-serif;
	line-height: 1.6;
	color: var(--text-color);
	background-color: var(--white);
}
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}
a {
	text-decoration: none;
	transition: 0.3s ease;
	color: inherit;
}
p a,
.top-info a {
	color: var(--white);
	font-weight: 600;
}
p a:hover,
.top-info a:hover {
	text-decoration: underline;
	color: var(--light-bg);
}
ul {
	list-style: none;
}

/* --- UTILITAIRES --- */
.text-red {
	color: var(--red-urg);
}
.text-blue {
	color: var(--primary-blue);
}
.sub {
	color: var(--red-urg);
	font-weight: bold;
	font-size: 0.8rem;
	letter-spacing: 1px;
	text-transform: uppercase;
}

/* --- BOUTONS --- */
.btn {
	padding: 12px 25px;
	border-radius: 50px;
	font-weight: bold;
	display: inline-block;
	cursor: pointer;
	border: none;
}
.btn-red {
	background: var(--red-urg);
	color: white;
}
.btn-red:hover {
	background: #b30000;
	transform: translateY(-2px);
}
.btn-white {
	background: white;
	color: var(--dark-blue);
}
.btn-outline-white {
	border: 2px solid white;
	color: white;
}
.btn-outline-white:hover {
	background: white;
	color: var(--primary-blue);
}
.btn-blue-full {
	background: var(--primary-blue);
	color: white;
	width: 100%;
	border-radius: 8px;
}

/* --- ANIMATIONS --- */
@keyframes pulse {
	0% {
		box-shadow: 0 0 0 0 rgba(230, 0, 0, 0.7);
	}
	70% {
		box-shadow: 0 0 0 10px rgba(230, 0, 0, 0);
	}
	100% {
		box-shadow: 0 0 0 0 rgba(230, 0, 0, 0);
	}
}
.btn-pulse {
	animation: pulse 2s infinite;
}

/* --- TOP BAR --- */
.top-bar {
	background: var(--primary-blue);
	color: white;
	padding: 8px 0;
	font-size: 0.85rem;
}
.top-bar .container {
	display: flex;
	justify-content: space-between;
}
.top-info span {
	margin-right: 20px;
}

/* --- HEADER & NAVIGATION --- */
header {
	padding: 20px 0;
	background: white;
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.navbar {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.logo {
	font-size: 1.5rem;
	font-weight: 800;
	color: var(--dark-blue);
}
.logo span {
	color: var(--red-urg);
}
.nav-links {
	display: flex;
	gap: 25px;
}
.nav-links a {
	color: var(--text-color);
	font-weight: 500;
}
.nav-links a:hover {
	color: var(--primary-blue);
}
.burger-menu {
	display: none;
	font-size: 1.8rem;
	color: var(--dark-blue);
	cursor: pointer;
}
.desktop-only {
	display: inline-block;
}

/* --- HERO SECTION --- */
.hero {
	position: relative;
	overflow: hidden;
	height: 80vh;
	color: white;
	display: flex;
	align-items: center;
}
.video-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 1;
	filter: brightness(0.4);
}
.hero-text {
	max-width: 650px;
}
.ars-badge {
	background: rgba(58, 56, 153, 0.8);
	padding: 6px 15px;
	border-radius: 20px;
	font-size: 0.8rem;
}
.hero h1 {
	font-size: 3.5rem;
	margin: 20px 0;
	line-height: 1.1;
}
.hero p {
	font-size: 1.1rem;
	margin-bottom: 30px;
	opacity: 0.9;
}
.hero-btns {
	display: flex;
	gap: 15px;
}

/* --- FLOATING CARDS --- */
.floating-cards {
	margin-top: -60px;
	position: relative;
	z-index: 10;
}
.card-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.f-card {
	background: white;
	padding: 30px;
	border-radius: 12px;
	text-align: center;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.f-card i {
	font-size: 2.5rem;
	margin-bottom: 15px;
	display: block;
}
.icon-blue {
	color: var(--primary-blue);
}
.icon-red {
	color: var(--red-urg);
}

/* --- SERVICES --- */
.services-section {
	padding: 100px 0;
	background: var(--light-bg);
}
.section-title {
	text-align: center;
	margin-bottom: 60px;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}
.section-title h2 {
	font-size: 2.2rem;
	color: var(--dark-blue);
	margin: 10px 0;
}
.services-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}
.s-card {
	background: white;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}
.s-img {
	height: 180px;
	background-size: cover;
	background-position: center;
}
.s-content {
	padding: 25px;
}
.s-content i {
	color: var(--primary-blue);
	font-size: 1.5rem;
	margin-bottom: 15px;
}
.learn-more {
	font-size: 0.9rem;
	color: var(--primary-blue);
	font-weight: bold;
	margin-top: 15px;
	display: inline-block;
}
.dark-card {
	background: var(--dark-blue);
	color: white;
	display: flex;
	align-items: center;
	text-align: center;
}

/* --- CTA BANNER --- */
.cta-banner {
	background: linear-gradient(
		135deg,
		var(--dark-blue) 0%,
		var(--primary-blue) 100%
	);
	padding: 80px 0;
	color: white;
	text-align: center;
}
.cta-banner h2 {
	font-size: 2.5rem;
	margin-bottom: 15px;
}
.cta-btns {
	margin-top: 30px;
	display: flex;
	justify-content: center;
	gap: 20px;
}

/* --- CONTACT --- */
.contact-section {
	padding: 100px 0;
}
.contact-flex {
	display: flex;
	gap: 50px;
	align-items: flex-start;
}
.contact-info {
	flex: 1;
}
.info-item {
	display: flex;
	gap: 15px;
	margin-top: 30px;
}
.info-item i {
	width: 40px;
	height: 40px;
	background: #eef2ff;
	color: var(--primary-blue);
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 8px;
}
.contact-form-box {
	flex: 1;
	background: white;
	padding: 40px;
	border-radius: 20px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}
.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 15px;
	margin-bottom: 15px;
}
input,
textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	margin-bottom: 15px;
	outline: none;
}
textarea {
	height: 120px;
}

/* --- A PROPOS --- */
.about-section {
	padding: 100px 0;
	background: var(--white);
}
.about-flex {
	display: flex;
	gap: 60px;
	align-items: center;
}
.about-text {
	flex: 1;
}
.about-text h2 {
	font-size: 2.2rem;
	color: var(--dark-blue);
	margin: 10px 0 20px 0;
	line-height: 1.2;
}
.about-text p {
	margin-bottom: 20px;
}
.about-list {
	margin-top: 30px;
}
.about-list li {
	margin-bottom: 12px;
	font-weight: 600;
	display: flex;
	align-items: center;
	gap: 15px;
	color: var(--dark-blue);
}
.about-stats-box {
	flex: 1;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
}
.stat-card {
	background: var(--light-bg);
	padding: 30px 20px;
	border-radius: 15px;
	text-align: center;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	border-bottom: 4px solid var(--primary-blue);
	transition: transform 0.3s ease;
}
.stat-card:hover {
	transform: translateY(-5px);
}
.premium-stat {
	grid-column: 1 / -1;
	background: var(--primary-blue);
	color: white;
	border-bottom: 4px solid var(--red-urg);
}
.premium-stat h3,
.premium-stat p {
	color: white !important;
}
.stat-card h3 {
	font-size: 3rem;
	color: var(--primary-blue);
	margin-bottom: 5px;
	line-height: 1;
}
.stat-card p {
	font-weight: 600;
	font-size: 0.95rem;
	margin: 0;
}

/* --- FOOTER --- */
footer {
	background: var(--dark-blue);
	color: white;
	padding: 80px 0 20px 0;
}
.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr;
	gap: 40px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	padding-bottom: 50px;
}
footer .logo {
	color: white;
	margin-bottom: 20px;
}
footer h4 {
	margin-bottom: 20px;
}
footer ul li {
	margin-bottom: 10px;
	font-size: 0.9rem;
}
footer ul li a {
	opacity: 0.7;
	display: inline-block;
}
footer ul li a:hover {
	opacity: 1;
	color: #eef2ff !important;
	transform: translateX(5px);
}
.footer-bottom {
	text-align: center;
	padding-top: 30px;
	font-size: 0.8rem;
	opacity: 0.5;
}

/* MENTIONS LEGALES */
.legal-content {
	padding: 120px 0 80px;
	color: #334155;
	line-height: 1.8;
}
.legal-content h1 {
	color: #1a194d;
	margin-bottom: 40px;
	font-size: 2.5rem;
	text-align: center;
}
.legal-content h2 {
	color: #e60000; /* Ton rouge d'urgence */
	margin-top: 30px;
	margin-bottom: 15px;
	font-size: 1.5rem;
	border-left: 4px solid #e60000;
	padding-left: 15px;
}
.legal-content p,
.legal-content ul {
	margin-bottom: 20px;
}
.legal-card {
	background: white;
	padding: 40px;
	border-radius: 15px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* =========================================
   📱 RESPONSIVE DESIGN
   ========================================= */

/* --- Tablettes (max 992px) --- */
@media (max-width: 992px) {
	header nav {
		margin-left: auto;
		margin-right: 30px;
	}
	.services-grid,
	.footer-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.contact-flex {
		flex-direction: column;
	}
	.card-grid {
		grid-template-columns: 1fr;
		max-width: 500px;
		margin: 0 auto;
	}
	.floating-cards {
		margin-top: -30px;
	}
	.hero h1 {
		font-size: 2.8rem;
	}
	.about-flex {
		flex-direction: column;
	}
}

/* --- Mobiles (max 768px) --- */
@media (max-width: 768px) {
	.about-stats-box {
		grid-template-columns: 1fr;
	}
	.navbar {
		flex-direction: row;
		justify-content: space-between;
		position: relative;
	}

	.logo {
		order: 1;
	}
	header nav {
		margin: 0;
		order: 2;
	}

	.burger-menu {
		display: block;
		order: 3;
	}
	.desktop-only {
		display: none;
	}
	.burger-menu {
		display: block;
	}
	.nav-links {
		position: absolute;
		top: 100%;
		left: 0;
		width: 100%;
		background-color: var(--white);
		flex-direction: column;
		padding: 20px 0;
		box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
		display: none;
	}
	.nav-links.nav-active {
		display: flex;
	}
	.top-bar .container {
		flex-direction: column;
		align-items: center;
		gap: 10px;
		text-align: center;
	}
	.top-info {
		display: flex;
		flex-direction: column;
		gap: 5px;
	}
	.top-info span {
		margin-right: 0;
	}
	.hero {
		height: auto;
		padding: 120px 0 80px 0;
		text-align: center;
	}
	.hero h1 {
		font-size: 2.2rem;
	}
	.hero-btns {
		flex-direction: column;
		align-items: center;
	}
	.hero-btns .btn {
		width: 100%;
		text-align: center;
	}
	.ars-badge {
		display: inline-block;
		margin-bottom: 15px;
	}
	.form-row {
		grid-template-columns: 1fr;
	}
	.cta-btns {
		flex-direction: column;
	}
}

/* --- Petits Mobiles (max 480px) --- */
@media (max-width: 480px) {
	.services-grid,
	.footer-grid {
		grid-template-columns: 1fr;
	}
	.hero h1 {
		font-size: 1.8rem;
	}
	.section-title h2,
	.cta-banner h2 {
		font-size: 1.8rem;
	}
	.contact-form-box {
		padding: 25px 15px;
	}
}
