/* ==========================================================================
   Brazuca Informática — Design System (child theme Twenty Twenty-Five)
   Breakpoints validados: 360px, 768px, 1024px, 1440px
   ========================================================================== */

:root {
	--bz-primary: #101C33;
	--bz-blue: #4056D6;
	--bz-accent: #F2B233;
	--bz-green: #3E8E41;
	--bz-neutral-100: #F5F7FA;
	--bz-neutral-300: #DDE3EC;
	--bz-neutral-600: #5A6474;
	--bz-radius: 12px;
	--bz-shadow: 0 1px 3px rgba(16, 28, 51, 0.08);
	--bz-shadow-hover: 0 8px 24px rgba(16, 28, 51, 0.14);
	--bz-transition: 200ms ease;
	--bz-section-pad: 64px;
}

@media (max-width: 767px) {
	:root { --bz-section-pad: 40px; }
}

/* 1. Espaçamentos verticais */
main .bz-section {
	padding-top: var(--bz-section-pad) !important;
	padding-bottom: var(--bz-section-pad) !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

/* 2. Hero */
.bz-hero {
	background: linear-gradient(135deg, #0B1426 0%, #101C33 55%, #16264A 100%);
	color: #fff;
}

.bz-hero h1 {
	color: #fff;
	font-size: clamp(2rem, 4.5vw, 3.25rem);
	line-height: 1.15;
	letter-spacing: -0.02em;
}

.bz-hero .bz-hero-kicker {
	color: var(--bz-accent);
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.bz-hero p { color: #C9D2E3; }
.bz-hero h2 { color: #fff; }

/* 3. Botões / CTAs */
.wp-block-button__link {
	border-radius: 8px;
	font-weight: 600;
	padding: 0.75rem 1.5rem;
	transition: background-color var(--bz-transition), transform var(--bz-transition), box-shadow var(--bz-transition);
}

.wp-block-button__link:hover { transform: translateY(-1px); box-shadow: var(--bz-shadow-hover); }

.bz-btn-primary .wp-block-button__link { background: var(--bz-blue); color: #fff; }
.bz-btn-primary .wp-block-button__link:hover { background: #3346B8; }

.bz-btn-secondary .wp-block-button__link {
	background: transparent;
	color: #fff;
	border: 1px solid rgba(255, 255, 255, 0.45);
}
.bz-btn-secondary .wp-block-button__link:hover { background: rgba(255, 255, 255, 0.1); }

.bz-on-light.bz-btn-secondary .wp-block-button__link { color: var(--bz-blue); border-color: var(--bz-blue); }

/* 4. Cards de serviço — grid 3/2/1 */
.bz-services-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 32px;
}

@media (max-width: 1023px) { .bz-services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 767px)  { .bz-services-grid { grid-template-columns: 1fr; } }

.bz-card {
	background: #fff;
	border: 1px solid var(--bz-neutral-300);
	border-radius: var(--bz-radius);
	padding: 28px 24px;
	box-shadow: var(--bz-shadow);
	transition: box-shadow var(--bz-transition), transform var(--bz-transition), border-color var(--bz-transition);
}

.bz-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--bz-shadow-hover);
	border-color: var(--bz-blue);
}

.bz-card h3 { margin: 12px 0 8px; font-size: 1.125rem; color: var(--bz-primary); }
.bz-card p  { margin: 0 0 8px; color: var(--bz-neutral-600); font-size: 0.9375rem; }

.bz-card .bz-icon {
	width: 44px;
	height: 44px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: rgba(64, 86, 214, 0.08);
	color: var(--bz-blue);
}

.bz-card .bz-icon svg { width: 24px; height: 24px; }

.bz-card-link {
	font-weight: 600;
	font-size: 0.9375rem;
	color: var(--bz-blue);
	text-decoration: none;
}
.bz-card-link:hover { text-decoration: underline; }

/* 5. Faixa de números */
.bz-stats { background: var(--bz-neutral-100); }

.bz-stats .bz-stat-number {
	font-size: clamp(1.75rem, 3vw, 2.5rem);
	font-weight: 800;
	color: var(--bz-primary);
	line-height: 1.1;
	margin-bottom: 4px;
}

.bz-stats .bz-stat-label { color: var(--bz-neutral-600); font-size: 0.9375rem; margin-top: 0; }

/* 6. Processo */
.bz-step-number {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--bz-blue);
	color: #fff;
	font-weight: 700;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 8px;
}

/* 7. Depoimentos */
.bz-testimonial {
	background: #fff;
	border: 1px solid var(--bz-neutral-300);
	border-left: 4px solid var(--bz-accent);
	border-radius: var(--bz-radius);
	padding: 24px;
}

.bz-testimonial cite { font-style: normal; font-weight: 600; color: var(--bz-primary); }

/* 8. Footer */
.bz-footer {
	background: var(--bz-primary);
	color: #C9D2E3;
	padding-top: var(--bz-section-pad);
	padding-bottom: 24px;
}

.bz-footer h4 {
	color: #fff;
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin-bottom: 12px;
}

.bz-footer a { color: #C9D2E3; text-decoration: none; }
.bz-footer a:hover { color: var(--bz-accent); }

.bz-footer ul { list-style: none; padding-left: 0; margin: 0; }
.bz-footer li { margin-bottom: 8px; font-size: 0.9375rem; }

.bz-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	margin-top: 40px;
	padding-top: 20px;
	font-size: 0.8125rem;
	color: #8B96AB;
}

/* 9. WhatsApp flutuante discreto */
.bz-whatsapp-float, .joinchat__button { animation: none !important; }

.bz-whatsapp-float {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 999;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #25D366;
	color: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
	transition: transform var(--bz-transition);
}

.bz-whatsapp-float:hover { transform: scale(1.06); }
.bz-whatsapp-float svg { width: 26px; height: 26px; }

/* 10. Acessibilidade e detalhes */
a:focus-visible,
button:focus-visible,
.wp-block-button__link:focus-visible {
	outline: 2px solid var(--bz-blue);
	outline-offset: 2px;
}

.bz-title-divider {
	width: 56px;
	height: 3px;
	background: var(--bz-accent);
	border: none;
	margin: 12px auto 0;
}

main img { height: auto; max-width: 100%; }

/* 11. Carrossel de clientes (marquee CSS puro) */
.bz-clients {
	overflow: hidden;
	position: relative;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.bz-clients-track {
	display: flex;
	align-items: center;
	gap: 48px;
	width: max-content;
	animation: bz-marquee 32s linear infinite;
}

.bz-clients:hover .bz-clients-track { animation-play-state: paused; }

@keyframes bz-marquee {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
	.bz-clients-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
}

.bz-client-item {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 150px;
	height: 72px;
	padding: 0 24px;
	border: 1px solid var(--bz-neutral-300);
	border-radius: 10px;
	background: #fff;
	color: var(--bz-neutral-600);
	font-weight: 700;
	font-size: 1rem;
	white-space: nowrap;
}

.bz-client-item img {
	max-height: 48px;
	width: auto;
	filter: grayscale(1);
	opacity: 0.75;
	transition: filter var(--bz-transition), opacity var(--bz-transition);
}

.bz-client-item:hover img { filter: none; opacity: 1; }
