:root {
    --bg-dark: #0a0e14;
    --bg-alt: #0d121a;
    --accent-gold: #c5a059;
    --text-main: #ffffff;
    --text-dim: #b0b0b0;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: all 0.4s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background-color: var(--bg-dark); font-family: 'Montserrat', sans-serif; color: var(--text-main); line-height: 1.6; }

/* Header */
header { padding: 1.5rem 10%; position: fixed; width: 100%; top: 0; z-index: 1000; background: rgba(10, 14, 20, 0.95); backdrop-filter: blur(10px); }
.navbar { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 1.5rem; font-weight: 700; letter-spacing: 2px; }
.logo span { color: var(--accent-gold); }
.nav-links { display: flex; list-style: none; gap: 2rem; }
.nav-links a { text-decoration: none; color: var(--text-main); font-size: 0.9rem; }
.btn-cta { background: transparent; border: 1px solid var(--accent-gold); color: var(--accent-gold); padding: 0.6rem 1.2rem; cursor: pointer; }

/* Hero */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 120px 10% 60px; position: relative; }
.menorah-overlay { position: absolute; right: 0; top: 0; width: 60%; height: 100%; z-index: 1; opacity: 0.25; }
.hero-text h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 20px; }
.highlight { color: var(--accent-gold); }
.btn-primary { background: var(--accent-gold); color: #000; padding: 1rem 2rem; border: none; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-block; }

.hero-services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-top: 60px; }
.glass-card { background: var(--glass); border: 1px solid var(--glass-border); padding: 25px; }
.glass-card i { color: var(--accent-gold); margin-bottom: 10px; display: block; }

/* Grid e Seções */
.section-padding { padding: 100px 10%; }
.section-alt { background: var(--bg-alt); }
.container { max-width: 1200px; margin: 0 auto; width: 100%; }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.section-title { font-size: 2.2rem; margin-bottom: 40px; }
.section-title span { color: var(--accent-gold); }

/* Mockup */
.laptop-mockup { background: #1a1a1a; padding: 10px; border-radius: 8px; border: 1px solid #333; }
.screen { background: #0a0e14; height: 220px; padding: 20px; position: relative; border: 1px solid #222; }
.gold-line { background: var(--accent-gold); width: 40%; }
.report-row { height: 6px; background: #222; margin-bottom: 10px; }
.status-pill { position: absolute; bottom: 20px; right: 20px; border: 1px solid var(--accent-gold); padding: 4px 10px; font-size: 0.6rem; color: var(--accent-gold); }

/* Metodologia */
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.method-item { border-left: 1px solid var(--accent-gold); padding-left: 20px; }
.method-number { color: var(--accent-gold); font-weight: 700; }

/* Banner Suporte */
.support-banner { background: var(--bg-alt); padding: 50px; border: 1px solid var(--glass-border); display: flex; justify-content: space-between; align-items: center; border-radius: 8px; }
.large-icon { color: var(--accent-gold); width: 60px; height: 60px; opacity: 0.3; }

/* Contato Corrigido */
.contact-box { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-form { display: flex; flex-direction: column; gap: 15px; }
.contact-form input, .contact-form textarea { background: var(--bg-dark); border: 1px solid #222; padding: 15px; color: white; border-radius: 4px; }
.contact-form textarea { height: 100px; resize: none; }

/* Footer Corrigido */
.footer-modern { background: #05070a; padding: 80px 10% 20px; border-top: 1px solid #1a1f26; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.5fr; gap: 60px; margin-bottom: 50px; }
.footer-links h4, .footer-newsletter h4 { color: var(--accent-gold); margin-bottom: 20px; font-size: 0.9rem; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: var(--text-dim); text-decoration: none; font-size: 0.85rem; }
.newsletter-box { display: flex; border: 1px solid #222; }
.newsletter-box input { background: transparent; border: none; padding: 10px; color: white; width: 100%; }
.newsletter-box button { background: var(--accent-gold); border: none; padding: 10px; cursor: pointer; }
.footer-bottom { text-align: center; border-top: 1px solid #1a1f26; padding-top: 30px; font-size: 0.75rem; color: #333; }

/* Responsividade */
@media (max-width: 900px) {
    .nav-links { display: none; }
    .hero-services-grid, .method-grid, .split-grid, .contact-box, .footer-grid { grid-template-columns: 1fr; }
    .hero-text h1 { font-size: 2.5rem; }
    .support-banner { flex-direction: column; text-align: center; gap: 20px; }
}

/* --- MODAL EXIT INTENT --- */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px); /* Efeito de vidro moderno no fundo */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--bg-alt);
    border: 1px solid var(--accent-gold);
    padding: 50px;
    max-width: 500px;
    width: 90%;
    position: relative;
    text-align: center;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--accent-gold);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.modal-header i {
    color: var(--accent-gold);
    width: 50px;
    height: 50px;
    margin-bottom: 20px;
}

.modal-header h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #fff;
}

.modal-header p {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.modal-form input {
    background: var(--bg-dark);
    border: 1px solid #222;
    padding: 15px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    border-radius: 4px;
}

.modal-form input:focus {
    border-color: var(--accent-gold);
    outline: none;
}

.modal-footer-text {
    margin-top: 20px;
    font-size: 0.75rem;
    color: #444;
}

/* Ajuste Responsivo para o Modal */
@media (max-width: 600px) {
    .modal-content {
        padding: 30px 20px;
    }
}

.modal-header i {
    color: var(--accent-gold);
    width: 40px;
    height: 40px;
    margin: 0 auto 15px;
    display: block;
}

#modal-doc {
    letter-spacing: 1px;
}

.modal-form input:invalid:not(:placeholder-shown) {
    border-color: #ff4d4d66;
}
/* Efeito Sci-Fi de Segurança */
#modal-step-success {
    text-align: center;
    padding: 20px;
}

.scifi-loader {
    position: relative;
    height: 120px;
    background: rgba(197, 160, 89, 0.05);
    border: 1px solid var(--accent-gold);
    margin-bottom: 25px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scan-line {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--accent-gold);
    top: 0;
    box-shadow: 0 0 15px var(--accent-gold);
    animation: scanning 2s linear infinite;
}

@keyframes scanning {
    0% { top: 0; }
    100% { top: 100%; }
}

.crypto-code {
    font-family: 'Courier New', monospace;
    color: rgba(197, 160, 89, 0.3);
    font-size: 0.8rem;
    word-break: break-all;
}

.lock-icon {
    position: absolute;
    color: var(--accent-gold);
    width: 40px !important;
    height: 40px !important;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
    100% { transform: scale(1); opacity: 1; }
}

.success-title {
    color: var(--accent-gold);
    letter-spacing: 4px;
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.terminal-text {
    font-family: 'Courier New', monospace;
    color: #00ff41; /* Verde clássico de terminal */
    font-size: 0.85rem;
    text-align: left;
    background: #000;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.terminal-text p { margin: 5px 0; border-right: 2px solid #00ff41; white-space: nowrap; overflow: hidden; animation: typing 1s steps(30, end); }

@keyframes typing { from { width: 0 } to { width: 100% } }

/* Container da Menorá Futurista */
.menorah-tech-container {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menorah-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 10px rgba(197, 160, 89, 0.4));
}

.menorah-line {
    fill: none;
    stroke: var(--accent-gold);
    stroke-width: 1.5;
    stroke-linecap: round;
    opacity: 0.8;
}

/* Efeito de Chama Tecnológica */
.tech-flame {
    fill: var(--accent-gold);
    filter: drop-shadow(0 0 5px var(--accent-gold));
    animation: flicker 2s infinite alternate;
}

/* Anel de Segurança Giratório */
.protection-ring {
    stroke: var(--accent-gold);
    stroke-width: 0.5;
    stroke-dasharray: 10 5;
    opacity: 0.3;
    animation: rotateRing 15s linear infinite;
    transform-origin: center;
}

/* Brilho de fundo */
.glow-effect {
    position: absolute;
    width: 150px;
    height: 150px;
    background: var(--accent-gold);
    filter: blur(80px);
    opacity: 0.15;
    z-index: -1;
}

/* Animações */
@keyframes flicker {
    0% { opacity: 0.4; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1.2); }
}

@keyframes rotateRing {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Ajuste na seção de Diferenciais para alinhar melhor */
.image-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle, rgba(197, 160, 89, 0.05) 0%, transparent 70%);
}

/* --- AJUSTE REDES SOCIAIS --- */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(197, 160, 89, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
    transition: var(--transition);
    text-decoration: none;
}

.social-icon:hover {
    background: var(--accent-gold);
    color: #000;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3);
}

.social-icon i {
    width: 18px;
    height: 18px;
}

/* --- AJUSTE MENU MOBILE --- */
.menu-toggle {
    display: none; /* Escondido no desktop */
    cursor: pointer;
    color: var(--accent-gold);
}

@media (max-width: 900px) {
    .menu-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Escondido fora da tela */
        width: 70%;
        height: 100vh;
        background: #0d121a;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s ease;
        box-shadow: -10px 0 30px rgba(0,0,0,0.5);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0; /* Desliza para dentro */
    }

    .nav-links li {
        margin: 20px 0;
    }

    .nav-links a {
        font-size: 1.2rem;
    }

    .hide-mobile {
        display: none;
    }
}

/* --- RODAPÉ: Ajuste da cor da fonte --- */
.footer-bottom {
    text-align: center;
    border-top: 1px solid #1a1f26;
    padding-top: 30px;
    font-size: 0.8rem;
    color: #ffffff; /* FONTE BRANCA ATUALIZADA */
    opacity: 0.9;
    letter-spacing: 1px;
}

/* --- MENU MOBILE: Efeito Glassmorphism --- */
@media (max-width: 900px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        /* Fundo escuro semi-transparente com desfoque */
        background: rgba(10, 14, 20, 0.9); 
        backdrop-filter: blur(15px); 
        -webkit-backdrop-filter: blur(15px);
        border-left: 1px solid rgba(197, 160, 89, 0.2);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.5s cubic-bezier(0.77, 0.2, 0.05, 1);
        z-index: 1000;
    }

    .nav-links.active {
        right: 0;
    }

    /* Links do menu mobile mais elegantes */
    .nav-links li a {
        font-size: 1.4rem;
        text-transform: uppercase;
        letter-spacing: 2px;
        color: var(--text-main);
    }
}
/* --- ESTILIZAÇÃO DA SEÇÃO DE CURSO --- */
.course-badge {
    display: inline-block;
    background: #ff0000; /* Vermelho de atenção conforme o banner */
    color: #fff;
    padding: 5px 15px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.7rem;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.course-img {
    width: 100%;
    border-radius: 4px;
    border: 1px solid var(--accent-gold);
    box-shadow: 0 0 20px rgba(197, 160, 89, 0.2);
}

.scifi-subtitle {
    color: var(--accent-gold);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    margin-bottom: 20px;
}

/* --- AJUSTE COPYRIGHT BRANCO --- */
.footer-bottom p {
    color: #ffffff !important; /* Força a fonte branca pedida */
    opacity: 1;
}
/* --- ESTILIZAÇÃO DA GRADE DE SERVIÇOS --- */
.services-grid-main {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
    gap: 25px;
    margin-top: 50px;
    width: 100%;
}

.service-item-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(197, 160, 89, 0.2);
    padding: 40px 30px;
    text-align: center;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 280px;
    transition: all 0.4s ease;
}

.service-item-card:hover {
    border-color: #c5a059;
    background: rgba(197, 160, 89, 0.08);
    transform: translateY(-5px);
}

.service-item-card i {
    color: #c5a059;
    width: 35px;
    height: 35px;
    margin-bottom: 20px;
}

.service-item-card h3 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-service {
    background: transparent;
    border: 1px solid #c5a059;
    color: #c5a059;
    padding: 10px 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 20px;
    transition: 0.3s;
}

.btn-service:hover {
    background: #c5a059;
    color: #000;
}

/* Responsividade Celular */
@media (max-width: 768px) {
    .services-grid-main {
        grid-template-columns: 1fr !important;
    }
}
/* --- CONTAINER PRINCIPAL DOS SERVIÇOS --- */
.services-grid-main {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important; /* Força 3 colunas como na imagem */
    gap: 30px;
    margin-top: 50px;
    padding: 20px 0;
}

/* --- ESTILO DO CARD (FORMATO DA IMAGEM) --- */
.service-item-card {
    background: #ffffff; /* Fundo branco conforme a imagem de referência */
    border: 1.5px solid #0a0f14; /* Borda escura fina */
    border-top-left-radius: 40px; /* Canto arredondado superior esquerdo */
    min-height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 20px;
}

/* Efeito Hover para manter o padrão do site */
.service-item-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(197, 160, 89, 0.2);
    border-color: #c5a059;
}

.service-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
}

/* ÍCONES */
.service-item-card i {
    color: #0a0f14; /* Ícone escuro como na imagem */
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
}

/* TÍTULOS */
.service-item-card h3 {
    color: #0a0f14;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 30px;
    max-width: 200px;
    line-height: 1.3;
}

/* BOTÃO "SAIBA MAIS" (ESTILO DA IMAGEM) */
.btn-service {
    background: transparent;
    border: 1px solid #0a0f14;
    color: #0a0f14;
    padding: 8px 18px;
    font-size: 0.65rem;
    font-weight: 400;
    letter-spacing: 1px;
    cursor: pointer;
    transition: 0.3s;
}

.btn-service:hover {
    background: #c5a059;
    color: #ffffff;
    border-color: #c5a059;
}

/* --- RESPONSIVIDADE --- */
@media (max-width: 992px) {
    .services-grid-main {
        grid-template-columns: repeat(2, 1fr) !important; /* 2 colunas em tablets */
    }
}

@media (max-width: 600px) {
    .services-grid-main {
        grid-template-columns: 1fr !important; /* 1 coluna em celulares */
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none; /* Esconde o menu por padrão no mobile */
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #0a0f14; /* Cor do fundo do seu site */
        padding: 20px;
        text-align: center;
        z-index: 1000;
    }

    /* Classe que o JavaScript ativa */
    .nav-links.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
        cursor: pointer;
    }
}