/* ============================================
   ROOT & RESET
   ============================================ */
:root {
    --primary-color: #2563eb;
    --secondary-color: #1e40af;
    --text-color: #333;
    --bg-color: #fff;
    --light-bg: #f8fafc;
    --google-play-green: #01875f;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--bg-color);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 5rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 4px;
    background: var(--primary-color);
    margin: 10px auto;
}

/* ============================================
   NAVBAR
   ============================================ */
nav {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link:hover {
    color: var(--primary-color);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    color: #fff;
    text-align: center;
    padding: 8rem 0;
}

.hero-img {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 6px solid rgba(255,255,255,0.3);
    margin-bottom: 2rem;
    object-fit: cover;
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* ============================================
   SCANGO GOOGLE PLAY HIGHLIGHT
   ============================================ */
.scango-highlight {
    background-color: var(--light-bg);
}

.scango-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.scango-info h2 {
    color: var(--google-play-green);
    margin-bottom: 1rem;
}

.scango-features {
    list-style: none;
    margin: 1.5rem 0;
}

.scango-features li {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.scango-features li::before {
    content: '✔';
    color: var(--google-play-green);
    font-weight: bold;
}

.play-store-btn {
    display: inline-block;
    background-color: #000;
    color: #fff;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s;
}

.play-store-btn:hover {
    transform: scale(1.05);
}

.scango-mockup img {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* ============================================
   EDUCATION & ALURA
   ============================================ */
.education-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.alura-dashboard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 1100px) {
    .alura-dashboard {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.course-card {
    background: #fff;
    padding: 2rem;
    border-radius: 18px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 140px;
}

@media (max-width: 900px) {
    .education-grid {
        grid-template-columns: 1fr;
    }
}

.course-card:hover {
    transform: translateY(-5px);
}

.course-card.completed {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.course-card.completed::after {
    content: '✓';
    position: absolute;
    top: 10px;
    right: 10px;
    background: #10b981;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.badge-completed {
    background: #10b981;
    color: white;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    text-transform: uppercase;
}

.progress-bar {
    height: 10px;
    background: #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 10px;
}

.progress-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 1s ease-in-out;
}

/* Responsividade Geral */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .nav-menu {
        display: none; /* Pode ser melhorado para um menu hambúrguer no futuro */
    }
    .container {
        padding: 0 1.5rem;
    }
    .scango-container {
        flex-direction: column;
        text-align: center;
    }
    .scango-mockup img {
        max-height: 300px;
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .education-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    background: #1e293b;
    color: #fff;
    text-align: center;
    padding: 3rem 0;
}

@media (max-width: 768px) {
    .scango-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero h1 {
        font-size: 2.5rem;
    }
}

/* ============================================
   PROJECTS SECTION (RESTORED)
   ============================================ */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.project-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px);
}

.project-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-content {
    padding: 1.5rem;
}

.project-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tag {
    background: #eff6ff;
    color: #2563eb;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* ============================================
   CONTACT SECTION (RESTORED BEAUTY)
   ============================================ */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.contact-item {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.contact-item:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.contact-item h3 {
    margin-bottom: 0.5rem;
}
