/* --- CONFIGURAÇÕES GLOBAIS --- */
:root {
    --black-bg: #050505;
    --black-card: #0f0f0f;
    --gold-primary: #D4AF37;
    --gold-hover: #F4C430;
    --text-white: #ffffff;
    --text-gray: #aaaaaa;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

/* Correção rigorosa para rolagem horizontal no mobile */
html, body {
    width: 100%;
    overflow-x: hidden;
}

body {
    background-color: var(--black-bg);
    color: var(--text-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* --- HEADER --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.logo-header a {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-header img {
    height: 40px;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.5));
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

nav ul li a {
    text-decoration: none;
    color: var(--gold-primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    color: var(--text-white);
    text-shadow: 0 0 10px var(--gold-primary);
}

.nav-cta {
    border: 1px solid var(--gold-primary);
    padding: 8px 20px;
    border-radius: 4px;
}

.nav-cta:hover {
    background: var(--gold-primary);
    color: #000 !important;
    text-shadow: none !important;
}

/* --- MAIN LAYOUT --- */
main {
    flex: 1;
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    pointer-events: none;
    width: 100%;
    padding: 0 20px; /* Garante margem interna no mobile */
}

.logo-container {
    margin-bottom: 20px;
}

.hero-logo-large {
    width: 180px;
    border-radius: 20px;
    animation: floatLogo 6s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.2));
}

@keyframes floatLogo {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    color: var(--gold-primary);
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 5px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
    word-wrap: break-word;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-top: 10px;
    word-wrap: break-word;
}

/* --- SECTIONS GERAIS --- */
.section-container {
    padding: 80px 10%;
    border-bottom: 1px solid #111;
    width: 100%;
    box-sizing: border-box;
}

.section-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--gold-primary);
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    font-family: 'Orbitron', sans-serif;
}

/* --- OMNI GRID SYSTEM --- */
.omni-grid-container {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 25px;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.omni-card {
    background: #030303;
    border: 1px solid #1a1a1a;
    border-radius: 12px;
    padding: 40px;
    position: relative;
    transform-style: preserve-3d;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    width: 100%;
    box-sizing: border-box;
    overflow: hidden; /* Mantém o conteúdo do card estritamente dentro dele */
}

.card-header-line {
    border-left: 3px solid var(--gold-primary);
    padding-left: 15px;
    margin-bottom: 30px;
}

.card-header-line h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-about { grid-column: span 2; }

.about-text { 
    font-style: italic; 
    font-size: 1.15rem; 
    color: #ddd; 
    line-height: 1.8; 
    max-width: 90%; 
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* EFEITO REVEAL NO TEXTO */
.reveal-on-scroll {
    color: rgba(255, 255, 255, 0.15); 
    background: linear-gradient(to right, #ffffff 50%, rgba(255, 255, 255, 0.15) 50%);
    background-size: 200% 100%;
    background-position: 100% 0; 
    -webkit-background-clip: text;
    background-clip: text;
    transition: background-position 0.1s linear; 
    display: inline; 
}

.why-list { display: flex; flex-direction: column; gap: 25px; }
.why-item { display: flex; align-items: flex-start; gap: 20px; width: 100%; }
.why-item i { color: var(--gold-primary); font-size: 1.2rem; margin-top: 4px; width: 25px; text-align: center; flex-shrink: 0; }
.why-item div { flex: 1; }
.why-item h4 { color: #fff; font-weight: 700; font-size: 1.1rem; margin-bottom: 5px; }
.why-item p { color: #888; font-size: 0.9rem; line-height: 1.4; word-wrap: break-word; }

.what-list { display: flex; flex-direction: column; gap: 15px; }
.what-item { background: #0a0a0a; border: 1px solid #222; padding: 15px 20px; border-radius: 6px; color: #ccc; display: flex; align-items: center; gap: 15px; font-size: 1rem; transition: all 0.3s ease; }
.what-item i { color: var(--gold-primary); }
.what-item:hover { border-color: var(--gold-primary); background: #111; color: #fff; transform: translateX(5px); }

.card-flow { grid-column: span 2; margin-top: 10px; }
.flow-steps { display: flex; justify-content: space-between; align-items: flex-start; margin-top: 20px; position: relative; }
.flow-item { display: flex; flex-direction: column; align-items: center; text-align: center; position: relative; z-index: 2; flex: 1; }
.flow-number { font-family: 'Orbitron', sans-serif; color: var(--gold-primary); border: 1px solid var(--gold-primary); padding: 8px 15px; border-radius: 4px; font-size: 1.2rem; font-weight: bold; margin-bottom: 15px; background: #030303; }
.flow-item h4 { color: #fff; font-size: 1.1rem; margin-bottom: 5px; }
.flow-item p { color: #666; font-size: 0.8rem; }
.flow-line { flex-grow: 1; height: 1px; background: #333; margin-top: 22px; }

/* NOVO: CARD COMPARATIVO (TABELA) */
.card-comparison {
    grid-column: span 2; 
    margin-top: 10px;
}

.comparison-wrapper {
    overflow-x: auto; 
    scrollbar-width: thin;
    scrollbar-color: var(--gold-primary) #111;
    width: 100%;
}

.comparison-wrapper::-webkit-scrollbar {
    height: 6px;
}
.comparison-wrapper::-webkit-scrollbar-track {
    background: #111; 
    border-radius: 10px;
}
.comparison-wrapper::-webkit-scrollbar-thumb {
    background-color: var(--gold-primary); 
    border-radius: 10px;
}

.comparison-table {
    width: 100%;
    min-width: 500px; /* Garante que a tabela não fique espremida no desktop */
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid #333;
    border-radius: 10px;
    background: #0a0a0a;
    table-layout: auto;
}

.comparison-table th, .comparison-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid #222;
    word-break: break-word;
}

.comparison-table th {
    background: #050505;
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.feature-col {
    text-align: left !important;
    width: 30%;
    color: #aaa;
    font-weight: 500;
}

.omni-col {
    background: rgba(212, 175, 55, 0.1) !important;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3) !important;
    color: var(--gold-primary) !important;
    font-size: 1.1rem !important;
    position: relative;
    width: 25%;
}

.others-col {
    width: 22.5%;
    color: #666 !important;
}

.th-logo img {
    height: 30px;
    margin-bottom: 5px;
    display: block;
    margin: 0 auto 5px auto;
}

.comparison-table td { font-size: 1rem; }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table tr td:first-child { text-align: left; color: #ddd; font-weight: 500; }

.check { color: #00ff00; font-size: 1.2rem; text-shadow: 0 0 5px rgba(0, 255, 0, 0.5); }
.cross { color: #ff0000; font-size: 1.2rem; opacity: 0.5; }
.partial { color: #FFA500; font-size: 1.2rem; }

/* Coluna Omni destacada */
.comparison-table td:nth-child(2) {
    background: rgba(212, 175, 55, 0.03); 
    border-left: 1px solid #222;
    border-right: 1px solid #222;
}

/* --- PLANOS (COMPACTADO) --- */
.planos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.plano-card {
    background: #000;
    border: 2px solid var(--gold-primary);
    border-radius: 30px;
    padding: 30px 20px; 
    text-align: center;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2), inset 0 0 20px rgba(212, 175, 55, 0.05);
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.plano-card:hover {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.5), inset 0 0 30px rgba(212, 175, 55, 0.1);
}

.plano-header-group { margin-bottom: 15px; }

.plano-titulo-label { color: var(--gold-primary); font-size: 1.5rem; font-weight: 600; line-height: 1; }
.plano-nome-destaque { color: var(--gold-primary); font-size: 2.2rem; font-weight: 700; margin-bottom: 5px; }
.plano-limite { color: #fff; font-size: 0.95rem; font-weight: 300; margin-top: 5px; }

.plano-preco-wrapper {
    margin-bottom: 20px; 
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 8px;
}

.texto-mensal { color: #fff; font-size: 1.2rem; font-weight: 400; }
.valor-destaque { color: var(--gold-primary); font-size: 2.5rem; font-weight: 800; }

.plano-lista {
    list-style: none;
    text-align: left;
    margin-bottom: 25px; 
    flex-grow: 1;
    padding: 0 10px;
}

.plano-lista li { padding: 5px 0; color: #eee; font-size: 0.95rem; display: flex; align-items: center; gap: 10px; }
.plano-lista li i { color: var(--gold-primary); font-size: 1rem; }

.btn-assinar {
    display: inline-block;
    padding: 12px 30px;
    border: 2px solid var(--gold-primary);
    background: transparent;
    color: var(--gold-primary);
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    transition: 0.3s;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.95rem;
}

.btn-assinar:hover { background: var(--gold-primary); color: #000; box-shadow: 0 0 25px var(--gold-primary); }

/* --- TECNOLOGIAS --- */
#tecnologias { background-color: #080808; border-bottom: 1px solid #111; }

.tech-header { text-align: center; margin-bottom: 50px; }
.tech-header h3 { font-family: 'Orbitron', sans-serif; font-size: 2.2rem; color: var(--gold-primary); margin-bottom: 15px; text-transform: uppercase; letter-spacing: 2px; font-weight: normal; }
.tech-header p { color: #888; font-size: 1rem; }

.tech-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    align-items: center;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.tech-item {
    display: flex; flex-direction: row; align-items: center; justify-content: center;
    gap: 15px; color: #fff; transition: all 0.3s ease; opacity: 0.7; cursor: default; padding: 15px;
}

.tech-item i { font-size: 2.5rem; }
.tech-item span { font-family: 'Orbitron', sans-serif; font-size: 1.2rem; font-weight: 500; letter-spacing: 1px; }
.tech-item:hover { color: var(--gold-primary); opacity: 1; transform: translateY(-5px); text-shadow: 0 0 10px rgba(212, 175, 55, 0.5); }

/* --- FAQ SECTION --- */
.faq-container { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 15px; }
.faq-item { border: 1px solid #222; border-radius: 8px; overflow: hidden; background: #0f0f0f; transition: all 0.3s ease; }
.faq-item:hover { border-color: rgba(212, 175, 55, 0.3); }

.faq-question {
    width: 100%; text-align: left; padding: 20px; background: none; border: none; color: #fff;
    font-size: 1.1rem; font-weight: 600; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
}
.faq-question i { color: var(--gold-primary); transition: transform 0.3s ease; }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease-out; padding: 0 20px; background: #0a0a0a; }
.faq-answer p { color: #ccc; padding-bottom: 20px; line-height: 1.6; }
.faq-item.active .faq-question i { transform: rotate(180deg); }
.faq-item.active .faq-answer { max-height: 300px; }

/* --- CHAMADA FINAL (CTA) --- */
.cta-section { padding: 120px 20px; text-align: center; position: relative; overflow: hidden; background: radial-gradient(circle at center, #1a1a1a 0%, #050505 70%); }
.cta-content { position: relative; z-index: 2; max-width: 800px; margin: 0 auto; }
.cta-content h2 { font-family: 'Orbitron', sans-serif; font-size: 2.5rem; color: #fff; margin-bottom: 20px; }
.cta-content p { font-size: 1.2rem; color: #aaa; margin-bottom: 40px; }
.btn-cta-large {
    display: inline-block; background: var(--gold-primary); color: #000; padding: 18px 40px; font-size: 1.1rem;
    font-weight: bold; text-transform: uppercase; text-decoration: none; border-radius: 50px;
    transition: all 0.3s ease; box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}
.btn-cta-large:hover { transform: scale(1.05); box-shadow: 0 0 40px rgba(212, 175, 55, 0.6); background: #fff; }
.btn-cta-large i { margin-left: 10px; }

/* --- FOOTER --- */
footer { background-color: #000; border-top: 1px solid #222; padding: 40px 5%; }
.footer-container { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; max-width: 1400px; margin: 0 auto; gap: 20px; }
.footer-left p { color: #666; font-size: 0.8rem; line-height: 1.5; }
.footer-center p { color: var(--gold-primary); font-family: 'Orbitron', sans-serif; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.footer-right { justify-self: end; display: flex; gap: 15px; }
.footer-right a { color: #fff; font-size: 1.2rem; transition: 0.3s; width: 40px; height: 40px; border-radius: 50%; background: #111; display: flex; align-items: center; justify-content: center; }
.footer-right a:hover { color: var(--gold-primary); background: #222; }

/* --- ANIMAÇÕES --- */
.scroll-reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }

/* =========================================
   AJUSTES RESPONSIVOS (O SEGREDO AQUI)
   ========================================= */

@media (max-width: 992px) {
    .omni-grid-container { grid-template-columns: 1fr; }
    .card-flow, .card-about, .card-comparison { grid-column: span 1; }
    .flow-steps { flex-direction: column; gap: 30px; }
    .flow-line { display: none; }
    .flow-item { flex-direction: row; gap: 20px; text-align: left; width: 100%; justify-content: flex-start; }
    .flow-number { margin-bottom: 0; }
    
    .footer-container { display: flex; flex-direction: column; text-align: center; gap: 25px; }
    .footer-center { order: 1; }
    .footer-right { order: 2; }
    .footer-left { order: 3; }
    
    .tech-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Ajustes específicos para Tablets e Mobile Grande */
@media (max-width: 768px) {
    header { flex-direction: column; gap: 15px; padding: 15px; }
    nav ul { gap: 15px; flex-wrap: wrap; justify-content: center; }

    .hero-title { font-size: 2.8rem; letter-spacing: 3px; }
    .hero-subtitle { font-size: 0.9rem; letter-spacing: 4px; }
    
    .section-container { padding: 60px 5%; }
    .omni-card { padding: 30px 20px; }
    .cta-content h2 { font-size: 1.8rem; }
    .section-title, .tech-header h3 { font-size: 1.8rem; }
}

/* Ajustes finos para Mobile Pequeno (Smartphones normais) */
@media (max-width: 480px) {
    .hero-title { font-size: 2.2rem; letter-spacing: 2px; }
    .hero-subtitle { font-size: 0.75rem; letter-spacing: 2px; margin-top: 5px; }
    .hero-logo-large { width: 130px; }

    nav ul { gap: 10px; }
    nav ul li a { font-size: 0.75rem; }

    /* Reduz padding das seções no mobile para liberar espaço lateral */
    .section-container { padding: 40px 15px; }
    .omni-card { padding: 25px 15px; }
    .card-header-line h3 { font-size: 1.2rem; }

    /* Força quebra de linha de textos muito longos */
    .about-text { 
        max-width: 100%; 
        font-size: 1rem; 
        line-height: 1.6;
    }

    /* Otimização drástica da tabela para CABER totalmente na tela do celular */
    .comparison-table { 
        min-width: 100%; /* Remove a trava de 500px, permitindo encolher */
    }
    .comparison-table th, .comparison-table td { 
        padding: 8px 4px; /* Menos margem dentro da tabela */
        font-size: 0.75rem; /* Fonte menor nas células */
    }
    .comparison-table .omni-col { font-size: 0.85rem !important; }
    .th-logo img { height: 20px; }

    .tech-grid { grid-template-columns: 1fr; gap: 30px; }
    
    .why-item { flex-direction: column; align-items: flex-start; text-align: left; }
    
    .planos-grid { gap: 20px; }
    .plano-card { padding: 25px 15px; }
}

/* =========================================
   BOTÃO FLUTUANTE WHATSAPP (SVG)
   ========================================= */
   .floating-whatsapp {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 90px; /* Posicionado acima do globo do GTranslate */
    left: 20px;   /* Mesmo alinhamento esquerdo do GTranslate */
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    animation: pulse-wa 2s infinite;
}

/* Dimensionamento do ícone SVG interno */
.floating-whatsapp svg {
    width: 35px;
    height: 35px;
    fill: #FFF;
}

.floating-whatsapp:hover {
    background-color: #20b858;
    transform: scale(1.1);
}

/* Animação de pulso para chamar atenção */
@keyframes pulse-wa {
    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); }
}

/* Ajuste responsivo para telas menores */
@media (max-width: 480px) {
    .floating-whatsapp {
        width: 50px;
        height: 50px;
        bottom: 80px; /* Ajuste fino para mobile */
        left: 15px;
    }
    
    .floating-whatsapp svg {
        width: 30px;
        height: 30px;
    }
}

/* --- FORMULÁRIO OMNI (GRID LARGO) --- */

.omni-form {
    max-width: 800px; /* Largura total igual ao resto do site */
    width: 100%;
    margin: 40px auto 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr; /* Divide em 2 colunas */
    gap: 20px;
    text-align: left;
}

/* Faz a mensagem e o botão ocuparem a largura total (as 2 colunas) */
.full-width {
    grid-column: span 2;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group input,
.form-group textarea {
    width: 100%;
    background: rgba(10, 10, 10, 0.8);
    border: 1px solid #333;
    padding: 18px; /* Aumentei um pouco o padding para ficar mais robusto */
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold-primary);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.15);
    background: #000;
}

.form-submit-btn {
    width: 100%;
    cursor: pointer;
    border: none;
    margin-top: 10px;
    font-size: 1.1rem;
    font-weight: bold;
    padding: 20px;
}

/* RESPONSIVO: No celular, volta a ficar tudo um embaixo do outro */
@media (max-width: 768px) {
    .omni-form {
        grid-template-columns: 1fr; /* Volta para 1 coluna */
    }
    .full-width {
        grid-column: span 1;
    }
}