/* assets/css/home.css */
:root {
    --bg-base: #000000;
    --bg-surface: #0a0a0a;
    --bg-surface-hover: #141414;
    --border-color: #27272a;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --accent: #ffffff;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --play-link: 'https://play.google.com/store/apps/details?id=com.avtdbv.app&pcampaignid=web_share';
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Animações (Scroll Reveal) */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- Typography --- */
h1, h2, h3 {
    letter-spacing: -0.04em;
    line-height: 1.1;
}
.text-muted { color: var(--text-secondary); }
.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.05);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px; /* Estilo Apple/Vercel */
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
}
.btn-primary {
    background-color: var(--accent);
    color: #000;
    border: 1px solid var(--accent);
}
.btn-primary:hover {
    background-color: #e5e5e5;
    transform: scale(1.02);
}
.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}
.btn-secondary:hover {
    background-color: var(--bg-surface);
}

/* --- Navbar --- */
.navbar {
    position: fixed;
    top: 0; width: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.logo { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a.link-clubes { font-size: 0.9rem; color: var(--text-secondary); transition: color 0.2s; }
.nav-links a.link-clubes:hover { color: var(--text-primary); }

/* --- Hero Section --- */
.hero {
    padding: 180px 0 100px;
    text-align: center;
    position: relative;
}
.hero h1 {
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 800;
    background: linear-gradient(180deg, #FFFFFF 0%, #71717A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 24px;
    max-width: 900px;
    margin-inline: auto;
}
.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* Hero Mockup (CSS) */
.hero-mockup-wrapper {
    margin-top: 60px;
    display: flex;
    justify-content: center;
    perspective: 1000px;
}
.mockup-frame {
    width: 320px; height: 650px;
    background: var(--bg-base);
    border: 8px solid #1a1a1a;
    border-radius: 40px;
    box-shadow: 0 0 0 1px #333, 0 30px 60px rgba(0,0,0,0.8);
    position: relative;
    overflow: hidden;
    transform: rotateX(5deg);
    transition: transform 0.5s ease;
}
.mockup-frame:hover { transform: rotateX(0deg) translateY(-10px); }
.mockup-notch {
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 120px; height: 25px; background: #1a1a1a; border-radius: 0 0 12px 12px; z-index: 2;
}
.mockup-screen {
    width: 100%; height: 100%;
    background: url('assets/img/mockups/hero-screen.jpg') center/cover, var(--bg-surface);
    display: flex; align-items: center; justify-content: center;
}

/* --- Features (Cards Modernos Linear/Notion) --- */
.section { padding: 100px 0; border-top: 1px solid var(--border-color); }
.section-header { text-align: center; margin-bottom: 64px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 16px; }

.features-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px;
}
.card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 32px;
    transition: all 0.3s ease;
}
.card:hover { border-color: #444; background: var(--bg-surface-hover); }
.card-icon {
    width: 48px; height: 48px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
}
.card h3 { font-size: 1.25rem; margin-bottom: 12px; font-weight: 600; }
.card p { color: var(--text-secondary); font-size: 0.95rem; }

/* --- AI Section --- */
.ai-section .ai-container {
    display: flex; align-items: center; gap: 64px;
}
.ai-text { flex: 1; }
.ai-visual {
    flex: 1;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 40px;
    position: relative;
    overflow: hidden;
}
.ai-visual::before {
    content: ''; position: absolute; top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.05) 0%, transparent 50%);
    animation: rotate 10s linear infinite;
}
@keyframes rotate { 100% { transform: rotate(360deg); } }

/* --- Screenshots --- */
.screenshots-wrapper {
    display: flex; gap: 24px; overflow-x: auto; padding: 24px 0;
    scroll-snap-type: x mandatory;
    scrollbar-width: none; /* Firefox */
}
.screenshots-wrapper::-webkit-scrollbar { display: none; }
.screenshot-item {
    min-width: 280px; height: 580px;
    border-radius: 24px; border: 1px solid var(--border-color);
    background: var(--bg-surface);
    scroll-snap-align: center;
    overflow: hidden;
}
.screenshot-item img { width: 100%; height: 100%; object-fit: cover; }

/* --- Download CTA (100% Gratuito) --- */
.download-section {
    text-align: center; padding: 120px 0; background: var(--bg-surface);
    border-top: 1px solid var(--border-color);
}
.download-section h2 { font-size: 3rem; margin-bottom: 24px; }
.download-section p { font-size: 1.2rem; color: var(--text-secondary); margin-bottom: 40px; }

/* --- Footer --- */
.footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

/* Responsividade */
@media (max-width: 768px) {
    .ai-section .ai-container { flex-direction: column; }
    .hero h1 { font-size: 2.5rem; }
    .nav-links a.link-clubes { display: none; /* Esconde no mobile para focar no CTA */ }
}