/* --- RESET E VARIÁVEIS --- */
:root {
    --bg-dark: #0f172a;
    --bg-card: rgba(30, 41, 59, 0.7);
    --primary: #3b82f6;
    --primary-hover: #2563eb;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border: rgba(255, 255, 255, 0.08);
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --card-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0; padding: 0; background-color: var(--bg-dark);
    font-family: 'Inter', sans-serif; color: var(--text-main);
    overflow-x: hidden; line-height: 1.6;
}
h1, h2, h3, .logo { font-family: 'Outfit', sans-serif; }

/* ANIMAÇÕES */
@keyframes gradientMove { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
@keyframes scrollDown { 0% { opacity: 0; transform: translateY(-10px); } 50% { opacity: 1; transform: translateY(0); } 100% { opacity: 0; transform: translateY(10px); } }
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.reveal.active { opacity: 1; transform: translateY(0); }
.delay-100 { transition-delay: 0.1s; } .delay-200 { transition-delay: 0.2s; } .delay-300 { transition-delay: 0.3s; } .delay-400 { transition-delay: 0.4s; }

/* NAVBAR */
.navbar { position: fixed; width: 100%; top: 0; background: rgba(15, 23, 42, 0.8); backdrop-filter: blur(12px); z-index: 1000; border-bottom: var(--glass-border); }
.nav-container { max-width: 1100px; margin: 0 auto; padding: 15px 20px; display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 800; font-size: 1.5rem; letter-spacing: -0.5px; }
.dot { color: var(--primary); }
.nav-links { display: flex; gap: 25px; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-size: 0.9rem; font-weight: 500; transition: color 0.3s; }
.nav-links a:hover { color: var(--text-main); }
.btn-login { display: flex; align-items: center; gap: 8px; text-decoration: none; font-size: 0.85rem; color: var(--text-main); border: var(--glass-border); padding: 8px 16px; border-radius: 20px; transition: all 0.3s; }
.btn-login:hover { background: rgba(255,255,255,0.1); border-color: var(--primary); }

/* HERO */
.hero { min-height: 90vh; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; position: relative; padding: 120px 20px 60px 20px; }
.hero-content { z-index: 2; max-width: 800px; width: 100%; }
.tag { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: var(--primary); font-weight: 700; margin-bottom: 20px; display: inline-block; padding: 6px 12px; background: rgba(59, 130, 246, 0.1); border-radius: 20px; border: 1px solid rgba(59, 130, 246, 0.2); }
.hero h1 { font-size: 3.5rem; line-height: 1.1; margin-bottom: 25px; letter-spacing: -1px; }
.gradient-text { background: linear-gradient(-45deg, #60a5fa, #a855f7, #ec4899, #3b82f6); background-size: 300%; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.animate-gradient { animation: gradientMove 5s ease infinite; }
.hero p { color: var(--text-muted); font-size: 1.2rem; max-width: 600px; margin: 0 auto 40px auto; }
.cta-group { display: flex; gap: 15px; justify-content: center; flex-wrap: wrap; }
.btn-primary, .btn-outline { padding: 14px 32px; border-radius: 50px; text-decoration: none; font-weight: 600; transition: all 0.3s ease; display: inline-block; }
.btn-primary { background: var(--primary); color: white; box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4); }
.btn-primary:hover { background: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(59, 130, 246, 0.5); }
.btn-outline { border: var(--glass-border); color: var(--text-main); backdrop-filter: blur(5px); }
.btn-outline:hover { background: rgba(255,255,255,0.05); border-color: var(--text-main); }
.scroll-indicator { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2; }
.mouse { width: 26px; height: 40px; border: 2px solid rgba(255,255,255,0.3); border-radius: 20px; display: flex; justify-content: center; padding-top: 8px; }
.wheel { width: 4px; height: 8px; background: white; border-radius: 2px; animation: scrollDown 1.5s infinite; }
.glow-bg { position: absolute; width: 100%; height: 100%; background: radial-gradient(circle at 50% 30%, rgba(59,130,246,0.12) 0%, rgba(0,0,0,0) 50%); top: 0; left: 0; z-index: 1; pointer-events: none; }

/* SEÇÕES */
.section { padding: 100px 20px; }
.container { max-width: 1100px; margin: 0 auto; }
.section-title { font-size: 2.5rem; margin-bottom: 60px; text-align: center; font-weight: 700; }
.alt-bg { background: #080c14; }

/* TIMELINE */
.timeline { position: relative; max-width: 800px; margin: 0 auto; border-left: 2px solid rgba(59, 130, 246, 0.3); padding-left: 40px; }
.timeline-item { position: relative; margin-bottom: 50px; }
.timeline-marker { position: absolute; left: -49px; top: 0; width: 16px; height: 16px; border-radius: 50%; background: var(--primary); border: 3px solid var(--bg-dark); box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); }
.timeline-content .date { font-size: 0.85rem; color: var(--primary); font-weight: 700; text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: 8px; }
.timeline-content h3 { margin: 0; font-size: 1.4rem; color: white; }
.timeline-content h4 { margin: 5px 0 15px 0; font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.timeline-content p { margin: 0; font-size: 1rem; color: #cbd5e1; line-height: 1.7; }

/* SKILLS */
.tech-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 25px; }
.tech-card { background: var(--bg-card); padding: 35px; border-radius: 20px; border: var(--glass-border); transition: all 0.3s ease; backdrop-filter: blur(10px); box-shadow: var(--card-shadow); }
.tech-card:hover { transform: translateY(-8px); border-color: var(--primary); background: rgba(30, 41, 59, 0.9); }
.icon-box { width: 50px; height: 50px; background: rgba(59, 130, 246, 0.1); border-radius: 12px; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.tech-icon { color: var(--primary); width: 28px; height: 28px; }
.tech-card h3 { margin: 0 0 15px 0; font-size: 1.3rem; font-weight: 700; }
.tech-card p { color: var(--text-muted); font-size: 0.95rem; margin: 0; line-height: 1.8; }
.tech-card p strong { color: var(--text-main); font-weight: 600; }

/* MÍDIA & CASES (NOVO) */
.media-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 30px; }
.media-card { background: var(--bg-card); padding: 40px; border-radius: 20px; border: var(--glass-border); transition: all 0.3s ease; box-shadow: var(--card-shadow); position: relative; overflow: hidden; }
.media-card:hover { transform: translateY(-5px); border-color: var(--primary); }
.media-icon { color: var(--primary); margin-bottom: 15px; }
.media-card h3 { margin: 0 0 10px 0; font-size: 1.4rem; font-weight: 700; }
.media-source { color: var(--primary); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 15px; }
.media-desc { color: var(--text-muted); font-size: 1rem; margin-bottom: 25px; line-height: 1.7; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--text-main); text-decoration: none; font-weight: 600; transition: color 0.2s; }
.link-arrow:hover { color: var(--primary); }

/* DEPOIMENTOS (NOVO) */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); gap: 30px; }
.testimonial-card { background: rgba(255, 255, 255, 0.03); padding: 40px; border-radius: 24px; border: var(--glass-border); }
.quote-icon { color: var(--primary); opacity: 0.5; margin-bottom: 20px; }
.testimonial-text { font-size: 1.1rem; color: #e2e8f0; font-style: italic; margin-bottom: 30px; line-height: 1.8; }
.testimonial-text strong { color: var(--primary); font-style: normal; }
.testimonial-author { display: flex; align-items: center; gap: 15px; }
.author-avatar { width: 50px; height: 50px; background: var(--primary); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 1.2rem; }
.testimonial-author h4 { margin: 0; font-size: 1rem; color: white; }
.testimonial-author span { font-size: 0.85rem; color: var(--text-muted); }

/* FOOTER */
footer { padding: 80px 20px; border-top: var(--glass-border); background: #080c14; }
.footer-content { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 30px; margin-bottom: 30px; }
.footer-links { display: flex; gap: 25px; }
.social-link { display: flex; align-items: center; gap: 8px; color: var(--text-muted); text-decoration: none; font-size: 0.95rem; transition: color 0.2s; }
.social-link:hover { color: var(--primary); }
.copyright { text-align: center; color: #475569; font-size: 0.85rem; width: 100%; }

/* MOBILE */
@media (max-width: 600px) {
    .hero h1 { font-size: 2.2rem; }
    .nav-links { display: none; }
    .mobile-hide { display: none; }
    .media-grid, .testimonials-grid { grid-template-columns: 1fr; }
    .timeline { padding-left: 30px; border-left-width: 2px; }
    .timeline-marker { left: -39px; width: 14px; height: 14px; }
}