@charset "utf-8";
/* CSS Document */

/* --- Reset Básico e Variáveis --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #3d5a80; /* Azul acinzentado */
    --secondary-color: #98c1d9; /* Azul claro */
    --light-bg-color: #f8f9fa; /* Cinza muito claro */
    --dark-text-color: #293241; /* Azul escuro/preto */
    --light-text-color: #6c757d; /* Cinza médio */
    --white-color: #ffffff;
    --font-family: 'Poppins', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--dark-text-color);
    line-height: 1.6;
}

/* --- Componentes Reutilizáveis --- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px auto;
    color: var(--light-text-color);
}

.bg-light {
    background-color: var(--light-bg-color);
}

.cta-button {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.cta-button:hover {
    background-color: #293241;
    transform: translateY(-2px);
}

/* --- Header e Navegação --- */
.header {
    background-color: var(--white-color);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-menu a {
    text-decoration: none;
    color: var(--dark-text-color);
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary-color);
}

/* --- Seção Hero --- */
#hero {
    background: #f8f9fa;
    padding: 60px 0;
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 3rem;
    color: var(--primary-color);
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: var(--light-text-color);
}

.hero-image {
    flex: 1;
}

.hero-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* --- Seções de Features --- */
.feature-block {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-bottom: 80px;
}

.feature-block.reverse {
    flex-direction: row-reverse;
}

.feature-image {
    flex: 1;
}
.feature-image img {
    max-width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.feature-text {
    flex: 1;
}
.feature-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.feature-text ul {
    list-style: none;
    margin-top: 20px;
}
.feature-text ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}
.feature-text ul i {
    color: var(--secondary-color);
    margin-right: 10px;
    width: 20px;
    text-align: center;
}


/* --- Grid de 3 Colunas e Cards --- */
.grid-3-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.card {
    background-color: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.card-icon {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.card h4 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

/* --- Seção Segurança --- */
.security-card {
    text-align: center;
    padding: 20px;
}
.security-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}
.security-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.stats-container {
    display: flex;
    justify-content: space-around;
    text-align: center;
    margin-top: 60px;
    background: var(--light-bg-color);
    padding: 40px;
    border-radius: 8px;
}

.stat-item .stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

.stat-item .stat-label {
    font-size: 1rem;
    color: var(--light-text-color);
}

/* --- Seção Tecnologia --- */
.tech-block {
    display: flex;
    align-items: center;
    gap: 50px;
}
.tech-image { flex: 1; }
.tech-image img { max-width: 100%; }
.tech-list { flex: 1.2; }
.tech-item {
    background: var(--white-color);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 5px solid var(--secondary-color);
}
.tech-item h4 {
    font-size: 1.3rem;
    margin-bottom: 5px;
    color: var(--primary-color);
}

/* --- Seção CTA Final --- */
.cta-final {
    text-align: center;
}
.cta-final h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
}
.cta-final p {
    max-width: 800px;
    margin: 20px auto 30px auto;
}

/* --- Footer --- */
.footer {
    background-color: var(--dark-text-color);
    color: var(--white-color);
    text-align: center;
    padding: 20px 0;
}

/* --- Animações de Scroll --- */
.section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.section.visible {
    opacity: 1;
    transform: translateY(0);
}


/* --- Responsividade --- */
@media (max-width: 992px) {
    .section-title { font-size: 2.2rem; }
    .hero-content { flex-direction: column; text-align: center; }
    .hero-text { order: 2; }
    .hero-image { order: 1; margin-bottom: 30px; }
    .feature-block, .feature-block.reverse { flex-direction: column; }
    .grid-3-col { grid-template-columns: 1fr; }
    .tech-block { flex-direction: column; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--white-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: left 0.3s ease-in-out;
    }
    .nav-menu.active {
        left: 0;
    }
    .hamburger {
        display: block;
    }
    .stats-container {
        flex-direction: column;
        gap: 30px;
    }
    .hero-text h1 { font-size: 2.5rem; }
}

/* --- Botão Voltar ao Topo --- */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: var(--white-color);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    
    /* Inicialmente oculto */
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.3s ease;
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--dark-text-color); /* Um tom de azul mais escuro no hover */
}


/* Grid de Poderes */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 25px 0 0 0;
}

.feature-list li {
    margin-bottom: 18px;
    padding-left: 8px;
    position: relative;
}

.feature-list li i {
    color: #4a6cf7;
    margin-right: 12px;
    width: 22px;
}

.has-children {
    margin-bottom: 22px;
}

/* Sub-lista (filhas) */
.sub-list {
    list-style: none;
    padding-left: 38px;
    margin-top: 12px;
    margin-bottom: 0;
    border-left: 2px solid #e0e6ff;
}

.sub-list li {
    margin-bottom: 10px;
    font-size: 0.97rem;
    color: #444;
}

.sub-list li i {
    font-size: 1.1rem;
    margin-right: 10px;
}