/* The list of applications — /app.
   It rides on style.css for the palette, the fonts and the cream ground, and
   adds only what a page of links needs. The site's own bar is a table of
   contents for one long page, so this one has a plain header instead: the name,
   and the way back. */

.apps-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--nav-h);
    background: rgba(250, 246, 240, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201, 151, 59, 0.15);
}

.apps-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: var(--max);
    height: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.apps-bar__logo {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    letter-spacing: 0.01em;
}

.apps-bar__back { font-size: 0.9rem; color: var(--texte-doux); }
.apps-bar__back:hover { color: var(--or); }

.apps-main {
    max-width: var(--mesure);
    margin: 0 auto;
    padding: 3.5rem 1.5rem 4rem;
}

.apps-main h1 {
    margin: 0 0 0.6rem;
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 2.8rem);
    font-weight: 500;
}

.apps-intro { color: var(--texte-doux); margin-bottom: 2.5rem; }
.apps-empty { color: var(--texte-doux); }

.apps-list { margin: 0; padding: 0; list-style: none; }

.apps-item + .apps-item { margin-top: 0.9rem; }

.apps-item a {
    display: flex;
    gap: 1.1rem;
    align-items: center;
    padding: 1.1rem 1.3rem;
    background: var(--creme-alt);
    border: 1px solid rgba(201, 151, 59, 0.18);
    border-radius: 8px;
    transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.apps-item a:hover {
    border-color: var(--or);
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(44, 31, 14, 0.07);
}

/* The icon is the one the phone shows once the application is installed, so
   the list already looks like the home screen it is heading for. */
.apps-item__icon {
    flex: none;
    width: 3.25rem;
    height: 3.25rem;
    overflow: hidden;
    border-radius: 12px;
    background: var(--creme);
}

.apps-item__icon img { display: block; width: 100%; height: 100%; object-fit: cover; }

.apps-item__text { display: flex; flex-direction: column; gap: 0.15rem; }

.apps-item__name {
    font-family: var(--font-serif);
    font-size: 1.25rem;
}

.apps-item__desc { color: var(--texte-doux); font-size: 0.95rem; line-height: 1.5; }

.apps-note {
    margin-top: 2.5rem;
    color: var(--texte-doux);
    font-size: 0.9rem;
}

.apps-footer {
    max-width: var(--mesure);
    margin: 0 auto;
    padding: 0 1.5rem 3rem;
    color: var(--texte-doux);
    font-size: 0.85rem;
}

@media (max-width: 600px) {
    .apps-main { padding-top: 2.5rem; }
    .apps-item a { padding: 0.9rem 1rem; }
    .apps-item__icon { width: 2.75rem; height: 2.75rem; }
}
