/* =================================================================== */
/* =   ESTILO PROFISSIONAL E COMPACTO PARA A PÁGINA DO APP           = */
/* =================================================================== */

/* --- FUNDO DA SEÇÃO --- */
.app-section-container {
    position: relative;
    z-index: 1;
    overflow: hidden;
    padding: 4rem 2rem;
}

.app-section-container::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    height: 100%;
    background-image: url('../img/fundo-fmobile.webp');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover; /* Cobre todo o fundo */
    opacity: 0.04; /* Ainda mais sutil */
    z-index: -1;
}

/* --- NOVO LAYOUT PRINCIPAL (DIVIDIDO) --- */
.app-showcase-layout {
    display: flex;
    flex-wrap: wrap; /* Permite quebrar em telas menores */
    align-items: center;
    gap: 3rem;
    justify-content: center;
    max-width: 1100px;
    margin: 3rem auto 0 auto; /* Adiciona margem superior para separar do texto intro */
}

.app-image-showcase {
    flex: 1 1 300px; /* Base de 300px, pode crescer/encolher */
    text-align: center;
}

.app-image-showcase img {
    width: 280px; /* Tamanho controlado e menor */
    height: auto;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.3s ease;
}

.app-image-showcase img:hover {
    transform: translateY(-10px) scale(1.02);
}

.app-details-showcase {
    flex: 1.5 1 400px; /* Ocupa um pouco mais de espaço */
    text-align: left;
}

/* --- LISTA DE FUNCIONALIDADES REFINADA --- */
.features-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.features-list li {
    display: flex; /* Alinha o ícone e o texto */
    align-items: flex-start; /* Alinha pelo topo */
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.features-list .icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--cor-destaque);
    margin-top: 3px;
}

.features-list strong {
    color: var(--cor-texto-principal);
    font-weight: 600;
}

/* --- BOTÕES DE DOWNLOAD --- */
.download-buttons {
    margin-top: 2rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.download-buttons .btn {
    flex: 1 1 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.9rem 1.5rem;
}

/* --- AJUSTES PARA TELAS MENORES --- */
@media (max-width: 768px) {
    .app-showcase-layout {
        flex-direction: column; /* Empilha as colunas */
        gap: 2rem;
        margin-top: 2rem;
    }

    .app-image-showcase img {
        width: 240px; /* Imagem um pouco menor no mobile */
    }

    .app-details-showcase,
    .app-details-showcase h2 {
        text-align: center; /* Centraliza tudo no mobile */
    }

    .features-list li {
        text-align: left; /* Mantém o texto da lista alinhado à esquerda para legibilidade */
    }

    .download-buttons {
        justify-content: center; /* Centraliza os botões */
    }
}

/* =================================================================== */
/* =   CORREÇÃO PARA OS BOTÕES DE DOWNLOAD COM ÍCONES EXTERNOS       = */
/* =================================================================== */

.download-buttons .btn {
    /* Layout interno do botão */
    display: flex;
    align-items: center;    /* Alinha o ícone e o texto verticalmente */
    justify-content: center;/* Centraliza o conteúdo horizontalmente */
    gap: 0.75rem;           /* Espaço entre o ícone e o texto */

    /* Controle de tamanho */
    padding: 0.8rem 1.5rem; /* Espaçamento interno, controla o tamanho do botão */
    min-width: 220px;       /* Garante uma largura mínima para o botão */
    flex: 1 1 220px;        /* Faz o botão ser flexível e responsivo */
}

/* O mais importante: Controle do tamanho do ícone DENTRO do botão */
.download-buttons .btn img {
    height: 24px;   /* Força a altura do ícone a ser pequena */
    width: 24px;    /* Força a largura do ícone a ser pequena */
    object-fit: contain; /* Garante que a imagem não seja distorcida */
}