* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.7;
    color: #374151;
    background: #f9fafb;
    min-height: 100vh;
}
header {
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 10;
}
header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.logo-icon {
    width: 36px;
    height: 36px;
    background: #3b82f6;
    border-radius: 8px;
}
.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: #111827;
}
nav {
    display: flex;
    align-items: center;
    gap: 0;
}
nav a {
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    margin-left: 20px;
}
nav a:hover { color: #111827; }
.container {
    max-width: 880px;
    margin: 0 auto;
    padding: 0 24px;
}
main { padding: 48px 0 64px; }
h1 {
    font-size: 34px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}
.subtitle {
    color: #6b7280;
    margin-bottom: 44px;
    font-size: 17px;
    max-width: 560px;
}
h2 {
    font-size: 22px;
    font-weight: 600;
    color: #111827;
    margin: 8px 0 6px 0;
}
p { margin-bottom: 16px; }
a { color: #3b82f6; }
a:hover { color: #2563eb; }

/* ---- Hero ---- */
.hero {
    text-align: center;
    padding: 8px 0 8px;
}
.hero h1 { font-size: 40px; }
.hero .subtitle { margin: 0 auto 0; }

/* ---- Grade de apps ---- */
.section-title {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9ca3af;
    margin: 56px 0 18px 0;
}
.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}
.app-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 20px;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.app-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(17,24,39,0.08);
    border-color: #d1d5db;
}
.app-card .app-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.app-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    overflow: hidden;
}
.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.app-name {
    font-size: 17px;
    font-weight: 600;
    color: #111827;
}
.app-tagline {
    color: #6b7280;
    font-size: 14px;
    flex: 1;
    margin: 0 0 16px 0;
}
.app-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #3b82f6;
    font-size: 14px;
    font-weight: 500;
}
.app-card:hover .app-cta { color: #2563eb; }

/* ---- Sugestões ---- */
.suggest {
    margin-top: 64px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    padding: 36px;
    text-align: center;
}
.suggest p { color: #4b5563; max-width: 520px; margin: 8px auto 24px; }
.btn {
    display: inline-block;
    background: #3b82f6;
    color: #fff;
    padding: 13px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
}
.btn:hover { background: #2563eb; color: #fff; }

footer {
    border-top: 1px solid #e5e7eb;
    padding: 28px 0;
    text-align: center;
    font-size: 13px;
    color: #9ca3af;
}
footer a { color: #6b7280; margin: 0 12px; }

/* ---- Seletor de idioma ---- */
.lang-switcher {
    display: inline-flex;
    gap: 2px;
    margin-left: 20px;
    background: #f3f4f6;
    border-radius: 6px;
    padding: 2px;
    flex-shrink: 0;
}
.lang-switcher a {
    margin: 0 !important;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #6b7280;
    text-decoration: none;
    line-height: 1.4;
}
.lang-switcher a:hover { color: #111827; background: #e5e7eb; }
.lang-switcher a.active {
    background: #fff;
    color: #111827;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
@media (max-width: 640px) {
    h1 { font-size: 28px; }
    .hero h1 { font-size: 32px; }
    .subtitle { font-size: 15px; }
    nav a { margin-left: 12px; font-size: 12px; }
    .lang-switcher { margin-left: 12px; }
    .lang-switcher a { padding: 3px 6px; font-size: 11px; }
    main { padding: 32px 0 48px; }
    .suggest { padding: 28px 20px; }
}
