/* ==========================================================================
   Akfin Theme — Main Stylesheet
   Palette: Anthracite #2D2D2D | Blanc #FFF | Gris clair #F5F5F5
            Bleu accent #3B82F6 | Gris texte #6B7280
   ========================================================================== */

/* --- Reset & Base --- */
*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	font-size: 16px;
}

body {
	font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
	color: #2D2D2D;
	line-height: 1.6;
	background: #FFFFFF;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: #3B82F6;
	text-decoration: none;
	transition: color 0.3s ease;
}

a:hover {
	color: #2563EB;
}

ul {
	list-style: none;
}

/* --- Utilities --- */
.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.section {
	padding: 5rem 0;
}

.section--gray {
	background: #F5F5F5;
}

.section--dark {
	background: #2D2D2D;
	color: #FFFFFF;
}

.section__title {
	font-size: 2rem;
	font-weight: 700;
	text-align: center;
	margin-bottom: 1rem;
}

.section__subtitle {
	font-size: 1.125rem;
	color: #6B7280;
	text-align: center;
	max-width: 600px;
	margin: 0 auto 3rem;
}

.section--dark .section__subtitle {
	color: #D1D5DB;
}

.btn {
	display: inline-block;
	padding: 0.875rem 2rem;
	font-size: 1rem;
	font-weight: 600;
	border-radius: 0.5rem;
	border: none;
	cursor: pointer;
	transition: all 0.3s ease;
	text-align: center;
}

.btn--primary {
	background: #3B82F6;
	color: #FFFFFF;
}

.btn--primary:hover {
	background: #2563EB;
	color: #FFFFFF;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.btn--outline {
	background: transparent;
	color: #FFFFFF;
	border: 2px solid #FFFFFF;
}

.btn--outline:hover {
	background: #FFFFFF;
	color: #2D2D2D;
}

/* --- Animations --- */
.fade-in {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
	opacity: 1;
	transform: translateY(0);
}

/* ==========================================================================
   HEADER / NAVIGATION
   ========================================================================== */
.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	background: transparent;
	transition: background 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
	background: #2D2D2D;
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	height: 80px;
}

.site-logo {
	font-size: 1.75rem;
	font-weight: 700;
	color: #FFFFFF;
	letter-spacing: -0.5px;
}

.site-logo span {
	color: #3B82F6;
}

.nav-menu {
	display: flex;
	gap: 2rem;
	align-items: center;
}

.nav-menu a {
	color: #FFFFFF;
	font-size: 0.9375rem;
	font-weight: 500;
	position: relative;
	padding: 0.25rem 0;
}

.nav-menu a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: #3B82F6;
	transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
	width: 100%;
}

.nav-menu a:hover {
	color: #FFFFFF;
}

.nav-cta {
	margin-left: 1rem;
	background: #3B82F6;
	color: #FFFFFF;
	padding: 0.625rem 1.5rem;
	border-radius: 0.5rem;
	font-weight: 600;
	transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.nav-cta:hover {
	background: #2563EB;
	color: #FFFFFF;
	transform: translateY(-1px);
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.nav-cta::after {
	display: none !important;
}

/* Hamburger */
.hamburger {
	display: none;
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
	background: none;
	border: none;
	padding: 0.5rem;
}

.hamburger span {
	width: 24px;
	height: 2px;
	background: #FFFFFF;
	transition: all 0.3s ease;
	display: block;
}

.hamburger.active span:nth-child(1) {
	transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
	opacity: 0;
}

.hamburger.active span:nth-child(3) {
	transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
	min-height: 100vh;
	display: flex;
	align-items: center;
	background: linear-gradient(135deg, #1a1a2e 0%, #2D2D2D 50%, #16213e 100%);
	color: #FFFFFF;
	position: relative;
	overflow: hidden;
}

.hero::before {
	content: '';
	position: absolute;
	top: -50%;
	right: -20%;
	width: 600px;
	height: 600px;
	background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
	border-radius: 50%;
}

.hero::after {
	content: '';
	position: absolute;
	bottom: -30%;
	left: -10%;
	width: 400px;
	height: 400px;
	background: radial-gradient(circle, rgba(59, 130, 246, 0.08) 0%, transparent 70%);
	border-radius: 50%;
}

.hero .container {
	position: relative;
	z-index: 1;
}

.hero__content {
	max-width: 700px;
}

.hero__badge {
	display: inline-block;
	background: rgba(59, 130, 246, 0.15);
	color: #3B82F6;
	padding: 0.5rem 1rem;
	border-radius: 2rem;
	font-size: 0.875rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
	border: 1px solid rgba(59, 130, 246, 0.3);
}

.hero__title {
	font-size: 3.25rem;
	font-weight: 700;
	line-height: 1.15;
	margin-bottom: 1.5rem;
	letter-spacing: -1px;
}

.hero__title span {
	color: #3B82F6;
}

.hero__text {
	font-size: 1.25rem;
	color: #D1D5DB;
	margin-bottom: 2.5rem;
	line-height: 1.7;
}

.hero__buttons {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap;
}

/* ==========================================================================
   SERVICES
   ========================================================================== */
.services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.service-card {
	background: #FFFFFF;
	border-radius: 1rem;
	padding: 2.5rem 2rem;
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	border: 1px solid #E5E7EB;
}

.service-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
	border-color: #3B82F6;
}

.service-card__icon {
	width: 64px;
	height: 64px;
	margin: 0 auto 1.5rem;
	background: rgba(59, 130, 246, 0.1);
	border-radius: 1rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.service-card__icon svg {
	width: 32px;
	height: 32px;
	color: #3B82F6;
}

.service-card__title {
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 0.75rem;
}

.service-card__text {
	font-size: 0.9375rem;
	color: #6B7280;
	line-height: 1.6;
}

/* ==========================================================================
   ABOUT
   ========================================================================== */
.about-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.about__image {
	background: linear-gradient(135deg, #E5E7EB, #F5F5F5);
	border-radius: 1rem;
	aspect-ratio: 4/3;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.about__image-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	color: #9CA3AF;
}

.about__image-placeholder svg {
	width: 64px;
	height: 64px;
}

.about__text h3 {
	font-size: 1.125rem;
	color: #3B82F6;
	font-weight: 600;
	margin-bottom: 0.5rem;
}

.about__text h2 {
	font-size: 2rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
}

.about__text p {
	color: #6B7280;
	margin-bottom: 1.5rem;
	line-height: 1.7;
}

.about-stats {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	margin-top: 2rem;
}

.about-stat {
	text-align: center;
}

.about-stat__number {
	font-size: 2.25rem;
	font-weight: 700;
	color: #3B82F6;
	display: block;
}

.about-stat__label {
	font-size: 0.875rem;
	color: #6B7280;
}

/* ==========================================================================
   TEAM
   ========================================================================== */
.team-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.team-card {
	text-align: center;
	background: #FFFFFF;
	border-radius: 1rem;
	padding: 2.5rem 2rem;
	border: 1px solid #E5E7EB;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.team-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
}

.team-card__photo {
	width: 100px;
	height: 100px;
	border-radius: 50%;
	background: linear-gradient(135deg, #3B82F6, #1D4ED8);
	margin: 0 auto 1.5rem;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #FFFFFF;
	font-size: 2rem;
	font-weight: 700;
}

.team-card__name {
	font-size: 1.25rem;
	font-weight: 600;
	margin-bottom: 0.25rem;
}

.team-card__role {
	font-size: 0.9375rem;
	color: #3B82F6;
	font-weight: 500;
	margin-bottom: 1rem;
}

.team-card__bio {
	font-size: 0.875rem;
	color: #6B7280;
	line-height: 1.6;
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.testimonials-slider {
	max-width: 800px;
	margin: 0 auto;
	position: relative;
}

.testimonial {
	display: none;
	text-align: center;
	padding: 0 2rem;
}

.testimonial.active {
	display: block;
}

.testimonial__quote {
	font-size: 1.25rem;
	font-style: italic;
	color: #E5E7EB;
	line-height: 1.8;
	margin-bottom: 2rem;
	position: relative;
}

.testimonial__quote::before {
	content: '\201C';
	font-size: 4rem;
	color: #3B82F6;
	position: absolute;
	top: -1.5rem;
	left: 50%;
	transform: translateX(-50%);
	line-height: 1;
	font-family: Georgia, serif;
}

.testimonial__author {
	font-weight: 600;
	font-size: 1.0625rem;
}

.testimonial__company {
	font-size: 0.875rem;
	color: #9CA3AF;
	margin-top: 0.25rem;
}

.testimonials-dots {
	display: flex;
	justify-content: center;
	gap: 0.75rem;
	margin-top: 2.5rem;
}

.testimonials-dots button {
	width: 12px;
	height: 12px;
	border-radius: 50%;
	border: none;
	background: #4B5563;
	cursor: pointer;
	transition: background 0.3s ease;
	padding: 0;
}

.testimonials-dots button.active {
	background: #3B82F6;
}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
}

.contact-info {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.contact-info__item {
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}

.contact-info__icon {
	width: 48px;
	height: 48px;
	min-width: 48px;
	background: rgba(59, 130, 246, 0.1);
	border-radius: 0.75rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.contact-info__icon svg {
	width: 24px;
	height: 24px;
	color: #3B82F6;
}

.contact-info__label {
	font-weight: 600;
	margin-bottom: 0.25rem;
}

.contact-info__value {
	color: #6B7280;
	font-size: 0.9375rem;
}

.contact-map {
	margin-top: 2rem;
	border-radius: 1rem;
	overflow: hidden;
	border: 1px solid #E5E7EB;
}

.contact-map iframe {
	width: 100%;
	height: 200px;
	border: 0;
}

.contact-form {
	background: #FFFFFF;
	border-radius: 1rem;
	padding: 2.5rem;
	border: 1px solid #E5E7EB;
}

.form-group {
	margin-bottom: 1.5rem;
}

.form-group label {
	display: block;
	font-weight: 500;
	margin-bottom: 0.5rem;
	font-size: 0.9375rem;
}

.form-group input,
.form-group textarea {
	width: 100%;
	padding: 0.875rem 1rem;
	border: 1px solid #E5E7EB;
	border-radius: 0.5rem;
	font-family: inherit;
	font-size: 1rem;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
	background: #F9FAFB;
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: #3B82F6;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
	background: #FFFFFF;
}

.form-group textarea {
	resize: vertical;
	min-height: 140px;
}

.contact-form .btn {
	width: 100%;
}

.form-status {
	padding: 1rem;
	border-radius: 0.5rem;
	margin-bottom: 1.5rem;
	font-weight: 500;
	text-align: center;
}

.form-status--success {
	background: #D1FAE5;
	color: #065F46;
}

.form-status--error {
	background: #FEE2E2;
	color: #991B1B;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
	background: #1a1a1a;
	color: #FFFFFF;
	padding: 4rem 0 0;
}

.footer-grid {
	display: grid;
	grid-template-columns: 2fr 1fr 1fr;
	gap: 3rem;
	padding-bottom: 3rem;
	border-bottom: 1px solid #333;
}

.footer__brand {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 1rem;
}

.footer__brand span {
	color: #3B82F6;
}

.footer__desc {
	color: #9CA3AF;
	font-size: 0.9375rem;
	line-height: 1.7;
	margin-bottom: 1.5rem;
}

.footer__heading {
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: 1.25rem;
}

.footer__links li {
	margin-bottom: 0.75rem;
}

.footer__links a {
	color: #9CA3AF;
	font-size: 0.9375rem;
	transition: color 0.3s ease;
}

.footer__links a:hover {
	color: #3B82F6;
}

.footer__contact-item {
	display: flex;
	gap: 0.75rem;
	align-items: flex-start;
	margin-bottom: 1rem;
	color: #9CA3AF;
	font-size: 0.9375rem;
}

.footer__contact-item svg {
	width: 18px;
	height: 18px;
	min-width: 18px;
	color: #3B82F6;
	margin-top: 2px;
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.5rem 0;
	font-size: 0.875rem;
	color: #6B7280;
}

.footer-bottom a {
	color: #6B7280;
}

.footer-bottom a:hover {
	color: #3B82F6;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1024px) {
	.hero__title {
		font-size: 2.75rem;
	}

	.services-grid,
	.team-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 768px) {
	/* Navigation mobile */
	.nav-menu {
		position: fixed;
		top: 0;
		right: -100%;
		width: 80%;
		max-width: 300px;
		height: 100vh;
		background: #2D2D2D;
		flex-direction: column;
		padding: 6rem 2rem 2rem;
		gap: 1.5rem;
		transition: right 0.3s ease;
		box-shadow: -4px 0 20px rgba(0, 0, 0, 0.3);
	}

	.nav-menu.open {
		right: 0;
	}

	.nav-cta {
		margin-left: 0;
	}

	.hamburger {
		display: flex;
	}

	/* Hero */
	.hero {
		min-height: auto;
		padding: 8rem 0 5rem;
	}

	.hero__title {
		font-size: 2rem;
	}

	.hero__text {
		font-size: 1.0625rem;
	}

	.hero__buttons {
		flex-direction: column;
	}

	/* Sections */
	.section {
		padding: 3.5rem 0;
	}

	.section__title {
		font-size: 1.75rem;
	}

	/* Grids */
	.services-grid,
	.team-grid {
		grid-template-columns: 1fr;
		max-width: 400px;
		margin: 0 auto;
	}

	.about-grid,
	.contact-grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.about-stats {
		grid-template-columns: repeat(3, 1fr);
	}

	/* Footer */
	.footer-grid {
		grid-template-columns: 1fr;
	}

	.footer-bottom {
		flex-direction: column;
		gap: 0.5rem;
		text-align: center;
	}
}

@media (max-width: 480px) {
	.hero__title {
		font-size: 1.75rem;
	}

	.about-stats {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.contact-form {
		padding: 1.5rem;
	}
}
