:root {
	--news-blue: #004481;
	--alert-red: #c0392b;
	--text-black: #222222;
	--bg-gray: #f4f4f4;
	--paper-white: #ffffff;
	--primary-green: #0fb27a;
	--warning-yellow: #fff3cd;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	background-color: var(--bg-gray);
	color: var(--text-black);
	font-family: "Merriweather", serif;
	line-height: 1.6;
	padding-bottom: 80px;
}

/* --- Barra de Aviso (Mudança de Cor para Downsell) --- */
.system-alert {
	background-color: #2c3e50; /* Azul escuro para diferenciar */
	color: white;
	text-align: center;
	padding: 10px;
	font-family: "Roboto", sans-serif;
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	position: sticky;
	top: 0;
	z-index: 1000;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
	animation: pulse-bg 2s infinite;
}

header {
	background: var(--paper-white);
	border-bottom: 1px solid #ccc;
	padding: 15px 0;
	margin-bottom: 20px;
}
.header-content {
	max-width: 1000px;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.newspaper-logo {
	font-family: "Merriweather", serif;
	font-weight: 900;
	font-size: 1.8rem;
	color: var(--news-blue);
	letter-spacing: -1px;
	text-transform: uppercase;
}

.main-container {
	max-width: 900px; /* Um pouco mais estreito para foco */
	margin: 0 auto;
	padding: 30px;
	background: white;
	box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
	border-top: 5px solid var(--alert-red);
}

h1 {
	font-size: 2rem;
	line-height: 1.2;
	margin-bottom: 15px;
	color: var(--alert-red); /* Vermelho para chamar atenção */
}

.subheadline {
	font-size: 1.1rem;
	color: #555;
	margin-bottom: 25px;
	border-left: 4px solid var(--news-blue);
	padding-left: 15px;
}

.author-line {
	display: flex;
	align-items: center;
	gap: 15px;
	margin-bottom: 30px;
	border-bottom: 1px solid #eee;
	padding-bottom: 15px;
}
.author-avatar {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	object-fit: cover;
	border: 2px solid #eee;
}

/* Corpo do Texto */
.article-body p {
	margin-bottom: 18px;
	font-size: 1.1rem;
	color: #333;
}
.highlight-box {
	background-color: var(--warning-yellow);
	border: 1px solid #ffeeba;
	padding: 20px;
	border-radius: 5px;
	margin: 20px 0;
	font-family: "Roboto", sans-serif;
}

/* --- Oferta Downsell --- */
.offer-wrapper {
	border: 2px dashed var(--alert-red);
	padding: 30px;
	text-align: center;
	margin-top: 30px;
	background: #fffdf0;
	position: relative;
}
/* Selo de Desconto */
.discount-badge {
	position: absolute;
	top: -15px;
	right: -15px;
	background: var(--alert-red);
	color: white;
	padding: 10px 20px;
	border-radius: 50px;
	font-weight: bold;
	font-family: "Roboto", sans-serif;
	box-shadow: 0 4px 5px rgba(0, 0, 0, 0.2);
	transform: rotate(5deg);
}

.price-container {
	margin: 20px 0;
}
.price-old {
	text-decoration: line-through;
	color: #999;
	font-size: 1.2rem;
	display: block;
}
.price-new {
	font-size: 3.5rem;
	font-weight: 900;
	color: var(--primary-green);
	font-family: "Roboto", sans-serif;
	line-height: 1;
}

.btn-buy {
	background: var(--primary-green);
	color: white;
	padding: 20px;
	width: 100%;
	border: none;
	font-size: 1.3rem;
	font-weight: bold;
	cursor: pointer;
	border-radius: 5px;
	margin-top: 15px;
	box-shadow: 0 4px 0 #088a5e;
	animation: pulse 2s infinite;
	text-transform: uppercase;
}

.no-thanks {
	display: block;
	margin-top: 20px;
	color: #777;
	text-decoration: underline;
	font-family: "Roboto", sans-serif;
	font-size: 0.9rem;
	cursor: pointer;
}
.no-thanks:hover {
	color: #333;
}

.mobile-sticky {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background: white;
	padding: 15px;
	border-top: 1px solid #ccc;
	z-index: 999;
	display: none;
}

@keyframes pulse {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.02);
	}
	100% {
		transform: scale(1);
	}
}
@keyframes pulse-bg {
	0% {
		background-color: #2c3e50;
	}
	50% {
		background-color: #34495e;
	}
	100% {
		background-color: #2c3e50;
	}
}

@media (max-width: 768px) {
	.main-container {
		padding: 20px;
	}
	h1 {
		font-size: 1.6rem;
	}
}
