/* Variáveis globais e Cores do Sistema - Identidade Premium */
:root {
    --primaria: #C5A059;
    --primaria-hover: #D4B475;
    --preto: #000a14;
    --cinza-dark: #001f3f;
    --cinza-light: #003366;
    --texto: #ffffff;
    --texto-muted: #5f7d95;
    --gradiente: linear-gradient(135deg, #C5A059 0%, #9c7b3e 100%);
    --glass: rgba(197, 160, 89, 0.05);
    --border-glass: rgba(197, 160, 89, 0.15);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--preto);
    color: var(--texto);
    line-height: 1.6;
    overflow-x: hidden;
}

.bg-glow {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: 
        radial-gradient(circle at 50% -10%, rgba(197, 160, 89, 0.18) 0%, transparent 40%),
        radial-gradient(circle at 10% 40%, rgba(0, 51, 102, 0.35) 0%, transparent 30%);
    z-index: -1;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navegação e Logotipo */
nav { 
    padding: 30px 0; 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
}

.nav-logo img { 
    width: 145px; 
    transition: 0.3s; 
    filter: drop-shadow(0 0 10px rgba(197, 160, 89, 0.2));
}

.nav-logo img:hover { 
    transform: scale(1.05); 
}

/* Hero Section */
.hero {
    text-align: center;
    position: relative;
    padding: 180px 0 240px;
    /* Gradiente ajustado para o Azul Petróleo */
    background: linear-gradient(180deg, 
                rgba(0, 10, 20, 0.4) 0%, 
                rgba(0, 10, 20, 0.95) 100%), 
                url('../_img/mulher.webp?auto=format&fit=crop') center/cover;
    border-radius: 0 0 100px 100px;
    border-bottom: 2px solid var(--primaria);
    margin-bottom: -80px;
    z-index: 1;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.hero-badge {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    padding: 10px 25px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primaria);
    display: inline-block;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero h1 {
    font-size: clamp(3rem, 9vw, 5.5rem);
    font-weight: 900;
    line-height: 1.0;
    letter-spacing: -2px;
    margin-bottom: 35px;
    color: #fff;
}

.hero h1 span { 
    background: var(--gradiente);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block; 
    filter: drop-shadow(0 0 25px rgba(197, 160, 89, 0.4));
}

.hero p {
    font-size: 1.2rem;
    color: var(--texto-muted);
    max-width: 600px;
    margin: 0 auto 50px;
    font-weight: 400;
    line-height: 1.6;
}


/* Botão de Chamada para Ação (CTA) */
.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--gradiente);
    color: #000a14; /* Texto escuro no botão ouro para luxo */
    padding: 24px 50px;
    border-radius: 18px;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 20px 40px rgba(156, 123, 62, 0.25);
}

.btn-cta:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: 0 0 70px rgba(197, 160, 89, 0.5);
    color: #000;
}

/* Barra de Estatísticas */
.stats-bar {
    display: flex;
    justify-content: space-around;
    background: rgba(197, 160, 89, 0.04);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--border-glass);
    padding: 45px;
    border-radius: 40px;
    margin: 0 auto 120px;
    max-width: 1100px;
    text-align: center;
    position: relative;
    z-index: 10;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(197, 160, 89, 0.05);
}

/* Itens individuais da barra de estatísticas */
.stat-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.stat-item h4 { 
    font-size: 3rem; 
    color: #fff; 
    font-weight: 900; 
    margin-bottom: 5px; 
}

.stat-item p { 
    font-size: 0.85rem; 
    text-transform: uppercase; 
    color: var(--primaria); 
    font-weight: 700; 
    letter-spacing: 2px; 
}

/* Badge Flutuante (Apenas 2%) */
.badge-apenas {
    position: absolute;
    top: -22px;
    background: var(--gradiente);
    color: #000a14;
    font-size: 0.75rem;
    font-weight: 900;
    padding: 4px 12px;
    border-radius: 6px;
    letter-spacing: 1px;
    box-shadow: 0 8px 15px rgba(156, 123, 62, 0.4);
    animation: floating 3s ease-in-out infinite;
    z-index: 11;
}

/* Seta da Badge */
.badge-apenas::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid #9c7b3e;
}

/* Animação de flutuação da Badge */
@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-7px); }
    100% { transform: translateY(0px); }
}

/* Grid de Funcionalidades (Features) */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 30px;
    margin-bottom: 120px;
}

/* Cartões de Funcionalidade */
.feature-card {
    background: var(--cinza-dark);
    padding: 50px;
    border-radius: 32px;
    border: 1px solid var(--border-glass);
    transition: 0.4s;
    position: relative;
    overflow: hidden;
}

.feature-card:hover { 
    border-color: var(--primaria); 
    transform: translateY(-10px); 
    background: linear-gradient(145deg, var(--cinza-dark), #002a54);
}

.feature-card i { 
    font-size: 2.8rem; 
    background: var(--gradiente);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 30px; 
    display: block;
}

.feature-card h3 { font-size: 1.8rem; margin-bottom: 15px; font-weight: 800; }
.feature-card p { color: var(--texto-muted); font-size: 1.05rem; }

/* Títulos de Seção */
.section-title { text-align: center; margin-bottom: 70px; }
.section-title h2 { font-size: 3rem; font-weight: 900; letter-spacing: -1.5px; }
.section-title span { color: var(--primaria); }

/* Evita que animações vindo das laterais (fade-left/right) estiquem a largura da página no mobile */
.download-section, .features {
    overflow: hidden;
}

/* Seção de Download dos Apps */
.download-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 120px;
}

/* Cards de Download */
.download-card {
    background: linear-gradient(160deg, var(--cinza-light) 0%, var(--cinza-dark) 100%);
    padding: 60px;
    border-radius: 40px;
    border: 1px solid var(--border-glass);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.download-card.admin { border-top: 5px solid var(--primaria); }

.badge-type {
    width: fit-content;
    padding: 6px 16px;
    background: rgba(255,255,255,0.05);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 25px;
    letter-spacing: 1px;
    color: var(--primaria);
}

.download-card h2 { font-size: 2.5rem; margin-bottom: 20px; font-weight: 900; line-height: 1.1; }
.download-card p { color: var(--texto-muted); margin-bottom: 40px; }

/* Botões das Lojas (App Store / Play Store) */
.store-buttons { display: flex; gap: 15px; }
.store-buttons img { height: 48px; transition: 0.3s; filter: brightness(0.9); }
.store-buttons img:hover { filter: brightness(1.1); transform: translateY(-3px); }

/* Chamada Final (Final CTA) */
.final-cta {
    background: linear-gradient(rgb(0 10 20 / 54%), rgba(0, 10, 20, 0.85)), 
    url(../_img/mulher.webp?auto=format&fit=crop) center / cover;

    padding: 100px 40px;
    border-radius: 40px;
    text-align: center;
    border: 1px solid var(--border-glass);
    margin-bottom: 100px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.final-cta h2 { font-size: 3.5rem; font-weight: 900; margin-bottom: 20px; line-height: 1.1; }

/* Rodapé (Footer) */
footer {
    text-align: center;
    padding: 60px 0;
    border-top: 1px solid var(--border-glass);
    background: var(--preto);
}

.social-links { margin-bottom: 30px; display: flex; justify-content: center; gap: 20px; }
.social-links a { color: var(--texto-muted); font-size: 1.5rem; transition: 0.3s; }
.social-links a:hover { color: var(--primaria); filter: drop-shadow(0 0 8px var(--primaria)); }

/* Popup de Cookies */
#cookie-popup {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    width: 92%;
    max-width: 800px;
    background: rgba(0, 31, 63, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    padding: 25px;
    border-radius: 24px;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transition: transform 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.7);
}

#cookie-popup.active { transform: translateX(-50%) translateY(0); }

#cookie-popup a {
    color: var(--primaria);
}

.cookie-btn {
    background: var(--gradiente);
    color: #000a14;
    border: none;
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
}

/* --- Responsividade --- */
@media (max-width: 1024px) {
    .hero h1 { font-size: 4.5rem; }
    .stats-bar { gap: 20px; max-width: 90%; }
}

@media (max-width: 850px) {
    .container { padding: 0 20px; }
    /* Remove padding duplicado se houver container dentro de container */
    .container .container, .hero .container { padding: 0; }

    .hero { padding: 100px 0 120px; background-attachment: scroll; border-radius: 0 0 30px 30px; }
    .hero h1 { font-size: clamp(2rem, 8vw, 2.8rem); letter-spacing: -1px; }
    .hero h1 span { margin-top: 14px; }
    .hero p { font-size: 1.1rem; padding: 0 10px; margin-bottom: 40px; }

    .section-title { margin-bottom: 40px; }
    .section-title h2 { font-size: 1.8rem; }

    .btn-cta { padding: 20px 30px; font-size: 1rem; width: 100%; justify-content: center; }

    .stats-bar { flex-direction: column; gap: 30px; margin-bottom: 60px; margin-top: -60px; padding: 30px 20px; border-radius: 30px; }
    .stat-item h4 { font-size: 2.2rem; }
    .stat-item p { font-size: 0.75rem; }

    .features { margin-bottom: 80px; gap: 20px; }
    .feature-card { padding: 30px 20px; }
    .feature-card h3 { font-size: 1.5rem; }

    .download-container { grid-template-columns: 1fr; gap: 20px; margin-bottom: 80px; }
    .download-card { padding: 35px 20px; border-radius: 30px; }
    .download-card h2 { font-size: 1.8rem; }
    .store-buttons { flex-direction: column; align-items: center; }
    .store-buttons a, .store-buttons img { width: 100%; max-width: 180px; height: auto; }

    .final-cta { padding: 60px 20px; border-radius: 30px; margin-bottom: 60px; }
    .final-cta h2 { font-size: 2.2rem; }

    #cookie-popup { flex-direction: column; text-align: center; padding: 20px; }
    #cookie-popup .cookie-btn { width: 100%; }
}