/**
 * Styles pour la section Hero
 * Design moderne avec effet liquid glass
 */

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
	position: relative;
	min-height: 80vh;
	display: flex;
	align-items: center;
	overflow: hidden;
	padding-top: 100px;
	background: transparent;
}

.hero-background {
	display: none;
}

.hero-gradient {
	display: none;
}

.hero-particles {
	display: none;
}

@keyframes float {
	0%, 100% {
		transform: translate(0, 0) scale(1);
	}
	50% {
		transform: translate(-50px, -50px) scale(1.1);
	}
}

@keyframes particles {
	0%, 100% {
		background-position: 0% 0%;
	}
	50% {
		background-position: 100% 100%;
	}
}

.hero-content {
	position: relative;
	z-index: 2;
	padding: 2rem 0;
	animation: fadeInUp 1s ease-out;
}

.hero-title {
	font-family: 'Blanka', sans-serif;
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: normal;
	line-height: 1.1;
	margin-bottom: 1.5rem;
	color: #ffffff;
	background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-shadow: 0 0 30px rgba(74, 158, 255, 0.5);
	position: relative;
}

.hero-title::after {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 0;
	width: 100px;
	height: 4px;
	background: linear-gradient(90deg, #4A9EFF, transparent);
	border-radius: 2px;
}

.hero-subtitle-fixed {
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(1rem, 2.5vw, 1.5rem);
	font-weight: 600;
	color: rgba(255, 255, 255, 0.9);
	margin-bottom: 1rem;
	line-height: 1.4;
	animation: fadeInUp 1s ease-out 0.1s both;
}

.hero-subtitle {
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(1.2rem, 3vw, 2.2rem);
	font-weight: 600;
	color: #4A9EFF;
	margin-bottom: 1.5rem;
	text-shadow: 0 0 20px rgba(74, 158, 255, 0.3);
	animation: fadeInUp 1s ease-out 0.2s both;
	min-height: 1.2em; /* Évite le saut de hauteur pendant l'animation */
}

.typewriter-text {
	display: inline-block;
}

.typewriter-cursor {
	display: inline-block;
	color: #4A9EFF;
	font-weight: 300;
	animation: blink 1s infinite;
	margin-left: 2px;
}

@keyframes blink {
	0%, 50% {
		opacity: 1;
	}
	51%, 100% {
		opacity: 0;
	}
}

.hero-description {
	font-family: 'Montserrat', sans-serif;
	font-size: clamp(0.9rem, 1.5vw, 1.15rem);
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.8);
	margin-bottom: 2rem;
	max-width: 600px;
	animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-buttons {
	display: flex;
	gap: 1.5rem;
	flex-wrap: wrap;
	animation: fadeInUp 1s ease-out 0.6s both;
}

.btn-hero-primary {
	background: linear-gradient(135deg, #4A9EFF 0%, #357ABD 100%);
	border: none;
	padding: 1rem 2.5rem;
	border-radius: 50px;
	font-weight: 600;
	font-size: 1.1rem;
	color: #ffffff;
	text-decoration: none;
	box-shadow: 0 8px 25px rgba(74, 158, 255, 0.4);
	transition: all 0.3s ease;
	position: relative;
	overflow: hidden;
}

.btn-hero-primary::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0;
	height: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.3);
	transform: translate(-50%, -50%);
	transition: width 0.6s, height 0.6s;
}

.btn-hero-primary:hover::before {
	width: 400px;
	height: 400px;
}

.btn-hero-primary:hover {
	transform: translateY(-3px);
	box-shadow: 0 12px 35px rgba(74, 158, 255, 0.6);
	color: #ffffff;
}

.btn-hero-secondary {
	border: 2px solid rgba(255, 255, 255, 0.3);
	background: rgba(255, 255, 255, 0.05);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	padding: 1rem 2.5rem;
	border-radius: 50px;
	font-weight: 600;
	font-size: 1.1rem;
	color: #ffffff;
	text-decoration: none;
	transition: all 0.3s ease;
}

.btn-hero-secondary:hover {
	background: rgba(255, 255, 255, 0.1);
	border-color: rgba(255, 255, 255, 0.5);
	transform: translateY(-3px);
	color: #ffffff;
	box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Image Hero */
.hero-image-wrapper {
	position: relative;
	z-index: 2;
	animation: fadeInRight 1s ease-out 0.3s both;
}

.hero-image {
	width: 100%;
	height: auto;
	border-radius: 20px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
	position: relative;
	z-index: 2;
	transition: transform 0.3s ease;
}

.hero-image:hover {
	transform: scale(1.02);
}

.hero-image-glow {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 120%;
	height: 120%;
	background: radial-gradient(circle, rgba(74, 158, 255, 0.3) 0%, transparent 70%);
	border-radius: 20px;
	z-index: 1;
	filter: blur(30px);
	animation: pulse 3s ease-in-out infinite;
}

@keyframes pulse {
	0%, 100% {
		opacity: 0.5;
		transform: translate(-50%, -50%) scale(1);
	}
	50% {
		opacity: 0.8;
		transform: translate(-50%, -50%) scale(1.1);
	}
}

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

@keyframes fadeInRight {
	from {
		opacity: 0;
		transform: translateX(30px);
	}
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

/* Responsive */
@media (max-width: 991.98px) {
	.hero-section {
		padding-top: 120px;
		min-height: auto;
	}

	.hero-content {
		text-align: center;
		margin-bottom: 3rem;
	}

	.hero-title::after {
		left: 50%;
		transform: translateX(-50%);
	}

	.hero-description {
		margin-left: auto;
		margin-right: auto;
	}

	.hero-buttons {
		justify-content: center;
	}

	.hero-image-wrapper {
		margin-top: 2rem;
	}
}

@media (max-width: 575.98px) {
	.hero-buttons {
		flex-direction: column;
		width: 100%;
	}

	.btn-hero-primary,
	.btn-hero-secondary {
		width: 100%;
		text-align: center;
	}
}
