/* Configurações Gerais */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

:root {
    --primary: #6366f1;
    --dark: #1e293b;
    --light: #f8fafc;
    --accent: #4f46e5;
}

body {
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
}

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

/* Header & Navegação */
header {
    background: #fff;
    padding: 20px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--dark);
}

.logo span { color: var(--primary); }

nav ul {
    display: flex;
    list-style: none;
    align-items: center;
}

nav ul li { margin-left: 25px; }

nav ul li a {
    text-decoration: none;
    color: var(--dark);
    font-weight: 500;
}

.btn-nav {
    background: var(--primary);
    color: white !important;
    padding: 8px 20px;
    border-radius: 5px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #1e293b 0%, #4f46e5 100%);
    color: white;
    padding: 100px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-main {
    display: inline-block;
    background: #fff;
    color: var(--primary);
    padding: 15px 35px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: 0.3s;
}

.btn-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Grid de Cursos */
.section-title {
    text-align: center;
    margin: 50px 0;
    font-size: 2rem;
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.course-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: 0.3s;
}

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

.course-img {
    height: 180px;
    background: #e2e8f0; /* Placeholder para imagem */
}

.course-info {
    padding: 20px;
}

.course-info h3 { margin-bottom: 10px; }

.course-info p {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 20px;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 15px;
}

.btn-buy {
    display: block;
    text-align: center;
    background: var(--dark);
    color: white;
    text-decoration: none;
    padding: 12px;
    border-radius: 6px;
    transition: 0.3s;
}

.btn-buy:hover { background: var(--accent); }

/* Rodapé */
footer {
    text-align: center;
    padding: 40px 0;
    background: #fff;
    border-top: 1px solid #e2e8f0;
}