/* --- HERO SECTION (Android, Linux, etc) --- */
.section-hero {
    text-align: center;
    padding: 60px 0 40px;
}
.section-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 5px;
    background: linear-gradient(to right, var(--text-muted), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-hero .subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* --- GRILLE LISTE APPS --- */
.app-list {
    display: grid;
    /* 2 colonnes sur grand écran, 1 seule sur petit */
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

/* --- CARTE APP (Horizontale) --- */
.app-card {
    /* Ta transparence personnalisée */
    background-color: rgba(30, 33, 38, 0.4); 
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    overflow: hidden;
    display: flex; /* Disposition horizontale */
    align-items: center;
    padding: 20px;
    transition: 0.3s;
    position: relative;
}

.app-card:hover {
    background-color: rgba(30, 33, 38, 0.6); /* Un peu plus opaque au survol */
    border-color: var(--accent);
    transform: translateY(-5px);
}

/* Partie Gauche : Miniature Mockup */
.app-visual-thumb {
    flex-shrink: 0; /* Ne rétrécit pas */
    width: 100px;   /* Taille fixe */
    margin-right: 25px;
    /* Petit effet d'ombre sous le "téléphone" */
    filter: drop-shadow(0 10px 15px rgba(0,0,0,0.5));
    transition: 0.3s;
}

.app-card:hover .app-visual-thumb {
    transform: scale(1.05) rotate(-2deg); /* Petite animation sympa */
}

/* Partie Droite : Infos */
.app-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

/* En-tête de la carte (Logo + Titre) */
.app-header-row {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.app-logo-mini {
    width: 40px;
    height: 40px;
    /* Ta transparence personnalisée pour les icones */
    background-color: rgba(30, 33, 38, 0.9);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
}
.app-logo-mini svg {
    width: 24px;
    height: 24px;
    fill: var(--accent);
}

.app-header-row h3 {
    font-size: 1.4rem;
    color: #fff;
    margin: 0;
}

/* Description */
.app-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 15px;
    /* Limite à 3 lignes de texte max si c'est trop long */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Bas de carte (Tags & Bouton) */
.app-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto; /* Pousse vers le bas si la carte est haute */
}

.tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255,255,255,0.05);
    padding: 4px 8px;
    border-radius: 4px;
    color: #ccc;
}

.btn-text {
    color: var(--accent);
    font-weight: bold;
    font-size: 0.9rem;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 600px) {
    .app-list {
        grid-template-columns: 1fr; /* Une seule colonne */
    }
    .app-card {
        flex-direction: column; /* On passe en vertical sur mobile */
        text-align: center;
        padding: 30px 20px;
    }
    .app-visual-thumb {
        margin-right: 0;
        margin-bottom: 20px;
        width: 120px;
    }
    .app-header-row {
        flex-direction: column; /* Logo au dessus du titre */
        justify-content: center;
    }
    .app-logo-mini { margin-right: 0; margin-bottom: 10px; }
}
