/* Edmilson Rodrigues — tema 1.1 (mobile-first). */
:root {
	--er-line: rgba(185, 166, 255, 0.16);
	--er-line-strong: rgba(185, 166, 255, 0.32);
	--er-mark: rgba(243, 241, 250, 0.55);
	--er-soft: var(--wp--custom--accent-soft, rgba(117, 82, 255, 0.14));
	--er-glow: var(--wp--custom--glow, rgba(117, 82, 255, 0.35));
	--er-accent: var(--wp--preset--color--accent);
	--er-accent-light: var(--wp--preset--color--accent-light);
	--er-muted: var(--wp--preset--color--muted);
	--er-subtle: var(--wp--preset--color--subtle);
	--er-surface: var(--wp--preset--color--surface);
	--er-heading: var(--wp--preset--font-family--heading);
	--er-pad: var(--wp--style--root--padding-left, clamp(1.25rem, 4vw, 2.5rem));
	--er-ease: cubic-bezier(.2, .7, .2, 1);
	--er-ease-out: cubic-bezier(.23, 1, .32, 1); /* saída forte: resposta imediata */
	--er-header-h: 68px;
}
@media (min-width: 1024px) { :root { --er-header-h: 76px; } }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--er-header-h) + 16px); }
body { -webkit-font-smoothing: antialiased; overflow-x: clip; }
.wp-site-blocks { overflow-x: clip; }
:where(.wp-site-blocks) > *, .er-main > * { margin-block: 0 !important; }
img, video { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--er-accent-light); outline-offset: 2px; }
::selection { background: rgba(117, 82, 255, .4); color: #fff; }
h1, h2, h3 { text-wrap: balance; overflow-wrap: break-word; }
p { text-wrap: pretty; }

/* Resets de grade: o layout "flow" do WP adiciona margens que desalinham grids */
.er-hero-grid > *, .er-grid-2 > *, .er-cells > *, .er-steps > *, .er-blog-layout > *, .er-post-layout > *,
.er-footer-grid > *, .er-post-nav > *, .er-sos > *, .er-query .wp-block-post-template > li { margin: 0 !important; min-width: 0; }

/* ---------- Blueprint: borda fina + marcas "+" nos cantos ---------- */
.is-style-blueprint { position: relative; border: 1px solid var(--er-line); }
.is-style-blueprint::before,
.wp-block-button:not(.is-style-outline) > .wp-block-button__link::before,
.er-submit::before {
	content: ""; position: absolute; inset: -6px; pointer-events: none; z-index: 1;
	--c: var(--er-mark);
	background:
		linear-gradient(var(--c), var(--c)) 0 5px / 11px 1px no-repeat,
		linear-gradient(var(--c), var(--c)) 5px 0 / 1px 11px no-repeat,
		linear-gradient(var(--c), var(--c)) 100% 5px / 11px 1px no-repeat,
		linear-gradient(var(--c), var(--c)) calc(100% - 5px) 0 / 1px 11px no-repeat,
		linear-gradient(var(--c), var(--c)) 0 calc(100% - 5px) / 11px 1px no-repeat,
		linear-gradient(var(--c), var(--c)) 5px 100% / 1px 11px no-repeat,
		linear-gradient(var(--c), var(--c)) 100% calc(100% - 5px) / 11px 1px no-repeat,
		linear-gradient(var(--c), var(--c)) calc(100% - 5px) 100% / 1px 11px no-repeat;
	transition: inset .2s var(--er-ease-out);
}
/* Cantos "+" só nos botões, no envio do formulário e no bloco de contato; nos cards e painéis viravam ruído */
.is-style-blueprint:not(.er-contact)::before { content: none; }

/* ---------- Botões ---------- */
.wp-block-buttons { gap: .75rem; }
.wp-block-button__link { position: relative; min-height: 52px; display: inline-flex; align-items: center; justify-content: center; gap: .6rem; transition: background-color .2s, color .2s, border-color .2s, transform .16s var(--er-ease-out); }
.wp-block-button__link:active { transform: scale(.97); }
.wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover::before { inset: -9px; }
.wp-block-button:not(.is-style-outline):not(.er-btn-light) > .wp-block-button__link { box-shadow: none; }
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--wp--preset--color--contrast); border: 1px solid var(--er-line-strong); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--er-soft); color: #fff; border-color: var(--er-accent-light); }
.er-btn-light > .wp-block-button__link { background: var(--wp--preset--color--contrast); color: #120d22; border-color: var(--wp--preset--color--contrast); }
.er-btn-light > .wp-block-button__link:hover { background: #fff; color: #120d22; border-color: #fff; }
.er-btn-whats > .wp-block-button__link::after {
	content: ""; width: 18px; height: 18px; flex: none; order: -1; background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7.9 20A9 9 0 1 0 4 16.1L2 22Z'/%3E%3C/svg%3E") center / contain no-repeat;
}
@media (max-width: 599px) {
	.er-hero-buttons, .er-single-cta, .er-sos-buttons { flex-direction: column; align-items: stretch; }
	.er-hero-buttons .wp-block-button, .er-single-cta .wp-block-button, .er-sos-buttons .wp-block-button { width: 100%; }
	.er-hero-buttons .wp-block-button__link, .er-single-cta .wp-block-button__link, .er-sos-buttons .wp-block-button__link { width: 100%; }
}

/* ---------- Cabeçalho ---------- */
header.wp-block-template-part { position: sticky; top: 0; z-index: 50; }
/* O desfoque fica num pseudo-elemento: assim o menu mobile (position: fixed) ocupa a tela inteira */
header.wp-block-template-part::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(7, 8, 15, .78); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--er-line); transition: background-color .3s, box-shadow .3s; }
header.wp-block-template-part.is-scrolled::before { background: rgba(7, 8, 15, .92); box-shadow: 0 10px 40px -20px rgba(0, 0, 0, .9); }
.admin-bar header.wp-block-template-part { top: 32px; }
@media (max-width: 782px) { .admin-bar header.wp-block-template-part { top: 46px; } }
@media (max-width: 600px) { .admin-bar header.wp-block-template-part { top: 0; } }
.er-header-row { min-height: var(--er-header-h); gap: 1rem; }
.er-brand { margin: 0 auto 0 0 !important; font-family: var(--er-heading); font-weight: 600; font-size: 1.25rem; line-height: 1; letter-spacing: -0.01em; white-space: nowrap; }
.er-brand a { color: var(--wp--preset--color--contrast); text-decoration: none; display: inline-flex; align-items: center; gap: .7rem; }
.er-brand a::before { content: "ER"; width: 36px; height: 36px; display: grid; place-items: center; font-size: 1rem; color: var(--er-accent-light); border: 1px solid var(--er-line-strong); transition: background-color .2s, color .2s; }
.er-brand a:hover::before { background: var(--er-accent); color: #fff; border-color: var(--er-accent); }
.er-brand mark { background: none; }
@media (max-width: 380px) { .er-brand { font-size: 1.1rem; } .er-brand a { gap: .55rem; } }
@media (min-width: 1024px) { .er-brand { font-size: 1.375rem; } .er-header-row { gap: 2rem; } }

.er-nav { font-size: 1.0625rem; }
.er-nav .wp-block-navigation__container { gap: 1.6rem; }
.er-nav .wp-block-navigation-item__content { position: relative; color: var(--er-muted); text-decoration: none; padding: .5rem 0; transition: color .2s; }
.er-nav .wp-block-navigation-item__content::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--er-accent-light); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--er-ease); }
.er-nav .wp-block-navigation-item__content:hover, .er-nav .is-active > .wp-block-navigation-item__content, .er-nav .current-menu-item > .wp-block-navigation-item__content { color: #fff; }
.er-nav .wp-block-navigation-item__content:hover::after, .er-nav .is-active > .wp-block-navigation-item__content::after { transform: scaleX(1); }

/* Hambúrguer também no tablet (600–1023px) */
@media (min-width: 600px) and (max-width: 1023px) {
	.er-nav .wp-block-navigation__responsive-container-open:not(.always-shown) { display: flex; }
	.er-nav .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) { display: none; }
}
.wp-block-navigation__responsive-container-open, .wp-block-navigation__responsive-container-close { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--er-line-strong); color: #fff; }
.er-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 1rem var(--er-pad) 2.5rem; background: #07080f !important; }
.er-nav .wp-block-navigation__responsive-container.is-menu-open::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 40% at 90% 0%, var(--er-glow), transparent 70%); }
.er-nav .is-menu-open .wp-block-navigation__responsive-close { max-width: none; }
.er-nav .is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 4.5rem !important; align-items: stretch !important; }
.er-nav .is-menu-open .wp-block-navigation__container { gap: 0 !important; width: 100%; align-items: stretch !important; }
.er-nav .is-menu-open .wp-block-navigation-item { width: 100%; border-bottom: 1px solid var(--er-line); animation: er-rise .3s var(--er-ease-out) both; }
.er-nav .is-menu-open .wp-block-navigation-item:nth-child(2) { animation-delay: .04s; }
.er-nav .is-menu-open .wp-block-navigation-item:nth-child(3) { animation-delay: .08s; }
.er-nav .is-menu-open .wp-block-navigation-item:nth-child(4) { animation-delay: .12s; }
.er-nav .is-menu-open .wp-block-navigation-item:nth-child(5) { animation-delay: .16s; }
.er-nav .is-menu-open .wp-block-navigation-item:nth-child(6) { animation-delay: .2s; }
.er-nav .is-menu-open .wp-block-navigation-item__content { display: block; width: 100%; padding: 1rem 0 !important; font-family: var(--er-heading); font-weight: 600; font-size: 2rem; line-height: 1.1; color: #f3f1fa; }
.er-nav .is-menu-open .wp-block-navigation-item__content::after { display: none; }

/* ---------- Seções ---------- */
.er-section { position: relative; padding-block: var(--wp--preset--spacing--60); border-top: 1px solid var(--er-line); }
.er-section.is-alt { background: var(--wp--preset--color--base-2); }
.er-section.er-first { border-top: 0; padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.er-glow { overflow: hidden; isolation: isolate; }
.er-glow::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(50% 50% at 90% 10%, var(--er-soft), transparent 70%); }
.er-glow:not(.er-first)::after { content: none; } /* brilho só no topo de cada página */
.er-head { margin-bottom: clamp(2rem, 5vw, 3.5rem) !important; gap: 1.25rem 2rem; }
.er-head-text { gap: .9rem; max-width: 44rem; }
.er-head h2 { margin: 0; }
.er-head > .er-lead { max-width: 26rem; }
.er-kicker { margin: 0; display: flex; align-items: center; gap: .65rem; font-size: .875rem !important; letter-spacing: .14em; text-transform: uppercase; color: var(--er-accent-light); }
.er-kicker::before { content: ""; width: 28px; height: 1px; background: var(--er-accent); flex: none; }
.er-kicker a { color: inherit; text-decoration: none; }
.er-kicker a:hover { color: #fff; }
.er-lead { color: var(--er-muted); font-size: var(--wp--preset--font-size--large); max-width: 36rem; margin: 0; }
.er-small { color: var(--er-subtle); font-size: 1rem; margin: 0; }
.er-side-title { margin: 0 0 .9rem; font-size: .875rem !important; letter-spacing: .14em; text-transform: uppercase; color: #8e88a6; }
.er-page-head { margin-bottom: clamp(2rem, 5vw, 3rem) !important; } /* ocupa a largura do conteúdo (alinhado à esquerda com os cards) */
.er-page-head > * { max-width: 52rem; }
.er-page-head > * + * { margin-block-start: 1rem; }
.er-page-head h1 { margin: 0; font-size: clamp(2.5rem, 6vw, 4.25rem); }
.er-empty { color: var(--er-subtle); }

/* ---------- Primeira dobra ---------- */
.er-hero { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(2.75rem, 8vw, 6rem) clamp(3.5rem, 8vw, 6rem); }
.er-hero::before { content: ""; position: absolute; inset: -15%; z-index: -3; pointer-events: none; background: radial-gradient(40% 50% at 72% 38%, var(--er-glow), transparent 70%), radial-gradient(30% 40% at 12% 10%, rgba(80, 60, 200, .22), transparent 70%); animation: er-drift 16s ease-in-out infinite alternate; }
.er-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: linear-gradient(rgba(185, 166, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(185, 166, 255, .06) 1px, transparent 1px); background-size: 64px 64px; -webkit-mask-image: radial-gradient(70% 80% at 60% 40%, #000 30%, transparent 80%); mask-image: radial-gradient(70% 80% at 60% 40%, #000 30%, transparent 80%); }
.er-hero-grid { width: 100%; display: grid; gap: clamp(3rem, 7vw, 4.5rem); align-items: center; }
@media (min-width: 1024px) {
	.er-hero { min-height: min(860px, calc(100svh - var(--er-header-h))); display: grid; align-content: center; }
	.er-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); }
}
.er-hero-text > * { margin: 0 !important; animation: er-rise .5s var(--er-ease-out) both; }
.er-hero-text > * + * { margin-top: clamp(1.25rem, 3vw, 1.75rem) !important; }
.er-hero-text > :nth-child(2) { animation-delay: .05s; }
.er-hero-text > :nth-child(3) { animation-delay: .1s; }
.er-hero-text > :nth-child(4) { animation-delay: .15s; }
.er-hero-text > :nth-child(5) { animation-delay: .2s; }
.er-hero h1 { font-size: clamp(2.5rem, 7.2vw, 4.75rem); }
.er-hero h1 mark { background: linear-gradient(90deg, var(--er-accent-light) 0%, #fff 45%, var(--er-accent-light) 90%) 0 0 / 200% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent }
.er-pill { display: block; width: fit-content; font-size: 1rem !important; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--er-accent-light); } /* selo virou texto simples */
.er-pill::before { content: none; }
.er-meta { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; color: var(--er-muted); font-size: 1rem; }
.er-meta span { display: inline-flex; align-items: center; gap: .55rem; }
.er-meta span::before { content: ""; width: 6px; height: 6px; background: var(--er-accent); }

/* Vídeo de fundo (Configurações › Contato do site) */
.er-hero-video { position: absolute; inset: 0; z-index: -2; pointer-events: none; margin: 0 !important; }
.er-hero-video video { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); opacity: .55; }
.er-hero-video::after { content: ""; position: absolute; inset: 0; background: var(--er-accent); mix-blend-mode: color; opacity: .6; }
.er-hero-video-tint { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(7, 8, 15, .55), rgba(7, 8, 15, .92) 85%); }
@media (min-width: 1024px) {
	.er-hero-video { left: auto; width: 60%; }
	.er-hero-video video { opacity: .9; }
	.er-hero-video-tint { background: linear-gradient(90deg, #07080f 0%, rgba(7, 8, 15, .35) 40%, rgba(7, 8, 15, .1) 100%), linear-gradient(0deg, #07080f 0%, transparent 30%), linear-gradient(180deg, rgba(7, 8, 15, .6) 0%, transparent 25%); }
}

/* Foto do Edmilson na primeira dobra (Configurações › Contato do site) */
.er-hero-photo { position: relative; width: 100%; max-width: 520px; margin: 0 auto !important; animation: er-rise .6s .15s var(--er-ease-out) both; }
.er-hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border: 1px solid var(--er-line-strong); }
@media (min-width: 1024px) { .er-hero-photo { margin-right: 0 !important; } }

/* Interfaces ilustrativas (quando não há vídeo nem foto) */
.er-mock { position: relative; width: 100%; max-width: 640px; margin-inline: auto !important; aspect-ratio: 1.18 / 1; container-type: inline-size; animation: er-rise .6s .15s var(--er-ease-out) both; }
.er-mock * { box-sizing: border-box; }
.er-mock i, .er-mock b, .er-mock em, .er-mock span { display: block; font-style: normal; }
.er-mock strong { font-family: var(--er-heading); font-weight: 600; color: #f3f1fa; }
.er-mock small { font-size: 1.1cqw; color: #9a94b3; }
.m-site { position: absolute; top: 0; right: 0; width: 52%; z-index: 1; border: 1px solid rgba(185, 166, 255, .22); background: #0f0b1d; box-shadow: 0 20px 60px -20px rgba(0, 0, 0, .8) }
.m-chrome { display: flex; align-items: center; gap: .8cqw; padding: 1.2cqw 1.6cqw; border-bottom: 1px solid rgba(185, 166, 255, .14); }
.m-chrome i { width: 1.1cqw; height: 1.1cqw; border-radius: 50%; background: #3a3354; }
.m-chrome b { flex: 1; margin-left: 1.4cqw; height: 2cqw; background: #18122c; }
.m-site-body { padding: 2.4cqw 2.6cqw 3cqw; display: flex; flex-direction: column; gap: 2.4cqw; }
.m-site-nav { display: flex; justify-content: space-between; align-items: center; }
.m-site-nav strong { font-size: 1.8cqw; }
.m-site-nav span { display: flex !important; gap: 1.4cqw; }
.m-site-nav span i { width: 4cqw; height: .6cqw; background: #3a3354; }
.m-site-hero { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2cqw; align-items: center; }
.m-site-hero > div:first-child { display: flex; flex-direction: column; gap: 1cqw; }
.m-site-hero strong { font-size: 2.6cqw; line-height: 1.05; }
.m-site-hero i { height: .6cqw; background: #2b2442; }
.m-site-hero em { margin-top: .6cqw; width: 12cqw; height: 3cqw; background: var(--er-accent); }
.m-site-img { aspect-ratio: 1; background: linear-gradient(140deg, #2a1f55, #120d22); border: 1px solid rgba(185, 166, 255, .14); display: grid; place-items: center; }
.m-site-img span { width: 45%; height: 45%; border: 1px solid rgba(185, 166, 255, .35); }
.m-laptop { position: absolute; top: 19%; left: 0; width: 80%; z-index: 2; }
.m-screen { border: 1.2cqw solid #1a1628; border-bottom-width: 1.6cqw; border-radius: 1.4cqw 1.4cqw 0 0; background: #0c0918; aspect-ratio: 16 / 10; display: grid; grid-template-columns: 19% 1fr; overflow: hidden; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .9), 0 0 0 1px rgba(185, 166, 255, .18); }
.m-side { background: #110c22; border-right: 1px solid rgba(185, 166, 255, .12); padding: 2cqw 1.4cqw; display: flex; flex-direction: column; gap: 1.5cqw; }
.m-side strong { font-size: 2cqw; color: var(--er-accent-light); margin-bottom: .6cqw; }
.m-side span { display: flex !important; align-items: center; gap: .8cqw; padding: 0 .8cqw; font-size: 1.25cqw; color: #9a94b3; }
.m-side span i { width: 1.4cqw; height: 1.4cqw; border: 1px solid #5f5a77; }
.m-side span.is-on { padding: .8cqw; background: var(--er-soft); border-left: 2px solid var(--er-accent); color: #f3f1fa; }
.m-main { padding: 2cqw 2.2cqw; display: flex; flex-direction: column; gap: 1.6cqw; min-width: 0; }
.m-top { display: flex; justify-content: space-between; align-items: center; }
.m-top strong { font-size: 2.1cqw; }
.m-top small { border: 1px solid rgba(185, 166, 255, .2); padding: .4cqw 1cqw; }
.m-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2cqw; }
.m-kpis div { border: 1px solid rgba(185, 166, 255, .14); padding: 1.2cqw; display: flex; flex-direction: column; gap: .4cqw; }
.m-kpis strong { font-size: 2.4cqw; }
.m-kpis .is-on { background: var(--er-soft); }
.m-kpis .is-on strong { color: var(--er-accent-light); }
.m-chart { flex: 1; border: 1px solid rgba(185, 166, 255, .14); padding: 1.4cqw; display: flex; flex-direction: column; gap: 1cqw; min-height: 0; }
.m-chart > div { flex: 1; display: flex; align-items: flex-end; gap: 1.4cqw; border-bottom: 1px solid rgba(185, 166, 255, .14); }
.m-chart > div i { flex: 1; background: #2b2442; transform-origin: bottom; animation: er-bar .7s var(--er-ease-out) both; }
.m-chart > div i:nth-child(1) { animation-delay: .7s; } .m-chart > div i:nth-child(2) { animation-delay: .78s; }
.m-chart > div i:nth-child(3) { animation-delay: .86s; } .m-chart > div i:nth-child(4) { animation-delay: .94s; }
.m-chart > div i:nth-child(5) { animation-delay: 1.02s; } .m-chart > div i:nth-child(6) { animation-delay: 1.1s; }
.m-chart > div i:nth-child(7) { animation-delay: 1.18s; }
.m-chart > div i.is-on { background: var(--er-accent); animation: er-bar .7s 1.1s var(--er-ease-out) both; }
.m-base { height: 2.2cqw; margin: 0 -5%; background: linear-gradient(#2a2540, #14111e); border-radius: 0 0 1.6cqw 1.6cqw; position: relative; }
.m-base span { position: absolute; left: 50%; top: 0; transform: translateX(-50%); width: 16%; height: .8cqw; background: #0c0918; border-radius: 0 0 .8cqw .8cqw; }
.m-phone { position: absolute; right: 1%; top: 30%; width: 24%; aspect-ratio: 9 / 19; z-index: 3; border: 1.1cqw solid #1a1628; border-radius: 3.6cqw; background: #0c0918; box-shadow: 0 30px 70px -15px rgba(0, 0, 0, .95), 0 0 0 1px rgba(185, 166, 255, .22); overflow: hidden; display: flex; flex-direction: column; }
.m-ph-top { padding: 2.2cqw 1.8cqw 1.2cqw; display: flex; justify-content: space-between; align-items: center; }
.m-ph-top strong { font-size: 1.7cqw; }
.m-ph-top i { width: 2.2cqw; height: 2.2cqw; border-radius: 50%; border: 1px solid #5f5a77; }
.m-ph-card { margin: 0 1.6cqw; padding: 1.6cqw; background: linear-gradient(135deg, var(--er-accent), #4a2fd1); display: flex; flex-direction: column; gap: .6cqw; }
.m-ph-card strong { font-family: inherit; font-size: 1.3cqw; color: #fff; font-weight: 500; }
.m-ph-card small { font-size: 1cqw; color: rgba(255, 255, 255, .85); line-height: 1.3; }
.m-ph-list { padding: 1.6cqw; display: flex; flex-direction: column; gap: 1cqw; flex: 1; }
.m-ph-list span { display: flex !important; align-items: center; gap: 1cqw; padding: 1cqw; border: 1px solid rgba(185, 166, 255, .14); font-size: 1.1cqw; color: #c9c4da; }
.m-ph-list i { width: 2.4cqw; height: 2.4cqw; background: var(--er-soft); border: 1px solid var(--er-accent); }
.m-ph-tabs { display: flex; justify-content: space-around; padding: 1.4cqw 1cqw 2cqw; border-top: 1px solid rgba(185, 166, 255, .14); }
.m-ph-tabs i { width: 2cqw; height: 2cqw; border: 1px solid #5f5a77; }
.m-ph-tabs i.is-on { background: var(--er-accent); border-color: var(--er-accent); }
.m-label { position: absolute; left: 0; bottom: 0; margin: 0; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: #9a94b3; display: flex; align-items: center; gap: 8px; }
.m-label::before { content: ""; width: 6px; height: 6px; background: var(--er-accent); }

/* Faixa de serviços em movimento */
.er-marquee { position: relative; overflow: hidden; padding-block: 1.1rem; border-block: 1px solid var(--er-line); background: var(--wp--preset--color--base-2); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.er-marquee-track { display: flex; width: max-content; animation: er-marquee 48s linear infinite; }
.er-marquee:hover .er-marquee-track, .er-marquee:focus-within .er-marquee-track { animation-play-state: paused; }
.er-marquee ul { display: flex; margin: 0; padding: 0; list-style: none; }
.er-marquee li { display: flex; align-items: center; gap: 2.25rem; padding-right: 2.25rem; font-family: var(--er-heading); font-weight: 600; font-size: clamp(1.125rem, 2vw, 1.5rem); letter-spacing: .04em; text-transform: uppercase; color: var(--er-muted); white-space: nowrap; }
.er-marquee li a { color: inherit; text-decoration: none; }
.er-marquee li a:hover { color: #fff; }
.er-marquee li::after { content: ""; width: 8px; height: 8px; border: 1px solid var(--er-accent-light); transform: rotate(45deg); }

/* ---------- Grades ---------- */
.er-grid-2 { display: grid; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
@media (min-width: 1024px) { .er-grid-2 { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); } }
.er-grid-2 > div > * + * { margin-block-start: 1.25rem; }

.er-query .wp-block-post-template { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; gap: 1.25rem !important; margin: 0; padding: 0; list-style: none; }
@media (min-width: 600px) { .er-grid-cards .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 1.5rem !important; } }
@media (min-width: 1024px) { .er-grid-cards .wp-block-post-template { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@media (min-width: 1200px) { .er-cols-4 .wp-block-post-template { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; } }
.er-query .wp-block-post-template > li { display: flex; }

/* ---------- Cards ---------- */
.er-card { position: relative; flex: 1; width: 100%; gap: 1rem !important; padding: clamp(1.5rem, 3vw, 2rem); background: var(--er-surface); transition: transform .2s var(--er-ease-out), border-color .2s, background-color .2s, box-shadow .2s; }
.er-card:hover { transform: translateY(-3px); border-color: var(--er-line-strong); background: #110c22; box-shadow: 0 30px 60px -36px var(--er-glow); }
.er-card:hover::before { --c: var(--er-accent-light); inset: -9px; }
.er-card > * { margin: 0 !important; }
.er-card .wp-block-post-title { margin-top: .35rem !important; font-size: var(--wp--preset--font-size--x-large); }
.er-card .wp-block-post-title a { color: var(--wp--preset--color--contrast); text-decoration: none; }
.er-card .wp-block-post-title a::after { content: ""; position: absolute; inset: 0; z-index: 0; }
.er-card a, .er-card .wp-block-read-more { position: relative; z-index: 1; }
.er-card .wp-block-post-title a { position: static; }
.er-card:hover .wp-block-post-title a { color: var(--er-accent-light); }
.er-excerpt { flex: 1; width: 100%; color: var(--er-muted); font-size: 1.0625rem; }
.er-excerpt p { margin: 0; }
.wp-block-read-more { display: inline-flex; align-items: center; min-height: 44px; color: var(--er-accent-light); font-weight: 500; text-decoration: none; transition: color .2s, transform .2s; }
.er-card:hover .wp-block-read-more { color: #fff; transform: translateX(4px); }
.er-card.is-media { padding: 0; overflow: visible; }
.er-card-body { padding: clamp(1.25rem, 3vw, 1.5rem); gap: .65rem !important; flex: 1; width: 100%; }
.er-card-body > * { margin: 0 !important; }
.er-card.is-media .wp-block-post-title { font-size: 1.625rem; }
.er-thumb { margin: 0 !important; width: 100%; overflow: hidden; border-bottom: 1px solid var(--er-line); background: #100c1f; }
.er-thumb img { display: block; width: 100%; transition: transform .4s var(--er-ease-out), filter .4s; filter: saturate(.9); }
.er-card:hover .er-thumb img { transform: scale(1.03); filter: saturate(1.05); }
.er-terms, .er-chips { font-size: .875rem !important; letter-spacing: .12em; text-transform: uppercase; color: var(--er-accent-light); }
.er-terms a { color: inherit; text-decoration: none; }
.er-chips { display: flex; flex-wrap: wrap; gap: .4rem; }
.er-chips a { display: inline-flex; padding: .3rem .65rem; border: 1px solid var(--er-line-strong); background: var(--er-soft); color: var(--er-accent-light); text-decoration: none; transition: background-color .2s, color .2s; }
.er-chips a:hover { background: var(--er-accent); color: #fff; border-color: var(--er-accent); }
.er-chips .wp-block-post-terms__separator { display: none; }
.er-card-foot { width: 100%; justify-content: space-between; align-items: center; gap: .5rem; border-top: 1px solid var(--er-line); padding-top: .75rem; margin-top: .25rem !important; }
.er-card-info { gap: .35rem .9rem; font-size: 1rem; color: var(--er-subtle); }
.er-card-info > * { margin: 0 !important; }
.er-reading { display: inline-flex; align-items: center; gap: .4rem; font-size: 1rem; color: var(--er-subtle); }
.er-reading::before { content: ""; width: 5px; height: 5px; background: var(--er-accent); }
.er-icon { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border: 1px solid var(--er-line-strong); background: var(--er-soft); color: var(--er-accent-light); transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--er-ease); }
.er-icon svg { display: block; }
.er-card:hover .er-icon { background: var(--er-accent); color: #fff; border-color: var(--er-accent); }

/* Numeração dos serviços */
/* Serviço com foto: ícone encaixado na borda da foto e número sobre fundo escuro */
.er-services .er-thumb + .er-card-body .er-icon { position: relative; z-index: 2; margin-top: calc(-26px - clamp(1.25rem, 3vw, 1.5rem)) !important; margin-bottom: .25rem !important; background: var(--er-surface); }
.er-services .er-card:hover .er-thumb + .er-card-body .er-icon { background: var(--er-accent); }
.er-services .er-thumb img { aspect-ratio: 16 / 10; object-fit: cover; }

/* Destaque: correção de WordPress */
.er-sos { margin-top: clamp(2rem, 5vw, 3rem) !important; display: grid; gap: 1.5rem; padding: clamp(1.5rem, 4vw, 2.5rem); background: var(--er-surface); border-left: 2px solid var(--er-accent) !important; border-color: var(--er-line-strong) !important; }
.er-sos .er-icon { width: 64px; height: 64px; background: var(--er-accent); color: #fff; border-color: var(--er-accent); }
.er-sos h3 { margin: 0; font-size: clamp(1.5rem, 3vw, 2rem); }
.er-sos-text > * { margin: 0; }
.er-sos-text p { margin-top: .6rem; color: var(--er-muted); }
@media (min-width: 900px) { .er-sos { grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 2rem; } }

/* Depoimentos */
.er-depo { gap: .75rem !important; }
.er-quote-mark { font-family: var(--er-heading); font-weight: 600; font-size: 4rem; line-height: .6; color: rgba(185, 166, 255, .45); }
.er-depo-text { flex: 1; color: #e3dff0; font-size: 1.125rem; }
.er-depo-autor { margin: .5rem 0 0; display: flex; flex-direction: column; font-size: 1rem; }
.er-depo-autor span { color: var(--er-subtle); }

/* Sobre */
.er-about { margin-bottom: clamp(3rem, 6vw, 4.5rem) !important; }
.er-about-panel { padding: clamp(1.75rem, 4vw, 2.5rem); background: var(--er-surface); }
.er-about-panel > * { margin: 0; }
.er-stat { font-family: var(--er-heading); font-weight: 600; font-size: clamp(2.25rem, 4.5vw, 3rem) !important; line-height: 1 !important; letter-spacing: -0.02em; color: #fff; }
.er-stat-label { margin-top: .75rem !important; font-size: 1.125rem; color: #fff; max-width: 18rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--er-line); margin-bottom: 1.5rem !important; }
.er-tags { gap: .5rem !important; }
.er-tags p { margin: 0; padding: .35rem .8rem; border: 1px solid var(--er-line); font-size: 1rem; color: #d9d5e6; transition: border-color .2s, background-color .2s; }
.er-tags p:hover { border-color: var(--er-accent-light); background: var(--er-soft); }

.er-cells { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 !important; background: var(--er-surface); }
@media (min-width: 600px) { .er-cells { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .er-cells.is-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.er-cell { padding: clamp(1.5rem, 3vw, 2rem); display: flex; flex-direction: column; gap: .9rem; box-shadow: inset -1px -1px 0 var(--er-line); transition: background-color .3s; }
.er-cell:hover { background: #110c22; }
.er-cell > * { margin: 0 !important; }
.er-cell h3 { font-size: 1.5rem; }
.er-cell p { color: var(--er-muted); font-size: 1.0625rem; }
.er-cell:hover .er-icon { background: var(--er-accent); color: #fff; border-color: var(--er-accent); }

/* Como funciona */
.er-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; border-left: 1px solid var(--er-line); }
.er-step { position: relative; padding: 0 0 2.25rem 1.75rem; display: flex; flex-direction: column; gap: .6rem; }
.er-step > * { margin: 0 !important; }
.er-step::before { content: ""; position: absolute; top: .9rem; left: -6px; width: 11px; height: 11px; border: 1px solid var(--er-accent-light); background: var(--wp--preset--color--base-2); transition: background-color .3s; }
.er-step:first-child::before, .er-step:hover::before { background: var(--er-accent); border-color: var(--er-accent); }
@media (min-width: 600px) { .er-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); border-left: 0; border-top: 1px solid var(--er-line); } .er-step { padding: 2rem 1.75rem .5rem 0; } .er-step::before { top: -6px; left: 0; } }
@media (min-width: 1024px) { .er-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.er-step-num { font-family: var(--er-heading); font-weight: 600; font-size: clamp(2.5rem, 5vw, 3.5rem); line-height: 1; color: var(--er-accent-light); }
.er-step p:last-child { color: var(--er-muted); font-size: 1.0625rem; }

/* Contato */
.er-contact { padding: clamp(1.5rem, 5vw, 4rem); border-color: var(--er-line-strong) !important; background: #0e0a1c; }
.er-contact .er-grid-2 { align-items: start; }
.er-contact h2 { font-size: clamp(2.25rem, 5vw, 4rem); line-height: 1; margin: 0; }
.er-contact .er-lead { color: #d9d5e6; }

/* Formulário de orçamento */
.er-form { display: flex; flex-direction: column; gap: 1.1rem; position: relative; }
.er-form p { margin: 0; }
.er-form label { display: block; font-size: 1rem; color: #d9d5e6; margin-bottom: .5rem; }
.er-form input[type="text"], .er-form input[type="email"], .er-form select, .er-form textarea { width: 100%; min-height: 52px; padding: .75rem .9rem; font: inherit; font-size: 1.0625rem; color: var(--wp--preset--color--contrast); background: var(--wp--preset--color--base); border: 1px solid var(--er-line-strong); border-radius: 0; caret-color: var(--er-accent-light); transition: border-color .2s, box-shadow .2s; }
.er-form textarea { min-height: 120px; resize: vertical; }
.er-form select option { background: #120d22; }
.er-form input:hover, .er-form select:hover, .er-form textarea:hover { border-color: rgba(185, 166, 255, .5); }
.er-form input:focus-visible, .er-form select:focus-visible, .er-form textarea:focus-visible { border-color: var(--er-accent-light); outline: 0; box-shadow: 0 0 0 3px var(--er-soft); }
.er-form ::placeholder { color: #8e88a6; }
.er-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.er-consent { display: flex !important; align-items: flex-start; gap: .65rem; font-size: 1rem !important; color: var(--er-subtle) !important; }
.er-consent input { width: 20px; height: 20px; margin: .1rem 0 0; accent-color: var(--er-accent); flex: none; }
.er-submit { position: relative; min-height: 56px; cursor: pointer; font-family: var(--er-heading); font-weight: 600; font-size: 1.125rem; color: #fff; background: var(--er-accent); border: 1px solid var(--er-accent); border-radius: 0; transition: background-color .2s, color .2s; }
.er-submit:hover { background: var(--er-accent-light); border-color: var(--er-accent-light); color: var(--wp--preset--color--base); }
.er-form-msg { padding: .8rem 1rem; font-size: 1rem; border: 1px solid var(--er-line-strong); background: var(--er-soft); color: #fff; }
.er-form-msg.is-error { border-color: #ff8fa3; background: rgba(255, 143, 163, .1); }

/* ---------- Blog: listagem com barra lateral ---------- */
.er-blog-layout { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .er-blog-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 3.5rem; align-items: start; } }
@media (min-width: 600px) { .er-posts .wp-block-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 1.5rem !important; } }
body:not(.paged) .er-posts-featured .wp-block-post-template > li:first-child { grid-column: 1 / -1; }
@media (min-width: 782px) {
	body:not(.paged) .er-posts-featured li:first-child .er-post-card:has(.er-thumb) { display: grid !important; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
	body:not(.paged) .er-posts-featured li:first-child .er-thumb { height: 100%; border-bottom: 0; border-right: 1px solid var(--er-line); }
	body:not(.paged) .er-posts-featured li:first-child .er-thumb a { height: 100%; display: block; }
	body:not(.paged) .er-posts-featured li:first-child .er-thumb img { height: 100% !important; aspect-ratio: auto !important; min-height: 320px; object-fit: cover; }
	body:not(.paged) .er-posts-featured li:first-child .er-card-body { padding: 2rem; justify-content: center; }
	body:not(.paged) .er-posts-featured li:first-child .wp-block-post-title { font-size: clamp(1.75rem, 2.6vw, 2.25rem); }
}
.er-cat-chips { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 0 !important; padding: 0; list-style: none; }
.er-cat-chips li a { display: inline-flex; min-height: 40px; align-items: center; padding: .4rem .9rem; border: 1px solid var(--er-line-strong); color: #d9d5e6; text-decoration: none; font-size: 1rem; transition: background-color .2s, border-color .2s, color .2s; }
.er-cat-chips li a:hover, .er-cat-chips li.current-cat a { background: var(--er-accent); border-color: var(--er-accent); color: #fff; }

.er-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }
.er-sidebar > * { margin: 0 !important; }
.er-widget { padding: 1.5rem; border: 1px solid var(--er-line); background: var(--er-surface); }
.er-widget > * { margin: 0; }
.er-widget > * + * { margin-top: .9rem; }
.er-widget-cta { background: #0e0a1c; border-color: var(--er-line-strong) !important; }
.er-widget-cta h3 { font-size: 1.5rem; }
.er-stack-buttons { flex-direction: column; align-items: stretch; }
.er-stack-buttons .wp-block-button, .er-stack-buttons .wp-block-button__link { width: 100%; }
.wp-block-search__inside-wrapper { border: 1px solid var(--er-line-strong) !important; background: var(--wp--preset--color--base); padding: 0 !important; }
.wp-block-search__input { min-height: 48px; padding: .6rem .9rem; border: 0 !important; background: transparent; color: #fff; font: inherit; font-size: 1.0625rem; }
.wp-block-search__input:focus-visible { outline: 0; }
.wp-block-search__inside-wrapper:focus-within { border-color: var(--er-accent-light) !important; }
.wp-block-search__button { margin: 0 !important; min-width: 48px; min-height: 48px; border: 0 !important; border-radius: 0 !important; background: var(--er-accent) !important; color: #fff !important; }
.wp-block-search__button svg { fill: currentColor; }
.er-search-wide { max-width: 32rem; }
.er-cat-list { list-style: none; margin: 0; padding: 0; }
.er-cat-list li { display: flex; justify-content: space-between; gap: 1rem; padding: .6rem 0; border-bottom: 1px solid var(--er-line); color: var(--er-subtle); font-size: 1rem; }
.er-cat-list li:last-child { border-bottom: 0; }
.er-cat-list a { color: #e3dff0; text-decoration: none; }
.er-cat-list a:hover { color: var(--er-accent-light); }
.er-recent { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 1rem; }
.er-recent li { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: .2rem .9rem; align-items: start; }
.er-recent li:not(:has(.wp-block-latest-posts__featured-image)) { grid-template-columns: 1fr; }
.er-recent .wp-block-latest-posts__featured-image { grid-row: span 2; margin: 0 !important; float: none !important; }
.er-recent .wp-block-latest-posts__featured-image img { width: 64px !important; height: 64px !important; object-fit: cover; border: 1px solid var(--er-line); }
.er-recent .wp-block-latest-posts__post-title { color: #f3f1fa; text-decoration: none; font-weight: 500; line-height: 1.35; font-size: 1rem; }
.er-recent .wp-block-latest-posts__post-title:hover { color: var(--er-accent-light); }
.er-recent .wp-block-latest-posts__post-date { font-size: .875rem; color: var(--er-subtle); }

/* ---------- Artigo ---------- */
.er-post-head { max-width: 52rem; margin-bottom: clamp(2rem, 4vw, 2.75rem) !important; }
.er-post-head > * { margin: 0 !important; }
.er-post-head > * + * { margin-top: 1.1rem !important; }
.er-post-head h1 { font-size: clamp(2.25rem, 5.4vw, 4rem); line-height: 1.02; }
.er-crumbs { gap: .75rem; align-items: center; }
.er-crumbs > * { margin: 0 !important; }
.er-crumb { font-size: .875rem; letter-spacing: .14em; text-transform: uppercase; }
.er-crumb a { color: var(--er-subtle); text-decoration: none; display: inline-flex; align-items: center; gap: .6rem; }
.er-crumb a::after { content: "/"; color: #5f5a77; }
.er-crumb a:hover { color: #fff; }
.er-post-meta { gap: .5rem 1.25rem; align-items: center; color: var(--er-subtle); font-size: 1rem; padding-top: 1.1rem; border-top: 1px solid var(--er-line); }
.er-post-meta > * { margin: 0 !important; }
.er-post-meta .wp-block-post-author { display: flex; align-items: center; gap: .65rem; }
.er-post-meta .wp-block-post-author__avatar { margin: 0; }
.er-post-meta .wp-block-post-author__name { margin: 0; color: #fff; font-weight: 500; }
.er-post-meta .wp-block-post-author__content { display: flex; align-items: center; }
.wp-block-post-author__avatar img { border-radius: 0; border: 1px solid var(--er-line-strong); display: block; }
.er-post-cover { margin: 0 0 clamp(2.5rem, 5vw, 3.5rem) !important; }
.er-post-cover img { display: block; width: 100%; object-fit: cover; }
.er-post-layout { display: grid; gap: 3rem; }
@media (min-width: 1024px) { .er-post-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 4rem; align-items: start; } .er-post-aside { position: sticky; top: calc(var(--er-header-h) + 1.5rem); } }
.er-post-main { min-width: 0; }
.er-post-main > * + * { margin-top: 2rem; }
.er-post-aside { display: flex; flex-direction: column; gap: 1.25rem; }
.er-post-aside > * { margin: 0 !important; }

.er-content { font-size: 1.1875rem; line-height: 1.75; color: #d9d5e6; }
.er-content-narrow { max-width: 46rem; }
.er-content > * { margin-block: 0; }
.er-content > * + * { margin-block-start: 1.4rem; }
.er-content h2, .er-content h3, .er-content h4 { color: #fff; scroll-margin-top: calc(var(--er-header-h) + 1.5rem); }
.er-content h2 { font-size: clamp(1.75rem, 3.4vw, 2.375rem); margin-block-start: 3rem; }
.er-content h3 { font-size: clamp(1.375rem, 2.4vw, 1.75rem); margin-block-start: 2.25rem; }
.er-content a { color: var(--er-accent-light); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.er-content a:hover { color: #fff; }
/* Botões dentro do texto mantêm o estilo de botão (não o de link) */
.er-content .wp-block-button__link { color: #fff; text-decoration: none; }
.er-content .wp-block-button:not(.is-style-outline) > .wp-block-button__link:hover { color: var(--wp--preset--color--base); }
.er-content .wp-block-button.is-style-outline > .wp-block-button__link { color: var(--wp--preset--color--contrast); }
.er-content .wp-block-button.is-style-outline > .wp-block-button__link:hover { color: #fff; }
.er-content strong { color: #fff; }
.er-content ul, .er-content ol { padding-left: 1.4rem; }
.er-content li + li { margin-top: .5rem; }
.er-content li::marker { color: var(--er-accent-light); }
.er-content img { height: auto; display: block; }
.er-content figure { margin-inline: 0; }
.er-content figcaption { margin-top: .6rem; font-size: 1rem; color: var(--er-subtle); text-align: left; }
.er-content blockquote { position: relative; margin-inline: 0; padding: 1.75rem 1.75rem 1.5rem; border: 1px solid var(--er-line-strong); background: var(--er-surface); font-size: 1.25rem; color: #fff; }
.er-content blockquote::before { content: "“"; position: absolute; top: -.5rem; left: 1.25rem; font-family: var(--er-heading); font-size: 4rem; line-height: 1; color: var(--er-accent-light); }
.er-content blockquote cite { display: block; margin-top: .75rem; font-size: 1rem; font-style: normal; color: var(--er-subtle); }
.er-content code { font-size: .9em; padding: .1em .35em; background: #16112a; border: 1px solid var(--er-line); }
.er-content pre { padding: 1.25rem; overflow: auto; background: #0c0918; border: 1px solid var(--er-line); font-size: 1rem; line-height: 1.6; }
.er-content pre code { padding: 0; border: 0; background: none; }
.er-content table { width: 100%; border-collapse: collapse; font-size: 1.0625rem; }
.er-content .wp-block-table { overflow-x: auto; }
.er-content th, .er-content td { padding: .75rem; border: 1px solid var(--er-line); text-align: left; }
.er-content th { background: var(--er-surface); color: #fff; }
.er-content hr { border: 0; border-top: 1px solid var(--er-line); margin-block: 3rem; }

.er-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--er-line); }
.er-toc li a { display: block; margin-left: -1px; padding: .45rem 0 .45rem 1rem; border-left: 1px solid transparent; color: var(--er-subtle); text-decoration: none; font-size: 1rem; line-height: 1.4; transition: color .2s, border-color .2s; }
.er-toc li.is-h3 a { padding-left: 2rem; font-size: 1rem; }
.er-toc a:hover { color: #fff; }
.er-toc a.is-active { color: #fff; border-left-color: var(--er-accent); }
.er-toc-desktop { padding: 1.5rem; border: 1px solid var(--er-line); background: var(--er-surface); }
.er-toc-mobile { border: 1px solid var(--er-line); background: var(--er-surface); }
.er-toc-mobile summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; min-height: 52px; padding: .75rem 1.25rem; font-family: var(--er-heading); font-weight: 600; font-size: 1.125rem; }
.er-toc-mobile summary::-webkit-details-marker { display: none; }
.er-toc-mobile summary::after { content: "+"; font-size: 1.5rem; color: var(--er-accent-light); transition: transform .2s; }
.er-toc-mobile[open] summary::after { transform: rotate(45deg); }
.er-toc-mobile nav { padding: 0 1.25rem 1.25rem; }
@media (min-width: 1024px) { .er-toc-mobile { display: none; } }
@media (max-width: 1023px) { .er-toc-desktop { display: none; } }

.er-post-foot { display: flex; flex-direction: column; gap: 1.5rem; padding-top: 2rem; border-top: 1px solid var(--er-line); }
.er-post-foot > * { margin: 0 !important; }
.er-tags-list::before { content: "Tags"; margin-right: .4rem; align-self: center; color: var(--er-subtle); }
.er-share { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.er-share-title { margin: 0 .5rem 0 0; font-size: .875rem; letter-spacing: .14em; text-transform: uppercase; color: #8e88a6; }
.er-share a, .er-share button { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-width: 44px; min-height: 44px; padding: 0 .8rem; border: 1px solid var(--er-line-strong); background: transparent; color: #e3dff0; font: inherit; font-size: 1rem; text-decoration: none; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s; }
.er-share a:hover, .er-share button:hover { background: var(--er-accent); border-color: var(--er-accent); color: #fff; }
.er-share button.is-done { border-color: var(--er-accent-light); color: var(--er-accent-light); }
.er-share .er-share-label { display: none; }
.er-share button .er-share-label { display: inline; }
.er-author-box { display: flex; align-items: flex-start; gap: 1.25rem; padding: 1.5rem; border: 1px solid var(--er-line); background: var(--er-surface); }
.er-author-box .wp-block-post-author__avatar { margin: 0; }
.er-author-box .wp-block-post-author__byline { margin: 0; font-size: .875rem; letter-spacing: .14em; text-transform: uppercase; color: #8e88a6; }
.er-author-box .wp-block-post-author__name { margin: .2rem 0 .4rem; font-family: var(--er-heading); font-weight: 600; font-size: 1.375rem; color: #fff; }
.er-author-box .wp-block-post-author__bio { margin: 0; font-size: 1rem; color: var(--er-muted); }

.er-post-nav { display: grid; gap: 1rem; margin-top: clamp(3rem, 6vw, 4.5rem) !important; }
@media (min-width: 600px) { .er-post-nav { grid-template-columns: 1fr 1fr; } }
.er-post-nav .wp-block-post-navigation-link a { display: flex; flex-direction: column; gap: .35rem; height: 100%; padding: 1.25rem 1.5rem; border: 1px solid var(--er-line); background: var(--er-surface); color: #fff; text-decoration: none; transition: border-color .2s, background-color .2s; }
.er-post-nav .wp-block-post-navigation-link a:hover { border-color: var(--er-line-strong); background: #110c22; }
.er-post-nav .wp-block-post-navigation-link__label { font-size: .875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--er-accent-light); }
.er-post-nav .wp-block-post-navigation-link__title { font-family: var(--er-heading); font-weight: 600; font-size: 1.25rem; line-height: 1.2; }
.er-nav-next a { text-align: right; align-items: flex-end; }
@media (min-width: 600px) { .er-nav-next { grid-column: 2; } }

/* Relacionados (bloco do plugin) */
.er-wrap { max-width: 1240px; margin-inline: auto; padding-inline: var(--er-pad); }
.er-related-grid { display: grid; gap: 1.25rem; }
@media (min-width: 600px) { .er-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; } }
@media (min-width: 1024px) { .er-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.er-related .er-head { display: flex; flex-direction: column; gap: .9rem; }
.er-related .er-head h2 { margin: 0; }
.er-related-card { display: flex; flex-direction: column; }
.er-related-card .er-thumb img { aspect-ratio: 16 / 10; object-fit: cover; }
.er-related-card h3 { margin: 0; font-size: 1.5rem; }
.er-related-card h3 a { color: #fff; text-decoration: none; }
.er-related-card h3 a::after { content: ""; position: absolute; inset: 0; }
.er-related-card:hover h3 a { color: var(--er-accent-light); }
.er-related-card .er-card-body { display: flex; flex-direction: column; }

/* Página de serviço */
.er-trail { margin-block: 0 clamp(1.5rem, 4vw, 2.25rem) !important; font-size: .9375rem; } /* só vertical: a margem lateral centraliza o bloco na largura do conteúdo */
.er-trail ol { display: flex; flex-wrap: wrap; gap: .35rem .6rem; margin: 0; padding: 0; list-style: none; color: var(--er-subtle); }
.er-trail li { display: inline-flex; align-items: center; gap: .6rem; }
.er-trail li + li::before { content: "›"; color: #6d6788; }
.er-trail a { color: var(--er-muted); text-decoration: none; }
.er-trail a:hover { color: #fff; text-decoration: underline; }
.er-trail [aria-current] { color: #fff; }
/* Sempre em uma linha: o título da página (último item) é cortado com reticências se não couber */
.er-trail ol { flex-wrap: nowrap; min-width: 0; }
.er-trail li { flex: none; white-space: nowrap; }
.er-trail li:last-child { flex: 1 1 auto; min-width: 0; }
.er-trail [aria-current] { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.er-svc-hero-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
@media (min-width: 1024px) { .er-svc-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.er-svc-hero-grid > * { margin: 0 !important; min-width: 0; }
.er-svc-hero-text > * { margin: 0 !important; }
.er-svc-hero-text > * + * { margin-top: 1.25rem !important; }
.er-svc-hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.25rem); line-height: 1.02; }
.er-svc-hero .er-single-cta { margin-top: 2rem !important; }
.er-svc-cover { margin: 0 !important; }
.er-svc-cover img { display: block; width: 100%; object-fit: cover; }
.er-svc-trust { margin-top: 1.75rem !important; }
.er-svc-body { padding-top: clamp(2.5rem, 5vw, 4rem); }

/* Duas colunas: conteúdo + índice e orçamento fixos (computador) */
.er-svc-layout { display: grid; gap: 2rem; }
.er-svc-layout > * { margin: 0 !important; min-width: 0; }
@media (min-width: 1024px) {
	.er-svc-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 3.5rem; align-items: start; }
	.er-svc-aside { position: sticky; top: calc(var(--er-header-h) + 1.5rem); max-height: calc(100vh - var(--er-header-h) - 3rem); overflow-y: auto; }
}
@media (max-width: 1023px) { .er-svc-aside { display: none; } }
.er-svc-main > * { margin: 0 !important; }
.er-svc-main > * + * { margin-top: 1.5rem !important; }
.er-svc-aside { display: flex; flex-direction: column; gap: 1.25rem; }
.er-svc-aside > * { margin: 0 !important; }
.er-svc-aside-title { font-family: var(--er-heading); font-weight: 600; font-size: 1.5rem; line-height: 1.1; color: #fff; }

/* Conteúdo em seções */
.er-svc-content > * + * { margin-block-start: 1.5rem; }
.er-svc-intro { font-size: var(--wp--preset--font-size--large); color: #e3dff0; }
.er-svc-sec { padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid var(--er-line); background: var(--er-surface); scroll-margin-top: calc(var(--er-header-h) + 1.5rem); }
.er-svc-sec > * { margin-block: 0; }
.er-svc-sec > * + * { margin-block-start: 1.25rem; }
.er-content .er-svc-sec h2 { margin-block-start: .75rem; font-size: clamp(1.75rem, 3.2vw, 2.25rem); }
.er-svc-sec .er-kicker a { color: inherit; }

/* Incluso: grade de cards com ícone */
.er-svc-features { display: grid; gap: 1rem; margin-top: 1.75rem !important; }
@media (min-width: 640px) { .er-svc-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* O espaçamento automático do WordPress (margem no topo de cada bloco) desalinha itens de grade */
.er-svc-features > *, .er-svc-factors > * { margin: 0 !important; }
.er-svc-figure { margin: 1.5rem 0 0 !important; }
.er-svc-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--er-line); }
.er-svc-feature { padding: 1.35rem; border: 1px solid var(--er-line); background: var(--wp--preset--color--base); transition: border-color .2s; }
.er-svc-feature:hover { border-color: var(--er-line-strong); }
.er-svc-feature > * { margin: 0 !important; }
.er-svc-feature .er-icon { width: 46px; height: 46px; }
.er-content .er-svc-feature h3 { margin-top: 1rem !important; font-size: 1.25rem; line-height: 1.2; }
.er-svc-feature p { margin-top: .45rem !important; font-size: 1.0625rem; line-height: 1.6; color: var(--er-muted); }

/* Para quem é: lista com ✓ */
.er-content .er-checks { list-style: none; padding: 0; display: grid; gap: .85rem 1.75rem; }
@media (min-width: 640px) { .er-content .er-checks { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.er-content .er-checks li { position: relative; margin: 0; padding-left: 2.1rem; }
.er-content .er-checks li::before { content: ""; position: absolute; left: 0; top: .2rem; width: 22px; height: 22px; background: var(--er-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b9a6ff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 14px no-repeat; border: 1px solid var(--er-line-strong); }

/* Investimento: fatores + caixa de proposta */
.er-svc-factors { display: grid; gap: .85rem; }
@media (min-width: 640px) { .er-svc-factors { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.er-svc-factor { padding: 1.1rem 1.25rem; border-left: 2px solid var(--er-accent); background: var(--wp--preset--color--base); }
.er-svc-factor > * { margin: 0 !important; }
.er-content .er-svc-factor h3 { font-size: 1.15rem; line-height: 1.25; }
.er-svc-factor p { margin-top: .35rem !important; font-size: 1rem; color: var(--er-muted); }
.er-svc-proposal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; margin-top: 1.75rem !important; padding: clamp(1.25rem, 3vw, 1.75rem); border: 1px solid var(--er-line-strong); background: #0e0a1c; border-left: 2px solid var(--er-accent); }
.er-svc-proposal > * { margin: 0 !important; }
.er-svc-proposal p { flex: 1 1 22rem; color: #fff; font-size: 1.125rem; }

/* Dúvidas: perguntas que abrem e fecham */
.er-content .er-faq { border: 1px solid var(--er-line); background: var(--wp--preset--color--base); }
.er-content .er-faq + .er-faq { margin-top: .6rem; }
.er-faq summary { position: relative; display: block; cursor: pointer; list-style: none; min-height: 44px; padding: 1.1rem 3.25rem 1.1rem 1.25rem; font-family: var(--er-heading); font-weight: 600; font-size: 1.25rem; line-height: 1.25; color: #fff; }
.er-faq summary::-webkit-details-marker { display: none; }
.er-faq summary::after { content: "+"; position: absolute; right: 1.25rem; top: 50%; transform: translateY(-50%); font-size: 1.6rem; line-height: 1; color: var(--er-accent-light); }
.er-faq[open] summary::after { content: "−"; }
.er-faq summary:hover { color: var(--er-accent-light); }
.er-faq > :not(summary) { margin: 0; padding: 0 1.25rem 1.25rem; color: var(--er-muted); }
.er-svc-related .er-related-card { padding: clamp(1.5rem, 3vw, 2rem); gap: .9rem; background: var(--er-surface); }
.er-svc-related .er-related-card > * { margin: 0; }
.er-svc-related .er-related-card:hover .er-icon { background: var(--er-accent); color: #fff; border-color: var(--er-accent); }

/* ---------- Projeto (estudo de caso) ---------- */
.er-proj-hero-grid { display: grid; gap: clamp(2rem, 5vw, 3rem); align-items: center; margin-bottom: clamp(2rem, 5vw, 3rem) !important; }
@media (min-width: 1024px) { .er-proj-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 3.5rem; } }
.er-proj-hero-grid > * { margin: 0 !important; min-width: 0; }
.er-proj-hero-text > * { margin: 0 !important; }
.er-proj-hero-text > * + * { margin-top: 1.25rem !important; }
.er-proj-hero h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); line-height: 1.04; }
.er-proj-hero .er-single-cta { margin-top: 2rem !important; }
/* Ficha em faixa horizontal abaixo do título e da capa */
.er-proj-ficha { display: grid; gap: 1.25rem; align-items: center; margin-block: 0 !important; padding: 1.25rem 1.5rem; border: 1px solid var(--er-line-strong); background: var(--er-surface); }
@media (min-width: 1024px) { .er-proj-ficha { grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; } }
.er-proj-ficha .er-side-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.er-proj-ficha dl { margin: 0; display: grid; gap: 1rem 1.5rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 768px) { .er-proj-ficha dl { grid-template-columns: repeat(auto-fit, minmax(120px, auto)); } }
.er-proj-ficha dl > div { display: grid; gap: .2rem; align-content: start; }
@media (min-width: 768px) { .er-proj-ficha dl > div + div { padding-left: 1.5rem; border-left: 1px solid var(--er-line); } }
.er-proj-ficha dt { font-size: .875rem; letter-spacing: .1em; text-transform: uppercase; color: #8e88a6; }
.er-proj-ficha dd { margin: 0; color: #fff; font-size: 1.0625rem; }
.er-proj-link { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: 0 1.25rem; white-space: nowrap; border: 1px solid var(--er-accent-light); color: #fff; text-decoration: none; font-weight: 600; transition: background-color .2s; }
.er-proj-link:hover { background: var(--er-soft); color: #fff; }
.er-proj-cover { margin-block: 0 !important; } /* só vertical: a margem lateral centraliza na largura do conteúdo */
.er-proj-cover img { display: block; width: 100%; object-fit: cover; }
.er-proj-body { padding-top: clamp(2.5rem, 5vw, 4rem); }
.er-proj-content { max-width: 60rem; }
.er-proj-meta { margin: 0 !important; font-size: .9375rem; color: var(--er-subtle); }
/* Galeria do projeto: some enquanto não houver imagens */
.er-content .wp-block-gallery { gap: 1rem; }
.er-content .wp-block-gallery:not(:has(img)) { display: none; }
.er-content .wp-block-gallery img { border: 1px solid var(--er-line); }
/* Serviço usado no projeto */
.er-proj-servico-card { display: grid; gap: 1.25rem 2rem; align-items: center; padding: clamp(1.5rem, 4vw, 2.25rem); border: 1px solid var(--er-line-strong); border-left: 2px solid var(--er-accent); background: var(--er-surface); }
@media (min-width: 900px) { .er-proj-servico-card { grid-template-columns: auto minmax(0, 1fr) auto; } }
.er-proj-servico-card > * { margin: 0; }
.er-proj-servico-text > * { margin: 0; }
.er-proj-servico-text h2 { margin-top: .5rem; font-size: clamp(1.6rem, 3vw, 2.1rem); }
.er-proj-servico-text p:last-child { margin-top: .6rem; color: var(--er-muted); }
.er-proj-servico-btn .wp-block-button__link { white-space: nowrap; }
/* Filtros da lista de projetos */
.er-proj-filtros { margin-block: 0 2rem !important; } /* só vertical: a margem lateral alinha com o conteúdo */
.er-proj-filtros .er-cat-chips { margin: 0 !important; }

/* Ampliar imagens (capa do projeto e galerias) */
.er-zoomable { cursor: zoom-in; }
.er-lightbox { width: min(96vw, 1600px); max-width: none; max-height: 94vh; padding: 0; border: 1px solid var(--er-line-strong); background: #07080f; color: #fff; overflow: visible; }
.er-lightbox::backdrop { background: rgba(4, 4, 10, .88); }
.er-lightbox[open] { animation: er-lb-in .2s var(--er-ease-out); }
@keyframes er-lb-in { from { opacity: 0; transform: scale(.97); } }
.er-lightbox img { display: block; width: 100%; height: auto; max-height: calc(94vh - 3rem); object-fit: contain; }
.er-lb-caption { margin: 0; padding: .6rem 1rem; font-size: .9375rem; color: var(--er-muted); }
.er-lb-caption:empty { display: none; }
.er-lb-close, .er-lb-prev, .er-lb-next { position: absolute; z-index: 1; width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--er-line-strong); background: rgba(7, 8, 15, .85); color: #fff; font: inherit; font-size: 1.75rem; line-height: 1; cursor: pointer; transition: background-color .15s; }
.er-lb-close:hover, .er-lb-prev:hover, .er-lb-next:hover { background: var(--er-accent); }
.er-lb-close { top: .75rem; right: .75rem; }
.er-lb-prev { left: .75rem; top: 50%; transform: translateY(-50%); }
.er-lb-next { right: .75rem; top: 50%; transform: translateY(-50%); }
.er-lightbox.is-single .er-lb-prev, .er-lightbox.is-single .er-lb-next { display: none; }

/* Barra de progresso de leitura */
.er-progress { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 3px; background: linear-gradient(90deg, var(--er-accent), var(--er-accent-light)); transform: scaleX(0); transform-origin: left; pointer-events: none; }
.admin-bar .er-progress { top: 32px; }

/* Paginação */
.wp-block-query-pagination { margin-top: 3rem; gap: .5rem; flex-wrap: wrap; }
.wp-block-query-pagination a, .wp-block-query-pagination .current { min-width: 44px; min-height: 44px; display: inline-grid; place-items: center; padding: 0 .9rem; border: 1px solid var(--er-line); color: #e3dff0; text-decoration: none; transition: background-color .2s, border-color .2s; }
.wp-block-query-pagination a:hover { border-color: var(--er-accent-light); background: var(--er-soft); }
.wp-block-query-pagination .current { background: var(--er-accent); border-color: var(--er-accent); color: #fff; }
.wp-block-query-pagination-numbers { display: flex; gap: .5rem; }

/* ---------- Rodapé ---------- */
.er-footer { padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; background: #05060b; border-top: 1px solid var(--er-line); }
.er-footer-grid { display: grid; gap: 2.5rem; margin-bottom: 3rem !important; }
@media (min-width: 600px) { .er-footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .er-footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.er-footer-grid > * > * { margin: 0; }
.er-footer-grid > * > * + * { margin-top: .75rem; }
.er-footer .er-brand { font-size: 1.5rem; }
.er-footer-desc { color: var(--er-subtle); font-size: 1rem; max-width: 19rem; }
.er-footer .er-btn-whats .wp-block-button__link { min-height: 44px; font-size: 1.0625rem; padding: .55rem 1rem; }
.er-footer-title { font-size: .875rem; letter-spacing: .14em; text-transform: uppercase; color: #8e88a6; }
.er-footer-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; font-size: 1rem; }
.er-footer-list li { margin: 0; }
.er-footer-list a, .er-footer .er-contato a { color: #d9d5e6; text-decoration: none; transition: color .2s; }
.er-footer-list a:hover, .er-footer .er-contato a:hover { color: #fff; }
.er-footer .er-contato { font-size: 1rem; color: #d9d5e6; overflow-wrap: anywhere; }
.er-footer-bottom { padding-top: 1.5rem; border-top: 1px solid var(--er-line); font-size: 1rem; color: #8e88a6; gap: .75rem; }
.er-footer-bottom p { margin: 0; }
.er-footer-bottom a { color: var(--er-muted); }

/* ---------- Botão flutuante do WhatsApp (gerado pelo plugin) ---------- */
.er-whats-float { position: fixed; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 90; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; background: #128c7e; color: #fff; border: 1px solid rgba(255, 255, 255, .18); box-shadow: 0 14px 34px -12px rgba(0, 0, 0, .8); text-decoration: none; transition: transform .2s, background-color .2s; }
.er-whats-float:hover { background: #0e7a6e; color: #fff; transform: translateY(-2px); }
.er-whats-float svg { width: 28px; height: 28px; fill: currentColor; stroke: none; }
.er-whats-float-label { position: absolute; right: calc(100% + .6rem); padding: .45rem .75rem; white-space: nowrap; font-size: 1rem; background: var(--wp--preset--color--surface); border: 1px solid var(--er-line-strong); color: #fff; opacity: 0; transform: translateX(6px); pointer-events: none; transition: opacity .2s, transform .2s; }
@media (hover: hover) { .er-whats-float:hover .er-whats-float-label, .er-whats-float:focus-visible .er-whats-float-label { opacity: 1; transform: none; } }
.has-modal-open .er-whats-float { display: none; } /* menu do celular aberto */
.er-footer { padding-bottom: calc(2rem + 72px); } /* o botão não cobre o fim do rodapé no celular */
@media (min-width: 600px) { .er-footer { padding-bottom: 2rem; } }
@media print { .er-whats-float { display: none; } }

/* ---------- Animações ---------- */
@keyframes er-rise { from { opacity: 0; transform: translateY(12px); } }
@keyframes er-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes er-bar { from { transform: scaleY(0); } }
@keyframes er-pulse { 50% { opacity: .55; } }
@keyframes er-spin { to { transform: rotate(360deg); } }
@keyframes er-shine { to { background-position: -200% 0; } }
@keyframes er-drift { to { transform: translate3d(-5%, 4%, 0) scale(1.08); } }
@keyframes er-grid { to { background-position: 64px 64px; } }
@keyframes er-marquee { to { transform: translateX(-50%); } }

/* Revelação ao rolar (ativada por JS) */
.er-js .er-reveal:not(.er-in) { opacity: 0; }
.er-js .er-reveal.er-in { animation: er-rise .5s var(--er-ease-out) var(--er-delay, 0s) backwards; }

/* Telas de toque: o hover "gruda" depois do toque, então os efeitos de movimento ficam só no mouse */
@media (hover: none) {
	.er-card:hover, .er-card:hover .er-thumb img, .er-card:hover .wp-block-read-more, .er-whats-float:hover { transform: none; }
}
.er-submit:active, .er-whats-float:active { transform: scale(.97); }
.er-submit { transition: background-color .2s, color .2s, transform .16s var(--er-ease-out); }

/* Reduzir movimento: sem animações nem deslocamentos; as trocas de cor continuam */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition-property: color, background-color, border-color, opacity, box-shadow !important; }
	.er-js .er-reveal:not(.er-in) { opacity: 1; }
	.er-card:hover, .er-card:hover .er-thumb img, .er-card:hover .wp-block-read-more, .er-whats-float:hover, .wp-block-button__link:active, .er-submit:active { transform: none !important; }
}

/* Alto contraste do Windows: texto em degradê vira texto sólido */
@media (forced-colors: active) {
	.er-hero h1 mark, .er-stat { background: none; -webkit-text-fill-color: currentColor; }
}

/* ---------- 1.2: páginas Sobre e Contato ---------- */
.er-page-title { margin: 0 !important; font-size: clamp(2.5rem, 6vw, 4.25rem) !important; line-height: 1 !important; }
.er-page-content:not(:empty) { margin-bottom: clamp(3rem, 6vw, 4.5rem) !important; }
.er-contact-page { align-items: start !important; }
.er-contact-info { margin-top: 2rem !important; padding-top: 1.5rem; border-top: 1px solid var(--er-line); }
.er-contact-info > * { margin: 0 !important; }
.er-contact-info > * + * { margin-top: .6rem !important; }
.er-contact-info .er-contato { font-size: 1.125rem; color: #d9d5e6; overflow-wrap: anywhere; }
.er-contact-info .er-contato a { color: #fff; text-decoration: none; }
.er-contact-info .er-contato a:hover { color: var(--er-accent-light); }
.er-contact-form { padding: clamp(1.5rem, 4vw, 2.5rem); }
