/* 
   AuditPro Québec - Style CSS
   Color Palette:
   - Mint Green: #98FF98
   - Dark Indigo: #3F3D56
   - Light Saffron: #FFC947
   - White: #FFFFFF
   - Graphite Gray: #2B2E4A
*/

/* Reset and Base Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
	line-height: 1.6;
	color: #3f3d56;
	background-color: #ffffff;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

img {
	max-width: 100%;
	height: auto;
}

a {
	color: #3f3d56;
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover {
	color: #ffc947;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 20px;
	color: #2b2e4a;
}

h1 {
	font-size: 2.5rem;
}

h2 {
	font-size: 2rem;
	text-align: center;
	position: relative;
	padding-bottom: 20px;
	margin-bottom: 40px;
}

h2:after {
	content: "";
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 80px;
	height: 3px;
	background-color: #98ff98;
}

h3 {
	font-size: 1.5rem;
}

p {
	margin-bottom: 20px;
}

/* Buttons */
.btn {
	display: inline-block;
	padding: 12px 30px;
	border-radius: 30px;
	font-weight: 600;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s ease;
	border: none;
}

.btn-primary {
	background-color: #98ff98;
	color: #2b2e4a;
}

.btn-primary:hover {
	background-color: #2b2e4a;
	color: #ffffff;
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
	background-color: transparent;
	color: #3f3d56;
	border: 2px solid #3f3d56;
}

.btn-secondary:hover {
	background-color: #3f3d56;
	color: #ffffff;
	transform: translateY(-3px);
}

.btn-cookie {
	background-color: #ffc947;
	color: #2b2e4a;
	padding: 8px 20px;
}

.btn-cookie:hover {
	background-color: #2b2e4a;
	color: #ffffff;
}

/* Header */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	background-color: #ffffff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	z-index: 1000;
}

.site-header .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 20px;
}

.logo img {
	height: 50px;
	transition: transform 0.3s ease;
}

.logo img:hover {
	transform: scale(1.05);
}

.main-nav .nav-links {
	display: flex;
	list-style: none;
}

.main-nav .nav-links li {
	margin-left: 25px;
}

.main-nav .nav-links a {
	font-weight: 600;
	position: relative;
}

.main-nav .nav-links a:after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -5px;
	width: 0;
	height: 2px;
	background-color: #ffc947;
	transition: width 0.3s ease;
}

.main-nav .nav-links a:hover:after {
	width: 100%;
}

.menu-icon {
	display: none;
	cursor: pointer;
}

.menu-icon span {
	display: block;
	width: 25px;
	height: 3px;
	background-color: #3f3d56;
	margin: 5px 0;
	transition: all 0.3s ease;
}

/* Main Content */
main {
	padding-top: 80px;
	min-height: calc(100vh - 200px);
}

/* Hero Section */
.hero {
	background:
		linear-gradient(rgba(59, 61, 86, 0.8), rgba(43, 46, 74, 0.9)),
		url("img/YAHcb0.jpg") no-repeat center center/cover;
	color: #ffffff;
	text-align: center;
	padding: 100px 0;
}

.hero-content {
	max-width: 800px;
	margin: 0 auto;
}

.hero h1 {
	color: #ffffff;
	font-size: 3rem;
	margin-bottom: 30px;
	animation: fadeInDown 1s ease;
}

.hero p {
	font-size: 1.2rem;
	margin-bottom: 30px;
	animation: fadeInUp 1s ease 0.3s forwards;
	opacity: 0;
}

.hero .btn {
	animation: fadeInUp 1s ease 0.6s forwards;
	opacity: 0;
}

/* About Section */
.about {
	padding: 80px 0;
	background-color: #ffffff;
}

.about-content {
	display: flex;
	align-items: center;
	gap: 50px;
}

.about-text {
	flex: 1;
}

.about-image {
	flex: 1;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	transition: transform 0.5s ease;
}

.about-image:hover {
	transform: translateY(-10px);
}

.rounded-image {
	border-radius: 10px;
}

/* Services Section */
.services {
	padding: 80px 0;
	background-color: #f9f9f9;
}

.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.service-card {
	background-color: #ffffff;
	border-radius: 10px;
	padding: 30px;
	text-align: center;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	transition:
		transform 0.3s ease,
		box-shadow 0.3s ease;
}

.service-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
	width: 80px;
	height: 80px;
	line-height: 80px;
	margin: 0 auto 20px;
	background-color: #f0f0f0;
	border-radius: 50%;
	color: #3f3d56;
	font-size: 30px;
	transition:
		background-color 0.3s ease,
		color 0.3s ease;
}

.service-card:hover .service-icon {
	background-color: #98ff98;
	color: #2b2e4a;
}

.service-price {
	font-weight: 700;
	font-size: 1.2rem;
	color: #ffc947;
	margin: 20px 0;
}

/* Icon placeholders - replace with actual SVG icons in production */
.icon-audit:before {
	content: "📊";
}

.icon-tax:before {
	content: "📋";
}

.icon-internal:before {
	content: "🔍";
}

.icon-location:before {
	content: "📍";
}

.icon-phone:before {
	content: "📞";
}

.icon-email:before {
	content: "✉️";
}

/* Benefits Section */
.benefits {
	padding: 80px 0;
	background-color: #2b2e4a;
	color: #ffffff;
}

.benefits h2 {
	color: #ffffff;
}

.benefits h2:after {
	background-color: #ffc947;
}

.benefits-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
}

.benefit-item {
	padding: 20px;
	border-radius: 10px;
	background-color: rgba(255, 255, 255, 0.05);
	transition:
		transform 0.3s ease,
		background-color 0.3s ease;
}

.benefit-item:hover {
	transform: translateY(-5px);
	background-color: rgba(255, 255, 255, 0.1);
}

.benefit-item h3 {
	color: #98ff98;
}

/* Process Section */
.process {
	padding: 80px 0;
	background-color: #f9f9f9;
}

.process-steps {
	display: flex;
	justify-content: space-between;
	position: relative;
	max-width: 900px;
	margin: 0 auto;
}

.process-steps:before {
	content: "";
	position: absolute;
	top: 50px;
	left: 10%;
	right: 10%;
	height: 2px;
	background-color: #e0e0e0;
	z-index: 1;
}

.step {
	position: relative;
	z-index: 2;
	text-align: center;
	padding: 0 10px;
	width: 23%;
}

.step-number {
	width: 50px;
	height: 50px;
	line-height: 50px;
	border-radius: 50%;
	background-color: #ffc947;
	color: #2b2e4a;
	margin: 0 auto 20px;
	font-weight: 700;
	font-size: 1.2rem;
	position: relative;
	transition:
		transform 0.3s ease,
		background-color 0.3s ease;
}

.step:hover .step-number {
	transform: scale(1.1);
	background-color: #98ff98;
}

/* Contact Form Section */
.contact-form {
	padding: 80px 0;
	background-color: #ffffff;
}

.custom-form {
	max-width: 600px;
	margin: 0 auto;
	background-color: #f9f9f9;
	padding: 40px;
	border-radius: 10px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.form-group {
	position: relative;
	margin-bottom: 25px;
}

.form-group input,
.form-group select,
.form-group textarea {
	width: 100%;
	padding: 15px 20px;
	border: 1px solid #e0e0e0;
	border-radius: 5px;
	background-color: #ffffff;
	font-size: 1rem;
	transition: all 0.3s ease;
	color: #3f3d56;
}

/* Style pour les placeholders en noir */
.form-group input::placeholder,
.form-group select::placeholder,
.form-group textarea::placeholder {
	color: #000000;
	opacity: 1; /* Firefox */
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
	border-color: #98ff98;
	outline: none;
	box-shadow: 0 0 0 2px rgba(152, 255, 152, 0.2);
}

.form-label {
	position: absolute;
	top: 15px;
	left: 20px;
	color: #000000;
	transition: all 0.3s ease;
	pointer-events: none;
}

.form-group input:focus ~ .form-label,
.form-group input:not(:placeholder-shown) ~ .form-label,
.form-group select:focus ~ .form-label,
.form-group select:not(:placeholder-shown) ~ .form-label,
.form-group textarea:focus ~ .form-label,
.form-group textarea:not(:placeholder-shown) ~ .form-label {
	top: -10px;
	left: 10px;
	font-size: 0.8rem;
	padding: 0 5px;
	background-color: #ffffff;
	color: #000000;
}

.form-group.checkbox {
	display: flex;
	align-items: center;
	margin-bottom: 15px;
}

.form-group.checkbox input {
	width: auto;
	margin-right: 10px;
}

.form-group.checkbox label {
	position: static;
}

/* FAQ Section - Static Version */
.faq {
	padding: 80px 0;
	background-color: #f9f9f9;
}

.faq-items {
	max-width: 800px;
	margin: 0 auto;
}

.faq-item {
	background-color: #ffffff;
	border-radius: 5px;
	margin-bottom: 20px;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	overflow: hidden;
}

/* Styles spécifiques pour la version statique */
.faq-item.static .faq-question:after {
	display: none; /* Suppression de l'icône + */
}

.faq-item.static .faq-question {
	background-color: #f9f9f9;
	border-bottom: 1px solid #eaeaea;
	cursor: default;
}

.faq-item.static .faq-answer {
	padding: 20px;
	max-height: none; /* Toujours visible */
	overflow: visible;
}

.faq-question {
	padding: 20px;
	position: relative;
}

.faq-question h3 {
	margin: 0;
	font-size: 1.1rem;
	color: #3f3d56;
	font-weight: 600;
}

.faq-answer {
	background-color: #ffffff;
}

.faq-answer p {
	margin: 0;
	color: #555;
}

/* Footer */
.site-footer {
	background-color: #3f3d56;
	color: #ffffff;
	padding: 60px 0 20px;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 40px;
	margin-bottom: 40px;
}

.footer-about,
.footer-contact,
.footer-links {
	margin-bottom: 30px;
}

.footer-about h3,
.footer-contact h3,
.footer-links h3 {
	color: #98ff98;
	margin-bottom: 20px;
	font-size: 1.3rem;
}

.footer-contact ul,
.footer-links ul {
	list-style: none;
}

.footer-contact li,
.footer-links li {
	margin-bottom: 10px;
}

.footer-links a {
	color: #ffffff;
	transition: color 0.3s ease;
}

.footer-links a:hover {
	color: #ffc947;
}

.footer-bottom {
	text-align: center;
	padding-top: 20px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Banner with improved animations */
.cookie-banner {
	position: fixed;
	bottom: -100px;
	left: 0;
	right: 0;
	background-color: #2b2e4a;
	color: #ffffff;
	padding: 20px;
	text-align: center;
	box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
	z-index: 1001;
	opacity: 0;
	display: none;
	transition:
		opacity 0.5s ease,
		bottom 0.5s ease;
}

.cookie-content {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	max-width: 1200px;
	margin: 0 auto;
}

.cookie-content p {
	margin: 0 20px 0 0;
}

.cookie-content a {
	color: #98ff98;
}

.cookie-content a:hover {
	color: #ffc947;
}

/* Animations */
@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translateY(-30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 992px) {
	h1 {
		font-size: 2.2rem;
	}

	h2 {
		font-size: 1.8rem;
	}

	.about-content {
		flex-direction: column;
	}

	.process-steps:before {
		display: none;
	}

	.process-steps {
		flex-direction: column;
	}

	.step {
		width: 100%;
		margin-bottom: 30px;
	}
}

@media screen and (max-width: 768px) {
	.menu-icon {
		display: block;
	}

	.nav-links {
		position: fixed;
		top: 80px;
		left: -100%;
		width: 100%;
		height: calc(100vh - 80px);
		background-color: #ffffff;
		flex-direction: column;
		align-items: center;
		padding: 30px 0;
		transition: left 0.3s ease;
		box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
		overflow-y: auto;
	}

	.nav-links.nav-open {
		left: 0;
	}

	.nav-links li {
		margin: 15px 0;
	}

	.cookie-content {
		flex-direction: column;
	}

	.cookie-content p {
		margin: 0 0 15px 0;
	}
}

@media screen and (max-width: 576px) {
	h1 {
		font-size: 1.8rem;
	}

	h2 {
		font-size: 1.5rem;
	}

	.hero {
		padding: 80px 0;
	}

	.custom-form {
		padding: 30px 20px;
	}
}

/* Responsive cookie banner */
@media screen and (max-width: 768px) {
	.cookie-content {
		flex-direction: column;
	}

	.cookie-content p {
		margin: 0 0 15px 0;
	}
}
