.halo-annonce {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: flex;
	font-family: Georgia, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
}

.halo-annonce[hidden] {
	display: none !important;
}

.halo-annonce--center {
	align-items: center;
	justify-content: center;
	padding: 1.15rem;
}

.halo-annonce--top {
	align-items: flex-start;
	justify-content: center;
}

.halo-annonce--bottom {
	align-items: flex-end;
	justify-content: center;
	padding: 1rem;
}

.halo-annonce__backdrop {
	position: absolute;
	inset: 0;
	border: 0;
	padding: 0;
	margin: 0;
	background: rgba(8, 12, 18, 0.62);
	cursor: pointer;
	animation: halo-annonce-backdrop 250ms ease-out;
}

.halo-annonce__card {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	width: min(26rem, 100%);
	overflow: hidden;
	background: #101820;
	color: #f3efe6;
	border: 1px solid rgba(243, 239, 230, 0.14);
	border-radius: 1.15rem;
	box-shadow:
		0 0 0 1px rgba(243, 239, 230, 0.04),
		0 24px 60px rgba(4, 8, 14, 0.45);
	animation: halo-annonce-enter 250ms cubic-bezier(0.22, 1, 0.36, 1);
}

.halo-annonce__card--media {
	width: min(46rem, 100%);
}

.halo-annonce--top .halo-annonce__card {
	width: 100%;
	border-radius: 0;
	animation: halo-annonce-banner 250ms cubic-bezier(0.22, 1, 0.36, 1);
}

.halo-annonce--bottom .halo-annonce__card {
	width: min(42rem, 100%);
	animation: halo-annonce-sheet 250ms cubic-bezier(0.22, 1, 0.36, 1);
}

.halo-annonce__main {
	display: grid;
	min-height: 0;
	flex: 1;
}

@media (min-width: 720px) {
	.halo-annonce__main--media {
		grid-template-columns: 0.92fr 1.08fr;
	}

	.halo-annonce--top .halo-annonce__main--media {
		grid-template-columns: 8.5rem 1fr;
	}
}

.halo-annonce__media {
	position: relative;
	min-height: 10rem;
	background: #0b121a;
}

.halo-annonce__media--video {
	aspect-ratio: 16 / 9;
	min-height: 0;
}

.halo-annonce__media img,
.halo-annonce__media iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

.halo-annonce__media img {
	object-fit: cover;
}

.halo-annonce__content {
	display: flex;
	flex-direction: column;
	padding: 1.25rem 1.35rem 1.35rem;
}

.halo-annonce__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.halo-annonce__badge {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #9aa6b8;
}

.halo-annonce__badge-icon {
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.15);
	background:
		radial-gradient(circle at 50% 50%, #f3efe6 0 2px, transparent 2.4px),
		transparent;
}

.halo-annonce__close {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2rem;
	height: 2rem;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 0.4rem;
	background: transparent;
	color: #c5ccd6;
	font-size: 1.25rem;
	line-height: 1;
	cursor: pointer;
}

.halo-annonce__close:hover,
.halo-annonce__close:focus-visible {
	background: rgba(255, 255, 255, 0.08);
	color: #fff;
	outline: none;
}

.halo-annonce__kicker {
	margin: 1.35rem 0 0;
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: #b7b3d1;
}

.halo-annonce__title {
	margin: 0.45rem 0 0;
	font-size: 1.7rem;
	font-weight: 500;
	letter-spacing: -0.02em;
	line-height: 1.15;
	color: #f3efe6;
}

.halo-annonce__body {
	margin-top: 0.7rem;
	max-width: 28rem;
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 0.9375rem;
	line-height: 1.55;
	color: #a8b0bc;
}

.halo-annonce__body p {
	margin: 0 0 0.6rem;
}

.halo-annonce__body a {
	color: #d8d2c6;
	text-decoration: underline;
	text-underline-offset: 0.18em;
}

.halo-annonce__body a:hover {
	color: #f3efe6;
}

.halo-annonce__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.85rem 1.1rem;
	margin-top: 1.15rem;
}

.halo-annonce__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 2.75rem;
	padding: 0 1.2rem;
	border: 0;
	border-radius: 0.45rem;
	background: #6a6e8c;
	color: #f3efe6;
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 0.75rem;
	font-weight: 650;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	text-decoration: none;
	cursor: pointer;
}

.halo-annonce__cta:hover,
.halo-annonce__cta:focus-visible {
	background: #7b7fa0;
	outline: none;
}

.halo-annonce__optout {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
	font-size: 0.6875rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #9aa6b8;
	cursor: pointer;
}

.halo-annonce__optout input {
	appearance: none;
	width: 1rem;
	height: 1rem;
	margin: 0;
	border: 1px solid rgba(243, 239, 230, 0.35);
	border-radius: 3px;
	background: transparent;
	display: grid;
	place-content: center;
}

.halo-annonce__optout input:checked {
	background: #f3efe6;
	border-color: #f3efe6;
}

.halo-annonce__optout input:checked::after {
	content: "";
	width: 0.28rem;
	height: 0.5rem;
	border: solid #101820;
	border-width: 0 1.5px 1.5px 0;
	transform: rotate(45deg) translate(-1px, -1px);
}

.halo-annonce__track {
	position: relative;
	height: 5.25rem;
	overflow: hidden;
	background: #0b121a;
	border-top: 1px solid rgba(243, 239, 230, 0.1);
	flex-shrink: 0;
}

.halo-annonce__rails {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0.42rem;
	height: 2px;
	background: repeating-linear-gradient(90deg, #6d7782 0 8px, transparent 8px 14px);
}

.halo-annonce__ties {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0.18rem;
	height: 4px;
	background: repeating-linear-gradient(90deg, rgba(109, 119, 130, 0.35) 0 3px, transparent 3px 11px);
}

.halo-annonce__train-run {
	position: absolute;
	bottom: 0.35rem;
	left: 100%;
	display: flex;
	align-items: flex-end;
	animation: halo-annonce-train 18s linear infinite;
	animation-delay: -6s;
}

.halo-annonce__train-img {
	display: block;
	height: 4.65rem;
	width: auto;
	max-width: none;
	object-fit: contain;
	object-position: bottom;
}

@keyframes halo-annonce-train {
	to {
		transform: translateX(calc(-100% - 48rem));
	}
}

@media (prefers-reduced-motion: reduce) {
	.halo-annonce__train-run {
		animation: none;
		left: 50%;
		transform: translateX(-50%);
	}
}

@keyframes halo-annonce-enter {
	from {
		opacity: 0;
		transform: translateY(12px) scale(0.96);
	}
	to {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@keyframes halo-annonce-banner {
	from {
		opacity: 0;
		transform: translateY(-10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes halo-annonce-sheet {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes halo-annonce-backdrop {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

@media (prefers-reduced-motion: reduce) {
	.halo-annonce__card,
	.halo-annonce__backdrop {
		animation: none;
	}
}
