/* ==========================================================================
   HERO V2 — Editorial 2 colonnes (dark)
   ========================================================================== */

.isa-hero-v2 {
	position: relative;
	min-height: 90vh;
	display: flex;
	align-items: center;
	background-color: #0F1F14;
	background-image:
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'%3E%3Ccircle cx='2' cy='2' r='1.4' fill='%2329583B'/%3E%3C/svg%3E");
	background-repeat: repeat;
	overflow: hidden;
	padding: var(--isa-spacing-xxl) 0;
}

.isa-hero-v2__container {
	position: relative;
	z-index: 1;
	max-width: var(--isa-container-width);
	margin: 0 auto;
	padding: 0 var(--isa-spacing-md);
	display: grid;
	grid-template-columns: 3fr 2fr;
	gap: var(--isa-spacing-xxl);
	align-items: center;
}

/* ---------- Colonne gauche ---------- */

.isa-hero-v2__left {
	color: #FFFFFF;
}

.isa-hero-v2__badge {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	background-color: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.15);
	color: rgba(255, 255, 255, 0.85);
	font-size: var(--isa-font-size-sm);
	font-weight: 600;
	padding: 0.4rem 0.9rem;
	border-radius: 100px;
	margin-bottom: var(--isa-spacing-lg);
	letter-spacing: 0.01em;
}

.isa-hero-v2__badge-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background-color: #34D399;
	box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6);
	animation: isa-pulse-dot 2s ease-in-out infinite;
	flex-shrink: 0;
}

@keyframes isa-pulse-dot {
	0% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.55); }
	70% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
	100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0); }
}

.isa-hero-v2__title {
	font-family: var(--isa-font-heading);
	font-size: clamp(2.5rem, 5.5vw, 4.25rem);
	line-height: 1.1;
	color: #FFFFFF;
	margin: 0 0 var(--isa-spacing-lg);
}

.isa-hero-v2__line {
	display: block;
	opacity: 0;
	transform: translateY(24px);
	animation: isa-line-in 0.7s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.isa-hero-v2__line--1 { animation-delay: 0.05s; }
.isa-hero-v2__line--2 { animation-delay: 0.2s; }
.isa-hero-v2__line--3 { animation-delay: 0.35s; }

.isa-hero-v2__line--accent {
	color: var(--isa-primary);
}

@keyframes isa-line-in {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.isa-hero-v2__subtitle {
	font-size: var(--isa-font-size-lg);
	color: rgba(255, 255, 255, 0.75);
	max-width: 560px;
	margin: 0 0 var(--isa-spacing-lg);
}

.isa-hero-v2__cta-group {
	display: flex;
	flex-wrap: wrap;
	gap: var(--isa-spacing-sm);
	margin-bottom: var(--isa-spacing-xl);
}

.isa-hero-v2__btn-outline {
	color: #FFFFFF;
	border-color: rgba(255, 255, 255, 0.4);
}

.isa-hero-v2__btn-outline:hover {
	background-color: rgba(255, 255, 255, 0.1);
	border-color: #FFFFFF;
	color: #FFFFFF;
}

.isa-hero-v2__logos {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--isa-spacing-md);
}

.isa-hero-v2__logos-label {
	font-size: var(--isa-font-size-sm);
	color: rgba(255, 255, 255, 0.45);
	text-transform: uppercase;
	letter-spacing: 0.08em;
}

.isa-hero-v2__logo {
	font-family: var(--isa-font-heading);
	font-size: var(--isa-font-size-base);
	font-weight: 700;
	color: rgba(255, 255, 255, 0.55);
}

/* ---------- Colonne droite : widget projection ---------- */

.isa-hero-v2__right {
	display: flex;
	justify-content: center;
}

.isa-hero-v2__widget {
	background-color: #FFFFFF;
	border-radius: var(--isa-radius-lg);
	box-shadow: var(--isa-shadow-lg);
	padding: var(--isa-spacing-lg);
	width: 100%;
	max-width: 420px;
	animation: isa-widget-float 6s ease-in-out infinite;
}

@keyframes isa-widget-float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-8px); }
}

.isa-hero-v2__widget-title {
	font-family: var(--isa-font-heading);
	font-size: var(--isa-font-size-base);
	font-weight: 700;
	color: var(--isa-text);
	margin: 0 0 var(--isa-spacing-md);
}

.isa-hero-v2__widget-base {
	font-family: var(--isa-font-body);
	font-weight: 400;
	font-size: var(--isa-font-size-sm);
	color: #888;
}

.isa-hero-v2__bars {
	display: flex;
	flex-direction: column;
	gap: var(--isa-spacing-sm);
	margin-bottom: var(--isa-spacing-md);
}

.isa-hero-v2__bar-meta {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 0.35rem;
}

.isa-hero-v2__bar-label {
	font-size: var(--isa-font-size-sm);
	font-weight: 700;
	color: var(--isa-text);
}

.isa-hero-v2__bar-rate {
	font-size: 0.75rem;
	color: #888;
}

.isa-hero-v2__bar-track {
	position: relative;
	height: 10px;
	background-color: var(--isa-bg-alt);
	border-radius: 100px;
	overflow: hidden;
}

.isa-hero-v2__bar-fill {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 0;
	border-radius: 100px;
	animation: isa-bar-grow 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
	animation-delay: var(--bar-delay, 0.3s);
}

@keyframes isa-bar-grow {
	to { width: var(--bar-width, 0%); }
}

.isa-hero-v2__bar-fill--etf { background-color: var(--isa-primary); }
.isa-hero-v2__bar-fill--scpi { background-color: var(--isa-accent); }
.isa-hero-v2__bar-fill--euro { background-color: #8E9BA8; }

.isa-hero-v2__bar-value {
	display: block;
	text-align: right;
	font-size: 0.75rem;
	font-weight: 600;
	color: #888;
	margin-top: 0.25rem;
}

.isa-hero-v2__widget-link {
	display: inline-block;
	font-size: var(--isa-font-size-sm);
	font-weight: 700;
	color: var(--isa-primary);
	border-top: 1px solid var(--isa-border);
	padding-top: var(--isa-spacing-sm);
	width: 100%;
}

.isa-hero-v2__widget-link:hover {
	color: var(--isa-primary-dark);
}

/* ---------- Responsive ---------- */

@media (max-width: 992px) {
	.isa-hero-v2__container {
		grid-template-columns: 1fr;
		gap: var(--isa-spacing-xl);
	}

	.isa-hero-v2__right {
		order: -1;
	}

	.isa-hero-v2__widget {
		max-width: 480px;
	}
}

@media (max-width: 768px) {
	.isa-hero-v2 {
		min-height: auto;
		padding: var(--isa-spacing-xl) 0;
	}

	.isa-hero-v2__cta-group {
		flex-direction: column;
	}

	.isa-hero-v2__cta-group .isa-btn {
		width: 100%;
		justify-content: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.isa-hero-v2__line,
	.isa-hero-v2__badge-dot,
	.isa-hero-v2__widget,
	.isa-hero-v2__bar-fill {
		animation: none;
		opacity: 1;
		transform: none;
	}

	.isa-hero-v2__bar-fill {
		width: var(--bar-width, 0%);
	}
}
