/* =============================================
   LP Marketing Agências — marketing-agencias.css
   ============================================= */

:root {
    --primary-color: #083FCF;
    --secondary-color: #FC7D55;
    --tertiary-color: #B073FF;
    --quaternary-color: #FFE4DC;
    --senary-color: #EFE2FF;
    --text-color: #1F2937;
    --text-light: #6b7280;
    --background-color: #ffffff;
    --background-light: #F8F7FF;
    --border-color: #e5e7eb;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 10px 30px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 50px rgba(8,63,207,0.12);
    --border-radius: 8px;
    --border-radius-lg: 14px;
    --border-radius-xl: 20px;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 6rem;
    --font-family-headings: 'Outfit', sans-serif;
    --font-family-body: 'Nunito', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-family-body);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
a  { text-decoration: none; color: inherit; }

/* =============================================
   UTILITY
   ============================================= */
.ma-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}


.ma-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(252, 125, 85, 0.18);
    border: 1.5px solid rgba(252, 125, 85, 0.4);
    color: #ffcbb8;
    border-radius: 100px;
    padding: 0.4rem 1rem;
    font-family: var(--font-family-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: var(--spacing-md);
}

.ma-badge-dot {
    width: 7px;
    height: 7px;
    background: #FC7D55;
    border-radius: 50%;
    display: inline-block;
    animation: ma-pulse 1.4s ease-in-out infinite;
}

@keyframes ma-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.8); }
}

.ma-section-label {
    display: inline-block;
    font-family: var(--font-family-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--secondary-color);
    margin-bottom: var(--spacing-sm);
}

/* =============================================
   BUTTONS
   ============================================= */
.ma-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: var(--font-family-headings);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    border-radius: 30px;
    height: 56px;
    padding: 0 var(--spacing-lg);
    transition: all 0.3s ease;
    text-decoration: none;
}

.ma-btn-primary {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--tertiary-color) 100%);
    color: white;
    box-shadow: 0 4px 20px rgba(176, 115, 255, 0.35);
}

.ma-btn-primary:hover {
    background: linear-gradient(135deg, var(--tertiary-color) 0%, var(--secondary-color) 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(176, 115, 255, 0.5);
}

.ma-btn-ghost {
    background: rgba(255,255,255,0.12);
    color: white;
    border: 1.5px solid rgba(255,255,255,0.3);
    backdrop-filter: blur(10px);
}

.ma-btn-ghost:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.55);
}

.ma-btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.ma-btn-outline:hover {
    background: var(--primary-color);
    color: white;
}

.ma-btn-lg {
    height: 60px;
    padding: 0 var(--spacing-xl);
    font-size: 1.05rem;
}

/* =============================================
   HERO
   ============================================= */
.ma-hero {
    position: relative;
    padding: 5rem 0 6rem;
    background: linear-gradient(145deg, #083FCF 0%, #4a1fbf 55%, #B073FF 100%);
    overflow: hidden;
}

.ma-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 80%, rgba(252,125,85,0.15) 0%, transparent 50%),
                      radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 40%);
    pointer-events: none;
}

.ma-hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ma-hero-content {
    color: white;
    max-width: 44rem;
    margin: 0 auto;
}

.ma-hero-title {
    font-family: var(--font-family-headings);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-md);
    color: white;
}

.ma-hero-title span {
    color: #FC7D55;
}

.ma-hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.88);
    line-height: 1.7;
    margin-bottom: var(--spacing-xl);
    margin-left: auto;
    margin-right: auto;
    max-width: 40rem;
}

.ma-hero-cta {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-bottom: var(--spacing-lg);
    justify-content: center;
}

.ma-hero-note {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* =============================================
   PAIN POINTS
   ============================================= */
.ma-pain {
    padding: var(--spacing-xxl) 0;
    background: var(--background-light);
}

.ma-section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.ma-section-title {
    font-family: var(--font-family-headings);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.ma-section-subtitle {
    font-size: 1.05rem;
    color: var(--text-light);
    max-width: 580px;
    margin: 0 auto;
    line-height: 1.7;
}

.ma-pain-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
}

.ma-pain-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ma-pain-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--tertiary-color);
}

.ma-pain-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--tertiary-color));
}

.ma-pain-icon {
    width: 52px; height: 52px;
    background: var(--senary-color);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
}

.ma-pain-title {
    font-family: var(--font-family-headings);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.ma-pain-text {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

/* =============================================
   PLATFORM SHOWCASE
   ============================================= */
.ma-showcase {
    padding: var(--spacing-xxl) 0;
}

.ma-showcase:nth-child(even) {
    background: var(--background-light);
}

.ma-showcase-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

/* Illustration-heavy sections: text gets 1 part, visual gets ~1.8 */
.ma-showcase-inner--wide {
    grid-template-columns: 1fr 1.8fr;
    gap: 3.5rem;
    align-items: flex-start;
}

.ma-showcase-inner.ma-reverse {
    direction: rtl;
}

.ma-showcase-inner.ma-reverse > * {
    direction: ltr;
}

.ma-showcase-copy {}

.ma-showcase-title {
    font-family: var(--font-family-headings);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: var(--spacing-sm);
    line-height: 1.25;
}

.ma-showcase-title span { color: var(--primary-color); }

.ma-showcase-text {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.75;
    margin-bottom: var(--spacing-md);
}

.ma-showcase-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.ma-showcase-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.95rem;
    color: var(--text-color);
}

.ma-showcase-list li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px; height: 20px;
    background: linear-gradient(135deg, var(--secondary-color), var(--tertiary-color));
    color: white;
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
}

/* =============================================
   DASHBOARD ANIMATION
   ============================================= */
.ma-dashboard-mockup {
    background: white;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.ma-dash-topbar {
    background: linear-gradient(135deg, var(--primary-color), #3a1fbf);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.ma-dash-logo-text {
    font-family: var(--font-family-headings);
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
}

.ma-dash-body {
    padding: 1.25rem;
}

.ma-dash-metrics-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.ma-dash-metric-card {
    background: var(--background-light);
    border-radius: var(--border-radius);
    padding: 1rem;
    border: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.ma-dash-metric-card.is-highlight {
    border-color: var(--secondary-color);
    background: var(--quaternary-color);
}

.ma-dash-metric-label {
    font-size: 0.7rem;
    color: var(--text-light);
    font-weight: 600;
    margin-bottom: 0.35rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.ma-dash-metric-label .ma-check {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.ma-dash-metric-value {
    font-family: var(--font-family-headings);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
}

.ma-dash-metric-delta {
    font-size: 0.7rem;
    font-weight: 700;
    color: #16a34a;
    margin-top: 0.15rem;
}

.ma-dash-metrics-row2 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

/* Count-up animation */
.ma-count-up {
    display: inline-block;
}

/* =============================================
   CHART ANIMATION
   ============================================= */
.ma-chart-mockup {
    background: white;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
    padding: 1.5rem;
}

.ma-chart-header {
    margin-bottom: 1rem;
}

.ma-chart-title {
    font-family: var(--font-family-headings);
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.2rem;
}

.ma-chart-subtitle {
    font-size: 0.75rem;
    color: var(--text-light);
}

.ma-chart-legend {
    display: flex;
    gap: 1.25rem;
    margin-top: 0.75rem;
}

.ma-chart-legend-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-light);
}

.ma-legend-dot {
    width: 12px; height: 12px;
    border-radius: 3px;
}

.ma-legend-dot.google  { background: #4285f4; }
.ma-legend-dot.meta    { background: #10b981; }

.ma-chart-svg-wrap {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
}

.ma-chart-svg-wrap svg {
    display: block;
    width: 100%;
    height: auto;
}

/* SVG line draw animation */
.ma-line-google,
.ma-line-meta {
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    transition: stroke-dashoffset 2s ease;
}

.ma-line-google.is-drawn,
.ma-line-meta.is-drawn {
    stroke-dashoffset: 0;
}

.ma-fill-google,
.ma-fill-meta {
    opacity: 0;
    transition: opacity 1.5s ease 0.5s;
}

.ma-fill-google.is-drawn,
.ma-fill-meta.is-drawn {
    opacity: 1;
}

/* =============================================
   KANBAN ANIMATION
   ============================================= */
.ma-kanban-mockup {
    background: #f0f0f8;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
    padding: 1rem;
}

.ma-kanban-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0 1rem;
}

.ma-kanban-title {
    font-family: var(--font-family-headings);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-color);
}

.ma-kanban-board {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.6rem;
}

.ma-kanban-col {
    background: white;
    border-radius: var(--border-radius);
    padding: 0.75rem;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.ma-kanban-col.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ma-kanban-col:nth-child(1) { transition-delay: 0s; }
.ma-kanban-col:nth-child(2) { transition-delay: 0.1s; }
.ma-kanban-col:nth-child(3) { transition-delay: 0.2s; }
.ma-kanban-col:nth-child(4) { transition-delay: 0.3s; }

.ma-kanban-col-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid;
}

.ma-kanban-col:nth-child(1) .ma-kanban-col-header { border-color: #9ca3af; }
.ma-kanban-col:nth-child(2) .ma-kanban-col-header { border-color: #f97316; }
.ma-kanban-col:nth-child(3) .ma-kanban-col-header { border-color: #3b82f6; }
.ma-kanban-col:nth-child(4) .ma-kanban-col-header { border-color: #8b5cf6; }

.ma-kanban-col-icon {
    font-size: 0.75rem;
}

.ma-kanban-col-title {
    font-family: var(--font-family-headings);
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.ma-kanban-card {
    background: var(--background-light);
    border-radius: 6px;
    padding: 0.75rem;
    margin-bottom: 0.6rem;
    border-left: 3px solid var(--primary-color);
}

.ma-kanban-card:last-child { margin-bottom: 0; }

.ma-kanban-card-title {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.3rem;
    font-family: var(--font-family-headings);
}

.ma-kanban-card-meta {
    font-size: 0.7rem;
    color: var(--text-light);
    margin-bottom: 0.4rem;
    line-height: 1.5;
}

.ma-kanban-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.3rem;
}

.ma-kanban-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0.2rem 0.5rem;
    border-radius: 100px;
    font-size: 0.65rem;
    font-weight: 700;
}

.ma-kanban-tag.planejado  { background: #EFE2FF; color: var(--tertiary-color); }
.ma-kanban-tag.andamento  { background: #dcfce7; color: #16a34a; }
.ma-kanban-tag.atrasado   { background: #fff3e0; color: #f97316; }

.ma-kanban-tag-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: currentColor;
}

.ma-kanban-avatar {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary-color), var(--tertiary-color));
    display: flex; align-items: center; justify-content: center;
    font-size: 0.62rem;
    color: white;
    font-weight: 700;
    font-family: var(--font-family-headings);
    flex-shrink: 0;
}

.ma-kanban-no-item {
    background: var(--quaternary-color);
    border-radius: 6px;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    font-size: 0.65rem;
    color: var(--secondary-color);
    font-weight: 600;
}

/* =============================================
   SOLUCAO-ICON OVERRIDE (aumenta emoji)
   ============================================= */
.solucao-icon {
    font-size: 2.25rem;
}

/* =============================================
   FLOW DIAGRAM (Automações)
   ============================================= */
.ma-auto-section .ma-showcase-inner {
    align-items: flex-start;
    gap: 3.5rem;
}

.ma-flow-mockup {
    background: #f8f7ff;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
    min-width: 0;
}

.ma-flow-topbar {
    background: linear-gradient(135deg, var(--primary-color), #3a1fbf);
    padding: 0.85rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.ma-flow-status-badge {
    margin-left: auto;
    font-size: 0.7rem;
    font-weight: 700;
    color: #86efac;
    font-family: var(--font-family-body);
}

.ma-flow-canvas {
    padding: 1.25rem 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* Nodes */
.ma-flow-node {
    background: white;
    border-radius: var(--border-radius);
    border: 1.5px solid var(--border-color);
    width: 100%;
    box-shadow: var(--shadow-sm);
    position: relative;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease, box-shadow 0.2s ease;
}

.ma-flow-node.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ma-flow-node:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.ma-flow-node-header {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.75rem;
    background: #f0f4ff;
    border-bottom: 1px solid var(--border-color);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text-light);
    font-family: var(--font-family-headings);
}

.ma-flow-node-header--inicio {
    background: #fff1ee;
    color: #c2410c;
    border-bottom-color: #fecaca;
}

.ma-flow-node-header--caminho {
    background: #fffbeb;
    color: #92400e;
    border-bottom-color: #fde68a;
}

.ma-flow-node-body {
    padding: 0.75rem;
}

.ma-flow-node-title {
    font-family: var(--font-family-headings);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.ma-flow-field {
    margin-bottom: 0.5rem;
}

.ma-flow-field-label {
    display: block;
    font-size: 0.62rem;
    color: var(--text-light);
    margin-bottom: 0.25rem;
    font-family: var(--font-family-body);
}

.ma-flow-select {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    padding: 0.3rem 0.5rem;
    font-size: 0.68rem;
    color: var(--text-color);
    font-family: var(--font-family-body);
}

.ma-flow-select-arrow {
    color: var(--text-light);
    font-size: 0.65rem;
}

.ma-flow-remove-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    background: none;
    border: none;
    color: #f97316;
    font-size: 0.62rem;
    font-family: var(--font-family-body);
    cursor: pointer;
    padding: 0;
    margin-top: 0.25rem;
    font-weight: 600;
}

.ma-flow-kv {
    font-size: 0.68rem;
    color: var(--text-color);
    margin-bottom: 0.25rem;
    font-family: var(--font-family-body);
    line-height: 1.4;
}

.ma-flow-k {
    color: var(--text-light);
    font-weight: 600;
}

.ma-flow-action-icon {
    font-size: 0.7rem;
    cursor: pointer;
    color: var(--text-light);
    opacity: 0.7;
}

.ma-flow-node-dot-bottom {
    display: none;
}

/* Branch paths in Caminho node */
.ma-flow-branches {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.5rem;
}

.ma-flow-branch {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: var(--font-family-headings);
}

.ma-flow-branch--sim {
    background: #dcfce7;
    color: #16a34a;
}

.ma-flow-branch--nao {
    background: #fee2e2;
    color: #dc2626;
}

.ma-flow-branch-arrow {
    font-size: 1rem;
    line-height: 1;
}

/* Connectors between nodes */
.ma-flow-connector {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ma-flow-connector.is-visible {
    opacity: 1;
}

.ma-flow-connector-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    flex-shrink: 0;
}

.ma-flow-connector-line {
    width: 2px;
    height: 18px;
    background: linear-gradient(180deg, var(--primary-color), var(--tertiary-color));
    flex-shrink: 0;
}

.ma-flow-connector-arrow {
    color: var(--tertiary-color);
    font-size: 1rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: -3px;
}

/* Node: Caminho do Lead special border */
.ma-flow-node--caminho {
    border-color: #fde68a;
}

/* Responsive */
@media (max-width: 768px) {
    .ma-flow-canvas {
        flex-wrap: nowrap;
        padding-bottom: 1rem;
    }
}

/* =============================================
   KANBAN PILLS & EXTRAS
   ============================================= */

.ma-kanban-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.ma-kanban-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--senary-color);
    color: var(--primary-color);
    border-radius: 100px;
    padding: 0.35rem 0.9rem;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: var(--font-family-body);
}

/* =============================================
   LEAD SCORING & HISTÓRICO
   ============================================= */
.ma-scoring-mockup {
    background: white;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.ma-scoring-body {
    padding: 0.9rem 1rem 1rem;
}

/* Lead header */
.ma-scoring-lead-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.ma-scoring-avatar {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--tertiary-color));
    display: flex; align-items: center; justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    font-family: var(--font-family-headings);
    flex-shrink: 0;
}

.ma-scoring-lead-info {
    flex: 1;
    min-width: 0;
}

.ma-scoring-lead-name {
    font-family: var(--font-family-headings);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-color);
}

.ma-scoring-lead-meta {
    font-size: 0.72rem;
    color: var(--text-light);
    margin-top: 0.1rem;
}

.ma-scoring-score-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.ma-scoring-score-ring {
    position: relative;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
}

.ma-score-svg {
    position: absolute;
    inset: 0;
    width: 100%; height: 100%;
}

.ma-score-arc {
    stroke-dasharray: 0 113;
    transition: stroke-dasharray 1.5s ease;
}

.ma-score-arc.is-animated {
    stroke-dasharray: 101 113;
}

.ma-score-number {
    font-family: var(--font-family-headings);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--tertiary-color);
    position: relative;
    z-index: 1;
}

.ma-scoring-score-label {
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--text-light);
    font-family: var(--font-family-body);
}

.ma-scoring-status-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: #fff3e0;
    color: #f97316;
    border-radius: 100px;
    padding: 0.3rem 0.75rem;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: var(--font-family-headings);
    white-space: nowrap;
}

/* Attribution bars */
.ma-scoring-attr-wrap {
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.ma-scoring-attr-title {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-light);
    font-family: var(--font-family-headings);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.4rem;
}

.ma-scoring-attr-bar-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.3rem;
}

.ma-scoring-attr-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-color);
    font-family: var(--font-family-body);
    width: 70px;
    flex-shrink: 0;
}

.ma-scoring-attr-track {
    flex: 1;
    height: 7px;
    background: var(--border-color);
    border-radius: 100px;
    overflow: hidden;
}

.ma-scoring-attr-fill {
    height: 100%;
    border-radius: 100px;
    transition: width 1.4s cubic-bezier(0.34, 1.2, 0.64, 1);
}

.ma-scoring-attr-pct {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--text-color);
    font-family: var(--font-family-headings);
    width: 30px;
    text-align: right;
    flex-shrink: 0;
}

/* Timeline */
.ma-scoring-timeline-title {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-light);
    font-family: var(--font-family-headings);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
}

.ma-scoring-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ma-scoring-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, var(--tertiary-color), var(--primary-color));
    opacity: 0.25;
}

.ma-tl-item {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
    padding: 0.28rem 0;
    opacity: 0;
    transform: translateX(-8px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.ma-tl-item.is-visible {
    opacity: 1;
    transform: translateX(0);
}

.ma-tl-item:nth-child(1) { transition-delay: 0s; }
.ma-tl-item:nth-child(2) { transition-delay: 0.08s; }
.ma-tl-item:nth-child(3) { transition-delay: 0.16s; }
.ma-tl-item:nth-child(4) { transition-delay: 0.24s; }
.ma-tl-item:nth-child(5) { transition-delay: 0.32s; }
.ma-tl-item:nth-child(6) { transition-delay: 0.40s; }
.ma-tl-item:nth-child(7) { transition-delay: 0.48s; }

.ma-tl-dot {
    width: 16px; height: 16px;
    border-radius: 50%;
    background: var(--border-color);
    border: 2px solid white;
    box-shadow: 0 0 0 2px var(--border-color);
    flex-shrink: 0;
    margin-top: 2px;
    z-index: 1;
    position: relative;
}

.ma-tl-item--enrolled .ma-tl-dot {
    background: var(--primary-color);
    box-shadow: 0 0 0 2px var(--primary-color);
}

.ma-tl-content {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    flex: 1;
}

.ma-tl-icon {
    font-size: 0.85rem;
    flex-shrink: 0;
    line-height: 1.4;
}

.ma-tl-action {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-color);
    font-family: var(--font-family-body);
    line-height: 1.4;
}

.ma-tl-item--enrolled .ma-tl-action {
    color: var(--primary-color);
    font-weight: 700;
}

.ma-tl-date {
    font-size: 0.65rem;
    color: var(--text-light);
    font-family: var(--font-family-body);
}

.ma-tl-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--senary-color);
    color: var(--primary-color);
    border-radius: 100px;
    padding: 0.05rem 0.35rem;
    font-size: 0.6rem;
    font-weight: 700;
    font-family: var(--font-family-headings);
    vertical-align: middle;
}

/* =============================================
   SOLUTIONS CARDS
   ============================================= */
.ma-solucoes {
    padding: var(--spacing-xxl) 0;
    background: white;
}

.ma-solucoes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    margin-top: var(--spacing-xl);
}

.ma-solucao-card {
    background: white;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-lg);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    transition: all 0.3s ease;
}

.ma-solucao-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--tertiary-color);
}

.ma-solucao-icon {
    width: 56px; height: 56px;
    background: var(--senary-color);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.75rem;
}

.ma-solucao-title {
    font-family: var(--font-family-headings);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-color);
}

.ma-solucao-description {
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.6;
}

.ma-solucao-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.ma-solucao-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-color);
}

.ma-check-icon {
    color: var(--primary-color);
    font-weight: 700;
    flex-shrink: 0;
}

.ma-solucao-btn {
    margin-top: auto;
}

/* =============================================
   CRM INTEGRATION FLOW
   ============================================= */
.ma-crm {
    padding: var(--spacing-xxl) 0;
    background: linear-gradient(145deg, #083FCF 0%, #4a1fbf 55%, #B073FF 100%);
    position: relative;
    overflow: hidden;
}

.ma-crm::before {
    content: '';
    position: absolute; inset: 0;
    background-image: radial-gradient(circle at 90% 90%, rgba(252,125,85,0.12) 0%, transparent 50%);
    pointer-events: none;
}

.ma-crm-inner {
    text-align: center;
    color: white;
}

.ma-crm-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(252,125,85,0.9);
    margin-bottom: var(--spacing-sm);
}

.ma-crm-title {
    font-family: var(--font-family-headings);
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: white;
    margin-bottom: var(--spacing-sm);
    line-height: 1.2;
}

.ma-crm-subtitle {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto var(--spacing-xl);
    line-height: 1.7;
}

/* Flow diagram */
.ma-crm-flow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: nowrap;
    margin-bottom: var(--spacing-xl);
}

.ma-flow-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
    max-width: 160px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.ma-flow-step.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ma-flow-step:nth-child(1) { transition-delay: 0s; }
.ma-flow-step:nth-child(3) { transition-delay: 0.15s; }
.ma-flow-step:nth-child(5) { transition-delay: 0.3s; }
.ma-flow-step:nth-child(7) { transition-delay: 0.45s; }

.ma-flow-icon {
    width: 72px; height: 72px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1.5px solid rgba(255,255,255,0.25);
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.ma-flow-step:hover .ma-flow-icon {
    background: rgba(255,255,255,0.25);
    transform: translateY(-4px);
}

.ma-flow-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    text-align: center;
    line-height: 1.3;
}

.ma-flow-sublabel {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.6);
    text-align: center;
}

.ma-flow-arrow {
    flex: 0 0 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.ma-flow-arrow.is-visible {
    opacity: 1;
}

.ma-flow-arrow:nth-child(2) { transition-delay: 0.1s; }
.ma-flow-arrow:nth-child(4) { transition-delay: 0.25s; }
.ma-flow-arrow:nth-child(6) { transition-delay: 0.4s; }

.ma-flow-arrow svg {
    width: 28px; height: 28px;
    color: rgba(252,125,85,0.9);
}

.ma-crm-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
    max-width: 900px;
    margin: 0 auto;
}

.ma-crm-feature {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-md);
    text-align: left;
}

.ma-crm-feature-icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.ma-crm-feature-title {
    font-family: var(--font-family-headings);
    font-size: 0.95rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.35rem;
}

.ma-crm-feature-text {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.55;
}

/* =============================================
   FORM SECTION
   ============================================= */
.ma-form-section {
    padding: var(--spacing-xxl) 0;
    background: var(--background-light);
}

.ma-form-wrap {
    max-width: 540px;
    margin: 0 auto;
}

.ma-form-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
    overflow: hidden;
    padding: var(--spacing-xl) var(--spacing-lg);
}

.ma-form-card-header {
    background: linear-gradient(135deg, var(--primary-color), var(--tertiary-color));
    padding: var(--spacing-xl) var(--spacing-xl) var(--spacing-lg);
    text-align: center;
    color: white;
}

.ma-form-card-header--plain {
    background: transparent;
    color: inherit;
    padding: 0 0 var(--spacing-md);
    margin-bottom: var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.ma-form-card-header h2 {
    font-family: var(--font-family-headings);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.ma-form-card-header--plain h2 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 0.4rem;
}

.ma-form-card-header p {
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
}

.ma-form-card-header--plain p {
    font-family: var(--font-family-body);
    font-size: 0.95rem;
    color: var(--text-light);
}

.ma-form-body {
    padding: 0;
}

.ma-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.ma-form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.ma-form-group.ma-full {
    grid-column: 1 / -1;
}

.ma-form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-color);
    font-family: var(--font-family-headings);
}

.ma-form-required {
    color: var(--secondary-color);
    margin-left: 2px;
}

.ma-form-group input,
.ma-form-group select {
    height: 48px;
    padding: 0 var(--spacing-sm);
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-family: var(--font-family-body);
    font-size: 0.95rem;
    color: var(--text-color);
    background: white;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    width: 100%;
}

.ma-form-group input:focus,
.ma-form-group select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(8,63,207,0.1);
}

.ma-form-group input::placeholder {
    color: #9ca3af;
}

.ma-form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b7280' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 2.5rem;
}

.ma-form-submit {
    margin-top: var(--spacing-xs);
}

.ma-form-submit .ma-btn {
    width: 100%;
    font-size: 1rem;
    height: 56px;
}

.ma-form-submit .ma-btn-form-submit {
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 700;
}

.ma-form-submit .ma-btn-form-submit .ma-btn-text {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.ma-form-disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    flex-wrap: wrap;
    text-align: center;
    font-size: 0.78rem;
    color: var(--text-light);
    margin-top: var(--spacing-xs);
    font-family: var(--font-family-body);
}

.ma-form-disclaimer i {
    color: var(--primary-color);
    font-size: 0.72rem;
}

/* Error state */
.ma-form-group input.error,
.ma-form-group select.error {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}

.ma-field-error {
    font-size: 0.78rem;
    color: #ef4444;
    display: none;
}

/* Success state */
.ma-form-success {
    display: none;
    text-align: center;
    padding: var(--spacing-xl);
}

.ma-form-success.is-visible {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

.ma-success-icon {
    width: 80px; height: 80px;
    background: linear-gradient(135deg, var(--secondary-color), var(--tertiary-color));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem;
    animation: ma-pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes ma-pop {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.ma-success-title {
    font-family: var(--font-family-headings);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-color);
}

.ma-success-text {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 400px;
    line-height: 1.6;
}

/* Loading state */
.ma-btn-loading {
    opacity: 0.7;
    cursor: not-allowed;
    pointer-events: none;
}

.ma-spinner {
    width: 18px; height: 18px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: white;
    border-radius: 50%;
    animation: ma-spin 0.7s linear infinite;
    display: none;
}

.ma-btn-loading .ma-spinner { display: block; }
.ma-btn-loading .ma-btn-text { display: none; }

@keyframes ma-spin {
    to { transform: rotate(360deg); }
}

/* =============================================
   MINIMAL FOOTER
   ============================================= */
.ma-footer {
    background: var(--text-color);
    padding: var(--spacing-lg) 0;
    color: rgba(255,255,255,0.6);
}

.ma-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.ma-footer-logo img {
    height: 28px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.ma-footer-links {
    display: flex;
    gap: var(--spacing-md);
    list-style: none;
}

.ma-footer-links a {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.5);
    transition: color 0.2s ease;
}

.ma-footer-links a:hover {
    color: rgba(255,255,255,0.9);
}

.ma-footer-copy {
    font-size: 0.82rem;
}

/* =============================================
   ANIMATIONS — ENTRY
   ============================================= */
.ma-fade-up {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.ma-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.ma-fade-up:nth-child(2) { transition-delay: 0.1s; }
.ma-fade-up:nth-child(3) { transition-delay: 0.2s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .ma-showcase-inner,
    .ma-showcase-inner.ma-reverse,
    .ma-showcase-inner--wide {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        direction: ltr;
    }

    .ma-kanban-board {
        grid-template-columns: repeat(2, 1fr);
    }

    .ma-crm-features {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xxl: 4rem;
    }

    .ma-pain-grid {
        grid-template-columns: 1fr;
    }

    .ma-solucoes-grid {
        grid-template-columns: 1fr;
    }

    .ma-dash-metrics-row,
    .ma-dash-metrics-row2 {
        grid-template-columns: repeat(2, 1fr);
    }

    .ma-crm-flow {
        flex-wrap: wrap;
        gap: var(--spacing-sm);
    }

    .ma-flow-arrow { display: none; }

    .ma-crm-features {
        grid-template-columns: 1fr;
    }

    .ma-form-grid {
        grid-template-columns: 1fr;
    }

    .ma-footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .ma-hero-cta {
        flex-direction: column;
        align-items: center;
    }

}

@media (max-width: 480px) {
    .ma-kanban-board {
        grid-template-columns: 1fr;
    }

    .ma-hero-title { font-size: 1.75rem; }

    .ma-form-body {
        padding: var(--spacing-lg);
    }
}
