/*
 * style.css
 * MenuCardAPP - Estilo App-like (Mobile First)
 */

/* === VARIÁVEIS DE COR === */
:root {
    /* Roxo Principal (Nubank-like) */
    --color-primary: #820ad1; 
    /* Roxo Claro/Secundário */
    --color-secondary: #a350e9;
    /* Cinza Claro para fundos/divisões */
    --color-background: #f4f4f7; 
    /* Branco */
    --color-white: #ffffff;
    /* Texto Escuro */
    --color-text-dark: #333333;
    /* Sombra Leve para elevação */
    --shadow-light: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* === RESET BÁSICO E TIPOGRAFIA === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--color-background);
    color: var(--color-text-dark);
    line-height: 1.6;
}

/* Garante que o corpo do app não seja muito largo no desktop */
.app-body {
    max-width: 500px; /* Limita a largura para simular um smartphone */
    margin: 0 auto;
    background-color: var(--color-white);
    min-height: 100vh;
    box-shadow: var(--shadow-light);
}

/* === LAYOUT E COMPONENTES PRINCIPAIS === */

/* --- Header Superior (App Bar) --- */
.app-header {
    background-color: var(--color-primary);
    color: var(--color-white);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo-text {
    font-size: 1.5em;
    font-weight: 700;
}

.logo-sub {
    font-size: 0.9em;
    font-weight: 400;
    opacity: 0.8;
}

.header-icons .header-icon {
    color: var(--color-white);
    font-size: 1.2em;
    margin-left: 15px;
    text-decoration: none;
    cursor: pointer;
}

/* --- Conteúdo Principal --- */
.app-main-content {
    padding-bottom: 70px; /* Espaço para o menu inferior fixo */
}

.section-title {
    font-size: 1.5em;
    color: var(--color-primary);
    margin-bottom: 20px;
    font-weight: 600;
}

/* --- Hero Section (Apresentação Inicial) --- */
.hero-section {
    padding: 30px 20px;
    text-align: center;
    background-color: var(--color-white);
}

.hero-title {
    font-size: 2.2em;
    font-weight: 700;
    color: var(--color-text-dark);
    margin-bottom: 10px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 30px;
}

.image-placeholder {
    width: 100%;
    height: 200px;
    background-color: var(--color-background);
    border-radius: 15px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8em;
    color: var(--color-text-dark);
}

/* --- Botão Primário (Similar ao CTA da imagem) --- */
.btn-primary {
    display: inline-block;
    background-color: var(--color-secondary);
    color: var(--color-white);
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s;
    box-shadow: 0 4px 10px rgba(163, 80, 233, 0.4);
}

.btn-primary:hover {
    background-color: #6a1a97; /* Um roxo ligeiramente mais escuro no hover */
}

/* --- Info Section (Características) --- */
.info-section {
    padding: 30px 20px;
}

.feature-card {
    background-color: var(--color-white);
    padding: 20px;
    border-radius: 15px; /* Arredondamento para estética app-like */
    margin-bottom: 15px;
    box-shadow: var(--shadow-light);
    border-left: 5px solid var(--color-primary); /* Detalhe visual */
}

.feature-icon {
    font-size: 2em;
    color: var(--color-primary);
    margin-bottom: 10px;
}

.card-title {
    font-size: 1.1em;
    font-weight: 600;
    margin-bottom: 5px;
}

/* --- Footer Inferior (Menu de Navegação App) --- */
.app-footer {
    background-color: var(--color-white);
    border-top: 1px solid #eee;
    padding: 10px 0;
    display: flex;
    justify-content: space-around;
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 500px; /* Mantém a largura do corpo do app */
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
    z-index: 1000;
}

.footer-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #999;
    text-decoration: none;
    font-size: 0.75em;
    transition: color 0.3s;
    flex: 1;
}

.footer-icon i {
    font-size: 1.3em;
    margin-bottom: 3px;
}

.footer-icon.active,
.footer-icon:hover {
    color: var(--color-primary);
}

.icon-label {
    display: block;
}

/* === RESPONSIVIDADE (Desktop - Minimalista) === */
@media (min-width: 501px) {
    /* Ajustes para desktop onde o corpo é limitado */
    .app-header, .app-footer {
        max-width: 500px;
        left: auto;
        right: auto;
    }
}