* {
    /* ... */
    box-sizing: border-box;
}/* Definições de Cores e Gradientes */

/* Definições de Cores e Gradientes (Mantidas) */
:root {
    --color-dark-blue: #1A378C;
    --color-medium-blue: #2A56C4;
    --color-light-blue: #3E80E6;
    --color-green: #4CAF50;
    --color-purple: #9C27B0;
    --color-white: #ffffff;
    --color-gray-text: #6e6e6e;
    --color-light-bg: #F4F6F9;
    --gradient-header: linear-gradient(90deg, #1A378C 0%, #3E80E6 100%);
    --gradient-hero: linear-gradient(135deg, rgba(26, 55, 140, 0.8) 0%, rgba(62, 128, 230, 0.8) 100%);
    --gradient-cta-final: linear-gradient(135deg, #1A378C 0%, #3E80E6 100%);
    --font-family: 'Poppins', sans-serif;
    --shadow-card: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Reset Básico e Estilos Mobile-First */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box; /* Essencial para responsividade! */
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--color-dark-blue);
    background-color: var(--color-white);
    overflow-x: hidden; /* Evita barras de rolagem horizontais em telas pequenas */
}

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

section {
    padding: 50px 0; /* Padding reduzido para mobile */
}

/* Tamanhos de Fonte Ajustados para Mobile */
h1 {
    font-size: 2.5rem; 
    font-weight: 800;
}

h2 {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
}

/* --- HEADER (Ajustes Mobile) --- */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: none; /* Escondido por padrão no mobile */
    flex-direction: column;
    
    /* MUDANÇA ESSENCIAL: Fixa o menu na janela do navegador */
    position: fixed; 
    
    /* Mantém o alinhamento de 70px abaixo do topo (ajuste este valor se necessário) */
    top: 70px; 
    
    left: 0;
    width: 100%;
    background: var(--gradient-header);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 10px 0;
    
    /* NOVO: Garante que o menu flutue sobre qualquer outro conteúdo */
    z-index: 999; 
}
.nav-menu.active {
    display: flex; /* Exibido via JavaScript quando o botão é clicado */
}
.nav-menu a {
    margin: 10px 40px;
    text-align: center;
}
.btn-primary {
    margin: 10px auto;
}

.menu-toggle {
    display: block; /* Mostrado no mobile */
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
}
/* --- FOOTER --- */
.footer-content-grid {
    display: grid;
    grid-template-columns: 1fr; /* 1 coluna no mobile */
    text-align: center;
    gap: 30px;
}
.footer-bottom-content {
    flex-direction: column; /* Conteúdo inferior em coluna */
    gap: 15px;
}
.legal-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.legal-links a, .developer-info {
    margin-left: 0;
}
/* ======================================= */
/* MEDIA QUERIES PARA TELAS MAIORES (Tablets e Desktops) */
/* ======================================= */

/* Telas Médias (Tablets e Paisagem - 768px e acima) */
@media (min-width: 768px) {
    /* Ajustes Gerais */
    h1 {
        font-size: 3.2rem;
    }
    h2 {
        font-size: 2.2rem;
    }
    section {
        padding: 80px 0;
    }

    /* HEADER */
    .nav-menu {
        display: flex; /* Exibe o menu de navegação completo */
        flex-direction: row;
        position: static;
        width: auto;
        background: none;
        box-shadow: none;
        padding: 0;
    }
    .menu-toggle {
        display: none; /* Esconde o botão hamburger */
    }
/* FOOTER */
    .footer-content-grid {
        grid-template-columns: 2.5fr 1fr 1fr; /* Retorna ao layout de desktop */
        text-align: left;
    }
    .footer-bottom-content {
        flex-direction: row;
    }
    .legal-links {
        flex-direction: row;
    }
}
:root {
    --color-dark-blue: #1A378C; /* Azul Escuro Base */
    --color-medium-blue: #2A56C4; /* Azul Médio */
    --color-light-blue: #3E80E6; /* Azul Claro/Ciano */
    --color-green: #4CAF50; /* Verde dos Níveis */
    --color-purple: #9C27B0; /* Roxo dos Níveis */
    --color-white: #ffffff;
    --color-gray-text: #6e6e6e;
    --color-light-bg: #F4F6F9;
    --gradient-header: linear-gradient(90deg, #1A378C 0%, #3E80E6 100%);
    --gradient-hero: linear-gradient(135deg, rgba(26, 55, 140, 0.8) 0%, rgba(62, 128, 230, 0.8) 100%);
    --gradient-cta-final: linear-gradient(135deg, #1A378C 0%, #3E80E6 100%);
    --font-family: 'Poppins', sans-serif;
    --shadow-card: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* Reset Básico e Fontes */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    line-height: 1.6;
    color: var(--color-dark-blue);
    background-color: var(--color-white);
}

a {
    text-decoration: none;
    color: var(--color-medium-blue);
    font-weight: 800;
}

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

section {
    padding: 80px 0;
}

/* --- TÍTULOS --- */
h1 {
    font-size: 3.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

h2 {
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    color: var(--color-dark-blue);
}

/* --- COMPONENTES BÁSICOS (BOTÕES) --- */
.btn {
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s, border-color 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-align: center;
    white-space: nowrap;
    border: none;
}

.btn-primary {
    background-color: var(--color-light-blue);
    color: var(--color-white);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
.btn-primary:hover {
    background-color: #3172c9;
}


/* --- HEADER --- */
.header {
    background: var(--gradient-header);
    padding: 10px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-white);
}

.alpha-text {
    /* Estilo padrão para todos os dispositivos (Mobile-First) */
    font-weight: 800;
    
    /* Margem para celulares: 0px. Garante que o texto fique na tela */
    margin: 0 -130px; 
}

/* --- Media Query para Tablets (Telas acima de 768px) --- */
@media (min-width: 768px) {
    .alpha-text {
        /* Aplica uma margem negativa menor, se necessário, para ajuste */
        margin: 0 -130px; 
    }
}

/* --- Media Query para Computadores e Desktops (Telas acima de 1024px) --- */
@media (min-width: 1024px) {
    .alpha-text {
        /* Aplica a margem negativa grande original apenas em telas grandes */
        margin: 0 -275px;
    }
}
.alpha-text2{
     font-weight: 800;
}
.nav-menu a:not(.btn) {
    color: var(--color-white);
    margin-left: 25px;
    font-weight: 500;
    opacity: 0.9;
    transition: opacity 0.3s;
}
.nav-menu a:not(.btn):hover {
    opacity: 1;
}

.menu-toggle {
    display: none; /* Oculto no desktop */
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.5rem;
    cursor: pointer;
}
/* --- FOOTER --- */
.footer {
    background-color: #151515; /* Cor preta/muito escura do rodapé */
    color: var(--color-white);
    padding-top: 50px;
}
.footer-content-grid {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr; /* Marca, Links, Suporte */
    gap: 30px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-logo {
    font-size: 1.8rem;
    margin-bottom: 15px;
}
.footer-brand p {
    font-size: 0.9rem;
    opacity: 0.8;
    max-width: 350px;
}
.social-links {
    margin-top: 20px;
}
.social-links a {
    color: var(--color-white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
    transition: background-color 0.3s;
}
.social-links a:hover {
    background-color: var(--color-medium-blue);
    border-color: var(--color-medium-blue);
}

.footer-links-group h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--color-light-blue); /* Cor de destaque para os títulos */
}
.footer-links-group ul {
    list-style: none;
}
.footer-links-group a {
    color: var(--color-white);
    opacity: 0.8;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 8px;
}
.footer-links-group a:hover {
    color: var(--color-light-blue);
    opacity: 1;
}

.footer-bottom {
    padding: 20px 0;
    font-size: 0.8rem;
}
.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
}
.legal-links a {
    color: inherit;
    margin-left: 20px;
}
.developer-info {
    margin-left: 20px;
    color: var(--color-light-blue);
}

/* ======================================= */
/* RESPONSIVIDADE (MOBILE FIRST adjustments) */
/* ======================================= */

/* Telas Pequenas (Smartphones) */
@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }
    h2 {
        font-size: 1.8rem;
    }
    section {
        padding: 50px 0;
    }

    /* HEADER */
    .nav-menu {
        max-height: 0; /* começa fechado */
        overflow: hidden;
        opacity: 0;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: var(--gradient-header);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
        padding: 0;
        transition: all 0.4s ease; /* animação suave */
    }
    
    .nav-menu.active {
        max-height: 300px; /* altura máxima quando aberto (ajuste conforme o conteúdo) */
        opacity: 1;
        padding: 10px 0;
    }
    
    .nav-menu a {
        margin: 10px 20px;
        text-align: center;
        color: white;
        text-decoration: none;
    }
    .btn-primary {
        margin: 10px auto;
    }
    .menu-toggle {
        display: block; /* Mostra o botão hamburger */
    }
    /* FOOTER */
    .footer-content-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    .footer-brand p {
        max-width: none;
    }
    .social-links {
        margin-top: 15px;
    }
    .footer-links-group {
        text-align: center;
    }
    .footer-links-group ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    .footer-links-group a {
        margin-bottom: 0;
    }
    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
    }
    .legal-links {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    .legal-links a, .developer-info {
        margin-left: 0;
    }
}

/* Telas Médias (Tablets) */
@media (min-width: 600px) and (max-width: 992px) {
    .resource-grid,
    .methodology-grid {
        grid-template-columns: repeat(2, 1fr); /* Duas colunas */
    }
    .impact-stats-grid {
        grid-template-columns: repeat(3, 1fr); /* Três colunas, funciona bem em tablet */
    }
}
/* Importa a fonte 'Poppins' do Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* --- Variáveis de Cor (Paleta de Azul Dark Mode) --- */
:root {
    --bg-color-dark: #071727;     /* Azul Escuro Profundo (BODY) */
    --card-bg: #0a2540;           /* Azul Escuro Ligeiramente Mais Claro (CARD/BANNER) */
    --primary-blue: #00c6ff;      /* Azul Ciano Vibrante (Contraste e Destaque) */
    --text-light: #f0f4f8;        /* Texto Claro */
    --text-muted: #99aab5;        /* Texto Secundário */
    --dark-blue-mockup: #1e3a5f;  /* Cor da Borda do Telemóvel */
    --accent-gradient: linear-gradient(135deg, #00c6ff, #007aff); /* Gradiente para círculos */
}

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

body {
    font-family: 'Poppins', sans-serif;
    /* NOVO: Fundo Azul Escuro Profundo */
    background-color: var(--bg-color-dark); 
    color: var(--text-light);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

/* --- Estilo do Banner Principal (Card) --- */
.download-banner {
    display: flex; 
    align-items: center;
    justify-content: space-around;
    /* NOVO: Fundo do Card/Banner */
    background: var(--card-bg); 
    max-width: 1100px;
    width: 100%;
    padding: 60px 50px; /* Aumentei o padding para melhor visual em dark mode */
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4); /* Sombra mais escura */
    position: relative;
    overflow: hidden; 
}

/* Círculos decorativos no fundo */
.download-banner::before,
.download-banner::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: var(--accent-gradient);
    opacity: 0.15; /* Aumentei a opacidade ligeiramente */
    z-index: 0;
}
/* ... (Posicionamento dos círculos - mantido) ... */
.download-banner::before { width: 300px; height: 300px; top: -100px; left: -100px; }
.download-banner::after { width: 500px; height: 500px; bottom: -200px; right: -150px; }


/* --- Coluna da Esquerda (Informações) --- */
.info-container {
    flex: 1; 
    padding-right: 40px;
    z-index: 1; 
}

.info-container h1 {
    font-size: 3rem; 
    font-weight: 700;
    color: var(--text-light); /* Cor do Título Principal */
    line-height: 1.1;
}

.info-container h2 {
    font-size: 1.5rem; 
    font-weight: 400;
    color: var(--primary-blue); /* Cor de destaque (ciano) */
    margin-bottom: 15px;
}

.info-container p {
    font-size: 0.95rem; 
    color: var(--text-muted); /* Texto mais claro e suave */
    line-height: 1.6;
    max-width: 450px; 
}

/* Container dos links */
.links-container {
    display: flex;
    align-items: center;
    margin-top: 30px;
    flex-wrap: wrap; 
}



/* Estilo do novo botão único */
.btn-download {
    display: flex;
    align-items: center;
    justify-content: center;
    /* Botão com fundo de destaque (ciano) */
    background: var(--primary-blue);
    border: none;
    border-radius: 12px;
    padding: 12px 30px; /* Maior padding */
    margin-bottom: 10px;
    text-decoration: none;
    color: var(--card-bg); /* Texto escuro no botão claro */
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 198, 255, 0.3);
    width: 250px; /* Largura fixa para destaque */
}

.btn-download:hover {
    transform: translateY(-3px); 
    box-shadow: 0 8px 30px rgba(0, 198, 255, 0.5); /* Sombra mais intensa no hover */
    filter: brightness(1.1); /* Ligeiramente mais claro */
}

.btn-download i {
    font-size: 1.4rem;
    margin-right: 10px;
    color: var(--card-bg); /* Ícone escuro */
}

/* Estilo do QR Code */
.qr-code {
    width: 120px;
    height: 120px;
    margin-left: 30px;
    /* Fundo branco e borda para o QR Code */
    border: 6px solid var(--text-light); 
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    /* Inverti a cor do QR code na API para funcionar melhor no tema escuro */
}


/* --- Coluna da Direita (Mockup do Telemóvel) --- */
.phone-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.phone-mockup {
    width: 280px;
    height: 560px;
    background: var(--dark-blue-mockup); /* Cor da borda do telemóvel */
    border: 12px solid var(--dark-blue-mockup);
    border-radius: 40px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5);
    position: relative; 
    padding: 10px;
}

.notch {
    background: var(--dark-blue-mockup); /* Cor do notch */
}

/* O ecrã */
.screen {
    width: 100%;
    height: 100%;
    /* Fundo do ecrã um pouco mais escuro */
    background: #112a47; 
    border-radius: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden; /* Garante que o logo fique dentro */
}

/* NOVO: Estilo para o Logo no Ecrã */
.app-logo {
    max-width: 80%; /* Limita o tamanho do logo */
    max-height: 80%;
    opacity: 0.8; /* Suaviza ligeiramente */
    transition: transform 0.5s ease;
}

/* Efeito sutil: zoom no hover (opcional) */
.phone-mockup:hover .app-logo {
    transform: scale(1.05); 
}

/* --- Media Query (Responsividade - mantida) --- */

@media (max-width: 900px) {
    .download-banner {
        flex-direction: column; 
        text-align: center;
        padding: 40px 20px;
    }
    
    .info-container {
        padding-right: 0;
        margin-bottom: 30px;
    }

    .links-container {
        justify-content: center; 
        flex-direction: column;
    }
    
    .qr-code {
        margin-left: 0;
        margin-top: 20px;
    }
    
    .btn-download {
        width: 100%; /* Ocupa a largura total em mobile */
        max-width: 300px;
    }

    .phone-mockup {
        width: 220px;
        height: 440px;
    }
}