/* CARREGAMENTO DE FONTES */
@import url('https://fonts.googleapis.com/css2?family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Manrope:wght@400;500;600;700;800&display=swap');

/* =========================================
   RESET GLOBAL & BASE (OTIMIZADO)
   ========================================= */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    -webkit-font-smoothing: antialiased; /* Deixa a fonte mais nítida e "premium" */
}

html, body { 
    width: 100%;
    overflow-x: hidden; /* Trava rolagem lateral */
    font-family: 'Manrope', sans-serif; /* Sua fonte padrão */
    background-color: #020617; /* Truque: Define o fundo base como escuro p/ evitar piscada branca no load */
}

img, svg { 
    display: block; /* Remove espaços vazios embaixo de imagens */
    max-width: 100%; 
}

/* Remove aquele flash azul ao clicar em botões no celular */
a, button {
    -webkit-tap-highlight-color: transparent;
}

/* =========================================
   ESCOPO DE ESTILO HERO FINTECH
   ========================================= */
#secao-hero-fintech {
    /* Brand Colors */
    --cor-fundo: #F4F7F9;
    --cor-primaria: #0F172A;
    --cor-acento: #0D9488;
    --cor-acento-hover: #0F766E;
    --cor-borda: rgba(15, 23, 42, 0.08);
    --cor-branca: #FFFFFF;
    
    /* Tipografia */
    --fonte-titulo: 'Libre Baskerville', serif;
    --fonte-corpo: 'Manrope', sans-serif;
    
    --tamanho-h1: clamp(2.2rem, 5vw, 3.5rem);
    --tamanho-corpo: clamp(1rem, 1.1vw, 1.125rem);
    --espaco-grade: clamp(2rem, 5vw, 4rem);
    
    width: 100%;
    background-color: var(--cor-fundo);
    
    /* O GUARDIÃO: Isso impede que as linhas vazem para outras seções */
    overflow: hidden !important; 
    
    position: relative;
    padding-top: 80px;
    padding-bottom: 80px;
    font-family: var(--fonte-corpo);
    color: var(--cor-primaria);
    line-height: 1.5;
    
    /* Garante que o z-index funcione corretamente */
    z-index: 1; 
}

/* =========================================
   BACKGROUND & VINHETA (FIX DO ESTICAMENTO)
   ========================================= */
.bg-isolines {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    z-index: -1; /* Força ficar atrás de tudo dentro da Hero */
    pointer-events: none;
    opacity: 0.4;
    
    /* Garante recorte extra */
    overflow: hidden;
}

.isolines-svg {
    width: 100%;
    height: 100%;
    
    /* Isso remove comportamentos estranhos de linha */
    display: block; 
    
    /* Em conjunto com o HTML novo, isso evita distorção */
    transform: scale(1.05); /* Um leve zoom para evitar bordas brancas */
}

/* Animação de Fluxo nas Linhas */
.isoline-path {
    fill: none;
    stroke: rgba(13, 148, 136, 0.15);
    stroke-width: 1.5;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: drawLines 10s ease-in-out infinite alternate;
}

.path-1 { animation-duration: 20s; }
.path-2 { animation-duration: 25s; animation-delay: -5s; stroke: rgba(15, 23, 42, 0.05); }
.path-3 { animation-duration: 30s; animation-delay: -10s; }

@keyframes drawLines {
    0% { stroke-dashoffset: 1000; }
    100% { stroke-dashoffset: 0; }
}

#secao-hero-fintech::after {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0; /* Acima do SVG, abaixo do texto */
    background: radial-gradient(circle at 60% 50%, transparent 20%, rgba(244, 247, 249, 0.8) 100%);
}

/* =========================================
   LAYOUT E GRID
   ========================================= */
#secao-hero-fintech .layout-fix-interno {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2; /* Texto fica acima da vinheta */
    padding: 0 20px;
}

/* Breakpoints */
@media (min-width: 1367px) { #secao-hero-fintech .layout-fix-interno { max-width: 1280px; } }
@media (min-width: 1201px) and (max-width: 1366px) { #secao-hero-fintech .layout-fix-interno { max-width: 1100px; } }
@media (min-width: 1025px) and (max-width: 1200px) { #secao-hero-fintech .layout-fix-interno { max-width: 924px; } }
@media (min-width: 881px) and (max-width: 1024px) { #secao-hero-fintech .layout-fix-interno { max-width: 780px; } }

#secao-hero-fintech .grade-mestra {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--espaco-grade);
    align-items: center;
}

/* Coluna de Conteúdo (Esquerda) */
#secao-hero-fintech .coluna-texto {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    max-width: 580px;
}

#secao-hero-fintech h1 {
    font-family: var(--fonte-titulo);
    font-size: var(--tamanho-h1);
    font-weight: 700;
    line-height: 1.15;
    color: var(--cor-primaria);
    margin: 0;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

#secao-hero-fintech h1 span.destaque-serifa {
    font-style: italic;
    font-weight: 400;
    color: var(--cor-acento);
}

#secao-hero-fintech p.subtitulo {
    font-size: var(--tamanho-corpo);
    color: #475569;
    margin: 0;
    max-width: 480px;
    margin-bottom: 12px;
}

/* Formulário */
#secao-hero-fintech .container-captura {
    position: relative;
    width: 100%;
    max-width: 460px;
    display: flex;
    align-items: center;
}

#secao-hero-fintech .input-email {
    width: 100%;
    padding: 18px 24px;
    padding-right: 170px;
    border: 1px solid #CBD5E1;
    border-radius: 100px;
    font-size: 1rem;
    font-family: var(--fonte-corpo);
    color: var(--cor-primaria);
    background: var(--cor-branca);
    transition: all 0.3s ease;
    outline: none;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    position: relative;
    z-index: 2;
}

#secao-hero-fintech .input-email:focus {
    border-color: var(--cor-acento);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

#secao-hero-fintech .botao-submit {
    position: absolute;
    right: 6px;
    top: 6px;
    bottom: 6px;
    background-color: var(--cor-acento);
    color: var(--cor-branca);
    border: none;
    border-radius: 100px;
    padding: 0 28px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    font-family: var(--fonte-corpo);
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), background-color 0.3s !important;
    z-index: 3;
}

#secao-hero-fintech .botao-submit:hover {
    background-color: var(--cor-acento-hover);
    transform: translateY(-1px) translateZ(0);
    box-shadow: 0 4px 12px rgba(13, 148, 136, 0.25);
}

/* Prova Social */
#secao-hero-fintech .prova-social {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#secao-hero-fintech .texto-social {
    font-size: 0.875rem;
    color: #64748B;
    font-weight: 500;
}

#secao-hero-fintech .grade-logos {
    display: flex;
    gap: 32px;
    align-items: center;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: opacity 0.3s ease;
}
#secao-hero-fintech .grade-logos:hover { opacity: 1; }

/* =========================================
   VISUAL DIREITA (DASHBOARD VIVO)
   ========================================= */
#secao-hero-fintech .coluna-visual {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
}

#secao-hero-fintech .mockup-container {
    position: relative;
    width: 100%;
    max-width: 440px;
    height: 380px;
    z-index: 1;
    transform-style: preserve-3d;
    transition: transform 0.3s cubic-bezier(0.1, 0.4, 0.2, 1);
}

/* Card Interface (Dashboard) */
#secao-hero-fintech .card-interface {
    position: absolute;
    top: 0;
    right: 0;
    width: 360px;
    height: 380px;
    background: var(--cor-branca);
    border-radius: 24px;
    border: 1px solid rgba(255,255,255,0.8);
    box-shadow: 0 30px 60px -15px rgba(15, 23, 42, 0.1), 0 0 0 1px rgba(0,0,0,0.02);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transform: translateZ(0px);
    overflow: hidden;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* Header Dashboard */
.cabecalho-dash {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 5px;
}
.titulo-dash { 
    font-size: 0.8rem; 
    color: #64748B; 
    text-transform: uppercase; 
    letter-spacing: 0.5px; 
    font-weight: 600;
}
.valor-grande {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--cor-primaria);
    line-height: 1;
    font-family: var(--fonte-corpo);
    transition: color 0.3s ease;
}
.badge-dash { background: #ECFDF5; color: #059669; padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; }

/* GRÁFICO SVG ANIMADO */
.grafico-area {
    width: 100%;
    height: 80px;
    position: relative;
    margin-bottom: 10px;
}

/* Animação da linha sendo desenhada */
.linha-chart {
    fill: none;
    stroke: var(--cor-acento);
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 1000;
    stroke-dashoffset: 1000;
    animation: desenharLinha 2.5s ease-out forwards;
    filter: drop-shadow(0 4px 6px rgba(13, 148, 136, 0.2));
}

/* Gradiente preenchimento abaixo da linha */
.fill-chart {
    fill: url(#gradienteChart);
    opacity: 0;
    animation: fadeInFill 1s ease-out 1.5s forwards;
}

@keyframes desenharLinha {
    to { stroke-dashoffset: 0; }
}
@keyframes fadeInFill {
    to { opacity: 0.6; }
}

/* LISTA DE TRANSAÇÕES VIVA */
.lista-transacoes { 
    display: flex; 
    flex-direction: column; 
    gap: 0;
    margin-top: auto; 
    position: relative;
    overflow: hidden; 
    height: 170px; 
}

.item-transacao { 
    display: flex; 
    align-items: center; 
    gap: 12px; 
    padding: 12px 0;
    border-bottom: 1px solid #F1F5F9; 
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.item-transacao.novo-item {
    animation: slideDownFade 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
    background-color: rgba(13, 148, 136, 0.05); 
    border-radius: 8px;
    padding-left: 8px;
    padding-right: 8px;
    margin-bottom: 4px;
}

@keyframes slideDownFade {
    0% { opacity: 0; transform: translateY(-20px) scale(0.95); height: 0; margin: 0; padding: 0;}
    100% { opacity: 1; transform: translateY(0) scale(1); height: auto; margin-bottom: 4px; padding: 12px 8px;}
}

.icone-transacao { 
    width: 36px; height: 36px; 
    border-radius: 10px; 
    background: #F8FAFC; 
    display: flex; align-items: center; justify-content: center;
    color: #64748B;
    font-size: 0.9rem;
    flex-shrink: 0;
}
.dados-transacao { flex: 1; }
.nome-transacao { font-size: 0.85rem; font-weight: 600; display: block; color: var(--cor-primaria); }
.data-transacao { font-size: 0.7rem; color: #94A3B8; }
.valor-transacao { font-size: 0.85rem; font-weight: 700; color: var(--cor-primaria); }
.valor-positivo { color: #059669; }

/* Cartão Frontal (Glass) */
#secao-hero-fintech .cartao-credito {
    position: absolute;
    bottom: 40px;
    left: 0;
    width: 280px;
    height: 175px;
    background: linear-gradient(135deg, rgba(13, 148, 136, 0.95) 0%, rgba(15, 118, 110, 0.9) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    border-top: 1px solid rgba(255,255,255,0.25);
    border-left: 1px solid rgba(255,255,255,0.25);
    box-shadow: 0 30px 60px -12px rgba(13, 148, 136, 0.4);
    padding: 24px;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    z-index: 2;
    transform: translateZ(40px);
    transition: transform 0.1s ease-out;
}

.chip-cartao {
    width: 40px;
    height: 28px;
    background: linear-gradient(135deg, #FFD700 0%, #FDB931 100%);
    border-radius: 6px;
    margin-bottom: 20px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.2);
}

.numero-cartao {
    font-family: 'Manrope', sans-serif;
    font-size: 1.1rem;
    letter-spacing: 2px;
    font-weight: 500;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.rodape-cartao {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

/* =========================================
   RESPONSIVIDADE (MOBILE FIX)
   ========================================= */
@media (max-width: 1024px) {
    #secao-hero-fintech { text-align: center; }
    #secao-hero-fintech .grade-mestra { grid-template-columns: 1fr; gap: 60px; }
    #secao-hero-fintech .coluna-texto { 
        align-items: center; 
        max-width: 100%; 
        margin: 0 auto;
    }
    #secao-hero-fintech p.subtitulo { max-width: 100%; margin-left: auto; margin-right: auto;}
    #secao-hero-fintech .container-captura { max-width: 100%; margin: 0 auto;}
    
    #secao-hero-fintech .grade-logos { justify-content: center; flex-wrap: wrap; }

    #secao-hero-fintech .coluna-visual { 
        height: 550px; 
        margin-top: 0; 
        perspective: 1000px; 
        padding-bottom: 200px;
        width: 100%;
        overflow: visible;
    }
    
    #secao-hero-fintech .mockup-container { 
        transform: none !important; 
        width: 100%; 
        max-width: 400px; 
        height: 380px; 
        margin: 0 auto;
    }
    
    /* Card Interface (Fundo) */
    #secao-hero-fintech .card-interface { 
        width: 90%; 
        max-width: 340px;
        height: auto;
        min-height: 320px;
        right: auto; 
        left: 50%;
        top: 0;
        margin: 0;
        transform: translateX(-50%) translateZ(0); 
    }
    
    /* Card Frontal (Crédito) */
    #secao-hero-fintech .cartao-credito { 
        width: 70%;
        max-width: 240px;
        height: 150px;
        left: 50%; 
        right: auto;
        bottom: -50px; 
        transform: translateX(-50%) translateZ(30px); 
    }
}

@media (max-width: 600px) {
    #secao-hero-fintech h1 { font-size: 2.5rem; }
    
    /* Input mobile friendly */
    #secao-hero-fintech .container-captura { 
        flex-direction: column; 
        gap: 12px;
    }
    
    #secao-hero-fintech .input-email { 
        padding: 16px; 
        padding-right: 16px; 
        border-radius: 12px; 
        margin-bottom: 0; 
        text-align: center; 
        width: 100%;
        font-size: 16px; 
    }
    
    #secao-hero-fintech .botao-submit { 
        position: static; 
        width: 100%; 
        padding: 16px; 
        border-radius: 12px; 
        margin-top: 0;
    }
    
    /* Ajuste de escala */
    #secao-hero-fintech .mockup-container {
        transform: scale(0.9);
        transform-origin: top center;
    }
}

/* FIM DO ESCOPO DE ESTILO HERO FINTECH */







/* =========================================
   SEÇÃO 2: BENTO GRID DE RECURSOS
   ========================================= */

#secao-bento-recursos {
    /* Variáveis Locais (Namespaced) */
    --cor-fundo-secao: #FFFFFF;
    --cor-texto-pri: #0F172A;
    --cor-texto-sec: #64748B;
    --cor-borda-suave: rgba(15, 23, 42, 0.06);
    --cor-destaque: #0D9488;
    --cor-destaque-bg: #F0FDFA;
    
    /* Fontes */
    --fonte-titulo: 'Libre Baskerville', serif;
    --fonte-corpo: 'Manrope', sans-serif;
    
    position: relative;
    padding: 100px 0;
    background-color: var(--cor-fundo-secao);
    font-family: var(--fonte-corpo);
    color: var(--cor-texto-pri);
    overflow: hidden;
}

/* BLINDAGEM DE LAYOUT (Reutiliza a lógica, mas específica pra seção) */
#secao-bento-recursos .layout-fix-interno {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    padding: 0 20px; /* Segurança Lateral */
}

/* Breakpoints (Mesmos da Hero para consistência) */
@media (min-width: 1367px) { #secao-bento-recursos .layout-fix-interno { max-width: 1280px; } }
@media (min-width: 1201px) and (max-width: 1366px) { #secao-bento-recursos .layout-fix-interno { max-width: 1100px; } }
@media (min-width: 1025px) and (max-width: 1200px) { #secao-bento-recursos .layout-fix-interno { max-width: 924px; } }
@media (min-width: 881px) and (max-width: 1024px) { #secao-bento-recursos .layout-fix-interno { max-width: 780px; } }

/* CABEÇALHO DA SEÇÃO */
#secao-bento-recursos .cabecalho-secao {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px auto;
}

#secao-bento-recursos h2 {
    font-family: var(--fonte-titulo);
    font-size: clamp(2rem, 4vw, 2.5rem);
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
    text-wrap: balance;
}

#secao-bento-recursos h2 span {
    font-style: italic;
    font-weight: 400;
    color: var(--cor-destaque);
}

#secao-bento-recursos p {
    color: var(--cor-texto-sec);
    font-size: clamp(1rem, 1.1vw, 1.125rem);
    line-height: 1.6;
}

/* GRID BENTO PRINCIPAL */
#secao-bento-recursos .grade-bento {
    display: grid;
    /* Grid de 3 colunas responsivo */
    grid-template-columns: repeat(3, 1fr);
    /* Altura fixa para linhas ajuda na consistência */
    grid-template-rows: repeat(2, minmax(320px, auto)); 
    gap: 24px;
    width: 100%;
}

/* CARTÕES (Cards) */
#secao-bento-recursos .cartao-bento {
    position: relative;
    background: #F8FAFC; /* Slate 50 bem suave */
    border-radius: 24px;
    padding: 32px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid transparent; /* Preparação para o spotlight */
    
    /* Anti-Flicker */
    will-change: transform;
    backface-visibility: hidden;
}

/* Efeito Spotlight (Borda Iluminada) */
#secao-bento-recursos .cartao-bento::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 24px;
    padding: 1.5px; /* Espessura da borda brilhante */
    background: radial-gradient(
        1000px circle at var(--mouse-x, 0) var(--mouse-y, 0), 
        rgba(13, 148, 136, 0.15), 
        transparent 40%
    );
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0; 
    transition: opacity 0.5s ease;
}

#secao-bento-recursos .cartao-bento:hover::before {
    opacity: 1;
}

/* CONFIGURAÇÃO DAS CÉLULAS (Spans) */
.celula-larga { grid-column: span 2; }
.celula-normal { grid-column: span 1; }
.celula-larga-baixa { grid-column: span 2; }

/* CONTEÚDO INTERNO DOS CARDS */
.conteudo-card {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.titulo-card {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--cor-texto-pri);
}

.texto-card {
    font-size: 0.95rem;
    color: var(--cor-texto-sec);
    margin-bottom: 24px;
    line-height: 1.5;
}

/* MOCKUPS VISUAIS (CSS-ONLY & RESPONSIVOS & ANIMADOS) */
.visual-card {
    flex: 1;
    position: relative;
    background: #FFFFFF;
    border-radius: 16px 16px 0 0;
    border: 1px solid var(--cor-borda-suave);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
    overflow: hidden;
    margin: 0 -10px -32px -10px; /* Sangria para baixo */
    min-height: 160px; /* Garante altura mínima para ilustração */
}

/* --- MOCKUP 1: DASHBOARD (EQUALIZADOR) --- */
.dash-mockup {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.barra-topo { width: 100%; height: 12px; display: flex; gap: 8px; margin-bottom: 10px; }
.bolinha { width: 10px; height: 10px; border-radius: 50%; background: #E2E8F0; }

.grafico-barras { 
    display: flex; 
    align-items: flex-end; 
    gap: 6%; 
    flex: 1; 
    min-height: 100px; 
    width: 100%; 
    padding-top: 10px; 
}
.barra { 
    width: 10%; 
    background: #E2E8F0; 
    border-radius: 4px 4px 0 0; 
    min-height: 10px;
    /* Animação de Dados Vivos */
    animation: equalizador 2s ease-in-out infinite;
}
.barra.ativa { background: var(--cor-destaque); opacity: 0.8; }

/* Delays para movimento orgânico */
.barra:nth-child(1) { height: 30%; animation-delay: 0s; }
.barra:nth-child(2) { height: 50%; animation-delay: 0.2s; }
.barra:nth-child(3) { height: 70%; animation-delay: 0.4s; }
.barra:nth-child(4) { height: 40%; animation-delay: 0.1s; }
.barra:nth-child(5) { height: 90%; animation-delay: 0.5s; }
.barra:nth-child(6) { height: 60%; animation-delay: 0.3s; }
.barra:nth-child(7) { height: 45%; animation-delay: 0.6s; }

@keyframes equalizador {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.15); } /* Cresce levemente */
}

/* --- MOCKUP 2: ESCUDO (RADAR PULSE) --- */
.escudo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: radial-gradient(circle at center, var(--cor-destaque-bg) 0%, transparent 70%);
}
.icone-escudo {
    width: 64px;
    height: 80px;
    border: 4px solid var(--cor-destaque);
    border-radius: 0 0 32px 32px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
/* Efeito de Radar Pulsante */
.icone-escudo::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 0 0 32px 32px;
    box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.4);
    animation: pulsoRadar 2s infinite;
}

.icone-escudo::before { /* O "V" do escudo */
    content: '';
    width: 20px;
    height: 10px;
    border-left: 4px solid var(--cor-destaque);
    border-bottom: 4px solid var(--cor-destaque);
    transform: rotate(-45deg) translate(2px, -4px);
}

@keyframes pulsoRadar {
    0% { box-shadow: 0 0 0 0 rgba(13, 148, 136, 0.4); }
    70% { box-shadow: 0 0 0 20px rgba(13, 148, 136, 0); }
    100% { box-shadow: 0 0 0 0 rgba(13, 148, 136, 0); }
}

/* --- MOCKUP 3: CARTÕES (FLUTUAÇÃO LÍQUIDA) --- */
.pilha-cartoes {
    position: relative;
    height: 100%;
    display: flex;
    justify-content: center;
    padding-top: 30px;
}
.mini-cartao {
    position: absolute;
    width: 60%; 
    max-width: 160px;
    aspect-ratio: 1.6;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    will-change: transform; 
}

/* Animações Individuais */
.c-1 { 
    background: #334155; 
    top: 20px; 
    opacity: 0.5; 
    z-index: 1; 
    animation: flutuarC1 6s ease-in-out infinite;
}
.c-2 { 
    background: #0F172A; 
    top: 40px; 
    opacity: 0.8; 
    z-index: 2; 
    animation: flutuarC2 6s ease-in-out infinite;
    animation-delay: 1s; 
}
.c-3 { 
    background: linear-gradient(135deg, #0D9488 0%, #0F766E 100%); 
    top: 60px; 
    z-index: 3; 
    display: flex; 
    padding: 12px;
    align-items: flex-end;
    animation: flutuarC3 6s ease-in-out infinite;
    animation-delay: 2s;
}
.chip-mini { width: 15%; height: auto; aspect-ratio: 1.4; background: rgba(255,255,255,0.3); border-radius: 4px; margin-bottom: auto; }

@keyframes flutuarC1 {
    0%, 100% { transform: scale(0.9) translateY(0); }
    50% { transform: scale(0.9) translateY(-12px); }
}
@keyframes flutuarC2 {
    0%, 100% { transform: scale(0.95) translateY(0); }
    50% { transform: scale(0.95) translateY(-12px); }
}
@keyframes flutuarC3 {
    0%, 100% { transform: scale(1) translateY(0); }
    50% { transform: scale(1) translateY(-12px); }
}

/* --- MOCKUP 4: AUTOMAÇÃO (DATA FLOW) --- */
.auto-mockup {
    display: flex;
    align-items: center;
    padding: 0 30px;
    gap: 15px;
    justify-content: center;
}
.linha-fluxo {
    flex: 1;
    height: 6px;
    background: #F1F5F9;
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}
/* Efeito de Dados passando pela linha */
.linha-fluxo::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--cor-destaque), transparent);
    animation: fluxoDados 2s linear infinite;
    opacity: 0.5;
}

.check-circulo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #10B981;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
    animation: pulsoSucesso 2s infinite;
}

@keyframes fluxoDados {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(300%); }
}

@keyframes pulsoSucesso {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Animação Hover nos Cards */
.cartao-bento:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.08);
}

/* RESPONSIVIDADE AVANÇADA */
@media (max-width: 1024px) {
    #secao-bento-recursos .grade-bento {
        grid-template-columns: repeat(2, 1fr); /* Tablet: 2 colunas */
        gap: 20px;
    }
    .celula-larga { grid-column: span 2; }
    .celula-normal { grid-column: span 1; }
    .celula-larga-baixa { grid-column: span 2; }
}

@media (max-width: 767px) {
    #secao-bento-recursos { padding: 60px 0; }
    
    #secao-bento-recursos .layout-fix-interno {
        padding: 0 24px; /* Mais padding lateral no container mobile */
    }

    #secao-bento-recursos .grade-bento {
        display: flex;
        flex-direction: column; /* Mobile: Pilha vertical */
        gap: 32px;
    }
    
    #secao-bento-recursos .cartao-bento {
        min-height: 340px; /* Mais altura para garantir que a ilustração caiba */
        padding: 24px; /* Padding interno menor */
    }
    
    .visual-card { 
        margin-bottom: -24px;
        min-height: 200px; /* Mais espaço para ilustração no mobile */
    }
    
    /* Reset de spans no mobile (tudo vira bloco) */
    .celula-larga, .celula-normal, .celula-larga-baixa {
        width: 100%;
    }
}

/* FIM DO ESCOPO DE ESTILO BENTO DE RECURSOS */





/* =========================================
   SEÇÃO 3: ECOSSISTEMA DARK (CORREÇÃO FINAL HOVER)
   ========================================= */

#secao-ecosistema-dark {
    background-color: #0F172A !important;
    color: #F8FAFC;
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    width: 100%;
    z-index: 10;
}

#secao-ecosistema-dark .layout-fix-interno {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    gap: 60px;
}

/* --- TEXTO --- */
#secao-ecosistema-dark .coluna-info {
    flex: 1;
    max-width: 600px;
    z-index: 20;
}

#secao-ecosistema-dark h2 {
    font-family: 'Libre Baskerville', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #F8FAFC;
    text-wrap: balance;
}

#secao-ecosistema-dark h2 span {
    color: #0D9488;
    font-style: italic;
}

#secao-ecosistema-dark p {
    font-family: 'Manrope', sans-serif;
    color: #94A3B8;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 40px;
}

#secao-ecosistema-dark .botao-transparente {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 100px;
    color: white;
    text-decoration: none;
    transition: 0.3s;
    background: rgba(255,255,255,0.05);
}
#secao-ecosistema-dark .botao-transparente:hover {
    background: rgba(255,255,255,0.15);
    border-color: white;
}

/* --- SISTEMA SOLAR --- */
#secao-ecosistema-dark .coluna-orbita {
    flex: 1;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    perspective: 1000px;
}

#secao-ecosistema-dark .sistema-solar {
    position: relative;
    width: 450px;
    height: 450px;
    transform-style: preserve-3d;
    transition: transform 0.1s linear;
}

.nucleo-central {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 80px; height: 80px;
    background: linear-gradient(135deg, #0D9488, #115E59);
    border-radius: 50%;
    box-shadow: 0 0 60px rgba(13, 148, 136, 0.5);
    display: flex; align-items: center; justify-content: center;
    z-index: 10;
    font-size: 32px; color: white;
}

/* Anéis */
.anel-orbita {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.15);
    pointer-events: none;
}
.anel-1 { width: 200px; height: 200px; opacity: 0.8; }
.anel-2 { width: 340px; height: 340px; opacity: 0.6; }
.anel-3 { 
    width: 480px; 
    height: 480px; 
    border-style: dashed; 
    opacity: 0.6; 
    border-color: rgba(255,255,255,0.4);
}

/* --- PLANETAS (AQUI ESTAVA O PROBLEMA) --- */
.planeta {
    position: absolute;
    width: 50px; height: 50px;
    background: #1E293B;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    margin-left: -25px; margin-top: -25px;
    cursor: pointer;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
    
    /* 🔥 A CORREÇÃO MÁGICA: */
    pointer-events: auto !important; /* Isso força o mouse a funcionar */
}

.planeta i { color: white; font-size: 22px; transition: 0.3s; }

/* Hover */
.planeta:hover {
    background: white;
    border-color: white;
    transform: scale(1.2);
    z-index: 100;
    box-shadow: 0 0 20px rgba(255,255,255,0.5);
}
.planeta:hover i { color: #0F172A; }

/* --- TOOLTIPS --- */
.planeta::after {
    content: attr(title);
    position: absolute;
    bottom: 140%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background: white;
    color: #0F172A;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 0.75rem;
    padding: 6px 12px;
    border-radius: 6px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.planeta::before {
    content: '';
    position: absolute;
    bottom: 130%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    border-width: 6px;
    border-style: solid;
    border-color: white transparent transparent transparent;
    opacity: 0;
    transition: all 0.2s ease;
}

.planeta:hover::after,
.planeta:hover::before {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Rotação */
.rota-container {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    animation: girar 20s linear infinite;
    pointer-events: none; /* Isso bloqueava, mas o 'auto' no .planeta resolve */
}

.rota-1 { width: 200px; height: 200px; top: 50%; left: 50%; transform: translate(-50%, -50%); }
.rota-2 { width: 340px; height: 340px; top: 50%; left: 50%; transform: translate(-50%, -50%); animation-direction: reverse; animation-duration: 30s; }
.rota-3 { width: 480px; height: 480px; top: 50%; left: 50%; transform: translate(-50%, -50%); animation-duration: 45s; }

.pos-norte { top: 0; left: 50%; }
.pos-sul { top: 100%; left: 50%; }
.pos-leste { top: 50%; left: 100%; }
.pos-oeste { top: 50%; left: 0%; }
.pos-sudeste { top: 85%; left: 85%; }
.pos-noroeste { top: 15%; left: 15%; }

@keyframes girar {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.planeta { animation: contraGirar 20s linear infinite; }
.rota-2 .planeta { animation-duration: 30s; animation-direction: reverse; }
.rota-3 .planeta { animation-duration: 45s; }

@keyframes contraGirar {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

/* Responsividade Mobile */
@media (max-width: 1024px) {
    #secao-ecosistema-dark .layout-fix-interno {
        flex-direction: column !important;
        text-align: center;
        padding-top: 40px;
    }
    #secao-ecosistema-dark .coluna-info {
        margin-bottom: 60px;
        align-items: center;
        display: flex;
        flex-direction: column;
    }
    #secao-ecosistema-dark .coluna-orbita {
        width: 100%;
        height: 400px;
        overflow: hidden;
    }
    #secao-ecosistema-dark .sistema-solar {
        transform: scale(0.65);
    }
}

@media (max-width: 480px) {
    
    /* 1. A SOLUÇÃO DEFINITIVA: Liberar o overflow da seção */
    #secao-ecosistema-dark {
        /* Mudei de 'hidden' para 'visible'. 
           Isso diz pro navegador: "Se vazar, deixe vazar, não corte." */
        overflow: visible !important; 
        
        /* Mantive o padding para dar espaço */
        padding: 60px 0 120px 0; 
    }

    #secao-ecosistema-dark .coluna-info {
        padding: 0 24px;
        margin-bottom: 0;
        position: relative;
        z-index: 20;
    }

    /* 2. O Palco da Animação (Também liberado) */
    #secao-ecosistema-dark .coluna-orbita {
        height: 420px; 
        width: 100%;
        margin-top: -30px;
        /* Garante que este container também não corte */
        overflow: visible; 
    }

    /* 3. Tamanho Mantido (Grande) */
    #secao-ecosistema-dark .sistema-solar {
        transform: scale(0.65); 
        transform-origin: center top;
        top: 20px;
    }
    
    /* Fontes */
    #secao-ecosistema-dark h2 {
        font-size: 1.85rem;
        margin-bottom: 16px;
    }
    
    #secao-ecosistema-dark p {
        font-size: 1.05rem;
        margin-bottom: 24px;
    }
}


/* FIM DO ESCOPO DE ESTILO ECOSSISTEMA DARK */









/* =========================================
   SEÇÃO 4: PRICING (PLANOS)
   ========================================= */

#secao-precos-fintech {
    /* Variáveis Locais */
    --cor-fundo-light: #FFFFFF; /* Slate 50 */
    --cor-primaria: #0F172A;
    --cor-acento: #0D9488; /* Teal */
    --cor-acento-claro: #CCFBF1;
    --cor-borda: rgba(15, 23, 42, 0.08);
    --sombra-card: 0 20px 40px -12px rgba(15, 23, 42, 0.08);
    --sombra-hover: 0 30px 60px -12px rgba(13, 148, 136, 0.15); /* Sombra Teal suave */
    
    /* Fontes */
    --fonte-titulo: 'Libre Baskerville', serif;
    --fonte-corpo: 'Manrope', sans-serif;

    position: relative;
    padding: 120px 0;
    background-color: var(--cor-fundo-light);
    font-family: var(--fonte-corpo);
    color: var(--cor-primaria);
    overflow: hidden;
}

/* Background Decorativo Sutil (Mesh Gradient) */
#secao-precos-fintech::before {
    content: '';
    position: absolute;
    top: -50%; left: -20%;
    width: 80%; height: 80%;
    background: radial-gradient(circle, rgba(13, 148, 136, 0.05) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

#secao-precos-fintech::after {
    content: '';
    position: absolute;
    bottom: -20%; right: -10%;
    width: 60%; height: 60%;
    background: radial-gradient(circle, rgba(15, 23, 42, 0.03) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

/* CONTAINER & LAYOUT */
#secao-precos-fintech .layout-fix-interno {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    box-sizing: border-box;
    padding: 0 20px;
}

/* Breakpoints */
@media (min-width: 1367px) { #secao-precos-fintech .layout-fix-interno { max-width: 1280px; } }
@media (min-width: 1201px) and (max-width: 1366px) { #secao-precos-fintech .layout-fix-interno { max-width: 1100px; } }
@media (min-width: 1025px) and (max-width: 1200px) { #secao-precos-fintech .layout-fix-interno { max-width: 924px; } }
@media (min-width: 881px) and (max-width: 1024px) { #secao-precos-fintech .layout-fix-interno { max-width: 780px; } }

/* CABEÇALHO */
#secao-precos-fintech .header-precos {
    text-align: center;
    max-width: 600px;
    margin-bottom: 60px;
}

#secao-precos-fintech h2 {
    font-family: var(--fonte-titulo);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--cor-primaria);
    letter-spacing: -0.02em;
}

#secao-precos-fintech p.subtitulo {
    color: #64748B;
    font-size: 1.125rem;
    line-height: 1.6;
}

/* TOGGLE MENSAL/ANUAL */
.toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 50px;
    font-weight: 600;
    font-size: 0.95rem;
}

.label-periodo {
    color: #64748B;
    transition: color 0.3s;
    cursor: pointer;
}

.label-periodo.ativo {
    color: var(--cor-primaria);
}

.switch-container {
    width: 56px;
    height: 32px;
    background: #E2E8F0;
    border-radius: 99px;
    position: relative;
    cursor: pointer;
    transition: background 0.3s ease;
}

.switch-container.checked {
    background: var(--cor-acento);
}

.switch-bola {
    width: 24px;
    height: 24px;
    background: white;
    border-radius: 50%;
    position: absolute;
    top: 4px;
    left: 4px;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.switch-container.checked .switch-bola {
    transform: translateX(24px);
}

.badge-desconto {
    background: #FEF3C7;
    color: #D97706;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* GRID DE CARDS */
.grid-precos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    width: 100%;
    align-items: center; /* Alinha verticalmente no centro */
}

/* ESTRUTURA DO CARD */
.card-plano {
    background: #FFFFFF;
    border: 1px solid var(--cor-borda);
    border-radius: 24px;
    padding: 40px 32px;
    position: relative;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: var(--sombra-card);
}

/* Highlight no Card do Meio (Popular) */
.card-plano.destaque {
    border-color: var(--cor-acento);
    transform: scale(1.05); /* Levemente maior */
    z-index: 2;
    box-shadow: 0 25px 50px -12px rgba(13, 148, 136, 0.2);
}

.tag-popular {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--cor-acento);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* CONTEÚDO DO CARD */
.card-header {
    margin-bottom: 24px;
    border-bottom: 1px solid #F1F5F9;
    padding-bottom: 24px;
}

.nome-plano {
    font-size: 1.1rem;
    font-weight: 700;
    color: #64748B;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nome-plano i { color: var(--cor-acento); }

.preco-container {
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.simbolo-moeda {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--cor-primaria);
    align-self: flex-start;
    margin-top: 8px;
}

.valor-preco {
    font-family: var(--fonte-titulo);
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--cor-primaria);
    letter-spacing: -1px;
    transition: opacity 0.2s ease; /* Animação na troca */
}

.ciclo-pagamento {
    color: #94A3B8;
    font-size: 0.9rem;
    font-weight: 500;
}

.descricao-plano {
    font-size: 0.95rem;
    color: #64748B;
    margin-top: 16px;
    line-height: 1.5;
}

/* Lista de Features */
.lista-recursos {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
    flex: 1; /* Empurra o botão para baixo */
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.lista-recursos li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--cor-primaria);
    line-height: 1.4;
}

.lista-recursos li i {
    color: var(--cor-acento);
    margin-top: 3px; /* Alinhamento ótico */
}

.lista-recursos li.inativo {
    color: #CBD5E1;
    text-decoration: line-through;
}

.lista-recursos li.inativo i {
    color: #CBD5E1;
}

/* Botão do Card */
.btn-plano {
    display: block;
    width: 100%;
    padding: 16px;
    text-align: center;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    cursor: pointer;
    font-family: var(--fonte-corpo);
}

.btn-outline {
    background: transparent !important;
    border: 1px solid #CBD5E1 !important;
    color: var(--cor-primaria) !important;
}

.btn-outline:hover {
    border-color: var(--cor-primaria) !important;
    background: #F8FAFC !important;
    color: var(--cor-primaria) !important;
}

.btn-filled {
    background: var(--cor-acento) !important;
    border: 1px solid var(--cor-acento) !important;
    color: white !important;
    box-shadow: 0 10px 20px -5px rgba(13, 148, 136, 0.3);
}

.btn-filled:hover {
    background: #0F766E !important; 
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 15px 30px -5px rgba(13, 148, 136, 0.4);
}

/* Efeitos Hover no Card */
.card-plano:not(.destaque):hover {
    transform: translateY(-8px);
    box-shadow: var(--sombra-hover);
    border-color: rgba(13, 148, 136, 0.3);
}

/* RESPONSIVIDADE (Ajustes Mobile) */
@media (max-width: 1024px) {
    #secao-precos-fintech .layout-fix-interno {
        padding: 0 24px;
    }

    .grid-precos {
        grid-template-columns: 1fr;
        max-width: 500px;
        width: 100%;
        gap: 40px;
        box-sizing: border-box; 
    }
    
    .card-plano.destaque {
        transform: scale(1) !important; 
        order: -1; 
        margin: 10px 0;
        box-shadow: 0 15px 40px -10px rgba(13, 148, 136, 0.15);
    }
}

@media (max-width: 480px) {
    #secao-precos-fintech { padding: 80px 0; }
    
    #secao-precos-fintech h2 { 
        font-size: 2rem;
        padding: 0 20px; /* Evita que o título encoste na borda */
    }
    
    .card-plano {
        padding: 30px 24px;
    }
    
    .valor-preco { font-size: 2.8rem; }
    .toggle-wrapper { flex-wrap: wrap; justify-content: center; }

    /* --- CORREÇÃO SOLICITADA (TEXTOS) --- */
    .card-header {
        text-align: left !important; /* Força alinhamento à esquerda */
        display: flex;
        flex-direction: column;
        align-items: flex-start; /* Garante que flex items fiquem na esquerda */
    }

    .descricao-plano {
        text-align: left !important;
        text-wrap: balance; /* O segredo: equilibra o tamanho das linhas */
        margin-top: 12px;
        width: 100%;
    }
    
    /* Ajuste extra para a lista ficar alinhada também */
    .lista-recursos li {
        text-align: left;
    }
}

/* FIM DO ESCOPO DE ESTILO PRICING FINTECH */








/* =========================================
   SEÇÃO 5: DEPOIMENTOS (CORREÇÃO FUNDO)
   ========================================= */

#secao-depoimentos-fintech {
    /* FORÇANDO A COR DE FUNDO (A correção mágica) */
    background-color: #020617 !important; /* Slate 950 Puro */
    
    /* Variáveis Locais */
    --cor-card-bg: rgba(30, 41, 59, 0.4);
    --cor-texto-br: #F8FAFC;
    --cor-texto-cinza: #94A3B8;
    --cor-acento: #0D9488;
    --cor-borda-glass: rgba(255, 255, 255, 0.05);
    --fonte-titulo: 'Libre Baskerville', serif;
    --fonte-corpo: 'Manrope', sans-serif;

    /* Estrutura */
    position: relative;
    padding: 100px 0;
    font-family: var(--fonte-corpo);
    color: var(--cor-texto-br);
    overflow: hidden;
    width: 100%;
    z-index: 20; /* Garante que fique acima de qualquer bug de fundo */
}

/* Máscaras de Gradiente (Agora vão se misturar com o fundo preto corretamente) */
#secao-depoimentos-fintech::before,
#secao-depoimentos-fintech::after {
    content: "";
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

#secao-depoimentos-fintech::before {
    left: 0;
    background: linear-gradient(to right, #020617, transparent); /* Usei Hex direto pra garantir */
}

#secao-depoimentos-fintech::after {
    right: 0;
    background: linear-gradient(to left, #020617, transparent);
}

/* LAYOUT HEADER */
#secao-depoimentos-fintech .layout-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
    padding: 0 20px;
    position: relative;
    z-index: 3;
}

#secao-depoimentos-fintech h2 {
    font-family: var(--fonte-titulo);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--cor-texto-br);
    letter-spacing: -0.02em;
    text-wrap: balance;
}

#secao-depoimentos-fintech h2 span {
    color: var(--cor-acento);
    font-style: italic;
    font-weight: 400;
}

#secao-depoimentos-fintech p.subtitulo {
    color: var(--cor-texto-cinza);
    font-size: 1.125rem;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* MARQUEE WRAPPER */
.marquee-wrapper {
    display: flex;
    flex-direction: column;
    gap: 32px;
    position: relative;
    z-index: 1;
    width: 100%;
}

/* FAIXA DE ROLAGEM */
.faixa-rolagem {
    display: flex;
    width: max-content;
}

.faixa-rolagem:hover {
    animation-play-state: paused;
}

/* GRUPO DE CARDS */
.grupo-cards {
    display: flex;
    gap: 32px;
    padding-right: 32px;
}

/* ANIMAÇÕES */
.mover-esquerda {
    animation: rolarEsquerda 60s linear infinite;
}

.mover-direita {
    animation: rolarDireita 60s linear infinite;
    transform: translateX(-50%); 
}

@keyframes rolarEsquerda {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes rolarDireita {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* CARD DE DEPOIMENTO */
.card-review {
    width: 400px;
    background: var(--cor-card-bg);
    border: 1px solid var(--cor-borda-glass);
    border-radius: 16px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    flex-shrink: 0; 
}

.card-review:hover {
    background: rgba(30, 41, 59, 0.8);
    border-color: var(--cor-acento);
    box-shadow: 0 10px 40px -10px rgba(13, 148, 136, 0.2);
    transform: scale(1.02);
}

/* Header do Card */
.review-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 0.9rem;
    border: 2px solid rgba(255,255,255,0.1);
}

.user-info h4 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--cor-texto-br);
}

.user-info span {
    font-size: 0.85rem;
    color: var(--cor-acento);
    font-weight: 500;
}

/* Texto */
.review-texto {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #CBD5E1;
    font-style: italic;
    margin: 0;
}

/* Footer */
.review-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.stars {
    color: #F59E0B;
    font-size: 0.8rem;
    display: flex;
    gap: 2px;
}

.empresa-logo {
    opacity: 0.5;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    #secao-depoimentos-fintech { 
        padding: 60px 0; 
    }
    
    #secao-depoimentos-fintech::before,
    #secao-depoimentos-fintech::after {
        width: 40px; 
    }

    .card-review {
        width: 280px;
        padding: 24px;
    }
    
    .marquee-wrapper { gap: 24px; }
    .grupo-cards { gap: 20px; padding-right: 20px; }
    
    #secao-depoimentos-fintech h2 { font-size: 1.85rem; }
    .review-texto { font-size: 0.9rem; }
    
    .mover-esquerda, .mover-direita {
        animation-duration: 50s; 
    }
}

/* FIM DO ESCOPO DE ESTILO DEPOIMENTOS FINTECH */







/* =========================================
   SEÇÃO 6: CTA FINAL (THE PORTAL - LIGHT VERSION)
   ========================================= */

#secao-cta-final {
    /* Variáveis Locais (Light Mode) */
    --cor-bg-cta: #FFFFFF;
    --cor-texto-pri: #0F172A; /* Slate 900 */
    --cor-texto-sec: #475569; /* Slate 600 */
    --cor-acento: #0D9488; /* Teal */
    --cor-acento-hover: #0F766E;
    --cor-grid: rgba(15, 23, 42, 0.04); /* Grid cinza bem suave */
    
    /* Fontes */
    --fonte-titulo: 'Libre Baskerville', serif;
    --fonte-corpo: 'Manrope', sans-serif;

    position: relative;
    padding: 140px 0;
    background-color: var(--cor-bg-cta);
    font-family: var(--fonte-corpo);
    color: var(--cor-texto-pri);
    overflow: hidden; /* Importante para o Grid 3D não vazar */
    text-align: center;
    width: 100%;
}

/* Background Grid Animado (O "Portal") */
#secao-cta-final::before {
    content: "";
    position: absolute;
    width: 200%; /* Bem largo para cobrir a rotação */
    height: 200%;
    top: -50%;
    left: -50%;
    z-index: 0;
    
    /* Desenha o quadriculado via CSS Puro */
    background-image: 
        linear-gradient(var(--cor-grid) 1px, transparent 1px),
        linear-gradient(90deg, var(--cor-grid) 1px, transparent 1px);
    background-size: 40px 40px;
    
    /* A Mágica do 3D */
    transform: perspective(500px) rotateX(60deg);
    animation: moverGrid 20s linear infinite;
    pointer-events: none;
    
    /* Suaviza as bordas para não parecer recortado */
    mask-image: radial-gradient(circle, black 40%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle, black 40%, transparent 70%);
}

@keyframes moverGrid {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(40px); } /* Move 1 quadrado */
}

/* CONTAINER & LAYOUT */
#secao-cta-final .layout-fix-interno {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 0 auto;
    position: relative;
    z-index: 2; /* Fica acima do Grid */
    box-sizing: border-box;
    padding: 0 20px;
    max-width: 800px;
}

/* TIPOGRAFIA */
#secao-cta-final h2 {
    font-family: var(--fonte-titulo);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--cor-texto-pri);
    text-wrap: balance;
}

#secao-cta-final p.subtitulo {
    font-size: clamp(1.125rem, 2vw, 1.25rem);
    color: var(--cor-texto-sec);
    margin-bottom: 48px;
    line-height: 1.6;
    max-width: 600px;
    text-wrap: pretty;
}

/* BOTÃO CTA FINAL (BLINDADO) */
.btn-cta-final {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    
    /* BLINDAGEM: !important vence temas do WP */
    background-color: var(--cor-acento) !important;
    color: white !important;
    
    padding: 20px 48px;
    border-radius: 100px;
    font-size: 1.125rem;
    font-weight: 700;
    text-decoration: none !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    
    /* Sombra Verde suave */
    box-shadow: 0 10px 25px -5px rgba(13, 148, 136, 0.4), 0 8px 10px -6px rgba(13, 148, 136, 0.1);
    position: relative;
    overflow: hidden;
}

/* Brilho interno no botão (Glow Effect) */
.btn-cta-final::after {
    content: "";
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.4) 0%, transparent 60%);
    opacity: 0;
    transform: scale(0.5);
    transition: opacity 0.3s, transform 0.3s;
}

/* Hover Blindado */
.btn-cta-final:hover {
    transform: translateY(-4px) scale(1.02);
    background-color: var(--cor-acento-hover) !important;
    color: white !important;
    box-shadow: 0 20px 35px -5px rgba(13, 148, 136, 0.5), 0 8px 10px -6px rgba(13, 148, 136, 0.1);
}

.btn-cta-final:hover::after {
    opacity: 1;
    transform: scale(1);
}

/* Elementos de Confiança (Badges) */
.trust-badges {
    display: flex;
    gap: 24px;
    margin-top: 40px;
    opacity: 0.8;
    font-size: 0.875rem;
    color: var(--cor-texto-sec);
    font-weight: 600;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.trust-item i {
    color: var(--cor-acento); /* Ícone Teal */
}

/* RESPONSIVIDADE */
@media (max-width: 768px) {
    #secao-cta-final { padding: 100px 0; }
    
    /* Botão Full Width no Mobile */
    .btn-cta-final {
        width: 100%;
        justify-content: center;
        padding: 18px 24px;
    }
    
    /* Badges em coluna */
    .trust-badges {
        flex-direction: column;
        gap: 12px;
        margin-top: 32px;
    }
}









/* =========================================
   SEÇÃO 7: FOOTER MONUMENTAL (FINAL)
   ========================================= */

#secao-footer-fintech {
    /* Variáveis Locais */
    --cor-bg-footer: #020617; /* Slate 950 - Preto Profundo */
    --cor-texto-principal: #FFFFFF;
    --cor-texto-secundario: #94A3B8; /* Slate 400 */
    --cor-borda: rgba(255, 255, 255, 0.1);
    --cor-acento: #0D9488; /* Teal */
    
    /* Fontes */
    --fonte-titulo: 'Libre Baskerville', serif;
    --fonte-corpo: 'Manrope', sans-serif;

    position: relative;
    padding: 100px 0 40px 0;
    
    /* BLINDAGEM DE FUNDO */
    background-color: var(--cor-bg-footer) !important;
    
    font-family: var(--fonte-corpo);
    color: var(--cor-texto-secundario);
    overflow: hidden; /* Mantém a marca d'água dentro da caixa */
    width: 100%;
    z-index: 10;
}

/* Background Tipográfico (Gigante e Sutil) */
.bg-marca-dagua {
    position: absolute;
    bottom: -5%;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--fonte-corpo);
    font-weight: 800;
    font-size: 25vw; /* Ocupa 25% da largura da viewport */
    line-height: 1;
    color: #FFFFFF;
    opacity: 0.02; /* Quase invisível */
    white-space: nowrap;
    pointer-events: none;
    z-index: 0;
    user-select: none;
}

/* CONTAINER */
#secao-footer-fintech .layout-fix-interno {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    position: relative;
    z-index: 2; /* Texto fica acima da marca d'água */
    padding: 0 20px;
    box-sizing: border-box;
}

/* PARTE SUPERIOR: NEWSLETTER E LOGO */
.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 80px;
    padding-bottom: 60px;
    border-bottom: 1px solid var(--cor-borda);
    flex-wrap: wrap;
    gap: 40px;
}

.marca-footer h3 {
    color: var(--cor-texto-principal);
    font-family: var(--fonte-titulo);
    font-size: 2rem;
    margin: 0 0 16px 0;
}

.marca-footer p {
    max-width: 300px;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Input de Newsletter */
.newsletter-box {
    display: flex;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px;
    border-radius: 12px;
    border: 1px solid var(--cor-borda);
    width: 100%;
    max-width: 400px;
    transition: border-color 0.3s ease;
}

.newsletter-box:focus-within {
    border-color: var(--cor-acento);
}

.input-news {
    background: transparent;
    border: none;
    color: white;
    padding: 0 16px;
    width: 100%;
    font-family: var(--fonte-corpo);
    outline: none;
}

.btn-news {
    background: var(--cor-texto-principal);
    color: var(--cor-bg-footer);
    border: none;
    width: 48px;
    height: 48px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s;
}

.btn-news:hover {
    transform: scale(1.05);
    background: var(--cor-acento);
    color: white;
}

/* GRID DE LINKS */
.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 100px;
}

.coluna-links h4 {
    color: var(--cor-texto-principal);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.coluna-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.coluna-links a {
    color: var(--cor-texto-secundario) !important;
    text-decoration: none !important;
    font-size: 0.95rem;
    transition: color 0.3s, transform 0.3s !important;
    display: inline-block;
}

.coluna-links a:hover {
    color: var(--cor-acento) !important;
    transform: translateX(4px);
}

/* RODAPÉ INFERIOR */
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    position: relative;
    z-index: 2;
}

.dev-credit-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* CORREÇÃO CRÍTICA: Texto "Desenvolvido por" com alto contraste */
.dev-credit-wrapper span {
    color: #CBD5E1 !important; /* Slate 300 - Bem legível */
    opacity: 1 !important; /* Removemos a transparência que causava o erro */
    font-size: 0.875rem;
}

.dev-link {
    /* Gradiente Base (Mais claro para passar no teste de contraste) */
    background: linear-gradient(90deg, #FFFFFF, #E2E8F0); 
    -webkit-background-clip: text;
    background-clip: text;
    
    /* O 'transparent' é necessário para o efeito, mas o background claro compensa */
    color: transparent !important; 
    
    text-decoration: none !important;
    font-weight: 700;
    position: relative;
    transition: all 0.3s ease;
}

/* Acessibilidade para Navegação por Teclado (Tab) */
.dev-link:focus-visible {
    outline: 2px solid #0D9488; /* Borda Teal ao focar */
    outline-offset: 4px;
    border-radius: 4px;
}

/* Efeito Hover (Brilho Teal) */
.dev-link:hover {
    background: linear-gradient(90deg, #0D9488, #2DD4BF);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 0 20px rgba(13, 148, 136, 0.5);
    transform: translateY(-1px);
}


/* Redes Sociais */
.social-links {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.social-icon:hover {
    background: var(--cor-acento);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px -5px rgba(13, 148, 136, 0.4);
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colunas no Tablet */
        gap: 60px 20px;
    }
}

@media (max-width: 768px) {
    #secao-footer-fintech { padding: 60px 0 100px 0; }
    
    .bg-marca-dagua {
        font-size: 35vw; /* Ainda maior no celular pra preencher */
        bottom: 2%;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 32px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr; /* 1 coluna no Mobile */
        gap: 40px;
        margin-bottom: 60px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 24px;
        align-items: center;
        text-align: center;
    }
    
    .newsletter-box { max-width: 100%; }
    
    .dev-credit-wrapper {
        flex-direction: column; /* Empilha o "Desenvolvido por" e o Nome */
        gap: 4px;
    }
}