/* --- STYLE D'ARTICLE --- */
body {
    background-color: #1a1a1a;
    color: #e0e0e0;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    padding: 20px;
}

main {
    max-width: 700px;
    margin: 40px auto;
    padding: 20px;
}

h1 {
    color: #ffffff;
    font-size: 2.8em;
    border-bottom: 1px solid #444;
    padding-bottom: 8px;
    margin-bottom: 30px;
}

/* --- STYLE DE L'EN-TÊTE DE L'APP --- */
.app-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 60px;
    margin-bottom: 20px;
}

.mobile-icon {
    width: 80px;
    height: 80px;
    border-radius: 18px;
    background-color: #333;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
    border: 1px solid #444;
}

.app-title {
    color: #ffffff;
    font-size: 2em;
    margin: 0;
    border: none;
}

.separator {
    border: 0;
    height: 1px;
    background: #333;
    margin: 60px 0;
}

/* --- HARMONISATION DES IMAGES --- */
.app-preview-img {
    width: 100%;
    height: 400px;
    border-radius: 8px;
    margin: 20px 0;
    object-fit: cover;
    object-position: top;
}

a {
    color: #0099ff;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    text-decoration: underline;
}

/* --- NAVIGATION ARTICLE --- */
.article-nav {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #333;
}

.article-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--text-color-secondary);
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 50px;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.article-nav a:hover {
    color: #ffffff;
    border-color: rgba(13, 14, 14, 0.269);
    background: rgba(13, 14, 14, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.article-nav a:first-child:hover { transform: translateX(-3px) translateY(-2px); }
.article-nav a:last-child:hover  { transform: translateX(3px)  translateY(-2px); }

/* --- MOBILE --- */
@media screen and (max-width: 600px) {
    .app-header { gap: 15px; }
    .mobile-icon { width: 60px; height: 60px; border-radius: 14px; }
    .app-title { font-size: 1.5em; }
    .app-preview-img { height: 250px; }
    main { max-width: 100%; padding: 10px; }
}

@media (max-width: 768px) {
    .article-nav { flex-direction: column; }
    .article-nav a { justify-content: center; }
    .article-nav a:first-child:hover,
    .article-nav a:last-child:hover { transform: translateY(-2px); }
}