* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #050505;
    color: #e2e8f0;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Botão Menu */
.btn-abrir-menu {
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 1000;
    background: #1e40af;
    border: none;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.btn-abrir-menu span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
}

/* Overlay */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.7);
    display: none;
    z-index: 999;
}
#overlay.ativo {
    display: block;
}

/* Menu Lateral */
.menu-lateral {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100%;
    background: #0f172a;
    border-right: 1px solid #1e40af;
    transition: 0.3s;
    z-index: 1001;
    padding: 2rem 1.5rem;
}
.menu-lateral.aberto {
    left: 0;
}
.fechar-menu {
    text-align: right;
}
.btn-fechar {
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}
.perfil-menu {
    margin: 2rem 0;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #1e40af;
}
.perfil-menu h3 {
    color: #60a5fa;
    margin-bottom: 0.3rem;
}
.navegacao-menu a {
    display: block;
    color: #cbd5e1;
    padding: 0.8rem;
    margin-bottom: 0.3rem;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.2s;
}
.navegacao-menu a:hover, .navegacao-menu a.ativo {
    background: #1e40af;
    color: white;
}

/* Seções */
.secao {
    padding: 4rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(20px);
    transition: 0.6s ease;
}
.secao.visivel {
    opacity: 1;
    transform: translateY(0);
}
.titulo-secao {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
}
.titulo-secao span {
    color: #3b82f6;
}
.texto-centro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.8;
}

/* Seção Início */
#inicio .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    min-height: 85vh;
    padding-top: 2rem;
}
.texto-inicio h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}
.texto-inicio h1 span {
    color: #3b82f6;
    font-size: 1.5rem;
    display: block;
    margin-top: 0.5rem;
}
.texto-inicio p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}
.botoes {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}
.btn {
    padding: 0.9rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
    display: inline-block;
}
.btn.primario {
    background: #2563eb;
    color: white;
}
.btn.primario:hover {
    background: #1d4ed8;
}
.btn.secundario {
    background: transparent;
    color: #60a5fa;
    border: 2px solid #2563eb;
}
.btn.secundario:hover {
    background: #1e40af;
    color: white;
}
.foto-apresentacao img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 0 30px rgba(59,130,246,0.25);
}

/* Ferramentas */
.grade-recursos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
}
.card-recurso {
    background: #0f172a;
    border: 1px solid #1e40af;
    border-radius: 10px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: 0.3s;
}
.card-recurso:hover {
    border-color: #3b82f6;
    transform: translateY(-5px);
}
.card-recurso img {
    width: 48px;
    margin-bottom: 0.8rem;
}
.card-recurso h4 {
    color: #60a5fa;
    margin-bottom: 0.3rem;
}
.card-recurso p {
    font-size: 0.85rem;
    opacity: 0.7;
}

/* Planos */
.secao-planos {
    background: linear-gradient(180deg, rgba(15,23,42,0.4) 0%, rgba(15,23,42,0.8) 100%);
    max-width: 100%;
    padding: 5rem 1.5rem;
}
.grade-planos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}
.card-plano {
    background: rgba(15,23,42,0.9);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    border: 2px solid transparent;
    transition: 0.3s;
    position: relative;
}
.plano-1 { border-color: #3b82f6; }
.plano-2 {
    border-color: #10b981;
    transform: scale(1.03);
}
.plano-3 { border-color: #8b5cf6; }
.card-plano:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.35);
}
.selo-mais-vendido {
    position: absolute;
    top: 20px;
    right: -35px;
    background: #10b981;
    color: white;
    padding: 6px 40px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    transform: rotate(45deg);
}
.cabecalho-plano {
    text-align: center;
    margin-bottom: 2rem;
}
.nome-plano {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}
.valor-plano {
    font-size: 2rem;
    font-weight: 800;
}
.valor-plano small {
    opacity: 0.7;
    font-weight: 400;
}
.lista-beneficios {
    list-style: none;
    margin: 1.5rem 0;
}
.lista-beneficios li {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
}
.lista-beneficios li::before {
    content: "✅";
    flex-shrink: 0;
}
.btn-assinar {
    display: block;
    text-align: center;
    padding: 0.9rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    margin-top: 1rem;
    transition: 0.2s;
}
.plano-1 .btn-assinar { background: #2563eb; color: white; }
.plano-2 .btn-assinar { background: #059669; color: white; }
.plano-3 .btn-assinar { background: #7c3aed; color: white; }
.btn-assinar:hover { opacity: 0.9; }

/* Sistemas */
.grade-sistemas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}
.card-sistema {
    background: #0f172a;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #1e40af;
    transition: 0.3s;
}
.card-sistema:hover {
    transform: translateY(-5px);
    border-color: #3b82f6;
}
.card-sistema img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}
.conteudo-card {
    padding: 1.5rem;
}
.conteudo-card h4 {
    color: #60a5fa;
    margin-bottom: 0.8rem;
}

/* Botão Flutuante */
.btn-flutuante {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: #2563eb;
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 20px rgba(37,99,235,0.35);
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
}
.btn-flutuante:hover {
    transform: scale(1.1);
    background: #1d4ed8;
}

/* Modal Formulário */
.modal-formulario {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
}
.modal-formulario.aberto {
    display: flex;
}
.conteudo-formulario {
    background: #0f172a;
    border: 1px solid #1e40af;
    border-radius: 12px;
    padding: 2rem;
    width: 100%;
    max-width: 480px;
    position: relative;
}
.fechar-formulario {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}
.grupo-campo {
    margin-bottom: 1.2rem;
}
.grupo-campo label {
    display: block;
    margin-bottom: 0.4rem;
    color: #93c5fd;
}
.grupo-campo input,
.grupo-campo select,
.grupo-campo textarea {
    width: 100%;
    padding: 0.8rem;
    border-radius: 6px;
    border: 1px solid #1e40af;
    background: #020617;
    color: white;
    font-family: inherit;
}
.grupo-campo input:focus,
.grupo-campo select:focus,
.grupo-campo textarea:focus {
    outline: none;
    border-color: #3b82f6;
}

/* Rodapé */
.rodape-fixo {
    background: #020617;
    border-top: 1px solid #1e40af;
    padding: 2rem 1.5rem;
    text-align: center;
}
.rodape-fixo p {
    margin-bottom: 1.5rem;
    opacity: 0.7;
}
.redes-sociais {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}
.redes-sociais img {
    width: 32px;
    transition: 0.2s;
}
.redes-sociais a:hover img {
    transform: translateY(-3px);
    filter: brightness(1.3);
}

/* Responsivo */
@media (max-width: 768px) {
    #inicio .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .botoes {
        justify-content: center;
    }
    .plano-2 {
        transform: none;
    }
    .titulo-secao {
        font-size: 1.7rem;
    }
    .texto-inicio h1 {
        font-size: 2rem;
    }
}



/* Barra de rolagem personalizada na caixa explicativa */
.caixa-explicacao-planos::-webkit-scrollbar {
    width: 6px;
}
.caixa-explicacao-planos::-webkit-scrollbar-track {
    background: rgba(30, 64, 175, 0.1);
    border-radius: 3px;
}
.caixa-explicacao-planos::-webkit-scrollbar-thumb {
    background: #3b82f6;
    border-radius: 3px;
}