/*
Theme Name: Kanafiste 2026
Theme URI: https://kanafiste.com.br
Author: Kanafiste
Author URI: https://kanafiste.com.br
Description: Tema dinâmico e moderno para empresas de desenvolvimento de software e informatização de rádios e empresas. Efeitos parallax (scroll e mouse), rede de partículas animada, texto digitado, contadores, filtro de portfólio, cards com efeito 3D e seção "no ar" para emissoras. Tudo editável pelo Personalizador.
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kanafiste2026
Tags: one-column, custom-logo, custom-menu, featured-images, theme-options, translation-ready, portfolio, dark
*/

/* ==========================================================================
   1. Variáveis
   ========================================================================== */
:root {
	--primary: #f97316;
	--secondary: #f59e0b;
	--accent: #fdba74;
	--primary-dark: #ea580c;
	--bg: #f3f6f9;
	--bg-2: #e9eef3;
	--bg-3: #ffffff;
	--surface: rgba(255, 255, 255, 0.78);
	--surface-2: #ffffff;
	--border: rgba(30, 41, 59, 0.10);
	--heading: #3d4652;
	--text: #555f6d;
	--muted: #7a8494;
	--grad: linear-gradient(135deg, var(--primary), var(--secondary));
	--radius: 18px;
	--radius-sm: 12px;
	--container: 1200px;
	--header-h: 76px;
	--font-head: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
	--ease: cubic-bezier(0.22, 1, 0.36, 1);
	--shadow: 0 20px 50px -22px rgba(15, 23, 42, 0.22);
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-body);
	font-size: 17px;
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .25s; }
a:hover { color: var(--primary-dark); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); line-height: 1.15; margin: 0 0 .6em; color: var(--heading); letter-spacing: -0.02em; }
p { margin: 0 0 1.2em; }
::selection { background: var(--primary); color: #fff; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.gradient-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* Acessibilidade / classes WordPress */
.screen-reader-text { border: 0; clip: rect(1px,1px,1px,1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { background: #fff; clip: auto !important; clip-path: none; color: #000; display: block; height: auto; left: 8px; top: 8px; padding: 12px 20px; width: auto; z-index: 100000; }
.alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption, .gallery-caption { color: var(--muted); font-size: .9em; }
.sticky, .bypostauthor { position: relative; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }

/* ==========================================================================
   3. Botões
   ========================================================================== */
.btn {
	display: inline-flex; align-items: center; gap: .6em;
	padding: 14px 28px; border-radius: 999px;
	font-family: var(--font-head); font-weight: 600; font-size: 15px;
	border: 1px solid transparent; cursor: pointer;
	transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
	position: relative; overflow: hidden; isolation: isolate;
}
.btn .icon { transition: transform .35s var(--ease); }
.btn:hover .icon { transform: translateX(4px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 30px -10px var(--primary); }
.btn-primary::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-100%); transition: transform .8s var(--ease); z-index: -1; }
.btn-primary:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 18px 40px -12px var(--primary); }
.btn-primary:hover::after { transform: translateX(100%); }
.btn-ghost { background: var(--surface); color: var(--heading); border-color: var(--border); backdrop-filter: blur(10px); }
.btn-ghost:hover { border-color: var(--primary); color: var(--heading); transform: translateY(-3px); }
.btn-sm { padding: 10px 20px; font-size: 14px; }

/* ==========================================================================
   4. Cabeçalho
   ========================================================================== */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); transform-origin: 0 50%; transform: scaleX(0); z-index: 1001; }
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; height: var(--header-h); transition: background .4s, backdrop-filter .4s, height .4s var(--ease), border-color .4s; border-bottom: 1px solid transparent; }
.admin-bar .site-header { top: 32px; }
.site-header.is-scrolled { background: rgba(243,246,249,.78); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: var(--border); height: 64px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--heading); font-family: var(--font-head); font-weight: 800; font-size: 22px; letter-spacing: -0.03em; }
.brand:hover { color: var(--heading); }
.brand-mark { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--grad); color: #fff; font-size: 20px; box-shadow: 0 8px 24px -8px var(--primary); transition: transform .5s var(--ease); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand small { color: var(--primary); font-weight: 600; }
.custom-logo-link img { max-height: 48px; width: auto; }

.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 6px; }
.main-nav a { display: block; padding: 8px 16px; color: var(--muted); font-weight: 500; font-size: 15px; border-radius: 999px; position: relative; transition: color .25s, background .25s; }
.main-nav a:hover, .main-nav a.is-active, .main-nav .current-menu-item > a { color: var(--heading); background: var(--surface-2); }
.main-nav .sub-menu { display: none; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--border); background: var(--surface); cursor: pointer; position: relative; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { position: absolute; left: 50%; width: 20px; height: 2px; background: var(--heading); border-radius: 2px; transition: transform .35s var(--ease), opacity .2s; }
.menu-toggle span { top: 50%; transform: translate(-50%, -50%); }
.menu-toggle span::before, .menu-toggle span::after { content: ""; left: 0; }
.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }
.nav-open .menu-toggle span { background: transparent; }
.nav-open .menu-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .menu-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   5. Hero
   ========================================================================== */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--header-h) + 40px) 0 100px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-photo { position: absolute; inset: -15% 0; background-size: cover; background-position: center; opacity: .18; }
.hero-grid { position: absolute; inset: -20% -5%; background-image: linear-gradient(rgba(30,41,59,.045) 1px, transparent 1px), linear-gradient(90deg, rgba(30,41,59,.045) 1px, transparent 1px); background-size: 64px 64px; mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 75%); }
.hero-particles { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .4; }
.orb-1 { width: 520px; height: 520px; background: var(--primary); top: -160px; right: -120px; opacity: .22; animation: orbFloat 14s ease-in-out infinite; }
.orb-2 { width: 460px; height: 460px; background: var(--secondary); bottom: -180px; left: -140px; opacity: .2; animation: orbFloat 18s ease-in-out infinite reverse; }
.orb-3 { width: 240px; height: 240px; background: var(--accent); top: 40%; left: 45%; opacity: .25; animation: orbFloat 11s ease-in-out infinite; }
.hero-waves { position: absolute; left: 0; right: 0; bottom: 0; height: 260px; opacity: .45; }
.hero-waves svg { width: 100%; height: 100%; }
.hero-waves path { fill: none; stroke-width: 1.4; }
.hero-waves path:nth-child(1) { stroke: var(--primary); stroke-dasharray: 8 10; animation: dash 30s linear infinite; }
.hero-waves path:nth-child(2) { stroke: var(--secondary); opacity: .7; }
.hero-waves path:nth-child(3) { stroke: var(--primary); opacity: .3; }

.hero-inner { display: grid; grid-template-columns: 1.1fr 1fr; gap: 64px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); color: var(--primary); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 22px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 0 var(--primary); animation: pulse 2s infinite; }
.hero-title { font-size: clamp(2.5rem, 5.6vw, 4.6rem); font-weight: 800; margin-bottom: .45em; }
.hero-title .typed { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }
.caret { display: inline-block; width: 4px; height: .9em; background: var(--primary); margin-left: 6px; vertical-align: -0.08em; border-radius: 2px; animation: blink 1s steps(2) infinite; }
.hero-text { font-size: 1.15rem; color: var(--muted); max-width: 560px; margin-bottom: 2em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 48px; color: var(--muted); font-size: 14px; }
.hero-badges strong { display: block; font-family: var(--font-head); color: var(--heading); font-size: 24px; line-height: 1.2; }

/* Visual do hero */
.hero-visual { position: relative; }
.window { position: relative; background: rgba(255, 255, 255, .92); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow), 0 0 0 1px rgba(30,41,59,.02) inset; backdrop-filter: blur(14px); overflow: hidden; transform: perspective(1200px) rotateY(-8deg) rotateX(4deg); transition: transform .8s var(--ease); }
.hero-visual:hover .window { transform: perspective(1200px) rotateY(0) rotateX(0); }
.window-bar { display: flex; align-items: center; gap: 8px; padding: 14px 18px; border-bottom: 1px solid var(--border); background: rgba(30,41,59,.02); }
.window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.window-bar i:nth-child(2) { background: #febc2e; }
.window-bar i:nth-child(3) { background: #28c840; }
.window-bar span { margin-left: 12px; font-size: 12px; color: var(--muted); font-family: ui-monospace, monospace; }
.code { margin: 0; padding: 22px 24px 26px; font-family: ui-monospace, "JetBrains Mono", Menlo, monospace; font-size: 13.5px; line-height: 1.85; color: #4b5563; white-space: pre; overflow: hidden; }
.code .ln { display: block; opacity: 0; transform: translateX(-8px); animation: codeIn .5s var(--ease) forwards; }
.code .k { color: var(--secondary); } .code .f { color: var(--primary); } .code .s { color: #16a34a; } .code .c { color: #9ca3af; } .code .n { color: var(--accent); }
.float-card { position: absolute; display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 16px; background: rgba(255, 255, 255, .95); border: 1px solid var(--border); backdrop-filter: blur(12px); box-shadow: var(--shadow); font-size: 14px; color: var(--heading); font-weight: 600; }
.float-card small { display: block; font-weight: 400; color: var(--muted); font-size: 12px; }
.float-card .icon { font-size: 22px; color: var(--primary); }
.onair-card { left: -40px; bottom: -34px; animation: floatY 6s ease-in-out infinite; }
.uptime-card { right: -24px; top: -28px; animation: floatY 7s ease-in-out infinite reverse; }
.live-dot { width: 10px; height: 10px; border-radius: 50%; background: #ff3b5c; box-shadow: 0 0 0 0 rgba(255, 59, 92, .7); animation: pulseRed 1.6s infinite; }
.mini-eq { display: flex; align-items: flex-end; gap: 3px; height: 22px; }
.mini-eq i { width: 3px; background: var(--grad); border-radius: 2px; animation: eq 1s ease-in-out infinite; }
.mini-eq i:nth-child(2n) { animation-delay: -.3s; } .mini-eq i:nth-child(3n) { animation-delay: -.6s; } .mini-eq i:nth-child(5n) { animation-delay: -.15s; }

.scroll-hint { position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(30,41,59,.25); border-radius: 14px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--primary); animation: scrollHint 1.8s infinite; }

/* Faixa de tecnologias */
.marquee { border-block: 1px solid var(--border); background: var(--bg-2); padding: 22px 0; overflow: hidden; position: relative; }
.marquee::before, .marquee::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; }
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg-2), transparent); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 600; font-size: 18px; color: var(--muted); white-space: nowrap; }
.marquee-item::before { content: "✦"; color: var(--primary); }

/* ==========================================================================
   6. Seções
   ========================================================================== */
.section { padding: 120px 0; position: relative; }
.section-alt { background: var(--bg-2); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 64px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 1.1rem; margin: 0; }

/* Serviços */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
	--mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg;
	position: relative; padding: 36px 32px; border-radius: var(--radius);
	background: var(--surface); border: 1px solid var(--border);
	transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
	transition: transform .4s var(--ease), border-color .4s, background .4s;
	overflow: hidden; isolation: isolate;
}
.service-card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx) var(--my), rgba(249,115,22, .14), transparent 45%); opacity: 0; transition: opacity .4s; z-index: -1; }
.service-card:hover { border-color: rgba(249,115,22,.35); background: var(--surface-2); box-shadow: var(--shadow); }
.service-card:hover::before { opacity: 1; }
.service-icon { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; font-size: 26px; color: var(--primary); background: linear-gradient(135deg, rgba(249,115,22,.15), rgba(245,158,11,.15)); border: 1px solid var(--border); margin-bottom: 24px; transition: transform .5s var(--ease), background .4s, color .4s; }
.service-card:hover .service-icon { transform: translateY(-4px) rotate(-6deg); background: var(--grad); color: #fff; }
.service-card h3 { font-size: 1.3rem; margin-bottom: .5em; }
.service-card p { color: var(--muted); margin: 0; font-size: .98rem; }
.service-num { position: absolute; top: 24px; right: 28px; font-family: var(--font-head); font-weight: 800; font-size: 44px; color: rgba(30,41,59,.04); line-height: 1; transition: color .4s; }
.service-card:hover .service-num { color: rgba(30,41,59,.09); }

/* Seção parallax genérica */
.parallax-section { position: relative; overflow: hidden; isolation: isolate; }
.parallax-bg { position: absolute; inset: -25% 0; background-size: cover; background-position: center; z-index: -2; will-change: transform; }
.parallax-bg.is-pattern { background-image: radial-gradient(circle at 20% 30%, rgba(245,158,11,.35), transparent 40%), radial-gradient(circle at 80% 70%, rgba(249,115,22,.28), transparent 40%), repeating-radial-gradient(circle at 70% 50%, transparent 0 38px, rgba(30,41,59,.035) 38px 39px); }
.parallax-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, var(--bg) 0%, rgba(243,246,249,.72) 18%, rgba(243,246,249,.72) 82%, var(--bg) 100%); }

/* Rádios */
.radios-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.radios-content h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
.radios-content > p { color: var(--muted); font-size: 1.08rem; }
.checklist { list-style: none; padding: 0; margin: 28px 0 36px; display: grid; gap: 14px; }
.checklist li { display: flex; align-items: center; gap: 14px; font-weight: 500; }
.checklist .icon { width: 28px; height: 28px; padding: 6px; border-radius: 50%; background: rgba(249,115,22,.12); color: var(--primary); }

.console { position: relative; padding: 32px; border-radius: 24px; background: linear-gradient(160deg, #ffffff, #f6f8fb); border: 1px solid var(--border); box-shadow: var(--shadow); backdrop-filter: blur(10px); }
.console-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.onair-light { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 8px; background: rgba(255, 59, 92, .12); border: 1px solid rgba(255, 59, 92, .4); color: #e11d48; font-family: var(--font-head); font-weight: 800; letter-spacing: .14em; font-size: 13px; animation: onair 2.4s ease-in-out infinite; }
.freq { font-family: ui-monospace, monospace; font-size: 30px; color: var(--primary); text-shadow: 0 0 18px var(--primary); letter-spacing: .04em; }
.freq small { font-size: 13px; color: var(--muted); text-shadow: none; margin-right: 6px; }
.vu { display: grid; gap: 10px; margin-bottom: 26px; }
.vu-row { display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--muted); font-family: ui-monospace, monospace; }
.vu-bars { flex: 1; display: grid; grid-template-columns: repeat(24, 1fr); gap: 3px; }
.vu-bars i { height: 12px; border-radius: 2px; background: rgba(30,41,59,.06); animation: vu 1.4s steps(1) infinite; }
.vu-bars i:nth-child(n+17) { --on: #facc15; } .vu-bars i:nth-child(n+21) { --on: #ff3b5c; }
.big-eq { display: flex; align-items: flex-end; justify-content: space-between; gap: 5px; height: 110px; padding: 12px; border-radius: 14px; background: #f3f6f9; border: 1px solid var(--border); margin-bottom: 24px; }
.big-eq i { flex: 1; border-radius: 4px 4px 1px 1px; background: var(--grad); animation: eq 1.2s ease-in-out infinite; transform-origin: bottom; }
.faders { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.fader { text-align: center; font-size: 11px; color: var(--muted); font-family: ui-monospace, monospace; }
.fader-track { height: 70px; width: 6px; margin: 0 auto 8px; border-radius: 3px; background: rgba(30,41,59,.08); position: relative; }
.fader-track b { position: absolute; left: 50%; width: 22px; height: 10px; margin-left: -11px; border-radius: 3px; background: #fff; border: 1px solid rgba(30,41,59,.25); box-shadow: 0 2px 6px rgba(15,23,42,.18); animation: fader 5s ease-in-out infinite; }
.radio-rings { position: absolute; right: -50px; top: -50px; width: 140px; height: 140px; display: grid; place-items: center; }
.radio-rings span { position: absolute; inset: 0; border: 2px solid var(--primary); border-radius: 50%; opacity: 0; animation: ring 3s ease-out infinite; }
.radio-rings span:nth-child(2) { animation-delay: 1s; } .radio-rings span:nth-child(3) { animation-delay: 2s; }
.radio-rings .icon { position: relative; width: 56px; height: 56px; padding: 14px; border-radius: 50%; background: var(--grad); color: #fff; box-shadow: 0 10px 30px -8px var(--primary); }

/* Números */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 36px 20px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); position: relative; overflow: hidden; }
.stat::after { content: ""; position: absolute; left: 20%; right: 20%; bottom: 0; height: 2px; background: var(--grad); transform: scaleX(0); transition: transform .8s var(--ease) .3s; }
.stat.is-visible::after { transform: scaleX(1); }
.stat-number { font-family: var(--font-head); font-weight: 800; font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat-label { color: var(--muted); margin-top: 10px; font-size: .98rem; }

/* Projetos */
.filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 44px; }
.filter-btn { padding: 10px 22px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--muted); font: 500 14px var(--font-body); cursor: pointer; transition: all .3s var(--ease); }
.filter-btn:hover { color: var(--heading); border-color: rgba(30,41,59,.25); }
.filter-btn.is-active { background: var(--grad); color: #fff; border-color: transparent; font-weight: 600; }
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.project-card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); box-shadow: 0 10px 30px -18px rgba(15,23,42,.25); border: 1px solid var(--border); transition: transform .5s var(--ease), opacity .4s, border-color .4s, box-shadow .5s; }
.project-card:hover { transform: translateY(-8px); border-color: rgba(30,41,59,.18); box-shadow: 0 30px 60px -25px rgba(15,23,42,.20); }
.project-card.is-hidden { display: none; }
.project-card.is-entering { animation: cardIn .6s var(--ease) both; }
.project-cover { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.project-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.project-card:hover .project-cover img, .project-card:hover .project-placeholder { transform: scale(1.07); }
.project-placeholder { position: absolute; inset: 0; display: grid; place-items: center; transition: transform .9s var(--ease); }
.project-placeholder .icon { width: 72px; height: 72px; color: rgba(255,255,255,.95); stroke-width: 1.4; filter: drop-shadow(0 8px 20px rgba(0,0,0,.35)); }
.project-placeholder::after { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.12) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.12) 1px, transparent 1px); background-size: 28px 28px; mask-image: linear-gradient(180deg, #000, transparent); -webkit-mask-image: linear-gradient(180deg, #000, transparent); }
.project-tag { position: absolute; top: 16px; left: 16px; z-index: 2; padding: 6px 14px; border-radius: 999px; background: rgba(255,255,255,.88); backdrop-filter: blur(8px); font-size: 12px; font-weight: 600; color: var(--heading); border: 1px solid var(--border); }
.project-body { padding: 26px 26px 28px; }
.project-body h3 { font-size: 1.25rem; margin-bottom: .4em; }
.project-body h3 a { color: var(--heading); }
.project-body p { color: var(--muted); font-size: .96rem; margin-bottom: 1.1em; }
.project-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; }
.project-link .icon { transition: transform .3s var(--ease); }
.project-card:hover .project-link .icon { transform: translateX(5px); }
.section-cta { text-align: center; margin-top: 56px; }

/* Processo */
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.process-line { position: absolute; top: 34px; left: 12%; right: 12%; height: 2px; background: var(--border); --progress: 0; }
.process-line::after { content: ""; position: absolute; inset: 0; background: var(--grad); transform-origin: 0 50%; transform: scaleX(var(--progress)); }
.step { position: relative; text-align: center; padding: 0 8px; }
.step-num { width: 68px; height: 68px; margin: 0 auto 24px; border-radius: 50%; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 22px; background: var(--bg-2); border: 2px solid var(--border); position: relative; z-index: 1; transition: border-color .6s, background .6s, color .6s, box-shadow .6s; }
.step.is-visible .step-num { border-color: var(--primary); box-shadow: 0 0 0 8px rgba(249,115,22,.08), 0 0 30px -6px var(--primary); color: var(--primary); }
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted); font-size: .96rem; margin: 0; }

/* CTA parallax */
.cta-band { padding: 140px 0; text-align: center; }
.cta-band h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 800; max-width: 900px; margin: 0 auto .4em; }
.cta-band p { color: var(--muted); font-size: 1.15rem; max-width: 640px; margin: 0 auto 2em; }
.shape { position: absolute; z-index: -1; pointer-events: none; }
.shape-ring { width: 300px; height: 300px; border: 1px solid rgba(30,41,59,.12); border-radius: 50%; left: 6%; top: 10%; }
.shape-ring.two { width: 180px; height: 180px; left: auto; right: 10%; top: 55%; border-color: rgba(249,115,22,.3); }
.shape-square { width: 90px; height: 90px; border: 1px solid rgba(245,158,11,.45); border-radius: 18px; right: 18%; top: 14%; animation: spin 22s linear infinite; }
.shape-dots { width: 160px; height: 120px; left: 14%; bottom: 8%; background-image: radial-gradient(rgba(30,41,59,.25) 1.5px, transparent 1.5px); background-size: 16px 16px; }

/* Blog */
.posts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.post-card { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); overflow: hidden; transition: transform .5s var(--ease), border-color .4s; display: flex; flex-direction: column; }
.post-card:hover { transform: translateY(-6px); border-color: rgba(30,41,59,.18); }
.post-thumb { aspect-ratio: 16 / 10; overflow: hidden; background: var(--grad); }
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.post-card:hover .post-thumb img { transform: scale(1.06); }
.post-body { padding: 24px 26px 28px; flex: 1; display: flex; flex-direction: column; }
.post-meta { font-size: 13px; color: var(--primary); font-weight: 600; margin-bottom: 8px; }
.post-body h2, .post-body h3 { font-size: 1.2rem; }
.post-body h2 a, .post-body h3 a { color: var(--heading); }
.post-body h2 a:hover, .post-body h3 a:hover { color: var(--primary); }
.post-body p { color: var(--muted); font-size: .96rem; }
.post-body .project-link { margin-top: auto; }

/* Contato */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-info h2 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; }
.contact-info > p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 32px 0; display: grid; gap: 14px; }
.contact-list a, .contact-list span.item { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); color: var(--text); transition: border-color .3s, transform .3s var(--ease); }
.contact-list a:hover { border-color: var(--primary); transform: translateX(6px); color: var(--heading); }
.contact-list .icon { width: 42px; height: 42px; padding: 10px; border-radius: 12px; background: rgba(249,115,22,.12); color: var(--primary); }
.contact-list small { display: block; color: var(--muted); font-size: 12px; }
.contact-form { padding: 40px; border-radius: 24px; background: var(--surface); border: 1px solid var(--border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 8px; color: var(--muted); }
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], input[type="search"], input[type="password"], select, textarea {
	width: 100%; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--border); background: #fff; color: var(--heading); font: inherit; font-size: 15px; transition: border-color .3s, box-shadow .3s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px rgba(249,115,22,.12); }
select option { background: var(--bg-2); }
textarea { min-height: 140px; resize: vertical; }
.hp-field { position: absolute !important; left: -9999px !important; }
.form-notice { padding: 14px 18px; border-radius: 12px; margin-bottom: 20px; font-weight: 500; }
.form-notice.ok { background: rgba(40, 200, 120, .12); border: 1px solid rgba(40, 200, 120, .4); color: #15803d; }
.form-notice.erro { background: rgba(255, 59, 92, .1); border: 1px solid rgba(255, 59, 92, .4); color: #be123c; }

/* ==========================================================================
   7. Rodapé
   ========================================================================== */
.site-footer { background: var(--bg-2); border-top: 1px solid var(--border); padding: 80px 0 30px; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; left: 50%; top: 0; width: 60%; height: 1px; transform: translateX(-50%); background: linear-gradient(90deg, transparent, var(--primary), transparent); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 48px; margin-bottom: 56px; }
.footer-grid h4 { font-size: 1rem; margin-bottom: 1.2em; }
.footer-grid p, .footer-grid li { color: var(--muted); font-size: .96rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid ul a { color: var(--muted); }
.footer-grid ul a:hover { color: var(--primary); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); color: var(--heading); font-size: 18px; transition: transform .3s var(--ease), background .3s, color .3s; }
.socials a:hover { transform: translateY(-4px); background: var(--grad); color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 28px; border-top: 1px solid var(--border); color: var(--muted); font-size: 14px; }
.whatsapp-float { position: fixed; right: 22px; bottom: 22px; z-index: 999; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; font-size: 28px; box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .7); transition: transform .35s var(--ease); }
.whatsapp-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #25d366; animation: ring 2.4s ease-out infinite; }
.whatsapp-float:hover { transform: scale(1.1); color: #fff; }

/* ==========================================================================
   8. Páginas internas
   ========================================================================== */
.page-hero { position: relative; padding: calc(var(--header-h) + 90px) 0 80px; text-align: center; overflow: hidden; isolation: isolate; }
.page-hero .parallax-bg { opacity: .9; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 800; max-width: 900px; margin: 0 auto .3em; }
.page-hero p, .page-hero .meta { color: var(--muted); max-width: 680px; margin: 0 auto; }
.breadcrumb { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.breadcrumb a { color: var(--muted); } .breadcrumb a:hover { color: var(--primary); }
.content-wrap { padding: 80px 0 120px; }
.entry { max-width: 780px; margin: 0 auto; }
.entry-thumb { border-radius: var(--radius); overflow: hidden; margin: -40px auto 48px; max-width: 980px; box-shadow: var(--shadow); }
.entry-content { font-size: 1.08rem; color: var(--text); }
.entry-content h2 { font-size: 1.9rem; margin-top: 1.6em; }
.entry-content h3 { font-size: 1.45rem; margin-top: 1.4em; }
.entry-content a { text-decoration: underline; text-underline-offset: 3px; }
.entry-content img { border-radius: var(--radius-sm); }
.entry-content blockquote { margin: 2em 0; padding: 22px 28px; border-left: 3px solid var(--primary); background: var(--surface); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 1.15rem; color: var(--heading); }
.entry-content pre { background: var(--bg-3); border: 1px solid var(--border); padding: 20px; border-radius: var(--radius-sm); overflow-x: auto; font-size: 14px; }
.entry-content code { background: var(--surface-2); padding: .15em .4em; border-radius: 6px; font-size: .9em; }
.entry-content pre code { background: none; padding: 0; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.entry-content th, .entry-content td { padding: 12px; border: 1px solid var(--border); text-align: left; }
.entry-content .alignwide { max-width: 1100px; margin-left: 50%; transform: translateX(-50%); width: 100vw; }
.entry-content .alignfull { width: 100vw; max-width: none; margin-left: 50%; transform: translateX(-50%); }
.project-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 48px; }
.project-meta div { padding: 18px 22px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); }
.project-meta small { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.project-meta strong { color: var(--heading); font-weight: 600; }
.post-tags { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 8px; }
.post-tags a { padding: 6px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--border); font-size: 13px; color: var(--muted); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 64px; }
.post-nav a { display: block; padding: 22px 26px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); color: var(--heading); font-weight: 600; transition: border-color .3s; }
.post-nav a:hover { border-color: var(--primary); }
.post-nav small { display: block; color: var(--muted); font-weight: 400; font-size: 13px; }
.post-nav .next { text-align: right; }
.pagination { margin-top: 60px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.pagination .page-numbers { min-width: 46px; height: 46px; padding: 0 14px; display: grid; place-items: center; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); color: var(--text); font-weight: 600; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--grad); color: #fff; border-color: transparent; }
.no-results { text-align: center; color: var(--muted); padding: 40px 0; }
.search-form { display: flex; gap: 10px; max-width: 480px; margin: 24px auto 0; }
.search-form label { flex: 1; }
.search-submit { padding: 0 22px; border-radius: 12px; border: 0; background: var(--grad); color: #fff; font-weight: 600; cursor: pointer; }
.error-404 { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: calc(var(--header-h) + 40px) 24px 80px; }
.error-404 .big { font-family: var(--font-head); font-size: clamp(6rem, 20vw, 12rem); font-weight: 800; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Comentários */
.comments-area { max-width: 780px; margin: 64px auto 0; padding-top: 48px; border-top: 1px solid var(--border); }
.comment-list { list-style: none; padding: 0; }
.comment-list .children { list-style: none; padding-left: 32px; }
.comment-body { padding: 22px; border-radius: 14px; background: var(--surface); border: 1px solid var(--border); margin-bottom: 16px; }
.comment-author img { border-radius: 50%; float: left; margin-right: 12px; }
.comment-metadata { font-size: 13px; }
.comment-metadata a { color: var(--muted); }
.comment-respond .submit { padding: 14px 28px; border-radius: 999px; border: 0; background: var(--grad); color: #fff; font-weight: 700; cursor: pointer; }

/* ==========================================================================
   9. Animações de entrada (só com JS ativo)
   ========================================================================== */
.js .reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.from-left { transform: translateX(-50px); }
.js .reveal.from-right { transform: translateX(50px); }
.js .reveal.zoom { transform: scale(.92); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@keyframes orbFloat { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(40px,-30px) scale(1.08); } 66% { transform: translate(-30px,20px) scale(.95); } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(249,115,22,.6); } 70% { box-shadow: 0 0 0 10px rgba(249,115,22,0); } 100% { box-shadow: 0 0 0 0 rgba(249,115,22,0); } }
@keyframes pulseRed { 0% { box-shadow: 0 0 0 0 rgba(255,59,92,.7); } 70% { box-shadow: 0 0 0 10px rgba(255,59,92,0); } 100% { box-shadow: 0 0 0 0 rgba(255,59,92,0); } }
@keyframes blink { to { opacity: 0; } }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes eq { 0%,100% { height: 20%; } 25% { height: 95%; } 50% { height: 45%; } 75% { height: 75%; } }
@keyframes vu { 0% { background: var(--on, var(--primary)); } 50% { background: rgba(30,41,59,.06); } }
@keyframes fader { 0%,100% { top: 10%; } 50% { top: 70%; } }
@keyframes ring { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes onair { 0%,100% { box-shadow: 0 0 0 rgba(255,59,92,0); } 50% { box-shadow: 0 0 24px rgba(255,59,92,.45); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes scrollHint { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@keyframes codeIn { to { opacity: 1; transform: none; } }
@keyframes dash { to { stroke-dashoffset: -1000; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes cardIn { from { opacity: 0; transform: translateY(24px) scale(.97); } to { opacity: 1; transform: none; } }

/* ==========================================================================
   10. Responsivo
   ========================================================================== */
@media (max-width: 1080px) {
	.hero-inner, .radios-inner, .contact-grid { grid-template-columns: 1fr; gap: 56px; }
	.hero-visual { max-width: 560px; margin: 0 auto; width: 100%; }
	.services-grid, .projects-grid, .posts-grid { grid-template-columns: repeat(2, 1fr); }
	.stats { grid-template-columns: repeat(2, 1fr); }
	.process { grid-template-columns: repeat(2, 1fr); row-gap: 48px; }
	.process-line { display: none; }
	.footer-grid { grid-template-columns: 1fr 1fr; }
	.footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
	.menu-toggle { display: block; }
	.header-actions .btn { display: none; }
	.main-nav { position: fixed; inset: 0; top: 0; background: rgba(243,246,249,.97); backdrop-filter: blur(20px); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility .4s; z-index: -1; }
	.main-nav ul { flex-direction: column; align-items: center; gap: 8px; }
	.main-nav a { font-family: var(--font-head); font-size: 26px; font-weight: 700; color: var(--heading); padding: 10px 24px; opacity: 0; transform: translateY(20px); transition: opacity .5s var(--ease), transform .5s var(--ease); }
	.nav-open .main-nav { opacity: 1; visibility: visible; }
	.nav-open .main-nav a { opacity: 1; transform: none; }
	.nav-open .main-nav li:nth-child(2) a { transition-delay: .05s; } .nav-open .main-nav li:nth-child(3) a { transition-delay: .1s; } .nav-open .main-nav li:nth-child(4) a { transition-delay: .15s; } .nav-open .main-nav li:nth-child(5) a { transition-delay: .2s; } .nav-open .main-nav li:nth-child(6) a { transition-delay: .25s; }
	.nav-open { overflow: hidden; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 680px) {
	body { font-size: 16px; }
	.section { padding: 84px 0; }
	.services-grid, .projects-grid, .posts-grid, .stats, .process, .footer-grid, .form-row, .post-nav { grid-template-columns: 1fr; }
	.onair-card { left: 0; bottom: -40px; }
	.uptime-card { right: 0; top: -36px; }
	.window { transform: none; }
	.code { font-size: 12px; padding: 18px; }
	.console { padding: 22px; }
	.radio-rings { right: -10px; top: -60px; transform: scale(.75); }
	.contact-form { padding: 26px; }
	.hero-badges { gap: 18px; }
	.cta-band { padding: 100px 0; }
}

/* Movimento reduzido */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
	.js .reveal { opacity: 1; transform: none; }
	.code .ln { opacity: 1; transform: none; }
}
