/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 15px 28px;
	border-radius: 999px;
	font-family: var(--font-body);
	font-weight: 600;
	font-size: 0.98rem;
	line-height: 1;
	transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), color 0.25s var(--ease);
	white-space: nowrap;
}

.btn--primary {
	background: var(--color-orange);
	color: #fff;
	box-shadow: 0 8px 20px rgba(239, 127, 31, 0.28);
}

.btn--primary:hover,
.btn--primary:focus-visible {
	background: var(--color-orange-dark);
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(239, 127, 31, 0.34);
}

.btn--outline {
	background: transparent;
	color: var(--color-ink);
	box-shadow: inset 0 0 0 1.5px var(--color-border);
}

.btn--outline:hover,
.btn--outline:focus-visible {
	box-shadow: inset 0 0 0 1.5px var(--color-ink);
	transform: translateY(-2px);
}

.btn--sm {
	padding: 10px 20px;
	font-size: 0.9rem;
}

.btn--lg {
	padding: 18px 36px;
	font-size: 1.05rem;
}

/* Outline button variant readable on the dark (navy) sections */
.btn--on-dark {
	color: #fff;
	box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.3);
}

.btn--on-dark:hover,
.btn--on-dark:focus-visible {
	box-shadow: inset 0 0 0 1.5px #fff;
}

/* ==========================================================================
   Logo grid ("Empresas que confiaram no meu trabalho")
   Borderless, flowing wall of logos on the dark navy section — mirrors the
   presentation used on radiofobia.com.br rather than boxed cards.
   ========================================================================== */

.empresas {
	background: var(--color-surface);
	border-block: 1px solid var(--color-border);
}

/* Symmetric, evenly-spaced grid mirroring the original client slide —
   full-color logos at rest, no hover trickery, no grayscale. */
.logo-grid {
	display: grid;
	grid-template-columns: repeat(11, 1fr);
	gap: 1px;
	margin-top: var(--space-5);
	background: var(--color-border);
	border: 1px solid var(--color-border);
}

.logo-grid__item {
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 14px;
	background: var(--color-surface);
}

.logo-grid__item img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
}

/* ==========================================================================
   Service cards ("Como posso ajudar")
   ========================================================================== */

.cards {
	margin-top: var(--space-5);
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: var(--space-3);
}

.card {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	padding: var(--space-4) var(--space-3);
	transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.card:hover {
	transform: translateY(-4px);
	box-shadow: 0 20px 40px rgba(20, 24, 31, 0.06);
}

.card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: rgba(239, 127, 31, 0.1);
	color: var(--color-orange-dark);
	margin-bottom: var(--space-2);
}

.card h3 {
	margin-bottom: var(--space-1);
}

.card p {
	font-size: 0.98rem;
	color: var(--color-muted);
}

.card--featured {
	grid-column: span 4;
	min-height: 280px;
	display: flex;
	align-items: flex-end;
	background-size: cover;
	background-position: 42% 28%;
	position: relative;
	border: none;
	overflow: hidden;
}

.card--featured::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(20, 24, 31, 0.88) 0%, rgba(20, 24, 31, 0.5) 45%, rgba(20, 24, 31, 0.1) 80%);
}

.card--featured .card__overlay {
	position: relative;
	z-index: 1;
	padding: var(--space-4);
	max-width: 46ch;
}

.card--featured h3,
.card--featured p {
	color: #fff;
}

.card--featured p {
	color: rgba(255, 255, 255, 0.82);
}

/* ==========================================================================
   Book cards ("Livros")
   ========================================================================== */

.books {
	margin-top: var(--space-5);
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--space-3);
}

.book {
	background: var(--color-surface);
	border: 1px solid var(--color-border);
	border-radius: var(--radius-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
}

.book__cover {
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-bg);
	padding: var(--space-3);
}

.book img {
	width: auto;
	max-width: 100%;
	height: auto;
	max-height: 360px;
	/* Whole cover, no cropping — object-fit:contain inside a padded frame. */
	object-fit: contain;
	box-shadow: 0 18px 40px rgba(20, 24, 31, 0.14);
}

.book__info {
	padding: var(--space-3);
	display: flex;
	flex-direction: column;
	gap: 10px;
	flex: 1;
}

.book__meta {
	font-size: 0.86rem;
	color: var(--color-muted);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.book__info p:not(.book__meta) {
	font-size: 0.96rem;
	flex: 1;
}

.book__info .btn {
	align-self: flex-start;
	margin-top: 4px;
}
