/* AgentLabs — Landing v5 (referência visual: landing consumer BR clara + WhatsApp) */
:root {
    --ma5-bg: #f8faf9;
    --ma5-surface: #ffffff;
    --ma5-ink: #0f172a;
    --ma5-ink-muted: #475569;
    --ma5-border: #e2e8f0;
    --ma5-green: #16a34a;
    --ma5-green-dark: #15803d;
    --ma5-wa: #25d366;
    --ma5-wa-hover: #1ebe5d;
    --ma5-brand: #ffc600;
    --ma5-brand-ink: #0a0a0a;
    --ma5-radius: 1.25rem;
    --ma5-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.12);
    --ma5-header-h: 4.25rem;
    /* Hero mobile (tema escuro referência) */
    --ma5-m-ink: #f8fafc;
    --ma5-m-muted: rgba(248, 250, 252, 0.72);
    --ma5-m-bar: rgba(24, 24, 32, 0.92);
    --ma5-kicker-dark: #2c2c2c;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body.ma5 {
    font-family: 'Plus Jakarta Sans', 'Inter', system-ui, sans-serif;
    background: var(--ma5-bg);
    color: var(--ma5-ink);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.ma5 a {
    color: inherit;
    text-decoration: none;
}

.ma5 img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ——— Header ——— */
.ma5-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 60;
    height: var(--ma5-header-h);
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--ma5-border);
    backdrop-filter: blur(12px);
}

.ma5-header__inner {
    max-width: 72rem;
    margin: 0 auto;
    padding: 0 1.25rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.ma5-logo img {
    height: 2.5rem;
    width: auto;
    object-fit: contain;
}

.ma5-nav {
    display: none;
    align-items: center;
    gap: 1.75rem;
}

@media (min-width: 1024px) {
    .ma5-nav {
        display: flex;
    }
}

.ma5-nav a:not(.ma5-btn) {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--ma5-ink-muted);
    transition: color 0.15s;
}

.ma5-nav a:not(.ma5-btn):hover {
    color: var(--ma5-ink);
}

.ma5-nav-actions {
    display: none;
    align-items: center;
    gap: 0.75rem;
}

@media (min-width: 1024px) {
    .ma5-nav-actions {
        display: flex;
    }
}

.ma5-burger {
    display: flex;
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid var(--ma5-border);
    border-radius: 0.75rem;
    background: var(--ma5-surface);
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

@media (min-width: 1024px) {
    .ma5-burger {
        display: none;
    }
}

.ma5-header__trailing {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-left: auto;
}

.ma5-header__login {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 1.1rem;
    border-radius: 9999px;
    font-size: 0.8125rem;
    font-weight: 600;
    border: 1px solid rgba(124, 58, 237, 0.55);
    color: #7c3aed;
    background: transparent;
    transition: background 0.15s, border-color 0.15s;
}

.ma5-header__login:hover {
    background: rgba(124, 58, 237, 0.08);
    border-color: #7c3aed;
}

.ma5-drawer {
    position: fixed;
    inset: 0;
    z-index: 70;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s;
}

.ma5-drawer.open {
    pointer-events: auto;
    opacity: 1;
}

.ma5-drawer__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.45);
}

.ma5-drawer__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(20rem, 88vw);
    height: 100%;
    background: var(--ma5-surface);
    padding: 1.25rem;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ma5-drawer.open .ma5-drawer__panel {
    transform: translateX(0);
}

.ma5-drawer a {
    padding: 0.5rem 0;
    font-weight: 600;
    border-bottom: 1px solid var(--ma5-border);
}

/* ——— Buttons ——— */
.ma5-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.35rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
    border: none;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s, color 0.15s, box-shadow 0.15s, transform 0.1s;
}

.ma5-btn:active {
    transform: scale(0.98);
}

.ma5-btn--primary {
    background: var(--ma5-brand);
    color: var(--ma5-brand-ink);
    box-shadow: 0 4px 14px rgba(255, 198, 0, 0.35);
}

.ma5-btn--primary:hover {
    filter: brightness(1.05);
}

.ma5-btn--wa {
    background: var(--ma5-wa);
    color: #fff;
}

.ma5-btn--wa:hover {
    background: var(--ma5-wa-hover);
}

.ma5-btn--ghost {
    background: transparent;
    color: var(--ma5-ink);
    border: 1px solid var(--ma5-border);
}

.ma5-btn--lg {
    padding: 0.9rem 1.75rem;
    font-size: 1rem;
}

/* ——— Hero ——— */
.ma5-hero {
    padding: calc(var(--ma5-header-h) + 3rem) 1.25rem 4rem;
    max-width: 72rem;
    margin: 0 auto;
}

@media (min-width: 768px) {
    .ma5-hero {
        padding-bottom: 5rem;
    }
}

.ma5-hero__grid {
    display: grid;
    gap: 3rem;
    align-items: center;
}

@media (min-width: 1024px) {
    .ma5-hero__grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

.ma5-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #92400e;
    background: rgba(255, 198, 0, 0.14);
    border: 1px solid rgba(255, 198, 0, 0.35);
    padding: 0.35rem 0.85rem;
    border-radius: 9999px;
    margin-bottom: 1.25rem;
}

.ma5-eyebrow__dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: var(--ma5-wa);
    flex-shrink: 0;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.25);
}

.ma5-eyebrow--caps {
    text-transform: uppercase;
    letter-spacing: 0.07em;
    font-size: 0.75rem;
}

.ma5-hero__title {
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.ma5-hero__accent {
    color: var(--ma5-brand);
}

.ma5-hero__sub {
    font-size: 1.125rem;
    color: var(--ma5-ink-muted);
    max-width: 32rem;
    margin-bottom: 1.75rem;
}

.ma5-hero__pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.ma5-pill {
    font-size: 0.8125rem;
    font-weight: 600;
    padding: 0.4rem 0.9rem;
    background: var(--ma5-surface);
    border: 1px solid var(--ma5-border);
    border-radius: 9999px;
    color: var(--ma5-ink-muted);
}

.ma5-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.875rem;
}

.ma5-hero__visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Ícones orbitando o mock (só mobile) */
.ma5-hero__orbit {
    display: none;
}

/* Barra de confiança sob o hero (só mobile) */
.ma5-hero__mobile-trust {
    display: none;
}

/* ——— Dispositivo + mock WhatsApp (hero) ——— */
.ma5-device {
    position: relative;
    width: 100%;
    max-width: 17.25rem;
    margin: 0 auto;
    padding: 0.65rem;
    background: linear-gradient(145deg, #2d2d35 0%, #131318 50%, #1f1f26 100%);
    border-radius: 3rem;
    box-shadow:
        0 2px 4px rgba(255, 255, 255, 0.06) inset,
        0 50px 80px -20px rgba(15, 23, 42, 0.45),
        0 25px 35px -15px rgba(15, 23, 42, 0.35);
}

.ma5-device__bezel {
    position: absolute;
    top: 0.92rem;
    left: 50%;
    transform: translateX(-50%);
    width: 32%;
    height: 1.42rem;
    background: #0c0c0e;
    border-radius: 0 0 1.2rem 1.2rem;
    z-index: 4;
    pointer-events: none;
}

.ma5-device__speaker {
    position: absolute;
    top: 0.35rem;
    left: 50%;
    transform: translateX(-50%);
    width: 2.5rem;
    height: 0.22rem;
    background: #2a2a2e;
    border-radius: 99px;
}

.ma5-device__screen {
    position: relative;
    border-radius: 2.35rem;
    overflow: hidden;
    background: #0b141a;
}

/* MacBook — seção Atendimento */
.ma5-mac {
    position: relative;
    width: 100%;
    max-width: 38rem;
    margin: 0 auto;
}

.ma5-mac__lid {
    border-radius: 0.9rem 0.9rem 0.25rem 0.25rem;
    padding: 0.5rem 0.5rem 0.4rem;
    background: linear-gradient(165deg, #3d3d46 0%, #1c1c22 45%, #25252c 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.09) inset,
        0 28px 50px -16px rgba(15, 23, 42, 0.4),
        0 14px 24px -12px rgba(15, 23, 42, 0.28);
}

.ma5-mac__menu-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: -0.5rem -0.5rem 0.45rem;
    padding: 0.4rem 0.65rem 0.45rem;
    border-radius: 0.85rem 0.85rem 0 0;
    background: linear-gradient(180deg, #32323a 0%, #222228 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.35);
}

.ma5-mac__traffic {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.ma5-mac__traffic span {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.35);
}

.ma5-mac__traffic span:nth-child(1) {
    background: #ff5f57;
}

.ma5-mac__traffic span:nth-child(2) {
    background: #febc2e;
}

.ma5-mac__traffic span:nth-child(3) {
    background: #28c840;
}

.ma5-mac__cam {
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #2a2a30, #0f0f12);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.ma5-mac__screen {
    position: relative;
    border-radius: 0.45rem;
    overflow: hidden;
    background: #2a2a30;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.55) inset,
        0 0 0 1px rgba(255, 255, 255, 0.06);
    height: min(26rem, 58vh);
    min-height: 20rem;
    display: flex;
    flex-direction: column;
}

.ma5-mac-browser {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    background: #e8eaed;
}

.ma5-mac-browser__chrome {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.4rem 0.5rem;
    background: linear-gradient(180deg, #ebecee 0%, #dfe3e8 100%);
    border-bottom: 1px solid rgba(15, 23, 42, 0.12);
}

.ma5-mac-browser__win-btns {
    display: flex;
    align-items: center;
    gap: 0.32rem;
}

.ma5-mac-browser__win-btns span {
    width: 0.42rem;
    height: 0.42rem;
    border-radius: 50%;
    box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.28);
}

.ma5-mac-browser__win-btns span:nth-child(1) {
    background: #ff5f57;
}

.ma5-mac-browser__win-btns span:nth-child(2) {
    background: #febc2e;
}

.ma5-mac-browser__win-btns span:nth-child(3) {
    background: #28c840;
}

.ma5-mac-browser__urlbar {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.38rem;
    padding: 0.24rem 0.55rem;
    background: #fff;
    border-radius: 0.45rem;
    font-size: 0.625rem;
    font-weight: 600;
    color: #475569;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.07);
}

.ma5-mac-browser__urlbar .fa-lock {
    flex-shrink: 0;
    font-size: 0.55rem;
    color: var(--ma5-green);
}

.ma5-mac-browser__page {
    flex: 1;
    min-height: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 0.5rem;
    background: linear-gradient(155deg, #f8fafc 0%, #eef2f6 45%, #f1f5f9 100%);
    overflow: hidden;
}

.ma5-mac-browser__page::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -22%;
    width: 75%;
    height: 75%;
    background: radial-gradient(circle, rgba(255, 198, 0, 0.22) 0%, transparent 68%);
    pointer-events: none;
}

.ma5-mac-browser__page::after {
    content: '';
    position: absolute;
    bottom: -18%;
    left: -12%;
    width: 50%;
    height: 50%;
    background: radial-gradient(circle, rgba(22, 163, 74, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.ma5-mac .ma5-inset-app {
    position: relative;
    z-index: 1;
    flex: 1;
    min-height: 0;
    height: auto;
    min-height: 12rem;
    max-height: none;
    border-radius: 0.5rem;
    background: var(--ma5-surface);
    box-shadow:
        0 18px 44px -14px rgba(15, 23, 42, 0.18),
        0 0 0 1px rgba(15, 23, 42, 0.07);
    overflow: hidden;
}

.ma5-inset-app__head--desk {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.35rem 0.75rem;
    padding: 0.55rem 0.75rem 0.45rem;
    background: linear-gradient(180deg, #ffffff 0%, #fafbfc 100%);
}

.ma5-inset-app__logo {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: var(--ma5-ink);
}

.ma5-inset-app__nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.58rem;
    font-weight: 600;
    color: var(--ma5-ink-muted);
}

.ma5-inset-app__nav span {
    white-space: nowrap;
}

.ma5-inset-app__cta {
    font-size: 0.58rem;
    font-weight: 700;
    padding: 0.32rem 0.72rem;
    border-radius: 9999px;
    background: var(--ma5-brand);
    color: var(--ma5-brand-ink);
    box-shadow: 0 2px 10px rgba(255, 198, 0, 0.38);
}

.ma5-inset-app__tagline {
    width: 100%;
    margin: 0;
    padding: 0.15rem 0 0;
    font-size: 0.62rem;
    font-weight: 500;
    color: var(--ma5-ink-muted);
    line-height: 1.35;
}

.ma5-inset-app__tagline strong {
    color: var(--ma5-ink);
    font-weight: 700;
}

.ma5-inset-app__thread-kicker {
    flex-shrink: 0;
    margin: 0;
    padding: 0.45rem 0.75rem 0.15rem;
    font-size: 0.58rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #64748b;
}

.ma5-mac .ma5-inset-app__thread {
    padding-top: 0.3rem;
}

.ma5-mac__hinge {
    height: 0.28rem;
    margin: 0 12%;
    background: linear-gradient(180deg, #1a1a1f, #131316);
    border-radius: 0 0 2px 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.ma5-mac__base {
    height: 0.55rem;
    margin: 0 auto;
    width: 78%;
    max-width: 22rem;
    background: linear-gradient(180deg, #d4d7de 0%, #a8adb8 42%, #9ca3af 100%);
    border-radius: 0 0 0.4rem 0.4rem;
    box-shadow: 0 12px 28px -8px rgba(15, 23, 42, 0.35);
    position: relative;
}

.ma5-mac__base::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0.08rem;
    transform: translateX(-50%);
    width: 18%;
    height: 0.18rem;
    background: rgba(55, 60, 70, 0.35);
    border-radius: 99px;
}

.ma5-inset-app {
    display: flex;
    flex-direction: column;
    height: min(31rem, 76vh);
    min-height: 26rem;
    max-height: 36rem;
    background: var(--ma5-surface);
    font-family: inherit;
}

.ma5-inset-app__head {
    flex-shrink: 0;
    padding: 1rem 1.15rem;
    font-weight: 700;
    font-size: 1rem;
    color: var(--ma5-ink);
    border-bottom: 1px solid var(--ma5-border);
}

.ma5-inset-app__body {
    flex: 1;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.ma5-inset-app__thread {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 1.1rem 1.15rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    scrollbar-width: thin;
}

.ma5-inset-log-line {
    margin: 0;
    font-size: 0.875rem;
    color: var(--ma5-ink-muted);
    line-height: 1.55;
}

.ma5-inset-log-line strong {
    color: var(--ma5-ink);
}

.ma5-inset-typing-row {
    display: flex;
    align-items: center;
    gap: 0.55rem;
}

.ma5-inset-typing {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 0.75rem;
    background: #f1f5f9;
    border-radius: 9999px;
    border: 1px solid var(--ma5-border);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.06);
}

.ma5-inset-typing span {
    width: 0.38rem;
    height: 0.38rem;
    background: #64748b;
    border-radius: 50%;
    animation: ma5-wa-dot 1.2s infinite ease-in-out;
}

.ma5-inset-typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.ma5-inset-typing span:nth-child(3) {
    animation-delay: 0.4s;
}

.ma5-inset-typing__label {
    font-size: 0.75rem;
    font-weight: 600;
    font-style: italic;
    color: var(--ma5-ink-muted);
}

.ma5-inset-app__highlight {
    margin: 0;
    padding: 0.75rem 0.85rem;
    background: var(--ma5-bg);
    border-radius: 0.65rem;
    border-left: 3px solid var(--ma5-green);
}

.ma5-inset-app__highlight p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--ma5-ink-muted);
    line-height: 1.55;
}

.ma5-inset-app__highlight strong {
    color: var(--ma5-ink);
}

.ma5-wa {
    display: flex;
    flex-direction: column;
    /* Altura fixa: sem isso o mock cresce com o texto e o chat não “encosta” na barra inferior */
    height: min(31rem, 76vh);
    min-height: 26rem;
    max-height: 36rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.ma5-wa-topbar {
    flex-shrink: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.35rem 1rem 0.2rem;
    background: #075e54;
    color: rgba(255, 255, 255, 0.95);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.ma5-wa-topbar__icons {
    display: flex;
    gap: 0.35rem;
    font-size: 0.62rem;
    opacity: 0.95;
}

.ma5-wa-header {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.65rem 0.55rem;
    background: #075e54;
    color: #fff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.ma5-wa-header__chev,
.ma5-wa-header__dots {
    font-size: 1rem;
    opacity: 0.95;
    padding: 0.15rem;
}

.ma5-wa-header__avatar {
    width: 2.35rem;
    height: 2.35rem;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffc600, #f59e0b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: #0a0a0a;
    font-size: 1rem;
    flex-shrink: 0;
}

.ma5-wa-header__info {
    flex: 1;
    min-width: 0;
}

.ma5-wa-header__name-row {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.ma5-wa-header__name {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.ma5-wa-header__verified {
    color: #53bdeb;
    font-size: 0.875rem;
}

.ma5-wa-header__status {
    display: block;
    font-size: 0.75rem;
    opacity: 0.88;
    margin-top: 0.05rem;
}

.ma5-wa-header__status.ma5-wa-header__status--typing {
    font-style: italic;
    opacity: 0.92;
}

.ma5-wa-chat {
    flex: 1;
    min-height: 0;
    display: grid;
    grid-template-rows: 1fr auto;
    align-content: stretch;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 0.35rem 0.6rem 0.5rem;
    background-color: #e5ddd5;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c8beb0' fill-opacity='0.35'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    scrollbar-width: none;
}

.ma5-wa-chat__spacer {
    min-height: 0;
    pointer-events: none;
}

.ma5-wa-chat__thread {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-content: flex-end;
    min-height: min-content;
}

.ma5-wa-chat::-webkit-scrollbar {
    display: none;
}

.ma5-wa-day-pill {
    text-align: center;
    margin: 0 0 0.4rem;
    align-self: center;
}

.ma5-wa-day-pill span {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #54656f;
    background: rgba(255, 255, 255, 0.92);
    padding: 0.25rem 0.65rem;
    border-radius: 0.5rem;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.06);
}

.ma5-wa-row {
    width: 100%;
    margin-bottom: 0.35rem;
    display: flex;
}

.ma5-wa-row--out {
    justify-content: flex-end;
}

.ma5-wa-row--in {
    justify-content: flex-start;
}

/* Passos ainda não revelados não entram no layout — o fio cresce no tempo, como chat real */
.ma5-wa-chat__thread .ma5-wa-row:has(.ma5-chat-step:not(.visible)) {
    display: none;
}

.ma5-inset-app__thread > .ma5-chat-step:not(.visible) {
    display: none;
}

.ma5-chat-step {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
    transition:
        opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

.ma5-chat-step.visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Hero WhatsApp: cadência e entrada um pouco mais lentas que o padrão */
#ma5-hero-chat .ma5-chat-step {
    transition:
        opacity 0.58s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.ma5-wa-bubble {
    position: relative;
    max-width: 92%;
    padding: 0.35rem 0.45rem 1rem 0.55rem;
    border-radius: 0.7rem;
    box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
    font-size: 0.8125rem;
    line-height: 1.35;
    color: #111b21;
}

.ma5-wa-bubble__text {
    margin: 0;
    padding-right: 3.25rem;
}

.ma5-wa-bubble--out {
    background: #d9fdd3;
    border-radius: 0.7rem 0.7rem 0 0.7rem;
}

.ma5-wa-bubble--out::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -0.35rem;
    width: 0.55rem;
    height: 0.55rem;
    background: linear-gradient(225deg, #d9fdd3 50%, transparent 50%);
}

.ma5-wa-bubble--in {
    background: #fff;
    border-radius: 0.7rem 0.7rem 0.7rem 0;
}

.ma5-wa-bubble--in::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -0.35rem;
    width: 0.55rem;
    height: 0.55rem;
    background: linear-gradient(135deg, #fff 50%, transparent 50%);
}

.ma5-wa-bubble__sender {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #06cf9c;
    margin-bottom: 0.15rem;
}

.ma5-wa-bubble__sender .fa-check-circle {
    color: #53bdeb;
    font-size: 0.75rem;
}

.ma5-wa-bubble__meta {
    position: absolute;
    right: 0.45rem;
    bottom: 0.2rem;
    font-size: 0.625rem;
    color: #667781;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.ma5-wa-bubble__ticks {
    color: #53bdeb;
    font-size: 0.7rem;
}

.ma5-wa-typing {
    display: none;
    align-items: center;
    gap: 0.3rem;
    padding: 0.65rem 0.9rem;
    background: #fff;
    border-radius: 0.5rem 0.5rem 0.5rem 0;
    box-shadow: 0 1px 0.5px rgba(11, 20, 26, 0.13);
    min-width: 3.25rem;
}

.ma5-wa-typing.visible {
    display: flex;
}

.ma5-wa-typing span {
    width: 0.45rem;
    height: 0.45rem;
    background: #8696a0;
    border-radius: 50%;
    animation: ma5-wa-dot 1.2s infinite ease-in-out;
}

.ma5-wa-typing span:nth-child(2) {
    animation-delay: 0.2s;
}

.ma5-wa-typing span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes ma5-wa-dot {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.45;
    }
    30% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

.ma5-wa-compose {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.5rem 0.55rem;
    background: #f0f2f5;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.ma5-wa-compose__plus {
    width: 2.1rem;
    height: 2.1rem;
    border: none;
    background: transparent;
    color: #54656f;
    font-size: 1.25rem;
    cursor: default;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.ma5-wa-compose__input {
    flex: 1;
    background: #fff;
    border-radius: 1.5rem;
    padding: 0.55rem 1rem;
    font-size: 0.875rem;
    color: #8696a0;
    box-shadow: 0 1px 1px rgba(11, 20, 26, 0.08);
}

.ma5-wa-compose__mic {
    width: 2.6rem;
    height: 2.6rem;
    border: none;
    border-radius: 50%;
    background: #00a884;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    cursor: default;
    box-shadow: 0 2px 4px rgba(0, 168, 132, 0.35);
}

.ma5-float-card {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    position: static;
    align-self: center;
    margin-top: 1.25rem;
    max-width: min(100%, 20rem);
    justify-content: center;
    background: var(--ma5-surface);
    padding: 0.75rem 1.25rem;
    border-radius: 9999px;
    box-shadow: var(--ma5-shadow);
    border: 1px solid var(--ma5-border);
    font-size: 0.8125rem;
    font-weight: 600;
    text-align: center;
    color: var(--ma5-ink);
}

/* ——— Marquee stats ——— */
.ma5-marquee-wrap {
    overflow: hidden;
    border-top: 1px solid var(--ma5-border);
    border-bottom: 1px solid var(--ma5-border);
    background: var(--ma5-surface);
    padding: 1.25rem 0;
}

.ma5-marquee {
    display: flex;
    gap: 3rem;
    animation: ma5-marquee 28s linear infinite;
    width: max-content;
}

@keyframes ma5-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ma5-marquee__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
    font-weight: 700;
    font-size: 0.9375rem;
    color: var(--ma5-ink-muted);
}

.ma5-marquee__item i {
    color: var(--ma5-brand);
}

/* ——— Sections ——— */
.ma5-section {
    padding: 4.5rem 1.25rem;
}

.ma5-section--alt {
    background: var(--ma5-surface);
}

.ma5-section__inner {
    max-width: 72rem;
    margin: 0 auto;
}

.ma5-section__head {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto 3rem;
}

.ma5-section__kicker {
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ma5-green-dark);
    margin-bottom: 0.5rem;
}

.ma5-section__kicker--dark {
    color: var(--ma5-kicker-dark);
}

.ma5-section__title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 0.75rem;
}

.ma5-section__lead {
    color: var(--ma5-ink-muted);
    font-size: 1.0625rem;
}

.ma5-split {
    display: grid;
    gap: 2.5rem;
    align-items: center;
}

@media (min-width: 960px) {
    .ma5-split {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
    .ma5-split--reverse .ma5-split__text {
        order: 2;
    }
    .ma5-split--reverse .ma5-split__visual {
        order: 1;
    }
}

.ma5-split__text h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.ma5-split__text p {
    color: var(--ma5-ink-muted);
    margin-bottom: 1rem;
}

.ma5-checklist {
    list-style: none;
    margin-top: 1.25rem;
}

.ma5-checklist li {
    display: flex;
    gap: 0.65rem;
    margin-bottom: 0.65rem;
    font-weight: 500;
}

.ma5-checklist i {
    color: var(--ma5-green);
    margin-top: 0.2rem;
}

/* Simulação Google Calendar — agendamento na agenda do lead */
.ma5-gcal {
    position: relative;
    max-width: 24rem;
    margin: 0 auto;
    border-radius: var(--ma5-radius);
    background: #fff;
    border: 1px solid var(--ma5-border);
    box-shadow: var(--ma5-shadow);
    overflow: hidden;
}

.ma5-gcal__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding: 0.55rem 0.75rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e8eaed;
    font-size: 0.7rem;
    color: #3c4043;
}

.ma5-gcal__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-weight: 600;
    color: #5f6368;
}

.ma5-gcal__brand .fab.fa-google {
    color: #4285f4;
    font-size: 0.85rem;
}

.ma5-gcal__today {
    font-weight: 700;
    color: #3c4043;
}

.ma5-gcal__chip {
    padding: 0.22rem 0.55rem;
    border-radius: 99px;
    background: #e8f0fe;
    color: #1967d2;
    font-weight: 600;
    font-size: 0.62rem;
}

.ma5-gcal__providers {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    padding: 0.4rem 0.65rem 0.45rem;
    background: #fff;
    border-bottom: 1px solid #e8eaed;
}

.ma5-gcal__prov {
    display: inline-flex;
    align-items: center;
    gap: 0.38rem;
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.3rem 0.6rem;
    border-radius: 0.45rem;
    border: 1px solid #e8eaed;
    color: #3c4043;
    background: #fafafa;
}

.ma5-gcal__prov .fab.fa-google {
    font-size: 0.8rem;
    color: #4285f4;
}

.ma5-gcal__prov .fab.fa-microsoft {
    font-size: 0.75rem;
    color: #0078d4;
}

.ma5-gcal__board {
    padding: 0.65rem 0.75rem 0.45rem;
}

.ma5-gcal__col-head {
    text-align: center;
    margin-bottom: 0.5rem;
}

.ma5-gcal__dow {
    display: block;
    font-size: 0.62rem;
    font-weight: 700;
    color: #1a73e8;
    letter-spacing: 0.05em;
}

.ma5-gcal__dom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-top: 0.2rem;
    border-radius: 50%;
    background: #1a73e8;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
}

.ma5-gcal__grid {
    display: grid;
    grid-template-columns: 2.65rem 1fr;
    gap: 0 0.35rem;
    align-items: stretch;
}

.ma5-gcal__hours {
    display: flex;
    flex-direction: column;
    padding-top: 0.15rem;
    font-size: 0.62rem;
    color: #70757a;
    text-align: right;
    line-height: 1;
}

.ma5-gcal__hours span {
    flex: 1;
    min-height: 3.55rem;
    padding-top: 0.1rem;
}

.ma5-gcal__cells {
    display: flex;
    flex-direction: column;
    border: 1px solid #e8eaed;
    border-radius: 0.5rem;
    overflow: hidden;
}

.ma5-gcal__cell {
    min-height: 3.55rem;
    border-bottom: 1px solid #f1f3f4;
    position: relative;
    background: #fff;
}

.ma5-gcal__cell--hot {
    background: #fafbfd;
    min-height: 3.85rem;
}

.ma5-gcal__cell:last-child {
    border-bottom: none;
}

.ma5-gcal__pulse {
    position: absolute;
    inset: 0.2rem 0.35rem;
    border-radius: 0.35rem;
    pointer-events: none;
    opacity: 0;
}

.ma5-gcal__pulse.visible {
    opacity: 1;
    animation: ma5-gcal-pulse 1.05s ease-out 2;
}

@keyframes ma5-gcal-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(26, 115, 232, 0.42);
    }
    100% {
        box-shadow: 0 0 0 14px rgba(26, 115, 232, 0);
    }
}

.ma5-gcal__event {
    position: absolute;
    left: 0.35rem;
    right: 0.35rem;
    top: 0.18rem;
    bottom: 0.18rem;
    display: flex;
    align-items: center;
    padding: 0.45rem 0.55rem;
    background: #e8f0fe;
    border-radius: 0.35rem;
    border-left: 3px solid #1a73e8;
    box-shadow: 0 1px 2px rgba(60, 64, 67, 0.12);
    opacity: 0;
    transform: scale(0.94) translateY(6px);
    transition:
        opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.ma5-gcal__event.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.ma5-gcal__event-body {
    min-width: 0;
}

.ma5-gcal__event-body strong {
    display: block;
    font-size: 0.74rem;
    font-weight: 700;
    color: #1967d2;
    line-height: 1.3;
    margin-bottom: 0.18rem;
}

.ma5-gcal__event-body span {
    font-size: 0.64rem;
    color: #5f6368;
    line-height: 1.45;
    display: block;
}

.ma5-gcal__toast {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    margin: 0.55rem 0.75rem 0;
    padding: 0.45rem 0.65rem;
    background: #fff;
    border: 1px solid #e8eaed;
    border-radius: 0.65rem;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.1);
    font-size: 0.72rem;
    color: #3c4043;
    opacity: 0;
    transform: translateY(8px);
    transition:
        opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.ma5-gcal__toast .fa-magic {
    color: #9333ea;
    flex-shrink: 0;
}

.ma5-gcal__toast.visible {
    opacity: 1;
    transform: translateY(0);
}

.ma5-gcal__toast strong {
    color: #1a73e8;
    font-weight: 700;
}

.ma5-gcal__footnote {
    margin: 0.6rem 0.85rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ma5-green-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    text-align: center;
    opacity: 0;
    transform: translateY(6px);
    transition:
        opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.ma5-gcal__footnote.visible {
    opacity: 1;
    transform: translateY(0);
}

.ma5-gcal__footnote .fa-check-circle {
    color: var(--ma5-green);
}

@media (prefers-reduced-motion: reduce) {
    .ma5-gcal__pulse.visible {
        animation: none;
        opacity: 0.35;
    }

    .ma5-gcal__event,
    .ma5-gcal__toast,
    .ma5-gcal__footnote {
        transition: none;
    }
}

/* Feature cards grid */
.ma5-bento {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 768px) {
    .ma5-bento {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .ma5-bento {
        grid-template-columns: repeat(4, 1fr);
    }
}

.ma5-bcard {
    background: var(--ma5-surface);
    border: 1px solid var(--ma5-border);
    border-radius: var(--ma5-radius);
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(15, 23, 42, 0.06);
}

.ma5-bcard__icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 0.85rem;
    background: rgba(255, 198, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: var(--ma5-brand-ink);
}

.ma5-bcard h4 {
    font-size: 1.0625rem;
    margin-bottom: 0.35rem;
}

.ma5-bcard p {
    font-size: 0.9375rem;
    color: var(--ma5-ink-muted);
}

.ma5-dash-live__intro {
    text-align: center;
    max-width: 38rem;
    margin: 0 auto 1.75rem;
    color: var(--ma5-ink-muted);
    font-size: 1rem;
    line-height: 1.55;
}

.ma5-dash-live {
    background: var(--ma5-surface);
    border-radius: var(--ma5-radius);
    border: 1px solid var(--ma5-border);
    box-shadow: var(--ma5-shadow);
    overflow: hidden;
    max-width: 72rem;
    margin: 0 auto;
}

.ma5-dash-live__toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 1rem;
    background: linear-gradient(180deg, #f8fafc, #f1f5f9);
    border-bottom: 1px solid var(--ma5-border);
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ma5-ink-muted);
}

.ma5-dash-live__toolbar-title i {
    margin-right: 0.35rem;
    color: var(--ma5-green);
}

.ma5-dash-live__live {
    flex-shrink: 0;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.28rem 0.55rem;
    border-radius: 99px;
    background: #fef3c7;
    color: #92400e;
}

.ma5-dash-live__grid {
    display: grid;
    gap: 1.25rem;
    padding: 1.1rem 1rem 1.35rem;
}

@media (min-width: 900px) {
    .ma5-dash-live__grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
        align-items: stretch;
        padding: 1.35rem 1.25rem 1.5rem;
    }
}

.ma5-dash-live__kpis {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    height: 100%;
}

.ma5-dash-kpi {
    background: var(--ma5-bg);
    border: 1px solid var(--ma5-border);
    border-radius: 0.75rem;
    padding: 0.85rem 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition:
        opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.ma5-dash-kpi.visible {
    opacity: 1;
    transform: translateY(0);
}

.ma5-dash-kpi__lab {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--ma5-ink-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.35rem;
}

.ma5-dash-kpi__val {
    display: block;
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ma5-ink);
    line-height: 1.1;
}

.ma5-dash-kpi__val small {
    font-size: 0.52em;
    font-weight: 700;
    color: var(--ma5-ink-muted);
    margin-left: 0.08rem;
}

.ma5-dash-kpi__delta {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.72rem;
    font-weight: 600;
}

.ma5-dash-kpi__delta--up {
    color: var(--ma5-green-dark);
}

.ma5-dash-kpi__hint {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.72rem;
    color: var(--ma5-ink-muted);
}

.ma5-dash-live__gauge-wrap {
    background: linear-gradient(165deg, #f0fdf4 0%, #ecfdf5 40%, #fff 100%);
    border: 1px solid var(--ma5-border);
    border-radius: 0.85rem;
    padding: 1rem 1rem 1.15rem;
    opacity: 0;
    transform: translateY(12px);
    transition:
        opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    min-height: 100%;
    height: 100%;
}

.ma5-dash-live__gauge-head {
    flex-shrink: 0;
}

.ma5-dash-live__gauge-wrap.visible {
    opacity: 1;
    transform: translateY(0);
}

.ma5-dash-live__gauge-h {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--ma5-ink);
    margin: 0 0 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.ma5-dash-live__gauge-h .fa-heart {
    color: #e11d48;
    font-size: 0.92rem;
}

.ma5-dash-live__gauge-sub {
    font-size: 0.8125rem;
    color: var(--ma5-ink-muted);
    margin: 0 0 0.65rem;
    line-height: 1.45;
}

.ma5-gauge {
    position: relative;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 5rem;
    min-width: 0;
    max-width: 15rem;
    margin: 0 auto;
    width: 100%;
}

.ma5-gauge__svg {
    width: 100%;
    height: auto;
    display: block;
}

.ma5-gauge__fill {
    transition: stroke-dashoffset 1.75s cubic-bezier(0.22, 1, 0.36, 1);
}

.ma5-gauge--done .ma5-gauge__fill {
    stroke-dashoffset: 0.13;
}

.ma5-gauge__readout {
    position: absolute;
    left: 50%;
    bottom: 0.1rem;
    transform: translateX(-50%);
    text-align: center;
    width: 100%;
    pointer-events: none;
}

.ma5-gauge__pct {
    font-size: 2rem;
    font-weight: 800;
    color: var(--ma5-ink);
    letter-spacing: -0.03em;
}

.ma5-gauge__suffix {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--ma5-green-dark);
}

.ma5-gauge__readout-lab {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--ma5-ink-muted);
    margin-top: 0.08rem;
}

.ma5-dash-live__mini {
    margin-top: auto;
    padding-top: 0.75rem;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.ma5-dash-mini-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(4.5rem, 6rem) auto;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    color: var(--ma5-ink-muted);
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.42s ease, transform 0.45s ease;
}

.ma5-dash-mini-row.visible {
    opacity: 1;
    transform: translateX(0);
}

.ma5-dash-mini-row strong {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--ma5-ink);
    text-align: right;
}

.ma5-dash-mini-bar {
    height: 0.48rem;
    background: #e2e8f0;
    border-radius: 99px;
    overflow: hidden;
}

.ma5-dash-mini-bar span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--ma5-green), #22c55e);
    transition: width 1.15s cubic-bezier(0.22, 1, 0.36, 1);
}

.ma5-dash-mini-row.visible .ma5-dash-mini-bar span {
    width: var(--target, 90%);
}

.ma5-dash-mini-bar--amber span {
    background: linear-gradient(90deg, #fb923c, #f59e0b);
}

@media (max-width: 520px) {
    .ma5-dash-mini-row {
        grid-template-columns: 1fr;
        gap: 0.35rem;
    }

    .ma5-dash-mini-row strong {
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ma5-dash-kpi,
    .ma5-dash-live__gauge-wrap,
    .ma5-dash-mini-row {
        transition: none;
        opacity: 1;
        transform: none;
    }

    .ma5-gauge__fill {
        transition: none;
        stroke-dashoffset: 0.13;
    }

    .ma5-dash-mini-bar span {
        transition: none;
        width: var(--target, 90%);
    }
}

/* Mock dashboard */
.ma5-dash {
    background: var(--ma5-surface);
    border-radius: var(--ma5-radius);
    border: 1px solid var(--ma5-border);
    overflow: hidden;
    box-shadow: var(--ma5-shadow);
}

.ma5-dash__head {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--ma5-border);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ma5-dash__body {
    padding: 1.25rem;
    display: grid;
    gap: 1rem;
}

.ma5-stat-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.ma5-stat {
    background: var(--ma5-bg);
    border-radius: 0.75rem;
    padding: 1rem;
}

.ma5-stat strong {
    display: block;
    font-size: 1.35rem;
    font-weight: 800;
}

.ma5-stat span {
    font-size: 0.75rem;
    color: var(--ma5-ink-muted);
}

/* Integrations */
.ma5-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem 2rem;
    margin-top: 2rem;
}

.ma5-logo-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.1rem;
    background: var(--ma5-surface);
    border: 1px solid var(--ma5-border);
    border-radius: 9999px;
    font-weight: 600;
    font-size: 0.875rem;
}

.ma5-logo-chip i {
    font-size: 1.25rem;
}

/* Planos */
.ma5-plans {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 900px) {
    .ma5-plans {
        grid-template-columns: repeat(3, 1fr);
    }
}

.ma5-plan {
    background: var(--ma5-surface);
    border: 1px solid var(--ma5-border);
    border-radius: var(--ma5-radius);
    padding: 1.75rem;
    position: relative;
}

.ma5-plan--featured {
    border-color: var(--ma5-brand);
    box-shadow: 0 0 0 3px rgba(255, 198, 0, 0.25);
}

.ma5-plan__badge {
    position: absolute;
    top: -0.65rem;
    right: 1rem;
    background: var(--ma5-brand);
    color: var(--ma5-brand-ink);
    font-size: 0.6875rem;
    font-weight: 800;
    padding: 0.25rem 0.65rem;
    border-radius: 9999px;
}

.ma5-plan h4 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.ma5-plan p {
    font-size: 0.875rem;
    color: var(--ma5-ink-muted);
    margin-bottom: 1.25rem;
}

.ma5-plan ul {
    list-style: none;
    margin-bottom: 1.5rem;
    font-size: 0.9375rem;
}

.ma5-plan li {
    padding: 0.35rem 0;
    padding-left: 1.35rem;
    position: relative;
}

.ma5-plan li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--ma5-green);
    font-weight: 700;
}

/* Offer band */
.ma5-offer {
    margin-top: 3rem;
    background: linear-gradient(135deg, #0f172a 0%, #14532d 100%);
    color: #fff;
    border-radius: var(--ma5-radius);
    padding: 2.5rem 1.75rem;
    text-align: center;
}

.ma5-offer h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.ma5-offer p {
    opacity: 0.9;
    margin-bottom: 1.25rem;
}

.ma5-offer .ma5-btn--primary {
    margin-top: 0.5rem;
}

/* FAQ */
.ma5-faq {
    max-width: 42rem;
    margin: 0 auto;
}

.ma5-faq-item {
    border-bottom: 1px solid var(--ma5-border);
}

.ma5-faq-q {
    width: 100%;
    text-align: left;
    padding: 1.15rem 0;
    background: none;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    font-family: inherit;
}

.ma5-faq-q i {
    transition: transform 0.2s;
    color: var(--ma5-ink-muted);
}

.ma5-faq-item.open .ma5-faq-q i {
    transform: rotate(180deg);
}

.ma5-faq-a {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.ma5-faq-item.open .ma5-faq-a {
    max-height: 32rem;
}

.ma5-faq-a p {
    padding-bottom: 1.15rem;
    color: var(--ma5-ink-muted);
    font-size: 0.9375rem;
}

/* Form */
.ma5-form-wrap {
    display: grid;
    gap: 2rem;
}

@media (min-width: 900px) {
    .ma5-form-wrap {
        grid-template-columns: 1fr 1fr;
        align-items: start;
    }
}

.ma5-form-card {
    background: var(--ma5-surface);
    border: 1px solid var(--ma5-border);
    border-radius: var(--ma5-radius);
    padding: 1.75rem;
    box-shadow: var(--ma5-shadow);
}

.ma5-form-card--success {
    padding: 2rem 1.75rem;
}

.ma5-form-card__done {
    text-align: center;
    padding: 0.35rem 0.25rem 0;
    outline: none;
}

.ma5-success-panel__icon {
    font-size: 2.75rem;
    line-height: 1;
    color: #16a34a;
    margin-bottom: 0.85rem;
}

.ma5-success-panel__title {
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 0 0.5rem;
    color: var(--ma5-ink);
    letter-spacing: -0.02em;
}

.ma5-success-panel__text {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--ma5-ink-muted);
    line-height: 1.55;
}

.ma5-field {
    margin-bottom: 1rem;
}

.ma5-field label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 0.35rem;
}

.ma5-field input,
.ma5-field select,
.ma5-field textarea {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--ma5-border);
    border-radius: 0.65rem;
    font-family: inherit;
    font-size: 1rem;
}

.ma5-form-feedback {
    margin: 0.75rem 0;
    font-size: 0.875rem;
    padding: 0.65rem;
    border-radius: 0.5rem;
}

.ma5-form-feedback--success {
    background: #dcfce7;
    color: #166534;
}

.ma5-form-feedback--error {
    background: #fee2e2;
    color: #991b1b;
}

/* Grupo Monditech (trust / corporativo) */
.ma5-monditech {
    padding: 3.5rem 1.25rem 3.75rem;
    background:
        radial-gradient(ellipse 85% 55% at 50% -5%, rgba(139, 92, 246, 0.18), transparent),
        radial-gradient(ellipse 70% 40% at 100% 80%, rgba(236, 72, 153, 0.08), transparent),
        linear-gradient(180deg, #0b0b0f 0%, #12121a 100%);
}

.ma5-monditech__inner {
    max-width: 42rem;
    margin: 0 auto;
}

.ma5-monditech__card {
    text-align: center;
    padding: 2.25rem 1.5rem 2.5rem;
    border-radius: var(--ma5-radius);
    background: linear-gradient(165deg, #18181f 0%, #0e0e12 100%);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow:
        0 28px 64px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(139, 92, 246, 0.12);
}

.ma5-monditech__logo {
    display: block;
    width: min(13rem, 78vw);
    height: auto;
    margin: 0 auto 1.5rem;
}

.ma5-monditech__title {
    font-size: clamp(1.2rem, 3.2vw, 1.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.25;
    color: #f8fafc;
    margin: 0 0 1.25rem;
}

.ma5-monditech__card p {
    margin: 0 0 1rem;
    font-size: 0.9375rem;
    line-height: 1.65;
    color: rgba(248, 250, 252, 0.76);
}

.ma5-monditech__card p:last-of-type {
    margin-bottom: 0;
}

.ma5-monditech__card strong {
    color: #fff;
    font-weight: 700;
}

/* Footer */
.ma5-footer {
    background: #0f172a;
    color: #e2e8f0;
    padding: 3rem 1.25rem 2rem;
}

.ma5-footer__inner {
    max-width: 72rem;
    margin: 0 auto;
}

.ma5-footer__grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 768px) {
    .ma5-footer__grid {
        grid-template-columns: 2fr 1fr 1fr;
    }
}

.ma5-footer__brand p {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    opacity: 0.85;
    max-width: 28rem;
}

.ma5-footer h5 {
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
    color: #94a3b8;
}

.ma5-footer nav a {
    display: block;
    padding: 0.25rem 0;
    font-size: 0.875rem;
    opacity: 0.9;
}

.ma5-footer nav a:hover {
    opacity: 1;
    color: var(--ma5-brand);
}

.ma5-footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    font-size: 0.8125rem;
    opacity: 0.75;
}

/* Modal (reuso padrão v4) */
.ma5-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem 1rem;
    overflow-y: auto;
}

.ma5-modal[hidden] {
    display: none;
}

.ma5-modal__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
}

.ma5-modal__content {
    position: relative;
    background: var(--ma5-bg);
    border-radius: var(--ma5-radius);
    max-width: min(28rem, 100%);
    width: 100%;
    margin-top: 2rem;
    box-shadow: var(--ma5-shadow);
    padding: 1.5rem;
}

@media (min-width: 640px) {
    .ma5-modal__content {
        padding: 1.35rem 1.4rem 1.4rem;
    }
}

.ma5-modal__title {
    margin: 0 0 1rem;
    font-size: 1.35rem;
    text-align: left;
}

.ma5-modal.ma5-modal--success .ma5-modal__content {
    max-width: 22rem;
    margin-top: 10vh;
    padding: 1.75rem 1.5rem 1.5rem;
    text-align: center;
}

.ma5-modal.ma5-modal--success .ma5-modal__close {
    top: 0.85rem;
    right: 0.85rem;
}

.ma5-modal__success {
    padding: 0.35rem 0 0;
}

.ma5-modal__success .ma5-success-panel__icon {
    margin-bottom: 0.75rem;
}

.ma5-modal__success .ma5-btn {
    margin-top: 1rem;
}

.ma5-modal__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    background: var(--ma5-surface);
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1.25rem;
}

/* Pilha flutuante WhatsApp + chat (mesmo padrão landing-v4) */
.landing-float-stack {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999998;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    pointer-events: auto;
}

.landing-float-whatsapp {
    position: static;
    text-decoration: none;
    display: block;
}

.landing-float-whatsapp__btn {
    width: 60px;
    height: 60px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-float-whatsapp__btn .fab.fa-whatsapp {
    font-size: 2rem;
    color: #fff;
    line-height: 1;
}

.landing-float-whatsapp:hover .landing-float-whatsapp__btn {
    transform: scale(1.05);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.landing-float-whatsapp:focus-visible {
    outline: 2px solid var(--ma5-brand);
    outline-offset: 4px;
    border-radius: 50%;
}

.landing-float-chat {
    position: static;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    cursor: pointer;
    display: block;
    line-height: 0;
}

.landing-float-chat__btn {
    width: 60px;
    height: 60px;
    background: var(--ma5-brand);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(255, 198, 0, 0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.landing-float-chat__btn .fa-comments {
    font-size: 1.65rem;
    color: var(--ma5-brand-ink);
}

.landing-float-chat:hover .landing-float-chat__btn {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(255, 198, 0, 0.55);
}

.landing-float-chat:focus-visible {
    outline: 2px solid var(--ma5-brand);
    outline-offset: 4px;
    border-radius: 50%;
}

/* ——— Desktop: primeira dobra escura (hero + barra de navegação), demais seções claras ——— */
@media (min-width: 1024px) {
    :root {
        --ma5-header-h: 5.35rem;
    }

    .ma5-header {
        background: transparent;
        border: none;
        backdrop-filter: none;
    }

    .ma5-header__inner {
        max-width: 72rem;
        margin: 0.65rem auto 0;
        padding: 0.5rem 0.85rem;
        border-radius: 1rem;
        background: var(--ma5-m-bar);
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    }

    .ma5-nav a:not(.ma5-btn) {
        color: rgba(248, 250, 252, 0.78);
    }

    .ma5-nav a:not(.ma5-btn):hover {
        color: #fff;
    }

    .ma5-header__login {
        border-color: rgba(196, 181, 253, 0.65);
        color: #e9d5ff;
    }

    .ma5-header__login:hover {
        background: rgba(139, 92, 246, 0.2);
        border-color: #c4b5fd;
        color: #fff;
    }

    .ma5-hero {
        max-width: none;
        margin: 0;
        padding: calc(var(--ma5-header-h) + 2.5rem) 0 4.5rem;
        background:
            radial-gradient(ellipse 90% 55% at 50% -8%, rgba(139, 92, 246, 0.22), transparent),
            radial-gradient(ellipse 70% 40% at 100% 20%, rgba(236, 72, 153, 0.12), transparent),
            linear-gradient(180deg, #08080c 0%, #0f0f14 45%, #12121a 100%);
        border-radius: 0 0 1.5rem 1.5rem;
    }

    .ma5-hero__grid {
        max-width: 72rem;
        margin: 0 auto;
        padding: 0 1.25rem;
        gap: 3.5rem;
    }

    .ma5-eyebrow {
        color: var(--ma5-m-muted);
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 198, 0, 0.35);
    }

    .ma5-eyebrow__dot {
        background: #4ade80;
        box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.3);
    }

    .ma5-hero__title {
        color: var(--ma5-m-ink);
    }

    .ma5-hero__sub {
        color: var(--ma5-m-muted);
    }

    .ma5-hero__visual {
        position: relative;
    }

    .ma5-hero__orbit {
        display: block;
        position: absolute;
        inset: 0;
        pointer-events: none;
        z-index: 0;
    }

    .ma5-hero__float-icon {
        position: absolute;
        width: 2.85rem;
        height: 2.85rem;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.05rem;
        color: #fff;
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
    }

    .ma5-hero__float-icon--money {
        right: 0;
        top: 38%;
        background: linear-gradient(145deg, #22c55e, #15803d);
    }

    .ma5-hero__float-icon--cal {
        left: 0;
        top: 22%;
        background: linear-gradient(145deg, #a855f7, #6d28d9);
    }

    .ma5-device {
        position: relative;
        z-index: 1;
    }

    .ma5-pill {
        background: rgba(255, 255, 255, 0.07);
        border-color: rgba(255, 255, 255, 0.14);
        color: rgba(248, 250, 252, 0.9);
    }

    .ma5-float-card {
        background: rgba(255, 255, 255, 0.96);
        border-color: rgba(15, 23, 42, 0.08);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    }
}

/* ——— Mobile: hero escuro estilo referência (Meu Assessor / assessor) ——— */
@media (max-width: 1023px) {
    :root {
        --ma5-header-h: 4.75rem;
    }

    .ma5-header {
        top: 0.65rem;
        height: auto;
        background: transparent;
        border: none;
        backdrop-filter: none;
    }

    .ma5-header__inner {
        margin: 0 0.75rem;
        padding: 0.5rem 0.85rem;
        border-radius: 1rem;
        background: var(--ma5-m-bar);
        border: 1px solid rgba(255, 255, 255, 0.08);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    }

    .ma5-header__login {
        display: none;
    }

    .ma5-burger {
        border-color: rgba(255, 255, 255, 0.15);
        background: rgba(255, 255, 255, 0.06);
        color: #f8fafc;
    }

    .ma5-hero {
        max-width: none;
        margin: 0;
        padding: calc(var(--ma5-header-h) + 1.25rem) 0 0;
        background:
            radial-gradient(ellipse 90% 55% at 50% -8%, rgba(139, 92, 246, 0.22), transparent),
            radial-gradient(ellipse 70% 40% at 100% 20%, rgba(236, 72, 153, 0.12), transparent),
            linear-gradient(180deg, #08080c 0%, #0f0f14 45%, #12121a 100%);
        border-radius: 0 0 1.5rem 1.5rem;
    }

    .ma5-hero__grid {
        gap: 2rem;
        padding: 0 1.25rem 1.75rem;
    }

    .ma5-hero__copy {
        text-align: center;
        max-width: 26rem;
        margin: 0 auto;
    }

    .ma5-eyebrow {
        color: var(--ma5-m-muted);
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 198, 0, 0.35);
        margin-bottom: 1rem;
    }

    .ma5-eyebrow__dot {
        background: #4ade80;
        box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.3);
    }

    .ma5-hero__title {
        color: var(--ma5-m-ink);
        font-size: clamp(1.85rem, 6.2vw, 2.35rem);
        margin-bottom: 0.85rem;
    }

    .ma5-hero__accent {
        color: var(--ma5-brand);
        background: none;
        -webkit-background-clip: unset;
        background-clip: unset;
        -webkit-text-fill-color: unset;
    }

    .ma5-hero__sub {
        color: var(--ma5-m-muted);
        margin-left: auto;
        margin-right: auto;
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .ma5-hero__pills {
        display: none;
    }

    .ma5-hero__cta {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .ma5-btn--hero-main {
        width: 100%;
        background: transparent;
        color: #fff;
        border: 2px solid rgba(255, 255, 255, 0.85);
        box-shadow: none;
    }

    .ma5-btn--hero-main:hover {
        background: rgba(255, 255, 255, 0.08);
        filter: none;
    }

    .ma5-btn--hero-wa {
        display: none;
    }

    .ma5-hero__orbit {
        display: block;
        position: absolute;
        inset: 0;
        pointer-events: none;
        z-index: 0;
    }

    .ma5-hero__float-icon {
        position: absolute;
        width: 2.85rem;
        height: 2.85rem;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.05rem;
        color: #fff;
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.4);
    }

    .ma5-hero__float-icon--money {
        right: -0.35rem;
        top: 38%;
        background: linear-gradient(145deg, #22c55e, #15803d);
    }

    .ma5-hero__float-icon--cal {
        left: -0.65rem;
        top: 22%;
        background: linear-gradient(145deg, #a855f7, #6d28d9);
    }

    .ma5-device {
        position: relative;
        z-index: 1;
        max-width: min(100%, 17.25rem);
    }

    .ma5-float-card {
        display: none;
    }

    .ma5-hero__mobile-trust {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.65rem 1rem;
        margin: 0 0.75rem 1.25rem;
        padding: 0.85rem 1rem;
        border-radius: 1rem;
        background: rgba(10, 10, 14, 0.75);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .ma5-hero__trust-item {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        font-size: 0.75rem;
        font-weight: 600;
        color: rgba(248, 250, 252, 0.88);
    }

    .ma5-hero__trust-item i {
        opacity: 0.9;
        color: #c4b5fd;
    }

    @media (max-width: 380px) {
        .ma5-hero__float-icon--cal {
            left: -0.35rem;
        }

        .ma5-hero__float-icon--money {
            right: -0.15rem;
        }
    }
}
