/* =========================================================
   ESCRITÓRIO MODELO — Landing Page Theme
   Design System: SaaS moderno, minimalista, mobile-first
   ========================================================= */

:root {
    --em-primary: #0B5FFF;
    --em-primary-dark: #0848C2;
    --em-primary-light: #E8F0FF;
    --em-accent: #25D366;
    --em-accent-dark: #1FAE54;

    --em-text: #0F172A;
    --em-text-soft: #475569;
    --em-text-muted: #94A3B8;

    --em-bg: #FFFFFF;
    --em-bg-alt: #F8FAFC;
    --em-bg-dark: #0B1220;
    --em-border: #E2E8F0;

    --em-radius-sm: 8px;
    --em-radius: 14px;
    --em-radius-lg: 24px;

    --em-shadow-sm: 0 1px 2px rgba(15, 23, 42, .06);
    --em-shadow: 0 10px 30px rgba(15, 23, 42, .08);
    --em-shadow-lg: 0 25px 60px rgba(15, 23, 42, .12);

    --em-container: 1200px;
    --em-gutter: 1.25rem;

    --em-font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

    --em-header-h: 76px;

    --em-ease: cubic-bezier(.4, 0, .2, 1);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--em-font-sans);
    color: var(--em-text);
    background: var(--em-bg);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--em-primary); text-decoration: none; transition: color .2s var(--em-ease); }
a:hover { color: var(--em-primary-dark); }
button { font-family: inherit; cursor: pointer; }
ul, ol { padding-left: 1.25rem; }
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 .75em;
    color: var(--em-text);
    letter-spacing: -.02em;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }
p { margin: 0 0 1rem; color: var(--em-text-soft); }

/* ---------- LAYOUT HELPERS ---------- */
.em-container {
    width: 100%;
    max-width: var(--em-container);
    margin: 0 auto;
    padding: 0 var(--em-gutter);
}
.em-section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.em-section--alt { background: var(--em-bg-alt); }
.em-section--dark { background: var(--em-bg-dark); color: #fff; }
.em-section--dark h1, .em-section--dark h2, .em-section--dark h3 { color: #fff; }
.em-section--dark p { color: rgba(255, 255, 255, .75); }

.em-section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.em-eyebrow {
    display: inline-block;
    font-size: .8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: var(--em-primary);
    background: var(--em-primary-light);
    padding: .375rem .875rem;
    border-radius: 999px;
    margin-bottom: 1rem;
}

/* ---------- BUTTONS ---------- */
.em-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .9rem 1.6rem;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--em-radius-sm);
    border: 0;
    cursor: pointer;
    transition: transform .2s var(--em-ease), box-shadow .2s var(--em-ease), background .2s var(--em-ease);
    line-height: 1;
    white-space: nowrap;
}
.em-btn:hover { transform: translateY(-2px); }
.em-btn--primary { background: var(--em-primary); color: #fff; box-shadow: 0 8px 20px rgba(11, 95, 255, .3); }
.em-btn--primary:hover { background: var(--em-primary-dark); color: #fff; box-shadow: 0 12px 28px rgba(11, 95, 255, .4); }
.em-btn--whatsapp { background: var(--em-accent); color: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, .35); }
.em-btn--whatsapp:hover { background: var(--em-accent-dark); color: #fff; }
.em-btn--whatsapp svg { width: 18px; height: 18px; flex-shrink: 0; }
.em-btn--ghost { background: transparent; color: var(--em-text); border: 1.5px solid var(--em-border); }
.em-btn--ghost:hover { border-color: var(--em-primary); color: var(--em-primary); }
.em-btn--light { background: rgba(255, 255, 255, .12); color: #fff; backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, .25); }
.em-btn--light:hover { background: rgba(255, 255, 255, .22); color: #fff; }

/* ---------- HEADER ---------- */
.em-header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: transparent;
    transition: background .3s var(--em-ease), box-shadow .3s var(--em-ease), backdrop-filter .3s var(--em-ease);
}
.em-header.is-scrolled,
.em-header.is-inner {
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(180%) blur(12px);
    -webkit-backdrop-filter: saturate(180%) blur(12px);
    box-shadow: var(--em-shadow-sm);
}
.em-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--em-header-h);
    gap: 1.5rem;
}
.em-logo {
    display: inline-flex;
    align-items: center;
    gap: .625rem;
    flex-shrink: 0;
    line-height: 0; /* remove inline-gap residual */
}
.em-logo .custom-logo-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    line-height: 0;
}
/* Reset força aspecto correto independente dos atributos width/height que o WP injeta */
.em-logo img,
.em-logo .custom-logo {
    height: 34px !important;
    width: auto !important;
    max-width: 180px;
    display: block;
    object-fit: contain;
    transition: filter .3s var(--em-ease), opacity .3s var(--em-ease);
}
@media (min-width: 720px) {
    .em-logo img,
    .em-logo .custom-logo { height: 40px !important; max-width: 220px; }
}
/* Topo transparente: inverte para versão clara legível sobre o hero escuro */
.em-header:not(.is-scrolled):not(.is-inner) .em-logo img,
.em-header:not(.is-scrolled):not(.is-inner) .em-logo .custom-logo {
    filter: brightness(0) invert(1) drop-shadow(0 1px 2px rgba(0, 0, 0, .35));
}
.em-logo__text {
    font-weight: 800;
    font-size: 1.0625rem;
    color: #fff;
    letter-spacing: -.01em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .25);
    line-height: 1;
}
.em-header.is-scrolled .em-logo__text,
.em-header.is-inner .em-logo__text { color: var(--em-text); text-shadow: none; }
/* Logo no rodapé escuro */
.em-footer .em-logo img,
.em-footer .em-logo .custom-logo {
    filter: brightness(0) invert(1);
    height: 36px !important;
    max-width: 200px;
}

.em-nav { display: none; }
.em-nav ul { list-style: none; padding: 0; margin: 0; display: flex; gap: 2rem; }
.em-nav a {
    color: rgba(255, 255, 255, .92);
    font-weight: 500;
    font-size: .95rem;
    position: relative;
}
.em-nav a:hover { color: #fff; }
.em-nav a::after {
    content: '';
    position: absolute;
    left: 0; bottom: -6px;
    width: 0; height: 2px;
    background: var(--em-primary);
    transition: width .25s var(--em-ease);
}
.em-nav a:hover::after,
.em-nav a.is-active::after { width: 100%; }
.em-nav a.is-active { color: #fff; }
.em-header.is-scrolled .em-nav a,
.em-header.is-inner .em-nav a { color: var(--em-text-soft); }
.em-header.is-scrolled .em-nav a:hover,
.em-header.is-inner .em-nav a:hover,
.em-header.is-scrolled .em-nav a.is-active,
.em-header.is-inner .em-nav a.is-active { color: var(--em-primary); }

.em-header__cta { display: none; }

.em-burger {
    background: transparent;
    border: 0;
    width: 44px; height: 44px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 0;
}
.em-burger span {
    display: block;
    width: 22px; height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .25s var(--em-ease), opacity .25s var(--em-ease), background .25s var(--em-ease);
}
.em-header.is-scrolled .em-burger span,
.em-header.is-inner .em-burger span { background: var(--em-text); }
body.menu-open .em-burger span { background: var(--em-text); }
body.menu-open .em-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .em-burger span:nth-child(2) { opacity: 0; }
body.menu-open .em-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* mobile menu */
.em-mobile-menu {
    position: fixed;
    inset: var(--em-header-h) 0 0;
    background: #fff;
    z-index: 99;
    padding: 2rem var(--em-gutter);
    transform: translateX(100%);
    transition: transform .3s var(--em-ease);
    overflow-y: auto;
}
body.menu-open .em-mobile-menu { transform: translateX(0); }
.em-mobile-menu ul { list-style: none; padding: 0; margin: 0 0 2rem; }
.em-mobile-menu li { border-bottom: 1px solid var(--em-border); }
.em-mobile-menu a {
    display: block;
    padding: 1rem 0;
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--em-text);
}
.em-mobile-menu .em-btn { width: 100%; justify-content: center; }

/* ---------- HERO ---------- */
.em-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
    padding: calc(var(--em-header-h) + 3rem) 0 4rem;
    background: linear-gradient(135deg, #0B1220 0%, #0848C2 100%);
}
.em-hero__bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}
.em-hero__overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(11, 18, 32, .82) 0%, rgba(8, 72, 194, .72) 100%);
    z-index: 1;
}
.em-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
.em-hero__content { max-width: 620px; }
.em-hero h1 {
    color: #fff;
    margin-bottom: 1.25rem;
    animation: emFadeUp .8s var(--em-ease) both;
}
.em-hero h1 .em-highlight {
    background: linear-gradient(90deg, #4DA3FF, #25D366);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.em-hero__sub {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(255, 255, 255, .85);
    margin-bottom: 2rem;
    animation: emFadeUp .8s .15s var(--em-ease) both;
}
.em-hero__cta { display: flex; flex-wrap: wrap; gap: .875rem; margin-bottom: 2.25rem; animation: emFadeUp .8s .3s var(--em-ease) both; }
.em-hero__proof {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: rgba(255, 255, 255, .85);
    font-size: .95rem;
    animation: emFadeUp .8s .45s var(--em-ease) both;
}
.em-hero__proof-avatars { display: inline-flex; }
.em-hero__proof-avatars span {
    display: inline-block;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4DA3FF, #25D366);
    border: 2px solid #fff;
    margin-left: -10px;
}
.em-hero__proof-avatars span:first-child { margin-left: 0; }

.em-hero__visual {
    position: relative;
    animation: emFadeUp .8s .3s var(--em-ease) both;
    display: none; /* mobile: esconde para o foco ficar no headline */
}
@media (min-width: 960px) {
    .em-hero__visual { display: block; }
}
.em-hero__visual img {
    border-radius: var(--em-radius-lg);
    box-shadow: var(--em-shadow-lg);
    width: 100%;
}

/* Mockup glass — composição visual quando não há imagem */
.em-mockup {
    position: relative;
    padding: 1.75rem;
    border-radius: var(--em-radius-lg);
    background: linear-gradient(160deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .04));
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, .35);
}
.em-mockup__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}
.em-mockup__title {
    color: #fff;
    font-weight: 600;
    font-size: .95rem;
    display: flex;
    align-items: center;
    gap: .5rem;
}
.em-mockup__dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--em-accent);
    box-shadow: 0 0 0 4px rgba(37, 211, 102, .25);
}
.em-mockup__pill {
    font-size: .72rem;
    color: rgba(255, 255, 255, .85);
    padding: .28rem .6rem;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    font-weight: 600;
    letter-spacing: .04em;
}
.em-mockup__big {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1;
    margin-bottom: .35rem;
}
.em-mockup__big-label {
    color: rgba(255, 255, 255, .75);
    font-size: .85rem;
    margin-bottom: 1.5rem;
}
.em-mockup__chart {
    display: flex;
    align-items: flex-end;
    gap: .5rem;
    height: 120px;
    padding-top: .75rem;
    border-top: 1px dashed rgba(255, 255, 255, .12);
}
.em-mockup__bar {
    flex: 1;
    background: linear-gradient(180deg, rgba(77, 163, 255, .9), rgba(37, 211, 102, .85));
    border-radius: 6px 6px 2px 2px;
    transform-origin: bottom;
    animation: emGrow .9s var(--em-ease) both;
}
.em-mockup__bar:nth-child(1) { height: 35%; animation-delay: .4s; }
.em-mockup__bar:nth-child(2) { height: 55%; animation-delay: .5s; }
.em-mockup__bar:nth-child(3) { height: 45%; animation-delay: .6s; }
.em-mockup__bar:nth-child(4) { height: 70%; animation-delay: .7s; }
.em-mockup__bar:nth-child(5) { height: 60%; animation-delay: .8s; }
.em-mockup__bar:nth-child(6) { height: 88%; animation-delay: .9s; opacity: 1; }
.em-mockup__bar:nth-child(7) { height: 100%; animation-delay: 1s;  background: linear-gradient(180deg, #25D366, #1FAE54); }

/* Card flutuante de "imposto reduzido" */
.em-mockup__floater {
    position: absolute;
    background: #fff;
    color: var(--em-text);
    padding: .9rem 1.1rem;
    border-radius: var(--em-radius);
    box-shadow: 0 18px 38px rgba(0, 0, 0, .25);
    display: flex;
    align-items: center;
    gap: .75rem;
    animation: emFloat 4.5s ease-in-out infinite;
}
.em-mockup__floater--top {
    top: -1.25rem;
    right: -1.25rem;
    animation-delay: .3s;
}
.em-mockup__floater--bottom {
    bottom: -1.5rem;
    left: -1rem;
    animation-direction: alternate-reverse;
}
.em-mockup__floater-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--em-primary-light);
    color: var(--em-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.em-mockup__floater--bottom .em-mockup__floater-icon {
    background: rgba(37, 211, 102, .15);
    color: var(--em-accent-dark);
}
.em-mockup__floater-icon svg { width: 20px; height: 20px; }
.em-mockup__floater-label {
    font-size: .72rem;
    color: var(--em-text-muted);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 600;
}
.em-mockup__floater-value {
    font-weight: 700;
    font-size: .95rem;
    color: var(--em-text);
    line-height: 1.2;
}
@keyframes emFloat {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-8px); }
}
@keyframes emGrow {
    from { transform: scaleY(0); opacity: 0; }
    to   { transform: scaleY(1); opacity: 1; }
}

/* ---------- ABOUT ---------- */
.em-about__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: center;
}
.em-about__stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}
.em-stat {
    padding: 1.5rem;
    background: var(--em-bg);
    border: 1px solid var(--em-border);
    border-radius: var(--em-radius);
    text-align: left;
}
.em-stat__num {
    display: block;
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--em-primary);
    letter-spacing: -.02em;
    line-height: 1;
}
.em-stat__label { color: var(--em-text-soft); font-size: .9rem; margin-top: .375rem; }

/* ---------- SERVICES ---------- */
.em-services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.em-service-card {
    background: #fff;
    padding: 2rem;
    border-radius: var(--em-radius);
    border: 1px solid var(--em-border);
    transition: transform .25s var(--em-ease), box-shadow .25s var(--em-ease), border-color .25s var(--em-ease);
    display: flex;
    flex-direction: column;
}
.em-service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--em-shadow);
    border-color: var(--em-primary-light);
}
.em-service-card__icon {
    width: 56px; height: 56px;
    border-radius: var(--em-radius-sm);
    background: var(--em-primary-light);
    color: var(--em-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    font-size: 1.75rem;
    line-height: 1;
}
.em-service-card h3 { font-size: 1.25rem; margin-bottom: .5rem; }
.em-service-card p { flex: 1; margin-bottom: 1rem; }
.em-service-card__link {
    font-weight: 600;
    font-size: .9rem;
    display: inline-flex;
    align-items: center;
    gap: .375rem;
}
.em-service-card__link::after { content: '→'; transition: transform .2s var(--em-ease); }
.em-service-card__link:hover::after { transform: translateX(4px); }

/* ---------- TESTIMONIALS ---------- */
.em-testimonials__track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-bottom: 1rem;
    -ms-overflow-style: none;
    scrollbar-width: none;
}
.em-testimonials__track::-webkit-scrollbar { display: none; }
.em-testimonial {
    scroll-snap-align: start;
    background: #fff;
    padding: 2.25rem;
    border-radius: var(--em-radius);
    border: 1px solid var(--em-border);
}
.em-testimonial__stars { color: #FBBF24; font-size: 1.125rem; margin-bottom: 1rem; letter-spacing: 2px; }
.em-testimonial__text { font-size: 1.05rem; color: var(--em-text); margin-bottom: 1.5rem; }
.em-testimonial__person { display: flex; align-items: center; gap: .875rem; }
.em-testimonial__avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--em-primary), var(--em-accent));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
.em-testimonial__name { font-weight: 600; }
.em-testimonial__role { color: var(--em-text-muted); font-size: .875rem; }

.em-testimonials__nav { display: flex; justify-content: center; gap: .75rem; margin-top: 1.5rem; }
.em-testimonials__nav button {
    width: 44px; height: 44px;
    border-radius: 50%;
    border: 1px solid var(--em-border);
    background: #fff;
    color: var(--em-text);
    transition: all .2s var(--em-ease);
}
.em-testimonials__nav button:hover { background: var(--em-primary); color: #fff; border-color: var(--em-primary); }

/* ---------- CLIENTS MARQUEE ---------- */
.em-clients { padding: 4rem 0; background: var(--em-bg-alt); border-top: 1px solid var(--em-border); border-bottom: 1px solid var(--em-border); }
.em-clients__title { text-align: center; color: var(--em-text-muted); font-size: .85rem; text-transform: uppercase; letter-spacing: .15em; margin-bottom: 2rem; font-weight: 600; }
.em-marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.em-marquee__track {
    display: flex;
    gap: 4rem;
    animation: emMarquee 35s linear infinite;
    width: max-content;
}
.em-marquee__item {
    flex: 0 0 auto;
    height: 48px;
    display: inline-flex;
    align-items: center;
    color: var(--em-text-muted);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: .04em;
    opacity: .65;
    transition: opacity .2s var(--em-ease);
}
.em-marquee__item:hover { opacity: 1; }
.em-marquee__item img { max-height: 48px; width: auto; }

/* ---------- CONTACT ---------- */
.em-contact__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}
.em-contact__info p { margin-bottom: 1.5rem; }
.em-contact__channels { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.em-contact__channel {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1px solid var(--em-border);
    border-radius: var(--em-radius);
    transition: border-color .2s var(--em-ease), transform .2s var(--em-ease);
}
.em-contact__channel:hover { border-color: var(--em-primary); transform: translateX(4px); }
.em-contact__channel-icon {
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--em-primary-light);
    color: var(--em-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.em-contact__channel--whatsapp .em-contact__channel-icon { background: rgba(37, 211, 102, .12); color: var(--em-accent); }
.em-contact__channel-label { font-size: .8125rem; color: var(--em-text-muted); text-transform: uppercase; letter-spacing: .08em; }
.em-contact__channel-value { font-weight: 600; color: var(--em-text); }

.em-form {
    background: #fff;
    padding: 2.25rem;
    border-radius: var(--em-radius-lg);
    border: 1px solid var(--em-border);
    box-shadow: var(--em-shadow);
}
.em-form__field { margin-bottom: 1.125rem; }
.em-form__field label {
    display: block;
    font-size: .875rem;
    font-weight: 500;
    color: var(--em-text);
    margin-bottom: .375rem;
}
.em-form__field input,
.em-form__field textarea {
    width: 100%;
    padding: .875rem 1rem;
    border: 1.5px solid var(--em-border);
    border-radius: var(--em-radius-sm);
    background: var(--em-bg-alt);
    font-size: 1rem;
    font-family: inherit;
    color: var(--em-text);
    transition: border-color .2s var(--em-ease), background .2s var(--em-ease), box-shadow .2s var(--em-ease);
}
.em-form__field input:focus,
.em-form__field textarea:focus {
    outline: 0;
    border-color: var(--em-primary);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(11, 95, 255, .12);
}
.em-form__field textarea { min-height: 120px; resize: vertical; }
.em-form .em-btn { width: 100%; justify-content: center; }
.em-form__feedback { margin-top: 1rem; padding: .875rem 1rem; border-radius: var(--em-radius-sm); font-size: .9rem; display: none; }
.em-form__feedback.is-success { display: block; background: #ECFDF5; color: #047857; border: 1px solid #A7F3D0; }
.em-form__feedback.is-error { display: block; background: #FEF2F2; color: #B91C1C; border: 1px solid #FECACA; }

/* ---------- BLOG (HOME) ---------- */
.em-blog__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.75rem;
    margin-bottom: 2.5rem;
}
.em-post-card {
    background: #fff;
    border-radius: var(--em-radius);
    overflow: hidden;
    border: 1px solid var(--em-border);
    transition: transform .25s var(--em-ease), box-shadow .25s var(--em-ease);
    display: flex;
    flex-direction: column;
}
.em-post-card:hover { transform: translateY(-4px); box-shadow: var(--em-shadow); }
.em-post-card__thumb {
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--em-primary-light), #DBEAFE);
    overflow: hidden;
}
.em-post-card__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--em-ease); }
.em-post-card:hover .em-post-card__thumb img { transform: scale(1.05); }
.em-post-card__body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.em-post-card__meta { font-size: .8125rem; color: var(--em-text-muted); margin-bottom: .5rem; text-transform: uppercase; letter-spacing: .06em; }
.em-post-card__title { font-size: 1.125rem; margin-bottom: .5rem; }
.em-post-card__title a { color: var(--em-text); }
.em-post-card__title a:hover { color: var(--em-primary); }
.em-post-card__excerpt { color: var(--em-text-soft); font-size: .95rem; flex: 1; }
.em-blog__cta { text-align: center; }

/* ---------- BLOG (ARCHIVE) ---------- */
.em-archive { padding: calc(var(--em-header-h) + 4rem) 0 5rem; }
.em-archive__head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.em-archive__title { margin-bottom: 1rem; }
.em-archive__filters {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
    padding: 1.25rem;
    background: var(--em-bg-alt);
    border-radius: var(--em-radius);
}
.em-archive__cats {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    list-style: none;
    padding: 0;
    margin: 0;
}
.em-archive__cats a {
    display: inline-block;
    padding: .5rem 1rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--em-border);
    color: var(--em-text-soft);
    font-size: .875rem;
    font-weight: 500;
}
.em-archive__cats a:hover,
.em-archive__cats a.is-active { background: var(--em-primary); border-color: var(--em-primary); color: #fff; }
.em-search-form { display: flex; gap: .5rem; }
.em-search-form input {
    padding: .65rem 1rem;
    border: 1.5px solid var(--em-border);
    border-radius: var(--em-radius-sm);
    background: #fff;
    font-size: .9rem;
    min-width: 220px;
}
.em-search-form input:focus { outline: 0; border-color: var(--em-primary); }
.em-search-form button { padding: .65rem 1.1rem; border-radius: var(--em-radius-sm); border: 0; background: var(--em-primary); color: #fff; font-weight: 600; }

.em-pagination { display: flex; justify-content: center; gap: .5rem; margin-top: 3rem; flex-wrap: wrap; }
.em-pagination a, .em-pagination span {
    padding: .625rem 1rem;
    border-radius: var(--em-radius-sm);
    background: #fff;
    border: 1px solid var(--em-border);
    color: var(--em-text-soft);
    font-weight: 500;
    min-width: 44px;
    text-align: center;
}
.em-pagination .current { background: var(--em-primary); border-color: var(--em-primary); color: #fff; }
.em-pagination a:hover { border-color: var(--em-primary); color: var(--em-primary); }

/* ---------- SINGLE POST ---------- */
.em-single { padding: calc(var(--em-header-h) + 3rem) 0 4rem; }
.em-single__head { max-width: 760px; margin: 0 auto 2.5rem; text-align: center; }
.em-single__cat {
    display: inline-block;
    padding: .375rem 1rem;
    background: var(--em-primary-light);
    color: var(--em-primary);
    border-radius: 999px;
    font-size: .8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 1rem;
}
.em-single__meta { color: var(--em-text-muted); font-size: .9rem; }
.em-single__thumb {
    max-width: 1000px;
    margin: 0 auto 3rem;
    border-radius: var(--em-radius-lg);
    overflow: hidden;
}
.em-single__content {
    max-width: 760px;
    margin: 0 auto;
    font-size: 1.0625rem;
    line-height: 1.8;
}
.em-single__content h2 { margin: 2.5rem 0 1rem; font-size: 1.75rem; }
.em-single__content h3 { margin: 2rem 0 .75rem; font-size: 1.375rem; }
.em-single__content p { margin-bottom: 1.25rem; color: var(--em-text); }
.em-single__content img { border-radius: var(--em-radius); margin: 1.5rem 0; }
.em-single__content blockquote {
    border-left: 4px solid var(--em-primary);
    padding: .5rem 0 .5rem 1.5rem;
    margin: 1.75rem 0;
    color: var(--em-text-soft);
    font-style: italic;
    font-size: 1.125rem;
}
.em-single__content ul, .em-single__content ol { margin-bottom: 1.25rem; }
.em-single__content li { margin-bottom: .5rem; }
.em-single__content a { font-weight: 600; border-bottom: 1px solid currentColor; }
.em-single__cta {
    max-width: 760px;
    margin: 2.5rem auto;
    padding: 2.25rem;
    background: linear-gradient(135deg, var(--em-primary), var(--em-primary-dark));
    color: #fff;
    border-radius: var(--em-radius-lg);
    text-align: center;
}
.em-single__cta h3 { color: #fff; margin-bottom: .5rem; }
.em-single__cta p { color: rgba(255, 255, 255, .9); margin-bottom: 1.5rem; }

/* ---------- FLOATING WHATSAPP ---------- */
.em-wa-float {
    position: fixed;
    bottom: 1.25rem;
    right: 1.25rem;
    z-index: 90;
    width: 60px; height: 60px;
    border-radius: 50%;
    background: var(--em-accent);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 30px rgba(37, 211, 102, .45);
    transition: transform .25s var(--em-ease), box-shadow .25s var(--em-ease);
    animation: emPulse 2.4s var(--em-ease) infinite;
}
.em-wa-float:hover { transform: scale(1.08); color: #fff; box-shadow: 0 16px 36px rgba(37, 211, 102, .55); }
.em-wa-float svg { width: 30px; height: 30px; }

/* ---------- FOOTER ---------- */
.em-footer { background: var(--em-bg-dark); color: rgba(255, 255, 255, .75); padding: 4rem 0 1.5rem; }
.em-footer__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}
.em-footer__brand p { color: rgba(255, 255, 255, .65); max-width: 360px; }
.em-footer__col h4 { color: #fff; font-size: 1rem; margin-bottom: 1rem; }
.em-footer__col ul { list-style: none; padding: 0; margin: 0; }
.em-footer__col li { margin-bottom: .625rem; }
.em-footer__col a { color: rgba(255, 255, 255, .7); font-size: .95rem; }
.em-footer__col a:hover { color: #fff; }
.em-footer__social { display: flex; gap: .75rem; margin-top: 1.25rem; }
.em-footer__social a {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background .2s var(--em-ease), transform .2s var(--em-ease);
}
.em-footer__social a:hover { background: var(--em-primary); transform: translateY(-3px); color: #fff; }
.em-footer__social svg { width: 18px; height: 18px; }
.em-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
    align-items: center;
    text-align: center;
    font-size: .875rem;
    color: rgba(255, 255, 255, .55);
}

/* ---------- ANIMATIONS ---------- */
@keyframes emFadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes emPulse {
    0%, 100% { box-shadow: 0 12px 30px rgba(37, 211, 102, .45), 0 0 0 0 rgba(37, 211, 102, .5); }
    50%      { box-shadow: 0 12px 30px rgba(37, 211, 102, .45), 0 0 0 14px rgba(37, 211, 102, 0); }
}
@keyframes emMarquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

[data-em-reveal] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s var(--em-ease), transform .7s var(--em-ease);
}
[data-em-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ---------- RESPONSIVE ---------- */
@media (min-width: 720px) {
    .em-services__grid { grid-template-columns: repeat(2, 1fr); }
    .em-blog__grid { grid-template-columns: repeat(2, 1fr); }
    .em-testimonials__track { grid-auto-columns: calc(50% - .75rem); }
    .em-footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .em-about__stats { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 960px) {
    .em-nav { display: block; }
    .em-header__cta { display: inline-flex; }
    .em-burger { display: none; }
    .em-hero__inner { grid-template-columns: 1.1fr .9fr; gap: 4rem; }
    .em-about__grid { grid-template-columns: 1fr 1fr; gap: 4rem; }
    .em-services__grid { grid-template-columns: repeat(3, 1fr); }
    .em-testimonials__track { grid-auto-columns: calc(33.333% - 1rem); }
    .em-blog__grid { grid-template-columns: repeat(3, 1fr); }
    .em-contact__grid { grid-template-columns: 1fr 1.1fr; gap: 4rem; }
    .em-footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
    .em-footer__bottom { flex-direction: row; justify-content: space-between; }
}
@media (min-width: 1100px) {
    :root { --em-gutter: 2rem; }
}
