/* ============================================
   Downloads Android — Estilos Completos
   ============================================ */

:root {
    --bg: #0a0a0e;
    --bg-elevated: #12121a;
    --card: #16161f;
    --card-hover: #1c1c28;
    --accent: #00d4aa;
    --accent-hover: #00f5c4;
    --accent-glow: rgba(0, 212, 170, 0.25);
    --text: #e8e8ec;
    --text-muted: #8888a0;
    --border: rgba(255, 255, 255, 0.06);
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    --radius: 16px;
    --radius-sm: 10px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

.top-nav {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.65rem 1rem;
    background: rgba(10, 10, 14, 0.92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.top-nav a {
    text-decoration: none;
    color: var(--text);
    font-size: 0.86rem;
    font-weight: 600;
    padding: 0.42rem 0.75rem;
    border-radius: 999px;
    border: 1px solid transparent;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.top-nav a:hover {
    background: rgba(0, 212, 170, 0.12);
    border-color: rgba(0, 212, 170, 0.35);
    color: #d8fff7;
}

/* Background decorativo */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 212, 170, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 100% 100%, rgba(0, 100, 200, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 50% 30% at 0% 80%, rgba(0, 212, 170, 0.06) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* ========== SWIPER SLIDER NO TOPO ========== */
.hero-swiper {
    position: relative;
    z-index: 1;
    width: 100%;
    margin-bottom: 2rem;
}

.hero-swiper .slider-swiper {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 420px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.hero-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card);
}

.hero-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-swiper .swiper-pagination-bullet {
    background: var(--text-muted);
    opacity: 0.6;
    width: 8px;
    height: 8px;
    transition: all 0.2s;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: var(--accent);
    opacity: 1;
    width: 24px;
    border-radius: 4px;
}

.hero-swiper .swiper-button-prev,
.hero-swiper .swiper-button-next {
    color: var(--accent);
}

.hero-swiper .swiper-button-prev::after,
.hero-swiper .swiper-button-next::after {
    font-size: 1.5rem;
    font-weight: 700;
}

@media (max-width: 640px) {
    .hero-swiper .slider-swiper {
        max-height: 280px;
        border-radius: var(--radius-sm);
    }
}

/* ========== SLIDER DE VÍDEOS DE ANÚNCIOS (MEIO DA PÁGINA) ========== */
.ads-video-section {
    margin-bottom: 2.5rem;
}

.ads-video-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: 0.02em;
}

.ads-video-swiper {
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--card);
}

.ads-video-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}

.ads-video-swiper .ads-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.ads-video-sound {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    color: var(--text);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    z-index: 2;
}
.ads-video-sound:hover {
    background: rgba(0, 212, 170, 0.9);
    color: var(--bg);
}
.ads-video-sound svg {
    width: 22px;
    height: 22px;
    position: absolute;
}
.ads-video-sound .icon-unmuted {
    display: none;
}
.ads-video-sound .icon-muted {
    display: block;
}
.ads-video-sound.unmuted .icon-muted {
    display: none;
}
.ads-video-sound.unmuted .icon-unmuted {
    display: block;
}

.ads-video-swiper .swiper-pagination-bullet {
    background: var(--text-muted);
    opacity: 0.6;
}

.ads-video-swiper .swiper-pagination-bullet-active {
    background: var(--accent);
    opacity: 1;
}

@media (max-width: 640px) {
    .ads-video-section {
        margin-bottom: 1.5rem;
    }
    .ads-video-swiper {
        border-radius: var(--radius-sm);
    }
}

/* ========== HEADER / HERO ========== */
header {
    position: relative;
    z-index: 2;
    padding: 3rem 1.5rem 2.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
}

.header-top-bar {
    position: absolute;
    top: 1rem;
    right: 1rem;
    left: 1rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    pointer-events: none;
}

.header-top-bar .cart-toggle {
    pointer-events: auto;
}

header .logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 18px;
    margin-bottom: 1.25rem;
    box-shadow: 0 8px 32px var(--accent-glow);
    animation: float 3s ease-in-out infinite;
    overflow: hidden;
    background: var(--bg-elevated);
}

header .logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

header .logo svg {
    width: 78%;
    height: 78%;
    color: var(--accent);
    display: block;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

header h1 span {
    color: var(--accent);
    background: linear-gradient(135deg, var(--accent), #00f5c4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

header p {
    color: var(--text-muted);
    font-size: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

/* ========== MAIN ========== */
main {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem 4rem;
}

/* Barra de busca (visual) */
.search-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    max-width: 400px;
    margin: 0 auto 2rem;
    padding: 0.75rem 1.25rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.search-bar:focus-within {
    border-color: rgba(0, 212, 170, 0.4);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.search-bar input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--text);
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
}

.search-bar input::placeholder {
    color: var(--text-muted);
}

.search-bar svg {
    width: 20px;
    height: 20px;
    opacity: 0.5;
}

/* Grid de apps */
.apps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.section-title {
    margin: 0 0 1rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    letter-spacing: 0.01em;
}

.section-products {
    margin-bottom: 2rem;
}

.section-divider {
    height: 1px;
    margin: 0 0 2rem;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(0, 212, 170, 0.45) 50%,
        transparent 100%
    );
}

.section-apps {
    margin-bottom: 2rem;
}

.app-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 0;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.app-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.app-card:hover {
    background: var(--card-hover);
    border-color: rgba(0, 212, 170, 0.25);
    transform: translateY(-4px);
    box-shadow: var(--shadow), 0 0 40px var(--accent-glow);
}

.app-card:hover::before {
    opacity: 1;
}

.app-icon {
    width: 100%;
    aspect-ratio: 1;
    flex-shrink: 0;
    overflow: hidden;
    background: var(--card-hover);
}

.app-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.app-card .card-body {
    padding: 1.25rem 1.5rem 1.5rem;
}

.app-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text);
}

.app-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.app-card a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent) 0%, #00a884 100%);
    color: var(--bg);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    box-shadow: 0 2px 12px var(--accent-glow);
}

.app-card a:hover {
    background: linear-gradient(135deg, var(--accent-hover) 0%, var(--accent) 100%);
    transform: scale(1.02);
    box-shadow: 0 4px 20px var(--accent-glow);
}

.app-card a:active {
    transform: scale(0.98);
}

.app-card a::after {
    content: "↓";
    font-size: 1rem;
    opacity: 0.9;
}

.app-card .unavailable {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #4a4a58;
    color: #d6d6df;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-sm);
    cursor: not-allowed;
    opacity: 0.85;
}

.app-card .unavailable::after {
    content: "x";
    font-size: 0.9rem;
    opacity: 0.9;
}

.app-card .product-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(0, 212, 170, 0.18);
    color: var(--text);
    font-weight: 600;
    font-size: 0.9rem;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 212, 170, 0.35);
}

.product-card-ml {
    background: linear-gradient(180deg, #fff7c7 0%, #ffe16a 100%);
    border: 1px solid #f5c400;
}

.product-card-ml:hover {
    background: linear-gradient(180deg, #fff4b5 0%, #ffd94e 100%);
    border-color: #e7b800;
    box-shadow: 0 10px 28px rgba(255, 230, 102, 0.35);
}

.product-card-ml h3 {
    color: #2d2d2d;
}

.product-card-ml p {
    color: #4b4b4b;
}

.product-card-ml .product-price-ml {
    font-size: 1.35rem;
    font-weight: 800;
    color: #2d2d2d;
    margin-bottom: 0.9rem;
    margin-top: 0.15rem;
    letter-spacing: 0.02em;
}

.product-card-ml .buy-button-ml {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: #3483fa;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(52, 131, 250, 0.35);
}

.product-card-ml .buy-button-ml:hover {
    background: #2968c8;
    box-shadow: 0 8px 20px rgba(41, 104, 200, 0.35);
}

.product-card-ml .buy-button-ml::after {
    content: "🛒";
    font-size: 0.95rem;
}

.download-count {
    margin-top: 0.7rem;
    margin-bottom: 0;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
}

a.cart-toggle {
    text-decoration: none;
    color: inherit;
}

.cart-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(0, 212, 170, 0.35);
    border-radius: 12px;
    padding: 0;
    font-family: inherit;
    color: var(--text);
    background: var(--card);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.cart-toggle:hover {
    background: var(--card-hover);
    border-color: rgba(0, 212, 170, 0.55);
}

.cart-toggle:active {
    transform: scale(0.96);
}

.cart-icon-svg {
    width: 24px;
    height: 24px;
    display: block;
}

.cart-count-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 20px;
    text-align: center;
    color: #111;
    background: #fff159;
    border: 2px solid var(--bg-elevated);
}

/* Página do carrinho (carrinho.html) */
.cart-page-body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.cart-page-header {
    position: relative;
    z-index: 1;
    padding: 1.25rem 1.5rem 1rem;
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.cart-page-header h1 {
    margin: 0.5rem 0 0;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--text);
}

.cart-back {
    position: absolute;
    left: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
}

.cart-back:hover {
    text-decoration: underline;
}

.cart-page-main {
    flex: 1;
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
    padding: 1.5rem 1.25rem 2.5rem;
    position: relative;
    z-index: 1;
}

.cart-page-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.25rem;
    text-align: center;
}

.cart-page-empty-text {
    margin: 0 0 1.25rem;
    color: var(--text-muted);
    font-size: 0.95rem;
}

.cart-page-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.25rem;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--accent) 0%, #00a884 100%);
    color: var(--bg);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.cart-page-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.cart-page-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem 1.1rem;
}

.cart-page-item-media {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 0.35rem;
}

.cart-page-item-thumb {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.cart-page-item-meta {
    min-width: 0;
}

.cart-page-item-name {
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.35rem;
    font-size: 0.95rem;
    line-height: 1.4;
}

.cart-page-item-details {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.cart-line-price {
    margin: 0 0 0.25rem;
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 600;
}

.cart-line-subtotal {
    margin: 0 0 0.75rem;
    font-size: 0.88rem;
    color: var(--text);
    font-weight: 700;
}

.cart-total-line {
    margin: 1rem 0 0;
    padding: 0.75rem 0 0;
    border-top: 1px solid var(--border);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    text-align: right;
}

.cart-page-item-controls {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.cart-qty-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: var(--bg-elevated);
    color: var(--text);
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: inherit;
}

.cart-qty-btn:hover {
    border-color: rgba(0, 212, 170, 0.45);
    background: var(--card);
}

.cart-qty-value {
    min-width: 2.5rem;
    text-align: center;
    font-weight: 700;
    color: var(--text);
    font-size: 1.05rem;
}

.cart-remove-item {
    margin-left: auto;
    border: none;
    background: transparent;
    color: #ff6b6b;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    font-family: inherit;
    text-decoration: underline;
    padding: 0.25rem 0.25rem;
}

.cart-remove-item:hover {
    color: #ff8585;
}

.cart-page-actions {
    margin-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: stretch;
}

.cart-page-buy {
    width: 100%;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.85rem 1.25rem;
    font-family: inherit;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    color: #ffffff;
    background: #3483fa;
    box-shadow: 0 4px 16px rgba(52, 131, 250, 0.4);
    transition: background 0.2s, transform 0.15s;
}

.cart-page-buy:hover {
    background: #2968c8;
}

.cart-page-buy:active {
    transform: scale(0.98);
}

.cart-page-clear {
    width: 100%;
    border: 1px solid var(--border);
    background: transparent;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-family: inherit;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.cart-page-clear:hover {
    color: var(--text);
    border-color: rgba(255, 255, 255, 0.2);
}

/* Mercado Pago — bloco de formas de pagamento (carrinho) */
.mp-payment-block[hidden] {
    display: none !important;
}

.mp-payment-block {
    margin-top: 1.5rem;
    padding: 1.25rem 1rem 1.5rem;
    background: linear-gradient(180deg, rgba(0, 158, 227, 0.1) 0%, var(--card) 100%);
    border: 1px solid rgba(0, 158, 227, 0.35);
    border-radius: var(--radius);
}

.mp-payment-head {
    text-align: center;
    margin-bottom: 1rem;
}

.mp-logo-text {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #009ee3;
    margin-bottom: 0.35rem;
}

.mp-title {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
}

.mp-lead {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.45;
}

.mp-methods {
    list-style: none;
    margin: 0 0 0.9rem;
    padding: 0;
    display: grid;
    gap: 0.5rem;
}

.mp-method {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.88rem;
    color: var(--text);
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.55rem 0.7rem;
}

.mp-method-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    font-size: 1rem;
}

.mp-ico-pix {
    font-size: 0.7rem;
    font-weight: 800;
    color: #00b1a2;
    border: 1px solid #00b1a2;
    border-radius: 4px;
    padding: 0.15rem 0.35rem;
    min-width: auto;
}

.mp-secure {
    margin: 0 0 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
}

.mp-checkout-btn {
    width: 100%;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.9rem 1.25rem;
    font-family: inherit;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    color: #ffffff;
    background: #009ee3;
    box-shadow: 0 4px 18px rgba(0, 158, 227, 0.4);
    transition: background 0.2s, transform 0.15s;
}

.mp-checkout-btn:hover {
    background: #007eb5;
}

.mp-checkout-btn:active {
    transform: scale(0.98);
}

.mp-hint {
    margin: 0.75rem 0 0;
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.5;
    text-align: center;
}

.mp-hint code {
    font-size: 0.72rem;
    color: var(--accent);
    word-break: break-all;
}

.cart-page-footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 1.5rem;
    border-top: 1px solid var(--border);
    background: var(--bg-elevated);
}

@media (max-width: 480px) {
    .cart-page-item-controls {
        row-gap: 0.6rem;
    }
    .cart-remove-item {
        width: 100%;
        margin-left: 0;
        text-align: left;
    }
}

/* ========== FOOTER ========== */
footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem 1.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    border-top: 1px solid var(--border);
    background: var(--bg-elevated);
}

footer p {
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.6;
}

footer .disclaimer {
    margin-top: 0.5rem;
    font-size: 0.8rem;
    opacity: 0.8;
}

footer .footer-contact {
    margin: 1rem auto 0;
    padding: 0.9rem 1rem;
    max-width: 520px;
    border: 1px solid rgba(0, 212, 170, 0.25);
    border-radius: var(--radius-sm);
    background: rgba(0, 212, 170, 0.06);
}

footer .footer-contact p {
    margin: 0.2rem 0;
    font-size: 0.85rem;
}

footer .footer-contact a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

footer .footer-contact a:hover {
    text-decoration: underline;
}

footer .footer-links {
    margin-top: 0.9rem;
}

footer .footer-links a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

footer .footer-links a:hover {
    text-decoration: underline;
}

/* ========== RESPONSIVO ========== */
@media (max-width: 640px) {
    .top-nav {
        flex-wrap: wrap;
        gap: 0.45rem;
        padding: 0.6rem 0.5rem;
    }

    .top-nav a {
        font-size: 0.8rem;
        padding: 0.38rem 0.65rem;
    }

    header {
        padding: 3.25rem 1rem 1.5rem;
    }

    .header-top-bar {
        top: 0.75rem;
        right: 0.75rem;
        left: 0.75rem;
    }

    header .logo {
        width: 60px;
        height: 60px;
    }

    header h1 {
        font-size: 1.5rem;
    }

    main {
        padding: 1.5rem 1rem 3rem;
    }

    .apps-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .section-products {
        margin-bottom: 1.5rem;
    }

    .section-divider {
        margin-bottom: 1.5rem;
    }

    .app-card .card-body {
        padding: 1rem 1.25rem 1.25rem;
    }
}

/* Animação de entrada suave */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.app-card {
    animation: fadeInUp 0.5s ease-out backwards;
}

.app-card:nth-child(1) { animation-delay: 0.05s; }
.app-card:nth-child(2) { animation-delay: 0.1s; }
.app-card:nth-child(3) { animation-delay: 0.15s; }
.app-card:nth-child(4) { animation-delay: 0.2s; }
.app-card:nth-child(5) { animation-delay: 0.25s; }
.app-card:nth-child(6) { animation-delay: 0.3s; }
.app-card:nth-child(7) { animation-delay: 0.35s; }
.app-card:nth-child(8) { animation-delay: 0.4s; }
.app-card:nth-child(9) { animation-delay: 0.45s; }
