/* =========================================
   HERO SECTION (Vídeo de Fundo "Marca D'água")
   ========================================= */
.hero {
    position: relative;
    width: 100%;
    min-height: 100vh; /* Ocupa a altura total da tela */
    display: flex;
    align-items: center; /* Centraliza verticalmente */
    justify-content: center; /* Centraliza horizontalmente */
    padding-top: 80px; /* Compensar menu */
    overflow: hidden;
    background-color: var(--bg-color); /* Cor de segurança se o vídeo falhar */
}

/* 1. O Vídeo (Fundo Total) */
.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Estica para cobrir tudo */
    z-index: 0;
}

/* 2. A Máscara */
.hero-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #001029; /* O Azul Profundo da marca */
    opacity: 0.85; /* 85% de cobertura */
    z-index: 1;
}

/* 3. O Conteúdo (Flutuando por cima) */
.hero-content {
    position: relative;
    z-index: 2; /* Acima da máscara */
    text-align: center;
    width: 100%;
    max-width: 900px;
    padding: 0 20px;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.1;
    color: #fff;
}

.hero-text p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px auto;
    color: #e0e0e0;
}

/* Botões (Lado a Lado no Desktop) */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

/* Prova Social (Centralizada) */
.hero-proof {
    display: inline-block;
    border-bottom: 3px solid var(--primary-color); /* Detalhe embaixo */
    padding-bottom: 15px;
}

.hero-proof .number {
    display: block;
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    margin-bottom: 5px;
}

.hero-proof .label {
    font-size: 0.85rem;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* --- MOBILE (Ajustes Finos) --- */
@media (max-width: 768px) {
    .hero-text h1 { font-size: 2.2rem; }
    .hero-text p { font-size: 1rem; }
    
    /* Botões empilhados no celular */
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        width: 100%;
        max-width: 300px; /* Largura máxima dos botões */
        margin-left: auto;
        margin-right: auto;
    }

    .hero-buttons .btn {
        width: 100%; /* Botão ocupa largura total do container */
        text-align: center;
    }
}

/* =========================================
   SEÇÃO PROBLEMA (Gráfico)
   ========================================= */
.section-problem { background-color: #020d1f; }
.pie-chart-container { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.pie-chart {
    width: 250px; height: 250px; border-radius: 50%;
    background: conic-gradient(var(--card-color) 0% 93%, var(--primary-color) 93% 100%);
    position: relative; box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.pie-chart::after {
    content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 150px; height: 150px; background-color: #020d1f; border-radius: 50%;
}
.chart-legend { display: flex; gap: 20px; font-size: 0.9rem; }
.dot { width: 12px; height: 12px; border-radius: 50%; display: inline-block; margin-right: 5px; }
.dot-blue { background-color: var(--card-color); }
.dot-cyan { background-color: var(--primary-color); }


/* =========================================
   SEÇÃO COMPARATIVO (Glassmorphism)
   ========================================= */
.comparison-cards {
    display: flex; flex-direction: column; align-items: center; gap: 30px; margin: 60px 0;
}
@media (min-width: 768px) {
    .comparison-cards { flex-direction: row; justify-content: center; align-items: stretch; gap: 50px; }
}

.card-glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    flex: 1; max-width: 380px;
    transition: transform 0.3s ease;
    position: relative;
}

.card-glass:hover { transform: translateY(-10px); border-color: rgba(255,255,255,0.2); }

.card-glass.premium {
    background: linear-gradient(145deg, rgba(33, 77, 139, 0.1), rgba(0, 16, 41, 0.4));
    border: 1px solid rgba(108, 229, 232, 0.3);
    box-shadow: 0 0 30px rgba(108, 229, 232, 0.05);
}

.card-icon { font-size: 3rem; margin-bottom: 20px; }
.small-text { font-size: 0.85rem; color: #888; margin-bottom: 20px; }

.card-tag {
    display: inline-block; padding: 6px 14px; border-radius: 4px;
    font-size: 0.8rem; font-weight: 700; text-transform: uppercase;
}
.tag-red { background: rgba(231, 76, 60, 0.15); color: #e74c3c; }
.tag-green { background: rgba(108, 229, 232, 0.15); color: #6ce5e8; box-shadow: 0 0 10px rgba(108, 229, 232, 0.1); }

.arrow-divider { font-size: 2rem; color: rgba(255,255,255,0.3); }
@media (min-width: 768px) { .arrow-divider { animation: floatRight 2s infinite ease-in-out; } }
@keyframes floatRight { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(10px); } }

/* =========================================
   MÍDIA DA HERO (IMAGEM OU VÍDEO)
   ========================================= */
.hero-media {
    width: 100%;
    max-width: 500px; /* Limita o tamanho para não estourar */
    height: auto;
    border-radius: 20px; /* Bordas arredondadas modernas */
    box-shadow: 0 20px 50px rgba(108, 229, 232, 0.15); /* Sombra suave Ciano */
    border: 1px solid rgba(255, 255, 255, 0.1); /* Borda sutil de vidro */
    
    /* Animação de flutuar 
    animation: floatImage 10s ease-in-out infinite;*/
}

/* Removemos o círculo abstrato antigo se ainda existir css dele */
.abstract-shape {
    display: none;
}

/* Animação de Flutuar */
@keyframes floatImage {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Ajuste para Celular */
@media (max-width: 768px) {
    .hero-media {
        max-width: 100%;
        margin-top: 30px;
    }
}