:root {
	--primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	--secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
	--accent-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
	--dark-gradient: linear-gradient(135deg, #0c0c0c 0%, #1a1a1a 100%);
	--text-primary: #1a1a1a;
	--text-secondary: #6b7280;
	--surface: rgba(255, 255, 255, 0.9);
	--surface-dark: rgba(0, 0, 0, 0.05);
}

* {
	box-sizing: border-box;
}

.hero-animation {
  position: relative;
  width: 100%;
  max-width: 350px;
  margin: 0 auto;
}

.animated-blob {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
}

.cursor-bubble {
  position: absolute;
  top: 0;
  left: 0;
  width: 100px;
  height: 100px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  pointer-events: none; /* pour ne pas bloquer les clics */
  transform: translate(-50%, -50%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.15);
  opacity: 0;
  transition: opacity 0.3s ease;
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
	line-height: 1.6;
	color: var(--text-primary);
	overflow-x: hidden;
}

/* Navigation */
.navbar {
	background: rgba(255, 255, 255, 0.95) !important;
	backdrop-filter: blur(20px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.2);
	transition: all 0.3s ease;
	padding: 1rem 0;
}

.navbar-brand {
	font-family: 'Space Grotesk', sans-serif;
	font-weight: 700;
	font-size: 1.5rem;
	background: var(--primary-gradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.nav-link {
	font-weight: 500;
	color: var(--text-primary) !important;
	transition: all 0.3s ease;
	position: relative;
	margin: 0 0.5rem;
}

.nav-link:hover {
	color: #667eea !important;
	transform: translateY(-2px);
}

.nav-link::after {
	content: '';
	position: absolute;
	width: 0;
	height: 2px;
	bottom: -5px;
	left: 50%;
	background: var(--primary-gradient);
	transition: all 0.3s ease;
	transform: translateX(-50%);
}

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

/* Hero Section */
.hero {
	min-height: 100vh;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	position: relative;
	display: flex;
	align-items: center;
	overflow: hidden;
	cursor: none;
}

.hero::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="0.8" fill="white" opacity="0.1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>');
	animation: float 20s ease-in-out infinite;
}

@keyframes float {
	0%, 100% { transform: translateY(0px) rotate(0deg); }
	50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
	position: relative;
	z-index: 2;
	color: white;
}

.hero h1 {
	font-family: 'Space Grotesk', sans-serif;
	font-size: clamp(2.5rem, 5vw, 4rem);
	font-weight: 700;
	margin-bottom: 1rem;
	line-height: 1.2;
}

.hero .subtitle {
	font-size: 1.5rem;
	font-weight: 300;
	margin-bottom: 2rem;
	opacity: 0.9;
}

.hero .lead {
	font-size: 1.1rem;
	opacity: 0.8;
	margin-bottom: 2.5rem;
	max-width: 600px;
}

.btn-primary-custom {
	background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
	border: none;
	padding: 15px 35px;
	border-radius: 50px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
	box-shadow: 0 10px 30px rgba(245, 87, 108, 0.3);
}

.btn-primary-custom:hover {
	transform: translateY(-3px);
	box-shadow: 0 15px 40px rgba(245, 87, 108, 0.4);
}

.btn-outline-custom {
	border: 2px solid white;
	color: white;
	padding: 15px 35px;
	border-radius: 50px;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
	background: transparent;
	margin-left: 1rem;
}

.btn-outline-custom:hover {
	background: white;
	color: #667eea;
	transform: translateY(-3px);
}

/* About Section */
.about-section {
	padding: 120px 0;
	background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
	position: relative;
}

.section-title {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 3rem;
	font-weight: 700;
	margin-bottom: 1rem;
	position: relative;
	display: inline-block;
}

.section-title::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 0;
	width: 60px;
	height: 4px;
	background: var(--primary-gradient);
	border-radius: 2px;
}

.about-image {
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.1);
	transition: all 0.3s ease;
}

.about-image:hover {
	transform: translateY(-10px);
}

.about-image img {
	width: 100%;
	height: auto;
	transition: all 0.3s ease;
}

.about-content h3 {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 2rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
	color: var(--text-primary);
}

.about-content p {
	font-size: 1.1rem;
	color: var(--text-secondary);
	line-height: 1.8;
}

/* Portfolio Section */
.portfolio-section {
	padding: 120px 0;
	background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

.project-card {
	background: white;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
	transition: all 0.3s ease;
	height: 100%;
	border: 1px solid rgba(255, 255, 255, 0.2);
}

.project-card {
  position: relative;
  overflow: hidden;
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  color: black;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transform: translateY(100%);
  transition: all 0.4s ease-in-out;
  padding: 2rem;
}

.project-card:hover .project-overlay {
  opacity: 1;
  transform: translateY(0);
}

.overlay-content {
  max-width: 80%;
}

.project-overlay h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.project-overlay p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.btn-overlay {
  display: inline-block;
  padding: 8px 16px;
  background: #667eea;
  color: white;
  border-radius: 30px;
  border: 3px solid #667eea;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-overlay:hover {
  background: transparent;
  color: #667eea;
}

.project-card:hover {
	transform: translateY(-15px);
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.15);
}

.project-image {
	height: 250px;
	background: var(--primary-gradient);
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.project-image i {
	font-size: 4rem;
	color: white;
	opacity: 0.8;
}

.project-image.vestiary {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.project-image.horse-race {
	background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.project-image.clock {
	background: linear-gradient(135deg,#4facfe 0%,#00f2fe 100%);
}

.project-image.quiz {
	background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.project-image.tuiles {
	background: linear-gradient(135deg,#ffb347 0%,#ffcc33 100%);
}

.project-image.chrono {
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.project-content {
	padding: 2rem;
	padding-bottom: 0.5rem;	
}

.project-title {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 1rem;
	color: var(--text-primary);
}

.project-description {
	color: var(--text-secondary);
	font-size: 1rem;
	line-height: 1.6;
	margin-bottom: 1.5rem;
}

.project-tech {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
}

.tech-tag {
	background: var(--surface-dark);
	padding: 0.25rem 0.75rem;
	border-radius: 20px;
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--text-secondary);
}

.project-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: #667eea;
	text-decoration: none;
	font-weight: 600;
	transition: all 0.3s ease;
}

.project-link:hover {
	color: #764ba2;
	transform: translateX(5px);
}

/* Skills Section */
.skills-section {
	padding: 120px 0;
	background: var(--dark-gradient);
	color: white;
}

.skill-item {
	text-align: center;
	padding: 2rem;
	border-radius: 15px;
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(20px);
	border: 1px solid rgba(255, 255, 255, 0.1);
	transition: all 0.3s ease;
	height: 100%;
}

.skill-item:hover {
	transform: translateY(-10px);
	background: rgba(255, 255, 255, 0.08);
}

.skill-icon {
	font-size: 3rem;
	margin-bottom: 1rem;
	background: var(--accent-gradient);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

.skill-title {
	font-family: 'Space Grotesk', sans-serif;
	font-size: 1.3rem;
	font-weight: 600;
	margin-bottom: 1rem;
}

/* Footer */
.footer {
	background: #0c0c0c;
	color: white;
	padding: 60px 0 30px;
	text-align: center;
}

.social-links {
	display: flex;
	justify-content: center;
	gap: 1rem;
	margin-bottom: 2rem;
}

.social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.1);
	color: white;
	text-decoration: none;
	transition: all 0.3s ease;
}

.social-link:hover {
	background: var(--primary-gradient);
	transform: translateY(-5px);
	color: white;
}

/* Responsive */
@media (max-width: 768px) {
	.hero h1 {
		font-size: 2.5rem;
	}
	
	.hero .subtitle {
		font-size: 1.2rem;
	}
	
	.section-title {
		font-size: 2.5rem;
	}
	
	.btn-outline-custom {
		margin-left: 0;
		margin-top: 1rem;
	}
	
	.project-content {
		padding: 1.5rem;
	}
}

/* Animations */
.fade-in {
	opacity: 0;
	transform: translateY(30px);
	animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.fade-in-delay-1 { animation-delay: 0.2s; }
.fade-in-delay-2 { animation-delay: 0.4s; }
.fade-in-delay-3 { animation-delay: 0.6s; }
.fade-in-delay-4 { animation-delay: 0.8s; }