/* ==========================================================================
   Aprovação ao Além — estilos da seção "Veja por dentro" (amostras dos PDFs)
   Usa os mesmos tokens de cor do site principal (--primary, --card, --border…)
   ========================================================================== */

.am-sec {
	padding: 3.5rem 1rem;
	background: hsl(var(--accent) / 0.15);
	border-top: 1px solid hsl(var(--border));
	border-bottom: 1px solid hsl(var(--border));
}

@media (min-width: 640px) {
	.am-sec {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}

@media (min-width: 1024px) {
	.am-sec {
		padding-left: 2rem;
		padding-right: 2rem;
	}
}

.am-wrap {
	max-width: 80rem;
	margin: 0 auto;
}

.am-head {
	text-align: center;
	margin-bottom: 2.5rem;
}

.am-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background: hsl(var(--primary) / 0.1);
	border: 1px solid hsl(var(--primary) / 0.3);
	color: hsl(var(--primary));
	border-radius: 9999px;
	padding: 0.4rem 1rem;
	font-size: 0.8125rem;
	font-weight: 600;
	margin-bottom: 1.25rem;
}

.am-eyebrow svg {
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
}

.am-title {
	font-size: clamp(1.875rem, 4vw, 3rem);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.02em;
	margin: 0 0 1rem;
}

.am-title .am-gold {
	background: linear-gradient(135deg, hsl(var(--primary)), #edcc5e);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
}

.am-sub {
	font-size: 1.125rem;
	line-height: 1.7;
	color: hsl(var(--muted-foreground));
	max-width: 44rem;
	margin: 0 auto;
}

/* Selos de destaque ------------------------------------------------------ */

.am-tags {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.625rem;
	margin-top: 1.5rem;
}

.am-tag {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	background: hsl(var(--card));
	border: 1px solid hsl(var(--border));
	color: hsl(var(--muted-foreground));
	border-radius: 0.6rem;
	padding: 0.5rem 0.85rem;
	font-size: 0.875rem;
}

.am-tag svg {
	width: 1.05rem;
	height: 1.05rem;
	color: hsl(var(--primary));
	flex-shrink: 0;
}

/* Grade de amostras ------------------------------------------------------ */

.am-grid {
	display: grid;
	grid-template-columns: repeat(1, minmax(0, 1fr));
	gap: 1.5rem;
}

@media (min-width: 640px) {
	.am-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.am-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.am-card {
	display: block;
	background: hsl(var(--card));
	border: 1px solid hsl(var(--border));
	border-radius: 0.85rem;
	overflow: hidden;
	text-decoration: none;
	color: inherit;
	transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.am-card:hover,
.am-card:focus-visible {
	border-color: hsl(var(--primary) / 0.55);
	transform: translateY(-3px);
	box-shadow: 0 14px 34px -18px hsl(var(--primary) / 0.55);
}

.am-shot {
	position: relative;
	overflow: hidden;
	background: #fff;
	aspect-ratio: 1 / 1.1;
}

.am-shot img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
}

.am-shot::after {
	content: "";
	position: absolute;
	inset: auto 0 0 0;
	height: 40%;
	background: linear-gradient(to top, hsl(var(--card)) 4%, transparent 100%);
	pointer-events: none;
}

.am-zoom {
	position: absolute;
	top: 0.65rem;
	right: 0.65rem;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	background: hsl(var(--background) / 0.85);
	border: 1px solid hsl(var(--primary) / 0.4);
	color: hsl(var(--primary));
	border-radius: 9999px;
	padding: 0.3rem 0.7rem;
	font-size: 0.75rem;
	font-weight: 600;
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}

.am-zoom svg {
	width: 0.85rem;
	height: 0.85rem;
}

.am-body {
	padding: 1rem 1.1rem 1.2rem;
}

.am-disc {
	display: block;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.09em;
	text-transform: uppercase;
	color: hsl(var(--primary));
	margin-bottom: 0.35rem;
}

.am-topic {
	font-size: 1rem;
	font-weight: 600;
	color: hsl(var(--card-foreground));
	line-height: 1.35;
	margin: 0 0 0.4rem;
}

.am-note {
	font-size: 0.875rem;
	color: hsl(var(--muted-foreground));
	line-height: 1.55;
	margin: 0;
}

/* Faixa "tem questões no final" ------------------------------------------ */

.am-questoes {
	margin-top: 2.5rem;
	background: hsl(var(--card));
	border: 1px solid hsl(var(--primary) / 0.35);
	border-radius: 1rem;
	padding: 1.75rem;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.25rem;
	align-items: center;
}

@media (min-width: 768px) {
	.am-questoes {
		grid-template-columns: auto 1fr;
		padding: 2rem 2.25rem;
		gap: 1.75rem;
	}
}

.am-questoes-icon {
	width: 3.75rem;
	height: 3.75rem;
	flex-shrink: 0;
	border-radius: 9999px;
	background: hsl(var(--primary) / 0.12);
	border: 2px solid hsl(var(--primary) / 0.35);
	display: flex;
	align-items: center;
	justify-content: center;
}

.am-questoes-icon svg {
	width: 1.75rem;
	height: 1.75rem;
	color: hsl(var(--primary));
}

.am-questoes h3 {
	font-size: 1.25rem;
	font-weight: 700;
	margin: 0 0 0.5rem;
	color: hsl(var(--card-foreground));
}

.am-questoes p {
	margin: 0;
	color: hsl(var(--muted-foreground));
	line-height: 1.65;
}

.am-questoes strong {
	color: hsl(var(--primary));
	font-weight: 600;
}

.am-foot {
	text-align: center;
	margin-top: 1.5rem;
	font-size: 0.875rem;
	color: hsl(var(--muted-foreground));
}
