/* HERO CURSOS */
.hero-cursos {
    background: linear-gradient(135deg, #E89A3C 0%, #d88020 100%);
    color: white;
    padding: 5rem 2rem;
    text-align: center;
}

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

.hero-cursos p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.search-bar {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    gap: 0;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    border-radius: 50px;
    overflow: hidden;
}

.search-bar input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    font-size: 1rem;
    outline: none;
}

.search-bar button {
    padding: 1rem 2rem;
    background: #d88020;
    color: white;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.search-bar button:hover {
    background: #c47319;
}

/* CATEGORIAS */
.categorias-section {
    padding: 4rem 2rem;
    background: white;
}

.categorias-section h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333;
}

.categorias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.categoria-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.categoria-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.categoria-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1rem;
}

.categoria-card h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.categoria-card p {
    color: #888;
}

/* CURSOS GRID */
.cursos-destaque {
    padding: 4rem 2rem;
    background: #f5f5f5;
}

.cursos-destaque h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333;
}

.cursos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.curso-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.curso-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 25px rgba(0,0,0,0.15);
}

.curso-thumbnail {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.curso-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.badge-novo,
.badge-bestseller {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge-novo {
    background: #5FA777;
    color: white;
}

.badge-bestseller {
    background: #E89A3C;
    color: white;
}

.badge-nivel {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 0.8rem;
    background: rgba(255,255,255,0.9);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #333;
}

.curso-content {
    padding: 1.5rem;
}

.curso-categoria {
    color: #E89A3C;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.curso-content h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.curso-content p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.curso-stats {
    display: flex;
    gap: 1rem;
    margin: 1rem 0;
    color: #888;
    font-size: 0.9rem;
}

.curso-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid #eee;
    margin-bottom: 1rem;
}

.instrutor {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.instrutor img {
    width: 35px;
    height: 35px;
    border-radius: 50%;
}

.instrutor span {
    font-size: 0.9rem;
    color: #666;
}

.preco {
    font-size: 1.5rem;
    font-weight: bold;
    color: #E89A3C;
}

.btn-inscrever {
    width: 100%;
    padding: 0.9rem;
    background: #E89A3C;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-inscrever:hover {
    background: #d88020;
    transform: scale(1.02);
}

/* BENEFÍCIOS */
.beneficios {
    padding: 4rem 2rem;
    background: white;
}

.beneficios h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: #333;
}

.beneficios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.beneficio {
    text-align: center;
}

.beneficio-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.beneficio h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.beneficio p {
    color: #666;
    line-height: 1.6;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-cursos h1 {
        font-size: 2rem;
    }
    
    .search-bar {
        flex-direction: column;
        border-radius: 12px;
    }
    
    .search-bar button {
        border-radius: 0 0 12px 12px;
    }
    
    .cursos-grid {
        grid-template-columns: 1fr;
    }
    
    .categorias-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}