/*
Theme Name: A3K Tech V2
Theme URI: https://a3ktech.com.br/
Author: A3K Tech
Description: Versão simplificada do tema da A3K Tech: site institucional de uma página, escuro, com a identidade verde da marca.
Version: 2.0.0
Requires at least: 6.5
Tested up to: 6.7
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: a3k-tech-v2
*/

html { scroll-behavior: smooth; }
body { -webkit-font-smoothing: antialiased; }

/* Header fixo com blur */
.a3k-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(4, 19, 20, .78);
	backdrop-filter: blur(14px);
	-webkit-backdrop-filter: blur(14px);
	border-bottom: 1px solid rgba(255,255,255,.06);
}
.admin-bar .a3k-header { top: 32px; }

.a3k-header .wp-block-navigation a { transition: color .2s; }
.a3k-header .wp-block-navigation a:hover { color: var(--wp--preset--color--accent); }

/* Hero */
.a3k-hero {
	position: relative; overflow: hidden;
	background:
		radial-gradient(60% 50% at 80% 0%, rgba(44,201,195,.18), transparent 70%),
		radial-gradient(50% 50% at 10% 20%, rgba(0,95,97,.45), transparent 70%),
		var(--wp--preset--color--base);
}
.a3k-hero::after {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
		linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
	-webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.a3k-hero > * { position: relative; z-index: 1; }

.a3k-gradient-text {
	background: linear-gradient(90deg, #2cc9c3, #7ee8c9);
	-webkit-background-clip: text; background-clip: text;
	-webkit-text-fill-color: transparent; color: transparent;
}
.a3k-eyebrow {
	display: inline-block; padding: .3rem .8rem; border-radius: 999px;
	border: 1px solid rgba(44,201,195,.35); background: rgba(44,201,195,.08);
	letter-spacing: .08em; text-transform: uppercase;
}

/* Botões */
.wp-block-button__link { transition: transform .2s, box-shadow .2s; }
.wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
	transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(44,201,195,.55);
}
.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	border: 1px solid rgba(255,255,255,.2); color: var(--wp--preset--color--contrast);
}
.wp-block-button.is-style-outline .wp-block-button__link:hover {
	border-color: var(--wp--preset--color--accent); color: var(--wp--preset--color--accent);
}

/* Cards */
.a3k-card {
	height: 100%;
	background: var(--wp--preset--color--surface);
	border: 1px solid rgba(255,255,255,.07);
	border-radius: 16px;
	transition: transform .25s, border-color .25s, box-shadow .25s;
}
.a3k-card:hover {
	transform: translateY(-4px);
	border-color: rgba(44,201,195,.4);
	box-shadow: 0 20px 40px -20px rgba(44,201,195,.25);
}
.a3k-icon {
	display: grid; place-items: center; width: 52px; height: 52px; margin: 0 0 1rem;
	border-radius: 12px; font-size: 1.5rem; line-height: 1;
	background: linear-gradient(135deg, rgba(44,201,195,.18), rgba(0,95,97,.35));
}
/* Títulos de cards/etapas: cabem em 4 colunas sem quebrar palavras */
#processo h3, .a3k-card h3 {
	font-size: clamp(1.05rem, .9rem + .35vw, 1.2rem) !important;
	letter-spacing: -0.01em;
	overflow-wrap: normal; word-break: normal; hyphens: manual;
}
.a3k-step-number {
	font-family: var(--wp--preset--font-family--mono);
	color: var(--wp--preset--color--accent);
}

/* CTA */
.a3k-cta {
	border-radius: 24px;
	background:
		radial-gradient(70% 120% at 100% 0%, rgba(0,95,97,.55), transparent 60%),
		radial-gradient(70% 120% at 0% 100%, rgba(44,201,195,.25), transparent 60%),
		var(--wp--preset--color--surface);
	border: 1px solid rgba(255,255,255,.08);
}

/* Formulários / busca */
input[type="text"], input[type="email"], input[type="search"], textarea {
	background: var(--wp--preset--color--surface); color: var(--wp--preset--color--contrast);
	border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: .75rem 1rem;
}
input:focus, textarea:focus { outline: 2px solid var(--wp--preset--color--accent); outline-offset: 1px; }

.wp-block-post-title a { text-decoration: none; }
.a3k-post-card { border: 1px solid rgba(255,255,255,.07); border-radius: 16px; overflow: hidden; background: var(--wp--preset--color--surface); }
.a3k-post-card .wp-block-post-featured-image { margin: 0; }

@media (max-width: 781px) { .admin-bar .a3k-header { top: 46px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
