/* ============================================
   PAGES INTERIEURES - Styles unifies
   Access Capital Partners
   ============================================ */

/* ========== CSS VARIABLES ========== */
/* Variables centralisees dans /assets/css/variables.css */

/* ========== GLOBAL STYLES ========== */
* { font-family: "Inter", sans-serif; }
body { font-size: 1rem; }
b, strong { font-weight: 500 !important; }

/* Section styles */
.section-label {
	font-size: 0.75rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.2em;
	color: var(--color-secondary);
	margin-bottom: 1rem;
}

.title-gradient {
	background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* Titre de section (style index) */
.section-title {
	font-size: clamp(2rem, 5vw, 2.75rem);
	font-weight: 700;
	margin-bottom: 1.5rem;
	line-height: 1.2;
	color: var(--color-primary);
}

/* Ligne décorative */
.accent-line {
	width: 80px;
	height: 4px;
	background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
	border-radius: 2px;
	margin-bottom: 2rem;
}

/* Intro paragraph (en gras) */
.section-intro {
	font-size: 1.1rem;
	line-height: 1.8;
	margin-bottom: 1.5rem;
}

.section-intro strong {
	font-weight: 500;
}

/* Corps de texte */
.section-body {
	font-size: 1rem;
	line-height: 1.8;
	color: var(--text-body);
	margin-bottom: 2rem;
}

/* Hero Glass Card (style index) */
.hero-glass-card {
	background: rgba(26, 26, 46, 0.15);
	backdrop-filter: blur(20px);
	-webkit-backdrop-filter: blur(20px);
	border-radius: 30px;
	padding: 40px;
	max-width: 600px;
}

.hero-glass-card h1 {
	font-size: clamp(2rem, 4.5vw, 3.5rem);
	font-weight: 700;
	color: white;
	line-height: 1.2;
	margin-bottom: 1.5rem;
}

.hero-glass-card p {
	color: rgba(255, 255, 255, 0.9);
	font-size: 1.1rem;
	line-height: 1.8;
}

.section-padding { padding: 120px 0; }
.bg-litegray { background: var(--warm-gray); }

/* ========== LOGO STICKY ========== */
.logo-sticky {
	position: fixed;
	top: 20px;
	left: 30px;
	z-index: 10000;
	mix-blend-mode: difference;
}

.logo-sticky a { display: block; }

.logo-sticky img {
	height: 90px;
	filter: brightness(0) invert(1);
}

.logo-blur-ellipse { display: none; }

/* ========== HEADER FINALE ========== */
.header-finale {
	position: fixed;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 100%;
	z-index: 9999;
	height: var(--header-height);
	padding: 0 50px;
	display: flex;
	align-items: center;
	background: transparent;
	transition: all 0.4s ease;
}

.header-finale .header-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	max-width: var(--container-max-width);
	margin: 0 auto;
	position: relative;
}

.header-finale .lang-switcher {
	position: absolute;
	right: 0;
	color: white;
	font-size: 13px;
	transition: color 0.3s ease;
}

/* Navigation principale (top state) */
.header-finale nav .main-nav {
	display: flex;
	gap: 45px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.header-finale nav a {
	font-size: 13px;
	font-weight: 500;
	color: white;
	text-decoration: none;
	text-shadow: 0 1px 3px rgba(0,0,0,0.3);
	text-transform: uppercase;
	transition: color 0.3s ease;
}

.header-finale nav a:hover { color: var(--color-secondary); }

.header-finale .lang-btn {
	background: none;
	border: none;
	color: inherit;
	cursor: pointer;
	font-size: 13px;
	font-weight: 500;
}

.header-finale .lang-btn.active { color: var(--color-secondary); }
.header-finale .lang-separator { margin: 0 5px; }

/* Header Scrolled */
.header-finale.scrolled {
	top: 20px;
	width: 70%;
	max-width: 900px;
	height: var(--header-height-scrolled);
	padding: 0 40px;
	background: rgba(255,255,255,0.98);
	backdrop-filter: blur(20px);
	border-radius: 50px;
	box-shadow: 0 10px 40px rgba(0,0,0,0.1);
}

.header-finale.scrolled .header-inner { justify-content: flex-start; }
.header-finale.scrolled nav { flex: 1; }
.header-finale.scrolled nav .main-nav { justify-content: flex-start; gap: 25px; }
.header-finale.scrolled nav a { color: var(--soft-black); text-shadow: none; }
.header-finale.scrolled nav a:hover { color: var(--color-secondary); }
.header-finale.scrolled .lang-switcher { color: var(--soft-black); }

/* Dropdown Submenus */
.header-finale nav li { position: relative; }

.header-finale nav .submenu {
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(255,255,255,0.98);
	backdrop-filter: blur(20px);
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0,0,0,0.15);
	padding: 12px 0;
	min-width: 200px;
	list-style: none;
	margin: 0;
	margin-top: 15px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s ease;
	display: flex;
	flex-direction: column;
	gap: 0;
}

/* Pont invisible pour maintenir le hover du submenu */
.header-finale nav .submenu::before {
	content: '';
	position: absolute;
	top: -20px;
	left: 0;
	right: 0;
	height: 20px;
	background: transparent;
}

.header-finale nav li.has-submenu:hover .submenu { opacity: 1; visibility: visible; }

.header-finale nav .submenu li {
	padding: 0;
	margin: 0;
	line-height: 1;
}

.header-finale nav .submenu a {
	display: block;
	padding: 10px 20px;
	color: var(--soft-black) !important;
	text-shadow: none !important;
	font-size: 12px;
	white-space: nowrap;
	line-height: 1.4;
	transition: background-color 0.2s ease;
}

.header-finale nav .submenu a:hover {
	background-color: rgba(224, 112, 32, 0.1);
	color: var(--color-secondary) !important;
}

.header-finale nav li.has-submenu > a::after {
	content: '';
	display: inline-block;
	width: 0;
	height: 0;
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 4px solid currentColor;
	margin-left: 6px;
	vertical-align: middle;
}

.header-finale nav li.has-submenu > a { pointer-events: none; cursor: default; }
.header-finale nav .submenu a { pointer-events: auto; cursor: pointer; }

/* État scrolled du submenu - seulement le margin-top change */
.header-finale.scrolled nav .submenu {
	margin-top: 10px;
}

/* ========== BUTTONS ========== */
.btn-primary {
	font-size: 16px;
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	padding: 1rem 2rem;
	background-color: var(--color-secondary);
	color: white;
	border-radius: 9999px;
	font-weight: 500;
	text-decoration: none;
	transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-primary:hover {
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(209, 89, 54, 0.35);
	background-color: var(--color-secondary-warm);
}

/* ========== HERO SECTION - Pages interieures ========== */
.hero-inside {
	position: relative;
	height: 80vh;
	min-height: 500px;
	overflow: hidden;
}

.hero-inside .hero-image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
}

.hero-inside .hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	/* background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.0)); */
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-inside .hero-title {
	color: white !important;
	font-size: clamp(2rem, 5vw, 4rem) !important;
	font-weight: 700 !important;
	text-align: center;
	max-width: 800px;
	padding: 0 2rem;
	margin: 0;
	text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

/* Hero title avec dégradé */
.hero-inside .hero-title.title-gradient {
	background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%) !important;
	-webkit-background-clip: text !important;
	-webkit-text-fill-color: transparent !important;
	background-clip: text !important;
	color: transparent !important;
	text-shadow: none !important;
	font-weight: 700 !important;
}

/* ========== CONTENT SECTIONS ========== */
#content {
	background: white;
	position: relative;
	z-index: 10;
}

#content .container {
	max-width: 1200px;
}

.content-section {
	padding: 100px 0 !important;
}

.content-section h2 {
	font-size: clamp(1.75rem, 4vw, 2.25rem) !important;
	font-weight: 700 !important;
	margin-bottom: 2rem !important;
}

.content-section h2 strong {
	font-weight: 700;
}

.content-narrow {
	max-width: 800px;
	margin: 0 auto;
}

/* Section title h2 with gradient */
.content-section .section-title span.title-gradient {
	background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
}

/* Section titles */
.content-section .text-3xl {
	font-size: 1.875rem;
	line-height: 1.3;
}

.content-section .text-5xl {
	font-size: 3rem;
	line-height: 1.2;
}

/* ========== TEXT STYLES ========== */
.page-intro {
	font-size: 1.125rem;
	line-height: 2;
	color: var(--text-dark);
	margin-bottom: 2rem;
}

.page-intro strong {
	font-weight: 500;
}

.page-body {
	font-size: 1rem;
	line-height: 1.9;
	color: var(--text-body);
}

.page-body p {
	margin-bottom: 1.5rem;
}

/* Text colors - explicit for readability */
.text-primary { color: var(--color-primary) !important; }
.text-secondary { color: var(--color-secondary) !important; }

.page-body h2 {
	font-size: 1.75rem;
	font-weight: 600;
	color: var(--color-primary);
	margin-top: 3rem;
	margin-bottom: 1.5rem;
}

.page-body h3 {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--soft-black);
	margin-top: 2rem;
	margin-bottom: 1rem;
}

.page-body ul,
.page-body ol {
	margin-bottom: 1.5rem;
	padding-left: 1.5rem;
}

.page-body li {
	margin-bottom: 0.5rem;
}

/* ========== TWO COLUMN GRID ========== */
.btgrid {
	margin-top: 2.5rem;
}

.btgrid .row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
}

.btgrid .col p {
	font-size: 0.95rem;
	line-height: 1.9;
	color: var(--text-body);
	margin-bottom: 1.25rem;
}

.btgrid .col p:first-child {
	font-size: 1rem;
}

.btgrid .col p strong {
	font-weight: 500;
	color: var(--text-dark);
}

@media (max-width: 768px) {
	.btgrid .row {
		grid-template-columns: 1fr;
		gap: 30px;
	}
}

/* ========== SECTION ALTERNEES (image/texte) ========== */
.section-split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
	padding: 80px 0;
}

.section-split.reverse {
	direction: rtl;
}

.section-split > * {
	direction: ltr;
}

.section-split-image {
	border-radius: 15px;
	overflow: hidden;
}

.section-split-image img {
	width: 100%;
	height: auto;
	display: block;
}

.section-split-content {
	padding: 2rem 0;
}

/* ========== SECTION HANDS (Our Focus) ========== */
.section-hands {
	position: relative;
	z-index: 31;
	margin: 15px auto;
	overflow: visible;
}

/* Par défaut: image à gauche (flex-row-reverse inverse l'ordre) */
.section-hands:not(.custom-reverse) .flex.md\:flex-row {
	flex-direction: row-reverse;
}

/* Container image */
.section-hands .img-cont {
	width: 50vw;
	height: 480px;
	overflow: hidden;
	position: relative;
}

.section-hands .img-cont img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.1);
	transition: transform 0.8s ease;
}

/* Masque d'animation - révélation de haut en bas */
.section-hands .image-mask {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--soft-black);
	z-index: 2;
	transition: height 0.6s ease;
}

.section-hands.enter-animation .image-mask {
	height: 0;
}

.section-hands.enter-animation .img-cont img {
	transform: scale(1);
}

/* Fond blanc pour les sections hands */
.section-hands .bg-litegray,
.section-hands .reveal.w-\[500px\],
.section-hands.custom-reverse {
	background: #ffffff;
}

/* Fond gris clair pour les sections inversées - étendu jusqu'à droite */
.section-hands.custom-reverse .bg-litegray {
	background: #e5e7eb;
	right: -50vw !important;
	width: 150vw !important;
}

.section-hands.custom-reverse .reveal.w-\[500px\] {
	background: #e5e7eb;
}

/* Numéro centré dans la page */
.section-hands .number-section {
	font-size: clamp(80px, 15vw, 220px);
	position: absolute;
	bottom: -15%;
	left: 50%;
	transform: translateX(-50%);
	z-index: 32;
	line-height: 1;
	font-weight: 800;
}

/* Bloc inversé: numéro reste centré */
.section-hands.custom-reverse .number-section {
	left: 50%;
	transform: translateX(-50%);
}

/* Positions personnalisées des chiffres */
#section-hands-1 .number-section {
	left: 122.8%;
	bottom: 15.3%;
}

#section-hands-2 .number-section {
	left: 44.6%;
	bottom: 15.1%;
}

#section-hands-3 .number-section {
	left: 114.8%;
	bottom: 17.4%;
}

/* Zone texte avec fond gris */
.section-hands .reveal {
	max-width: 520px;
	padding: 3rem 4rem;
	position: relative;
	z-index: 1;
}

.section-hands .reveal h3,
.section-hands .reveal .text-3xl {
	font-size: clamp(1.5rem, 3vw, 2rem);
	color: var(--color-primary);
	margin-bottom: 1.5rem;
	font-weight: 700;
}

.section-hands .reveal p {
	font-size: 0.95rem;
	line-height: 1.9;
	color: var(--text-body);
}

.section-hands .reveal p strong {
	color: var(--text-dark);
	font-weight: 500;
}

/* Bloc inversé: flex direction normal */
.section-hands.custom-reverse .flex.md\:flex-row {
	flex-direction: row;
}

/* Responsive */
@media (max-width: 768px) {
	.section-hands {
		margin: 40px auto;
	}

	.section-hands .img-cont {
		width: 100%;
		height: 300px;
	}

	.section-hands .number-section {
		font-size: 100px;
		bottom: -10%;
	}

	.section-hands .reveal {
		padding: 2rem 1.5rem;
		max-width: 100%;
	}

	.section-hands:not(.custom-reverse) .flex.md\:flex-row,
	.section-hands.custom-reverse .flex.md\:flex-row {
		flex-direction: column-reverse;
	}
}

/* Contenu additionnel après section-hands (texte entre les blocs) */
.section-hands-extra {
	max-width: 800px;
	margin: 0 auto;
	padding: 3rem 2rem;
}

.section-hands-extra p {
	font-size: 0.95rem;
	line-height: 1.9;
	color: var(--text-body);
	margin-bottom: 1.5rem;
}

.section-hands-extra ul {
	list-style: disc;
	margin-left: 1.5rem;
	margin-bottom: 1.5rem;
}

.section-hands-extra li {
	font-size: 0.95rem;
	line-height: 1.9;
	color: var(--text-body);
	margin-bottom: 1rem;
}

.section-hands-extra h4 {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--color-primary);
	margin-bottom: 1rem;
}

/* ========== SECTION FOCUS REDESIGN ========== */
.section-focus {
	display: grid;
	grid-template-columns: 1fr 1fr;
	margin: 0;
}

.section-focus .focus-image {
	position: relative;
	min-height: 500px;
}

.section-focus .focus-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Numéro centré verticalement dans l'image */
.section-focus .focus-number {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	right: 20px;
	font-size: 180px;
	font-weight: 700;
	line-height: 1;
	color: #1a1a2e;
	z-index: 10;
}

/* Zone texte avec fond blanc et centrage */
.section-focus .focus-content {
	background: white;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4rem;
}

.section-focus .focus-content-inner {
	max-width: 450px;
	text-align: left;
}

.section-focus .focus-content h3 {
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	font-weight: 600;
	margin-bottom: 2rem;
	line-height: 1.3;
}

.section-focus .focus-content p {
	font-size: 0.95rem;
	line-height: 1.9;
	color: var(--text-body);
}

/* Version inversée (image à droite) */
.section-focus.reverse {
	direction: rtl;
}

.section-focus.reverse > * {
	direction: ltr;
}

.section-focus.reverse .focus-number {
	right: auto;
	left: 20px;
}

/* Responsive */
@media (max-width: 768px) {
	.section-focus {
		grid-template-columns: 1fr;
	}

	.section-focus .focus-image {
		min-height: 300px;
	}

	.section-focus .focus-number {
		right: 20px;
		font-size: 120px;
	}

	.section-focus.reverse .focus-number {
		left: auto;
		right: 20px;
	}

	.section-focus .focus-content {
		padding: 3rem 2rem;
	}
}

/* ========== STATISTIQUES ========== */
.stats-section {
	background: url(/uploads/site/assets/section-2.jpg) no-repeat center;
	background-size: cover;
	padding: 100px 0;
	position: relative;
}

.stats-highlight {
	text-align: center;
	margin-bottom: 3rem;
}

.stats-highlight .number {
	font-size: clamp(1.7rem, 6vw, 4.7rem);
	font-weight: 700;
	color: white;
	line-height: 1;
}

.stats-highlight .unit {
	font-size: clamp(1rem, 3.3vw, 2.3rem);
	font-weight: 700;
	color: white;
}

.stats-highlight .euro {
	font-size: clamp(1.3rem, 4vw, 3rem);
	font-weight: 700;
	color: white;
}

.stats-highlight .subtitle {
	font-size: 1.125rem;
	color: rgba(255, 255, 255, 0.9);
	margin-top: 0.5rem;
	font-weight: 400;
}

.stats-grid {
	display: flex;
	justify-content: center;
	gap: 30px;
	flex-wrap: wrap;
	margin-top: 3rem;
}

.stat-circle {
	width: 200px;
	height: 200px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.25);
	border: 2px solid white;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 20px;
	backdrop-filter: blur(10px);
	transform: skewX(5deg) skewY(-10deg);
}

.stat-circle > * {
	transform: skewX(-5deg) skewY(10deg);
}

.stat-circle .counter {
	font-size: 2.25rem;
	font-weight: 600;
	color: white;
}

.stat-circle h4,
.stat-circle .stat-label {
	font-size: 0.8rem;
	font-weight: 500;
	color: white;
	margin-top: 0.5rem;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

/* Stats Box - Bottom stats (circles) */
.stats-box {
	background: rgba(139, 97, 150, 0.1);
	border: 2px solid var(--color-primary);
	border-radius: 50%;
	width: 180px;
	height: 180px;
	padding: 0;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.stats-box .counter,
.stats-box h3.counter {
	color: var(--color-primary);
	font-size: 2.75rem;
	font-weight: 600;
	line-height: 1;
	margin-bottom: 0.5rem;
}

.stats-box h4,
.stats-box .stat-label {
	font-size: 0.75rem;
	color: var(--text-muted);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	padding: 0 10px;
}

/* Stats Minimal - Style horizontal avec dégradé */
.stats-minimal {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	gap: 180px;
	flex-wrap: wrap;
}

.stats-minimal-item {
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.stats-minimal-item .number {
	font-size: 4rem;
	font-weight: 700;
	line-height: 1;
	background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	margin-bottom: 0.75rem;
}

.stats-minimal-item .label {
	font-size: 0.85rem;
	color: var(--text-muted);
	font-weight: 500;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 1rem;
}

.stats-minimal-item .line {
	width: 40px;
	height: 3px;
	background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
	border-radius: 2px;
}

@media (max-width: 768px) {
	.stats-minimal {
		gap: 40px;
	}

	.stats-minimal-item .number {
		font-size: 3rem;
	}

	.stats-minimal-item .label {
		font-size: 0.75rem;
	}
}

/* ========== STATS BREAKDOWN - Donut Chart ========== */
.stats-breakdown {
	background: url(/uploads/site/assets/section-2.jpg) no-repeat center;
	background-size: cover;
	padding: 100px 0;
	position: relative;
}

.stats-breakdown::before {
	content: '';
	position: absolute;
	inset: 0;
	background: rgba(26, 26, 46, 0.75);
}

.stats-breakdown > * {
	position: relative;
	z-index: 1;
}

.donut-container {
	position: relative;
	width: 400px;
	height: 400px;
	flex-shrink: 0;
}

.donut-chart {
	width: 100%;
	height: 100%;
	transform: rotate(-90deg);
}

.donut-bg {
	fill: none;
	stroke: rgba(255, 255, 255, 0.1);
	stroke-width: 70;
}

.donut-segment {
	fill: none;
	stroke-width: 70;
	stroke-linecap: round;
	transition: opacity 0.3s ease;
}

.segment-primaries { stroke: var(--color-primary); }
.segment-secondaries { stroke: var(--color-secondary); }
.segment-coinvest { stroke: var(--warm-gray); }

/* Centre du donut */
.donut-center {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	text-align: center;
	color: white;
}

.donut-center-amount {
	display: flex;
	align-items: baseline;
	justify-content: center;
}

.donut-center .euro {
	font-size: 2rem;
	font-weight: 700;
}

.donut-center .number {
	font-size: 4rem;
	font-weight: 700;
	line-height: 1;
}

.donut-center .unit {
	font-size: 2rem;
	font-weight: 700;
}

.donut-center .subtitle {
	font-size: 1rem;
	opacity: 0.9;
	margin-top: 0.5rem;
	max-width: 180px;
	line-height: 1.4;
}

/* Layout Donut + Légende côte à côte */
.stats-breakdown > .container {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 4rem;
}

/* Légende à droite, alignée à gauche */
.stats-legend {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2rem;
	position: relative;
	z-index: 1;
}

.legend-item {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 1.25rem;
	color: white;
	cursor: pointer;
	transition: transform 0.3s ease;
}

/* Hover sur légende : met en surbrillance le segment correspondant */
.legend-item:hover {
	transform: scale(1.02);
}

.legend-item:hover .legend-color {
	box-shadow: 0 0 20px currentColor;
}

/* État quand un élément de légende est survolé */
.stats-breakdown.segment-hover .donut-segment {
	opacity: 0.2;
	transition: opacity 0.3s ease;
}

.stats-breakdown.segment-hover.hover-primaries .segment-primaries,
.stats-breakdown.segment-hover.hover-secondaries .segment-secondaries,
.stats-breakdown.segment-hover.hover-coinvest .segment-coinvest {
	opacity: 1;
	filter: drop-shadow(0 0 8px currentColor);
}

/* Transition par défaut pour les segments */
.donut-segment {
	transition: opacity 0.3s ease, filter 0.3s ease;
}

/* Cercles de couleur dans la légende (état initial pour animation) */
.legend-color {
	width: 50px;
	height: 50px;
	border-radius: 50%;
	flex-shrink: 0;
	transition: box-shadow 0.3s ease;
}

/* Contenu texte de la légende */
.legend-item .legend-content {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

/* État initial de la légende (pour animation JS) */
.legend-value,
.legend-label {
	opacity: 1;
}

.legend-item[data-segment="primaries"] .legend-color {
	background: var(--color-primary);
}

.legend-item[data-segment="secondaries"] .legend-color {
	background: var(--color-secondary);
}

.legend-item[data-segment="coinvest"] .legend-color {
	background: var(--warm-gray);
}

.legend-value {
	display: flex;
	align-items: baseline;
}

.legend-percent {
	font-size: 2.5rem;
	font-weight: 700;
	line-height: 1;
}

.legend-symbol {
	font-size: 1.5rem;
	font-weight: 700;
}


/* Responsive Donut */
@media (max-width: 768px) {
	.stats-breakdown {
		padding: 60px 0;
	}

	/* Retour en colonne sur mobile */
	.stats-breakdown > .container {
		flex-direction: column;
		gap: 2rem;
	}

	.donut-container {
		width: 280px;
		height: 280px;
		margin-bottom: 0;
	}

	.donut-bg,
	.donut-segment {
		stroke-width: 50;
	}

	.donut-center .euro { font-size: 1.5rem; }
	.donut-center .number { font-size: 3rem; }
	.donut-center .unit { font-size: 1.5rem; }
	.donut-center .subtitle { font-size: 0.875rem; max-width: 140px; }

	/* Légende en ligne sur mobile */
	.stats-legend {
		flex-direction: row;
		justify-content: center;
		gap: 1.5rem;
	}

	.legend-item {
		flex-direction: column;
		align-items: center;
		gap: 0.5rem;
	}

	.legend-color {
		width: 40px;
		height: 40px;
	}

	.legend-percent { font-size: 1.75rem; }
	.legend-symbol { font-size: 1rem; }
	.legend-label { font-size: 0.75rem; }
}

/* ========== ACCORDION ========== */
.accordion-parent {
	margin-top: 2rem;
	max-width: 900px;
}

.accordion-parent .brief-d-accr-child {
	border: 1px solid var(--border-light);
	border-left: 0;
	border-right: 0;
	margin-top: -1px;
}

.toggler-title {
	display: block;
	padding: 1.25rem 1rem;
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--color-primary);
	text-decoration: none;
	cursor: pointer;
	transition: color 0.2s ease;
}

.toggler-title:hover {
	color: var(--color-secondary);
}

.toggler-title:before {
	content: "\f054";
	font-family: 'FontAwesome';
	margin-right: 12px;
	color: var(--color-secondary);
	font-size: 0.85rem;
	transition: transform 0.3s ease;
}

.toggler-title:not(.collapsed):before {
	content: "\f078";
}

.collapsible-cont {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.5s ease;
	padding-left: 35px;
}

.collapsible-cont:not(.collapse) {
	max-height: 500px;
}

.collapsible-cont-inner > div {
	padding: 1rem 1rem 2rem;
	background: var(--bg-light);
	font-size: 0.95rem;
	line-height: 1.8;
	color: var(--text-muted);
}

/* ========== TWO-COLUMN TAB SYSTEM (Desktop) ========== */
.tab-split-container {
	display: grid;
	grid-template-columns: 1fr 1.2fr;
	gap: 60px;
	margin-top: 2rem;
}

/* Left column - Tab titles */
.tab-split-nav {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.tab-split-nav .tab-item {
	display: block;
	padding: 1.25rem 1.5rem;
	font-size: 1.05rem;
	font-weight: 500;
	color: var(--text-light);
	text-decoration: none;
	cursor: pointer;
	transition: all 0.3s ease;
	border-left: 3px solid transparent;
	background: transparent;
}

.tab-split-nav .tab-item:hover {
	color: var(--color-primary);
	background: rgba(139, 97, 150, 0.05);
}

.tab-split-nav .tab-item.active {
	color: var(--color-primary);
	font-weight: 600;
	border-left-color: var(--color-secondary);
	background: rgba(139, 97, 150, 0.08);
}

/* Point supprimé avant l'onglet actif */

/* Right column - Tab content */
.tab-split-content {
	position: relative;
	min-height: 300px;
}

.tab-split-panel {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: opacity 0.4s ease, transform 0.4s ease, visibility 0.4s ease;
	padding: 2rem;
	background: var(--warm-gray);
	border-radius: 16px;
}

.tab-split-panel.active {
	position: relative;
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.tab-split-panel h4 {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--color-primary);
	margin-bottom: 1.25rem;
}

.tab-split-panel p {
	font-size: 1rem;
	line-height: 1.9;
	color: var(--text-body);
	margin-bottom: 1rem;
}

.tab-split-panel p:last-child {
	margin-bottom: 0;
}

/* Hide mobile accordion on desktop */
@media (min-width: 769px) {
	.accordion-mobile-only {
		display: none !important;
	}
}

/* Hide desktop tabs on mobile, show accordion */
@media (max-width: 768px) {
	.tab-split-container {
		display: none !important;
	}

	.accordion-mobile-only {
		display: block !important;
	}
}

/* ========== TEAM GRID ========== */
.team-section {
	padding: 80px 0;
}

.team-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
	gap: 30px;
}

.team-member {
	text-align: center;
	text-decoration: none;
	display: block;
	transition: transform 0.3s ease;
}

.team-member:hover {
	transform: translateY(-5px);
}

.team-member img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 10px;
	background: var(--warm-gray);
	transition: box-shadow 0.3s ease;
}

.team-member:hover img {
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.team-member .name {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--color-primary);
	margin-top: 1rem;
	margin-bottom: 0.25rem;
}

.team-member .role {
	font-size: 0.875rem;
	color: var(--soft-black);
	opacity: 0.7;
}

/* Leadership Grid - Featured */
.leadership-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	max-width: 900px;
	margin: 0 auto 60px;
}

.leadership-member {
	text-align: center;
	text-decoration: none;
	display: block;
	transition: transform 0.3s ease;
}

.leadership-member:hover {
	transform: translateY(-5px);
}

.leadership-member img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 15px;
	background: var(--warm-gray);
	margin-bottom: 1rem;
	transition: box-shadow 0.3s ease;
}

.leadership-member:hover img {
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.leadership-member .name {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--color-primary);
	margin-bottom: 0.25rem;
}

.leadership-member .role {
	font-size: 0.9rem;
	color: var(--soft-black);
	opacity: 0.8;
}

/* ========== GENERIC BUTTON ========== */
.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1.25rem;
	background: var(--color-secondary);
	color: white;
	font-size: 0.875rem;
	font-weight: 500;
	border-radius: 9999px;
	text-decoration: none;
	transition: all 0.3s ease;
}

.btn:hover {
	background: var(--color-secondary-warm);
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(209, 89, 54, 0.35);
	color: white;
}

/* ========== TIMELINE SIMPLE (liste verticale) ========== */
.timeline-container {
	max-width: 800px;
	margin: 0 auto;
}

ul.timeline {
	list-style: none;
	padding: 0;
	margin: 2.5em 0;
}

.timeline-item {
	margin-left: 2em;
	min-height: 50px;
	border-left: 1px dashed #bebebe;
	padding: 0 0 50px 30px;
	position: relative;
}

.timeline-item:last-child {
	border-left: 0;
}

.timeline-item::before {
	position: absolute;
	left: -10px;
	top: 3px;
	content: "";
	border: 8px solid var(--color-primary);
	border-radius: 50%;
	background: white;
	height: 20px;
	width: 20px;
	transition: all 500ms ease-in-out;
}

.timeline-item:hover::before {
	border-color: var(--color-secondary);
}

.timeline-date {
	color: var(--color-secondary);
	font-weight: bold;
	display: block;
	margin-bottom: 0.5rem;
}

.timeline-content {
	color: var(--soft-black);
}

/* ========== TIMELINE SWIPER (overview page) ========== */
.timeline-section {
	background: #fff url(/uploads/site/assets/timeline-background.jpg) no-repeat center;
	background-size: cover;
	padding: 0;
}

.timeline {
	width: 100%;
}

.timeline .swiper-container {
	height: 800px;
	width: 100%;
	position: relative;
}

.timeline .swiper-wrapper {
	transition: 2s cubic-bezier(0.68, -0.4, 0.27, 1.34) 0.2s;
}

.timeline .swiper-slide {
	position: relative;
	color: #fff;
	overflow: hidden;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
}

.timeline .swiper-slide-content {
	background: rgba(255, 255, 255, 0.9);
	padding: 4rem 3rem;
	width: 450px !important;
	max-width: 450px !important;
	color: #323232;
	position: absolute;
	text-align: center;
	right: 50%;
	top: 13%;
	transform: translate(50%, 0);
	font-size: 12px;
	z-index: 2;
}

.timeline .swiper-slide .timeline-year {
	display: block;
	font-size: 36px;
	margin-bottom: 50px;
	transform: translate3d(20px, 0, 0);
	color: var(--color-primary);
	font-weight: bold;
	opacity: 0;
	transition: 0.2s ease 0.4s;
}

.timeline .swiper-slide .timeline-text {
	line-height: 1.5;
	opacity: 0;
	transform: translate3d(20px, 0, 0);
	transition: 0.2s ease 0.6s;
}

.timeline .swiper-slide-active .timeline-year {
	opacity: 1;
	transform: translate3d(0, 0, 0);
	transition: 0.4s ease 1.6s;
}

.timeline .swiper-slide-active .timeline-text {
	opacity: 1;
	transform: translate3d(0, 0, 0);
	transition: 0.4s ease 1.8s;
}

.timeline .swiper-pagination {
	left: 5% !important;
	right: auto !important;
	height: 100%;
	display: none;
	flex-direction: column;
	justify-content: center;
	font-style: italic;
	font-weight: 300;
	font-size: 18px;
	z-index: 1;
}

.timeline .swiper-pagination::before {
	content: "";
	position: absolute;
	left: -30px;
	top: 0;
	height: 100%;
	width: 1px;
	background-color: rgba(255, 255, 255, 0.2);
}

.timeline .swiper-pagination-bullet {
	width: auto;
	height: auto;
	text-align: center;
	opacity: 1;
	background: transparent;
	color: #fff;
	margin: 6px 0 !important;
	position: relative;
}

.timeline .swiper-pagination-bullet::before {
	content: "";
	position: absolute;
	top: 6px;
	left: -34.5px;
	width: 10px;
	height: 10px;
	border-radius: 100%;
	background-color: #fff;
	transform: scale(0);
	transition: 0.2s;
}

.timeline .swiper-pagination-bullet-active {
	color: #fff;
}

.timeline .swiper-pagination-bullet-active::before {
	transform: scale(1);
}

.timeline .swiper-button-next,
.timeline .swiper-button-prev {
	background-size: 20px 20px;
	top: 15%;
	width: 20px;
	height: 20px;
	margin-top: 0;
	z-index: 2;
	transition: 0.2s;
}

.timeline .swiper-button-prev {
	left: 8%;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M0%2C22L22%2C0l2.1%2C2.1L4.2%2C22l19.9%2C19.9L22%2C44L0%2C22L0%2C22L0%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E");
}

.timeline .swiper-button-prev:hover {
	transform: translateX(-3px);
}

.timeline .swiper-button-next {
	right: 8%;
	background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg%20xmlns%3D'http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg'%20viewBox%3D'0%200%2027%2044'%3E%3Cpath%20d%3D'M27%2C22L27%2C22L5%2C44l-2.1-2.1L22.8%2C22L2.9%2C2.1L5%2C0L27%2C22L27%2C22z'%20fill%3D'%23ffffff'%2F%3E%3C%2Fsvg%3E");
}

.timeline .swiper-button-next:hover {
	transform: translateX(3px);
}

@media screen and (min-width: 768px) {
	.timeline .swiper-slide-content {
		right: 30%;
		top: 50%;
		transform: translateY(-50%);
		width: 310px;
		font-size: 11px;
		text-align: left;
	}

	.timeline .swiper-slide .timeline-year {
		margin-bottom: 15px;
		font-size: 32px;
	}

	.timeline .swiper-pagination {
		display: flex;
	}

	.timeline .swiper-button-prev {
		top: 10%;
		right: auto;
		left: 7.5%;
		transform: rotate(90deg) translate(0, 10px);
	}

	.timeline .swiper-button-prev:hover {
		transform: rotate(90deg) translate(-3px, 10px);
	}

	.timeline .swiper-button-next {
		top: auto;
		bottom: 10%;
		left: 7.5%;
		transform: rotate(90deg) translate(0, 10px);
	}

	.timeline .swiper-button-next:hover {
		transform: rotate(90deg) translate(3px, 10px);
	}
}

@media screen and (min-width: 1024px) {
	.timeline .swiper-slide-content {
		right: 10%;
	}
}

/* ========== NEWS GRID ========== */
.news-section {
	padding: 80px 0;
	background: var(--warm-gray);
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 30px;
}

.news-card {
	background: white;
	border-radius: 15px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0,0,0,0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.news-card-image {
	height: 200px;
	background-size: cover;
	background-position: center;
}

.news-card-content {
	padding: 1.5rem;
}

.news-card-date {
	font-size: 0.75rem;
	color: var(--color-secondary);
	text-transform: uppercase;
	letter-spacing: 0.1em;
	margin-bottom: 0.5rem;
}

.news-card-title {
	font-size: 1rem;
	font-weight: 500;
	color: var(--soft-black);
	line-height: 1.5;
	margin-bottom: 1rem;
}

.news-card-title a {
	color: inherit;
	text-decoration: none;
}

.news-card-title a:hover {
	color: var(--color-secondary);
}

/* News Grid Inner - Pages intérieures */
.news-grid-inner {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	max-width: 1100px;
	margin: 0 auto;
}

.news-card-inner {
	background: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card-inner:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.news-card-inner .news-card-image {
	display: block;
	height: 180px;
	overflow: hidden;
}

.news-card-inner .news-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.news-card-inner:hover .news-card-image img {
	transform: scale(1.05);
}

.news-card-inner .news-card-content {
	padding: 1.25rem;
}

.news-card-inner .news-card-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 0.75rem;
}

.news-card-inner .news-card-date {
	font-size: 0.8rem;
	color: var(--text-muted);
}

.news-card-inner .news-card-tag {
	font-size: 0.65rem;
	text-transform: uppercase;
	color: white;
	padding: 4px 10px;
	border-radius: 4px;
	font-weight: 500;
}

.news-card-inner .news-card-title {
	display: block;
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--soft-black);
	line-height: 1.5;
	text-decoration: none;
	transition: color 0.2s ease;
}

.news-card-inner .news-card-title:hover {
	color: var(--color-secondary);
}

@media (max-width: 1024px) {
	.news-grid-inner {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.news-grid-inner {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.news-card-inner .news-card-image {
		height: 160px;
	}
}

/* ========== CONTACT INFO ========== */
.contact-section {
	padding: 80px 0;
}

.contact-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.contact-card {
	background: #fff;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

.contact-card-image {
	position: relative;
	height: 180px;
	overflow: hidden;
}

.contact-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.contact-card:hover .contact-card-image img {
	transform: scale(1.05);
}

.contact-card-image::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 100%;
	background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0) 60%);
	pointer-events: none;
}

.contact-card-city {
	position: absolute;
	bottom: 15px;
	left: 20px;
	z-index: 2;
	font-size: 1.5rem;
	font-weight: 700;
	color: #fff;
	letter-spacing: 0.5px;
	text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.contact-card-content {
	padding: 1.5rem;
}

.contact-card-content p {
	color: var(--soft-black);
	line-height: 1.8;
	font-size: 0.95rem;
	margin: 0;
}

.contact-card-content a {
	color: var(--color-secondary);
	text-decoration: none;
	font-weight: 500;
	transition: color 0.2s ease;
}

.contact-card-content a:hover {
	color: var(--color-primary);
}

/* Old h3 style kept for backwards compatibility */
.contact-card h3 {
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--color-primary);
	margin-bottom: 1rem;
}

.contact-card p {
	color: var(--soft-black);
	line-height: 1.8;
}

.contact-card a {
	color: var(--color-secondary);
	text-decoration: none;
}

.contact-card a:hover {
	text-decoration: underline;
}

@media (max-width: 1024px) {
	.contact-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.contact-grid {
		grid-template-columns: 1fr;
	}

	.contact-card-image {
		height: 150px;
	}
}

/* ========== DOCUMENTS GRID ========== */
.documents-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
	gap: 20px;
	margin-top: 2rem;
}

.document-card {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.5rem;
	background: var(--warm-gray);
	border-radius: 10px;
	text-decoration: none;
	color: var(--soft-black);
	transition: background-color 0.2s ease;
}

.document-card:hover {
	background: #e8e4df;
}

.document-card i {
	font-size: 2rem;
	color: var(--color-secondary);
}

.document-card span {
	font-weight: 500;
}

/* ========== CAREERS ========== */
.careers-intro {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 4rem;
}

.careers-cta {
	background: var(--color-primary);
	color: white;
	padding: 3rem;
	border-radius: 20px;
	text-align: center;
	margin-top: 3rem;
}

.careers-cta h3 {
	font-size: 1.5rem;
	font-weight: 600;
	margin-bottom: 1rem;
}

.careers-cta a {
	color: white;
	text-decoration: underline;
}

/* ========== LEGAL PAGES ========== */
.legal-content {
	max-width: 900px;
	margin: 0 auto;
	padding: 60px 2rem;
}

.legal-content h2 {
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--color-primary);
	margin-top: 3rem;
	margin-bottom: 1rem;
	padding-bottom: 0.5rem;
	border-bottom: 2px solid var(--warm-gray);
}

.legal-content h3 {
	font-size: 1.125rem;
	font-weight: 600;
	margin-top: 2rem;
	margin-bottom: 0.75rem;
}

.legal-content p {
	margin-bottom: 1rem;
	line-height: 1.8;
}

.legal-content ul {
	margin-bottom: 1rem;
	padding-left: 1.5rem;
}

.legal-content li {
	margin-bottom: 0.5rem;
}

/* ========== FOOTER ========== */
#footer { background: #1a1a2e; }
#footer a { color: white; }
#footer .subchild { display: block !important; position: static !important; padding-top: 0.5rem; }
#footer .subchild li { background: transparent !important; padding: 5px 0 !important; }
#footer .subchild a { color: rgba(255, 255, 255, 0.7) !important; font-size: 0.8rem; }
#footer .subchild a:hover { color: white !important; }
#footer #nav-menu > li > a { font-weight: 600; margin-bottom: 0.5rem; display: block; }

.footer-baseline {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 0.75rem;
}

.footer-baseline-links { display: flex; gap: 2rem; }
.footer-baseline a { color: rgba(255, 255, 255, 0.7); }
.footer-baseline a:hover { color: white; }

#footer #socials {
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
	display: flex !important;
	gap: 8px !important;
}

#footer #socials li {
	display: inline-block !important;
	background: transparent !important;
	padding: 0 !important;
	margin: 0 !important;
}

#footer #socials a {
	width: 52px !important;
	height: 52px !important;
	font-size: 21px !important;
	margin: 0 !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	background: white !important;
	color: var(--soft-black) !important;
	border-radius: 50% !important;
	text-decoration: none !important;
}

#footer #socials a:hover {
	background: var(--color-secondary) !important;
	color: white !important;
}

.footer-main { display: flex; gap: 4rem; padding: 3rem 0; }
.footer-left { flex: 0 0 300px; }
.footer-right { flex: 1; }
.footer-logo img { height: 90px; margin-bottom: 1.5rem; }
.footer-contact { color: rgba(255, 255, 255, 0.8); font-size: 0.875rem; line-height: 1.8; }
.footer-contact strong { color: white; display: block; margin-bottom: 0.5rem; }
#footer #nav-menu {
	display: flex !important;
	justify-content: flex-start;
	gap: 0;
	width: 100%;
	list-style: none !important;
	padding: 0 !important;
	margin: 0 !important;
}

#footer #nav-menu .menu-root {
	flex: 1;
	text-align: left;
}

#footer #nav-menu li {
	background: transparent !important;
}

#footer .footer-right {
	background: transparent !important;
}

/* ========== TARTEAUCITRON (Cookies) - Position gauche comme index ========== */
#tarteaucitronAlertSmall,
#tarteaucitronIcon {
	left: 0 !important;
	right: auto !important;
	margin-left: 0 !important;
	opacity: 0.75 !important;
}

#tarteaucitronAlertSmall {
	border-radius: 0 10px 0 0 !important;
}

#tarteaucitronAlertSmall #tarteaucitronCookiesNumberBis {
	background: var(--color-secondary) !important;
}

/* ========== SCROLL TO TOP ========== */
#scroll-to-top {
	position: fixed;
	bottom: 30px;
	right: 30px;
	width: 50px;
	height: 50px;
	background: var(--color-secondary);
	color: white;
	border: none;
	border-radius: 50%;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
	z-index: 9999;
	box-shadow: 0 4px 15px rgba(209, 89, 54, 0.3);
}

#scroll-to-top.visible { opacity: 1; visibility: visible; }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
	.section-split {
		gap: 40px;
	}

	.stats-grid {
		gap: 25px;
	}

	.stat-circle {
		width: 160px;
		height: 160px;
	}

	.stat-circle .counter {
		font-size: 1.875rem;
	}

	.stats-box {
		width: 150px;
		height: 150px;
	}

	.stats-box .counter,
	.stats-box h3.counter {
		font-size: 2.25rem;
	}
}

@media (max-width: 768px) {
	/* Logo Sticky Mobile */
	.logo-sticky { top: 15px; left: 50%; transform: translateX(-50%); }
	.logo-sticky img { height: 80px; filter: brightness(0) invert(1) drop-shadow(0 2px 4px rgba(0,0,0,0.3)); }

	.logo-blur-ellipse {
		display: block !important;
		position: fixed !important;
		top: 0 !important;
		left: 0 !important;
		right: 0 !important;
		width: 100% !important;
		height: 150px;
		background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.5) 50%, transparent 100%);
		z-index: 10000 !important;
		pointer-events: none;
	}

	/* Header Mobile */
	.header-finale { display: none !important; }
	#scroll-to-top { display: none !important; }
	body { padding-bottom: var(--mobile-nav-height); }

	/* Tarteaucitron Mobile - Position gauche au-dessus nav */
	#tarteaucitronAlertSmall,
	#tarteaucitronIcon {
		left: 0 !important;
		right: auto !important;
		bottom: 30px !important;
		z-index: 10004 !important;
	}

	/* Hero Mobile */
	.hero-inside {
		height: 50vh;
		min-height: 400px;
	}

	.hero-inside .hero-title {
		font-size: clamp(1.5rem, 6vw, 2.5rem);
		padding: 0 1.5rem;
	}

	/* Content Mobile */
	.section-split {
		grid-template-columns: 1fr;
		gap: 30px;
		padding: 60px 0;
	}

	.section-split.reverse {
		direction: ltr;
	}

	.content-section {
		padding: 60px 0;
	}

	/* Stats Mobile */
	.stats-section {
		padding: 60px 0;
	}

	.stats-grid {
		gap: 15px;
	}

	.stat-circle {
		width: 120px;
		height: 120px;
		padding: 12px;
		transform: skewX(3deg) skewY(-6deg);
	}

	.stat-circle > * {
		transform: skewX(-3deg) skewY(6deg);
	}

	.stat-circle .counter {
		font-size: 1.5rem;
	}

	.stat-circle h4,
	.stat-circle .stat-label {
		font-size: 0.65rem;
	}

	.stats-box {
		width: 120px;
		height: 120px;
		padding: 0;
	}

	.stats-box .counter,
	.stats-box h3.counter {
		font-size: 1.75rem;
	}

	.stats-box h4 {
		font-size: 0.65rem;
	}

	/* Team Mobile */
	.team-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}

	.leadership-grid {
		grid-template-columns: 1fr;
		gap: 30px;
		max-width: 280px;
	}

	/* News Mobile */
	.news-grid {
		grid-template-columns: 1fr;
	}

	/* Contact Mobile */
	.contact-grid {
		gap: 20px;
	}

	/* Documents Mobile */
	.documents-grid {
		grid-template-columns: 1fr;
	}

	/* Legal Mobile */
	.legal-content {
		padding: 40px 1rem;
	}

	/* Footer Mobile */
	.footer-baseline { flex-direction: column; gap: 0.5rem; text-align: center; }
	.footer-baseline-links { flex-direction: column; gap: 0.5rem; }
	.footer-main { flex-direction: column; gap: 2rem; }
	.footer-left { flex: none; text-align: center; }
	.footer-logo img { margin: 0 auto 1.5rem; }

	/* Timeline Mobile */
	.timeline .swiper-container { height: 500px; }
}

@media (max-width: 480px) {
	.hero-inside {
		height: 40vh;
		min-height: 300px;
	}

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

	.team-member .name {
		font-size: 0.9rem;
	}

	.team-member .role {
		font-size: 0.75rem;
	}

	.stat-circle {
		width: 100px;
		height: 100px;
	}

	.stat-circle .counter {
		font-size: 1.25rem;
	}

	.stats-box {
		width: 100px;
		height: 100px;
	}

	.stats-box .counter,
	.stats-box h3.counter {
		font-size: 1.5rem;
	}
}

/* ========== INVESTMENT PORTFOLIO ========== */
.investment-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	align-items: center;
	justify-content: center;
	margin-bottom: 3rem;
}

.investment-filters label {
	font-weight: 500;
	color: var(--soft-black);
}

.investment-filters select {
	padding: 0.5rem 1rem;
	border: none;
	border-bottom: 1px solid var(--soft-black);
	background: transparent;
	font-size: 1rem;
	cursor: pointer;
	min-width: 150px;
}

.investment-filters select:focus {
	outline: none;
	border-bottom-color: var(--color-secondary);
}

.investments-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

@media (max-width: 1024px) {
	.investments-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 640px) {
	.investments-grid {
		grid-template-columns: 1fr;
	}

	.investment-filters {
		flex-direction: column;
		gap: 1rem;
	}
}

.investment-card {
	background: white;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0,0,0,0.08);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.investment-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.investment-card-image {
	height: 150px;
	background-size: cover;
	background-position: center;
}

.investment-card-logo {
	padding: 1rem;
	background: white;
}

.investment-card-logo img {
	max-width: 100%;
	height: auto;
}

.investment-card-content {
	padding: 1.5rem;
	text-align: center;
}

.investment-card-title {
	font-weight: 600;
	color: var(--soft-black);
	margin-bottom: 0.75rem;
}

.investment-card-description {
	font-size: 0.9rem;
	color: var(--text-light);
	line-height: 1.6;
	min-height: 100px;
}

.investment-card-location {
	margin-top: 1rem;
	padding-top: 1rem;
	border-top: 1px solid var(--border-lighter);
	font-size: 0.9rem;
}

.investment-card-sdg {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	padding: 1rem;
}

.investment-card-sdg img {
	height: 50px;
	width: auto;
}

.investment-card-status {
	padding: 0.75rem 1rem;
	text-align: center;
	color: white;
	font-weight: 500;
	font-size: 0.9rem;
}

.investment-card-status.in-progress {
	background: #9e9f9f;
}

.investment-card-status.completed {
	background: var(--color-primary);
}

/* ========== MOBILE ELEMENTS - Hidden on Desktop ========== */
.mobile-bottom-nav,
.mobile-menu-blur,
.mobile-menu-bottom,
.mobile-menu-logo,
.mobile-menu-list,
.mobile-lang-switch,
.mobile-nav-burger {
	display: none !important;
}

/* ========== MOBILE BOTTOM NAV ========== */
@media (max-width: 768px) {
	/* Re-enable mobile elements on mobile */
	.mobile-bottom-nav,
	.mobile-menu-blur,
	.mobile-menu-bottom {
		display: block !important;
	}

	.mobile-nav-burger {
		display: flex !important;
	}

	nav.mobile-bottom-nav {
		position: fixed !important;
		bottom: 0 !important;
		left: 0 !important;
		right: 0 !important;
		height: var(--mobile-nav-height) !important;
		background: transparent !important;
		z-index: 10003 !important;
		display: flex !important;
		align-items: center !important;
		justify-content: center !important;
		padding-bottom: env(safe-area-inset-bottom, 0) !important;
	}

	.mobile-bottom-nav::before {
		content: '';
		position: absolute;
		inset: 0;
		background: rgba(0, 0, 0, 0.8);
		-webkit-backdrop-filter: blur(30px);
		backdrop-filter: blur(30px);
		z-index: -1;
	}

	.mobile-nav-burger {
		width: 60px;
		height: 60px;
		border-radius: 50%;
		background: var(--color-secondary);
		border: none;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 6px;
		cursor: pointer;
	}

	.mobile-nav-burger .burger-bar {
		width: 24px;
		height: 2px;
		background: white;
		border-radius: 2px;
		transition: all 0.3s ease;
	}

	.mobile-menu-blur {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: var(--mobile-nav-height);
		background: rgba(0, 0, 0, 0.8);
		-webkit-backdrop-filter: blur(30px);
		backdrop-filter: blur(30px);
		z-index: 10001;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.4s ease;
	}

	.mobile-menu-blur.open { opacity: 1; visibility: visible; }

	.mobile-menu-bottom {
		position: fixed;
		top: 0;
		left: 0;
		right: 0;
		bottom: var(--mobile-nav-height);
		background: transparent;
		z-index: 10002;
		transform: translateY(100%);
		transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
		overflow-y: auto;
		padding: 40px var(--mobile-margin) 30px;
		display: flex;
		flex-direction: column;
	}

	.mobile-menu-bottom.open { transform: translateY(0); }

	.mobile-menu-logo { display: block !important; text-align: center; padding: 20px 0 30px; }
	.mobile-menu-logo img { height: 60px; filter: brightness(0) invert(1); }

	.mobile-menu-list { display: block !important; list-style: none; padding: 0; margin: 0; }

	.mobile-lang-switch { display: block !important; }
	.mobile-menu-list > li { border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-direction: column-reverse; }
	.mobile-menu-list > li:first-child { border-top: none; }
	.mobile-menu-list > li > a {
		display: flex;
		align-items: center;
		min-height: 44px;
		padding: 8px 0;
		color: white;
		font-size: 18px;
		text-transform: uppercase;
		text-decoration: none;
		font-weight: 500;
	}

	.menu-link-wrapper {
		display: flex;
		align-items: center;
		justify-content: space-between;
		min-height: 44px;
		padding: 8px 0;
	}

	.menu-label { color: white; font-size: 18px; text-transform: uppercase; font-weight: 500; flex: 1; }
	.submenu-arrow { width: 28px; height: 28px; color: white; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: transform 0.3s ease; }
	.menu-link-wrapper.open .submenu-arrow { transform: rotate(-90deg); }

	.mobile-submenu {
		list-style: none;
		padding: 0;
		margin: 0 0 10px 0;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.35s ease;
		background: rgba(255,255,255,0.05);
		border-radius: 10px;
	}

	.mobile-submenu.open { max-height: 500px; }
	.mobile-submenu li a { display: block; padding: 15px 20px; font-size: 15px; color: rgba(255,255,255,0.7); text-decoration: none; }
	.mobile-submenu li a:hover { color: var(--color-secondary); }

	.mobile-lang-switch { padding: 15px 0; text-align: center; }
	.mobile-lang-switch .lang-btn { background: none; border: none; color: white; font-size: 14px; font-weight: 500; cursor: pointer; padding: 10px 20px; }
	.mobile-lang-switch .lang-btn.active { color: var(--color-secondary); }
}

/* ========== TEAM PROFILE PAGES ========== */

.hero-profile {
	min-height: 40vh;
}

.hero-profile .hero-title {
	font-size: clamp(2rem, 5vw, 3.5rem);
}

.back-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--color-primary);
	text-decoration: none;
	font-weight: 500;
	font-size: 0.95rem;
	transition: color 0.3s ease, gap 0.3s ease;
}

.back-link:hover {
	color: var(--color-secondary);
	gap: 12px;
}

.back-link svg {
	transition: transform 0.3s ease;
}

.back-link:hover svg {
	transform: translateX(-4px);
}

.profile-section {
	padding-bottom: 80px;
}

.profile-grid {
	display: grid;
	grid-template-columns: 320px 1fr;
	gap: 60px;
	align-items: start;
}

.profile-sidebar {
	position: sticky;
	top: 120px;
}

.profile-image {
	width: 100%;
	aspect-ratio: 1;
	border-radius: 16px;
	overflow: hidden;
	background: var(--color-litegray);
	margin-bottom: 24px;
}

.profile-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.profile-info {
	text-align: center;
}

.profile-name {
	font-size: 1.5rem;
	font-weight: 700;
	color: var(--color-primary);
	margin-bottom: 8px;
	line-height: 1.2;
}

.profile-title {
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 20px;
}

.profile-experience {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 20px;
	background: var(--color-litegray);
	border-radius: 12px;
	margin-top: 20px;
}

.experience-years {
	font-size: 3rem;
	font-weight: 700;
	color: var(--color-secondary);
	line-height: 1;
}

.experience-label {
	font-size: 0.9rem;
	color: var(--color-gray);
	margin-top: 8px;
	text-align: center;
}

.profile-content {
	padding-top: 20px;
}

.profile-block {
	margin-bottom: 40px;
}

.profile-block:last-child {
	margin-bottom: 0;
}

.profile-block .section-title {
	font-size: 1.3rem;
}

.profile-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.profile-list li {
	position: relative;
	padding-left: 24px;
	margin-bottom: 12px;
	color: var(--color-gray);
	line-height: 1.6;
}

.profile-list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 10px;
	width: 8px;
	height: 8px;
	background: var(--color-secondary);
	border-radius: 50%;
}

.profile-list li:last-child {
	margin-bottom: 0;
}

/* Profile page responsive */
@media (max-width: 900px) {
	.profile-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.profile-sidebar {
		position: static;
		max-width: 300px;
		margin: 0 auto;
	}

	.profile-image {
		max-width: 250px;
		margin: 0 auto 24px;
	}
}

@media (max-width: 480px) {
	.profile-sidebar {
		max-width: 100%;
	}

	.profile-image {
		max-width: 200px;
	}

	.profile-name {
		font-size: 1.3rem;
	}

	.experience-years {
		font-size: 2.5rem;
	}
}

/* ========== FORCE HIDE MOBILE ELEMENTS ON DESKTOP ========== */
/* These rules must be at the end to override any other styles */
@media (min-width: 769px) {
	nav.mobile-bottom-nav,
	div.mobile-menu-blur,
	div.mobile-menu-bottom,
	div.mobile-menu-logo,
	ul.mobile-menu-list,
	div.mobile-lang-switch,
	button.mobile-nav-burger,
	#mobile-menu-bottom,
	#mobile-menu-blur,
	#mobile-nav-burger {
		display: none !important;
		visibility: hidden !important;
		opacity: 0 !important;
		pointer-events: none !important;
		position: absolute !important;
		left: -9999px !important;
	}
}
