/* LSA Actualités — vague + carrousel d'actualités */

.lsa-actu {
	--lsa-navy: #13304A;
	--lsa-accent: #E8705F;
	--lsa-muted: #5B6B7A;
	--lsa-wave-h: 260px;
	position: relative;
	z-index: 5;
	height: var(--lsa-wave-h);
	margin-top: calc(var(--lsa-wave-h) * -1);
	color: var(--lsa-navy);
	font-family: 'Barlow', sans-serif;
}
.lsa-actu .lsa-actu__title,
.lsa-actu .lsa-actu__headline,
.lsa-actu .lsa-actu__meta { font-family: 'Barlow', sans-serif; }

.lsa-actu *,
.lsa-actu *::before,
.lsa-actu *::after { box-sizing: border-box; }

.lsa-actu__wave {
	position: absolute;
	inset: auto 0 0 0;
	width: 100%;
	height: 100%;
	display: block;
}
.lsa-actu__wave path { fill: #fff; }

.lsa-actu__inner {
	position: absolute;
	left: 50%;
	bottom: 18px;
	transform: translateX(-50%);
	width: min(900px, 92%);
	display: flex;
	align-items: flex-end;
	gap: 44px;
}

/* ---- Bulle image ---- */
.lsa-actu__media {
	flex: none;
	position: relative;
	width: 250px;
	height: 180px;
}
.lsa-actu__img {
	position: absolute;
	left: 0;
	top: -110px;
	width: 250px;
	height: 240px;
	border: 8px solid #fff;
	overflow: hidden;
	background: color-mix(in srgb, var(--lsa-color, #7FB3D9) 22%, #fff);
	box-shadow: 0 18px 40px rgba(10, 24, 40, 0.35);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.5s ease, visibility 0.5s;
	animation: lsaActuMorph 9s ease-in-out infinite;
}
.lsa-actu__img.is-active { opacity: 1; visibility: visible; }
.lsa-actu__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	max-width: none;
}

.lsa-actu__bubble {
	position: absolute;
	border-radius: 50%;
	border: 3px solid #fff;
	animation: lsaActuFloat 5s ease-in-out infinite;
}
.lsa-actu__bubble--1 { left: -38px; top: -138px; width: 50px; height: 44px; background: #E8705F; border-width: 4px; animation: lsaActuMorph 7s ease-in-out infinite, lsaActuFloat 5s ease-in-out infinite; }
.lsa-actu__bubble--2 { left: 236px; top: -142px; width: 22px; height: 22px; background: #E3C24A; animation-duration: 4s; animation-delay: 0.6s; }
.lsa-actu__bubble--3 { left: 262px; top: -84px;  width: 14px; height: 14px; background: #7FB3D9; animation-duration: 4.5s; animation-delay: 1.2s; }
.lsa-actu__bubble--4 { left: -26px; top: 112px;  width: 26px; height: 26px; background: #8DBF5A; border: 0; animation-duration: 5.5s; animation-delay: 0.3s; }

/* ---- Texte ---- */
.lsa-actu__body { flex: 1; min-width: 0; padding-bottom: 4px; }

.lsa-actu__head { display: flex; align-items: center; gap: 18px; }
.lsa-actu .lsa-actu__title {
	margin: 0;
	padding: 0;
	font-size: 46px;
	font-weight: 900;
	letter-spacing: 0.04em;
	line-height: 1;
	text-transform: uppercase;
	color: var(--lsa-navy);
}
.lsa-actu__spacer { flex: 0 0 14px; }
.lsa-actu .lsa-actu__arrow--next { margin-left: -8px; }

.lsa-actu__dots { display: flex; align-items: center; gap: 6px; }
.lsa-actu .lsa-actu__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 999px;
	background: #CBD3DC;
	cursor: pointer;
	transition: width 0.3s ease, background 0.3s ease;
	/* zone de clic agrandie sans changer le visuel */
	position: relative;
}
.lsa-actu .lsa-actu__dot::after { content: ""; position: absolute; inset: -10px -4px; }
.lsa-actu .lsa-actu__dot.is-active { width: 28px; background: var(--lsa-current, var(--lsa-accent)); }

.lsa-actu .lsa-actu__arrow {
	width: 44px;
	height: 44px;
	padding: 0;
	margin: 0;
	border-radius: 50%;
	border: 1.5px solid var(--lsa-navy);
	background: #fff;
	color: var(--lsa-navy);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: transform 0.2s ease, background 0.2s ease;
}
.lsa-actu .lsa-actu__arrow--next { background: var(--lsa-navy); color: #fff; border-color: var(--lsa-navy); }
.lsa-actu .lsa-actu__arrow:hover { transform: scale(1.06); }
.lsa-actu__arrow svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; }

.lsa-actu .lsa-actu__dot:focus-visible,
.lsa-actu .lsa-actu__arrow:focus-visible,
.lsa-actu .lsa-actu__link:focus-visible { outline: 3px solid var(--lsa-accent); outline-offset: 3px; }

.lsa-actu__slides { display: grid; margin-top: 14px; }
.lsa-actu__slide {
	grid-area: 1 / 1;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.45s ease, transform 0.45s ease, visibility 0.45s;
}
.lsa-actu__slide.is-active { opacity: 1; visibility: visible; transform: none; }

/* Couleurs posées directement sur les textes : le thème ne peut pas les remplacer (liens blancs, etc.) */
.lsa-actu .lsa-actu__link,
.lsa-actu a.lsa-actu__link,
.lsa-actu a.lsa-actu__link:visited { display: block; text-decoration: none; color: var(--lsa-navy); }
.lsa-actu .lsa-actu__link .lsa-actu__headline { color: var(--lsa-navy); }
.lsa-actu .lsa-actu__link .lsa-actu__desc { color: #4A5A6A; }
/* Actu avec lien : titre à la couleur de la pastille, un peu plus foncé au survol (titre ou description) */
.lsa-actu a.lsa-actu__link .lsa-actu__headline { color: var(--lsa-color, #E8705F); }
.lsa-actu a.lsa-actu__link:hover .lsa-actu__headline,
.lsa-actu a.lsa-actu__link:focus-visible .lsa-actu__headline { color: color-mix(in srgb, var(--lsa-color, #E8705F) 75%, #000); }
.lsa-actu a.lsa-actu__link:hover .lsa-actu__desc { color: #4A5A6A; }

.lsa-actu__meta {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #3E4E5E;
}
.lsa-actu__pastille { width: 10px; height: 10px; border-radius: 50%; flex: none; }
.lsa-actu__badge {
	display: inline-flex;
	align-items: center;
	padding: 3px 10px;
	border-radius: 999px;
	background: var(--lsa-color, #C24A3A);
	color: #fff;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1.3;
}
.lsa-actu__desc {
	display: block;
	margin-top: 4px;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
	color: #4A5A6A;
	font-family: 'Barlow', sans-serif;
}
.lsa-actu__sep { color: #9AA6B2; }
.lsa-actu__meta time { font-weight: 600; text-transform: none; letter-spacing: 0; }

.lsa-actu__headline {
	display: block;
	margin-top: 6px;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.2;
	transition: color 0.2s ease;
}

/* ---- Animations ---- */
@keyframes lsaActuMorph {
	0%, 100% { border-radius: 58% 42% 55% 45% / 48% 60% 40% 52%; }
	50%      { border-radius: 42% 58% 45% 55% / 60% 44% 56% 40%; }
}
@keyframes lsaActuFloat {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(-10px); }
}
@media (prefers-reduced-motion: reduce) {
	.lsa-actu__img,
	.lsa-actu__bubble { animation: none !important; }
	.lsa-actu__img { border-radius: 52% 48% 50% 50% / 50% 54% 46% 50%; }
	.lsa-actu__slide { transition: none; }
}

/* ---- Tablette ---- */
@media (max-width: 1024px) {
	.lsa-actu { --lsa-wave-h: 230px; }
	.lsa-actu__inner { gap: 30px; }
	.lsa-actu__media { width: 200px; height: 160px; }
	.lsa-actu__img { width: 200px; height: 195px; top: -80px; }
	.lsa-actu__bubble--2 { left: 188px; }
	.lsa-actu__bubble--3 { left: 212px; }
	.lsa-actu .lsa-actu__title { font-size: 36px; }
	.lsa-actu__headline { font-size: 22px; }
}

/* ---- Mobile : l'image passe au-dessus du texte ---- */
@media (max-width: 680px) {
	.lsa-actu { --lsa-wave-h: 110px; height: auto; padding-bottom: 8px; }
	.lsa-actu__wave { height: var(--lsa-wave-h); inset: 0 0 auto 0; }
	.lsa-actu::after {
		content: "";
		position: absolute;
		left: 0; right: 0;
		top: calc(var(--lsa-wave-h) - 1px);
		bottom: 0;
		background: #fff;
		z-index: -1;
	}
	.lsa-actu__inner {
		position: relative;
		left: auto;
		bottom: auto;
		transform: none;
		width: auto;
		padding: 70px 20px 0;
		flex-direction: column;
		align-items: center;
		gap: 18px;
	}
	.lsa-actu__media { width: 170px; height: 120px; margin-top: -40px; }
	.lsa-actu__img { width: 170px; height: 165px; top: -45px; border-width: 6px; }
	.lsa-actu__bubble--1 { left: -26px; top: -60px; width: 34px; height: 30px; }
	.lsa-actu__bubble--2 { left: 160px; top: -62px; }
	.lsa-actu__bubble--3 { left: 180px; top: -20px; }
	.lsa-actu__bubble--4 { left: -18px; top: 90px; width: 18px; height: 18px; }
	.lsa-actu__body { width: 100%; }
	.lsa-actu__head { flex-wrap: wrap; gap: 12px; }
	.lsa-actu .lsa-actu__title { font-size: 32px; }
	.lsa-actu__headline { font-size: 20px; }
}
