/* ---- Section d'accueil : « Highlights » (carrousel vidéos) ----
   Fond bleu marine avec halo (modèle) ; panneaux de cartes = surface ;
   bouton « voir tout » en bleu. */
.nt-videos {
	--nt-vid-navy: #1a2440;
	--nt-vid-blue: #5b9be0;
	background: radial-gradient(95% 75% at 50% 0%, #26355d 0%, #1a2440 55%, #141d34 100%);
	color: var(--nt-color-text);
	scroll-margin-top: 84px; /* ancre menu « Acerca de » sous l'en-tête collant */
}
.nt-videos__inner {
	max-width: 1320px;
	margin: 0 auto;
	padding: calc(var(--nt-gutter) * 1.75) 0 calc(var(--nt-gutter) * 2);
}
.nt-videos__title {
	margin: 0 0 var(--nt-gutter);
	padding: 0 var(--nt-gutter);
	font-size: clamp(1.3rem, 4.8vw, 1.6rem);
	font-weight: 700;
	line-height: 1.15;
}

/* Piste horizontale (scroll-snap, sans barre) */
.nt-videos__track {
	display: flex;
	gap: var(--nt-gutter);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 0 var(--nt-gutter) 4px;
	scrollbar-width: none;
	-ms-overflow-style: none;
	-webkit-overflow-scrolling: touch;
}
.nt-videos__track::-webkit-scrollbar { display: none; }

/* Carte vidéo */
.nt-video-card {
	flex: 0 0 clamp(260px, 84vw, 420px);
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	background: var(--nt-color-surface);
	border: 1px solid var(--nt-color-border);
	border-radius: var(--nt-radius-card);
	overflow: hidden;
	color: var(--nt-color-text);
	text-decoration: none;
}
.nt-video-card__thumb {
	position: relative;
	display: block;
	aspect-ratio: 16 / 9;
	background: #0f1626;
	overflow: hidden;
}
.nt-video-card__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.nt-video-card__meta {
	position: absolute;
	top: 10px;
	right: 10px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	color: rgba(255, 255, 255, 0.92);
	text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}
.nt-video-card__duration { font-size: 1rem; font-weight: 600; }
.nt-video-card__play { display: inline-flex; }

.nt-video-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	padding: var(--nt-gutter);
}
.nt-video-card__date { color: var(--nt-color-muted); font-size: 0.9rem; }
.nt-video-card__title {
	font-size: clamp(1.15rem, 4.4vw, 1.45rem);
	font-weight: 700;
	line-height: 1.18;
}
.nt-video-card:hover .nt-video-card__title { color: #fff; }

/* Bouton « voir tout » (bleu) */
.nt-videos__seeall {
	display: block;
	margin: calc(var(--nt-gutter) * 1.25) var(--nt-gutter) 0;
	padding: 0.95rem 1rem;
	text-align: center;
	border: 1px solid var(--nt-vid-blue);
	border-radius: 12px;
	background: transparent;
	color: var(--nt-vid-blue);
	text-decoration: none;
	font-weight: 600;
	font-size: 1.05rem;
}
.nt-videos__seeall:hover { background: rgba(91, 155, 224, 0.1); }

/* ---- Desktop : les 3 cartes en ligne ---- */
@media (min-width: 1024px) {
	.nt-videos__track {
		display: grid;
		grid-template-columns: repeat(3, 1fr);
		gap: 24px;
		overflow: visible;
		padding: 0 var(--nt-gutter);
	}
	.nt-video-card { flex: initial; }
	.nt-video-card__title { font-size: 1.3rem; }
	.nt-videos__seeall { max-width: 360px; margin-left: auto; margin-right: auto; }
}
