/* Styles personnalisés */
:root {
	--titresection: #638B64;
	--orange-elements: #FE7130;
	--green-logo: #8cbd8dff;
	--text-color: #3F5740;
}

/* Hero section - ajustement pour menu sticky */
.hero-section {
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding: 120px 0 5% 0; /* Padding-top augmenté pour compenser le menu fixe */
	margin-top: 0;
}

/* Typography - Titres */
h1, h2, h3, h4, h5, h6,
.hero-title,
.hero-title-mobile,
.section-title,
.project-title,
.footer-title {
	font-family: 'Poppins', sans-serif;
	font-weight: 300;
	color: var(--titresection);
}

/* Typography - Textes */
p, 
.hero-text,
.project-category,
.footer li,
.footer a,
.scroll-text {
	font-family: 'Lato', sans-serif;
	font-weight: 400;
	color: var(--text-color);
}

.hero-title {
	font-size: 2.5rem;
	line-height: 1.2;
	margin-bottom: 30px;
	margin-right: 50px;
	margin-left: 30px;
}

.hero-title-mobile{
	display: none;
}

.hero-text {
	font-size: 0.9rem;
	line-height: 1.6;
	margin-bottom: 10px;
	margin-right: 10px;
	margin-left: 30px;
}

.scroll-indicator {
	margin-left: 30px;
	text-align: left;
}

.scroll-text {
	color: var(--green-logo);
	font-size: 0.9rem;
	margin-bottom: 10px;
	cursor: pointer;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 8px;
}

.scroll-text:hover {
	text-decoration: underline;
	transform: translateY(-2px);
}

.scroll-arrow {
	color: var(--orange-elements);
	font-size: 1.5rem;
	animation: bounce 1s infinite;
	transition: transform 0.3s ease;
}

/* Animation de rebond pour la flèche */
@keyframes bounce {
	0%, 20%, 50%, 80%, 100% {
		transform: translateY(0);
	}
	40% {
		transform: translateY(-8px);
	}
	60% {
		transform: translateY(-4px);
	}
}

/* Animation au hover */
.scroll-text:hover .scroll-arrow {
	animation-play-state: paused;
	transform: translateY(-3px) scale(1.1);
}

/* Image container avec forme arrondie */
.hero-image-container {
	position: relative;
	width: 100%;
	max-width: 400px;
	margin: 0 auto;
}

.hero-image {
	width: 100%;
	height: 550px;
	object-fit: cover;
	object-position: top;
	border-radius: 200px 200px 0 0;
}

.geo-element {
	position: absolute;
	width: 80px;
	height: 80px;
}

.geo-1 {
	fill: var(--orange-elements);
	width: 100px;
	height: 100px;
	bottom: 60px;
	left: -57px;
}

.geo-2 {
	fill: var(--green-logo);
	width: 110px;
	height: 110px;
	top: 0px;
	right: -10px;
}

.geo-3 {
	width: 70px;
	bottom: 25px;
	right: -12px;
}

.geo-4 {
	width: 60px;
	height: 60px;
	top: -2px;
	left: 30px;
}

/* Section réalisations */
.realisations-section {
	padding: 80px 0;
}

.section-title {
	color: var(--titresection);
	font-size: 2rem;
	font-weight: 300;
	margin-bottom: 50px;
	position: relative;
}

.coeur-realsec, .coeur-realsec2 {
	position: relative;
	font-size: 3rem;
	font-weight: 500;
	bottom: -7px;
	color: var(--orange-elements);
}

.coeur-realsec {
	margin-right: 1%;
}

.coeur-realsec2 {
	margin-left: 1%;
}

.project-card {
	margin-bottom: 40px;
}

.project-image {
	width: 100%;
	height: 300px;
	object-fit: cover;
	margin-bottom: 15px;
	cursor: pointer;
	transition: transform 0.3s ease;
}

.project-image:hover {
	transform: scale(1.05);
}

.project-title {
	font-size: 1.3rem;
	font-weight: 300;
	color: var(--titresection);
	margin-bottom: 8px;
	cursor: pointer;
	text-decoration: none;
	transition: color 0.3s ease;
}

.project-title:hover {
	color: var(--orange-elements);
	text-decoration: underline;
}

.project-category {
	font-size: 0.95rem;
	font-weight: 400;
}


/* Responsive */
/* Media Queries Tablette */
@media (max-width: 991px) {
	/* Hero - ajustement padding pour menu sticky */
	.hero-section {
		padding: 140px 0 5% 0;
	}

	/* Hero - Ordre des colonnes inversé */
	.hero-section .row {
		flex-direction: column-reverse;
	}
	
	.hero-section .col-lg-5:first-child {
		order: 2;
	}
	
	.hero-section .col-lg-5:last-child {
		order: 1;
		margin-bottom: 40px;
	}

	/* Hero - Image plus grande pour tablette */
	.hero-image {
		height: 400px;
	}
	
	.geo-element {
		width: 70px;
		height: 70px;
	}
	
	.geo-1 {
		width: 85px;
		height: 85px;
		bottom: 45px;
		left: -40px;
	}
	
	.geo-2 {
		width: 95px;
		height: 95px;
		top: 0px;
		right: -8px;
	}
	
	.geo-3 {
		width: 60px;
		bottom: 20px;
		right: -10px;
	}
	
	.geo-4 {
		width: 50px;
		height: 50px;
		top: -2px;
		left: 25px;
	}

	/* Hero - Titre plus grand pour tablette */
	.hero-title-mobile {
		font-size: 2.2rem;
	}

	/* Réalisations - Titre centré */
	.section-title {
		text-align: center;
	}

}

/* Media Queries Mobile */
@media (max-width: 768px) {
	/* Hero - ajustement padding pour menu sticky */
	.hero-section {
		padding: 120px 0 5% 0;
	}

	/* Hero - Ordre des colonnes inversé */
	.hero-section .row {
		flex-direction: column-reverse;
	}
	
	.hero-section .col-lg-5:first-child {
		order: 2;
	}
	
	.hero-section .col-lg-5:last-child {
		order: 1;
		margin-bottom: 30px;
	}

	/* Hero - Image plus petite pour mobile */
	.hero-image {
		height: 300px;
	}
	
	.geo-element {
		width: 50px;
		height: 50px;
	}
	
	.geo-1 {
		width: 65px;
		height: 65px;
		bottom: 35px;
		left: -30px;
	}
	
	.geo-2 {
		width: 75px;
		height: 75px;
		top: 0px;
		right: -6px;
	}
	
	.geo-3 {
		width: 45px;
		bottom: 15px;
		right: -8px;
	}
	
	.geo-4 {
		width: 40px;
		height: 40px;
		top: -2px;
		left: 20px;
	}

	/* Hero - Titre plus petit pour mobile */
	.hero-title {
		display: none;
	}
	.hero-title-mobile{
		display: block;
		text-align: center;
		font-size: 2.5rem;
		line-height: 1.2;
		margin-bottom: 30px;
		margin-right: 50px;
		margin-left: 30px;
	}

	/* Réalisations - Titre plus petit et centré */
	.section-title {
		font-size: 1.5rem;
		text-align: center;
	}
	
	.coeur-realsec, .coeur-realsec2 {
		font-size: 2.2rem;
		bottom: -5px;
	}
}