/* =============================================================
   Modernize Marketing Oficial — theme.css
   Visual 2026: dark aurora, glass, grão, tipografia display,
   mockups de notebook 3D. Tudo em um arquivo, sem build.
   ============================================================= */

/* ---------- Tokens ---------- */
:root {
	--bg: #05070f;
	--bg-2: #0a0f1e;
	--surface: rgba(255, 255, 255, .04);
	--surface-2: rgba(255, 255, 255, .07);
	--border: rgba(255, 255, 255, .09);
	--border-strong: rgba(255, 255, 255, .16);
	--text: #f4f4fb;
	--text-dim: #a6a6bd;
	--text-mute: #6f6f88;

	--brand: #0a5cff;
	--brand-2: #3d8bff;
	--brand-3: #38d0ff;
	--accent: #8ab4ff;

	--grad-aurora: radial-gradient(60% 60% at 20% 15%, rgba(10, 92, 255, .55), transparent 60%),
		radial-gradient(50% 50% at 85% 10%, rgba(61, 139, 255, .42), transparent 60%),
		radial-gradient(55% 55% at 60% 90%, rgba(56, 208, 255, .26), transparent 60%);
	--grad-text: linear-gradient(100deg, #fff 0%, #cfe0ff 38%, #7fc4ff 68%, #0a5cff 100%);
	--grad-line: linear-gradient(90deg, transparent, var(--brand), var(--brand-3), transparent);

	--radius: 22px;
	--radius-sm: 14px;
	--radius-lg: 34px;
	--shadow: 0 30px 80px -20px rgba(0, 0, 0, .7);
	--shadow-glow: 0 0 0 1px var(--border), 0 24px 70px -24px rgba(10, 92, 255, .5);

	--font-display: "Poppins", "Inter", system-ui, sans-serif;
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

	--container: 1200px;
	--pad: clamp(20px, 5vw, 64px);
	--section: clamp(72px, 12vw, 160px);
	--ease: cubic-bezier(.2, .7, 0, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font);
	font-size: 17px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

/* Fundo vivo: aurora + grão + grid sutil */
body::before {
	content: "";
	position: fixed;
	inset: -20vmax;
	z-index: -2;
	background: var(--grad-aurora);
	filter: saturate(1.1);
	animation: aurora 24s var(--ease) infinite alternate;
}
body::after {
	content: "";
	position: fixed;
	inset: 0;
	z-index: -1;
	pointer-events: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
	opacity: .05;
	mix-blend-mode: overlay;
}
@keyframes aurora {
	0% { transform: translate3d(-4%, -2%, 0) rotate(0deg) scale(1.05); }
	100% { transform: translate3d(5%, 3%, 0) rotate(8deg) scale(1.2); }
}
@media (prefers-reduced-motion: reduce) {
	body::before { animation: none; }
}

img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: var(--brand); color: #fff; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; letter-spacing: -.015em; margin: 0 0 .4em; }
h1 { font-size: clamp(2.6rem, 7vw, 5.5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
p { margin: 0 0 1em; }

.container { width: min(100% - var(--pad) * 2, var(--container)); margin-inline: auto; }
.container--wide { --container: 1400px; }

.section { padding-block: var(--section); position: relative; }

/* ---------- Skip link / a11y ---------- */
.skip-link {
	position: absolute; left: -9999px; top: 0; z-index: 1000;
	background: var(--brand); color: #fff; padding: 12px 20px; border-radius: 0 0 12px 0;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--brand-3); outline-offset: 3px; border-radius: 6px; }

/* ---------- Utilitários visuais ---------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: 10px;
	font-family: var(--font-display);
	font-size: .82rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
	color: var(--text-dim);
	padding: 8px 16px;
	border: 1px solid var(--border);
	border-radius: 100px;
	background: var(--surface);
	backdrop-filter: blur(10px);
}
.eyebrow::before {
	content: ""; width: 7px; height: 7px; border-radius: 50%;
	background: var(--brand-3); box-shadow: 0 0 12px var(--brand-3);
}

.gradient-text {
	background: var(--grad-text);
	-webkit-background-clip: text; background-clip: text;
	color: transparent;
}
h1 em, h2 em { font-style: normal; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--text-dim); max-width: 52ch; }
.lead strong { color: var(--text); font-weight: 600; }
.lead strong::selection { background: var(--brand); }
/* lead do hero: mais compacto pra caber em ~3 linhas */
.hero__intro .lead { font-size: clamp(.9rem, 1.1vw, 1.05rem); line-height: 1.5; max-width: 62ch; }

.glass {
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
}

.divider { height: 1px; border: 0; background: var(--grad-line); opacity: .5; margin: 0; }

/* ---------- Botões ---------- */
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 15px 26px;
	border-radius: 100px;
	font-family: var(--font-display); font-weight: 600; font-size: .98rem;
	border: 1px solid transparent;
	transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s;
	will-change: transform;
}
.btn svg { width: 18px; height: 18px; }
.btn--primary {
	color: #fff;
	background: linear-gradient(120deg, var(--brand), var(--brand-2));
	box-shadow: 0 10px 40px -8px rgba(10, 92, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.btn--primary:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 20px 55px -10px rgba(10, 92, 255, .85); }
.btn--ghost {
	color: var(--text);
	background: var(--surface);
	border-color: var(--border-strong);
	backdrop-filter: blur(10px);
}
.btn--ghost:hover { transform: translateY(-3px); border-color: var(--brand-3); box-shadow: 0 0 30px -6px var(--brand-3); }
.btn--wa { background: linear-gradient(120deg, #25d366, #12b657); box-shadow: 0 10px 40px -8px rgba(37, 211, 102, .6); color:#04240f; }
.btn--sm { padding: 11px 18px; font-size: .86rem; }
.btn--block { width: 100%; justify-content: center; }

/* ---------- Header ---------- */
.site-header {
	position: fixed; inset: 0 0 auto; z-index: 100;
	padding-block: 14px;
	background: #fff;
	border-bottom: 1px solid rgba(12, 12, 32, .08);
	transition: padding .35s var(--ease), box-shadow .35s var(--ease);
}
.site-header.is-stuck { padding-block: 9px; box-shadow: 0 10px 30px -14px rgba(12, 12, 32, .22); }
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; color: #0d1220; }
.brand img { max-height: 38px; width: auto; }
.brand__mark {
	width: 36px; height: 36px; border-radius: 11px; flex: none;
	background: conic-gradient(from 140deg, var(--brand), var(--brand-2), var(--brand-3), var(--accent), var(--brand));
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5), 0 6px 18px -6px var(--brand);
	position: relative;
}
.brand__mark::after {
	content: ""; position: absolute; inset: 8px; border-radius: 6px;
	background: #fff;
}

.nav { display: flex; align-items: center; gap: 8px; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__list li { list-style: none; margin: 0; }
.nav a {
	display: block;
	padding: 8px 12px; font-size: .95rem; font-weight: 500; color: #4a4f63;
	transition: color .25s;
}
.nav a:hover { color: var(--brand); }
.nav .current-menu-item > a, .nav .current_page_item > a { color: var(--brand); }
.header__cta { display: flex; align-items: center; gap: 10px; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; border: 1px solid rgba(12, 12, 32, .15); background: #f3f4f8; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
	content: ""; position: absolute; left: 50%; top: 50%; width: 18px; height: 2px; background: #0d1220;
	transform: translate(-50%, -50%); transition: .3s var(--ease);
}
.nav-toggle span::before { transform: translate(-50%, -8px); }
.nav-toggle span::after { transform: translate(-50%, 6px); }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { transform: translate(-50%, 0) rotate(45deg); }
body.nav-open .nav-toggle span::after { transform: translate(-50%, 0) rotate(-45deg); }

@media (max-width: 960px) {
	.nav-toggle { display: block; z-index: 101; }
	.primary-nav {
		position: fixed; inset: 0; z-index: 100;
		display: flex; align-items: center; justify-content: center;
		background: #fff;
		transform: translateY(-100%); transition: transform .5s var(--ease);
	}
	.primary-nav .nav__list { flex-direction: column; gap: 6px; text-align: center; }
	.primary-nav a { font-size: 1.4rem; font-family: var(--font-display); font-weight: 600; color: #0d1220; padding: 12px; }
	.primary-nav a:hover { color: var(--brand); }
	body.nav-open .primary-nav { transform: translateY(0); }
	.header__cta .btn span.label-lg { display: none; }
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(92px, 11vw, 128px); padding-bottom: clamp(20px, 3vw, 44px); position: relative; }
.hero__grid { display: grid; gap: clamp(36px, 5vw, 64px); align-items: center; }
@media (min-width: 1024px) {
	.hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
	.hero__stage { margin-right: -4%; }
}
.hero__title {
	margin-top: .3em;
	font-size: clamp(2.1rem, 4.4vw, 3.6rem);
	font-weight: 700;
	letter-spacing: -.02em;
	line-height: 1.12;
	text-wrap: balance;
}
.hero__title em { font-weight: 700; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 1.6rem; }
@media (max-width: 560px) {
	.hero__actions { flex-direction: column; align-items: stretch; }
	.hero__actions .btn { width: 100%; justify-content: center; }
	.brand { font-size: .92rem; white-space: nowrap; }
	.brand__mark { width: 32px; height: 32px; }
	.eyebrow { font-size: .68rem; letter-spacing: .06em; }
}
.hero__meta { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 1.8rem; color: var(--text-mute); font-size: .88rem; }
.hero__meta span { display: inline-flex; align-items: flex-start; gap: 8px; }
.hero__meta svg { width: 16px; height: 16px; flex: none; margin-top: 2px; color: var(--brand-3); }

.hero__stage {
	position: relative;
	perspective: 1600px;
	min-height: clamp(260px, 38vw, 460px);
}

/* ---------- Notebook mockup ---------- */
.notebook {
	position: relative;
	width: min(100%, 780px);
	margin-inline: auto;
	transform-style: preserve-3d;
	transition: transform .5s var(--ease);
}
.notebook--float { animation: nb-float 8s ease-in-out infinite; }
@keyframes nb-float { 50% { transform: translateY(-16px); } }

.notebook__screen {
	position: relative;
	border-radius: 20px 20px 6px 6px;
	padding: 12px 12px 0;
	background: linear-gradient(180deg, #2a2a3a, #16161f);
	box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, .08);
	transform: translateZ(0);
}
.notebook__bezel {
	position: relative;
	border-radius: 10px 10px 0 0;
	overflow: hidden;
	background: #05050a;
	aspect-ratio: 16 / 10;
	box-shadow: inset 0 0 0 2px #000;
}
.notebook__cam { position: absolute; top: 6px; left: 50%; width: 5px; height: 5px; border-radius: 50%; background: #333; transform: translateX(-50%); z-index: 3; }
.notebook__viewport { position: absolute; inset: 0; display: flex; flex-direction: column; background: #0d0d16; }
.notebook__bar {
	display: flex; align-items: center; gap: 6px;
	padding: 9px 14px; background: #14141f; border-bottom: 1px solid rgba(255, 255, 255, .06);
	flex: none;
}
.notebook__bar span { width: 9px; height: 9px; border-radius: 50%; background: #3a3a4a; }
.notebook__bar span:nth-child(1) { background: #ff5f57; }
.notebook__bar span:nth-child(2) { background: #febc2e; }
.notebook__bar span:nth-child(3) { background: #28c840; }
.notebook__bar em {
	margin-left: 12px; font-style: normal; font-size: .72rem; color: var(--text-mute);
	background: rgba(255, 255, 255, .05); padding: 3px 12px; border-radius: 100px;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 60%;
}
.notebook__shot { position: relative; flex: 1; overflow: hidden; }
.notebook__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.notebook__base {
	position: relative;
	height: 16px;
	border-radius: 0 0 14px 14px;
	background: linear-gradient(180deg, #232331, #0e0e15);
	box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .1);
}
.notebook__base::before {
	content: ""; position: absolute; left: 50%; top: 0; width: 32%; height: 100%;
	transform: translateX(-50%); background: linear-gradient(180deg, #0a0a10, #1a1a24);
	border-radius: 0 0 10px 10px;
}
.notebook__notch { position: absolute; left: 50%; top: 0; width: 90px; height: 6px; transform: translateX(-50%); background: #05050a; border-radius: 0 0 8px 8px; }

/* celular sobreposto */
.notebook__phone {
	position: absolute; right: -6%; bottom: -8%; width: 21%; min-width: 120px;
	aspect-ratio: 9 / 19.5;
	border-radius: 26px;
	padding: 8px;
	background: linear-gradient(160deg, #2a2a3a, #111119);
	box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, .1);
	transform: translateZ(60px) rotate(6deg);
}
.notebook__phone-shot { width: 100%; height: 100%; border-radius: 18px; overflow: hidden; background: #0d0d16; }
.notebook__phone-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }

.shot-fallback {
	position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px;
	background: var(--grad-aurora), var(--bg-2);
	font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: #fff;
}

/* brilho atrás do notebook do hero */
.hero__stage::before {
	content: ""; position: absolute; inset: -10% -5% 0;
	background: radial-gradient(50% 50% at 50% 40%, rgba(10, 92, 255, .35), transparent 70%);
	filter: blur(30px); z-index: -1;
}

/* pilha de notebooks decorativos no hero (desktop) */
.hero__stack { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.hero__stack .notebook { position: absolute; width: 40%; opacity: .28; filter: blur(2px) saturate(.6); }
.hero__stack .notebook:nth-child(1) { left: -14%; top: 6%; transform: rotateY(26deg) rotateX(6deg) scale(.72); }
.hero__stack .notebook:nth-child(2) { right: -16%; bottom: -2%; transform: rotateY(-24deg) rotateX(6deg) scale(.66); }
@media (max-width: 1280px) { .hero__stack { display: none; } }

/* ---------- Marquee de clientes ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); padding-block: 4px; }
.marquee__track { display: flex; gap: 56px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--text-mute); white-space: nowrap; display: inline-flex; align-items: center; gap: 12px; }
.marquee__track span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; flex-wrap: wrap; } }

/* ---------- Rotator do hero: você folheia os sites com a seta ---------- */
.rotator { position: relative; }
.rotator__frame { position: relative; }
.rotator .notebook { width: min(100%, 760px); }

/* pilha de screenshots que deslizam */
.rotator__stack { position: relative; }
.rotator__shot {
	position: absolute; inset: 0; margin: 0;
	opacity: 0;
	transform: translateX(100%);
	transition: transform .72s cubic-bezier(.52, 0, .12, 1), opacity .45s ease;
	will-change: transform;
}
.rotator__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.rotator__shot.is-active { opacity: 1; transform: translateX(0); z-index: 2; }
.rotator__shot.is-active img { animation: rotator-kb 5s var(--ease) forwards; }
@keyframes rotator-kb { from { transform: scale(1.04); } to { transform: scale(1); } }

/* clarão diagonal na troca */
.rotator__glare {
	position: absolute; inset: -20% -40%; z-index: 4; pointer-events: none;
	background: linear-gradient(115deg, transparent 40%, rgba(255, 255, 255, .55) 50%, transparent 60%);
	transform: translateX(-160%) skewX(-14deg);
	opacity: 0;
}
.rotator.is-changing .rotator__glare { animation: rotator-glare .8s var(--ease); }
@keyframes rotator-glare {
	0% { transform: translateX(-160%) skewX(-14deg); opacity: 0; }
	25% { opacity: 1; }
	100% { transform: translateX(160%) skewX(-14deg); opacity: 0; }
}

/* faixa de "scan" colorida */
.rotator__scan {
	position: absolute; left: 0; right: 0; height: 45%; z-index: 3; pointer-events: none;
	background: linear-gradient(180deg, transparent, rgba(10, 92, 255, .4) 45%, rgba(56, 208, 255, .3) 55%, transparent);
	opacity: 0; mix-blend-mode: screen;
}
.rotator.is-changing .rotator__scan { animation: rotator-scan .8s var(--ease); }
@keyframes rotator-scan {
	0% { opacity: 0; transform: translateY(-120%); }
	35% { opacity: 1; }
	100% { opacity: 0; transform: translateY(260%); }
}

/* chute 3D no notebook a cada troca */
.rotator.is-changing .notebook__screen { animation: rotator-kick .8s var(--ease); }
@keyframes rotator-kick {
	0% { transform: rotateY(0) translateZ(0); }
	35% { transform: rotateY(-3deg) translateZ(20px); box-shadow: var(--shadow), 0 0 55px -10px var(--brand); }
	100% { transform: rotateY(0) translateZ(0); }
}

/* celular sincronizado (crossfade + leve slide) */
.rotator__phones { position: relative; }
.rotator__phone { position: absolute; inset: 0; margin: 0; opacity: 0; transform: translateY(6%); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.rotator__phone img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.rotator__phone.is-active { opacity: 1; transform: none; }

/* ===== setas de navegação — o controle principal ===== */
.rotator__arrow {
	position: absolute;
	top: 42%;
	transform: translateY(-50%);
	z-index: 20;
	width: clamp(46px, 5vw, 58px);
	height: clamp(46px, 5vw, 58px);
	display: grid; place-items: center;
	border-radius: 50%;
	color: #fff;
	background: linear-gradient(140deg, rgba(10, 92, 255, .9), rgba(61, 139, 255, .85));
	border: 1px solid rgba(255, 255, 255, .25);
	box-shadow: 0 12px 34px -10px rgba(10, 92, 255, .7), inset 0 1px 0 rgba(255, 255, 255, .35);
	backdrop-filter: blur(6px);
	cursor: pointer;
	transition: transform .3s var(--ease), box-shadow .3s, background .3s;
}
.rotator__arrow svg { width: 22px; height: 22px; }
.rotator__arrow--prev { left: -18px; }
.rotator__arrow--prev svg { transform: rotate(180deg); }
.rotator__arrow--next { right: -18px; }
.rotator__arrow:hover { transform: translateY(-50%) scale(1.12); box-shadow: 0 18px 44px -8px rgba(10, 92, 255, .9); }
.rotator__arrow:active { transform: translateY(-50%) scale(.96); }
.rotator__arrow::after {
	content: ""; position: absolute; inset: -6px; border-radius: 50%;
	border: 1px solid rgba(10, 92, 255, .5);
	animation: rotator-ring 2.6s ease-out infinite;
}
@keyframes rotator-ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }

/* barra inferior: nome + contador + progresso */
.rotator__bar { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 24px; padding-inline: 4px; }
.rotator__label { position: relative; height: 1.5em; flex: 1; min-width: 0; }
.rotator__name {
	position: absolute; left: 0; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis;
	font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--text);
	opacity: 0; transform: translateY(10px);
	transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.rotator__name::before { content: "● "; color: var(--brand-3); }
.rotator__name.is-active { opacity: 1; transform: none; }
.rotator__count { font-family: var(--font-display); font-size: .82rem; color: var(--text-mute); white-space: nowrap; }
.rotator__count em { font-style: normal; color: var(--brand-3); }

.rotator__progress { height: 4px; border-radius: 4px; background: var(--surface-2); overflow: hidden; margin-top: 14px; }
.rotator__progress span { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--brand), var(--brand-3)); box-shadow: 0 0 12px -2px var(--brand-3); }
.rotator__progress span.is-running { transition: width linear; }

/* cursor piscando no "campo de endereço" enquanto digita */
.notebook__bar em[data-rotator-url]::after {
	content: "▏"; color: var(--brand-3); animation: rotator-caret 1s steps(1) infinite;
}
.rotator:not(.is-typing) .notebook__bar em[data-rotator-url]::after { content: ""; }
@keyframes rotator-caret { 50% { opacity: 0; } }

@media (max-width: 1023px) {
	.rotator__arrow { width: 44px; height: 44px; }
	.rotator__arrow svg { width: 18px; height: 18px; }
	.rotator__arrow--prev { left: -4px; }
	.rotator__arrow--next { right: -4px; }
	.rotator__arrow::after { display: none; }
	.rotator__bar { margin-top: 18px; }
}

@media (prefers-reduced-motion: reduce) {
	.rotator__shot { transition: opacity .4s; transform: none; }
	.rotator__shot:not(.is-active) { transform: none; }
	.rotator__shot.is-active img { animation: none; }
	.rotator__glare, .rotator__scan, .rotator__arrow::after { display: none; }
	.rotator.is-changing .notebook__screen { animation: none; }
}

/* ---------- Bento de serviços ---------- */
.section__head { max-width: 60ch; margin-bottom: clamp(40px, 6vw, 72px); }
.section__head.-center { margin-inline: auto; text-align: center; }

.bento { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.bento__card {
	position: relative; overflow: hidden;
	padding: clamp(24px, 3vw, 38px);
	border-radius: var(--radius);
	background: var(--surface);
	border: 1px solid var(--border);
	transition: transform .4s var(--ease), border-color .4s, background .4s;
}
.bento__card::before {
	content: ""; position: absolute; width: 340px; height: 340px; border-radius: 50%;
	background: radial-gradient(circle, rgba(10, 92, 255, .35), transparent 70%);
	top: var(--my, 50%); left: var(--mx, 50%); transform: translate(-50%, -50%);
	opacity: 0; transition: opacity .4s; pointer-events: none;
}
.bento__card:hover { transform: translateY(-4px); border-color: var(--border-strong); background: var(--surface-2); }
.bento__card:hover::before { opacity: 1; }
.bento__card.-span { grid-column: auto; }
.bento__icon {
	width: 54px; height: 54px; border-radius: 15px; display: grid; place-items: center;
	background: linear-gradient(150deg, var(--surface-2), transparent);
	border: 1px solid var(--border); margin-bottom: 20px; color: var(--brand-3);
}
.bento__icon svg { width: 26px; height: 26px; }
.bento__card h3 { margin-bottom: .35em; }
.bento__card p { color: var(--text-dim); font-size: .98rem; margin: 0; }
.bento__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-family: var(--font-display); font-weight: 600; font-size: .9rem; color: var(--brand-3); }
.bento__more svg { width: 15px; height: 15px; transition: transform .3s; }
.bento__card:hover .bento__more svg { transform: translateX(4px); }

@media (max-width: 1080px) { .bento { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px) { .bento { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .bento { grid-template-columns: 1fr; } }

/* ---------- Portfólio ---------- */
.portfolio__filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; }
.filter-btn {
	padding: 10px 18px; border-radius: 100px; font-family: var(--font-display); font-weight: 500; font-size: .9rem;
	background: var(--surface); border: 1px solid var(--border); color: var(--text-dim);
	transition: .25s var(--ease);
}
.filter-btn:hover { color: var(--text); }
.filter-btn.is-active { background: linear-gradient(120deg, var(--brand), var(--brand-2)); color: #fff; border-color: transparent; }

.portfolio__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(24px, 4vw, 48px); }
@media (max-width: 800px) { .portfolio__grid { grid-template-columns: 1fr; } }

.project {
	transition: opacity .4s var(--ease), transform .4s var(--ease), filter .4s;
}
.project.is-hidden { display: none; }
.project__frame { perspective: 1400px; margin-bottom: 22px; }
.project:hover .notebook { transform: rotateX(3deg) rotateY(-4deg) translateY(-6px); }
.project__meta { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.project__title { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; }
.project__year { color: var(--text-mute); font-size: .85rem; font-family: var(--font-display); }
.project__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.project__tags span { font-size: .78rem; color: var(--text-dim); padding: 4px 12px; border: 1px solid var(--border); border-radius: 100px; }
.project__link { display: inline-flex; align-items: center; gap: 7px; margin-top: 14px; font-size: .88rem; color: var(--brand-3); font-family: var(--font-display); font-weight: 600; }
.project__link svg { width: 15px; height: 15px; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.stat { padding: clamp(28px, 4vw, 44px); background: var(--surface); text-align: center; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.2rem, 4vw, 3.4rem); line-height: 1; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { color: var(--text-dim); font-size: .9rem; margin-top: 10px; }
@media (max-width: 780px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Processo ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: step; }
.process__step { position: relative; padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.process__step::before {
	counter-increment: step; content: counter(step, decimal-leading-zero);
	font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
	color: var(--brand-3); display: block; margin-bottom: 16px;
}
.process__step h3 { font-size: 1.15rem; }
.process__step p { color: var(--text-dim); font-size: .92rem; margin: 0; }
@media (max-width: 900px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .process { grid-template-columns: 1fr; } }

/* ---------- Depoimentos ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.testimonial { padding: 30px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); }
.testimonial__stars { display: flex; gap: 3px; color: #ffce54; margin-bottom: 14px; }
.testimonial__stars svg { width: 16px; height: 16px; fill: currentColor; }
.testimonial p { font-size: .98rem; color: var(--text); }
.testimonial__who { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testimonial__avatar { width: 40px; height: 40px; border-radius: 50%; background: conic-gradient(from 90deg, var(--brand), var(--brand-3), var(--accent), var(--brand)); flex: none; }
.testimonial__who b { font-family: var(--font-display); font-size: .92rem; }
.testimonial__who span { display: block; color: var(--text-mute); font-size: .8rem; }
@media (max-width: 900px) { .testimonials { grid-template-columns: 1fr; } }

/* ---------- CTA ---------- */
.cta {
	position: relative; overflow: hidden;
	padding: clamp(48px, 8vw, 96px);
	border-radius: var(--radius-lg);
	text-align: center;
	background: linear-gradient(140deg, rgba(10, 92, 255, .22), rgba(61, 139, 255, .12));
	border: 1px solid var(--border-strong);
}
.cta::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: radial-gradient(50% 80% at 50% 0%, rgba(10, 92, 255, .5), transparent 70%);
}
.cta h2 { font-size: clamp(2rem, 5vw, 3.6rem); }
.cta .btn { margin-top: 1.5rem; }
.cta__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { padding-block: clamp(56px, 8vw, 96px) 32px; border-top: 1px solid var(--border); margin-top: var(--section); }
.site-footer .brand { color: var(--text); }
.site-footer .brand__mark::after { background: var(--bg-2); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer__brand p { color: var(--text-dim); font-size: .95rem; max-width: 34ch; margin-top: 16px; }
.footer__col h4 { font-family: var(--font-display); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mute); margin-bottom: 16px; }
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { list-style: none; margin: 0; }
.footer__col a, .footer__col p { display: block; color: var(--text-dim); font-size: .95rem; margin-bottom: 10px; }
.footer__col a:hover { color: var(--text); }
.footer__legal ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 18px; }
.footer__legal a { color: var(--text-mute); }
.footer__legal a:hover { color: var(--text); }
.footer__bottom { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--text-mute); font-size: .82rem; }
@media (min-width: 900px) { .footer__bottom { padding-right: 84px; } }
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- WhatsApp flutuante ---------- */
.wa-float {
	position: fixed; right: 20px; bottom: 20px; z-index: 90;
	width: 58px; height: 58px; border-radius: 50%;
	display: grid; place-items: center;
	background: linear-gradient(140deg, #25d366, #12b657);
	box-shadow: 0 14px 40px -8px rgba(37, 211, 102, .6);
	color: #04240f;
	transition: transform .3s var(--ease);
	animation: wa-pulse 3s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 28px; height: 28px; }
@keyframes wa-pulse { 0%, 100% { box-shadow: 0 14px 40px -8px rgba(37, 211, 102, .6), 0 0 0 0 rgba(37, 211, 102, .5); } 50% { box-shadow: 0 14px 40px -8px rgba(37, 211, 102, .6), 0 0 0 16px rgba(37, 211, 102, 0); } }
@media (prefers-reduced-motion: reduce) { .wa-float { animation: none; } }

/* ---------- Conteúdo padrão (páginas / posts) ---------- */
.page-hero { padding-top: clamp(140px, 20vw, 200px); padding-bottom: clamp(40px, 6vw, 72px); }
.prose { max-width: 72ch; margin-inline: auto; }
.prose :is(h2, h3) { margin-top: 1.6em; }
.prose a { color: var(--brand-3); text-decoration: underline; text-underline-offset: 3px; }
.prose img { border-radius: var(--radius-sm); margin-block: 1.5em; }
.prose blockquote { border-left: 3px solid var(--brand); padding-left: 20px; color: var(--text-dim); font-style: italic; margin-inline: 0; }
.prose code { background: var(--surface-2); padding: 2px 6px; border-radius: 6px; font-size: .9em; }
.prose pre { background: var(--bg-2); padding: 20px; border-radius: var(--radius-sm); overflow: auto; border: 1px solid var(--border); }

.post-card { padding: 28px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--border); transition: transform .35s var(--ease), border-color .35s; }
.post-card:hover { transform: translateY(-4px); border-color: var(--border-strong); }
.post-card h3 { margin-bottom: .3em; }
.post-card time { color: var(--text-mute); font-size: .82rem; }
.posts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }

.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 56px; }
.pagination .page-numbers { padding: 10px 16px; border-radius: 12px; background: var(--surface); border: 1px solid var(--border); font-family: var(--font-display); font-size: .9rem; }
.pagination .current { background: var(--brand); color: #fff; border-color: transparent; }

/* 404 */
.error404-wrap { min-height: 70vh; display: grid; place-items: center; text-align: center; }
.error404-wrap .big { font-family: var(--font-display); font-size: clamp(5rem, 20vw, 12rem); line-height: .9; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Reveal on scroll ---------- */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
[data-reveal][data-reveal="2"] { transition-delay: .08s; }
[data-reveal][data-reveal="3"] { transition-delay: .16s; }
[data-reveal][data-reveal="4"] { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; } }

/* ---------- WP core ---------- */
.wp-caption { max-width: 100%; }
.wp-caption-text, .gallery-caption { font-size: .82rem; color: var(--text-mute); text-align: center; }
.alignwide { width: min(100vw - var(--pad) * 2, 1400px); margin-inline: calc(50% - min(50vw - var(--pad), 700px)); }
.alignfull { width: 100vw; margin-inline: calc(50% - 50vw); }
.screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); width: 1px; height: 1px; overflow: hidden; }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* =============================================================
   Seções claras — ritmo dark / light para dar equilíbrio
   ============================================================= */
.section--light {
	--surface: #ffffff;
	--surface-2: #f1f1f8;
	--border: rgba(12, 12, 32, .09);
	--border-strong: rgba(12, 12, 32, .16);
	--text: #0d0d17;
	--text-dim: #45455c;
	--text-mute: #7c7c95;

	position: relative;
	z-index: 1;
	background:
		radial-gradient(60% 50% at 85% 0%, rgba(10, 92, 255, .07), transparent 60%),
		radial-gradient(50% 40% at 5% 100%, rgba(56, 208, 255, .06), transparent 60%),
		#f7f7fb;
	color: var(--text);
}
/* costura entre duas seções claras seguidas: vira um bloco só */
.section--light + .section--light { padding-top: 0; }

.section--light h1 em,
.section--light h2 em,
.section--light .gradient-text,
.section--light .stat__num {
	background: linear-gradient(100deg, #0a4fd6 0%, #2f86ff 55%, #17b4e6 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}
.section--light .eyebrow { background: #fff; box-shadow: 0 1px 2px rgba(12, 12, 32, .05); }
.section--light .eyebrow::before { background: var(--brand); box-shadow: 0 0 10px rgba(10, 92, 255, .6); }

.section--light .bento__card,
.section--light .process__step,
.section--light .stat {
	background: #fff;
	box-shadow: 0 1px 2px rgba(12, 12, 32, .04), 0 18px 40px -26px rgba(12, 12, 32, .22);
}
.section--light .bento__card:hover { background: #fff; border-color: var(--brand); box-shadow: 0 1px 2px rgba(12, 12, 32, .04), 0 26px 50px -24px rgba(10, 92, 255, .35); }
.section--light .bento__icon { color: var(--brand); background: linear-gradient(150deg, #f1eefe, #fff); border-color: var(--border); }
.section--light .bento__more { color: var(--brand); }
.section--light .process__step::before { color: var(--brand); }
.section--light .stats { border-color: var(--border); background: var(--border); }
.section--light .filter-btn { background: #fff; }
.section--light .filter-btn:hover { color: var(--text); }

/* =============================================================
   Preços
   ============================================================= */
.pricing {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
	align-items: stretch;
}
.plan {
	display: flex;
	flex-direction: column;
	padding: clamp(26px, 3vw, 40px);
	border-radius: var(--radius);
	background: #fff;
	border: 1px solid var(--border);
	box-shadow: 0 1px 2px rgba(12, 12, 32, .04), 0 18px 40px -26px rgba(12, 12, 32, .22);
	transition: transform .4s var(--ease), box-shadow .4s;
}
.plan:hover { transform: translateY(-6px); }
.plan--featured {
	border-color: transparent;
	background:
		linear-gradient(#fff, #fff) padding-box,
		linear-gradient(140deg, var(--brand), var(--brand-2), var(--brand-3)) border-box;
	border: 2px solid transparent;
	box-shadow: 0 30px 60px -24px rgba(10, 92, 255, .45);
}
.plan__badge {
	align-self: flex-start;
	font-family: var(--font-display); font-weight: 600; font-size: .72rem;
	letter-spacing: .1em; text-transform: uppercase;
	color: #fff; background: linear-gradient(120deg, var(--brand), var(--brand-2));
	padding: 6px 14px; border-radius: 100px; margin-bottom: 18px;
}
.plan__name { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
@media (min-width: 900px) { .plan:not(.plan--featured) .plan__name { margin-top: 46px; } }
.plan__price { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.4rem, 4vw, 3.2rem); line-height: 1; margin: 14px 0 4px; color: var(--text); }
.plan__price small { font-size: 1rem; font-weight: 500; color: var(--text-mute); }
.plan__currency { font-size: 1.1rem; font-weight: 600; color: var(--text-mute); margin-right: 4px; vertical-align: .8em; }
.plan__note { color: var(--text-dim); font-size: .92rem; margin: 0 0 22px; }
.plan__features { list-style: none; margin: 0 0 26px; padding: 22px 0 0; border-top: 1px solid var(--border); display: grid; gap: 12px; flex: 1; }
.plan__features li { display: flex; gap: 10px; font-size: .93rem; color: var(--text-dim); line-height: 1.45; }
.plan__features li svg { width: 18px; height: 18px; flex: none; color: var(--brand-3); margin-top: 2px; }
.section--light .plan__features li svg { color: #0f9bd6; }
.plan .btn { width: 100%; justify-content: center; }
.plan:not(.plan--featured) .btn { background: var(--surface-2); color: var(--text); border-color: var(--border); }
.plan:not(.plan--featured) .btn:hover { background: #ecebf6; }

.pricing__foot { text-align: center; margin-top: 34px; color: var(--text-dim); font-size: .95rem; }
.pricing__foot a { color: var(--brand); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 900px) {
	.pricing { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
	.plan--featured { order: -1; }
}
