/* 
 * Auditélite - Styles généraux 
 * Couleurs:
 * - Principal: #4B0082 (Indigo-violet)
 * - Secondaire: #E6E6FA (Lavande)
 * - Accent: #FFA500 (Orange vif)
 * - Arrière-plan: #F4F1ED (Gris-beige chaud)
 * - Texte: #333333 (Gris foncé)
 */

/* Réinitialisation et styles de base */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: "Arial", sans-serif;
	line-height: 1.6;
	color: #333333;
	background-color: #f4f1ed;
	overflow-x: hidden;
}

.container {
	width: 90%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 15px;
}

/* Typographie */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 20px;
	color: #4b0082;
}

h1 {
	font-size: 2.5rem;
}

h2 {
	font-size: 2rem;
}

h3 {
	font-size: 1.75rem;
}

p {
	margin-bottom: 15px;
}

/* Liens */
a {
	color: #4b0082;
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover,
a:focus {
	color: #ffa500;
	text-decoration: underline;
}

/* Boutons */
.btn {
	display: inline-block;
	padding: 12px 25px;
	background-color: #4b0082;
	color: #fff;
	border: none;
	border-radius: 5px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: center;
}

.btn:hover,
.btn:focus {
	background-color: #ffa500;
	color: #fff;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.btn-secondary {
	background-color: #e6e6fa;
	color: #4b0082;
}

.btn-secondary:hover,
.btn-secondary:focus {
	background-color: #d8d8f8;
	color: #4b0082;
}

/* En-tête */
header {
	background-color: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
}

.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 15px 0;
}

.logo {
	height: 40px;
}

/* Navigation */
.nav-toggle {
	display: none;
}

nav ul {
	display: flex;
	list-style: none;
}

nav ul li {
	margin-left: 20px;
}

nav ul li a {
	font-weight: 600;
	position: relative;
}

nav ul li a::after {
	content: "";
	position: absolute;
	width: 0;
	height: 2px;
	bottom: -5px;
	left: 0;
	background-color: #ffa500;
	transition: width 0.3s ease;
}

nav ul li a:hover::after,
nav ul li a.active::after {
	width: 100%;
}

/* Sections */
section {
	padding: 80px 0;
	opacity: 0;
	transform: translateY(20px);
	transition:
		opacity 0.6s ease,
		transform 0.6s ease;
}

section.visible {
	opacity: 1;
	transform: translateY(0);
}

.section-title {
	text-align: center;
	margin-bottom: 50px;
}

.section-title::after {
	content: "";
	display: block;
	width: 80px;
	height: 4px;
	background-color: #ffa500;
	margin: 20px auto 0;
}

/* Hero Section */
.hero {
	background: linear-gradient(rgba(75, 0, 130, 0.8), rgba(75, 0, 130, 0.9)), url("../img/m7zcoz.jpg");
	background-size: cover;
	background-position: center;
	color: #fff;
	text-align: center;
	min-height: 100vh;
	display: flex;
	align-items: center;
	padding: 100px 0;
	margin-top: 0;
}

.hero .container {
	max-width: 800px;
}

.hero h1 {
	font-size: 3rem;
	color: #fff;
	margin-bottom: 30px;
}

.hero p {
	font-size: 1.25rem;
	margin-bottom: 40px;
	color: #e6e6fa;
}

/* About Section */
.about {
	background-color: #fff;
}

.about-content {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 30px;
}

.about-text {
	flex: 1;
	min-width: 300px;
}

.about-image {
	flex: 1;
	min-width: 300px;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
	width: 100%;
	height: auto;
	transition: transform 0.5s ease;
}

.about-image:hover img {
	transform: scale(1.05);
}

/* Services Section */
.services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.service-card {
	background-color: #fff;
	padding: 30px;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
}

.service-card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-icon {
	background-color: #e6e6fa;
	width: 70px;
	height: 70px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
}

.service-price {
	font-size: 1.5rem;
	font-weight: 700;
	color: #ffa500;
	margin: 15px 0;
}

/* Why Choose Us Section */
.features {
	background-color: #e6e6fa;
}

.features-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
}

.feature-card {
	background-color: #fff;
	padding: 25px;
	border-radius: 10px;
	text-align: center;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
	transition: all 0.3s ease;
}

.feature-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
	color: #ffa500;
	font-size: 2.5rem;
	margin-bottom: 15px;
}

/* Testimonials Section */
.testimonials {
	background-color: #fff;
}

.testimonial-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
	gap: 30px;
}

.testimonial-card {
	background-color: #f4f1ed;
	padding: 30px;
	border-radius: 10px;
	box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.testimonial-text {
	font-style: italic;
	margin-bottom: 20px;
}

.testimonial-author {
	display: flex;
	align-items: center;
}

.testimonial-author img {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	margin-right: 15px;
}

.author-info h4 {
	margin-bottom: 5px;
}

.author-info p {
	font-size: 0.9rem;
	color: #666;
	margin-bottom: 0;
}

/* FAQ Section */
.faq {
	background-color: #e6e6fa;
}

.accordion {
	max-width: 800px;
	margin: 0 auto;
}

.accordion-item {
	background-color: #fff;
	margin-bottom: 15px;
	border-radius: 5px;
	overflow: hidden;
}

.accordion-header {
	padding: 15px 20px;
	background-color: #fff;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	transition: background-color 0.3s ease;
}

.accordion-header:hover {
	background-color: #f4f1ed;
}

.accordion-header h3 {
	margin: 0;
	font-size: 1.2rem;
}

.accordion-content {
	padding: 0 20px;
	max-height: 0;
	overflow: hidden;
	transition:
		max-height 0.3s ease,
		padding 0.3s ease;
}

.accordion-item.active .accordion-content {
	padding: 20px;
	max-height: 500px;
}

/* Contact Form Section */
.contact {
	background-color: #fff;
}

.contact-form {
	max-width: 600px;
	margin: 0 auto;
	background-color: #f4f1ed;
	padding: 40px;
	border-radius: 10px;
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.form-group {
	margin-bottom: 20px;
}

.form-label {
	display: block;
	margin-bottom: 8px;
	font-weight: 600;
}

.form-control {
	width: 100%;
	padding: 12px 15px;
	border: 1px solid #ddd;
	border-radius: 5px;
	font-size: 1rem;
	transition:
		border-color 0.3s ease,
		box-shadow 0.3s ease;
}

.form-control:focus {
	border-color: #4b0082;
	outline: none;
	box-shadow: 0 0 0 3px rgba(75, 0, 130, 0.1);
}

.form-check {
	display: flex;
	align-items: flex-start;
	margin-bottom: 15px;
}

.form-check-input {
	margin-top: 5px;
	margin-right: 10px;
}

/* Footer */
footer {
	background-color: #4b0082;
	color: #fff;
	padding: 60px 0 30px;
}

.footer-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
	margin-bottom: 40px;
}

.footer-col h3 {
	color: #ffa500;
	margin-bottom: 25px;
	font-size: 1.5rem;
}

.footer-col p {
	color: #e6e6fa;
	margin-bottom: 10px;
}

.footer-col ul {
	list-style: none;
}

.footer-col ul li {
	margin-bottom: 10px;
}

.footer-col ul li a {
	color: #e6e6fa;
}

.footer-col ul li a:hover {
	color: #ffa500;
}

.footer-bottom {
	text-align: center;
	padding-top: 30px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Cookie Banner */
#cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: #fff;
	padding: 20px;
	box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
	z-index: 9999;
	display: none;
	opacity: 0;
	transition: opacity 0.5s ease;
}

.cookie-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 20px;
}

.cookie-text {
	flex: 1;
	min-width: 300px;
}

.cookie-buttons {
	display: flex;
	gap: 15px;
}

/* Animation pour les sections au scroll */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(20px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.animate {
	animation: fadeInUp 0.6s ease forwards;
}

/* Media Queries pour la responsivité */
@media (max-width: 992px) {
	h1 {
		font-size: 2.2rem;
	}

	h2 {
		font-size: 1.8rem;
	}

	.hero h1 {
		font-size: 2.5rem;
	}
}

@media (max-width: 768px) {
	.nav-toggle {
		display: block;
		background: none;
		border: none;
		font-size: 1.5rem;
		cursor: pointer;
		color: #4b0082;
	}

	nav {
		position: fixed;
		top: 70px;
		left: -100%;
		width: 100%;
		height: calc(100vh - 70px);
		background-color: #fff;
		padding: 20px;
		transition: left 0.3s ease;
		z-index: 999;
	}

	nav.active {
		left: 0;
	}

	nav ul {
		flex-direction: column;
		width: 100%;
	}

	nav ul li {
		margin: 0;
		padding: 15px 0;
		border-bottom: 1px solid #eee;
	}

	.about-content {
		flex-direction: column;
	}

	.service-card,
	.feature-card,
	.testimonial-card {
		padding: 20px;
	}

	.contact-form {
		padding: 30px 20px;
	}

	.cookie-content {
		flex-direction: column;
	}
}

@media (max-width: 576px) {
	h1 {
		font-size: 2rem;
	}

	h2 {
		font-size: 1.6rem;
	}

	h3 {
		font-size: 1.4rem;
	}

	.hero h1 {
		font-size: 2rem;
	}

	.hero p {
		font-size: 1rem;
	}

	section {
		padding: 60px 0;
	}

	.btn {
		padding: 10px 20px;
	}
}
