/* Reset et base */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

:root {
	--primary-dark: #1C303A;
	--primary-red: #F74139;
	--primary-beige: #C5BEB1;
	--primary-light: #F2F0EB;
	--white: #FFFFFF;
	--text-dark: #333333;
	--text-light: #666666;
	--shadow: rgba(0, 0, 0, 0.1);
	--transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
	line-height: 1.6;
	color: var(--text-dark);
	background-color: var(--primary-light);
}

.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Typography */
h1 {
	font-size: clamp(2rem, 5vw, 3.5rem);
	font-weight: 800;
	line-height: 1.1;
}

h2 {
	font-size: clamp(1.5rem, 4vw, 2.5rem);
	font-weight: 700;
	color: var(--primary-dark);
	margin-bottom: 3rem;
	text-align: center;
}

h3 {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--primary-dark);
	margin-bottom: 1rem;
}

/* Header */
header {
	background-color: var(--white);
	box-shadow: 0 2px 10px var(--shadow);
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 1000;
	transition: var(--transition);
}

.header-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem 0;
}

.logo {
	display: flex;
	align-items: center;
	text-decoration: none;
}

.logo-img {
	height: 50px;
	width: auto;
	object-fit: contain;
}

/* Menu Toggle */
.menu-toggle {
	display: flex;
	flex-direction: column;
	justify-content: space-around;
	width: 30px;
	height: 25px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
	z-index: 10;
}

.menu-toggle span {
	width: 30px;
	height: 3px;
	background: var(--primary-dark);
	border-radius: 10px;
	transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
	transform: rotate(45deg) translate(8px, 8px);
}

.menu-toggle.active span:nth-child(2) {
	opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -7px);
}

/* Mega Navigation */
.mega-nav {
	position: fixed;
	top: 70px;
	left: 0;
	right: 0;
	background: var(--white);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
	z-index: 999;
}

.mega-nav.active {
	max-height: 80vh;
	overflow-y: auto;
}

.nav-column a.active {
	color: var(--primary-red);
	font-weight: 600;
}

.nav-column a.active::after {
	width: 100%;
}

.nav-column h3 a {
	color: var(--primary-red);
	text-decoration: none;
}

.nav-column h3 a:hover {
	color: var(--primary-red);
}

.nav-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 2rem;
	padding: 2rem 0;
}

.nav-column h3 {
	color: var(--primary-red);
	font-size: 0.875rem;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--primary-light);
}

.nav-column h3.mt-3 {
	margin-top: 1.5rem;
}

.nav-column h3:empty,
.nav-column h3:first-child:empty {
	display: none;
}

.nav-column h3:first-child + ul {
	margin-top: 0;
}

.nav-column ul {
	list-style: none;
}

.nav-column li {
	margin-bottom: 0.5rem;
}

.nav-column a {
	color: var(--text-dark);
	text-decoration: none;
	font-size: 0.9rem;
	transition: var(--transition);
	display: inline-block;
	position: relative;
}

.nav-column a::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--primary-red);
	transition: width 0.3s ease;
}

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

.nav-column a:hover::after {
	width: 100%;
}

.nav-cta {
	background-color: var(--primary-red);
	color: var(--white) !important;
	padding: 0.5rem 1rem;
	border-radius: 4px;
	margin-top: 0.5rem;
	display: inline-block;
}

.nav-cta:hover {
	background-color: var(--primary-dark);
}

/* Hero Section */
.hero {
	position: relative;
	height: 70vh;
	min-height: 500px;
	margin-top: 70px;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat; /* Ajoutez cette ligne */
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(28, 48, 58, 0.9) 0%, rgba(247, 65, 57, 0.8) 100%);
}

.hero-content {
	position: relative;
	z-index: 1;
	text-align: center;
	color: var(--white);
	max-width: 800px;
	padding: 0 20px;
}

.hero h1 {
	margin-bottom: 1rem;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero p {
	font-size: 1.25rem;
	font-weight: 100;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-pages {
	height: 40vh;
	min-height: 300px;
}

.hero-pages .hero-content h1 {
	font-size: clamp(1.75rem, 4vw, 2.5rem);
}

/* Page Content */
.page-content {
	padding: 4rem 0;
	background-color: var(--primary-light);
}

.content-wrapper {
	background-color: var(--white);
	border-radius: 8px;
	padding: 3rem;
	box-shadow: 0 2px 10px var(--shadow);
}

.intro-section {
	margin-bottom: 3rem;
}

.lead {
	font-size: 1.125rem;
	line-height: 1.8;
	color: var(--text-dark);
	margin-bottom: 2rem;
}

/* Intro Grid */
.intro-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2rem;
	margin-top: 3rem;
}

.intro-card {
	background-color: var(--primary-light);
	padding: 2rem;
	border-radius: 8px;
	transition: var(--transition);
}

.intro-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.intro-icon {
	width: 50px;
	height: 50px;
	color: var(--primary-red);
	margin-bottom: 1.5rem;
}

.intro-icon svg {
	width: 100%;
	height: 100%;
}

.intro-card h2 {
	font-size: 1.25rem;
	margin-bottom: 1rem;
	text-align: left;
}

.intro-list {
	list-style: none;
	margin: 1rem 0;
}

.intro-list li {
	padding-left: 1.5rem;
	position: relative;
	margin-bottom: 0.5rem;
}

.intro-list li::before {
	content: '→';
	position: absolute;
	left: 0;
	color: var(--primary-red);
}

.intro-list a {
	color: var(--primary-dark);
	text-decoration: none;
	transition: var(--transition);
}

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

.intro-link {
	display: inline-flex;
	align-items: center;
	color: var(--primary-red);
	text-decoration: none;
	font-weight: 600;
	margin-top: 1rem;
	transition: var(--transition);
}

.intro-link:hover {
	color: var(--primary-dark);
}

/* Services Section */
.services {
	padding: 5rem 0;
	background-color: var(--primary-light);
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 2rem;
}

.service-card {
	background: var(--white);
	border-radius: 8px;
	overflow: hidden;
	transition: var(--transition);
	position: relative;
	padding: 2.5rem 2rem;
	text-align: center;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.service-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: var(--primary-red);
	transform: scaleX(0);
	transition: transform 0.3s ease;
}

.service-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.service-card:hover::before {
	transform: scaleX(1);
}

.service-icon {
	width: 60px;
	height: 60px;
	margin: 0 auto 1.5rem;
	color: var(--primary-red);
	transition: var(--transition);
}

.service-card:hover .service-icon {
	transform: scale(1.1);
	color: var(--primary-dark);
}

.service-icon svg {
	width: 100%;
	height: 100%;
}

.service-card h3 {
	margin-bottom: 1rem;
	transition: var(--transition);
}

.service-card:hover h3 {
	color: var(--primary-red);
}

.service-card p {
	color: var(--text-light);
	margin-bottom: 1.5rem;
	line-height: 1.8;
}

.service-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--primary-red);
	text-decoration: none;
	font-weight: 600;
	transition: var(--transition);
}

.service-link svg {
	width: 20px;
	height: 20px;
	transition: transform 0.3s ease;
}

.service-link:hover {
	color: var(--primary-dark);
}

.service-link:hover svg {
	transform: translateX(5px);
}

.service-image {
	transition: transform 0.3s ease;
}

.service-card:hover .service-image {
	transform: scale(1.05);
}

/* CTA Flottant */
.floating-cta {
	position: fixed;
	bottom: 30px;
	right: 30px;
	background-color: var(--primary-red);
	color: var(--white);
	padding: 1rem 2rem;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 600;
	box-shadow: 0 5px 20px rgba(247, 65, 57, 0.4);
	transition: var(--transition);
	z-index: 999;
}

.floating-cta:hover {
	background-color: var(--primary-dark);
	transform: translateY(-3px);
	box-shadow: 0 8px 30px rgba(247, 65, 57, 0.6);
}

/* Footer */
footer {
	background-color: var(--primary-dark);
	color: var(--white);
	padding: 4rem 0 1rem;
}

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

.footer-section h3 {
	color: var(--primary-beige);
	margin-bottom: 1.5rem;
	font-size: 1.1rem;
}

.footer-section p {
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.8;
	margin-bottom: 1rem;
}

.footer-highlight {
	color: var(--primary-beige);
	font-weight: 600;
}

.footer-section ul {
	list-style: none;
}

.footer-section li {
	margin-bottom: 0.75rem;
}

.footer-section a {
	color: rgba(255, 255, 255, 0.8);
	text-decoration: none;
	transition: var(--transition);
}

.footer-section a:hover {
	color: var(--primary-beige);
}

.footer-section a.active {
	color: var(--primary-beige);
	font-weight: 600;
}

.footer-cta {
	display: inline-block;
	margin-top: 1rem;
	color: var(--primary-beige);
	font-weight: 600;
	transition: var(--transition);
}

.footer-cta:hover {
	color: var(--white);
}

.footer-bottom {
	text-align: center;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a {
	color: var(--primary-beige);
	text-decoration: none;
}

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

.footer-social {
    margin-top: 15px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #1877f2;
}

.social-link svg {
    flex-shrink: 0;
}

/* Responsive */
@media (max-width: 768px) {
	.logo-img {
		height: 40px;
	}
	
	.nav-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}
	
	.hero {
		height: 60vh;
		min-height: 400px;
	}

	.hero-pages {
		height: 30vh;
		min-height: 250px;
	}
	
	.hero-responsive {
		flex-direction: column !important;
		text-align: center;
	}
	
	.hero-responsive > div:first-child {
		margin-bottom: 2rem;
	}
	
	.hero-responsive h1 {
		font-size: 2rem !important;
	}
	
	.content-wrapper {
		padding: 2rem 1.5rem;
	}
	
	.intro-grid {
		grid-template-columns: 1fr;
	}
		
	.services {
		padding: 3rem 0;
	}

	.process-images {
		grid-template-columns: 1fr !important;
	}
		
	.floating-cta {
		bottom: 20px;
		right: 20px;
		padding: 0.8rem 1.5rem;
		font-size: 0.9rem;
	}

	.grid-responsive {
		grid-template-columns: 1fr !important;
	}

	.mobile-padding {
		padding: 2rem 1.5rem !important;
	}
}

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

.service-card {
	animation: fadeIn 0.6s ease-out;
	animation-fill-mode: both;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }