@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;700&family=Plus+Jakarta+Sans:wght@400;700&display=swap');

/* ============================================================ */
/* == 1. RESET & ESTILOS GLOBAIS                            == */
/* ============================================================ */
* {
    box-sizing: border-box; /* Garante que padding não aumente a largura total */
}

html, body {
    overflow-x: hidden; /* Impede que animações ou elementos largos criem barra horizontal */
    width: 100%;
    position: relative;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
}

body {
    color: #E0C3FE;
    display: flex;
    flex-direction: column;
    font-family: 'Plus Jakarta Sans', sans-serif;
    min-height: 100vh;
}

main {
    flex: 1;
    width: 100%;
}

/* --- Alertas de Mensagens --- */
.messages-container {
    width: 90%;
    max-width: 1200px;
    margin: 20px auto;
}

.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    text-align: center;
}

.alert-success { background-color: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.alert-error, .alert-danger { background-color: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* Mídia Responsiva Global */
img, video, iframe {
    max-width: 100%;
    height: auto;
}

/* --- Tipografia Global --- */
.font-outfit-bold { font-family: 'Outfit', sans-serif; font-weight: 700; }

.texto {
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    line-height: 1.7;
    color: #2E0854;
}

h1 {
    background: linear-gradient(90deg, #2E0854 0%, #4B0082 50%, #6A0DAD 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-size: clamp(2rem, 8vw, 3.5rem); /* Fonte fluida */
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.1;
    margin: 0;
}

h2 {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    color: blueviolet;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
}

h3 {
    color: blueviolet;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
}

p {
    color: rgb(24, 22, 26);
    font-size: 18px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 400;
    text-align: justify;
}

/* ============================================================ */
/* == 2. LAYOUT PRINCIPAL (HEADER, NAV, FOOTER)             == */
/* ============================================================ */
header {
    display: flex;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    gap: 10px;
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 5 px;
}

#logo_ametista_header {
    display: block !important;
    width: auto;
    height: clamp(50px, 6vw, 70px);
    object-fit: contain;
    transition: transform 0.3s ease;
}

.header-brand:hover #logo_ametista_header {
    transform: scale(1.05) rotate(-3deg);
}

#cabecalho {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: blueviolet;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    white-space: nowrap;
    margin: 0;
}

/* ============================================================ */
/* == 4.5 PÁGINAS DE FUNCIONALIDADES (SIMULADORES)          == */
/* ============================================================ */

.secao-calculadora {
    padding: 60px 0;
    min-height: 80vh;
}

.header-calculadora {
    text-align: center;
    margin-bottom: 50px;
}

.header-calculadora h1 {
    margin-bottom: 15px;
}

.container-calculadora, .container-simulador-vendas {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.card-calculadora {
    background: linear-gradient(135deg, rgba(46, 8, 84, 0.95) 0%, rgba(26, 10, 42, 0.98) 100%);
    border: 1px solid rgba(224, 195, 254, 0.2);
    border-radius: 30px;
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Proporção ideal para formulário vs dashboard */
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
}

.formulario-calc {
    padding: 40px;
    border-right: 1px solid rgba(224, 195, 254, 0.1);
    background: rgba(255, 255, 255, 0.02);
}

.formulario-calc h3 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 1.3rem;
    border-bottom: 2px solid blueviolet;
    display: inline-block;
    padding-bottom: 5px;
    font-family: 'Outfit', sans-serif;
}

.campo-calc {
    margin-bottom: 25px;
}

.campo-calc label {
    display: block;
    color: #E0C3FE;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.campo-calc input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(224, 195, 254, 0.2);
    color: #fff;
    padding: 12px 15px;
    border-radius: 12px;
    width: 100%;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.campo-calc input:focus {
    outline: none;
    border-color: blueviolet;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 15px rgba(138, 43, 226, 0.3);
}

.campo-calc small {
    display: block;
    margin-top: 5px;
    color: rgba(224, 195, 254, 0.5);
    font-size: 0.8rem;
}

.resultado-calc {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.1) 0%, rgba(0, 0, 0, 0) 100%);
}

.resultado-calc h3 {
    color: #fff;
    margin-bottom: 30px;
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
}

.metrica-resultado {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid rgba(224, 195, 254, 0.1);
}

.metrica-resultado:last-of-type {
    border-bottom: none;
    margin-bottom: 20px;
}

.label-metrica {
    color: rgba(238, 221, 255, 0.8);
    font-weight: 600;
    font-size: 1rem;
}

.valor-metrica {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
}

.destaque-positivo .valor-metrica {
    color: #00ff88;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

.diagnostico-calc, .painel-diagnostico-final {
    margin-top: 20px;
    padding: 25px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
    border: 1px solid rgba(224, 195, 254, 0.1);
    color: #E0C3FE;
    box-shadow: inset 0 2px 10px rgba(0,0,0,0.2);
}

.info-ajuda {
    background: linear-gradient(135deg, rgba(224, 195, 254, 0.05) 0%, rgba(46, 8, 84, 0.1) 100%);
    padding: 50px;
    border-radius: 35px;
    border: 1px solid rgba(224, 195, 254, 0.1);
    color: #2E0854;
}

.info-ajuda h4 {
    color: blueviolet;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    margin-bottom: 30px;
    text-align: center;
}

.info-ajuda ul {
    list-style: none;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.info-ajuda li {
    font-size: 1.05rem;
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.5);
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.03);
}

.info-ajuda li strong {
    color: #2E0854;
    display: block;
    margin-bottom: 10px;
    font-size: 1.1rem;
    font-family: 'Outfit', sans-serif;
}

/* Grid de métricas específico para ROAS */
.grid-metricas-roas, .grid-metricas-cac-ltv {
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); 
    gap: 20px; 
    margin-bottom: 30px;
}

.grid-metricas-roas .metrica-resultado, .grid-metricas-cac-ltv .metrica-resultado {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(224, 195, 254, 0.1);
    border-radius: 15px;
}

/* Planejamento de Receita (Multi-produtos) */
.grid-inputs-produtos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    width: 100%;
}

.card-input-produto {
    background: rgba(46, 8, 84, 0.4);
    padding: 25px;
    border-radius: 20px;
    border: 1px solid rgba(224, 195, 254, 0.1);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.card-input-produto:hover {
    border-color: blueviolet;
    background: rgba(46, 8, 84, 0.6);
}

.card-input-produto h4 {
    margin: 0 0 20px 0;
    color: #E0C3FE;
    font-family: 'Outfit', sans-serif;
    border-bottom: 1px solid rgba(224, 195, 254, 0.1);
    padding-bottom: 10px;
    font-size: 1.1rem;
}

.painel-grafico {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 30px;
    background: rgba(255, 255, 255, 0.02);
    padding: 40px;
    border-radius: 30px;
    border: 1px solid rgba(224, 195, 254, 0.1);
}

.resumo-total-simulacao {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 25px;
    background: linear-gradient(135deg, rgba(46, 8, 84, 0.8) 0%, rgba(26, 10, 42, 0.9) 100%);
    padding: 35px;
    border-radius: 25px;
    border: 1px solid rgba(224, 195, 254, 0.2);
}

.metrica-total {
    display: flex;
    flex-direction: column;
    gap: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding-bottom: 15px;
}

.metrica-total:last-child { border-bottom: none; }

.metrica-total span {
    font-size: 0.9rem;
    color: rgba(224, 195, 254, 0.6);
    font-weight: 600;
}

.metrica-total strong {
    font-size: 1.8rem;
    font-family: 'Outfit', sans-serif;
    color: #fff;
}

#total-lucro-acum { color: #00ff88; text-shadow: 0 0 10px rgba(0, 255, 136, 0.2); }

@media (max-width: 1200px) {
    .painel-grafico { grid-template-columns: 1fr; }
}

/* Ajustes para Simuladores com Gráficos */
.painel-grafico-roas {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
    padding: 20px;
    margin-top: 20px;
}

.canvas-container {
    width: 100%;
    position: relative;
}

@media (max-width: 992px) {
    .card-calculadora {
        grid-template-columns: 1fr;
    }
    .formulario-calc {
        border-right: none;
        border-bottom: 1px solid rgba(224, 195, 254, 0.1);
    }
    .info-ajuda ul {
        grid-template-columns: 1fr;
    }
}

section {
    display: flex;
    flex-direction: column;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 25px 0;
}

footer {
    background-color: #34035f;
    width: 100%;
    padding: 60px 5%;
    margin-top: 25px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
    color: #EEDDFF;
}

.footer-brand p {
    color: #EEDDFF;
    font-size: 16px;
    margin-top: 20px;
    text-align: left;
}

#nav-footer {
    display: flex;
    justify-content: flex-end;
    gap: 80px;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-col h4 {
    color: #fff;
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-col a {
    color: rgba(238, 221, 255, 0.8);
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
}

.footer-col a:hover {
    color: #fff;
    padding-left: 5px;
}

@media (max-width: 992px) {
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .footer-brand p { text-align: center; }

    #nav-footer {
        justify-content: center;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    #nav-footer {
        flex-direction: column;
        gap: 30px;
    }
}

#secao-dupla{
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.descricao-solucoes{
    width: 100%;
    color: #2E0854;
    font-size: 24px;
    text-align: justify;
}

/* --- Navegação Principal (Header) --- */
.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 15px;
}

.nav-list a {
    padding: 10px 15px;
    color: blueviolet;
    font-size: 16px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-list a::after {
    content: '';
    position: absolute;
    width: 0; height: 2px;
    bottom: 5px; left: 50%;
    background-color: blueviolet;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-list a:hover::after { width: 70%; }

/* Dropdown */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #EEDDFF;
    min-width: 260px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
    border-radius: 15px;
    z-index: 100;
    padding: 10px 0;
    list-style: none;
    margin: 0;
}

.dropdown:hover .dropdown-content { display: block; }

.dropdown-content li {
    width: 100%;
}

.dropdown-content a {
    color: #2E0854 !important;
    padding: 12px 25px;
    text-decoration: none;
    display: block;
    font-size: 15px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: normal; /* Permite quebra de linha se necessário */
}

.dropdown-content a:hover {
    background-color: rgba(46, 8, 84, 0.08);
}

.dropdown-content a::after {
    display: none !important;
}

/* ============================================================ */
/* == 3. COMPONENTES REUTILIZÁVEIS                          == */
/* ============================================================ */

/* Botões */
.btn-generic {
    background: linear-gradient(135deg, #1A0A2A 0%, #3B0A60 50%, #4B0082 100%);
    color: #F4F4F4;
    padding: 15px 30px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(138, 43, 226, 0.3);
}

.btn-generic:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    filter: brightness(1.2);
}

#coluna-cartao-dados{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: auto;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); /* Mantém colunas automáticas */
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}


#cartao-dado{
    display: flex;
    flex-direction: row;
    
    align-items: center;
    gap:20px;
    color: #2E0854;

}

@media (max-width: 768px) {
    .card-grid {
        grid-template-columns: 1fr; /* Força uma coluna apenas em smartphones */
    }
}

.card-produto {
    width: 100%;
    max-width: 100%; /* Removido o limite fixo para o grid controlar */
    min-height: 380px;
    padding: 25px;
    border: 2px solid blueviolet;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s ease;
    text-align: center;
    color: #2E0854;
}

.card-produto:hover {
    transform: translateY(-10px);
    background: #fff;
    border-color: #E0C3FE;
}

#sub-secao-produtos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    width: 100%;
    margin-top: 40px;
}

.card-produto .descricao_produto {
    font-size: 16px;
    color: rgba(46, 8, 84, 0.8);
    margin: 15px 0;
    line-height: 1.5;
}

.btn-card-produto {
    background: transparent;
    border: 2px solid blueviolet;
    color: blueviolet;
    padding: 10px 25px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-card-produto:hover {
    background: blueviolet;
    color: #fff;
}

#formulario-layout{
    display: flex;
    flex-direction: row;
    gap: 40px;
    width: 100%;
    max-width: 1200px;
}

#coluna-card{
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    width: 100%;
}

.card-formulario{
    display: flex;
    flex-direction: row;
    background-color:#EEDDFF;
    border-radius: 20px;
    width: 100%;
    max-width: 350px;
    padding: 15px;
    gap:15px;
    align-items: center;
}

/* --- Botão WhatsApp Fixo --- */
.whatsapp-fixo {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    animation: pulse-whatsapp 2s infinite;
}

.whatsapp-fixo img {
    width: 35px;
    height: 35px;
}

.whatsapp-fixo:hover {
    transform: scale(1.1) rotate(5deg);
    background-color: #128c7e;
    box-shadow: 0 15px 30px rgba(37, 211, 102, 0.5);
}

@keyframes pulse-whatsapp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

#texto-chamada-formulario{
    font-size: 18px;
    margin-bottom: 30px;
}

/* Formulários */
#formulario-contato {
    background: linear-gradient(135deg, #2e0854 0%, #1A0A2A 100%);
    border-radius: 30px;
    padding: 60px 5%;
    display: flex;
    justify-content: center;
    border: 1px solid rgba(224, 195, 254, 0.2);
    margin: 40px auto;
}

#conteudo-formulario { 
    display: flex; 
    flex-direction: column;
    flex: 1;
}

#conteudo-formulario h2 { 
    color: #fff; 
    text-indent: 0; 
    text-align: left; 
    margin-bottom: 20px;
}

form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 20px;
    border: 1px solid rgba(224, 195, 254, 0.1);
}

@media (max-width: 992px) {
    #formulario-layout {
        flex-direction: column;
        align-items: center;
    }
    
    #conteudo-formulario {
        width: 100%;
        text-align: center;
    }

    #conteudo-formulario h2 {
        text-align: center;
    }

    #texto-chamada-formulario {
        text-align: center;
    }

    form {
        width: 100%;
        max-width: 100%;
    }
}

input, select, textarea {
    width: 100%;
    padding: 12px 15px;
    border-radius: 12px;
    border: 1px solid #34035f;
    background: rgba(26, 10, 42, 0.3);
    color: #fff;
    font-size: 16px;
}

.politica-privacidade-checkbox{
    display: flex;
    align-items: center;
}

.politica-privacidade-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;

    border-radius: 4px;
    background-color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: 0.3s;
}

/* 2. Estilo quando o checkbox estiver marcado */
.politica-privacidade-checkbox input[type="checkbox"]:checked {
    background-color: #007bff; /* Cor de fundo quando marcado */
    border-color: #007bff;
}

/* 3. Criando o "Check" (o símbolo de V) usando pseudo-elemento */
.politica-privacidade-checkbox input[type="checkbox"]:checked::after {
    content: '✔'; /* Você pode usar um ícone ou desenho aqui */
    color: white;
    font-size: 14px;
    font-weight: bold;
}

/* 4. Efeito de foco (importante para acessibilidade) */
.politica-privacidade-checkbox input[type="checkbox"]:focus {
    outline: 2px solid rgba(0, 123, 255, 0.5);
    outline-offset: 2px;
}


/* ============================================================ */
/* == 4. SEÇÕES ESPECÍFICAS                                 == */
/* ============================================================ */

/* --- 4.1 PÁGINA SOBRE --- */
.pagina-sobre p, 
.pagina-sobre .texto {
    color: #2E0854;
}

.pagina-sobre .caixa-texto .texto {
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    line-height: 1.7;
    margin: 0;
}

#origem-ametista {
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    line-height: 1.7;
    margin: 30px 0;
}

#secao-dupla {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 50px;
    margin: 40px 0;
}

#secao-dupla > div {
    flex: 1;
}

#lab-ametista-office-2 {
    width: 100%;
    max-width: 550px;
    height: auto;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(46, 8, 84, 0.2);
    display: block;
    margin: 0 auto;
}

@media (max-width: 992px) {
    #secao-dupla {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
}

/* --- 4.2 PÁGINA INFRAESTRUTURA BI --- */
.texto-chamada-bi, 
.texto-chamada-bi-2 {
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    line-height: 1.7;
    color: #2E0854;
    margin-bottom: 30px;
}

#sub-secao-h1 {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 50px;
    margin: 40px 0;
}

#sub-secao-h1 .texto-chamada-bi {
    flex: 1;
    margin-bottom: 0;
}

#sub-secao-h1 img {
    flex: 1;
    max-width: 550px;
    width: 100%;
    height: auto;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(46, 8, 84, 0.2);
}

.card-infra {
    background: linear-gradient(135deg, #2E0854 0%, #1A0A2A 100%);
    border: 1px solid rgba(224, 195, 254, 0.2);
    border-radius: 20px;
    padding: 35px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(224, 195, 254, 0.05);
}

/* Efeito de Reflexo de Cristal */
.card-infra::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transform: rotate(45deg);
    transition: 0.6s;
    pointer-events: none;
}

.card-infra:hover::before {
    top: -10%;
    left: -10%;
}

.card-infra:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 25px 50px rgba(46, 8, 84, 0.5);
    border-color: rgba(224, 195, 254, 0.5);
}

#card-titulo-infra {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: #EEDDFF;
    display: flex;
    align-items: center;
    gap: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.descricao-card-infra {
    font-size: 16px;
    color: rgba(238, 221, 255, 0.9);
    line-height: 1.6;
}

@media (max-width: 992px) {
    #sub-secao-h1 {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
}

/* --- 4.3 PÁGINA CONSULTORIA ECONÔMICA --- */
.texto-chamada-3 {
    font-size: clamp(1.1rem, 2.2vw, 1.4rem);
    line-height: 1.7;
    color: #2E0854;
}

#img-dados-bi {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 50px;
    margin: 40px 0;
}

#img-dados-bi .texto-chamada-3 {
    flex: 1.2;
}

.video-estilo-gif {
    flex: 1;
    max-width: 550px;
    width: 100%;
    height: auto;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(46, 8, 84, 0.2);
}

@media (max-width: 992px) {
    #img-dados-bi {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
}

/* --- 4.4 PÁGINA LISTA DE PLANILHAS --- */
.vitrine-container p {
    font-size: clamp(1.1rem, 2.2vw, 1.3rem);
    line-height: 1.6;
    color: #2E0854;
    text-align: center;
    margin-bottom: 40px;
}

.grid-planilhas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

.card-planilha {
    background: linear-gradient(135deg, #2E0854 0%, #1A0A2A 100%);
    border: 1px solid rgba(224, 195, 254, 0.2);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.4s ease;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
}

.card-planilha img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-planilha .card-body {
    padding: 20px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card-planilha h3 {
    color: #EEDDFF;
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.card-planilha p {
    color: rgba(238, 221, 255, 0.8) !important;
    font-size: 14px !important;
    text-align: center !important;
    margin-bottom: 20px;
    line-height: 1.5;
}

.btn-saber-mais {
    background: transparent;
    border: 2px solid blueviolet;
    color: #EEDDFF;
    padding: 8px 18px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-saber-mais:hover {
    background: blueviolet;
    color: #fff;
}

.card-planilha:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(46, 8, 84, 0.4);
    border-color: rgba(224, 195, 254, 0.4);
}

/* --- 4.5 SEÇÃO DE INTEGRAÇÕES (TICKER INFINITO) --- */
.integracoes-section {
    padding: 60px 0;
    background: #ffffff;
    overflow: hidden;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.integracoes-title {
    text-align: center;
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
    color: #999;
    margin-bottom: 40px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 600;
}

.ticker-container {
    width: 100%;
    overflow: hidden;
    background: #fff;
    padding: 30px 0;
    position: relative;
}

.ticker-wrapper {
    display: flex;
    width: max-content;
    align-items: center;
    animation: scroll 40s linear infinite;
}

.ticker-item {
    flex: 0 0 auto;
    padding: 0 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ticker-item img {
    height: 40px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.4;
    transition: all 0.4s ease;
}

.ticker-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.1);
}

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

/* Degradê nas bordas para suavizar a entrada/saída */
.ticker-container::before,
.ticker-container::after {
    content: "";
    position: absolute;
    top: 0;
    width: 150px;
    height: 100%;
    z-index: 2;
}

.ticker-container::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.ticker-container::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

/* Vídeo VSL */
.video-vsl-container {
    width: 100%;
    max-width: 900px;
    margin: 20px auto;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.video-vsl-container iframe { width: 100%; height: 100%; border: 0; }

/* ============================================================ */
/* == 5. MENU HAMBÚRGUER & RESPONSIVIDADE                   == */
/* ============================================================ */

.hamburger {
    display: none;
    cursor: pointer;
    background: transparent;
    border: none;
    z-index: 2000;
}

.hamburger .bar {
    display: block;
    width: 30px;
    height: 3px;
    margin: 6px 0;
    background: blueviolet;
    transition: 0.3s;
}

/* --- BREAKPOINT: TABLETS & CELULARES (992px) --- */
@media (max-width: 992px) {
    .hamburger { display: block; }

    nav {
        position: fixed;
        top: 0; right: -100%;
        width: 100%; height: 100vh;
        background: rgba(35, 6, 32, 0.98);
        transition: 0.4s ease;
        z-index: 1500;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    nav.is-active { right: 0; }

    .nav-list {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .nav-list a { font-size: 1.5rem; color: #fff; }

    #secao, .coluna-duplicada {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* --- BREAKPOINT: CELULARES (768px) --- */
@media (max-width: 768px) {
    section { width: 95%; padding: 20px 0; }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .newsletter-form { flex-direction: column; }
    
    /* Ajustes específicos de elementos que eram fixos */
    .video-estilo-gif, #img-dashboard, #img-dashboard-2 {
        width: 100% !important;
        height: auto !important;
    }

    .card-formulario {
        width: 100% !important;
        max-width: 400px;
    }
}

/* --- BREAKPOINT: CELULARES PEQUENOS (480px) --- */
@media (max-width: 480px) {
    h1 { font-size: 1.8rem; }
    .btn-generic { width: 100%; }
}

/* --- 4.6 PÁGINA BLOG --- */
#sub-secao-blog h1 { text-align: center; margin-bottom: 10px; }
.texto-chamada-2 { text-align: center; color: #2E0854; margin-bottom: 40px; }

/* Filtros de Categoria */
.blog-filtros {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid rgba(75, 0, 130, 0.2);
    color: #2E0854;
    padding: 8px 20px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active, .filter-btn:hover {
    background: #2E0854;
    color: #fff;
    border-color: #2E0854;
}

/* Artigo em Destaque */
.artigo-destaque-container {
    background: linear-gradient(135deg, #2E0854 0%, #1A0A2A 100%);
    border-radius: 30px;
    overflow: hidden;
    display: flex;
    min-height: 450px;
    margin-bottom: 60px;
    border: 1px solid rgba(224, 195, 254, 0.2);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.artigo-destaque-content {
    flex: 1.2;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
}

.artigo-destaque-categoria {
    color: #E0C3FE;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    font-size: 0.9rem;
}

.artigo-destaque-content h2 {
    color: #fff;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin: 0;
    background: none;
    -webkit-text-fill-color: initial;
}

.artigo-destaque-descricao {
    color: rgba(238, 221, 255, 0.8) !important;
    font-size: 1.1rem !important;
    text-align: left !important;
}

.artigo-destaque-imagem {
    flex: 1;
    background-size: cover;
    background-position: center;
    border-left: 1px solid rgba(224, 195, 254, 0.1);
}

.artigo-destaque-meta {
    color: rgba(238, 221, 255, 0.5);
    font-size: 0.9rem;
}

.btn-destaque {
    background: #E0C3FE !important;
    color: #2E0854 !important;
    border: none !important;
    align-self: flex-start;
}

/* Grid de Artigos */
.grid-artigos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.card-artigo {
    background: linear-gradient(135deg, #2E0854 0%, #1A0A2A 100%) !important;
    border: 1px solid rgba(224, 195, 254, 0.2) !important;
    border-radius: 25px !important;
    padding: 0 !important;
    overflow: hidden;
    height: auto !important;
    text-align: left !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}

.card-artigo-imagem {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid rgba(224, 195, 254, 0.1);
}

.card-artigo-categoria {
    display: inline-block;
    margin: 20px 25px 5px;
    color: #E0C3FE;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.card-artigo h3 {
    color: #fff !important;
    margin: 0 25px 15px !important;
    font-size: 1.4rem !important;
    text-align: left !important;
}

.card-artigo-descricao {
    color: rgba(238, 221, 255, 0.7) !important;
    margin: 0 25px 20px !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    text-align: left !important;
}

.card-artigo-footer {
    padding: 0 25px 25px;
    margin-top: auto;
}

.card-artigo-meta {
    color: rgba(238, 221, 255, 0.5) !important;
    font-size: 0.85rem !important;
    margin-bottom: 15px !important;
    text-align: left !important;
}

.btn-card-artigo {
    width: 100% !important;
    border-color: rgba(224, 195, 254, 0.3) !important;
    color: #fff !important;
    text-align: center !important;
}

.btn-card-artigo:hover {
    background: #E0C3FE !important;
    color: #2E0854 !important;
}

.blog-titulo-secao {
    margin: 60px 0 30px;
    font-size: 2rem;
    color: #2E0854;
    font-family: 'Outfit', sans-serif;
}

@media (max-width: 992px) {
    .artigo-destaque-container { flex-direction: column; }
    .artigo-destaque-imagem { height: 300px; order: -1; border-left: none; border-bottom: 1px solid rgba(224, 195, 254, 0.1); }
    .artigo-destaque-content { padding: 30px; }
}

/* --- 4.7 PÁGINA DETALHE DA PLANILHA --- */
.planilha-container {
    padding-top: 20px;
}

.voltar {
    color: blueviolet;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.voltar:hover { transform: translateX(-5px); }

.conteudo-container {
    display: flex;
    gap: 60px;
    margin-top: 20px;
    align-items: flex-start;
}

.detalhe-imagem {
    flex: 1.3;
}

.planilha-imagem {
    width: 100%;
    border-radius: 25px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border: 1px solid rgba(46, 8, 84, 0.05);
}

.galeria-planilha {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.thumbnail {
    width: 100px;
    height: 70px;
    object-fit: cover;
    border-radius: 12px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.thumbnail.active, .thumbnail:hover {
    border-color: blueviolet;
    opacity: 1;
    transform: scale(1.05);
}

.detalhe-info {
    flex: 1;
    background: linear-gradient(135deg, #2E0854 0%, #1A0A2A 100%);
    border: 1px solid rgba(224, 195, 254, 0.2);
    border-radius: 30px;
    padding: 40px;
    color: #EEDDFF;
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
    position: sticky;
    top: 120px;
}

.detalhe-info .descricao {
    font-size: clamp(1.1rem, 2vw, 1.2rem);
    line-height: 1.7;
    color: rgba(238, 221, 255, 0.85);
    margin-bottom: 35px;
}

.detalhe-info .preco {
    font-family: 'Outfit', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    color: #E0C3FE;
    margin-bottom: 25px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.btn-comprar {
    width: 100%;
    background: #E0C3FE;
    color: #2E0854;
    padding: 20px;
    border: none;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(224, 195, 254, 0.2);
}

.btn-comprar:hover {
    background: #fff;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(224, 195, 254, 0.4);
}

.video-demonstracao {
    margin-top: 100px;
    text-align: center;
}

.video-demonstracao h2 {
    margin-bottom: 40px;
    color: #2E0854;
}

.video-container {
    max-width: 1000px;
    margin: 0 auto;
    aspect-ratio: 16/9;
    border-radius: 35px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(46, 8, 84, 0.2);
    border: 1px solid rgba(46, 8, 84, 0.1);
}

@media (max-width: 1200px) {
    .conteudo-container { gap: 30px; }
    .detalhe-info { padding: 30px; }
}

@media (max-width: 992px) {
    .conteudo-container { flex-direction: column; }
    .detalhe-info { position: static; width: 100%; }
    .detalhe-imagem { width: 100%; }
}

/* --- 4.8 LEITURA DE ARTIGO (BLOG DETALHE) --- */
.artigo-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 0 20px;
}

.artigo-header {
    text-align: center;
    margin-bottom: 50px;
    padding: 40px;
    background: rgba(46, 8, 84, 0.03);
    border-radius: 30px;
    border: 1px solid rgba(46, 8, 84, 0.05);
}

.artigo-categoria {
    color: blueviolet;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 15px;
}

.artigo-header h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    color: #2E0854;
    line-height: 1.1;
    margin-bottom: 30px; /* Aumentado de 20px para 30px */
}

.artigo-descricao {
    font-size: 1.25rem; /* Leve aumento no tamanho */
    color: rgba(46, 8, 84, 0.7);
    max-width: 800px; /* Aumentado para dar mais ar */
    margin: 0 auto 40px; /* Aumentada margem inferior para 40px */
    line-height: 1.6;
}

.artigo-meta-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    padding-top: 30px; /* Aumentado de 20px para 30px */
    border-top: 1px solid rgba(46, 8, 84, 0.1);
}

.artigo-autor {
    color: #2E0854;
    font-weight: 700;
}

.artigo-imagem-capa {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
    border-radius: 30px;
    margin-bottom: 50px;
    box-shadow: 0 20px 40px rgba(46, 8, 84, 0.1);
}

.conteudo-dinamico-artigo {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.15rem;
    line-height: 1.8;
    color: #2E1A3E;
}

.conteudo-dinamico-artigo h2, 
.conteudo-dinamico-artigo h3 {
    color: #2E0854;
    margin-top: 40px;
    margin-bottom: 20px;
}

.conteudo-dinamico-artigo p {
    margin-bottom: 25px;
}

.conteudo-dinamico-artigo img {
    max-width: 100%;
    height: auto;
    border-radius: 20px;
    margin: 30px 0;
}

.artigo-footer {
    margin-top: 80px;
    padding-top: 40px;
    border-top: 1px solid rgba(46, 8, 84, 0.1);
}

.autor-box {
    background: #EEDDFF;
    padding: 30px;
    border-radius: 25px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.autor-box h4 {
    color: #2E0854;
    margin-bottom: 10px;
}

.autor-box p {
    margin: 0;
    color: rgba(46, 8, 84, 0.8);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .artigo-header { padding: 30px 20px; }
    .autor-box { flex-direction: column; text-align: center; }
}

