/* --- MiltonBOT 3.0: Reset & Configurações Globais --- */
:root {
    /* Cores Futuristas */
    --bg-dark: #070b14;    /* Fundo Quase Preto */
    --text-main: #f1f5f9;  /* Branco Gelo */
    --primary-orange: #e67e22; /* Laranja Milton */
    --secondary-green: #00ff88; /* Verde Neon */
    --accent-blue: #00d2ff;   /* Azul Neon */
    --problem-red: #ff4444;   /* Vermelho Alerta */
    --feature-purple: #bd93f9; /* Roxo Futurista */
    
	--gold-electric: #ffcc00;

    /* Efeitos */
	--gold-glow: drop-shadow(0 0 15px rgba(255, 204, 0, 0.4));
    --gold-box-glow: 0 0 10px rgba(255, 204, 0, 0.25);

    --glass-bg: rgba(255, 255, 255, 0.03);
    --border-glass: rgba(255, 255, 255, 0.08);
    --terminal-bg: rgba(0, 0, 0, 0.8);
}
* {
    margin: 0;
    padding: 0;
    box-shadow: none;
    box-sizing: border-box;
    outline: none;
}

html {
    /* Ativa o Snap Scrolling (Efeito de troca de tela inteira) */
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    overflow-y: scroll;
    height: 100vh;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow: hidden; /* Importante para o snap container funcionar */
    font-weight: 300;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
a:hover { color: var(--primary-orange); }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }

.sub07 { font-size:0.7em; }
strong { font-weight: 700; }
strong.red { color: var(--problem-red); }
strong.green { color: var(--secondary-green); }

/* --- Configuração das Seções de Tela Cheia (Snap) --- */
.snap-container {
    height: 100vh;
    overflow-y: auto;
    scroll-snap-type: y mandatory;
}

.snap-section {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    scroll-snap-align: start; /* Alinha o início da seção ao topo */
    position: relative;
    padding: 80px 20px 20px; /* Padding superior para compensar o header fixo */
}

/* Container de conteúdo dentro de cada seção */
.section-content {
    width: 90%;
    max-width: 1400px;
    height: 100%;
    display: flex;
    align-items: center;
    gap: 40px;
}

/* Layouts Básicos */
.grid-2-cols { display: grid; grid-template-columns: 1fr 1fr; }
.vertical-stack { flex-direction: column; justify-content: center; width: 100%; text-align: center; gap: 20px; }

/* --- Header & Menu Futurista --- */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(7, 11, 20, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 9999;
}

.logo { display: flex; align-items: center; gap: 10px; font-weight: 900; font-size: 1.5em; }
.logo-icon { width: 35px; height: 35px; }
.highlight-orange { color: var(--primary-orange); }

/* Menu Desktop */
.nav-links ul { display: flex; gap: 30px; align-items: center; }
.nav-links ul li a { font-weight: 700; font-size: 0.9em; text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,0.7); }
.nav-links ul li a:hover { color: var(--primary-orange); text-shadow: 0 0 10px var(--primary-orange); }

/* Botão CTA do Menu */
.nav-cta {
    background: linear-gradient(45deg, var(--secondary-green), var(--accent-blue));
    color: #000 !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 900 !important;
}

/* Esconder checkbox do menu mobile */
.menu-toggle { display: none; }

/* --- Estilização Geral dos Textos --- */
h1 { font-size: 4em; font-weight: 900; line-height: 1.1; letter-spacing: -2px; margin-bottom: 20px; }
h2.section-title { font-size: 3em; font-weight: 900; letter-spacing: -1px; margin-bottom: 15px; }
h3 { font-size: 1.5em; font-weight: 700; margin-bottom: 10px; }
p { font-size: 1.2em; margin-bottom: 25px; max-width: 1200px; color: rgba(255,255,255,0.8); }

/* Destaques de Cor */
.highlight-green { color: var(--secondary-green); text-shadow: 0 0 15px var(--secondary-green); }
.text-red { color: var(--problem-red); }
.text-green { color: var(--secondary-green); }
.text-orange { color: var(--primary-orange); }
.text-purple { color: var(--feature-purple); }
.text-center { text-align: center; margin-left: auto; margin-right: auto; }

/* --- Botões e Animações --- */
.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, #27ae60, var(--secondary-green));
    color: #fff;
    padding: 18px 35px;
    border-radius: 12px;
    font-weight: 900;
    font-size: 1.2em;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(39, 174, 96, 0.3);
}

.cta-button.large { font-size: 1.5em; padding: 25px 50px; }

/* Animação Pulse (Atenção) */
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(0, 255, 136, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}
.pulse { animation: pulse 2s infinite; }

/* --- Estilização das Imagens e Brilhos --- */
.image-block {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}

.image-block img {
    max-height: 70vh; /* Imagens grandes, mas respeitando a altura da tela */
    border-radius: 20px;
    object-fit: contain;
}

/* Efeitos de Brilho Neon (Glow) */
.glow-orange img { filter: drop-shadow(0 0 40px rgba(230, 126, 34, 0.3)); }
.glow-red img { filter: drop-shadow(0 0 40px rgba(255, 68, 68, 0.3)); border-color: var(--problem-red); }

/* Imagem de Perfil Redonda */
.profile-img img { border-radius: 50%; border: 6px solid var(--primary-orange); object-fit: cover; aspect-ratio: 1; }
.qrcode-img img { border: 6px solid var(--primary-orange); object-fit: cover; aspect-ratio: 1; }

/* Inverter ordem: Imagem à esquerda */
.img-left .image-block { order: -1; }

/* --- Grids Especiais (Solução e Recursos) --- */

/* Benefícios - Glassmorphism */
.glass-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 1000px;
}

.benefit-item {
    background: var(--glass-bg);
    backdrop-filter: blur(5px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 30px;
    text-align: left;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.benefit-item:hover {
    border-color: var(--secondary-green);
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(0, 215, 135, 0.15);
}

.benefit-item img { width: 50px; height: 50px; margin-bottom: 20px; }
.benefit-item h3 { color: var(--accent-blue); }

/* Recursos - Estilo Terminal Dark */
.terminal-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    width: 100%;
    max-width: 1000px;
}

.feature-item {
    background-color: var(--terminal-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 20px;
    font-family: 'Courier New', monospace; /* Fonte de código */
    text-align: left;
}

.feature-item h4 { color: var(--feature-purple); font-weight: 700; font-size: 1.2em; }
.feature-item p { font-size: 1em; color: rgba(255,255,255,0.7); margin-bottom: 0; }

/* --- Rodapé --- */
.mini-footer {
    position: absolute;
    bottom: 20px;
    margin: 0 auto;
    text-align: center;
    font-size: 0.8em;
    color: rgba(255,255,255,0.4);
}

.date-day {
    color: var(--text-main);
    font-weight: 700;
}
.date-hour {
    color: rgba(255, 255, 255, 0.4); /* Esmaecido */
    font-size: 0.85em;
    margin-left: 4px;
}

.milton-list {
    list-style: none; /* Remove o padrão do navegador */
    counter-reset: milton-counter; /* Inicializa o contador */
    padding: 0;
    max-width: 600px;
}

.milton-list li {
    position: relative;
    padding-left: 60px; /* Espaço para o número ficar à esquerda */
    margin-bottom: 20px; /* Espaçamento entre as linhas */
    font-size: 1.1em;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
}

/* Criação do retângulo com o número */
.milton-list li::before {
    counter-increment: milton-counter; /* Incrementa o contador */
    content: counter(milton-counter, decimal-leading-zero); /* Formata como 01, 02... */

    position: absolute;
    left: 0;
    top: 0;
    /* Design do Retângulo */
    width: 45px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    /* Identidade Visual MiltonBOT */
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    border-radius: 6px;
    color: var(--primary-orange); /* Laranja Milton */
    font-family: 'Montserrat', sans-serif;
    font-weight: 900;
    font-size: 0.85em;
    /* Efeito de brilho */
    transition: all 0.3s ease;
}

/* Hover no item da lista para dar feedback interativo */
.milton-list li:hover::before {
    background: var(--primary-orange);
    color: #000;
    box-shadow: 0 0 15px rgba(230, 126, 34, 0.4);
}

/* =========================================================
   --- MEDIA QUERIES: RESPONSIVIDADE TOTAL ---
=========================================================== */

/* Dispositivos Médios (Tablets e Telas Pequenas Horizontais) */
@media (max-width: 1024px) {
    h1 { font-size: 2.8em; }
    h2.section-title { font-size: 2.2em; }
    .nav-links ul { gap: 15px; }
    .nav-links ul li a { font-size: 0.8em; }
}

/* Dispositivos Móveis (Telas Verticais) */
@media (max-width: 768px) {
    
    /* Desativa o Snap Scroll em mobile para melhor usabilidade */
    html { scroll-snap-type: none; overflow-y: scroll; height: auto; }
    .snap-container { height: auto; overflow: visible; }
    .snap-section { height: auto; min-height: 100vh; padding: 100px 15px 40px; }
    
    /* Converte grids de 2 colunas para 1 coluna vertical */
    .section-content { flex-direction: column; gap: 30px; text-align: center; }
    .grid-2-cols { grid-template-columns: 1fr; }
    .vertical-stack { gap: 15px; }
    .img-left .image-block { order: 0; } /* Reseta ordem da imagem */
    
    /* Títulos menores e centralizados */
    h1 { font-size: 2.2em; letter-spacing: -1px; }
    h2.section-title { font-size: 2em; text-align: center; margin-left: auto; margin-right: auto; }
    p { font-size: 1.1em; margin-left: auto; margin-right: auto; }
    
    /* Imagens móveis */
    /*.image-block img { max-height: 50vh; width: 80%; }
    .profile-img img { width: 60%; max-width: 250px; }*/
    
    /* Grids especiais vira pilha única */
    .glass-container, .terminal-container { grid-template-columns: 1fr; gap: 10px; width: 100%; }
    .benefit-item { padding: 20px; }
    
    /* Botões Mobile */
    .cta-button { font-size: 1.1em; padding: 15px 30px; }
    .cta-button.large { font-size: 1.3em; padding: 20px 40px; }
    
    /* --- Menu Móvel (Hambúrguer) --- */
    .main-header { padding: 0 20px; }
    
    .menu-btn {
        display: flex;
        flex-direction: column;
        justify-content: space-around;
        width: 30px; height: 20px;
        cursor: pointer;
        z-index: 10001;
    }
    
    .menu-btn span {
        display: block;
        width: 100%; height: 2px;
        background-color: var(--text-main);
        transition: 0.3s ease;
    }
    
    /* Esconde os links e cria o overlay do menu */
    .nav-links {
        position: fixed;
        top: 0; left: 0;
        width: 100%; height: 100vh;
        background-color: rgba(7, 11, 20, 0.95);
        backdrop-filter: blur(10px);
        display: flex;
        justify-content: center;
        align-items: center;
        transform: translateY(-100%);
        transition: transform 0.5s ease;
        z-index: 10000;
    }
    
    .nav-links ul { flex-direction: column; gap: 40px; text-align: center; }
    .nav-links ul li a { font-size: 1.2em; font-weight: 900; }
    
    /* Lógica de abrir o menu mobile */
    .menu-toggle:checked ~ .nav-links { transform: translateY(0); }
    
    /* Transformação do hambúrguer em X */
    .menu-toggle:checked ~ .menu-btn span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
    .menu-toggle:checked ~ .menu-btn span:nth-child(2) { opacity: 0; }
    .menu-toggle:checked ~ .menu-btn span:nth-child(3) { transform: rotate(-45deg) translate(5px, -6px); }
    
    /* Footer no final */
    .mini-footer { position: relative; bottom: 0; margin-top: 40px; }
}

/* Pequenas telas Verticais (celulares estreitos) */
@media (max-width: 480px) {
    h1 { font-size: 2em; }
    h2.section-title { font-size: 1.8em; }
    /*.image-block img { width: 100%; }
    .profile-img img { width: 80%; }*/
}

/* =========================================================================
   --- SEÇÃO DE FAQ (ACCORDION NATIVO) ---
   ========================================================================= */

.faq-title {
    font-size: 2.5em;
    font-weight: 900;
    text-align: center;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.faq-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
}

/* Container do grupo de perguntas */
.accordion-group {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Espaçamento entre cada pergunta */
    max-width: 1200px;
    width: 100%;
}

/* Item individual do FAQ (Box estilo Glassmorphism) */
.faq-item {
    background: var(--glass-bg); /* */
    border: 1px solid var(--border-glass); /* */
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

/* Quando a pergunta estiver aberta, destaca a borda */
.faq-item[open] {
    border-color: var(--primary-orange); /* Laranja Milton */
    box-shadow: 0 0 15px rgba(230, 126, 34, 0.15);
    color: var(--primary-orange);
}

/* Cabeçalho da Pergunta (Onde o usuário clica) */
.faq-question {
    padding: 14px 20px;
    font-weight: 700;
    font-size: 1.1em;
    cursor: pointer;
    list-style: none; /* Remove a seta padrão no Chrome/Firefox */
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    transition: color 0.2s;
    text-align: left !important;
}

/* Remove a seta padrão especificamente no Safari */
.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    color: var(--primary-orange); /* Destaca em laranja no hover */
}

/* Ícone customizado de seta na direita */
.arrow-icon {
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--text-main);
    border-bottom: 2px solid var(--text-main);
    transform: rotate(45deg); /* Seta apontando para baixo */
    transition: transform 0.3s ease, border-color 0.3s;
}

.faq-item:hover .arrow-icon {
    border-color: var(--primary-orange);
}

/* Gira a seta para cima quando o details estiver aberto [open] */
.faq-item[open] .arrow-icon {
    transform: rotate(-135deg);
    border-color: var(--primary-orange);
}

/* Container da Resposta (Aparece ao expandir) */
.faq-answer {
    padding: 0 20px 20px 20px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    font-size: 0.98em;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    padding-top: 15px;
    animation: slideDown 0.3s ease-out; /* Efeito suave de abertura */
}

.faq-answer p {
    font-size: 0.98em;
    text-align:left;
}
.faq-answer a {
    font-weight: 700;
}
.faq-answer a:hover {
    color: var(--primary-orange);
}

.faq-answer code {
    background: rgba(0, 0, 0, 0.3);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--secondary-green); /* Seus comandos em verde neon */
}

/* Animação de fade-in ao abrir a resposta */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
